~ubuntu-branches/ubuntu/precise/zeromq/precise

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Martin Lucina
  • Date: 2010-10-21 16:21:20 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20101021162120-g6f3z4wlrrcgqicj
Tags: 2.0.10-1
* New upstream version.
* Upstream now uses DFSG-clean OpenPGM tarball, so dropping .dfsg from 
  the Debian version.

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 zeromq 2.0.9.
 
3
# Generated by GNU Autoconf 2.65 for zeromq 2.0.10.
4
4
#
5
5
# Report bugs to <zeromq-dev@lists.zeromq.org>.
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: zeromq-dev@lists.zeromq.org about your system,
 
235
$0: including any error possibly output before this
 
236
$0: message. Then install a modern shell, or manually run
 
237
$0: the script 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='zeromq'
725
703
PACKAGE_TARNAME='zeromq'
726
 
PACKAGE_VERSION='2.0.9'
727
 
PACKAGE_STRING='zeromq 2.0.9'
 
704
PACKAGE_VERSION='2.0.10'
 
705
PACKAGE_STRING='zeromq 2.0.10'
728
706
PACKAGE_BUGREPORT='zeromq-dev@lists.zeromq.org'
 
707
PACKAGE_URL=''
729
708
 
730
709
# Factoring default headers for most tests.
731
710
ac_includes_default="\
763
742
# include <unistd.h>
764
743
#endif"
765
744
 
766
 
ac_subst_vars='SHELL
 
745
ac_subst_vars='am__EXEEXT_FALSE
 
746
am__EXEEXT_TRUE
 
747
LTLIBOBJS
 
748
LIBOBJS
 
749
LIBZMQ_EXTRA_LDFLAGS
 
750
LIBZMQ_EXTRA_CXXFLAGS
 
751
inttypes
 
752
stdint
 
753
BUILD_DOC_FALSE
 
754
BUILD_DOC_TRUE
 
755
INSTALL_MAN_FALSE
 
756
INSTALL_MAN_TRUE
 
757
ON_MINGW_FALSE
 
758
ON_MINGW_TRUE
 
759
BUILD_NO_PGM_FALSE
 
760
BUILD_NO_PGM_TRUE
 
761
BUILD_PGM_FALSE
 
762
BUILD_PGM_TRUE
 
763
have_python
 
764
have_perl
 
765
have_gzip
 
766
GLIB_LIBS
 
767
GLIB_CFLAGS
 
768
PKG_CONFIG
 
769
pgm_basename
 
770
have_pkg_config
 
771
have_xmlto
 
772
have_asciidoc
 
773
CXXCPP
 
774
CPP
 
775
OTOOL64
 
776
OTOOL
 
777
LIPO
 
778
NMEDIT
 
779
DSYMUTIL
 
780
lt_ECHO
 
781
RANLIB
 
782
AR
 
783
LN_S
 
784
NM
 
785
ac_ct_DUMPBIN
 
786
DUMPBIN
 
787
LD
 
788
FGREP
 
789
EGREP
 
790
GREP
 
791
SED
 
792
LIBTOOL
 
793
OBJDUMP
 
794
DLLTOOL
 
795
AS
 
796
host_os
 
797
host_vendor
 
798
host_cpu
 
799
host
 
800
build_os
 
801
build_vendor
 
802
build_cpu
 
803
build
 
804
am__fastdepCXX_FALSE
 
805
am__fastdepCXX_TRUE
 
806
CXXDEPMODE
 
807
ac_ct_CXX
 
808
CXXFLAGS
 
809
CXX
 
810
am__fastdepCC_FALSE
 
811
am__fastdepCC_TRUE
 
812
CCDEPMODE
 
813
AMDEPBACKSLASH
 
814
AMDEP_FALSE
 
815
AMDEP_TRUE
 
816
am__quote
 
817
am__include
 
818
DEPDIR
 
819
OBJEXT
 
820
EXEEXT
 
821
ac_ct_CC
 
822
CPPFLAGS
 
823
LDFLAGS
 
824
CFLAGS
 
825
CC
 
826
LTVER
 
827
am__untar
 
828
am__tar
 
829
AMTAR
 
830
am__leading_dot
 
831
SET_MAKE
 
832
AWK
 
833
mkdir_p
 
834
MKDIR_P
 
835
INSTALL_STRIP_PROGRAM
 
836
STRIP
 
837
install_sh
 
838
MAKEINFO
 
839
AUTOHEADER
 
840
AUTOMAKE
 
841
AUTOCONF
 
842
ACLOCAL
 
843
VERSION
 
844
PACKAGE
 
845
CYGPATH_W
 
846
am__isrc
 
847
INSTALL_DATA
 
848
INSTALL_SCRIPT
 
849
INSTALL_PROGRAM
 
850
target_alias
 
851
host_alias
 
852
build_alias
 
853
LIBS
 
854
ECHO_T
 
855
ECHO_N
 
856
ECHO_C
 
857
DEFS
 
858
mandir
 
859
localedir
 
860
libdir
 
861
psdir
 
862
pdfdir
 
863
dvidir
 
864
htmldir
 
865
infodir
 
866
docdir
 
867
oldincludedir
 
868
includedir
 
869
localstatedir
 
870
sharedstatedir
 
871
sysconfdir
 
872
datadir
 
873
datarootdir
 
874
libexecdir
 
875
sbindir
 
876
bindir
 
877
program_transform_name
 
878
prefix
 
879
exec_prefix
 
880
PACKAGE_URL
 
881
PACKAGE_BUGREPORT
 
882
PACKAGE_STRING
 
883
PACKAGE_VERSION
 
884
PACKAGE_TARNAME
 
885
PACKAGE_NAME
767
886
PATH_SEPARATOR
768
 
PACKAGE_NAME
769
 
PACKAGE_TARNAME
770
 
PACKAGE_VERSION
771
 
PACKAGE_STRING
772
 
PACKAGE_BUGREPORT
773
 
exec_prefix
774
 
prefix
775
 
program_transform_name
776
 
bindir
777
 
sbindir
778
 
libexecdir
779
 
datarootdir
780
 
datadir
781
 
sysconfdir
782
 
sharedstatedir
783
 
localstatedir
784
 
includedir
785
 
oldincludedir
786
 
docdir
787
 
infodir
788
 
htmldir
789
 
dvidir
790
 
pdfdir
791
 
psdir
792
 
libdir
793
 
localedir
794
 
mandir
795
 
DEFS
796
 
ECHO_C
797
 
ECHO_N
798
 
ECHO_T
799
 
LIBS
800
 
build_alias
801
 
host_alias
802
 
target_alias
803
 
INSTALL_PROGRAM
804
 
INSTALL_SCRIPT
805
 
INSTALL_DATA
806
 
am__isrc
807
 
CYGPATH_W
808
 
PACKAGE
809
 
VERSION
810
 
ACLOCAL
811
 
AUTOCONF
812
 
AUTOMAKE
813
 
AUTOHEADER
814
 
MAKEINFO
815
 
install_sh
816
 
STRIP
817
 
INSTALL_STRIP_PROGRAM
818
 
mkdir_p
819
 
AWK
820
 
SET_MAKE
821
 
am__leading_dot
822
 
AMTAR
823
 
am__tar
824
 
am__untar
825
 
LTVER
826
 
CC
827
 
CFLAGS
828
 
LDFLAGS
829
 
CPPFLAGS
830
 
ac_ct_CC
831
 
EXEEXT
832
 
OBJEXT
833
 
DEPDIR
834
 
am__include
835
 
am__quote
836
 
AMDEP_TRUE
837
 
AMDEP_FALSE
838
 
AMDEPBACKSLASH
839
 
CCDEPMODE
840
 
am__fastdepCC_TRUE
841
 
am__fastdepCC_FALSE
842
 
CXX
843
 
CXXFLAGS
844
 
ac_ct_CXX
845
 
CXXDEPMODE
846
 
am__fastdepCXX_TRUE
847
 
am__fastdepCXX_FALSE
848
 
build
849
 
build_cpu
850
 
build_vendor
851
 
build_os
852
 
host
853
 
host_cpu
854
 
host_vendor
855
 
host_os
856
 
AS
857
 
DLLTOOL
858
 
OBJDUMP
859
 
LIBTOOL
860
 
SED
861
 
GREP
862
 
EGREP
863
 
FGREP
864
 
LD
865
 
DUMPBIN
866
 
ac_ct_DUMPBIN
867
 
NM
868
 
LN_S
869
 
AR
870
 
RANLIB
871
 
lt_ECHO
872
 
DSYMUTIL
873
 
NMEDIT
874
 
LIPO
875
 
OTOOL
876
 
OTOOL64
877
 
CPP
878
 
CXXCPP
879
 
have_asciidoc
880
 
have_xmlto
881
 
have_pkg_config
882
 
pgm_basename
883
 
PKG_CONFIG
884
 
GLIB_CFLAGS
885
 
GLIB_LIBS
886
 
have_gzip
887
 
have_perl
888
 
have_python
889
 
BUILD_PGM_TRUE
890
 
BUILD_PGM_FALSE
891
 
BUILD_NO_PGM_TRUE
892
 
BUILD_NO_PGM_FALSE
893
 
ON_MINGW_TRUE
894
 
ON_MINGW_FALSE
895
 
INSTALL_MAN_TRUE
896
 
INSTALL_MAN_FALSE
897
 
BUILD_DOC_TRUE
898
 
BUILD_DOC_FALSE
899
 
stdint
900
 
inttypes
901
 
LIBZMQ_EXTRA_CXXFLAGS
902
 
LIBZMQ_EXTRA_LDFLAGS
903
 
LIBOBJS
904
 
LTLIBOBJS'
 
887
SHELL'
905
888
ac_subst_files=''
 
889
ac_user_opts='
 
890
enable_option_checking
 
891
enable_dependency_tracking
 
892
enable_shared
 
893
enable_static
 
894
with_pic
 
895
enable_fast_install
 
896
with_gnu_ld
 
897
enable_libtool_lock
 
898
with_pkg_config
 
899
with_pgm
 
900
'
906
901
      ac_precious_vars='build_alias
907
902
host_alias
908
903
target_alias
924
919
# Initialize some variables set by options.
925
920
ac_init_help=
926
921
ac_init_version=false
 
922
ac_unrecognized_opts=
 
923
ac_unrecognized_sep=
927
924
# The variables have the same names as the options, with
928
925
# dashes changed to underlines.
929
926
cache_file=/dev/null
1022
1019
    datarootdir=$ac_optarg ;;
1023
1020
 
1024
1021
  -disable-* | --disable-*)
1025
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1022
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026
1023
    # Reject names that are not valid shell variable names.
1027
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1028
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1029
 
   { (exit 1); exit 1; }; }
1030
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1031
 
    eval enable_$ac_feature=no ;;
 
1024
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1025
      as_fn_error "invalid feature name: $ac_useropt"
 
1026
    ac_useropt_orig=$ac_useropt
 
1027
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1028
    case $ac_user_opts in
 
1029
      *"
 
1030
"enable_$ac_useropt"
 
1031
"*) ;;
 
1032
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1033
         ac_unrecognized_sep=', ';;
 
1034
    esac
 
1035
    eval enable_$ac_useropt=no ;;
1032
1036
 
1033
1037
  -docdir | --docdir | --docdi | --doc | --do)
1034
1038
    ac_prev=docdir ;;
1041
1045
    dvidir=$ac_optarg ;;
1042
1046
 
1043
1047
  -enable-* | --enable-*)
1044
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1048
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1045
1049
    # Reject names that are not valid shell variable names.
1046
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1047
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1048
 
   { (exit 1); exit 1; }; }
1049
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1050
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1050
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1051
      as_fn_error "invalid feature name: $ac_useropt"
 
1052
    ac_useropt_orig=$ac_useropt
 
1053
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1054
    case $ac_user_opts in
 
1055
      *"
 
1056
"enable_$ac_useropt"
 
1057
"*) ;;
 
1058
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1059
         ac_unrecognized_sep=', ';;
 
1060
    esac
 
1061
    eval enable_$ac_useropt=\$ac_optarg ;;
1051
1062
 
1052
1063
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1053
1064
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1238
1249
    ac_init_version=: ;;
1239
1250
 
1240
1251
  -with-* | --with-*)
1241
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1252
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1242
1253
    # Reject names that are not valid shell variable names.
1243
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1245
 
   { (exit 1); exit 1; }; }
1246
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1247
 
    eval with_$ac_package=\$ac_optarg ;;
 
1254
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1255
      as_fn_error "invalid package name: $ac_useropt"
 
1256
    ac_useropt_orig=$ac_useropt
 
1257
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1258
    case $ac_user_opts in
 
1259
      *"
 
1260
"with_$ac_useropt"
 
1261
"*) ;;
 
1262
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1263
         ac_unrecognized_sep=', ';;
 
1264
    esac
 
1265
    eval with_$ac_useropt=\$ac_optarg ;;
1248
1266
 
1249
1267
  -without-* | --without-*)
1250
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1268
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1251
1269
    # Reject names that are not valid shell variable names.
1252
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1253
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1254
 
   { (exit 1); exit 1; }; }
1255
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1256
 
    eval with_$ac_package=no ;;
 
1270
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1271
      as_fn_error "invalid package name: $ac_useropt"
 
1272
    ac_useropt_orig=$ac_useropt
 
1273
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1274
    case $ac_user_opts in
 
1275
      *"
 
1276
"with_$ac_useropt"
 
1277
"*) ;;
 
1278
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1279
         ac_unrecognized_sep=', ';;
 
1280
    esac
 
1281
    eval with_$ac_useropt=no ;;
1257
1282
 
1258
1283
  --x)
1259
1284
    # Obsolete; use --with-x.
1273
1298
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1274
1299
    x_libraries=$ac_optarg ;;
1275
1300
 
1276
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1277
 
Try \`$0 --help' for more information." >&2
1278
 
   { (exit 1); exit 1; }; }
 
1301
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1302
Try \`$0 --help' for more information."
1279
1303
    ;;
1280
1304
 
1281
1305
  *=*)
1282
1306
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1283
1307
    # Reject names that are not valid shell variable names.
1284
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1285
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1286
 
   { (exit 1); exit 1; }; }
 
1308
    case $ac_envvar in #(
 
1309
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1310
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1311
    esac
1287
1312
    eval $ac_envvar=\$ac_optarg
1288
1313
    export $ac_envvar ;;
1289
1314
 
1290
1315
  *)
1291
1316
    # FIXME: should be removed in autoconf 3.0.
1292
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1317
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293
1318
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1294
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1319
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295
1320
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1296
1321
    ;;
1297
1322
 
1300
1325
 
1301
1326
if test -n "$ac_prev"; then
1302
1327
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1303
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1304
 
   { (exit 1); exit 1; }; }
1305
 
fi
1306
 
 
1307
 
# Be sure to have absolute directory names.
 
1328
  as_fn_error "missing argument to $ac_option"
 
1329
fi
 
1330
 
 
1331
if test -n "$ac_unrecognized_opts"; then
 
1332
  case $enable_option_checking in
 
1333
    no) ;;
 
1334
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1335
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1336
  esac
 
1337
fi
 
1338
 
 
1339
# Check all directory arguments for consistency.
1308
1340
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309
1341
                datadir sysconfdir sharedstatedir localstatedir includedir \
1310
1342
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311
1343
                libdir localedir mandir
1312
1344
do
1313
1345
  eval ac_val=\$$ac_var
 
1346
  # Remove trailing slashes.
 
1347
  case $ac_val in
 
1348
    */ )
 
1349
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1350
      eval $ac_var=\$ac_val;;
 
1351
  esac
 
1352
  # Be sure to have absolute directory names.
1314
1353
  case $ac_val in
1315
1354
    [\\/$]* | ?:[\\/]* )  continue;;
1316
1355
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1317
1356
  esac
1318
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1319
 
   { (exit 1); exit 1; }; }
 
1357
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1320
1358
done
1321
1359
 
1322
1360
# There might be people who depend on the old broken behavior: `$host'
1330
1368
if test "x$host_alias" != x; then
1331
1369
  if test "x$build_alias" = x; then
1332
1370
    cross_compiling=maybe
1333
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1371
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1334
1372
    If a cross compiler is detected then cross compile mode will be used." >&2
1335
1373
  elif test "x$build_alias" != "x$host_alias"; then
1336
1374
    cross_compiling=yes
1346
1384
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1347
1385
ac_ls_di=`ls -di .` &&
1348
1386
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1349
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1350
 
   { (exit 1); exit 1; }; }
 
1387
  as_fn_error "working directory cannot be determined"
1351
1388
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1352
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1353
 
   { (exit 1); exit 1; }; }
 
1389
  as_fn_error "pwd does not report name of working directory"
1354
1390
 
1355
1391
 
1356
1392
# Find the source files, if location was not specified.
1357
1393
if test -z "$srcdir"; then
1358
1394
  ac_srcdir_defaulted=yes
1359
1395
  # Try the directory containing this script, then the parent directory.
1360
 
  ac_confdir=`$as_dirname -- "$0" ||
1361
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1362
 
         X"$0" : 'X\(//\)[^/]' \| \
1363
 
         X"$0" : 'X\(//\)$' \| \
1364
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1365
 
echo X"$0" |
 
1396
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1397
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1398
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1399
         X"$as_myself" : 'X\(//\)$' \| \
 
1400
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1401
$as_echo X"$as_myself" |
1366
1402
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1367
1403
            s//\1/
1368
1404
            q
1389
1425
fi
1390
1426
if test ! -r "$srcdir/$ac_unique_file"; then
1391
1427
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1392
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1393
 
   { (exit 1); exit 1; }; }
 
1428
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1394
1429
fi
1395
1430
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1396
1431
ac_abs_confdir=`(
1397
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1398
 
   { (exit 1); exit 1; }; }
 
1432
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1399
1433
        pwd)`
1400
1434
# When building in place, set srcdir=.
1401
1435
if test "$ac_abs_confdir" = "$ac_pwd"; then
1421
1455
  # Omit some internal or obsolete options to make the list less imposing.
1422
1456
  # This message is too long to be a string in the A/UX 3.1 sh.
1423
1457
  cat <<_ACEOF
1424
 
\`configure' configures zeromq 2.0.9 to adapt to many kinds of systems.
 
1458
\`configure' configures zeromq 2.0.10 to adapt to many kinds of systems.
1425
1459
 
1426
1460
Usage: $0 [OPTION]... [VAR=VALUE]...
1427
1461
 
1443
1477
 
1444
1478
Installation directories:
1445
1479
  --prefix=PREFIX         install architecture-independent files in PREFIX
1446
 
                          [$ac_default_prefix]
 
1480
                          [$ac_default_prefix]
1447
1481
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1448
 
                          [PREFIX]
 
1482
                          [PREFIX]
1449
1483
 
1450
1484
By default, \`make install' will install all the files in
1451
1485
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1455
1489
For better control, use the options below.
1456
1490
 
1457
1491
Fine tuning of the installation directories:
1458
 
  --bindir=DIR           user executables [EPREFIX/bin]
1459
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1460
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1461
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1462
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1463
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1464
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1465
 
  --includedir=DIR       C header files [PREFIX/include]
1466
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1467
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1468
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1469
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1470
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1471
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1472
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/zeromq]
1473
 
  --htmldir=DIR          html documentation [DOCDIR]
1474
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1475
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1476
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1492
  --bindir=DIR            user executables [EPREFIX/bin]
 
1493
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1494
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1495
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1496
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1497
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1498
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1499
  --includedir=DIR        C header files [PREFIX/include]
 
1500
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1501
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1502
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1503
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1504
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1505
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1506
  --docdir=DIR            documentation root [DATAROOTDIR/doc/zeromq]
 
1507
  --htmldir=DIR           html documentation [DOCDIR]
 
1508
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1509
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1510
  --psdir=DIR             ps documentation [DOCDIR]
1477
1511
_ACEOF
1478
1512
 
1479
1513
  cat <<\_ACEOF
1491
1525
 
1492
1526
if test -n "$ac_init_help"; then
1493
1527
  case $ac_init_help in
1494
 
     short | recursive ) echo "Configuration of zeromq 2.0.9:";;
 
1528
     short | recursive ) echo "Configuration of zeromq 2.0.10:";;
1495
1529
   esac
1496
1530
  cat <<\_ACEOF
1497
1531
 
1498
1532
Optional Features:
 
1533
  --disable-option-checking  ignore unrecognized --enable/--with options
1499
1534
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1500
1535
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1501
1536
  --disable-dependency-tracking  speeds up one-time build
1521
1556
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1522
1557
              nonstandard directory <lib dir>
1523
1558
  LIBS        libraries to pass to the linker, e.g. -l<library>
1524
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1559
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1525
1560
              you have headers in a nonstandard directory <include dir>
1526
1561
  CXX         C++ compiler command
1527
1562
  CXXFLAGS    C++ compiler flags
1542
1577
if test "$ac_init_help" = "recursive"; then
1543
1578
  # If there are subdirs, report their specific --help.
1544
1579
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1545
 
    test -d "$ac_dir" || continue
 
1580
    test -d "$ac_dir" ||
 
1581
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1582
      continue
1546
1583
    ac_builddir=.
1547
1584
 
1548
1585
case "$ac_dir" in
1549
1586
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550
1587
*)
1551
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1588
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1552
1589
  # A ".." for each directory in $ac_dir_suffix.
1553
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1590
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1554
1591
  case $ac_top_builddir_sub in
1555
1592
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1556
1593
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1586
1623
      echo &&
1587
1624
      $SHELL "$ac_srcdir/configure" --help=recursive
1588
1625
    else
1589
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1626
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590
1627
    fi || ac_status=$?
1591
1628
    cd "$ac_pwd" || { ac_status=$?; break; }
1592
1629
  done
1595
1632
test -n "$ac_init_help" && exit $ac_status
1596
1633
if $ac_init_version; then
1597
1634
  cat <<\_ACEOF
1598
 
zeromq configure 2.0.9
1599
 
generated by GNU Autoconf 2.61
 
1635
zeromq configure 2.0.10
 
1636
generated by GNU Autoconf 2.65
1600
1637
 
1601
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1602
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1638
Copyright (C) 2009 Free Software Foundation, Inc.
1603
1639
This configure script is free software; the Free Software Foundation
1604
1640
gives unlimited permission to copy, distribute and modify it.
1605
1641
_ACEOF
1606
1642
  exit
1607
1643
fi
 
1644
 
 
1645
## ------------------------ ##
 
1646
## Autoconf initialization. ##
 
1647
## ------------------------ ##
 
1648
 
 
1649
# ac_fn_c_try_compile LINENO
 
1650
# --------------------------
 
1651
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1652
ac_fn_c_try_compile ()
 
1653
{
 
1654
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1655
  rm -f conftest.$ac_objext
 
1656
  if { { ac_try="$ac_compile"
 
1657
case "(($ac_try" in
 
1658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1659
  *) ac_try_echo=$ac_try;;
 
1660
esac
 
1661
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1662
$as_echo "$ac_try_echo"; } >&5
 
1663
  (eval "$ac_compile") 2>conftest.err
 
1664
  ac_status=$?
 
1665
  if test -s conftest.err; then
 
1666
    grep -v '^ *+' conftest.err >conftest.er1
 
1667
    cat conftest.er1 >&5
 
1668
    mv -f conftest.er1 conftest.err
 
1669
  fi
 
1670
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1671
  test $ac_status = 0; } && {
 
1672
         test -z "$ac_c_werror_flag" ||
 
1673
         test ! -s conftest.err
 
1674
       } && test -s conftest.$ac_objext; then :
 
1675
  ac_retval=0
 
1676
else
 
1677
  $as_echo "$as_me: failed program was:" >&5
 
1678
sed 's/^/| /' conftest.$ac_ext >&5
 
1679
 
 
1680
        ac_retval=1
 
1681
fi
 
1682
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1683
  as_fn_set_status $ac_retval
 
1684
 
 
1685
} # ac_fn_c_try_compile
 
1686
 
 
1687
# ac_fn_cxx_try_compile LINENO
 
1688
# ----------------------------
 
1689
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1690
ac_fn_cxx_try_compile ()
 
1691
{
 
1692
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1693
  rm -f conftest.$ac_objext
 
1694
  if { { ac_try="$ac_compile"
 
1695
case "(($ac_try" in
 
1696
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1697
  *) ac_try_echo=$ac_try;;
 
1698
esac
 
1699
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1700
$as_echo "$ac_try_echo"; } >&5
 
1701
  (eval "$ac_compile") 2>conftest.err
 
1702
  ac_status=$?
 
1703
  if test -s conftest.err; then
 
1704
    grep -v '^ *+' conftest.err >conftest.er1
 
1705
    cat conftest.er1 >&5
 
1706
    mv -f conftest.er1 conftest.err
 
1707
  fi
 
1708
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1709
  test $ac_status = 0; } && {
 
1710
         test -z "$ac_cxx_werror_flag" ||
 
1711
         test ! -s conftest.err
 
1712
       } && test -s conftest.$ac_objext; then :
 
1713
  ac_retval=0
 
1714
else
 
1715
  $as_echo "$as_me: failed program was:" >&5
 
1716
sed 's/^/| /' conftest.$ac_ext >&5
 
1717
 
 
1718
        ac_retval=1
 
1719
fi
 
1720
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1721
  as_fn_set_status $ac_retval
 
1722
 
 
1723
} # ac_fn_cxx_try_compile
 
1724
 
 
1725
# ac_fn_c_try_link LINENO
 
1726
# -----------------------
 
1727
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1728
ac_fn_c_try_link ()
 
1729
{
 
1730
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1731
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1732
  if { { ac_try="$ac_link"
 
1733
case "(($ac_try" in
 
1734
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1735
  *) ac_try_echo=$ac_try;;
 
1736
esac
 
1737
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1738
$as_echo "$ac_try_echo"; } >&5
 
1739
  (eval "$ac_link") 2>conftest.err
 
1740
  ac_status=$?
 
1741
  if test -s conftest.err; then
 
1742
    grep -v '^ *+' conftest.err >conftest.er1
 
1743
    cat conftest.er1 >&5
 
1744
    mv -f conftest.er1 conftest.err
 
1745
  fi
 
1746
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1747
  test $ac_status = 0; } && {
 
1748
         test -z "$ac_c_werror_flag" ||
 
1749
         test ! -s conftest.err
 
1750
       } && test -s conftest$ac_exeext && {
 
1751
         test "$cross_compiling" = yes ||
 
1752
         $as_test_x conftest$ac_exeext
 
1753
       }; then :
 
1754
  ac_retval=0
 
1755
else
 
1756
  $as_echo "$as_me: failed program was:" >&5
 
1757
sed 's/^/| /' conftest.$ac_ext >&5
 
1758
 
 
1759
        ac_retval=1
 
1760
fi
 
1761
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1762
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1763
  # interfere with the next link command; also delete a directory that is
 
1764
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1765
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1766
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1767
  as_fn_set_status $ac_retval
 
1768
 
 
1769
} # ac_fn_c_try_link
 
1770
 
 
1771
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1772
# -------------------------------------------------------
 
1773
# Tests whether HEADER exists and can be compiled using the include files in
 
1774
# INCLUDES, setting the cache variable VAR accordingly.
 
1775
ac_fn_c_check_header_compile ()
 
1776
{
 
1777
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1778
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1779
$as_echo_n "checking for $2... " >&6; }
 
1780
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1781
  $as_echo_n "(cached) " >&6
 
1782
else
 
1783
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1784
/* end confdefs.h.  */
 
1785
$4
 
1786
#include <$2>
 
1787
_ACEOF
 
1788
if ac_fn_c_try_compile "$LINENO"; then :
 
1789
  eval "$3=yes"
 
1790
else
 
1791
  eval "$3=no"
 
1792
fi
 
1793
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1794
fi
 
1795
eval ac_res=\$$3
 
1796
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1797
$as_echo "$ac_res" >&6; }
 
1798
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1799
 
 
1800
} # ac_fn_c_check_header_compile
 
1801
 
 
1802
# ac_fn_c_try_cpp LINENO
 
1803
# ----------------------
 
1804
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1805
ac_fn_c_try_cpp ()
 
1806
{
 
1807
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1808
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1809
case "(($ac_try" in
 
1810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1811
  *) ac_try_echo=$ac_try;;
 
1812
esac
 
1813
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1814
$as_echo "$ac_try_echo"; } >&5
 
1815
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1816
  ac_status=$?
 
1817
  if test -s conftest.err; then
 
1818
    grep -v '^ *+' conftest.err >conftest.er1
 
1819
    cat conftest.er1 >&5
 
1820
    mv -f conftest.er1 conftest.err
 
1821
  fi
 
1822
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1823
  test $ac_status = 0; } >/dev/null && {
 
1824
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1825
         test ! -s conftest.err
 
1826
       }; then :
 
1827
  ac_retval=0
 
1828
else
 
1829
  $as_echo "$as_me: failed program was:" >&5
 
1830
sed 's/^/| /' conftest.$ac_ext >&5
 
1831
 
 
1832
    ac_retval=1
 
1833
fi
 
1834
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1835
  as_fn_set_status $ac_retval
 
1836
 
 
1837
} # ac_fn_c_try_cpp
 
1838
 
 
1839
# ac_fn_c_try_run LINENO
 
1840
# ----------------------
 
1841
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1842
# that executables *can* be run.
 
1843
ac_fn_c_try_run ()
 
1844
{
 
1845
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1846
  if { { ac_try="$ac_link"
 
1847
case "(($ac_try" in
 
1848
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1849
  *) ac_try_echo=$ac_try;;
 
1850
esac
 
1851
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1852
$as_echo "$ac_try_echo"; } >&5
 
1853
  (eval "$ac_link") 2>&5
 
1854
  ac_status=$?
 
1855
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1856
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1857
  { { case "(($ac_try" in
 
1858
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1859
  *) ac_try_echo=$ac_try;;
 
1860
esac
 
1861
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1862
$as_echo "$ac_try_echo"; } >&5
 
1863
  (eval "$ac_try") 2>&5
 
1864
  ac_status=$?
 
1865
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1866
  test $ac_status = 0; }; }; then :
 
1867
  ac_retval=0
 
1868
else
 
1869
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1870
       $as_echo "$as_me: failed program was:" >&5
 
1871
sed 's/^/| /' conftest.$ac_ext >&5
 
1872
 
 
1873
       ac_retval=$ac_status
 
1874
fi
 
1875
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1876
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1877
  as_fn_set_status $ac_retval
 
1878
 
 
1879
} # ac_fn_c_try_run
 
1880
 
 
1881
# ac_fn_c_check_func LINENO FUNC VAR
 
1882
# ----------------------------------
 
1883
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1884
ac_fn_c_check_func ()
 
1885
{
 
1886
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1887
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1888
$as_echo_n "checking for $2... " >&6; }
 
1889
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1890
  $as_echo_n "(cached) " >&6
 
1891
else
 
1892
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1893
/* end confdefs.h.  */
 
1894
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1895
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1896
#define $2 innocuous_$2
 
1897
 
 
1898
/* System header to define __stub macros and hopefully few prototypes,
 
1899
    which can conflict with char $2 (); below.
 
1900
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1901
    <limits.h> exists even on freestanding compilers.  */
 
1902
 
 
1903
#ifdef __STDC__
 
1904
# include <limits.h>
 
1905
#else
 
1906
# include <assert.h>
 
1907
#endif
 
1908
 
 
1909
#undef $2
 
1910
 
 
1911
/* Override any GCC internal prototype to avoid an error.
 
1912
   Use char because int might match the return type of a GCC
 
1913
   builtin and then its argument prototype would still apply.  */
 
1914
#ifdef __cplusplus
 
1915
extern "C"
 
1916
#endif
 
1917
char $2 ();
 
1918
/* The GNU C library defines this for functions which it implements
 
1919
    to always fail with ENOSYS.  Some functions are actually named
 
1920
    something starting with __ and the normal name is an alias.  */
 
1921
#if defined __stub_$2 || defined __stub___$2
 
1922
choke me
 
1923
#endif
 
1924
 
 
1925
int
 
1926
main ()
 
1927
{
 
1928
return $2 ();
 
1929
  ;
 
1930
  return 0;
 
1931
}
 
1932
_ACEOF
 
1933
if ac_fn_c_try_link "$LINENO"; then :
 
1934
  eval "$3=yes"
 
1935
else
 
1936
  eval "$3=no"
 
1937
fi
 
1938
rm -f core conftest.err conftest.$ac_objext \
 
1939
    conftest$ac_exeext conftest.$ac_ext
 
1940
fi
 
1941
eval ac_res=\$$3
 
1942
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1943
$as_echo "$ac_res" >&6; }
 
1944
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1945
 
 
1946
} # ac_fn_c_check_func
 
1947
 
 
1948
# ac_fn_cxx_try_cpp LINENO
 
1949
# ------------------------
 
1950
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1951
ac_fn_cxx_try_cpp ()
 
1952
{
 
1953
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1954
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1955
case "(($ac_try" in
 
1956
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1957
  *) ac_try_echo=$ac_try;;
 
1958
esac
 
1959
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1960
$as_echo "$ac_try_echo"; } >&5
 
1961
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1962
  ac_status=$?
 
1963
  if test -s conftest.err; then
 
1964
    grep -v '^ *+' conftest.err >conftest.er1
 
1965
    cat conftest.er1 >&5
 
1966
    mv -f conftest.er1 conftest.err
 
1967
  fi
 
1968
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1969
  test $ac_status = 0; } >/dev/null && {
 
1970
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1971
         test ! -s conftest.err
 
1972
       }; then :
 
1973
  ac_retval=0
 
1974
else
 
1975
  $as_echo "$as_me: failed program was:" >&5
 
1976
sed 's/^/| /' conftest.$ac_ext >&5
 
1977
 
 
1978
    ac_retval=1
 
1979
fi
 
1980
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1981
  as_fn_set_status $ac_retval
 
1982
 
 
1983
} # ac_fn_cxx_try_cpp
 
1984
 
 
1985
# ac_fn_cxx_try_link LINENO
 
1986
# -------------------------
 
1987
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1988
ac_fn_cxx_try_link ()
 
1989
{
 
1990
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1991
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1992
  if { { ac_try="$ac_link"
 
1993
case "(($ac_try" in
 
1994
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1995
  *) ac_try_echo=$ac_try;;
 
1996
esac
 
1997
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1998
$as_echo "$ac_try_echo"; } >&5
 
1999
  (eval "$ac_link") 2>conftest.err
 
2000
  ac_status=$?
 
2001
  if test -s conftest.err; then
 
2002
    grep -v '^ *+' conftest.err >conftest.er1
 
2003
    cat conftest.er1 >&5
 
2004
    mv -f conftest.er1 conftest.err
 
2005
  fi
 
2006
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2007
  test $ac_status = 0; } && {
 
2008
         test -z "$ac_cxx_werror_flag" ||
 
2009
         test ! -s conftest.err
 
2010
       } && test -s conftest$ac_exeext && {
 
2011
         test "$cross_compiling" = yes ||
 
2012
         $as_test_x conftest$ac_exeext
 
2013
       }; then :
 
2014
  ac_retval=0
 
2015
else
 
2016
  $as_echo "$as_me: failed program was:" >&5
 
2017
sed 's/^/| /' conftest.$ac_ext >&5
 
2018
 
 
2019
        ac_retval=1
 
2020
fi
 
2021
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2022
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2023
  # interfere with the next link command; also delete a directory that is
 
2024
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2025
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2026
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2027
  as_fn_set_status $ac_retval
 
2028
 
 
2029
} # ac_fn_cxx_try_link
 
2030
 
 
2031
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2032
# -------------------------------------------------------
 
2033
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2034
# the include files in INCLUDES and setting the cache variable VAR
 
2035
# accordingly.
 
2036
ac_fn_c_check_header_mongrel ()
 
2037
{
 
2038
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2039
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2040
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2041
$as_echo_n "checking for $2... " >&6; }
 
2042
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2043
  $as_echo_n "(cached) " >&6
 
2044
fi
 
2045
eval ac_res=\$$3
 
2046
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2047
$as_echo "$ac_res" >&6; }
 
2048
else
 
2049
  # Is the header compilable?
 
2050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2051
$as_echo_n "checking $2 usability... " >&6; }
 
2052
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2053
/* end confdefs.h.  */
 
2054
$4
 
2055
#include <$2>
 
2056
_ACEOF
 
2057
if ac_fn_c_try_compile "$LINENO"; then :
 
2058
  ac_header_compiler=yes
 
2059
else
 
2060
  ac_header_compiler=no
 
2061
fi
 
2062
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2064
$as_echo "$ac_header_compiler" >&6; }
 
2065
 
 
2066
# Is the header present?
 
2067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2068
$as_echo_n "checking $2 presence... " >&6; }
 
2069
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2070
/* end confdefs.h.  */
 
2071
#include <$2>
 
2072
_ACEOF
 
2073
if ac_fn_c_try_cpp "$LINENO"; then :
 
2074
  ac_header_preproc=yes
 
2075
else
 
2076
  ac_header_preproc=no
 
2077
fi
 
2078
rm -f conftest.err conftest.$ac_ext
 
2079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2080
$as_echo "$ac_header_preproc" >&6; }
 
2081
 
 
2082
# So?  What about this header?
 
2083
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2084
  yes:no: )
 
2085
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2086
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2087
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2088
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2089
    ;;
 
2090
  no:yes:* )
 
2091
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2092
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2093
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2094
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2095
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2096
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2097
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2098
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2099
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2100
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2101
( cat <<\_ASBOX
 
2102
## ------------------------------------------ ##
 
2103
## Report this to zeromq-dev@lists.zeromq.org ##
 
2104
## ------------------------------------------ ##
 
2105
_ASBOX
 
2106
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2107
    ;;
 
2108
esac
 
2109
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2110
$as_echo_n "checking for $2... " >&6; }
 
2111
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2112
  $as_echo_n "(cached) " >&6
 
2113
else
 
2114
  eval "$3=\$ac_header_compiler"
 
2115
fi
 
2116
eval ac_res=\$$3
 
2117
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2118
$as_echo "$ac_res" >&6; }
 
2119
fi
 
2120
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2121
 
 
2122
} # ac_fn_c_check_header_mongrel
 
2123
 
 
2124
# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
 
2125
# ---------------------------------------------
 
2126
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
2127
# variable VAR accordingly.
 
2128
ac_fn_cxx_check_type ()
 
2129
{
 
2130
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2131
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2132
$as_echo_n "checking for $2... " >&6; }
 
2133
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2134
  $as_echo_n "(cached) " >&6
 
2135
else
 
2136
  eval "$3=no"
 
2137
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2138
/* end confdefs.h.  */
 
2139
$4
 
2140
int
 
2141
main ()
 
2142
{
 
2143
if (sizeof ($2))
 
2144
         return 0;
 
2145
  ;
 
2146
  return 0;
 
2147
}
 
2148
_ACEOF
 
2149
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2150
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2151
/* end confdefs.h.  */
 
2152
$4
 
2153
int
 
2154
main ()
 
2155
{
 
2156
if (sizeof (($2)))
 
2157
            return 0;
 
2158
  ;
 
2159
  return 0;
 
2160
}
 
2161
_ACEOF
 
2162
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2163
 
 
2164
else
 
2165
  eval "$3=yes"
 
2166
fi
 
2167
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2168
fi
 
2169
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2170
fi
 
2171
eval ac_res=\$$3
 
2172
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2173
$as_echo "$ac_res" >&6; }
 
2174
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2175
 
 
2176
} # ac_fn_cxx_check_type
 
2177
 
 
2178
# ac_fn_c_find_uintX_t LINENO BITS VAR
 
2179
# ------------------------------------
 
2180
# Finds an unsigned integer type with width BITS, setting cache variable VAR
 
2181
# accordingly.
 
2182
ac_fn_c_find_uintX_t ()
 
2183
{
 
2184
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2185
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
 
2186
$as_echo_n "checking for uint$2_t... " >&6; }
 
2187
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2188
  $as_echo_n "(cached) " >&6
 
2189
else
 
2190
  eval "$3=no"
 
2191
     # Order is important - never check a type that is potentially smaller
 
2192
     # than half of the expected target width.
 
2193
     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
 
2194
         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 
2195
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2196
/* end confdefs.h.  */
 
2197
$ac_includes_default
 
2198
int
 
2199
main ()
 
2200
{
 
2201
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
 
2202
test_array [0] = 0
 
2203
 
 
2204
  ;
 
2205
  return 0;
 
2206
}
 
2207
_ACEOF
 
2208
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2209
  case $ac_type in #(
 
2210
  uint$2_t) :
 
2211
    eval "$3=yes" ;; #(
 
2212
  *) :
 
2213
    eval "$3=\$ac_type" ;;
 
2214
esac
 
2215
fi
 
2216
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2217
       eval as_val=\$$3
 
2218
   if test "x$as_val" = x""no; then :
 
2219
 
 
2220
else
 
2221
  break
 
2222
fi
 
2223
     done
 
2224
fi
 
2225
eval ac_res=\$$3
 
2226
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2227
$as_echo "$ac_res" >&6; }
 
2228
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2229
 
 
2230
} # ac_fn_c_find_uintX_t
 
2231
 
 
2232
# ac_fn_cxx_check_func LINENO FUNC VAR
 
2233
# ------------------------------------
 
2234
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2235
ac_fn_cxx_check_func ()
 
2236
{
 
2237
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2238
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2239
$as_echo_n "checking for $2... " >&6; }
 
2240
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2241
  $as_echo_n "(cached) " >&6
 
2242
else
 
2243
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2244
/* end confdefs.h.  */
 
2245
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2246
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2247
#define $2 innocuous_$2
 
2248
 
 
2249
/* System header to define __stub macros and hopefully few prototypes,
 
2250
    which can conflict with char $2 (); below.
 
2251
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2252
    <limits.h> exists even on freestanding compilers.  */
 
2253
 
 
2254
#ifdef __STDC__
 
2255
# include <limits.h>
 
2256
#else
 
2257
# include <assert.h>
 
2258
#endif
 
2259
 
 
2260
#undef $2
 
2261
 
 
2262
/* Override any GCC internal prototype to avoid an error.
 
2263
   Use char because int might match the return type of a GCC
 
2264
   builtin and then its argument prototype would still apply.  */
 
2265
#ifdef __cplusplus
 
2266
extern "C"
 
2267
#endif
 
2268
char $2 ();
 
2269
/* The GNU C library defines this for functions which it implements
 
2270
    to always fail with ENOSYS.  Some functions are actually named
 
2271
    something starting with __ and the normal name is an alias.  */
 
2272
#if defined __stub_$2 || defined __stub___$2
 
2273
choke me
 
2274
#endif
 
2275
 
 
2276
int
 
2277
main ()
 
2278
{
 
2279
return $2 ();
 
2280
  ;
 
2281
  return 0;
 
2282
}
 
2283
_ACEOF
 
2284
if ac_fn_cxx_try_link "$LINENO"; then :
 
2285
  eval "$3=yes"
 
2286
else
 
2287
  eval "$3=no"
 
2288
fi
 
2289
rm -f core conftest.err conftest.$ac_objext \
 
2290
    conftest$ac_exeext conftest.$ac_ext
 
2291
fi
 
2292
eval ac_res=\$$3
 
2293
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2294
$as_echo "$ac_res" >&6; }
 
2295
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2296
 
 
2297
} # ac_fn_cxx_check_func
1608
2298
cat >config.log <<_ACEOF
1609
2299
This file contains any messages produced by compilers while
1610
2300
running configure, to aid debugging if configure makes a mistake.
1611
2301
 
1612
 
It was created by zeromq $as_me 2.0.9, which was
1613
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
2302
It was created by zeromq $as_me 2.0.10, which was
 
2303
generated by GNU Autoconf 2.65.  Invocation command line was
1614
2304
 
1615
2305
  $ $0 $@
1616
2306
 
1646
2336
do
1647
2337
  IFS=$as_save_IFS
1648
2338
  test -z "$as_dir" && as_dir=.
1649
 
  echo "PATH: $as_dir"
1650
 
done
 
2339
    $as_echo "PATH: $as_dir"
 
2340
  done
1651
2341
IFS=$as_save_IFS
1652
2342
 
1653
2343
} >&5
1681
2371
    | -silent | --silent | --silen | --sile | --sil)
1682
2372
      continue ;;
1683
2373
    *\'*)
1684
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2374
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1685
2375
    esac
1686
2376
    case $ac_pass in
1687
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2377
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1688
2378
    2)
1689
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2379
      as_fn_append ac_configure_args1 " '$ac_arg'"
1690
2380
      if test $ac_must_keep_next = true; then
1691
2381
        ac_must_keep_next=false # Got value, back to normal.
1692
2382
      else
1702
2392
          -* ) ac_must_keep_next=true ;;
1703
2393
        esac
1704
2394
      fi
1705
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2395
      as_fn_append ac_configure_args " '$ac_arg'"
1706
2396
      ;;
1707
2397
    esac
1708
2398
  done
1709
2399
done
1710
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1711
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2400
{ ac_configure_args0=; unset ac_configure_args0;}
 
2401
{ ac_configure_args1=; unset ac_configure_args1;}
1712
2402
 
1713
2403
# When interrupted or exit'd, cleanup temporary files, and complete
1714
2404
# config.log.  We remove comments because anyway the quotes in there
1733
2423
    case $ac_val in #(
1734
2424
    *${as_nl}*)
1735
2425
      case $ac_var in #(
1736
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1737
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2426
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2427
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1738
2428
      esac
1739
2429
      case $ac_var in #(
1740
2430
      _ | IFS | as_nl) ;; #(
1741
 
      *) $as_unset $ac_var ;;
 
2431
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2432
      *) { eval $ac_var=; unset $ac_var;} ;;
1742
2433
      esac ;;
1743
2434
    esac
1744
2435
  done
1767
2458
    do
1768
2459
      eval ac_val=\$$ac_var
1769
2460
      case $ac_val in
1770
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2461
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1771
2462
      esac
1772
 
      echo "$ac_var='\''$ac_val'\''"
 
2463
      $as_echo "$ac_var='\''$ac_val'\''"
1773
2464
    done | sort
1774
2465
    echo
1775
2466
 
1784
2475
      do
1785
2476
        eval ac_val=\$$ac_var
1786
2477
        case $ac_val in
1787
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2478
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1788
2479
        esac
1789
 
        echo "$ac_var='\''$ac_val'\''"
 
2480
        $as_echo "$ac_var='\''$ac_val'\''"
1790
2481
      done | sort
1791
2482
      echo
1792
2483
    fi
1802
2493
      echo
1803
2494
    fi
1804
2495
    test "$ac_signal" != 0 &&
1805
 
      echo "$as_me: caught signal $ac_signal"
1806
 
    echo "$as_me: exit $exit_status"
 
2496
      $as_echo "$as_me: caught signal $ac_signal"
 
2497
    $as_echo "$as_me: exit $exit_status"
1807
2498
  } >&5
1808
2499
  rm -f core *.core core.conftest.* &&
1809
2500
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1810
2501
    exit $exit_status
1811
2502
' 0
1812
2503
for ac_signal in 1 2 13 15; do
1813
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2504
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1814
2505
done
1815
2506
ac_signal=0
1816
2507
 
1817
2508
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1818
2509
rm -f -r conftest* confdefs.h
1819
2510
 
 
2511
$as_echo "/* confdefs.h */" > confdefs.h
 
2512
 
1820
2513
# Predefined preprocessor variables.
1821
2514
 
1822
2515
cat >>confdefs.h <<_ACEOF
1823
2516
#define PACKAGE_NAME "$PACKAGE_NAME"
1824
2517
_ACEOF
1825
2518
 
1826
 
 
1827
2519
cat >>confdefs.h <<_ACEOF
1828
2520
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1829
2521
_ACEOF
1830
2522
 
1831
 
 
1832
2523
cat >>confdefs.h <<_ACEOF
1833
2524
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1834
2525
_ACEOF
1835
2526
 
1836
 
 
1837
2527
cat >>confdefs.h <<_ACEOF
1838
2528
#define PACKAGE_STRING "$PACKAGE_STRING"
1839
2529
_ACEOF
1840
2530
 
1841
 
 
1842
2531
cat >>confdefs.h <<_ACEOF
1843
2532
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1844
2533
_ACEOF
1845
2534
 
 
2535
cat >>confdefs.h <<_ACEOF
 
2536
#define PACKAGE_URL "$PACKAGE_URL"
 
2537
_ACEOF
 
2538
 
1846
2539
 
1847
2540
# Let the site file select an alternate cache file if it wants to.
1848
 
# Prefer explicitly selected file to automatically selected ones.
 
2541
# Prefer an explicitly selected file to automatically selected ones.
 
2542
ac_site_file1=NONE
 
2543
ac_site_file2=NONE
1849
2544
if test -n "$CONFIG_SITE"; then
1850
 
  set x "$CONFIG_SITE"
 
2545
  ac_site_file1=$CONFIG_SITE
1851
2546
elif test "x$prefix" != xNONE; then
1852
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2547
  ac_site_file1=$prefix/share/config.site
 
2548
  ac_site_file2=$prefix/etc/config.site
1853
2549
else
1854
 
  set x "$ac_default_prefix/share/config.site" \
1855
 
        "$ac_default_prefix/etc/config.site"
 
2550
  ac_site_file1=$ac_default_prefix/share/config.site
 
2551
  ac_site_file2=$ac_default_prefix/etc/config.site
1856
2552
fi
1857
 
shift
1858
 
for ac_site_file
 
2553
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1859
2554
do
1860
 
  if test -r "$ac_site_file"; then
1861
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1862
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2555
  test "x$ac_site_file" = xNONE && continue
 
2556
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2557
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2558
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1863
2559
    sed 's/^/| /' "$ac_site_file" >&5
1864
2560
    . "$ac_site_file"
1865
2561
  fi
1866
2562
done
1867
2563
 
1868
2564
if test -r "$cache_file"; then
1869
 
  # Some versions of bash will fail to source /dev/null (special
1870
 
  # files actually), so we avoid doing that.
1871
 
  if test -f "$cache_file"; then
1872
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1873
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2565
  # Some versions of bash will fail to source /dev/null (special files
 
2566
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2567
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2568
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2569
$as_echo "$as_me: loading cache $cache_file" >&6;}
1874
2570
    case $cache_file in
1875
2571
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1876
2572
      *)                      . "./$cache_file";;
1877
2573
    esac
1878
2574
  fi
1879
2575
else
1880
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1881
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2576
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2577
$as_echo "$as_me: creating cache $cache_file" >&6;}
1882
2578
  >$cache_file
1883
2579
fi
1884
2580
 
1892
2588
  eval ac_new_val=\$ac_env_${ac_var}_value
1893
2589
  case $ac_old_set,$ac_new_set in
1894
2590
    set,)
1895
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1896
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2591
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2592
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1897
2593
      ac_cache_corrupted=: ;;
1898
2594
    ,set)
1899
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1900
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2595
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2596
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1901
2597
      ac_cache_corrupted=: ;;
1902
2598
    ,);;
1903
2599
    *)
1904
2600
      if test "x$ac_old_val" != "x$ac_new_val"; then
1905
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1906
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1907
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1908
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1909
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1910
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1911
 
        ac_cache_corrupted=:
 
2601
        # differences in whitespace do not lead to failure.
 
2602
        ac_old_val_w=`echo x $ac_old_val`
 
2603
        ac_new_val_w=`echo x $ac_new_val`
 
2604
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2605
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2606
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2607
          ac_cache_corrupted=:
 
2608
        else
 
2609
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2610
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2611
          eval $ac_var=\$ac_old_val
 
2612
        fi
 
2613
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2614
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2615
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2616
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1912
2617
      fi;;
1913
2618
  esac
1914
2619
  # Pass precious variables to config.status.
1915
2620
  if test "$ac_new_set" = set; then
1916
2621
    case $ac_new_val in
1917
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2622
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1918
2623
    *) ac_arg=$ac_var=$ac_new_val ;;
1919
2624
    esac
1920
2625
    case " $ac_configure_args " in
1921
2626
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1922
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2627
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1923
2628
    esac
1924
2629
  fi
1925
2630
done
1926
2631
if $ac_cache_corrupted; then
1927
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1928
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1929
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1930
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1931
 
   { (exit 1); exit 1; }; }
 
2632
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2633
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2634
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2635
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2636
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1932
2637
fi
1933
 
 
1934
 
 
1935
 
 
1936
 
 
1937
 
 
1938
 
 
1939
 
 
1940
 
 
1941
 
 
1942
 
 
1943
 
 
1944
 
 
1945
 
 
1946
 
 
1947
 
 
1948
 
 
1949
 
 
1950
 
 
1951
 
 
1952
 
 
1953
 
 
1954
 
 
1955
 
 
1956
 
 
 
2638
## -------------------- ##
 
2639
## Main body of script. ##
 
2640
## -------------------- ##
1957
2641
 
1958
2642
ac_ext=c
1959
2643
ac_cpp='$CPP $CPPFLAGS'
1965
2649
 
1966
2650
ac_aux_dir=
1967
2651
for ac_dir in config "$srcdir"/config; do
1968
 
  if test -f "$ac_dir/install-sh"; then
1969
 
    ac_aux_dir=$ac_dir
1970
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1971
 
    break
1972
 
  elif test -f "$ac_dir/install.sh"; then
1973
 
    ac_aux_dir=$ac_dir
1974
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1975
 
    break
1976
 
  elif test -f "$ac_dir/shtool"; then
1977
 
    ac_aux_dir=$ac_dir
1978
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1979
 
    break
1980
 
  fi
 
2652
  for ac_t in install-sh install.sh shtool; do
 
2653
    if test -f "$ac_dir/$ac_t"; then
 
2654
      ac_aux_dir=$ac_dir
 
2655
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2656
      break 2
 
2657
    fi
 
2658
  done
1981
2659
done
1982
2660
if test -z "$ac_aux_dir"; then
1983
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1984
 
echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1985
 
   { (exit 1); exit 1; }; }
 
2661
  as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
1986
2662
fi
1987
2663
 
1988
2664
# These three variables are undocumented and unsupported,
1997
2673
 
1998
2674
ac_config_headers="$ac_config_headers src/platform.hpp"
1999
2675
 
2000
 
am__api_version='1.10'
 
2676
am__api_version='1.11'
2001
2677
 
2002
2678
# Find a good install program.  We prefer a C program (faster),
2003
2679
# so one script is as good as another.  But avoid the broken or
2012
2688
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2013
2689
# OS/2's system install, which has a completely different semantic
2014
2690
# ./install, which can be erroneously created by make from ./install.sh.
2015
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2016
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2691
# Reject install programs that cannot install multiple files.
 
2692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2693
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2017
2694
if test -z "$INSTALL"; then
2018
 
if test "${ac_cv_path_install+set}" = set; then
2019
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2695
if test "${ac_cv_path_install+set}" = set; then :
 
2696
  $as_echo_n "(cached) " >&6
2020
2697
else
2021
2698
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2022
2699
for as_dir in $PATH
2023
2700
do
2024
2701
  IFS=$as_save_IFS
2025
2702
  test -z "$as_dir" && as_dir=.
2026
 
  # Account for people who put trailing slashes in PATH elements.
2027
 
case $as_dir/ in
2028
 
  ./ | .// | /cC/* | \
 
2703
    # Account for people who put trailing slashes in PATH elements.
 
2704
case $as_dir/ in #((
 
2705
  ./ | .// | /[cC]/* | \
2029
2706
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2030
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2707
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2031
2708
  /usr/ucb/* ) ;;
2032
2709
  *)
2033
2710
    # OSF1 and SCO ODT 3.0 have their own names for install.
2045
2722
            # program-specific install script used by HP pwplus--don't use.
2046
2723
            :
2047
2724
          else
2048
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2049
 
            break 3
 
2725
            rm -rf conftest.one conftest.two conftest.dir
 
2726
            echo one > conftest.one
 
2727
            echo two > conftest.two
 
2728
            mkdir conftest.dir
 
2729
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2730
              test -s conftest.one && test -s conftest.two &&
 
2731
              test -s conftest.dir/conftest.one &&
 
2732
              test -s conftest.dir/conftest.two
 
2733
            then
 
2734
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2735
              break 3
 
2736
            fi
2050
2737
          fi
2051
2738
        fi
2052
2739
      done
2053
2740
    done
2054
2741
    ;;
2055
2742
esac
2056
 
done
 
2743
 
 
2744
  done
2057
2745
IFS=$as_save_IFS
2058
2746
 
 
2747
rm -rf conftest.one conftest.two conftest.dir
2059
2748
 
2060
2749
fi
2061
2750
  if test "${ac_cv_path_install+set}" = set; then
2068
2757
    INSTALL=$ac_install_sh
2069
2758
  fi
2070
2759
fi
2071
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2072
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2761
$as_echo "$INSTALL" >&6; }
2073
2762
 
2074
2763
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2075
2764
# It thinks the first close brace ends the variable substitution.
2079
2768
 
2080
2769
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2081
2770
 
2082
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2083
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2772
$as_echo_n "checking whether build environment is sane... " >&6; }
2084
2773
# Just in case
2085
2774
sleep 1
2086
2775
echo timestamp > conftest.file
 
2776
# Reject unsafe characters in $srcdir or the absolute working directory
 
2777
# name.  Accept space and tab only in the latter.
 
2778
am_lf='
 
2779
'
 
2780
case `pwd` in
 
2781
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2782
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2783
esac
 
2784
case $srcdir in
 
2785
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2786
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2787
esac
 
2788
 
2087
2789
# Do `set' in a subshell so we don't clobber the current shell's
2088
2790
# arguments.  Must try -L first in case configure is actually a
2089
2791
# symlink; some systems play weird games with the mod time of symlinks
2090
2792
# (eg FreeBSD returns the mod time of the symlink's containing
2091
2793
# directory).
2092
2794
if (
2093
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2795
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2094
2796
   if test "$*" = "X"; then
2095
2797
      # -L didn't work.
2096
 
      set X `ls -t $srcdir/configure conftest.file`
 
2798
      set X `ls -t "$srcdir/configure" conftest.file`
2097
2799
   fi
2098
2800
   rm -f conftest.file
2099
2801
   if test "$*" != "X $srcdir/configure conftest.file" \
2103
2805
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2104
2806
      # broken ls alias from the environment.  This has actually
2105
2807
      # happened.  Such a system could not be considered "sane".
2106
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2107
 
alias in your environment" >&5
2108
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2109
 
alias in your environment" >&2;}
2110
 
   { (exit 1); exit 1; }; }
 
2808
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2809
alias in your environment" "$LINENO" 5
2111
2810
   fi
2112
2811
 
2113
2812
   test "$2" = conftest.file
2116
2815
   # Ok.
2117
2816
   :
2118
2817
else
2119
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2120
 
Check your system clock" >&5
2121
 
echo "$as_me: error: newly created file is older than distributed files!
2122
 
Check your system clock" >&2;}
2123
 
   { (exit 1); exit 1; }; }
 
2818
   as_fn_error "newly created file is older than distributed files!
 
2819
Check your system clock" "$LINENO" 5
2124
2820
fi
2125
 
{ echo "$as_me:$LINENO: result: yes" >&5
2126
 
echo "${ECHO_T}yes" >&6; }
 
2821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2822
$as_echo "yes" >&6; }
2127
2823
test "$program_prefix" != NONE &&
2128
2824
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2129
2825
# Use a double $ so make ignores it.
2130
2826
test "$program_suffix" != NONE &&
2131
2827
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2132
 
# Double any \ or $.  echo might interpret backslashes.
 
2828
# Double any \ or $.
2133
2829
# By default was `s,x,x', remove it if useless.
2134
 
cat <<\_ACEOF >conftest.sed
2135
 
s/[\\$]/&&/g;s/;s,x,x,$//
2136
 
_ACEOF
2137
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2138
 
rm -f conftest.sed
 
2830
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2831
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2139
2832
 
2140
2833
# expand $ac_aux_dir to an absolute path
2141
2834
am_aux_dir=`cd $ac_aux_dir && pwd`
2142
2835
 
2143
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2836
if test x"${MISSING+set}" != xset; then
 
2837
  case $am_aux_dir in
 
2838
  *\ * | *\     *)
 
2839
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2840
  *)
 
2841
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2842
  esac
 
2843
fi
2144
2844
# Use eval to expand $SHELL
2145
2845
if eval "$MISSING --run true"; then
2146
2846
  am_missing_run="$MISSING --run "
2147
2847
else
2148
2848
  am_missing_run=
2149
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2150
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2151
 
fi
2152
 
 
2153
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2154
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2849
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2850
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2851
fi
 
2852
 
 
2853
if test x"${install_sh}" != xset; then
 
2854
  case $am_aux_dir in
 
2855
  *\ * | *\     *)
 
2856
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2857
  *)
 
2858
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2859
  esac
 
2860
fi
 
2861
 
 
2862
# Installed binaries are usually stripped using `strip' when the user
 
2863
# run `make install-strip'.  However `strip' might not be the right
 
2864
# tool to use in cross-compilation environments, therefore Automake
 
2865
# will honor the `STRIP' environment variable to overrule this program.
 
2866
if test "$cross_compiling" != no; then
 
2867
  if test -n "$ac_tool_prefix"; then
 
2868
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2869
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2871
$as_echo_n "checking for $ac_word... " >&6; }
 
2872
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2873
  $as_echo_n "(cached) " >&6
 
2874
else
 
2875
  if test -n "$STRIP"; then
 
2876
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2877
else
 
2878
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2879
for as_dir in $PATH
 
2880
do
 
2881
  IFS=$as_save_IFS
 
2882
  test -z "$as_dir" && as_dir=.
 
2883
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2884
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2885
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2886
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2887
    break 2
 
2888
  fi
 
2889
done
 
2890
  done
 
2891
IFS=$as_save_IFS
 
2892
 
 
2893
fi
 
2894
fi
 
2895
STRIP=$ac_cv_prog_STRIP
 
2896
if test -n "$STRIP"; then
 
2897
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2898
$as_echo "$STRIP" >&6; }
 
2899
else
 
2900
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2901
$as_echo "no" >&6; }
 
2902
fi
 
2903
 
 
2904
 
 
2905
fi
 
2906
if test -z "$ac_cv_prog_STRIP"; then
 
2907
  ac_ct_STRIP=$STRIP
 
2908
  # Extract the first word of "strip", so it can be a program name with args.
 
2909
set dummy strip; ac_word=$2
 
2910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2911
$as_echo_n "checking for $ac_word... " >&6; }
 
2912
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2913
  $as_echo_n "(cached) " >&6
 
2914
else
 
2915
  if test -n "$ac_ct_STRIP"; then
 
2916
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2917
else
 
2918
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2919
for as_dir in $PATH
 
2920
do
 
2921
  IFS=$as_save_IFS
 
2922
  test -z "$as_dir" && as_dir=.
 
2923
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2924
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2925
    ac_cv_prog_ac_ct_STRIP="strip"
 
2926
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2927
    break 2
 
2928
  fi
 
2929
done
 
2930
  done
 
2931
IFS=$as_save_IFS
 
2932
 
 
2933
fi
 
2934
fi
 
2935
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2936
if test -n "$ac_ct_STRIP"; then
 
2937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2938
$as_echo "$ac_ct_STRIP" >&6; }
 
2939
else
 
2940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2941
$as_echo "no" >&6; }
 
2942
fi
 
2943
 
 
2944
  if test "x$ac_ct_STRIP" = x; then
 
2945
    STRIP=":"
 
2946
  else
 
2947
    case $cross_compiling:$ac_tool_warned in
 
2948
yes:)
 
2949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2950
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2951
ac_tool_warned=yes ;;
 
2952
esac
 
2953
    STRIP=$ac_ct_STRIP
 
2954
  fi
 
2955
else
 
2956
  STRIP="$ac_cv_prog_STRIP"
 
2957
fi
 
2958
 
 
2959
fi
 
2960
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2961
 
 
2962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2963
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2155
2964
if test -z "$MKDIR_P"; then
2156
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2157
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2965
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2966
  $as_echo_n "(cached) " >&6
2158
2967
else
2159
2968
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160
2969
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2161
2970
do
2162
2971
  IFS=$as_save_IFS
2163
2972
  test -z "$as_dir" && as_dir=.
2164
 
  for ac_prog in mkdir gmkdir; do
 
2973
    for ac_prog in mkdir gmkdir; do
2165
2974
         for ac_exec_ext in '' $ac_executable_extensions; do
2166
2975
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2167
2976
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2173
2982
           esac
2174
2983
         done
2175
2984
       done
2176
 
done
 
2985
  done
2177
2986
IFS=$as_save_IFS
2178
2987
 
2179
2988
fi
2180
2989
 
 
2990
  test -d ./--version && rmdir ./--version
2181
2991
  if test "${ac_cv_path_mkdir+set}" = set; then
2182
2992
    MKDIR_P="$ac_cv_path_mkdir -p"
2183
2993
  else
2185
2995
    # value for MKDIR_P within a source directory, because that will
2186
2996
    # break other packages using the cache if that directory is
2187
2997
    # removed, or if the value is a relative name.
2188
 
    test -d ./--version && rmdir ./--version
2189
2998
    MKDIR_P="$ac_install_sh -d"
2190
2999
  fi
2191
3000
fi
2192
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2193
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
3001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
3002
$as_echo "$MKDIR_P" >&6; }
2194
3003
 
2195
3004
mkdir_p="$MKDIR_P"
2196
3005
case $mkdir_p in
2202
3011
do
2203
3012
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2204
3013
set dummy $ac_prog; ac_word=$2
2205
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2206
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2207
 
if test "${ac_cv_prog_AWK+set}" = set; then
2208
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3015
$as_echo_n "checking for $ac_word... " >&6; }
 
3016
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3017
  $as_echo_n "(cached) " >&6
2209
3018
else
2210
3019
  if test -n "$AWK"; then
2211
3020
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2215
3024
do
2216
3025
  IFS=$as_save_IFS
2217
3026
  test -z "$as_dir" && as_dir=.
2218
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3027
    for ac_exec_ext in '' $ac_executable_extensions; do
2219
3028
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220
3029
    ac_cv_prog_AWK="$ac_prog"
2221
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3030
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2222
3031
    break 2
2223
3032
  fi
2224
3033
done
2225
 
done
 
3034
  done
2226
3035
IFS=$as_save_IFS
2227
3036
 
2228
3037
fi
2229
3038
fi
2230
3039
AWK=$ac_cv_prog_AWK
2231
3040
if test -n "$AWK"; then
2232
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2233
 
echo "${ECHO_T}$AWK" >&6; }
 
3041
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3042
$as_echo "$AWK" >&6; }
2234
3043
else
2235
 
  { echo "$as_me:$LINENO: result: no" >&5
2236
 
echo "${ECHO_T}no" >&6; }
 
3044
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3045
$as_echo "no" >&6; }
2237
3046
fi
2238
3047
 
2239
3048
 
2240
3049
  test -n "$AWK" && break
2241
3050
done
2242
3051
 
2243
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2244
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2245
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2246
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2247
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3053
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3054
set x ${MAKE-make}
 
3055
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3056
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3057
  $as_echo_n "(cached) " >&6
2248
3058
else
2249
3059
  cat >conftest.make <<\_ACEOF
2250
3060
SHELL = /bin/sh
2261
3071
rm -f conftest.make
2262
3072
fi
2263
3073
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2264
 
  { echo "$as_me:$LINENO: result: yes" >&5
2265
 
echo "${ECHO_T}yes" >&6; }
 
3074
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3075
$as_echo "yes" >&6; }
2266
3076
  SET_MAKE=
2267
3077
else
2268
 
  { echo "$as_me:$LINENO: result: no" >&5
2269
 
echo "${ECHO_T}no" >&6; }
 
3078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3079
$as_echo "no" >&6; }
2270
3080
  SET_MAKE="MAKE=${MAKE-make}"
2271
3081
fi
2272
3082
 
2285
3095
  am__isrc=' -I$(srcdir)'
2286
3096
  # test to see if srcdir already configured
2287
3097
  if test -f $srcdir/config.status; then
2288
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2289
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2290
 
   { (exit 1); exit 1; }; }
 
3098
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2291
3099
  fi
2292
3100
fi
2293
3101
 
2303
3111
 
2304
3112
# Define the identity of the package.
2305
3113
 PACKAGE='zeromq'
2306
 
 VERSION='2.0.9'
 
3114
 VERSION='2.0.10'
2307
3115
 
2308
3116
 
2309
3117
cat >>confdefs.h <<_ACEOF
2331
3139
 
2332
3140
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2333
3141
 
2334
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2335
 
 
2336
 
# Installed binaries are usually stripped using `strip' when the user
2337
 
# run `make install-strip'.  However `strip' might not be the right
2338
 
# tool to use in cross-compilation environments, therefore Automake
2339
 
# will honor the `STRIP' environment variable to overrule this program.
2340
 
if test "$cross_compiling" != no; then
2341
 
  if test -n "$ac_tool_prefix"; then
2342
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2343
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2344
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2345
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2346
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2347
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2348
 
else
2349
 
  if test -n "$STRIP"; then
2350
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2351
 
else
2352
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353
 
for as_dir in $PATH
2354
 
do
2355
 
  IFS=$as_save_IFS
2356
 
  test -z "$as_dir" && as_dir=.
2357
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2358
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2360
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2361
 
    break 2
2362
 
  fi
2363
 
done
2364
 
done
2365
 
IFS=$as_save_IFS
2366
 
 
2367
 
fi
2368
 
fi
2369
 
STRIP=$ac_cv_prog_STRIP
2370
 
if test -n "$STRIP"; then
2371
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2372
 
echo "${ECHO_T}$STRIP" >&6; }
2373
 
else
2374
 
  { echo "$as_me:$LINENO: result: no" >&5
2375
 
echo "${ECHO_T}no" >&6; }
2376
 
fi
2377
 
 
2378
 
 
2379
 
fi
2380
 
if test -z "$ac_cv_prog_STRIP"; then
2381
 
  ac_ct_STRIP=$STRIP
2382
 
  # Extract the first word of "strip", so it can be a program name with args.
2383
 
set dummy strip; ac_word=$2
2384
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2385
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2386
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2387
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2388
 
else
2389
 
  if test -n "$ac_ct_STRIP"; then
2390
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2391
 
else
2392
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393
 
for as_dir in $PATH
2394
 
do
2395
 
  IFS=$as_save_IFS
2396
 
  test -z "$as_dir" && as_dir=.
2397
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2398
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399
 
    ac_cv_prog_ac_ct_STRIP="strip"
2400
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2401
 
    break 2
2402
 
  fi
2403
 
done
2404
 
done
2405
 
IFS=$as_save_IFS
2406
 
 
2407
 
fi
2408
 
fi
2409
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2410
 
if test -n "$ac_ct_STRIP"; then
2411
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2412
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2413
 
else
2414
 
  { echo "$as_me:$LINENO: result: no" >&5
2415
 
echo "${ECHO_T}no" >&6; }
2416
 
fi
2417
 
 
2418
 
  if test "x$ac_ct_STRIP" = x; then
2419
 
    STRIP=":"
2420
 
  else
2421
 
    case $cross_compiling:$ac_tool_warned in
2422
 
yes:)
2423
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2424
 
whose name does not start with the host triplet.  If you think this
2425
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2426
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2427
 
whose name does not start with the host triplet.  If you think this
2428
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2429
 
ac_tool_warned=yes ;;
2430
 
esac
2431
 
    STRIP=$ac_ct_STRIP
2432
 
  fi
2433
 
else
2434
 
  STRIP="$ac_cv_prog_STRIP"
2435
 
fi
2436
 
 
2437
 
fi
2438
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2439
 
 
2440
3142
# We need awk for the "check" target.  The system "awk" is bad on
2441
3143
# some platforms.
2442
3144
# Always define AMTAR for backward compatibility.
2444
3146
AMTAR=${AMTAR-"${am_missing_run}tar"}
2445
3147
 
2446
3148
 
2447
 
{ echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2448
 
echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
 
3149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
 
3150
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2449
3151
# Loop over all known methods to create a tar archive until one works.
2450
3152
_am_tools='gnutar plaintar pax cpio none'
2451
3153
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2517
3219
done
2518
3220
rm -rf conftest.dir
2519
3221
 
2520
 
if test "${am_cv_prog_tar_ustar+set}" = set; then
2521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3222
if test "${am_cv_prog_tar_ustar+set}" = set; then :
 
3223
  $as_echo_n "(cached) " >&6
2522
3224
else
2523
3225
  am_cv_prog_tar_ustar=$_am_tool
2524
3226
fi
2525
3227
 
2526
 
{ echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2527
 
echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
2528
 
 
2529
 
 
2530
 
 
2531
 
 
2532
 
 
2533
 
 
2534
 
# This defines PACKAGE_VERSION_... in src/platform.hpp
2535
 
PV_MAJOR=`echo $PACKAGE_VERSION | cut -d . -f 1`
2536
 
PV_MINOR=`echo $PACKAGE_VERSION | cut -d . -f 2`
2537
 
PV_PATCH=`echo $PACKAGE_VERSION | cut -d . -f 3`
2538
 
 
2539
 
cat >>confdefs.h <<_ACEOF
2540
 
#define PACKAGE_VERSION_MAJOR $PV_MAJOR
2541
 
_ACEOF
2542
 
 
2543
 
 
2544
 
cat >>confdefs.h <<_ACEOF
2545
 
#define PACKAGE_VERSION_MINOR $PV_MINOR
2546
 
_ACEOF
2547
 
 
2548
 
 
2549
 
cat >>confdefs.h <<_ACEOF
2550
 
#define PACKAGE_VERSION_PATCH $PV_PATCH
2551
 
_ACEOF
 
3228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
 
3229
$as_echo "$am_cv_prog_tar_ustar" >&6; }
 
3230
 
 
3231
 
 
3232
 
 
3233
 
 
3234
 
2552
3235
 
2553
3236
# This lets us use PACKAGE_VERSION in Makefiles
2554
3237
 
2555
3238
 
2556
 
#
2557
3239
# Libtool -version-info (ABI version)
2558
3240
#
2559
3241
# Currently 0.0.0 ("unstable"). Don't change this unless you
2573
3255
if test -n "$ac_tool_prefix"; then
2574
3256
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2575
3257
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2576
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2577
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2578
 
if test "${ac_cv_prog_CC+set}" = set; then
2579
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3259
$as_echo_n "checking for $ac_word... " >&6; }
 
3260
if test "${ac_cv_prog_CC+set}" = set; then :
 
3261
  $as_echo_n "(cached) " >&6
2580
3262
else
2581
3263
  if test -n "$CC"; then
2582
3264
  ac_cv_prog_CC="$CC" # Let the user override the test.
2586
3268
do
2587
3269
  IFS=$as_save_IFS
2588
3270
  test -z "$as_dir" && as_dir=.
2589
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3271
    for ac_exec_ext in '' $ac_executable_extensions; do
2590
3272
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2591
3273
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2592
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3274
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593
3275
    break 2
2594
3276
  fi
2595
3277
done
2596
 
done
 
3278
  done
2597
3279
IFS=$as_save_IFS
2598
3280
 
2599
3281
fi
2600
3282
fi
2601
3283
CC=$ac_cv_prog_CC
2602
3284
if test -n "$CC"; then
2603
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2604
 
echo "${ECHO_T}$CC" >&6; }
 
3285
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3286
$as_echo "$CC" >&6; }
2605
3287
else
2606
 
  { echo "$as_me:$LINENO: result: no" >&5
2607
 
echo "${ECHO_T}no" >&6; }
 
3288
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3289
$as_echo "no" >&6; }
2608
3290
fi
2609
3291
 
2610
3292
 
2613
3295
  ac_ct_CC=$CC
2614
3296
  # Extract the first word of "gcc", so it can be a program name with args.
2615
3297
set dummy gcc; ac_word=$2
2616
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2617
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2618
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2619
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3299
$as_echo_n "checking for $ac_word... " >&6; }
 
3300
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3301
  $as_echo_n "(cached) " >&6
2620
3302
else
2621
3303
  if test -n "$ac_ct_CC"; then
2622
3304
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2626
3308
do
2627
3309
  IFS=$as_save_IFS
2628
3310
  test -z "$as_dir" && as_dir=.
2629
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3311
    for ac_exec_ext in '' $ac_executable_extensions; do
2630
3312
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2631
3313
    ac_cv_prog_ac_ct_CC="gcc"
2632
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3314
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2633
3315
    break 2
2634
3316
  fi
2635
3317
done
2636
 
done
 
3318
  done
2637
3319
IFS=$as_save_IFS
2638
3320
 
2639
3321
fi
2640
3322
fi
2641
3323
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2642
3324
if test -n "$ac_ct_CC"; then
2643
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2644
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3325
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3326
$as_echo "$ac_ct_CC" >&6; }
2645
3327
else
2646
 
  { echo "$as_me:$LINENO: result: no" >&5
2647
 
echo "${ECHO_T}no" >&6; }
 
3328
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3329
$as_echo "no" >&6; }
2648
3330
fi
2649
3331
 
2650
3332
  if test "x$ac_ct_CC" = x; then
2652
3334
  else
2653
3335
    case $cross_compiling:$ac_tool_warned in
2654
3336
yes:)
2655
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2656
 
whose name does not start with the host triplet.  If you think this
2657
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2658
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2659
 
whose name does not start with the host triplet.  If you think this
2660
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3337
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3338
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2661
3339
ac_tool_warned=yes ;;
2662
3340
esac
2663
3341
    CC=$ac_ct_CC
2670
3348
          if test -n "$ac_tool_prefix"; then
2671
3349
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2672
3350
set dummy ${ac_tool_prefix}cc; ac_word=$2
2673
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2674
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2675
 
if test "${ac_cv_prog_CC+set}" = set; then
2676
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3352
$as_echo_n "checking for $ac_word... " >&6; }
 
3353
if test "${ac_cv_prog_CC+set}" = set; then :
 
3354
  $as_echo_n "(cached) " >&6
2677
3355
else
2678
3356
  if test -n "$CC"; then
2679
3357
  ac_cv_prog_CC="$CC" # Let the user override the test.
2683
3361
do
2684
3362
  IFS=$as_save_IFS
2685
3363
  test -z "$as_dir" && as_dir=.
2686
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3364
    for ac_exec_ext in '' $ac_executable_extensions; do
2687
3365
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2688
3366
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2689
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3367
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690
3368
    break 2
2691
3369
  fi
2692
3370
done
2693
 
done
 
3371
  done
2694
3372
IFS=$as_save_IFS
2695
3373
 
2696
3374
fi
2697
3375
fi
2698
3376
CC=$ac_cv_prog_CC
2699
3377
if test -n "$CC"; then
2700
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2701
 
echo "${ECHO_T}$CC" >&6; }
 
3378
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3379
$as_echo "$CC" >&6; }
2702
3380
else
2703
 
  { echo "$as_me:$LINENO: result: no" >&5
2704
 
echo "${ECHO_T}no" >&6; }
 
3381
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3382
$as_echo "no" >&6; }
2705
3383
fi
2706
3384
 
2707
3385
 
2710
3388
if test -z "$CC"; then
2711
3389
  # Extract the first word of "cc", so it can be a program name with args.
2712
3390
set dummy cc; ac_word=$2
2713
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2714
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2715
 
if test "${ac_cv_prog_CC+set}" = set; then
2716
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3392
$as_echo_n "checking for $ac_word... " >&6; }
 
3393
if test "${ac_cv_prog_CC+set}" = set; then :
 
3394
  $as_echo_n "(cached) " >&6
2717
3395
else
2718
3396
  if test -n "$CC"; then
2719
3397
  ac_cv_prog_CC="$CC" # Let the user override the test.
2724
3402
do
2725
3403
  IFS=$as_save_IFS
2726
3404
  test -z "$as_dir" && as_dir=.
2727
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3405
    for ac_exec_ext in '' $ac_executable_extensions; do
2728
3406
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2729
3407
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2730
3408
       ac_prog_rejected=yes
2731
3409
       continue
2732
3410
     fi
2733
3411
    ac_cv_prog_CC="cc"
2734
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3412
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2735
3413
    break 2
2736
3414
  fi
2737
3415
done
2738
 
done
 
3416
  done
2739
3417
IFS=$as_save_IFS
2740
3418
 
2741
3419
if test $ac_prog_rejected = yes; then
2754
3432
fi
2755
3433
CC=$ac_cv_prog_CC
2756
3434
if test -n "$CC"; then
2757
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2758
 
echo "${ECHO_T}$CC" >&6; }
 
3435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3436
$as_echo "$CC" >&6; }
2759
3437
else
2760
 
  { echo "$as_me:$LINENO: result: no" >&5
2761
 
echo "${ECHO_T}no" >&6; }
 
3438
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3439
$as_echo "no" >&6; }
2762
3440
fi
2763
3441
 
2764
3442
 
2769
3447
  do
2770
3448
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2771
3449
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2772
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2773
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2774
 
if test "${ac_cv_prog_CC+set}" = set; then
2775
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3451
$as_echo_n "checking for $ac_word... " >&6; }
 
3452
if test "${ac_cv_prog_CC+set}" = set; then :
 
3453
  $as_echo_n "(cached) " >&6
2776
3454
else
2777
3455
  if test -n "$CC"; then
2778
3456
  ac_cv_prog_CC="$CC" # Let the user override the test.
2782
3460
do
2783
3461
  IFS=$as_save_IFS
2784
3462
  test -z "$as_dir" && as_dir=.
2785
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3463
    for ac_exec_ext in '' $ac_executable_extensions; do
2786
3464
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2787
3465
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2788
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3466
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789
3467
    break 2
2790
3468
  fi
2791
3469
done
2792
 
done
 
3470
  done
2793
3471
IFS=$as_save_IFS
2794
3472
 
2795
3473
fi
2796
3474
fi
2797
3475
CC=$ac_cv_prog_CC
2798
3476
if test -n "$CC"; then
2799
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2800
 
echo "${ECHO_T}$CC" >&6; }
 
3477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3478
$as_echo "$CC" >&6; }
2801
3479
else
2802
 
  { echo "$as_me:$LINENO: result: no" >&5
2803
 
echo "${ECHO_T}no" >&6; }
 
3480
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3481
$as_echo "no" >&6; }
2804
3482
fi
2805
3483
 
2806
3484
 
2813
3491
do
2814
3492
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2815
3493
set dummy $ac_prog; ac_word=$2
2816
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2817
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2818
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2819
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3495
$as_echo_n "checking for $ac_word... " >&6; }
 
3496
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3497
  $as_echo_n "(cached) " >&6
2820
3498
else
2821
3499
  if test -n "$ac_ct_CC"; then
2822
3500
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2826
3504
do
2827
3505
  IFS=$as_save_IFS
2828
3506
  test -z "$as_dir" && as_dir=.
2829
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3507
    for ac_exec_ext in '' $ac_executable_extensions; do
2830
3508
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831
3509
    ac_cv_prog_ac_ct_CC="$ac_prog"
2832
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3510
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833
3511
    break 2
2834
3512
  fi
2835
3513
done
2836
 
done
 
3514
  done
2837
3515
IFS=$as_save_IFS
2838
3516
 
2839
3517
fi
2840
3518
fi
2841
3519
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2842
3520
if test -n "$ac_ct_CC"; then
2843
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2844
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3522
$as_echo "$ac_ct_CC" >&6; }
2845
3523
else
2846
 
  { echo "$as_me:$LINENO: result: no" >&5
2847
 
echo "${ECHO_T}no" >&6; }
 
3524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3525
$as_echo "no" >&6; }
2848
3526
fi
2849
3527
 
2850
3528
 
2856
3534
  else
2857
3535
    case $cross_compiling:$ac_tool_warned in
2858
3536
yes:)
2859
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2860
 
whose name does not start with the host triplet.  If you think this
2861
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2862
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2863
 
whose name does not start with the host triplet.  If you think this
2864
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3537
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3538
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2865
3539
ac_tool_warned=yes ;;
2866
3540
esac
2867
3541
    CC=$ac_ct_CC
2871
3545
fi
2872
3546
 
2873
3547
 
2874
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2875
 
See \`config.log' for more details." >&5
2876
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2877
 
See \`config.log' for more details." >&2;}
2878
 
   { (exit 1); exit 1; }; }
 
3548
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3549
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3550
as_fn_error "no acceptable C compiler found in \$PATH
 
3551
See \`config.log' for more details." "$LINENO" 5; }
2879
3552
 
2880
3553
# Provide some information about the compiler.
2881
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2882
 
ac_compiler=`set X $ac_compile; echo $2`
2883
 
{ (ac_try="$ac_compiler --version >&5"
2884
 
case "(($ac_try" in
2885
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2886
 
  *) ac_try_echo=$ac_try;;
2887
 
esac
2888
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2889
 
  (eval "$ac_compiler --version >&5") 2>&5
2890
 
  ac_status=$?
2891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892
 
  (exit $ac_status); }
2893
 
{ (ac_try="$ac_compiler -v >&5"
2894
 
case "(($ac_try" in
2895
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2896
 
  *) ac_try_echo=$ac_try;;
2897
 
esac
2898
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2899
 
  (eval "$ac_compiler -v >&5") 2>&5
2900
 
  ac_status=$?
2901
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902
 
  (exit $ac_status); }
2903
 
{ (ac_try="$ac_compiler -V >&5"
2904
 
case "(($ac_try" in
2905
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906
 
  *) ac_try_echo=$ac_try;;
2907
 
esac
2908
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2909
 
  (eval "$ac_compiler -V >&5") 2>&5
2910
 
  ac_status=$?
2911
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912
 
  (exit $ac_status); }
 
3554
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3555
set X $ac_compile
 
3556
ac_compiler=$2
 
3557
for ac_option in --version -v -V -qversion; do
 
3558
  { { ac_try="$ac_compiler $ac_option >&5"
 
3559
case "(($ac_try" in
 
3560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3561
  *) ac_try_echo=$ac_try;;
 
3562
esac
 
3563
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3564
$as_echo "$ac_try_echo"; } >&5
 
3565
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3566
  ac_status=$?
 
3567
  if test -s conftest.err; then
 
3568
    sed '10a\
 
3569
... rest of stderr output deleted ...
 
3570
         10q' conftest.err >conftest.er1
 
3571
    cat conftest.er1 >&5
 
3572
  fi
 
3573
  rm -f conftest.er1 conftest.err
 
3574
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3575
  test $ac_status = 0; }
 
3576
done
2913
3577
 
2914
 
cat >conftest.$ac_ext <<_ACEOF
2915
 
/* confdefs.h.  */
2916
 
_ACEOF
2917
 
cat confdefs.h >>conftest.$ac_ext
2918
 
cat >>conftest.$ac_ext <<_ACEOF
 
3578
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919
3579
/* end confdefs.h.  */
2920
3580
 
2921
3581
int
2927
3587
}
2928
3588
_ACEOF
2929
3589
ac_clean_files_save=$ac_clean_files
2930
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3590
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2931
3591
# Try to create an executable without -o first, disregard a.out.
2932
3592
# It will help us diagnose broken compilers, and finding out an intuition
2933
3593
# of exeext.
2934
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2935
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2936
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2937
 
#
2938
 
# List of possible output files, starting from the most likely.
2939
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2940
 
# only as a last resort.  b.out is created by i960 compilers.
2941
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2942
 
#
2943
 
# The IRIX 6 linker writes into existing files which may not be
2944
 
# executable, retaining their permissions.  Remove them first so a
2945
 
# subsequent execution test works.
 
3594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3595
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3596
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3597
 
 
3598
# The possible output files:
 
3599
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3600
 
2946
3601
ac_rmfiles=
2947
3602
for ac_file in $ac_files
2948
3603
do
2949
3604
  case $ac_file in
2950
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3605
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2951
3606
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2952
3607
  esac
2953
3608
done
2954
3609
rm -f $ac_rmfiles
2955
3610
 
2956
 
if { (ac_try="$ac_link_default"
 
3611
if { { ac_try="$ac_link_default"
2957
3612
case "(($ac_try" in
2958
3613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959
3614
  *) ac_try_echo=$ac_try;;
2960
3615
esac
2961
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3616
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3617
$as_echo "$ac_try_echo"; } >&5
2962
3618
  (eval "$ac_link_default") 2>&5
2963
3619
  ac_status=$?
2964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965
 
  (exit $ac_status); }; then
 
3620
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3621
  test $ac_status = 0; }; then :
2966
3622
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2967
3623
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2968
3624
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2972
3628
do
2973
3629
  test -f "$ac_file" || continue
2974
3630
  case $ac_file in
2975
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3631
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2976
3632
        ;;
2977
3633
    [ab].out )
2978
3634
        # We found the default executable, but exeext='' is most
2979
3635
        # certainly right.
2980
3636
        break;;
2981
3637
    *.* )
2982
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3638
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2983
3639
        then :; else
2984
3640
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2985
3641
        fi
2998
3654
else
2999
3655
  ac_file=''
3000
3656
fi
3001
 
 
3002
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3003
 
echo "${ECHO_T}$ac_file" >&6; }
3004
 
if test -z "$ac_file"; then
3005
 
  echo "$as_me: failed program was:" >&5
 
3657
if test -z "$ac_file"; then :
 
3658
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3659
$as_echo "no" >&6; }
 
3660
$as_echo "$as_me: failed program was:" >&5
3006
3661
sed 's/^/| /' conftest.$ac_ext >&5
3007
3662
 
3008
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3009
 
See \`config.log' for more details." >&5
3010
 
echo "$as_me: error: C compiler cannot create executables
3011
 
See \`config.log' for more details." >&2;}
3012
 
   { (exit 77); exit 77; }; }
 
3663
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3664
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3665
{ as_fn_set_status 77
 
3666
as_fn_error "C compiler cannot create executables
 
3667
See \`config.log' for more details." "$LINENO" 5; }; }
 
3668
else
 
3669
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3670
$as_echo "yes" >&6; }
3013
3671
fi
3014
 
 
 
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3673
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3675
$as_echo "$ac_file" >&6; }
3015
3676
ac_exeext=$ac_cv_exeext
3016
3677
 
3017
 
# Check that the compiler produces executables we can run.  If not, either
3018
 
# the compiler is broken, or we cross compile.
3019
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3020
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3021
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3022
 
# If not cross compiling, check that we can run a simple program.
3023
 
if test "$cross_compiling" != yes; then
3024
 
  if { ac_try='./$ac_file'
3025
 
  { (case "(($ac_try" in
3026
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027
 
  *) ac_try_echo=$ac_try;;
3028
 
esac
3029
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3030
 
  (eval "$ac_try") 2>&5
3031
 
  ac_status=$?
3032
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033
 
  (exit $ac_status); }; }; then
3034
 
    cross_compiling=no
3035
 
  else
3036
 
    if test "$cross_compiling" = maybe; then
3037
 
        cross_compiling=yes
3038
 
    else
3039
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3040
 
If you meant to cross compile, use \`--host'.
3041
 
See \`config.log' for more details." >&5
3042
 
echo "$as_me: error: cannot run C compiled programs.
3043
 
If you meant to cross compile, use \`--host'.
3044
 
See \`config.log' for more details." >&2;}
3045
 
   { (exit 1); exit 1; }; }
3046
 
    fi
3047
 
  fi
3048
 
fi
3049
 
{ echo "$as_me:$LINENO: result: yes" >&5
3050
 
echo "${ECHO_T}yes" >&6; }
3051
 
 
3052
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3678
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3053
3679
ac_clean_files=$ac_clean_files_save
3054
 
# Check that the compiler produces executables we can run.  If not, either
3055
 
# the compiler is broken, or we cross compile.
3056
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3057
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3058
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3059
 
echo "${ECHO_T}$cross_compiling" >&6; }
3060
 
 
3061
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3062
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3063
 
if { (ac_try="$ac_link"
 
3680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3681
$as_echo_n "checking for suffix of executables... " >&6; }
 
3682
if { { ac_try="$ac_link"
3064
3683
case "(($ac_try" in
3065
3684
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066
3685
  *) ac_try_echo=$ac_try;;
3067
3686
esac
3068
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3687
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3688
$as_echo "$ac_try_echo"; } >&5
3069
3689
  (eval "$ac_link") 2>&5
3070
3690
  ac_status=$?
3071
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072
 
  (exit $ac_status); }; then
 
3691
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3692
  test $ac_status = 0; }; then :
3073
3693
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3074
3694
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3075
3695
# work properly (i.e., refer to `conftest.exe'), while it won't with
3077
3697
for ac_file in conftest.exe conftest conftest.*; do
3078
3698
  test -f "$ac_file" || continue
3079
3699
  case $ac_file in
3080
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3700
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3081
3701
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3082
3702
          break;;
3083
3703
    * ) break;;
3084
3704
  esac
3085
3705
done
3086
3706
else
3087
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3088
 
See \`config.log' for more details." >&5
3089
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3090
 
See \`config.log' for more details." >&2;}
3091
 
   { (exit 1); exit 1; }; }
 
3707
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3708
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3709
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3710
See \`config.log' for more details." "$LINENO" 5; }
3092
3711
fi
3093
 
 
3094
 
rm -f conftest$ac_cv_exeext
3095
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3096
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3712
rm -f conftest conftest$ac_cv_exeext
 
3713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3714
$as_echo "$ac_cv_exeext" >&6; }
3097
3715
 
3098
3716
rm -f conftest.$ac_ext
3099
3717
EXEEXT=$ac_cv_exeext
3100
3718
ac_exeext=$EXEEXT
3101
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3102
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3103
 
if test "${ac_cv_objext+set}" = set; then
3104
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3719
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3720
/* end confdefs.h.  */
 
3721
#include <stdio.h>
 
3722
int
 
3723
main ()
 
3724
{
 
3725
FILE *f = fopen ("conftest.out", "w");
 
3726
 return ferror (f) || fclose (f) != 0;
 
3727
 
 
3728
  ;
 
3729
  return 0;
 
3730
}
 
3731
_ACEOF
 
3732
ac_clean_files="$ac_clean_files conftest.out"
 
3733
# Check that the compiler produces executables we can run.  If not, either
 
3734
# the compiler is broken, or we cross compile.
 
3735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3736
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3737
if test "$cross_compiling" != yes; then
 
3738
  { { ac_try="$ac_link"
 
3739
case "(($ac_try" in
 
3740
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3741
  *) ac_try_echo=$ac_try;;
 
3742
esac
 
3743
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3744
$as_echo "$ac_try_echo"; } >&5
 
3745
  (eval "$ac_link") 2>&5
 
3746
  ac_status=$?
 
3747
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3748
  test $ac_status = 0; }
 
3749
  if { ac_try='./conftest$ac_cv_exeext'
 
3750
  { { case "(($ac_try" in
 
3751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3752
  *) ac_try_echo=$ac_try;;
 
3753
esac
 
3754
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3755
$as_echo "$ac_try_echo"; } >&5
 
3756
  (eval "$ac_try") 2>&5
 
3757
  ac_status=$?
 
3758
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3759
  test $ac_status = 0; }; }; then
 
3760
    cross_compiling=no
 
3761
  else
 
3762
    if test "$cross_compiling" = maybe; then
 
3763
        cross_compiling=yes
 
3764
    else
 
3765
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3766
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3767
as_fn_error "cannot run C compiled programs.
 
3768
If you meant to cross compile, use \`--host'.
 
3769
See \`config.log' for more details." "$LINENO" 5; }
 
3770
    fi
 
3771
  fi
 
3772
fi
 
3773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3774
$as_echo "$cross_compiling" >&6; }
 
3775
 
 
3776
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3777
ac_clean_files=$ac_clean_files_save
 
3778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3779
$as_echo_n "checking for suffix of object files... " >&6; }
 
3780
if test "${ac_cv_objext+set}" = set; then :
 
3781
  $as_echo_n "(cached) " >&6
3105
3782
else
3106
 
  cat >conftest.$ac_ext <<_ACEOF
3107
 
/* confdefs.h.  */
3108
 
_ACEOF
3109
 
cat confdefs.h >>conftest.$ac_ext
3110
 
cat >>conftest.$ac_ext <<_ACEOF
 
3783
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111
3784
/* end confdefs.h.  */
3112
3785
 
3113
3786
int
3119
3792
}
3120
3793
_ACEOF
3121
3794
rm -f conftest.o conftest.obj
3122
 
if { (ac_try="$ac_compile"
 
3795
if { { ac_try="$ac_compile"
3123
3796
case "(($ac_try" in
3124
3797
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125
3798
  *) ac_try_echo=$ac_try;;
3126
3799
esac
3127
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3800
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3801
$as_echo "$ac_try_echo"; } >&5
3128
3802
  (eval "$ac_compile") 2>&5
3129
3803
  ac_status=$?
3130
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131
 
  (exit $ac_status); }; then
 
3804
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3805
  test $ac_status = 0; }; then :
3132
3806
  for ac_file in conftest.o conftest.obj conftest.*; do
3133
3807
  test -f "$ac_file" || continue;
3134
3808
  case $ac_file in
3135
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3809
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3136
3810
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3137
3811
       break;;
3138
3812
  esac
3139
3813
done
3140
3814
else
3141
 
  echo "$as_me: failed program was:" >&5
 
3815
  $as_echo "$as_me: failed program was:" >&5
3142
3816
sed 's/^/| /' conftest.$ac_ext >&5
3143
3817
 
3144
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3145
 
See \`config.log' for more details." >&5
3146
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3147
 
See \`config.log' for more details." >&2;}
3148
 
   { (exit 1); exit 1; }; }
 
3818
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3819
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3820
as_fn_error "cannot compute suffix of object files: cannot compile
 
3821
See \`config.log' for more details." "$LINENO" 5; }
3149
3822
fi
3150
 
 
3151
3823
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3152
3824
fi
3153
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3154
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3826
$as_echo "$ac_cv_objext" >&6; }
3155
3827
OBJEXT=$ac_cv_objext
3156
3828
ac_objext=$OBJEXT
3157
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3158
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3159
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3160
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3830
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3831
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3832
  $as_echo_n "(cached) " >&6
3161
3833
else
3162
 
  cat >conftest.$ac_ext <<_ACEOF
3163
 
/* confdefs.h.  */
3164
 
_ACEOF
3165
 
cat confdefs.h >>conftest.$ac_ext
3166
 
cat >>conftest.$ac_ext <<_ACEOF
 
3834
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167
3835
/* end confdefs.h.  */
3168
3836
 
3169
3837
int
3177
3845
  return 0;
3178
3846
}
3179
3847
_ACEOF
3180
 
rm -f conftest.$ac_objext
3181
 
if { (ac_try="$ac_compile"
3182
 
case "(($ac_try" in
3183
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184
 
  *) ac_try_echo=$ac_try;;
3185
 
esac
3186
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3187
 
  (eval "$ac_compile") 2>conftest.er1
3188
 
  ac_status=$?
3189
 
  grep -v '^ *+' conftest.er1 >conftest.err
3190
 
  rm -f conftest.er1
3191
 
  cat conftest.err >&5
3192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193
 
  (exit $ac_status); } && {
3194
 
         test -z "$ac_c_werror_flag" ||
3195
 
         test ! -s conftest.err
3196
 
       } && test -s conftest.$ac_objext; then
 
3848
if ac_fn_c_try_compile "$LINENO"; then :
3197
3849
  ac_compiler_gnu=yes
3198
3850
else
3199
 
  echo "$as_me: failed program was:" >&5
3200
 
sed 's/^/| /' conftest.$ac_ext >&5
3201
 
 
3202
 
        ac_compiler_gnu=no
 
3851
  ac_compiler_gnu=no
3203
3852
fi
3204
 
 
3205
3853
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206
3854
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3207
3855
 
3208
3856
fi
3209
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3210
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3211
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3858
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3859
if test $ac_compiler_gnu = yes; then
 
3860
  GCC=yes
 
3861
else
 
3862
  GCC=
 
3863
fi
3212
3864
ac_test_CFLAGS=${CFLAGS+set}
3213
3865
ac_save_CFLAGS=$CFLAGS
3214
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3215
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3216
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3217
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3866
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3867
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3868
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3869
  $as_echo_n "(cached) " >&6
3218
3870
else
3219
3871
  ac_save_c_werror_flag=$ac_c_werror_flag
3220
3872
   ac_c_werror_flag=yes
3221
3873
   ac_cv_prog_cc_g=no
3222
3874
   CFLAGS="-g"
3223
 
   cat >conftest.$ac_ext <<_ACEOF
3224
 
/* confdefs.h.  */
3225
 
_ACEOF
3226
 
cat confdefs.h >>conftest.$ac_ext
3227
 
cat >>conftest.$ac_ext <<_ACEOF
 
3875
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228
3876
/* end confdefs.h.  */
3229
3877
 
3230
3878
int
3235
3883
  return 0;
3236
3884
}
3237
3885
_ACEOF
3238
 
rm -f conftest.$ac_objext
3239
 
if { (ac_try="$ac_compile"
3240
 
case "(($ac_try" in
3241
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242
 
  *) ac_try_echo=$ac_try;;
3243
 
esac
3244
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3245
 
  (eval "$ac_compile") 2>conftest.er1
3246
 
  ac_status=$?
3247
 
  grep -v '^ *+' conftest.er1 >conftest.err
3248
 
  rm -f conftest.er1
3249
 
  cat conftest.err >&5
3250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251
 
  (exit $ac_status); } && {
3252
 
         test -z "$ac_c_werror_flag" ||
3253
 
         test ! -s conftest.err
3254
 
       } && test -s conftest.$ac_objext; then
 
3886
if ac_fn_c_try_compile "$LINENO"; then :
3255
3887
  ac_cv_prog_cc_g=yes
3256
3888
else
3257
 
  echo "$as_me: failed program was:" >&5
3258
 
sed 's/^/| /' conftest.$ac_ext >&5
3259
 
 
3260
 
        CFLAGS=""
3261
 
      cat >conftest.$ac_ext <<_ACEOF
3262
 
/* confdefs.h.  */
3263
 
_ACEOF
3264
 
cat confdefs.h >>conftest.$ac_ext
3265
 
cat >>conftest.$ac_ext <<_ACEOF
 
3889
  CFLAGS=""
 
3890
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3266
3891
/* end confdefs.h.  */
3267
3892
 
3268
3893
int
3273
3898
  return 0;
3274
3899
}
3275
3900
_ACEOF
3276
 
rm -f conftest.$ac_objext
3277
 
if { (ac_try="$ac_compile"
3278
 
case "(($ac_try" in
3279
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280
 
  *) ac_try_echo=$ac_try;;
3281
 
esac
3282
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3283
 
  (eval "$ac_compile") 2>conftest.er1
3284
 
  ac_status=$?
3285
 
  grep -v '^ *+' conftest.er1 >conftest.err
3286
 
  rm -f conftest.er1
3287
 
  cat conftest.err >&5
3288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289
 
  (exit $ac_status); } && {
3290
 
         test -z "$ac_c_werror_flag" ||
3291
 
         test ! -s conftest.err
3292
 
       } && test -s conftest.$ac_objext; then
3293
 
  :
 
3901
if ac_fn_c_try_compile "$LINENO"; then :
 
3902
 
3294
3903
else
3295
 
  echo "$as_me: failed program was:" >&5
3296
 
sed 's/^/| /' conftest.$ac_ext >&5
3297
 
 
3298
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3904
  ac_c_werror_flag=$ac_save_c_werror_flag
3299
3905
         CFLAGS="-g"
3300
 
         cat >conftest.$ac_ext <<_ACEOF
3301
 
/* confdefs.h.  */
3302
 
_ACEOF
3303
 
cat confdefs.h >>conftest.$ac_ext
3304
 
cat >>conftest.$ac_ext <<_ACEOF
 
3906
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305
3907
/* end confdefs.h.  */
3306
3908
 
3307
3909
int
3312
3914
  return 0;
3313
3915
}
3314
3916
_ACEOF
3315
 
rm -f conftest.$ac_objext
3316
 
if { (ac_try="$ac_compile"
3317
 
case "(($ac_try" in
3318
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319
 
  *) ac_try_echo=$ac_try;;
3320
 
esac
3321
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3322
 
  (eval "$ac_compile") 2>conftest.er1
3323
 
  ac_status=$?
3324
 
  grep -v '^ *+' conftest.er1 >conftest.err
3325
 
  rm -f conftest.er1
3326
 
  cat conftest.err >&5
3327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328
 
  (exit $ac_status); } && {
3329
 
         test -z "$ac_c_werror_flag" ||
3330
 
         test ! -s conftest.err
3331
 
       } && test -s conftest.$ac_objext; then
 
3917
if ac_fn_c_try_compile "$LINENO"; then :
3332
3918
  ac_cv_prog_cc_g=yes
3333
 
else
3334
 
  echo "$as_me: failed program was:" >&5
3335
 
sed 's/^/| /' conftest.$ac_ext >&5
3336
 
 
3337
 
 
3338
 
fi
3339
 
 
3340
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341
 
fi
3342
 
 
3343
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3344
 
fi
3345
 
 
 
3919
fi
 
3920
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3921
fi
 
3922
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3923
fi
3346
3924
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347
3925
   ac_c_werror_flag=$ac_save_c_werror_flag
3348
3926
fi
3349
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3350
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3928
$as_echo "$ac_cv_prog_cc_g" >&6; }
3351
3929
if test "$ac_test_CFLAGS" = set; then
3352
3930
  CFLAGS=$ac_save_CFLAGS
3353
3931
elif test $ac_cv_prog_cc_g = yes; then
3363
3941
    CFLAGS=
3364
3942
  fi
3365
3943
fi
3366
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3367
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3368
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3369
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3945
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3946
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3947
  $as_echo_n "(cached) " >&6
3370
3948
else
3371
3949
  ac_cv_prog_cc_c89=no
3372
3950
ac_save_CC=$CC
3373
 
cat >conftest.$ac_ext <<_ACEOF
3374
 
/* confdefs.h.  */
3375
 
_ACEOF
3376
 
cat confdefs.h >>conftest.$ac_ext
3377
 
cat >>conftest.$ac_ext <<_ACEOF
 
3951
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378
3952
/* end confdefs.h.  */
3379
3953
#include <stdarg.h>
3380
3954
#include <stdio.h>
3431
4005
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3432
4006
do
3433
4007
  CC="$ac_save_CC $ac_arg"
3434
 
  rm -f conftest.$ac_objext
3435
 
if { (ac_try="$ac_compile"
3436
 
case "(($ac_try" in
3437
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438
 
  *) ac_try_echo=$ac_try;;
3439
 
esac
3440
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3441
 
  (eval "$ac_compile") 2>conftest.er1
3442
 
  ac_status=$?
3443
 
  grep -v '^ *+' conftest.er1 >conftest.err
3444
 
  rm -f conftest.er1
3445
 
  cat conftest.err >&5
3446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447
 
  (exit $ac_status); } && {
3448
 
         test -z "$ac_c_werror_flag" ||
3449
 
         test ! -s conftest.err
3450
 
       } && test -s conftest.$ac_objext; then
 
4008
  if ac_fn_c_try_compile "$LINENO"; then :
3451
4009
  ac_cv_prog_cc_c89=$ac_arg
3452
 
else
3453
 
  echo "$as_me: failed program was:" >&5
3454
 
sed 's/^/| /' conftest.$ac_ext >&5
3455
 
 
3456
 
 
3457
4010
fi
3458
 
 
3459
4011
rm -f core conftest.err conftest.$ac_objext
3460
4012
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3461
4013
done
3466
4018
# AC_CACHE_VAL
3467
4019
case "x$ac_cv_prog_cc_c89" in
3468
4020
  x)
3469
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3470
 
echo "${ECHO_T}none needed" >&6; } ;;
 
4021
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4022
$as_echo "none needed" >&6; } ;;
3471
4023
  xno)
3472
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3473
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
4024
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4025
$as_echo "unsupported" >&6; } ;;
3474
4026
  *)
3475
4027
    CC="$CC $ac_cv_prog_cc_c89"
3476
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3477
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
4028
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4029
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3478
4030
esac
 
4031
if test "x$ac_cv_prog_cc_c89" != xno; then :
3479
4032
 
 
4033
fi
3480
4034
 
3481
4035
ac_ext=c
3482
4036
ac_cpp='$CPP $CPPFLAGS'
3491
4045
am_make=${MAKE-make}
3492
4046
cat > confinc << 'END'
3493
4047
am__doit:
3494
 
        @echo done
 
4048
        @echo this is the am__doit target
3495
4049
.PHONY: am__doit
3496
4050
END
3497
4051
# If we don't find an include directive, just comment out the code.
3498
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3499
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
4052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
4053
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3500
4054
am__include="#"
3501
4055
am__quote=
3502
4056
_am_result=none
3503
4057
# First try GNU make style include.
3504
4058
echo "include confinc" > confmf
3505
 
# We grep out `Entering directory' and `Leaving directory'
3506
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3507
 
# In particular we don't look at `^make:' because GNU make might
3508
 
# be invoked under some other name (usually "gmake"), in which
3509
 
# case it prints its new name instead of `make'.
3510
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3511
 
   am__include=include
3512
 
   am__quote=
3513
 
   _am_result=GNU
3514
 
fi
 
4059
# Ignore all kinds of additional output from `make'.
 
4060
case `$am_make -s -f confmf 2> /dev/null` in #(
 
4061
*the\ am__doit\ target*)
 
4062
  am__include=include
 
4063
  am__quote=
 
4064
  _am_result=GNU
 
4065
  ;;
 
4066
esac
3515
4067
# Now try BSD make style include.
3516
4068
if test "$am__include" = "#"; then
3517
4069
   echo '.include "confinc"' > confmf
3518
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3519
 
      am__include=.include
3520
 
      am__quote="\""
3521
 
      _am_result=BSD
3522
 
   fi
 
4070
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
4071
   *the\ am__doit\ target*)
 
4072
     am__include=.include
 
4073
     am__quote="\""
 
4074
     _am_result=BSD
 
4075
     ;;
 
4076
   esac
3523
4077
fi
3524
4078
 
3525
4079
 
3526
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3527
 
echo "${ECHO_T}$_am_result" >&6; }
 
4080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
4081
$as_echo "$_am_result" >&6; }
3528
4082
rm -f confinc confmf
3529
4083
 
3530
4084
# Check whether --enable-dependency-tracking was given.
3531
 
if test "${enable_dependency_tracking+set}" = set; then
 
4085
if test "${enable_dependency_tracking+set}" = set; then :
3532
4086
  enableval=$enable_dependency_tracking;
3533
4087
fi
3534
4088
 
3548
4102
 
3549
4103
depcc="$CC"   am_compiler_list=
3550
4104
 
3551
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3552
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3553
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3554
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4106
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4107
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4108
  $as_echo_n "(cached) " >&6
3555
4109
else
3556
4110
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3557
4111
  # We make a subdir and do the tests there.  Otherwise we can end up
3576
4130
  if test "$am_compiler_list" = ""; then
3577
4131
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3578
4132
  fi
 
4133
  am__universal=false
 
4134
  case " $depcc " in #(
 
4135
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4136
     esac
 
4137
 
3579
4138
  for depmode in $am_compiler_list; do
3580
4139
    # Setup a source with many dependencies, because some compilers
3581
4140
    # like to wrap large dependency lists on column 80 (with \), and
3593
4152
    done
3594
4153
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3595
4154
 
 
4155
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4156
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4157
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4158
    # versions had trouble with output in subdirs
 
4159
    am__obj=sub/conftest.${OBJEXT-o}
 
4160
    am__minus_obj="-o $am__obj"
3596
4161
    case $depmode in
 
4162
    gcc)
 
4163
      # This depmode causes a compiler race in universal mode.
 
4164
      test "$am__universal" = false || continue
 
4165
      ;;
3597
4166
    nosideeffect)
3598
4167
      # after this tag, mechanisms are not by side-effect, so they'll
3599
4168
      # only be used when explicitly requested
3603
4172
        break
3604
4173
      fi
3605
4174
      ;;
 
4175
    msvisualcpp | msvcmsys)
 
4176
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4177
      # not run yet.  These depmodes are late enough in the game, and
 
4178
      # so weak that their functioning should not be impacted.
 
4179
      am__obj=conftest.${OBJEXT-o}
 
4180
      am__minus_obj=
 
4181
      ;;
3606
4182
    none) break ;;
3607
4183
    esac
3608
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3609
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3610
 
    # handle `-M -o', and we need to detect this.
3611
4184
    if depmode=$depmode \
3612
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4185
       source=sub/conftest.c object=$am__obj \
3613
4186
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3614
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4187
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3615
4188
         >/dev/null 2>conftest.err &&
3616
4189
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3617
4190
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3618
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4191
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3619
4192
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3620
4193
      # icc doesn't choke on unknown options, it will just issue warnings
3621
4194
      # or remarks (even with -Werror).  So we grep stderr for any message
3639
4212
fi
3640
4213
 
3641
4214
fi
3642
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3643
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
4215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4216
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3644
4217
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3645
4218
 
3646
4219
 if
3668
4241
  do
3669
4242
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3670
4243
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3671
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3672
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3673
 
if test "${ac_cv_prog_CXX+set}" = set; then
3674
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4245
$as_echo_n "checking for $ac_word... " >&6; }
 
4246
if test "${ac_cv_prog_CXX+set}" = set; then :
 
4247
  $as_echo_n "(cached) " >&6
3675
4248
else
3676
4249
  if test -n "$CXX"; then
3677
4250
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3681
4254
do
3682
4255
  IFS=$as_save_IFS
3683
4256
  test -z "$as_dir" && as_dir=.
3684
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4257
    for ac_exec_ext in '' $ac_executable_extensions; do
3685
4258
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3686
4259
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3687
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4260
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3688
4261
    break 2
3689
4262
  fi
3690
4263
done
3691
 
done
 
4264
  done
3692
4265
IFS=$as_save_IFS
3693
4266
 
3694
4267
fi
3695
4268
fi
3696
4269
CXX=$ac_cv_prog_CXX
3697
4270
if test -n "$CXX"; then
3698
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
3699
 
echo "${ECHO_T}$CXX" >&6; }
 
4271
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
4272
$as_echo "$CXX" >&6; }
3700
4273
else
3701
 
  { echo "$as_me:$LINENO: result: no" >&5
3702
 
echo "${ECHO_T}no" >&6; }
 
4274
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4275
$as_echo "no" >&6; }
3703
4276
fi
3704
4277
 
3705
4278
 
3712
4285
do
3713
4286
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3714
4287
set dummy $ac_prog; ac_word=$2
3715
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3716
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3717
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3718
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4289
$as_echo_n "checking for $ac_word... " >&6; }
 
4290
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
4291
  $as_echo_n "(cached) " >&6
3719
4292
else
3720
4293
  if test -n "$ac_ct_CXX"; then
3721
4294
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3725
4298
do
3726
4299
  IFS=$as_save_IFS
3727
4300
  test -z "$as_dir" && as_dir=.
3728
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4301
    for ac_exec_ext in '' $ac_executable_extensions; do
3729
4302
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3730
4303
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3731
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4304
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732
4305
    break 2
3733
4306
  fi
3734
4307
done
3735
 
done
 
4308
  done
3736
4309
IFS=$as_save_IFS
3737
4310
 
3738
4311
fi
3739
4312
fi
3740
4313
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3741
4314
if test -n "$ac_ct_CXX"; then
3742
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3743
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
4315
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
4316
$as_echo "$ac_ct_CXX" >&6; }
3744
4317
else
3745
 
  { echo "$as_me:$LINENO: result: no" >&5
3746
 
echo "${ECHO_T}no" >&6; }
 
4318
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4319
$as_echo "no" >&6; }
3747
4320
fi
3748
4321
 
3749
4322
 
3755
4328
  else
3756
4329
    case $cross_compiling:$ac_tool_warned in
3757
4330
yes:)
3758
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3759
 
whose name does not start with the host triplet.  If you think this
3760
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3761
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3762
 
whose name does not start with the host triplet.  If you think this
3763
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4331
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4332
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3764
4333
ac_tool_warned=yes ;;
3765
4334
esac
3766
4335
    CXX=$ac_ct_CXX
3770
4339
  fi
3771
4340
fi
3772
4341
# Provide some information about the compiler.
3773
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3774
 
ac_compiler=`set X $ac_compile; echo $2`
3775
 
{ (ac_try="$ac_compiler --version >&5"
3776
 
case "(($ac_try" in
3777
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3778
 
  *) ac_try_echo=$ac_try;;
3779
 
esac
3780
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3781
 
  (eval "$ac_compiler --version >&5") 2>&5
3782
 
  ac_status=$?
3783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784
 
  (exit $ac_status); }
3785
 
{ (ac_try="$ac_compiler -v >&5"
3786
 
case "(($ac_try" in
3787
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788
 
  *) ac_try_echo=$ac_try;;
3789
 
esac
3790
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3791
 
  (eval "$ac_compiler -v >&5") 2>&5
3792
 
  ac_status=$?
3793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794
 
  (exit $ac_status); }
3795
 
{ (ac_try="$ac_compiler -V >&5"
3796
 
case "(($ac_try" in
3797
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798
 
  *) ac_try_echo=$ac_try;;
3799
 
esac
3800
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3801
 
  (eval "$ac_compiler -V >&5") 2>&5
3802
 
  ac_status=$?
3803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804
 
  (exit $ac_status); }
 
4342
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
4343
set X $ac_compile
 
4344
ac_compiler=$2
 
4345
for ac_option in --version -v -V -qversion; do
 
4346
  { { ac_try="$ac_compiler $ac_option >&5"
 
4347
case "(($ac_try" in
 
4348
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4349
  *) ac_try_echo=$ac_try;;
 
4350
esac
 
4351
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4352
$as_echo "$ac_try_echo"; } >&5
 
4353
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4354
  ac_status=$?
 
4355
  if test -s conftest.err; then
 
4356
    sed '10a\
 
4357
... rest of stderr output deleted ...
 
4358
         10q' conftest.err >conftest.er1
 
4359
    cat conftest.er1 >&5
 
4360
  fi
 
4361
  rm -f conftest.er1 conftest.err
 
4362
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4363
  test $ac_status = 0; }
 
4364
done
3805
4365
 
3806
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3807
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3808
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3809
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
4367
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
4368
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
4369
  $as_echo_n "(cached) " >&6
3810
4370
else
3811
 
  cat >conftest.$ac_ext <<_ACEOF
3812
 
/* confdefs.h.  */
3813
 
_ACEOF
3814
 
cat confdefs.h >>conftest.$ac_ext
3815
 
cat >>conftest.$ac_ext <<_ACEOF
 
4371
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816
4372
/* end confdefs.h.  */
3817
4373
 
3818
4374
int
3826
4382
  return 0;
3827
4383
}
3828
4384
_ACEOF
3829
 
rm -f conftest.$ac_objext
3830
 
if { (ac_try="$ac_compile"
3831
 
case "(($ac_try" in
3832
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3833
 
  *) ac_try_echo=$ac_try;;
3834
 
esac
3835
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3836
 
  (eval "$ac_compile") 2>conftest.er1
3837
 
  ac_status=$?
3838
 
  grep -v '^ *+' conftest.er1 >conftest.err
3839
 
  rm -f conftest.er1
3840
 
  cat conftest.err >&5
3841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842
 
  (exit $ac_status); } && {
3843
 
         test -z "$ac_cxx_werror_flag" ||
3844
 
         test ! -s conftest.err
3845
 
       } && test -s conftest.$ac_objext; then
 
4385
if ac_fn_cxx_try_compile "$LINENO"; then :
3846
4386
  ac_compiler_gnu=yes
3847
4387
else
3848
 
  echo "$as_me: failed program was:" >&5
3849
 
sed 's/^/| /' conftest.$ac_ext >&5
3850
 
 
3851
 
        ac_compiler_gnu=no
 
4388
  ac_compiler_gnu=no
3852
4389
fi
3853
 
 
3854
4390
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3855
4391
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3856
4392
 
3857
4393
fi
3858
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3859
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3860
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
4394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
4395
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
4396
if test $ac_compiler_gnu = yes; then
 
4397
  GXX=yes
 
4398
else
 
4399
  GXX=
 
4400
fi
3861
4401
ac_test_CXXFLAGS=${CXXFLAGS+set}
3862
4402
ac_save_CXXFLAGS=$CXXFLAGS
3863
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3864
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3865
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
3866
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
4404
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
4405
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
4406
  $as_echo_n "(cached) " >&6
3867
4407
else
3868
4408
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3869
4409
   ac_cxx_werror_flag=yes
3870
4410
   ac_cv_prog_cxx_g=no
3871
4411
   CXXFLAGS="-g"
3872
 
   cat >conftest.$ac_ext <<_ACEOF
3873
 
/* confdefs.h.  */
3874
 
_ACEOF
3875
 
cat confdefs.h >>conftest.$ac_ext
3876
 
cat >>conftest.$ac_ext <<_ACEOF
 
4412
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877
4413
/* end confdefs.h.  */
3878
4414
 
3879
4415
int
3884
4420
  return 0;
3885
4421
}
3886
4422
_ACEOF
3887
 
rm -f conftest.$ac_objext
3888
 
if { (ac_try="$ac_compile"
3889
 
case "(($ac_try" in
3890
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891
 
  *) ac_try_echo=$ac_try;;
3892
 
esac
3893
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3894
 
  (eval "$ac_compile") 2>conftest.er1
3895
 
  ac_status=$?
3896
 
  grep -v '^ *+' conftest.er1 >conftest.err
3897
 
  rm -f conftest.er1
3898
 
  cat conftest.err >&5
3899
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900
 
  (exit $ac_status); } && {
3901
 
         test -z "$ac_cxx_werror_flag" ||
3902
 
         test ! -s conftest.err
3903
 
       } && test -s conftest.$ac_objext; then
 
4423
if ac_fn_cxx_try_compile "$LINENO"; then :
3904
4424
  ac_cv_prog_cxx_g=yes
3905
4425
else
3906
 
  echo "$as_me: failed program was:" >&5
3907
 
sed 's/^/| /' conftest.$ac_ext >&5
3908
 
 
3909
 
        CXXFLAGS=""
3910
 
      cat >conftest.$ac_ext <<_ACEOF
3911
 
/* confdefs.h.  */
3912
 
_ACEOF
3913
 
cat confdefs.h >>conftest.$ac_ext
3914
 
cat >>conftest.$ac_ext <<_ACEOF
 
4426
  CXXFLAGS=""
 
4427
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915
4428
/* end confdefs.h.  */
3916
4429
 
3917
4430
int
3922
4435
  return 0;
3923
4436
}
3924
4437
_ACEOF
3925
 
rm -f conftest.$ac_objext
3926
 
if { (ac_try="$ac_compile"
3927
 
case "(($ac_try" in
3928
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929
 
  *) ac_try_echo=$ac_try;;
3930
 
esac
3931
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3932
 
  (eval "$ac_compile") 2>conftest.er1
3933
 
  ac_status=$?
3934
 
  grep -v '^ *+' conftest.er1 >conftest.err
3935
 
  rm -f conftest.er1
3936
 
  cat conftest.err >&5
3937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938
 
  (exit $ac_status); } && {
3939
 
         test -z "$ac_cxx_werror_flag" ||
3940
 
         test ! -s conftest.err
3941
 
       } && test -s conftest.$ac_objext; then
3942
 
  :
 
4438
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4439
 
3943
4440
else
3944
 
  echo "$as_me: failed program was:" >&5
3945
 
sed 's/^/| /' conftest.$ac_ext >&5
3946
 
 
3947
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4441
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3948
4442
         CXXFLAGS="-g"
3949
 
         cat >conftest.$ac_ext <<_ACEOF
3950
 
/* confdefs.h.  */
3951
 
_ACEOF
3952
 
cat confdefs.h >>conftest.$ac_ext
3953
 
cat >>conftest.$ac_ext <<_ACEOF
 
4443
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954
4444
/* end confdefs.h.  */
3955
4445
 
3956
4446
int
3961
4451
  return 0;
3962
4452
}
3963
4453
_ACEOF
3964
 
rm -f conftest.$ac_objext
3965
 
if { (ac_try="$ac_compile"
3966
 
case "(($ac_try" in
3967
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968
 
  *) ac_try_echo=$ac_try;;
3969
 
esac
3970
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3971
 
  (eval "$ac_compile") 2>conftest.er1
3972
 
  ac_status=$?
3973
 
  grep -v '^ *+' conftest.er1 >conftest.err
3974
 
  rm -f conftest.er1
3975
 
  cat conftest.err >&5
3976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977
 
  (exit $ac_status); } && {
3978
 
         test -z "$ac_cxx_werror_flag" ||
3979
 
         test ! -s conftest.err
3980
 
       } && test -s conftest.$ac_objext; then
 
4454
if ac_fn_cxx_try_compile "$LINENO"; then :
3981
4455
  ac_cv_prog_cxx_g=yes
3982
 
else
3983
 
  echo "$as_me: failed program was:" >&5
3984
 
sed 's/^/| /' conftest.$ac_ext >&5
3985
 
 
3986
 
 
3987
 
fi
3988
 
 
3989
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3990
 
fi
3991
 
 
3992
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3993
 
fi
3994
 
 
 
4456
fi
 
4457
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4458
fi
 
4459
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4460
fi
3995
4461
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3996
4462
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3997
4463
fi
3998
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3999
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
4464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
4465
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4000
4466
if test "$ac_test_CXXFLAGS" = set; then
4001
4467
  CXXFLAGS=$ac_save_CXXFLAGS
4002
4468
elif test $ac_cv_prog_cxx_g = yes; then
4020
4486
 
4021
4487
depcc="$CXX"  am_compiler_list=
4022
4488
 
4023
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4024
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4025
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4026
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4490
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4491
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
4492
  $as_echo_n "(cached) " >&6
4027
4493
else
4028
4494
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4029
4495
  # We make a subdir and do the tests there.  Otherwise we can end up
4048
4514
  if test "$am_compiler_list" = ""; then
4049
4515
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4050
4516
  fi
 
4517
  am__universal=false
 
4518
  case " $depcc " in #(
 
4519
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4520
     esac
 
4521
 
4051
4522
  for depmode in $am_compiler_list; do
4052
4523
    # Setup a source with many dependencies, because some compilers
4053
4524
    # like to wrap large dependency lists on column 80 (with \), and
4065
4536
    done
4066
4537
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4067
4538
 
 
4539
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4540
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4541
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4542
    # versions had trouble with output in subdirs
 
4543
    am__obj=sub/conftest.${OBJEXT-o}
 
4544
    am__minus_obj="-o $am__obj"
4068
4545
    case $depmode in
 
4546
    gcc)
 
4547
      # This depmode causes a compiler race in universal mode.
 
4548
      test "$am__universal" = false || continue
 
4549
      ;;
4069
4550
    nosideeffect)
4070
4551
      # after this tag, mechanisms are not by side-effect, so they'll
4071
4552
      # only be used when explicitly requested
4075
4556
        break
4076
4557
      fi
4077
4558
      ;;
 
4559
    msvisualcpp | msvcmsys)
 
4560
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4561
      # not run yet.  These depmodes are late enough in the game, and
 
4562
      # so weak that their functioning should not be impacted.
 
4563
      am__obj=conftest.${OBJEXT-o}
 
4564
      am__minus_obj=
 
4565
      ;;
4078
4566
    none) break ;;
4079
4567
    esac
4080
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4081
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4082
 
    # handle `-M -o', and we need to detect this.
4083
4568
    if depmode=$depmode \
4084
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4569
       source=sub/conftest.c object=$am__obj \
4085
4570
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4086
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4571
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4087
4572
         >/dev/null 2>conftest.err &&
4088
4573
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4089
4574
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4090
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4575
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4091
4576
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4092
4577
      # icc doesn't choke on unknown options, it will just issue warnings
4093
4578
      # or remarks (even with -Werror).  So we grep stderr for any message
4111
4596
fi
4112
4597
 
4113
4598
fi
4114
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4115
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
4599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4600
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4116
4601
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4117
4602
 
4118
4603
 if
4127
4612
 
4128
4613
 
4129
4614
if test "x$CC" != xcc; then
4130
 
  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4131
 
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
 
4615
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
4616
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4132
4617
else
4133
 
  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4134
 
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
 
4618
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
4619
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4135
4620
fi
4136
 
set dummy $CC; ac_cc=`echo $2 |
 
4621
set dummy $CC; ac_cc=`$as_echo "$2" |
4137
4622
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4138
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4139
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4623
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 
4624
  $as_echo_n "(cached) " >&6
4140
4625
else
4141
 
  cat >conftest.$ac_ext <<_ACEOF
4142
 
/* confdefs.h.  */
4143
 
_ACEOF
4144
 
cat confdefs.h >>conftest.$ac_ext
4145
 
cat >>conftest.$ac_ext <<_ACEOF
 
4626
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146
4627
/* end confdefs.h.  */
4147
4628
 
4148
4629
int
4158
4639
# existing .o file with -o, though they will create one.
4159
4640
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4160
4641
rm -f conftest2.*
4161
 
if { (case "(($ac_try" in
4162
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4163
 
  *) ac_try_echo=$ac_try;;
4164
 
esac
4165
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4166
 
  (eval "$ac_try") 2>&5
4167
 
  ac_status=$?
4168
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169
 
  (exit $ac_status); } &&
4170
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
4171
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4172
 
  *) ac_try_echo=$ac_try;;
4173
 
esac
4174
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4175
 
  (eval "$ac_try") 2>&5
4176
 
  ac_status=$?
4177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178
 
  (exit $ac_status); };
 
4642
if { { case "(($ac_try" in
 
4643
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4644
  *) ac_try_echo=$ac_try;;
 
4645
esac
 
4646
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4647
$as_echo "$ac_try_echo"; } >&5
 
4648
  (eval "$ac_try") 2>&5
 
4649
  ac_status=$?
 
4650
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4651
  test $ac_status = 0; } &&
 
4652
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
4653
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4654
  *) ac_try_echo=$ac_try;;
 
4655
esac
 
4656
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4657
$as_echo "$ac_try_echo"; } >&5
 
4658
  (eval "$ac_try") 2>&5
 
4659
  ac_status=$?
 
4660
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4661
  test $ac_status = 0; };
4179
4662
then
4180
4663
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4181
4664
  if test "x$CC" != xcc; then
4182
4665
    # Test first that cc exists at all.
4183
4666
    if { ac_try='cc -c conftest.$ac_ext >&5'
4184
 
  { (case "(($ac_try" in
 
4667
  { { case "(($ac_try" in
4185
4668
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4186
4669
  *) ac_try_echo=$ac_try;;
4187
4670
esac
4188
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4671
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4672
$as_echo "$ac_try_echo"; } >&5
4189
4673
  (eval "$ac_try") 2>&5
4190
4674
  ac_status=$?
4191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192
 
  (exit $ac_status); }; }; then
 
4675
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4676
  test $ac_status = 0; }; }; then
4193
4677
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4194
4678
      rm -f conftest2.*
4195
 
      if { (case "(($ac_try" in
4196
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4197
 
  *) ac_try_echo=$ac_try;;
4198
 
esac
4199
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4200
 
  (eval "$ac_try") 2>&5
4201
 
  ac_status=$?
4202
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203
 
  (exit $ac_status); } &&
4204
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
4205
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206
 
  *) ac_try_echo=$ac_try;;
4207
 
esac
4208
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209
 
  (eval "$ac_try") 2>&5
4210
 
  ac_status=$?
4211
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212
 
  (exit $ac_status); };
 
4679
      if { { case "(($ac_try" in
 
4680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4681
  *) ac_try_echo=$ac_try;;
 
4682
esac
 
4683
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4684
$as_echo "$ac_try_echo"; } >&5
 
4685
  (eval "$ac_try") 2>&5
 
4686
  ac_status=$?
 
4687
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4688
  test $ac_status = 0; } &&
 
4689
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
4690
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4691
  *) ac_try_echo=$ac_try;;
 
4692
esac
 
4693
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4694
$as_echo "$ac_try_echo"; } >&5
 
4695
  (eval "$ac_try") 2>&5
 
4696
  ac_status=$?
 
4697
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4698
  test $ac_status = 0; };
4213
4699
      then
4214
4700
        # cc works too.
4215
4701
        :
4226
4712
 
4227
4713
fi
4228
4714
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4229
 
  { echo "$as_me:$LINENO: result: yes" >&5
4230
 
echo "${ECHO_T}yes" >&6; }
 
4715
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4716
$as_echo "yes" >&6; }
4231
4717
else
4232
 
  { echo "$as_me:$LINENO: result: no" >&5
4233
 
echo "${ECHO_T}no" >&6; }
 
4718
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4719
$as_echo "no" >&6; }
4234
4720
 
4235
 
cat >>confdefs.h <<\_ACEOF
4236
 
#define NO_MINUS_C_MINUS_O 1
4237
 
_ACEOF
 
4721
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4238
4722
 
4239
4723
fi
4240
4724
 
4241
4725
# FIXME: we rely on the cache variable name because
4242
4726
# there is no other way.
4243
4727
set dummy $CC
4244
 
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4245
 
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
4728
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
4729
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
4730
if test "$am_t" != yes; then
4246
4731
   # Losing compiler, so override with the script.
4247
4732
   # FIXME: It is wrong to rewrite CC.
4248
4733
   # But if we don't then we get into trouble of one sort or another.
4254
4739
 
4255
4740
# Make sure we can run config.sub.
4256
4741
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4257
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4258
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4259
 
   { (exit 1); exit 1; }; }
 
4742
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4260
4743
 
4261
 
{ echo "$as_me:$LINENO: checking build system type" >&5
4262
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4263
 
if test "${ac_cv_build+set}" = set; then
4264
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
4745
$as_echo_n "checking build system type... " >&6; }
 
4746
if test "${ac_cv_build+set}" = set; then :
 
4747
  $as_echo_n "(cached) " >&6
4265
4748
else
4266
4749
  ac_build_alias=$build_alias
4267
4750
test "x$ac_build_alias" = x &&
4268
4751
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4269
4752
test "x$ac_build_alias" = x &&
4270
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4271
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4272
 
   { (exit 1); exit 1; }; }
 
4753
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4273
4754
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4274
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4275
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4276
 
   { (exit 1); exit 1; }; }
 
4755
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4277
4756
 
4278
4757
fi
4279
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4280
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
4758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
4759
$as_echo "$ac_cv_build" >&6; }
4281
4760
case $ac_cv_build in
4282
4761
*-*-*) ;;
4283
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4284
 
echo "$as_me: error: invalid value of canonical build" >&2;}
4285
 
   { (exit 1); exit 1; }; };;
 
4762
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4286
4763
esac
4287
4764
build=$ac_cv_build
4288
4765
ac_save_IFS=$IFS; IFS='-'
4298
4775
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4299
4776
 
4300
4777
 
4301
 
{ echo "$as_me:$LINENO: checking host system type" >&5
4302
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4303
 
if test "${ac_cv_host+set}" = set; then
4304
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
4779
$as_echo_n "checking host system type... " >&6; }
 
4780
if test "${ac_cv_host+set}" = set; then :
 
4781
  $as_echo_n "(cached) " >&6
4305
4782
else
4306
4783
  if test "x$host_alias" = x; then
4307
4784
  ac_cv_host=$ac_cv_build
4308
4785
else
4309
4786
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4310
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4311
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4312
 
   { (exit 1); exit 1; }; }
 
4787
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4313
4788
fi
4314
4789
 
4315
4790
fi
4316
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4317
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
4791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
4792
$as_echo "$ac_cv_host" >&6; }
4318
4793
case $ac_cv_host in
4319
4794
*-*-*) ;;
4320
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4321
 
echo "$as_me: error: invalid value of canonical host" >&2;}
4322
 
   { (exit 1); exit 1; }; };;
 
4795
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4323
4796
esac
4324
4797
host=$ac_cv_host
4325
4798
ac_save_IFS=$IFS; IFS='-'
4342
4815
  if test -n "$ac_tool_prefix"; then
4343
4816
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4344
4817
set dummy ${ac_tool_prefix}as; ac_word=$2
4345
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4346
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4347
 
if test "${ac_cv_prog_AS+set}" = set; then
4348
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4819
$as_echo_n "checking for $ac_word... " >&6; }
 
4820
if test "${ac_cv_prog_AS+set}" = set; then :
 
4821
  $as_echo_n "(cached) " >&6
4349
4822
else
4350
4823
  if test -n "$AS"; then
4351
4824
  ac_cv_prog_AS="$AS" # Let the user override the test.
4355
4828
do
4356
4829
  IFS=$as_save_IFS
4357
4830
  test -z "$as_dir" && as_dir=.
4358
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4831
    for ac_exec_ext in '' $ac_executable_extensions; do
4359
4832
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360
4833
    ac_cv_prog_AS="${ac_tool_prefix}as"
4361
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4834
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362
4835
    break 2
4363
4836
  fi
4364
4837
done
4365
 
done
 
4838
  done
4366
4839
IFS=$as_save_IFS
4367
4840
 
4368
4841
fi
4369
4842
fi
4370
4843
AS=$ac_cv_prog_AS
4371
4844
if test -n "$AS"; then
4372
 
  { echo "$as_me:$LINENO: result: $AS" >&5
4373
 
echo "${ECHO_T}$AS" >&6; }
 
4845
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 
4846
$as_echo "$AS" >&6; }
4374
4847
else
4375
 
  { echo "$as_me:$LINENO: result: no" >&5
4376
 
echo "${ECHO_T}no" >&6; }
 
4848
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4849
$as_echo "no" >&6; }
4377
4850
fi
4378
4851
 
4379
4852
 
4382
4855
  ac_ct_AS=$AS
4383
4856
  # Extract the first word of "as", so it can be a program name with args.
4384
4857
set dummy as; ac_word=$2
4385
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4386
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4387
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4388
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4859
$as_echo_n "checking for $ac_word... " >&6; }
 
4860
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
 
4861
  $as_echo_n "(cached) " >&6
4389
4862
else
4390
4863
  if test -n "$ac_ct_AS"; then
4391
4864
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4395
4868
do
4396
4869
  IFS=$as_save_IFS
4397
4870
  test -z "$as_dir" && as_dir=.
4398
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4871
    for ac_exec_ext in '' $ac_executable_extensions; do
4399
4872
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4400
4873
    ac_cv_prog_ac_ct_AS="as"
4401
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4874
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4402
4875
    break 2
4403
4876
  fi
4404
4877
done
4405
 
done
 
4878
  done
4406
4879
IFS=$as_save_IFS
4407
4880
 
4408
4881
fi
4409
4882
fi
4410
4883
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4411
4884
if test -n "$ac_ct_AS"; then
4412
 
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4413
 
echo "${ECHO_T}$ac_ct_AS" >&6; }
 
4885
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
 
4886
$as_echo "$ac_ct_AS" >&6; }
4414
4887
else
4415
 
  { echo "$as_me:$LINENO: result: no" >&5
4416
 
echo "${ECHO_T}no" >&6; }
 
4888
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4889
$as_echo "no" >&6; }
4417
4890
fi
4418
4891
 
4419
4892
  if test "x$ac_ct_AS" = x; then
4421
4894
  else
4422
4895
    case $cross_compiling:$ac_tool_warned in
4423
4896
yes:)
4424
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4425
 
whose name does not start with the host triplet.  If you think this
4426
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4427
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4428
 
whose name does not start with the host triplet.  If you think this
4429
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4897
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4898
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4430
4899
ac_tool_warned=yes ;;
4431
4900
esac
4432
4901
    AS=$ac_ct_AS
4438
4907
  if test -n "$ac_tool_prefix"; then
4439
4908
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4440
4909
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4441
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4442
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4443
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4444
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4911
$as_echo_n "checking for $ac_word... " >&6; }
 
4912
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
4913
  $as_echo_n "(cached) " >&6
4445
4914
else
4446
4915
  if test -n "$DLLTOOL"; then
4447
4916
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4451
4920
do
4452
4921
  IFS=$as_save_IFS
4453
4922
  test -z "$as_dir" && as_dir=.
4454
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4923
    for ac_exec_ext in '' $ac_executable_extensions; do
4455
4924
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4456
4925
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4457
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4926
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4458
4927
    break 2
4459
4928
  fi
4460
4929
done
4461
 
done
 
4930
  done
4462
4931
IFS=$as_save_IFS
4463
4932
 
4464
4933
fi
4465
4934
fi
4466
4935
DLLTOOL=$ac_cv_prog_DLLTOOL
4467
4936
if test -n "$DLLTOOL"; then
4468
 
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4469
 
echo "${ECHO_T}$DLLTOOL" >&6; }
 
4937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
4938
$as_echo "$DLLTOOL" >&6; }
4470
4939
else
4471
 
  { echo "$as_me:$LINENO: result: no" >&5
4472
 
echo "${ECHO_T}no" >&6; }
 
4940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4941
$as_echo "no" >&6; }
4473
4942
fi
4474
4943
 
4475
4944
 
4478
4947
  ac_ct_DLLTOOL=$DLLTOOL
4479
4948
  # Extract the first word of "dlltool", so it can be a program name with args.
4480
4949
set dummy dlltool; ac_word=$2
4481
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4482
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4483
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4484
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4951
$as_echo_n "checking for $ac_word... " >&6; }
 
4952
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
 
4953
  $as_echo_n "(cached) " >&6
4485
4954
else
4486
4955
  if test -n "$ac_ct_DLLTOOL"; then
4487
4956
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4491
4960
do
4492
4961
  IFS=$as_save_IFS
4493
4962
  test -z "$as_dir" && as_dir=.
4494
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4963
    for ac_exec_ext in '' $ac_executable_extensions; do
4495
4964
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4496
4965
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4497
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4966
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4498
4967
    break 2
4499
4968
  fi
4500
4969
done
4501
 
done
 
4970
  done
4502
4971
IFS=$as_save_IFS
4503
4972
 
4504
4973
fi
4505
4974
fi
4506
4975
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4507
4976
if test -n "$ac_ct_DLLTOOL"; then
4508
 
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4509
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
 
4977
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
4978
$as_echo "$ac_ct_DLLTOOL" >&6; }
4510
4979
else
4511
 
  { echo "$as_me:$LINENO: result: no" >&5
4512
 
echo "${ECHO_T}no" >&6; }
 
4980
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4981
$as_echo "no" >&6; }
4513
4982
fi
4514
4983
 
4515
4984
  if test "x$ac_ct_DLLTOOL" = x; then
4517
4986
  else
4518
4987
    case $cross_compiling:$ac_tool_warned in
4519
4988
yes:)
4520
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4521
 
whose name does not start with the host triplet.  If you think this
4522
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4523
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4524
 
whose name does not start with the host triplet.  If you think this
4525
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4989
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4990
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4526
4991
ac_tool_warned=yes ;;
4527
4992
esac
4528
4993
    DLLTOOL=$ac_ct_DLLTOOL
4534
4999
  if test -n "$ac_tool_prefix"; then
4535
5000
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4536
5001
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4537
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4538
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4539
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4540
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5003
$as_echo_n "checking for $ac_word... " >&6; }
 
5004
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5005
  $as_echo_n "(cached) " >&6
4541
5006
else
4542
5007
  if test -n "$OBJDUMP"; then
4543
5008
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4547
5012
do
4548
5013
  IFS=$as_save_IFS
4549
5014
  test -z "$as_dir" && as_dir=.
4550
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5015
    for ac_exec_ext in '' $ac_executable_extensions; do
4551
5016
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4552
5017
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4553
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5018
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4554
5019
    break 2
4555
5020
  fi
4556
5021
done
4557
 
done
 
5022
  done
4558
5023
IFS=$as_save_IFS
4559
5024
 
4560
5025
fi
4561
5026
fi
4562
5027
OBJDUMP=$ac_cv_prog_OBJDUMP
4563
5028
if test -n "$OBJDUMP"; then
4564
 
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4565
 
echo "${ECHO_T}$OBJDUMP" >&6; }
 
5029
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5030
$as_echo "$OBJDUMP" >&6; }
4566
5031
else
4567
 
  { echo "$as_me:$LINENO: result: no" >&5
4568
 
echo "${ECHO_T}no" >&6; }
 
5032
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5033
$as_echo "no" >&6; }
4569
5034
fi
4570
5035
 
4571
5036
 
4574
5039
  ac_ct_OBJDUMP=$OBJDUMP
4575
5040
  # Extract the first word of "objdump", so it can be a program name with args.
4576
5041
set dummy objdump; ac_word=$2
4577
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4578
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4579
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4580
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5042
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5043
$as_echo_n "checking for $ac_word... " >&6; }
 
5044
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5045
  $as_echo_n "(cached) " >&6
4581
5046
else
4582
5047
  if test -n "$ac_ct_OBJDUMP"; then
4583
5048
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4587
5052
do
4588
5053
  IFS=$as_save_IFS
4589
5054
  test -z "$as_dir" && as_dir=.
4590
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5055
    for ac_exec_ext in '' $ac_executable_extensions; do
4591
5056
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4592
5057
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4593
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5058
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4594
5059
    break 2
4595
5060
  fi
4596
5061
done
4597
 
done
 
5062
  done
4598
5063
IFS=$as_save_IFS
4599
5064
 
4600
5065
fi
4601
5066
fi
4602
5067
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4603
5068
if test -n "$ac_ct_OBJDUMP"; then
4604
 
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4605
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
 
5069
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5070
$as_echo "$ac_ct_OBJDUMP" >&6; }
4606
5071
else
4607
 
  { echo "$as_me:$LINENO: result: no" >&5
4608
 
echo "${ECHO_T}no" >&6; }
 
5072
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5073
$as_echo "no" >&6; }
4609
5074
fi
4610
5075
 
4611
5076
  if test "x$ac_ct_OBJDUMP" = x; then
4613
5078
  else
4614
5079
    case $cross_compiling:$ac_tool_warned in
4615
5080
yes:)
4616
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4617
 
whose name does not start with the host triplet.  If you think this
4618
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4619
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4620
 
whose name does not start with the host triplet.  If you think this
4621
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5081
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5082
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4622
5083
ac_tool_warned=yes ;;
4623
5084
esac
4624
5085
    OBJDUMP=$ac_ct_OBJDUMP
4652
5113
 
4653
5114
case `pwd` in
4654
5115
  *\ * | *\     *)
4655
 
    { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4656
 
echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5116
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5117
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4657
5118
esac
4658
5119
 
4659
5120
 
4675
5136
 
4676
5137
ltmain="$ac_aux_dir/ltmain.sh"
4677
5138
 
4678
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4679
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4680
 
if test "${ac_cv_path_SED+set}" = set; then
4681
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
5140
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5141
if test "${ac_cv_path_SED+set}" = set; then :
 
5142
  $as_echo_n "(cached) " >&6
4682
5143
else
4683
5144
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4684
5145
     for ac_i in 1 2 3 4 5 6 7; do
4685
5146
       ac_script="$ac_script$as_nl$ac_script"
4686
5147
     done
4687
 
     echo "$ac_script" | sed 99q >conftest.sed
4688
 
     $as_unset ac_script || ac_script=
4689
 
     # Extract the first word of "sed gsed" to use in msg output
4690
 
if test -z "$SED"; then
4691
 
set dummy sed gsed; ac_prog_name=$2
4692
 
if test "${ac_cv_path_SED+set}" = set; then
4693
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4694
 
else
 
5148
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5149
     { ac_script=; unset ac_script;}
 
5150
     if test -z "$SED"; then
4695
5151
  ac_path_SED_found=false
4696
 
# Loop through the user's path and test for each of PROGNAME-LIST
4697
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5152
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5153
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698
5154
for as_dir in $PATH
4699
5155
do
4700
5156
  IFS=$as_save_IFS
4701
5157
  test -z "$as_dir" && as_dir=.
4702
 
  for ac_prog in sed gsed; do
4703
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4704
 
    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4705
 
    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4706
 
    # Check for GNU ac_path_SED and select it if it is found.
 
5158
    for ac_prog in sed gsed; do
 
5159
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5160
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5161
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5162
# Check for GNU ac_path_SED and select it if it is found.
4707
5163
  # Check for GNU $ac_path_SED
4708
5164
case `"$ac_path_SED" --version 2>&1` in
4709
5165
*GNU*)
4710
5166
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4711
5167
*)
4712
5168
  ac_count=0
4713
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5169
  $as_echo_n 0123456789 >"conftest.in"
4714
5170
  while :
4715
5171
  do
4716
5172
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4717
5173
    mv "conftest.tmp" "conftest.in"
4718
5174
    cp "conftest.in" "conftest.nl"
4719
 
    echo '' >> "conftest.nl"
 
5175
    $as_echo '' >> "conftest.nl"
4720
5176
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4721
5177
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4722
 
    ac_count=`expr $ac_count + 1`
 
5178
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4723
5179
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4724
5180
      # Best one so far, save it but keep looking for a better one
4725
5181
      ac_cv_path_SED="$ac_path_SED"
4731
5187
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4732
5188
esac
4733
5189
 
4734
 
 
4735
 
    $ac_path_SED_found && break 3
4736
 
  done
4737
 
done
4738
 
 
4739
 
done
 
5190
      $ac_path_SED_found && break 3
 
5191
    done
 
5192
  done
 
5193
  done
4740
5194
IFS=$as_save_IFS
4741
 
 
4742
 
 
4743
 
fi
4744
 
 
4745
 
SED="$ac_cv_path_SED"
4746
 
if test -z "$SED"; then
4747
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4748
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4749
 
   { (exit 1); exit 1; }; }
4750
 
fi
4751
 
 
 
5195
  if test -z "$ac_cv_path_SED"; then
 
5196
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5197
  fi
4752
5198
else
4753
5199
  ac_cv_path_SED=$SED
4754
5200
fi
4755
5201
 
4756
5202
fi
4757
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4758
 
echo "${ECHO_T}$ac_cv_path_SED" >&6; }
 
5203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5204
$as_echo "$ac_cv_path_SED" >&6; }
4759
5205
 SED="$ac_cv_path_SED"
4760
5206
  rm -f conftest.sed
4761
5207
 
4772
5218
 
4773
5219
 
4774
5220
 
4775
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4776
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4777
 
if test "${ac_cv_path_GREP+set}" = set; then
4778
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4779
 
else
4780
 
  # Extract the first word of "grep ggrep" to use in msg output
4781
 
if test -z "$GREP"; then
4782
 
set dummy grep ggrep; ac_prog_name=$2
4783
 
if test "${ac_cv_path_GREP+set}" = set; then
4784
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4785
 
else
 
5221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
5222
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5223
if test "${ac_cv_path_GREP+set}" = set; then :
 
5224
  $as_echo_n "(cached) " >&6
 
5225
else
 
5226
  if test -z "$GREP"; then
4786
5227
  ac_path_GREP_found=false
4787
 
# Loop through the user's path and test for each of PROGNAME-LIST
4788
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5228
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5229
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789
5230
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4790
5231
do
4791
5232
  IFS=$as_save_IFS
4792
5233
  test -z "$as_dir" && as_dir=.
4793
 
  for ac_prog in grep ggrep; do
4794
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4795
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4796
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4797
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
5234
    for ac_prog in grep ggrep; do
 
5235
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5236
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5237
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5238
# Check for GNU ac_path_GREP and select it if it is found.
4798
5239
  # Check for GNU $ac_path_GREP
4799
5240
case `"$ac_path_GREP" --version 2>&1` in
4800
5241
*GNU*)
4801
5242
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4802
5243
*)
4803
5244
  ac_count=0
4804
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5245
  $as_echo_n 0123456789 >"conftest.in"
4805
5246
  while :
4806
5247
  do
4807
5248
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4808
5249
    mv "conftest.tmp" "conftest.in"
4809
5250
    cp "conftest.in" "conftest.nl"
4810
 
    echo 'GREP' >> "conftest.nl"
 
5251
    $as_echo 'GREP' >> "conftest.nl"
4811
5252
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4812
5253
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4813
 
    ac_count=`expr $ac_count + 1`
 
5254
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4814
5255
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4815
5256
      # Best one so far, save it but keep looking for a better one
4816
5257
      ac_cv_path_GREP="$ac_path_GREP"
4822
5263
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4823
5264
esac
4824
5265
 
4825
 
 
4826
 
    $ac_path_GREP_found && break 3
4827
 
  done
4828
 
done
4829
 
 
4830
 
done
 
5266
      $ac_path_GREP_found && break 3
 
5267
    done
 
5268
  done
 
5269
  done
4831
5270
IFS=$as_save_IFS
4832
 
 
4833
 
 
4834
 
fi
4835
 
 
4836
 
GREP="$ac_cv_path_GREP"
4837
 
if test -z "$GREP"; then
4838
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4839
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4840
 
   { (exit 1); exit 1; }; }
4841
 
fi
4842
 
 
 
5271
  if test -z "$ac_cv_path_GREP"; then
 
5272
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5273
  fi
4843
5274
else
4844
5275
  ac_cv_path_GREP=$GREP
4845
5276
fi
4846
5277
 
4847
 
 
4848
5278
fi
4849
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4850
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
5279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
5280
$as_echo "$ac_cv_path_GREP" >&6; }
4851
5281
 GREP="$ac_cv_path_GREP"
4852
5282
 
4853
5283
 
4854
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4855
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4856
 
if test "${ac_cv_path_EGREP+set}" = set; then
4857
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
5285
$as_echo_n "checking for egrep... " >&6; }
 
5286
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5287
  $as_echo_n "(cached) " >&6
4858
5288
else
4859
5289
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4860
5290
   then ac_cv_path_EGREP="$GREP -E"
4861
5291
   else
4862
 
     # Extract the first word of "egrep" to use in msg output
4863
 
if test -z "$EGREP"; then
4864
 
set dummy egrep; ac_prog_name=$2
4865
 
if test "${ac_cv_path_EGREP+set}" = set; then
4866
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4867
 
else
 
5292
     if test -z "$EGREP"; then
4868
5293
  ac_path_EGREP_found=false
4869
 
# Loop through the user's path and test for each of PROGNAME-LIST
4870
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5294
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5295
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4871
5296
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4872
5297
do
4873
5298
  IFS=$as_save_IFS
4874
5299
  test -z "$as_dir" && as_dir=.
4875
 
  for ac_prog in egrep; do
4876
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4877
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4878
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4879
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
5300
    for ac_prog in egrep; do
 
5301
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5302
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5303
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5304
# Check for GNU ac_path_EGREP and select it if it is found.
4880
5305
  # Check for GNU $ac_path_EGREP
4881
5306
case `"$ac_path_EGREP" --version 2>&1` in
4882
5307
*GNU*)
4883
5308
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4884
5309
*)
4885
5310
  ac_count=0
4886
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5311
  $as_echo_n 0123456789 >"conftest.in"
4887
5312
  while :
4888
5313
  do
4889
5314
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4890
5315
    mv "conftest.tmp" "conftest.in"
4891
5316
    cp "conftest.in" "conftest.nl"
4892
 
    echo 'EGREP' >> "conftest.nl"
 
5317
    $as_echo 'EGREP' >> "conftest.nl"
4893
5318
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4894
5319
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4895
 
    ac_count=`expr $ac_count + 1`
 
5320
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4896
5321
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4897
5322
      # Best one so far, save it but keep looking for a better one
4898
5323
      ac_cv_path_EGREP="$ac_path_EGREP"
4904
5329
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4905
5330
esac
4906
5331
 
4907
 
 
4908
 
    $ac_path_EGREP_found && break 3
4909
 
  done
4910
 
done
4911
 
 
4912
 
done
 
5332
      $ac_path_EGREP_found && break 3
 
5333
    done
 
5334
  done
 
5335
  done
4913
5336
IFS=$as_save_IFS
4914
 
 
4915
 
 
4916
 
fi
4917
 
 
4918
 
EGREP="$ac_cv_path_EGREP"
4919
 
if test -z "$EGREP"; then
4920
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4921
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4922
 
   { (exit 1); exit 1; }; }
4923
 
fi
4924
 
 
 
5337
  if test -z "$ac_cv_path_EGREP"; then
 
5338
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5339
  fi
4925
5340
else
4926
5341
  ac_cv_path_EGREP=$EGREP
4927
5342
fi
4928
5343
 
4929
 
 
4930
5344
   fi
4931
5345
fi
4932
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4933
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
5346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
5347
$as_echo "$ac_cv_path_EGREP" >&6; }
4934
5348
 EGREP="$ac_cv_path_EGREP"
4935
5349
 
4936
5350
 
4937
 
{ echo "$as_me:$LINENO: checking for fgrep" >&5
4938
 
echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4939
 
if test "${ac_cv_path_FGREP+set}" = set; then
4940
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
5352
$as_echo_n "checking for fgrep... " >&6; }
 
5353
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5354
  $as_echo_n "(cached) " >&6
4941
5355
else
4942
5356
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4943
5357
   then ac_cv_path_FGREP="$GREP -F"
4944
5358
   else
4945
 
     # Extract the first word of "fgrep" to use in msg output
4946
 
if test -z "$FGREP"; then
4947
 
set dummy fgrep; ac_prog_name=$2
4948
 
if test "${ac_cv_path_FGREP+set}" = set; then
4949
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4950
 
else
 
5359
     if test -z "$FGREP"; then
4951
5360
  ac_path_FGREP_found=false
4952
 
# Loop through the user's path and test for each of PROGNAME-LIST
4953
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5361
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5362
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954
5363
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4955
5364
do
4956
5365
  IFS=$as_save_IFS
4957
5366
  test -z "$as_dir" && as_dir=.
4958
 
  for ac_prog in fgrep; do
4959
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4960
 
    ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4961
 
    { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4962
 
    # Check for GNU ac_path_FGREP and select it if it is found.
 
5367
    for ac_prog in fgrep; do
 
5368
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5369
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5370
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5371
# Check for GNU ac_path_FGREP and select it if it is found.
4963
5372
  # Check for GNU $ac_path_FGREP
4964
5373
case `"$ac_path_FGREP" --version 2>&1` in
4965
5374
*GNU*)
4966
5375
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4967
5376
*)
4968
5377
  ac_count=0
4969
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5378
  $as_echo_n 0123456789 >"conftest.in"
4970
5379
  while :
4971
5380
  do
4972
5381
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4973
5382
    mv "conftest.tmp" "conftest.in"
4974
5383
    cp "conftest.in" "conftest.nl"
4975
 
    echo 'FGREP' >> "conftest.nl"
 
5384
    $as_echo 'FGREP' >> "conftest.nl"
4976
5385
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4977
5386
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4978
 
    ac_count=`expr $ac_count + 1`
 
5387
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4979
5388
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4980
5389
      # Best one so far, save it but keep looking for a better one
4981
5390
      ac_cv_path_FGREP="$ac_path_FGREP"
4987
5396
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4988
5397
esac
4989
5398
 
4990
 
 
4991
 
    $ac_path_FGREP_found && break 3
4992
 
  done
4993
 
done
4994
 
 
4995
 
done
 
5399
      $ac_path_FGREP_found && break 3
 
5400
    done
 
5401
  done
 
5402
  done
4996
5403
IFS=$as_save_IFS
4997
 
 
4998
 
 
4999
 
fi
5000
 
 
5001
 
FGREP="$ac_cv_path_FGREP"
5002
 
if test -z "$FGREP"; then
5003
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5004
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5005
 
   { (exit 1); exit 1; }; }
5006
 
fi
5007
 
 
 
5404
  if test -z "$ac_cv_path_FGREP"; then
 
5405
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5406
  fi
5008
5407
else
5009
5408
  ac_cv_path_FGREP=$FGREP
5010
5409
fi
5011
5410
 
5012
 
 
5013
5411
   fi
5014
5412
fi
5015
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5016
 
echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
 
5413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
5414
$as_echo "$ac_cv_path_FGREP" >&6; }
5017
5415
 FGREP="$ac_cv_path_FGREP"
5018
5416
 
5019
5417
 
5038
5436
 
5039
5437
 
5040
5438
# Check whether --with-gnu-ld was given.
5041
 
if test "${with_gnu_ld+set}" = set; then
 
5439
if test "${with_gnu_ld+set}" = set; then :
5042
5440
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5043
5441
else
5044
5442
  with_gnu_ld=no
5047
5445
ac_prog=ld
5048
5446
if test "$GCC" = yes; then
5049
5447
  # Check if gcc -print-prog-name=ld gives a path.
5050
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5051
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
5448
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
5449
$as_echo_n "checking for ld used by $CC... " >&6; }
5052
5450
  case $host in
5053
5451
  *-*-mingw*)
5054
5452
    # gcc leaves a trailing carriage return which upsets mingw
5077
5475
    ;;
5078
5476
  esac
5079
5477
elif test "$with_gnu_ld" = yes; then
5080
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
5081
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
5478
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
5479
$as_echo_n "checking for GNU ld... " >&6; }
5082
5480
else
5083
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5084
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
5481
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
5482
$as_echo_n "checking for non-GNU ld... " >&6; }
5085
5483
fi
5086
 
if test "${lt_cv_path_LD+set}" = set; then
5087
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5484
if test "${lt_cv_path_LD+set}" = set; then :
 
5485
  $as_echo_n "(cached) " >&6
5088
5486
else
5089
5487
  if test -z "$LD"; then
5090
5488
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5114
5512
 
5115
5513
LD="$lt_cv_path_LD"
5116
5514
if test -n "$LD"; then
5117
 
  { echo "$as_me:$LINENO: result: $LD" >&5
5118
 
echo "${ECHO_T}$LD" >&6; }
 
5515
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
5516
$as_echo "$LD" >&6; }
5119
5517
else
5120
 
  { echo "$as_me:$LINENO: result: no" >&5
5121
 
echo "${ECHO_T}no" >&6; }
 
5518
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5519
$as_echo "no" >&6; }
5122
5520
fi
5123
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5124
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5125
 
   { (exit 1); exit 1; }; }
5126
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5127
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5128
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5129
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5521
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
5523
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
5524
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5525
  $as_echo_n "(cached) " >&6
5130
5526
else
5131
5527
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5132
5528
case `$LD -v 2>&1 </dev/null` in
5138
5534
  ;;
5139
5535
esac
5140
5536
fi
5141
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5142
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
5537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
5538
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5143
5539
with_gnu_ld=$lt_cv_prog_gnu_ld
5144
5540
 
5145
5541
 
5150
5546
 
5151
5547
 
5152
5548
 
5153
 
{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5154
 
echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
5155
 
if test "${lt_cv_path_NM+set}" = set; then
5156
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5550
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
5551
if test "${lt_cv_path_NM+set}" = set; then :
 
5552
  $as_echo_n "(cached) " >&6
5157
5553
else
5158
5554
  if test -n "$NM"; then
5159
5555
  # Let the user override the test.
5199
5595
  : ${lt_cv_path_NM=no}
5200
5596
fi
5201
5597
fi
5202
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5203
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
 
5598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
5599
$as_echo "$lt_cv_path_NM" >&6; }
5204
5600
if test "$lt_cv_path_NM" != "no"; then
5205
5601
  NM="$lt_cv_path_NM"
5206
5602
else
5210
5606
  do
5211
5607
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5212
5608
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5213
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5214
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5215
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5216
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5610
$as_echo_n "checking for $ac_word... " >&6; }
 
5611
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5612
  $as_echo_n "(cached) " >&6
5217
5613
else
5218
5614
  if test -n "$DUMPBIN"; then
5219
5615
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5223
5619
do
5224
5620
  IFS=$as_save_IFS
5225
5621
  test -z "$as_dir" && as_dir=.
5226
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5622
    for ac_exec_ext in '' $ac_executable_extensions; do
5227
5623
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5228
5624
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5229
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5625
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230
5626
    break 2
5231
5627
  fi
5232
5628
done
5233
 
done
 
5629
  done
5234
5630
IFS=$as_save_IFS
5235
5631
 
5236
5632
fi
5237
5633
fi
5238
5634
DUMPBIN=$ac_cv_prog_DUMPBIN
5239
5635
if test -n "$DUMPBIN"; then
5240
 
  { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5241
 
echo "${ECHO_T}$DUMPBIN" >&6; }
 
5636
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
5637
$as_echo "$DUMPBIN" >&6; }
5242
5638
else
5243
 
  { echo "$as_me:$LINENO: result: no" >&5
5244
 
echo "${ECHO_T}no" >&6; }
 
5639
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5640
$as_echo "no" >&6; }
5245
5641
fi
5246
5642
 
5247
5643
 
5254
5650
do
5255
5651
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5256
5652
set dummy $ac_prog; ac_word=$2
5257
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5258
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5259
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5260
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5654
$as_echo_n "checking for $ac_word... " >&6; }
 
5655
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5656
  $as_echo_n "(cached) " >&6
5261
5657
else
5262
5658
  if test -n "$ac_ct_DUMPBIN"; then
5263
5659
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5267
5663
do
5268
5664
  IFS=$as_save_IFS
5269
5665
  test -z "$as_dir" && as_dir=.
5270
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5666
    for ac_exec_ext in '' $ac_executable_extensions; do
5271
5667
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5272
5668
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5273
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5669
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274
5670
    break 2
5275
5671
  fi
5276
5672
done
5277
 
done
 
5673
  done
5278
5674
IFS=$as_save_IFS
5279
5675
 
5280
5676
fi
5281
5677
fi
5282
5678
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5283
5679
if test -n "$ac_ct_DUMPBIN"; then
5284
 
  { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5285
 
echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
 
5680
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
5681
$as_echo "$ac_ct_DUMPBIN" >&6; }
5286
5682
else
5287
 
  { echo "$as_me:$LINENO: result: no" >&5
5288
 
echo "${ECHO_T}no" >&6; }
 
5683
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5684
$as_echo "no" >&6; }
5289
5685
fi
5290
5686
 
5291
5687
 
5297
5693
  else
5298
5694
    case $cross_compiling:$ac_tool_warned in
5299
5695
yes:)
5300
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5301
 
whose name does not start with the host triplet.  If you think this
5302
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5303
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5304
 
whose name does not start with the host triplet.  If you think this
5305
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5696
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5697
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5306
5698
ac_tool_warned=yes ;;
5307
5699
esac
5308
5700
    DUMPBIN=$ac_ct_DUMPBIN
5321
5713
 
5322
5714
 
5323
5715
 
5324
 
{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5325
 
echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
5326
 
if test "${lt_cv_nm_interface+set}" = set; then
5327
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
5717
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5718
if test "${lt_cv_nm_interface+set}" = set; then :
 
5719
  $as_echo_n "(cached) " >&6
5328
5720
else
5329
5721
  lt_cv_nm_interface="BSD nm"
5330
5722
  echo "int some_variable = 0;" > conftest.$ac_ext
5331
 
  (eval echo "\"\$as_me:5331: $ac_compile\"" >&5)
 
5723
  (eval echo "\"\$as_me:5723: $ac_compile\"" >&5)
5332
5724
  (eval "$ac_compile" 2>conftest.err)
5333
5725
  cat conftest.err >&5
5334
 
  (eval echo "\"\$as_me:5334: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5726
  (eval echo "\"\$as_me:5726: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5335
5727
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5336
5728
  cat conftest.err >&5
5337
 
  (eval echo "\"\$as_me:5337: output\"" >&5)
 
5729
  (eval echo "\"\$as_me:5729: output\"" >&5)
5338
5730
  cat conftest.out >&5
5339
5731
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5340
5732
    lt_cv_nm_interface="MS dumpbin"
5341
5733
  fi
5342
5734
  rm -f conftest*
5343
5735
fi
5344
 
{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5345
 
echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
 
5736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
5737
$as_echo "$lt_cv_nm_interface" >&6; }
5346
5738
 
5347
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5348
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
5739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
5740
$as_echo_n "checking whether ln -s works... " >&6; }
5349
5741
LN_S=$as_ln_s
5350
5742
if test "$LN_S" = "ln -s"; then
5351
 
  { echo "$as_me:$LINENO: result: yes" >&5
5352
 
echo "${ECHO_T}yes" >&6; }
 
5743
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5744
$as_echo "yes" >&6; }
5353
5745
else
5354
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5355
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
5746
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
5747
$as_echo "no, using $LN_S" >&6; }
5356
5748
fi
5357
5749
 
5358
5750
# find the maximum length of command line arguments
5359
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5360
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5361
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5362
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5751
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
5752
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5753
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5754
  $as_echo_n "(cached) " >&6
5363
5755
else
5364
5756
    i=0
5365
5757
  teststring="ABCD"
5476
5868
fi
5477
5869
 
5478
5870
if test -n $lt_cv_sys_max_cmd_len ; then
5479
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5480
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
 
5871
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5872
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5481
5873
else
5482
 
  { echo "$as_me:$LINENO: result: none" >&5
5483
 
echo "${ECHO_T}none" >&6; }
 
5874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5875
$as_echo "none" >&6; }
5484
5876
fi
5485
5877
max_cmd_len=$lt_cv_sys_max_cmd_len
5486
5878
 
5493
5885
: ${MV="mv -f"}
5494
5886
: ${RM="rm -f"}
5495
5887
 
5496
 
{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5497
 
echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
 
5888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
5889
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5498
5890
# Try some XSI features
5499
5891
xsi_shell=no
5500
5892
( _lt_dummy="a/b/c"
5503
5895
    && eval 'test $(( 1 + 1 )) -eq 2 \
5504
5896
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5505
5897
  && xsi_shell=yes
5506
 
{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
5507
 
echo "${ECHO_T}$xsi_shell" >&6; }
5508
 
 
5509
 
 
5510
 
{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5511
 
echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
 
5898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
5899
$as_echo "$xsi_shell" >&6; }
 
5900
 
 
5901
 
 
5902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
5903
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5512
5904
lt_shell_append=no
5513
5905
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5514
5906
    >/dev/null 2>&1 \
5515
5907
  && lt_shell_append=yes
5516
 
{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5517
 
echo "${ECHO_T}$lt_shell_append" >&6; }
 
5908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
5909
$as_echo "$lt_shell_append" >&6; }
5518
5910
 
5519
5911
 
5520
5912
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5548
5940
 
5549
5941
 
5550
5942
 
5551
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5552
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5553
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
5554
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5944
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5945
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5946
  $as_echo_n "(cached) " >&6
5555
5947
else
5556
5948
  lt_cv_ld_reload_flag='-r'
5557
5949
fi
5558
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5559
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 
5950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5951
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5560
5952
reload_flag=$lt_cv_ld_reload_flag
5561
5953
case $reload_flag in
5562
5954
"" | " "*) ;;
5584
5976
if test -n "$ac_tool_prefix"; then
5585
5977
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5586
5978
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5587
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5588
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5589
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5590
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5980
$as_echo_n "checking for $ac_word... " >&6; }
 
5981
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5982
  $as_echo_n "(cached) " >&6
5591
5983
else
5592
5984
  if test -n "$OBJDUMP"; then
5593
5985
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5597
5989
do
5598
5990
  IFS=$as_save_IFS
5599
5991
  test -z "$as_dir" && as_dir=.
5600
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5992
    for ac_exec_ext in '' $ac_executable_extensions; do
5601
5993
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5602
5994
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5603
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5995
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5604
5996
    break 2
5605
5997
  fi
5606
5998
done
5607
 
done
 
5999
  done
5608
6000
IFS=$as_save_IFS
5609
6001
 
5610
6002
fi
5611
6003
fi
5612
6004
OBJDUMP=$ac_cv_prog_OBJDUMP
5613
6005
if test -n "$OBJDUMP"; then
5614
 
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5615
 
echo "${ECHO_T}$OBJDUMP" >&6; }
 
6006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
6007
$as_echo "$OBJDUMP" >&6; }
5616
6008
else
5617
 
  { echo "$as_me:$LINENO: result: no" >&5
5618
 
echo "${ECHO_T}no" >&6; }
 
6009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6010
$as_echo "no" >&6; }
5619
6011
fi
5620
6012
 
5621
6013
 
5624
6016
  ac_ct_OBJDUMP=$OBJDUMP
5625
6017
  # Extract the first word of "objdump", so it can be a program name with args.
5626
6018
set dummy objdump; ac_word=$2
5627
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5628
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5629
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5630
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6020
$as_echo_n "checking for $ac_word... " >&6; }
 
6021
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6022
  $as_echo_n "(cached) " >&6
5631
6023
else
5632
6024
  if test -n "$ac_ct_OBJDUMP"; then
5633
6025
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5637
6029
do
5638
6030
  IFS=$as_save_IFS
5639
6031
  test -z "$as_dir" && as_dir=.
5640
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6032
    for ac_exec_ext in '' $ac_executable_extensions; do
5641
6033
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642
6034
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5643
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6035
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644
6036
    break 2
5645
6037
  fi
5646
6038
done
5647
 
done
 
6039
  done
5648
6040
IFS=$as_save_IFS
5649
6041
 
5650
6042
fi
5651
6043
fi
5652
6044
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5653
6045
if test -n "$ac_ct_OBJDUMP"; then
5654
 
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5655
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
 
6046
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
6047
$as_echo "$ac_ct_OBJDUMP" >&6; }
5656
6048
else
5657
 
  { echo "$as_me:$LINENO: result: no" >&5
5658
 
echo "${ECHO_T}no" >&6; }
 
6049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6050
$as_echo "no" >&6; }
5659
6051
fi
5660
6052
 
5661
6053
  if test "x$ac_ct_OBJDUMP" = x; then
5663
6055
  else
5664
6056
    case $cross_compiling:$ac_tool_warned in
5665
6057
yes:)
5666
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5667
 
whose name does not start with the host triplet.  If you think this
5668
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5669
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5670
 
whose name does not start with the host triplet.  If you think this
5671
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6058
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6059
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5672
6060
ac_tool_warned=yes ;;
5673
6061
esac
5674
6062
    OBJDUMP=$ac_ct_OBJDUMP
5684
6072
 
5685
6073
 
5686
6074
 
5687
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5688
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5689
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
5690
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
6076
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
6077
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6078
  $as_echo_n "(cached) " >&6
5691
6079
else
5692
6080
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5693
6081
lt_cv_file_magic_test_file=
5880
6268
esac
5881
6269
 
5882
6270
fi
5883
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5884
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
6271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
6272
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5885
6273
file_magic_cmd=$lt_cv_file_magic_cmd
5886
6274
deplibs_check_method=$lt_cv_deplibs_check_method
5887
6275
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5900
6288
if test -n "$ac_tool_prefix"; then
5901
6289
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5902
6290
set dummy ${ac_tool_prefix}ar; ac_word=$2
5903
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5904
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5905
 
if test "${ac_cv_prog_AR+set}" = set; then
5906
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6292
$as_echo_n "checking for $ac_word... " >&6; }
 
6293
if test "${ac_cv_prog_AR+set}" = set; then :
 
6294
  $as_echo_n "(cached) " >&6
5907
6295
else
5908
6296
  if test -n "$AR"; then
5909
6297
  ac_cv_prog_AR="$AR" # Let the user override the test.
5913
6301
do
5914
6302
  IFS=$as_save_IFS
5915
6303
  test -z "$as_dir" && as_dir=.
5916
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6304
    for ac_exec_ext in '' $ac_executable_extensions; do
5917
6305
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5918
6306
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5919
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6307
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5920
6308
    break 2
5921
6309
  fi
5922
6310
done
5923
 
done
 
6311
  done
5924
6312
IFS=$as_save_IFS
5925
6313
 
5926
6314
fi
5927
6315
fi
5928
6316
AR=$ac_cv_prog_AR
5929
6317
if test -n "$AR"; then
5930
 
  { echo "$as_me:$LINENO: result: $AR" >&5
5931
 
echo "${ECHO_T}$AR" >&6; }
 
6318
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
6319
$as_echo "$AR" >&6; }
5932
6320
else
5933
 
  { echo "$as_me:$LINENO: result: no" >&5
5934
 
echo "${ECHO_T}no" >&6; }
 
6321
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6322
$as_echo "no" >&6; }
5935
6323
fi
5936
6324
 
5937
6325
 
5940
6328
  ac_ct_AR=$AR
5941
6329
  # Extract the first word of "ar", so it can be a program name with args.
5942
6330
set dummy ar; ac_word=$2
5943
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5944
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5945
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5946
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6332
$as_echo_n "checking for $ac_word... " >&6; }
 
6333
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6334
  $as_echo_n "(cached) " >&6
5947
6335
else
5948
6336
  if test -n "$ac_ct_AR"; then
5949
6337
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5953
6341
do
5954
6342
  IFS=$as_save_IFS
5955
6343
  test -z "$as_dir" && as_dir=.
5956
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6344
    for ac_exec_ext in '' $ac_executable_extensions; do
5957
6345
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5958
6346
    ac_cv_prog_ac_ct_AR="ar"
5959
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6347
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960
6348
    break 2
5961
6349
  fi
5962
6350
done
5963
 
done
 
6351
  done
5964
6352
IFS=$as_save_IFS
5965
6353
 
5966
6354
fi
5967
6355
fi
5968
6356
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5969
6357
if test -n "$ac_ct_AR"; then
5970
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5971
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
6358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
6359
$as_echo "$ac_ct_AR" >&6; }
5972
6360
else
5973
 
  { echo "$as_me:$LINENO: result: no" >&5
5974
 
echo "${ECHO_T}no" >&6; }
 
6361
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6362
$as_echo "no" >&6; }
5975
6363
fi
5976
6364
 
5977
6365
  if test "x$ac_ct_AR" = x; then
5979
6367
  else
5980
6368
    case $cross_compiling:$ac_tool_warned in
5981
6369
yes:)
5982
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5983
 
whose name does not start with the host triplet.  If you think this
5984
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5985
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5986
 
whose name does not start with the host triplet.  If you think this
5987
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6370
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6371
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5988
6372
ac_tool_warned=yes ;;
5989
6373
esac
5990
6374
    AR=$ac_ct_AR
6009
6393
if test -n "$ac_tool_prefix"; then
6010
6394
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6011
6395
set dummy ${ac_tool_prefix}strip; ac_word=$2
6012
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6013
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6014
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6015
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6397
$as_echo_n "checking for $ac_word... " >&6; }
 
6398
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6399
  $as_echo_n "(cached) " >&6
6016
6400
else
6017
6401
  if test -n "$STRIP"; then
6018
6402
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6022
6406
do
6023
6407
  IFS=$as_save_IFS
6024
6408
  test -z "$as_dir" && as_dir=.
6025
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6409
    for ac_exec_ext in '' $ac_executable_extensions; do
6026
6410
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6027
6411
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6028
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6412
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6029
6413
    break 2
6030
6414
  fi
6031
6415
done
6032
 
done
 
6416
  done
6033
6417
IFS=$as_save_IFS
6034
6418
 
6035
6419
fi
6036
6420
fi
6037
6421
STRIP=$ac_cv_prog_STRIP
6038
6422
if test -n "$STRIP"; then
6039
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6040
 
echo "${ECHO_T}$STRIP" >&6; }
 
6423
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
6424
$as_echo "$STRIP" >&6; }
6041
6425
else
6042
 
  { echo "$as_me:$LINENO: result: no" >&5
6043
 
echo "${ECHO_T}no" >&6; }
 
6426
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6427
$as_echo "no" >&6; }
6044
6428
fi
6045
6429
 
6046
6430
 
6049
6433
  ac_ct_STRIP=$STRIP
6050
6434
  # Extract the first word of "strip", so it can be a program name with args.
6051
6435
set dummy strip; ac_word=$2
6052
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6053
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6054
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6055
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6437
$as_echo_n "checking for $ac_word... " >&6; }
 
6438
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6439
  $as_echo_n "(cached) " >&6
6056
6440
else
6057
6441
  if test -n "$ac_ct_STRIP"; then
6058
6442
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6062
6446
do
6063
6447
  IFS=$as_save_IFS
6064
6448
  test -z "$as_dir" && as_dir=.
6065
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6449
    for ac_exec_ext in '' $ac_executable_extensions; do
6066
6450
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6067
6451
    ac_cv_prog_ac_ct_STRIP="strip"
6068
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6452
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6069
6453
    break 2
6070
6454
  fi
6071
6455
done
6072
 
done
 
6456
  done
6073
6457
IFS=$as_save_IFS
6074
6458
 
6075
6459
fi
6076
6460
fi
6077
6461
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6078
6462
if test -n "$ac_ct_STRIP"; then
6079
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6080
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
6463
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
6464
$as_echo "$ac_ct_STRIP" >&6; }
6081
6465
else
6082
 
  { echo "$as_me:$LINENO: result: no" >&5
6083
 
echo "${ECHO_T}no" >&6; }
 
6466
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6467
$as_echo "no" >&6; }
6084
6468
fi
6085
6469
 
6086
6470
  if test "x$ac_ct_STRIP" = x; then
6088
6472
  else
6089
6473
    case $cross_compiling:$ac_tool_warned in
6090
6474
yes:)
6091
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6092
 
whose name does not start with the host triplet.  If you think this
6093
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6094
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6095
 
whose name does not start with the host triplet.  If you think this
6096
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6475
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6476
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6097
6477
ac_tool_warned=yes ;;
6098
6478
esac
6099
6479
    STRIP=$ac_ct_STRIP
6112
6492
if test -n "$ac_tool_prefix"; then
6113
6493
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6114
6494
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6115
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6116
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6117
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6118
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6496
$as_echo_n "checking for $ac_word... " >&6; }
 
6497
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6498
  $as_echo_n "(cached) " >&6
6119
6499
else
6120
6500
  if test -n "$RANLIB"; then
6121
6501
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6125
6505
do
6126
6506
  IFS=$as_save_IFS
6127
6507
  test -z "$as_dir" && as_dir=.
6128
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6508
    for ac_exec_ext in '' $ac_executable_extensions; do
6129
6509
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6130
6510
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6131
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6511
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132
6512
    break 2
6133
6513
  fi
6134
6514
done
6135
 
done
 
6515
  done
6136
6516
IFS=$as_save_IFS
6137
6517
 
6138
6518
fi
6139
6519
fi
6140
6520
RANLIB=$ac_cv_prog_RANLIB
6141
6521
if test -n "$RANLIB"; then
6142
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6143
 
echo "${ECHO_T}$RANLIB" >&6; }
 
6522
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6523
$as_echo "$RANLIB" >&6; }
6144
6524
else
6145
 
  { echo "$as_me:$LINENO: result: no" >&5
6146
 
echo "${ECHO_T}no" >&6; }
 
6525
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6526
$as_echo "no" >&6; }
6147
6527
fi
6148
6528
 
6149
6529
 
6152
6532
  ac_ct_RANLIB=$RANLIB
6153
6533
  # Extract the first word of "ranlib", so it can be a program name with args.
6154
6534
set dummy ranlib; ac_word=$2
6155
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6156
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6157
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6158
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6536
$as_echo_n "checking for $ac_word... " >&6; }
 
6537
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6538
  $as_echo_n "(cached) " >&6
6159
6539
else
6160
6540
  if test -n "$ac_ct_RANLIB"; then
6161
6541
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6165
6545
do
6166
6546
  IFS=$as_save_IFS
6167
6547
  test -z "$as_dir" && as_dir=.
6168
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6548
    for ac_exec_ext in '' $ac_executable_extensions; do
6169
6549
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6170
6550
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6171
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6551
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6172
6552
    break 2
6173
6553
  fi
6174
6554
done
6175
 
done
 
6555
  done
6176
6556
IFS=$as_save_IFS
6177
6557
 
6178
6558
fi
6179
6559
fi
6180
6560
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6181
6561
if test -n "$ac_ct_RANLIB"; then
6182
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6183
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
6562
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6563
$as_echo "$ac_ct_RANLIB" >&6; }
6184
6564
else
6185
 
  { echo "$as_me:$LINENO: result: no" >&5
6186
 
echo "${ECHO_T}no" >&6; }
 
6565
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6566
$as_echo "no" >&6; }
6187
6567
fi
6188
6568
 
6189
6569
  if test "x$ac_ct_RANLIB" = x; then
6191
6571
  else
6192
6572
    case $cross_compiling:$ac_tool_warned in
6193
6573
yes:)
6194
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6195
 
whose name does not start with the host triplet.  If you think this
6196
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6197
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6198
 
whose name does not start with the host triplet.  If you think this
6199
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6574
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6575
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6200
6576
ac_tool_warned=yes ;;
6201
6577
esac
6202
6578
    RANLIB=$ac_ct_RANLIB
6273
6649
 
6274
6650
 
6275
6651
# Check for command to grab the raw symbol name followed by C symbol from nm.
6276
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6277
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6278
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6279
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
6653
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
6654
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6655
  $as_echo_n "(cached) " >&6
6280
6656
else
6281
6657
 
6282
6658
# These are sane defaults that work on at least a few old systems.
6391
6767
int main(){nm_test_var='a';nm_test_func();return(0);}
6392
6768
_LT_EOF
6393
6769
 
6394
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6770
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6395
6771
  (eval $ac_compile) 2>&5
6396
6772
  ac_status=$?
6397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398
 
  (exit $ac_status); }; then
 
6773
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6774
  test $ac_status = 0; }; then
6399
6775
    # Now try to grab the symbols.
6400
6776
    nlist=conftest.nm
6401
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6777
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6402
6778
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6403
6779
  ac_status=$?
6404
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6780
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6781
  test $ac_status = 0; } && test -s "$nlist"; then
6406
6782
      # Try sorting and uniquifying the output.
6407
6783
      if sort "$nlist" | uniq > "$nlist"T; then
6408
6784
        mv -f "$nlist"T "$nlist"
6455
6831
          lt_save_CFLAGS="$CFLAGS"
6456
6832
          LIBS="conftstm.$ac_objext"
6457
6833
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6458
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6834
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6459
6835
  (eval $ac_link) 2>&5
6460
6836
  ac_status=$?
6461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6837
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6838
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6463
6839
            pipe_works=yes
6464
6840
          fi
6465
6841
          LIBS="$lt_save_LIBS"
6493
6869
  lt_cv_sys_global_symbol_to_cdecl=
6494
6870
fi
6495
6871
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6496
 
  { echo "$as_me:$LINENO: result: failed" >&5
6497
 
echo "${ECHO_T}failed" >&6; }
 
6872
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6873
$as_echo "failed" >&6; }
6498
6874
else
6499
 
  { echo "$as_me:$LINENO: result: ok" >&5
6500
 
echo "${ECHO_T}ok" >&6; }
 
6875
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6876
$as_echo "ok" >&6; }
6501
6877
fi
6502
6878
 
6503
6879
 
6523
6899
 
6524
6900
 
6525
6901
# Check whether --enable-libtool-lock was given.
6526
 
if test "${enable_libtool_lock+set}" = set; then
 
6902
if test "${enable_libtool_lock+set}" = set; then :
6527
6903
  enableval=$enable_libtool_lock;
6528
6904
fi
6529
6905
 
6535
6911
ia64-*-hpux*)
6536
6912
  # Find out which ABI we are using.
6537
6913
  echo 'int i;' > conftest.$ac_ext
6538
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6914
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6539
6915
  (eval $ac_compile) 2>&5
6540
6916
  ac_status=$?
6541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542
 
  (exit $ac_status); }; then
 
6917
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6918
  test $ac_status = 0; }; then
6543
6919
    case `/usr/bin/file conftest.$ac_objext` in
6544
6920
      *ELF-32*)
6545
6921
        HPUX_IA64_MODE="32"
6553
6929
  ;;
6554
6930
*-*-irix6*)
6555
6931
  # Find out which ABI we are using.
6556
 
  echo '#line 6556 "configure"' > conftest.$ac_ext
6557
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6932
  echo '#line 6932 "configure"' > conftest.$ac_ext
 
6933
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6558
6934
  (eval $ac_compile) 2>&5
6559
6935
  ac_status=$?
6560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561
 
  (exit $ac_status); }; then
 
6936
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6937
  test $ac_status = 0; }; then
6562
6938
    if test "$lt_cv_prog_gnu_ld" = yes; then
6563
6939
      case `/usr/bin/file conftest.$ac_objext` in
6564
6940
        *32-bit*)
6592
6968
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6593
6969
  # Find out which ABI we are using.
6594
6970
  echo 'int i;' > conftest.$ac_ext
6595
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6971
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6596
6972
  (eval $ac_compile) 2>&5
6597
6973
  ac_status=$?
6598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599
 
  (exit $ac_status); }; then
 
6974
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6975
  test $ac_status = 0; }; then
6600
6976
    case `/usr/bin/file conftest.o` in
6601
6977
      *32-bit*)
6602
6978
        case $host in
6645
7021
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6646
7022
  SAVE_CFLAGS="$CFLAGS"
6647
7023
  CFLAGS="$CFLAGS -belf"
6648
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6649
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6650
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
6651
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7024
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
7025
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
7026
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7027
  $as_echo_n "(cached) " >&6
6652
7028
else
6653
7029
  ac_ext=c
6654
7030
ac_cpp='$CPP $CPPFLAGS'
6656
7032
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6657
7033
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6658
7034
 
6659
 
     cat >conftest.$ac_ext <<_ACEOF
6660
 
/* confdefs.h.  */
6661
 
_ACEOF
6662
 
cat confdefs.h >>conftest.$ac_ext
6663
 
cat >>conftest.$ac_ext <<_ACEOF
 
7035
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6664
7036
/* end confdefs.h.  */
6665
7037
 
6666
7038
int
6671
7043
  return 0;
6672
7044
}
6673
7045
_ACEOF
6674
 
rm -f conftest.$ac_objext conftest$ac_exeext
6675
 
if { (ac_try="$ac_link"
6676
 
case "(($ac_try" in
6677
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678
 
  *) ac_try_echo=$ac_try;;
6679
 
esac
6680
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6681
 
  (eval "$ac_link") 2>conftest.er1
6682
 
  ac_status=$?
6683
 
  grep -v '^ *+' conftest.er1 >conftest.err
6684
 
  rm -f conftest.er1
6685
 
  cat conftest.err >&5
6686
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687
 
  (exit $ac_status); } && {
6688
 
         test -z "$ac_c_werror_flag" ||
6689
 
         test ! -s conftest.err
6690
 
       } && test -s conftest$ac_exeext &&
6691
 
       $as_test_x conftest$ac_exeext; then
 
7046
if ac_fn_c_try_link "$LINENO"; then :
6692
7047
  lt_cv_cc_needs_belf=yes
6693
7048
else
6694
 
  echo "$as_me: failed program was:" >&5
6695
 
sed 's/^/| /' conftest.$ac_ext >&5
6696
 
 
6697
 
        lt_cv_cc_needs_belf=no
 
7049
  lt_cv_cc_needs_belf=no
6698
7050
fi
6699
 
 
6700
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6701
 
      conftest$ac_exeext conftest.$ac_ext
 
7051
rm -f core conftest.err conftest.$ac_objext \
 
7052
    conftest$ac_exeext conftest.$ac_ext
6702
7053
     ac_ext=c
6703
7054
ac_cpp='$CPP $CPPFLAGS'
6704
7055
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6706
7057
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6707
7058
 
6708
7059
fi
6709
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6710
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 
7060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
7061
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6711
7062
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6712
7063
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6713
7064
    CFLAGS="$SAVE_CFLAGS"
6716
7067
sparc*-*solaris*)
6717
7068
  # Find out which ABI we are using.
6718
7069
  echo 'int i;' > conftest.$ac_ext
6719
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7070
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6720
7071
  (eval $ac_compile) 2>&5
6721
7072
  ac_status=$?
6722
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723
 
  (exit $ac_status); }; then
 
7073
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7074
  test $ac_status = 0; }; then
6724
7075
    case `/usr/bin/file conftest.o` in
6725
7076
    *64-bit*)
6726
7077
      case $lt_cv_prog_gnu_ld in
6746
7097
    if test -n "$ac_tool_prefix"; then
6747
7098
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6748
7099
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6749
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6750
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6751
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6752
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7101
$as_echo_n "checking for $ac_word... " >&6; }
 
7102
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7103
  $as_echo_n "(cached) " >&6
6753
7104
else
6754
7105
  if test -n "$DSYMUTIL"; then
6755
7106
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6759
7110
do
6760
7111
  IFS=$as_save_IFS
6761
7112
  test -z "$as_dir" && as_dir=.
6762
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7113
    for ac_exec_ext in '' $ac_executable_extensions; do
6763
7114
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6764
7115
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6765
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7116
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766
7117
    break 2
6767
7118
  fi
6768
7119
done
6769
 
done
 
7120
  done
6770
7121
IFS=$as_save_IFS
6771
7122
 
6772
7123
fi
6773
7124
fi
6774
7125
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6775
7126
if test -n "$DSYMUTIL"; then
6776
 
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6777
 
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
7127
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
7128
$as_echo "$DSYMUTIL" >&6; }
6778
7129
else
6779
 
  { echo "$as_me:$LINENO: result: no" >&5
6780
 
echo "${ECHO_T}no" >&6; }
 
7130
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7131
$as_echo "no" >&6; }
6781
7132
fi
6782
7133
 
6783
7134
 
6786
7137
  ac_ct_DSYMUTIL=$DSYMUTIL
6787
7138
  # Extract the first word of "dsymutil", so it can be a program name with args.
6788
7139
set dummy dsymutil; ac_word=$2
6789
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6790
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6791
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6792
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7141
$as_echo_n "checking for $ac_word... " >&6; }
 
7142
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7143
  $as_echo_n "(cached) " >&6
6793
7144
else
6794
7145
  if test -n "$ac_ct_DSYMUTIL"; then
6795
7146
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6799
7150
do
6800
7151
  IFS=$as_save_IFS
6801
7152
  test -z "$as_dir" && as_dir=.
6802
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7153
    for ac_exec_ext in '' $ac_executable_extensions; do
6803
7154
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6804
7155
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6805
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7156
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806
7157
    break 2
6807
7158
  fi
6808
7159
done
6809
 
done
 
7160
  done
6810
7161
IFS=$as_save_IFS
6811
7162
 
6812
7163
fi
6813
7164
fi
6814
7165
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6815
7166
if test -n "$ac_ct_DSYMUTIL"; then
6816
 
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6817
 
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
7167
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
7168
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6818
7169
else
6819
 
  { echo "$as_me:$LINENO: result: no" >&5
6820
 
echo "${ECHO_T}no" >&6; }
 
7170
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7171
$as_echo "no" >&6; }
6821
7172
fi
6822
7173
 
6823
7174
  if test "x$ac_ct_DSYMUTIL" = x; then
6825
7176
  else
6826
7177
    case $cross_compiling:$ac_tool_warned in
6827
7178
yes:)
6828
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6829
 
whose name does not start with the host triplet.  If you think this
6830
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6831
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6832
 
whose name does not start with the host triplet.  If you think this
6833
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7179
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7180
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6834
7181
ac_tool_warned=yes ;;
6835
7182
esac
6836
7183
    DSYMUTIL=$ac_ct_DSYMUTIL
6842
7189
    if test -n "$ac_tool_prefix"; then
6843
7190
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6844
7191
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6845
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6846
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6847
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
6848
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7193
$as_echo_n "checking for $ac_word... " >&6; }
 
7194
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7195
  $as_echo_n "(cached) " >&6
6849
7196
else
6850
7197
  if test -n "$NMEDIT"; then
6851
7198
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6855
7202
do
6856
7203
  IFS=$as_save_IFS
6857
7204
  test -z "$as_dir" && as_dir=.
6858
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7205
    for ac_exec_ext in '' $ac_executable_extensions; do
6859
7206
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6860
7207
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6861
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7208
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6862
7209
    break 2
6863
7210
  fi
6864
7211
done
6865
 
done
 
7212
  done
6866
7213
IFS=$as_save_IFS
6867
7214
 
6868
7215
fi
6869
7216
fi
6870
7217
NMEDIT=$ac_cv_prog_NMEDIT
6871
7218
if test -n "$NMEDIT"; then
6872
 
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6873
 
echo "${ECHO_T}$NMEDIT" >&6; }
 
7219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
7220
$as_echo "$NMEDIT" >&6; }
6874
7221
else
6875
 
  { echo "$as_me:$LINENO: result: no" >&5
6876
 
echo "${ECHO_T}no" >&6; }
 
7222
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7223
$as_echo "no" >&6; }
6877
7224
fi
6878
7225
 
6879
7226
 
6882
7229
  ac_ct_NMEDIT=$NMEDIT
6883
7230
  # Extract the first word of "nmedit", so it can be a program name with args.
6884
7231
set dummy nmedit; ac_word=$2
6885
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6886
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6887
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6888
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7233
$as_echo_n "checking for $ac_word... " >&6; }
 
7234
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7235
  $as_echo_n "(cached) " >&6
6889
7236
else
6890
7237
  if test -n "$ac_ct_NMEDIT"; then
6891
7238
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6895
7242
do
6896
7243
  IFS=$as_save_IFS
6897
7244
  test -z "$as_dir" && as_dir=.
6898
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7245
    for ac_exec_ext in '' $ac_executable_extensions; do
6899
7246
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6900
7247
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6901
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7248
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6902
7249
    break 2
6903
7250
  fi
6904
7251
done
6905
 
done
 
7252
  done
6906
7253
IFS=$as_save_IFS
6907
7254
 
6908
7255
fi
6909
7256
fi
6910
7257
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6911
7258
if test -n "$ac_ct_NMEDIT"; then
6912
 
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6913
 
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
7259
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
7260
$as_echo "$ac_ct_NMEDIT" >&6; }
6914
7261
else
6915
 
  { echo "$as_me:$LINENO: result: no" >&5
6916
 
echo "${ECHO_T}no" >&6; }
 
7262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7263
$as_echo "no" >&6; }
6917
7264
fi
6918
7265
 
6919
7266
  if test "x$ac_ct_NMEDIT" = x; then
6921
7268
  else
6922
7269
    case $cross_compiling:$ac_tool_warned in
6923
7270
yes:)
6924
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6925
 
whose name does not start with the host triplet.  If you think this
6926
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6927
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6928
 
whose name does not start with the host triplet.  If you think this
6929
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7271
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7272
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930
7273
ac_tool_warned=yes ;;
6931
7274
esac
6932
7275
    NMEDIT=$ac_ct_NMEDIT
6938
7281
    if test -n "$ac_tool_prefix"; then
6939
7282
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6940
7283
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6941
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6942
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6943
 
if test "${ac_cv_prog_LIPO+set}" = set; then
6944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7285
$as_echo_n "checking for $ac_word... " >&6; }
 
7286
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7287
  $as_echo_n "(cached) " >&6
6945
7288
else
6946
7289
  if test -n "$LIPO"; then
6947
7290
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6951
7294
do
6952
7295
  IFS=$as_save_IFS
6953
7296
  test -z "$as_dir" && as_dir=.
6954
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7297
    for ac_exec_ext in '' $ac_executable_extensions; do
6955
7298
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6956
7299
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6957
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7300
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6958
7301
    break 2
6959
7302
  fi
6960
7303
done
6961
 
done
 
7304
  done
6962
7305
IFS=$as_save_IFS
6963
7306
 
6964
7307
fi
6965
7308
fi
6966
7309
LIPO=$ac_cv_prog_LIPO
6967
7310
if test -n "$LIPO"; then
6968
 
  { echo "$as_me:$LINENO: result: $LIPO" >&5
6969
 
echo "${ECHO_T}$LIPO" >&6; }
 
7311
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
7312
$as_echo "$LIPO" >&6; }
6970
7313
else
6971
 
  { echo "$as_me:$LINENO: result: no" >&5
6972
 
echo "${ECHO_T}no" >&6; }
 
7314
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7315
$as_echo "no" >&6; }
6973
7316
fi
6974
7317
 
6975
7318
 
6978
7321
  ac_ct_LIPO=$LIPO
6979
7322
  # Extract the first word of "lipo", so it can be a program name with args.
6980
7323
set dummy lipo; ac_word=$2
6981
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6982
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6983
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6984
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7325
$as_echo_n "checking for $ac_word... " >&6; }
 
7326
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7327
  $as_echo_n "(cached) " >&6
6985
7328
else
6986
7329
  if test -n "$ac_ct_LIPO"; then
6987
7330
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6991
7334
do
6992
7335
  IFS=$as_save_IFS
6993
7336
  test -z "$as_dir" && as_dir=.
6994
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7337
    for ac_exec_ext in '' $ac_executable_extensions; do
6995
7338
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6996
7339
    ac_cv_prog_ac_ct_LIPO="lipo"
6997
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7340
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6998
7341
    break 2
6999
7342
  fi
7000
7343
done
7001
 
done
 
7344
  done
7002
7345
IFS=$as_save_IFS
7003
7346
 
7004
7347
fi
7005
7348
fi
7006
7349
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7007
7350
if test -n "$ac_ct_LIPO"; then
7008
 
  { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7009
 
echo "${ECHO_T}$ac_ct_LIPO" >&6; }
 
7351
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
7352
$as_echo "$ac_ct_LIPO" >&6; }
7010
7353
else
7011
 
  { echo "$as_me:$LINENO: result: no" >&5
7012
 
echo "${ECHO_T}no" >&6; }
 
7354
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7355
$as_echo "no" >&6; }
7013
7356
fi
7014
7357
 
7015
7358
  if test "x$ac_ct_LIPO" = x; then
7017
7360
  else
7018
7361
    case $cross_compiling:$ac_tool_warned in
7019
7362
yes:)
7020
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7021
 
whose name does not start with the host triplet.  If you think this
7022
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7023
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7024
 
whose name does not start with the host triplet.  If you think this
7025
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7363
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7364
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7026
7365
ac_tool_warned=yes ;;
7027
7366
esac
7028
7367
    LIPO=$ac_ct_LIPO
7034
7373
    if test -n "$ac_tool_prefix"; then
7035
7374
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7036
7375
set dummy ${ac_tool_prefix}otool; ac_word=$2
7037
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7038
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7039
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
7040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7377
$as_echo_n "checking for $ac_word... " >&6; }
 
7378
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7379
  $as_echo_n "(cached) " >&6
7041
7380
else
7042
7381
  if test -n "$OTOOL"; then
7043
7382
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7047
7386
do
7048
7387
  IFS=$as_save_IFS
7049
7388
  test -z "$as_dir" && as_dir=.
7050
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7389
    for ac_exec_ext in '' $ac_executable_extensions; do
7051
7390
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7052
7391
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7053
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7392
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7054
7393
    break 2
7055
7394
  fi
7056
7395
done
7057
 
done
 
7396
  done
7058
7397
IFS=$as_save_IFS
7059
7398
 
7060
7399
fi
7061
7400
fi
7062
7401
OTOOL=$ac_cv_prog_OTOOL
7063
7402
if test -n "$OTOOL"; then
7064
 
  { echo "$as_me:$LINENO: result: $OTOOL" >&5
7065
 
echo "${ECHO_T}$OTOOL" >&6; }
 
7403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
7404
$as_echo "$OTOOL" >&6; }
7066
7405
else
7067
 
  { echo "$as_me:$LINENO: result: no" >&5
7068
 
echo "${ECHO_T}no" >&6; }
 
7406
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7407
$as_echo "no" >&6; }
7069
7408
fi
7070
7409
 
7071
7410
 
7074
7413
  ac_ct_OTOOL=$OTOOL
7075
7414
  # Extract the first word of "otool", so it can be a program name with args.
7076
7415
set dummy otool; ac_word=$2
7077
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7078
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7079
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7080
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7417
$as_echo_n "checking for $ac_word... " >&6; }
 
7418
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7419
  $as_echo_n "(cached) " >&6
7081
7420
else
7082
7421
  if test -n "$ac_ct_OTOOL"; then
7083
7422
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7087
7426
do
7088
7427
  IFS=$as_save_IFS
7089
7428
  test -z "$as_dir" && as_dir=.
7090
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7429
    for ac_exec_ext in '' $ac_executable_extensions; do
7091
7430
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7092
7431
    ac_cv_prog_ac_ct_OTOOL="otool"
7093
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7432
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094
7433
    break 2
7095
7434
  fi
7096
7435
done
7097
 
done
 
7436
  done
7098
7437
IFS=$as_save_IFS
7099
7438
 
7100
7439
fi
7101
7440
fi
7102
7441
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7103
7442
if test -n "$ac_ct_OTOOL"; then
7104
 
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7105
 
echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
 
7443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
7444
$as_echo "$ac_ct_OTOOL" >&6; }
7106
7445
else
7107
 
  { echo "$as_me:$LINENO: result: no" >&5
7108
 
echo "${ECHO_T}no" >&6; }
 
7446
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7447
$as_echo "no" >&6; }
7109
7448
fi
7110
7449
 
7111
7450
  if test "x$ac_ct_OTOOL" = x; then
7113
7452
  else
7114
7453
    case $cross_compiling:$ac_tool_warned in
7115
7454
yes:)
7116
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7117
 
whose name does not start with the host triplet.  If you think this
7118
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7119
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7120
 
whose name does not start with the host triplet.  If you think this
7121
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7455
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7456
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7122
7457
ac_tool_warned=yes ;;
7123
7458
esac
7124
7459
    OTOOL=$ac_ct_OTOOL
7130
7465
    if test -n "$ac_tool_prefix"; then
7131
7466
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7132
7467
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7133
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7134
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7135
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
7136
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7469
$as_echo_n "checking for $ac_word... " >&6; }
 
7470
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7471
  $as_echo_n "(cached) " >&6
7137
7472
else
7138
7473
  if test -n "$OTOOL64"; then
7139
7474
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7143
7478
do
7144
7479
  IFS=$as_save_IFS
7145
7480
  test -z "$as_dir" && as_dir=.
7146
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7481
    for ac_exec_ext in '' $ac_executable_extensions; do
7147
7482
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7148
7483
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7149
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7484
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7150
7485
    break 2
7151
7486
  fi
7152
7487
done
7153
 
done
 
7488
  done
7154
7489
IFS=$as_save_IFS
7155
7490
 
7156
7491
fi
7157
7492
fi
7158
7493
OTOOL64=$ac_cv_prog_OTOOL64
7159
7494
if test -n "$OTOOL64"; then
7160
 
  { echo "$as_me:$LINENO: result: $OTOOL64" >&5
7161
 
echo "${ECHO_T}$OTOOL64" >&6; }
 
7495
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7496
$as_echo "$OTOOL64" >&6; }
7162
7497
else
7163
 
  { echo "$as_me:$LINENO: result: no" >&5
7164
 
echo "${ECHO_T}no" >&6; }
 
7498
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7499
$as_echo "no" >&6; }
7165
7500
fi
7166
7501
 
7167
7502
 
7170
7505
  ac_ct_OTOOL64=$OTOOL64
7171
7506
  # Extract the first word of "otool64", so it can be a program name with args.
7172
7507
set dummy otool64; ac_word=$2
7173
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7174
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7175
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7176
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7509
$as_echo_n "checking for $ac_word... " >&6; }
 
7510
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7511
  $as_echo_n "(cached) " >&6
7177
7512
else
7178
7513
  if test -n "$ac_ct_OTOOL64"; then
7179
7514
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7183
7518
do
7184
7519
  IFS=$as_save_IFS
7185
7520
  test -z "$as_dir" && as_dir=.
7186
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7521
    for ac_exec_ext in '' $ac_executable_extensions; do
7187
7522
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7188
7523
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7189
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7524
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7190
7525
    break 2
7191
7526
  fi
7192
7527
done
7193
 
done
 
7528
  done
7194
7529
IFS=$as_save_IFS
7195
7530
 
7196
7531
fi
7197
7532
fi
7198
7533
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7199
7534
if test -n "$ac_ct_OTOOL64"; then
7200
 
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7201
 
echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
 
7535
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7536
$as_echo "$ac_ct_OTOOL64" >&6; }
7202
7537
else
7203
 
  { echo "$as_me:$LINENO: result: no" >&5
7204
 
echo "${ECHO_T}no" >&6; }
 
7538
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7539
$as_echo "no" >&6; }
7205
7540
fi
7206
7541
 
7207
7542
  if test "x$ac_ct_OTOOL64" = x; then
7209
7544
  else
7210
7545
    case $cross_compiling:$ac_tool_warned in
7211
7546
yes:)
7212
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7213
 
whose name does not start with the host triplet.  If you think this
7214
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7215
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7216
 
whose name does not start with the host triplet.  If you think this
7217
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7547
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7548
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7218
7549
ac_tool_warned=yes ;;
7219
7550
esac
7220
7551
    OTOOL64=$ac_ct_OTOOL64
7249
7580
 
7250
7581
 
7251
7582
 
7252
 
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7253
 
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7254
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7255
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7583
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7584
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7585
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7586
  $as_echo_n "(cached) " >&6
7256
7587
else
7257
7588
  lt_cv_apple_cc_single_mod=no
7258
7589
      if test -z "${LT_MULTI_MODULE}"; then
7276
7607
        rm -f conftest.*
7277
7608
      fi
7278
7609
fi
7279
 
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7280
 
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7281
 
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7282
 
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7283
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7284
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7611
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7612
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7613
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7614
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7615
  $as_echo_n "(cached) " >&6
7285
7616
else
7286
7617
  lt_cv_ld_exported_symbols_list=no
7287
7618
      save_LDFLAGS=$LDFLAGS
7288
7619
      echo "_main" > conftest.sym
7289
7620
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7290
 
      cat >conftest.$ac_ext <<_ACEOF
7291
 
/* confdefs.h.  */
7292
 
_ACEOF
7293
 
cat confdefs.h >>conftest.$ac_ext
7294
 
cat >>conftest.$ac_ext <<_ACEOF
 
7621
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7295
7622
/* end confdefs.h.  */
7296
7623
 
7297
7624
int
7302
7629
  return 0;
7303
7630
}
7304
7631
_ACEOF
7305
 
rm -f conftest.$ac_objext conftest$ac_exeext
7306
 
if { (ac_try="$ac_link"
7307
 
case "(($ac_try" in
7308
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7309
 
  *) ac_try_echo=$ac_try;;
7310
 
esac
7311
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7312
 
  (eval "$ac_link") 2>conftest.er1
7313
 
  ac_status=$?
7314
 
  grep -v '^ *+' conftest.er1 >conftest.err
7315
 
  rm -f conftest.er1
7316
 
  cat conftest.err >&5
7317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7318
 
  (exit $ac_status); } && {
7319
 
         test -z "$ac_c_werror_flag" ||
7320
 
         test ! -s conftest.err
7321
 
       } && test -s conftest$ac_exeext &&
7322
 
       $as_test_x conftest$ac_exeext; then
 
7632
if ac_fn_c_try_link "$LINENO"; then :
7323
7633
  lt_cv_ld_exported_symbols_list=yes
7324
7634
else
7325
 
  echo "$as_me: failed program was:" >&5
7326
 
sed 's/^/| /' conftest.$ac_ext >&5
7327
 
 
7328
 
        lt_cv_ld_exported_symbols_list=no
 
7635
  lt_cv_ld_exported_symbols_list=no
7329
7636
fi
7330
 
 
7331
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7332
 
      conftest$ac_exeext conftest.$ac_ext
 
7637
rm -f core conftest.err conftest.$ac_objext \
 
7638
    conftest$ac_exeext conftest.$ac_ext
7333
7639
        LDFLAGS="$save_LDFLAGS"
7334
7640
 
7335
7641
fi
7336
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7337
 
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
7642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7643
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7338
7644
    case $host_os in
7339
7645
    rhapsody* | darwin1.[012])
7340
7646
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7375
7681
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7376
7682
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7377
7683
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7378
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7379
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
7684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
7685
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7380
7686
# On Suns, sometimes $CPP names a directory.
7381
7687
if test -n "$CPP" && test -d "$CPP"; then
7382
7688
  CPP=
7383
7689
fi
7384
7690
if test -z "$CPP"; then
7385
 
  if test "${ac_cv_prog_CPP+set}" = set; then
7386
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7691
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7692
  $as_echo_n "(cached) " >&6
7387
7693
else
7388
7694
      # Double quotes because CPP needs to be expanded
7389
7695
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7397
7703
  # <limits.h> exists even on freestanding compilers.
7398
7704
  # On the NeXT, cc -E runs the code through the compiler's parser,
7399
7705
  # not just through cpp. "Syntax error" is here to catch this case.
7400
 
  cat >conftest.$ac_ext <<_ACEOF
7401
 
/* confdefs.h.  */
7402
 
_ACEOF
7403
 
cat confdefs.h >>conftest.$ac_ext
7404
 
cat >>conftest.$ac_ext <<_ACEOF
 
7706
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7405
7707
/* end confdefs.h.  */
7406
7708
#ifdef __STDC__
7407
7709
# include <limits.h>
7410
7712
#endif
7411
7713
                     Syntax error
7412
7714
_ACEOF
7413
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7414
 
case "(($ac_try" in
7415
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7416
 
  *) ac_try_echo=$ac_try;;
7417
 
esac
7418
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7419
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7420
 
  ac_status=$?
7421
 
  grep -v '^ *+' conftest.er1 >conftest.err
7422
 
  rm -f conftest.er1
7423
 
  cat conftest.err >&5
7424
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425
 
  (exit $ac_status); } >/dev/null && {
7426
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7427
 
         test ! -s conftest.err
7428
 
       }; then
7429
 
  :
 
7715
if ac_fn_c_try_cpp "$LINENO"; then :
 
7716
 
7430
7717
else
7431
 
  echo "$as_me: failed program was:" >&5
7432
 
sed 's/^/| /' conftest.$ac_ext >&5
7433
 
 
7434
7718
  # Broken: fails on valid input.
7435
7719
continue
7436
7720
fi
7437
 
 
7438
7721
rm -f conftest.err conftest.$ac_ext
7439
7722
 
7440
7723
  # OK, works on sane cases.  Now check whether nonexistent headers
7441
7724
  # can be detected and how.
7442
 
  cat >conftest.$ac_ext <<_ACEOF
7443
 
/* confdefs.h.  */
7444
 
_ACEOF
7445
 
cat confdefs.h >>conftest.$ac_ext
7446
 
cat >>conftest.$ac_ext <<_ACEOF
 
7725
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7447
7726
/* end confdefs.h.  */
7448
7727
#include <ac_nonexistent.h>
7449
7728
_ACEOF
7450
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7451
 
case "(($ac_try" in
7452
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7453
 
  *) ac_try_echo=$ac_try;;
7454
 
esac
7455
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7456
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7457
 
  ac_status=$?
7458
 
  grep -v '^ *+' conftest.er1 >conftest.err
7459
 
  rm -f conftest.er1
7460
 
  cat conftest.err >&5
7461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462
 
  (exit $ac_status); } >/dev/null && {
7463
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7464
 
         test ! -s conftest.err
7465
 
       }; then
 
7729
if ac_fn_c_try_cpp "$LINENO"; then :
7466
7730
  # Broken: success on invalid input.
7467
7731
continue
7468
7732
else
7469
 
  echo "$as_me: failed program was:" >&5
7470
 
sed 's/^/| /' conftest.$ac_ext >&5
7471
 
 
7472
7733
  # Passes both tests.
7473
7734
ac_preproc_ok=:
7474
7735
break
7475
7736
fi
7476
 
 
7477
7737
rm -f conftest.err conftest.$ac_ext
7478
7738
 
7479
7739
done
7480
7740
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7481
7741
rm -f conftest.err conftest.$ac_ext
7482
 
if $ac_preproc_ok; then
 
7742
if $ac_preproc_ok; then :
7483
7743
  break
7484
7744
fi
7485
7745
 
7491
7751
else
7492
7752
  ac_cv_prog_CPP=$CPP
7493
7753
fi
7494
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
7495
 
echo "${ECHO_T}$CPP" >&6; }
 
7754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
7755
$as_echo "$CPP" >&6; }
7496
7756
ac_preproc_ok=false
7497
7757
for ac_c_preproc_warn_flag in '' yes
7498
7758
do
7502
7762
  # <limits.h> exists even on freestanding compilers.
7503
7763
  # On the NeXT, cc -E runs the code through the compiler's parser,
7504
7764
  # not just through cpp. "Syntax error" is here to catch this case.
7505
 
  cat >conftest.$ac_ext <<_ACEOF
7506
 
/* confdefs.h.  */
7507
 
_ACEOF
7508
 
cat confdefs.h >>conftest.$ac_ext
7509
 
cat >>conftest.$ac_ext <<_ACEOF
 
7765
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7510
7766
/* end confdefs.h.  */
7511
7767
#ifdef __STDC__
7512
7768
# include <limits.h>
7515
7771
#endif
7516
7772
                     Syntax error
7517
7773
_ACEOF
7518
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7519
 
case "(($ac_try" in
7520
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7521
 
  *) ac_try_echo=$ac_try;;
7522
 
esac
7523
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7524
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7525
 
  ac_status=$?
7526
 
  grep -v '^ *+' conftest.er1 >conftest.err
7527
 
  rm -f conftest.er1
7528
 
  cat conftest.err >&5
7529
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530
 
  (exit $ac_status); } >/dev/null && {
7531
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7532
 
         test ! -s conftest.err
7533
 
       }; then
7534
 
  :
 
7774
if ac_fn_c_try_cpp "$LINENO"; then :
 
7775
 
7535
7776
else
7536
 
  echo "$as_me: failed program was:" >&5
7537
 
sed 's/^/| /' conftest.$ac_ext >&5
7538
 
 
7539
7777
  # Broken: fails on valid input.
7540
7778
continue
7541
7779
fi
7542
 
 
7543
7780
rm -f conftest.err conftest.$ac_ext
7544
7781
 
7545
7782
  # OK, works on sane cases.  Now check whether nonexistent headers
7546
7783
  # can be detected and how.
7547
 
  cat >conftest.$ac_ext <<_ACEOF
7548
 
/* confdefs.h.  */
7549
 
_ACEOF
7550
 
cat confdefs.h >>conftest.$ac_ext
7551
 
cat >>conftest.$ac_ext <<_ACEOF
 
7784
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7552
7785
/* end confdefs.h.  */
7553
7786
#include <ac_nonexistent.h>
7554
7787
_ACEOF
7555
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7556
 
case "(($ac_try" in
7557
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7558
 
  *) ac_try_echo=$ac_try;;
7559
 
esac
7560
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7561
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7562
 
  ac_status=$?
7563
 
  grep -v '^ *+' conftest.er1 >conftest.err
7564
 
  rm -f conftest.er1
7565
 
  cat conftest.err >&5
7566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567
 
  (exit $ac_status); } >/dev/null && {
7568
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7569
 
         test ! -s conftest.err
7570
 
       }; then
 
7788
if ac_fn_c_try_cpp "$LINENO"; then :
7571
7789
  # Broken: success on invalid input.
7572
7790
continue
7573
7791
else
7574
 
  echo "$as_me: failed program was:" >&5
7575
 
sed 's/^/| /' conftest.$ac_ext >&5
7576
 
 
7577
7792
  # Passes both tests.
7578
7793
ac_preproc_ok=:
7579
7794
break
7580
7795
fi
7581
 
 
7582
7796
rm -f conftest.err conftest.$ac_ext
7583
7797
 
7584
7798
done
7585
7799
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7586
7800
rm -f conftest.err conftest.$ac_ext
7587
 
if $ac_preproc_ok; then
7588
 
  :
 
7801
if $ac_preproc_ok; then :
 
7802
 
7589
7803
else
7590
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7591
 
See \`config.log' for more details." >&5
7592
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7593
 
See \`config.log' for more details." >&2;}
7594
 
   { (exit 1); exit 1; }; }
 
7804
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7805
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7806
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
7807
See \`config.log' for more details." "$LINENO" 5; }
7595
7808
fi
7596
7809
 
7597
7810
ac_ext=c
7601
7814
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7602
7815
 
7603
7816
 
7604
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7605
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7606
 
if test "${ac_cv_header_stdc+set}" = set; then
7607
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7818
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7819
if test "${ac_cv_header_stdc+set}" = set; then :
 
7820
  $as_echo_n "(cached) " >&6
7608
7821
else
7609
 
  cat >conftest.$ac_ext <<_ACEOF
7610
 
/* confdefs.h.  */
7611
 
_ACEOF
7612
 
cat confdefs.h >>conftest.$ac_ext
7613
 
cat >>conftest.$ac_ext <<_ACEOF
 
7822
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7614
7823
/* end confdefs.h.  */
7615
7824
#include <stdlib.h>
7616
7825
#include <stdarg.h>
7625
7834
  return 0;
7626
7835
}
7627
7836
_ACEOF
7628
 
rm -f conftest.$ac_objext
7629
 
if { (ac_try="$ac_compile"
7630
 
case "(($ac_try" in
7631
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7632
 
  *) ac_try_echo=$ac_try;;
7633
 
esac
7634
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7635
 
  (eval "$ac_compile") 2>conftest.er1
7636
 
  ac_status=$?
7637
 
  grep -v '^ *+' conftest.er1 >conftest.err
7638
 
  rm -f conftest.er1
7639
 
  cat conftest.err >&5
7640
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641
 
  (exit $ac_status); } && {
7642
 
         test -z "$ac_c_werror_flag" ||
7643
 
         test ! -s conftest.err
7644
 
       } && test -s conftest.$ac_objext; then
 
7837
if ac_fn_c_try_compile "$LINENO"; then :
7645
7838
  ac_cv_header_stdc=yes
7646
7839
else
7647
 
  echo "$as_me: failed program was:" >&5
7648
 
sed 's/^/| /' conftest.$ac_ext >&5
7649
 
 
7650
 
        ac_cv_header_stdc=no
 
7840
  ac_cv_header_stdc=no
7651
7841
fi
7652
 
 
7653
7842
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7654
7843
 
7655
7844
if test $ac_cv_header_stdc = yes; then
7656
7845
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7657
 
  cat >conftest.$ac_ext <<_ACEOF
7658
 
/* confdefs.h.  */
7659
 
_ACEOF
7660
 
cat confdefs.h >>conftest.$ac_ext
7661
 
cat >>conftest.$ac_ext <<_ACEOF
 
7846
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7662
7847
/* end confdefs.h.  */
7663
7848
#include <string.h>
7664
7849
 
7665
7850
_ACEOF
7666
7851
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7667
 
  $EGREP "memchr" >/dev/null 2>&1; then
7668
 
  :
 
7852
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7853
 
7669
7854
else
7670
7855
  ac_cv_header_stdc=no
7671
7856
fi
7675
7860
 
7676
7861
if test $ac_cv_header_stdc = yes; then
7677
7862
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7678
 
  cat >conftest.$ac_ext <<_ACEOF
7679
 
/* confdefs.h.  */
7680
 
_ACEOF
7681
 
cat confdefs.h >>conftest.$ac_ext
7682
 
cat >>conftest.$ac_ext <<_ACEOF
 
7863
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7683
7864
/* end confdefs.h.  */
7684
7865
#include <stdlib.h>
7685
7866
 
7686
7867
_ACEOF
7687
7868
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7688
 
  $EGREP "free" >/dev/null 2>&1; then
7689
 
  :
 
7869
  $EGREP "free" >/dev/null 2>&1; then :
 
7870
 
7690
7871
else
7691
7872
  ac_cv_header_stdc=no
7692
7873
fi
7696
7877
 
7697
7878
if test $ac_cv_header_stdc = yes; then
7698
7879
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7699
 
  if test "$cross_compiling" = yes; then
 
7880
  if test "$cross_compiling" = yes; then :
7700
7881
  :
7701
7882
else
7702
 
  cat >conftest.$ac_ext <<_ACEOF
7703
 
/* confdefs.h.  */
7704
 
_ACEOF
7705
 
cat confdefs.h >>conftest.$ac_ext
7706
 
cat >>conftest.$ac_ext <<_ACEOF
 
7883
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7707
7884
/* end confdefs.h.  */
7708
7885
#include <ctype.h>
7709
7886
#include <stdlib.h>
7730
7907
  return 0;
7731
7908
}
7732
7909
_ACEOF
7733
 
rm -f conftest$ac_exeext
7734
 
if { (ac_try="$ac_link"
7735
 
case "(($ac_try" in
7736
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7737
 
  *) ac_try_echo=$ac_try;;
7738
 
esac
7739
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7740
 
  (eval "$ac_link") 2>&5
7741
 
  ac_status=$?
7742
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7744
 
  { (case "(($ac_try" in
7745
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7746
 
  *) ac_try_echo=$ac_try;;
7747
 
esac
7748
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7749
 
  (eval "$ac_try") 2>&5
7750
 
  ac_status=$?
7751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752
 
  (exit $ac_status); }; }; then
7753
 
  :
 
7910
if ac_fn_c_try_run "$LINENO"; then :
 
7911
 
7754
7912
else
7755
 
  echo "$as_me: program exited with status $ac_status" >&5
7756
 
echo "$as_me: failed program was:" >&5
7757
 
sed 's/^/| /' conftest.$ac_ext >&5
7758
 
 
7759
 
( exit $ac_status )
7760
 
ac_cv_header_stdc=no
7761
 
fi
7762
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7763
 
fi
7764
 
 
7765
 
 
7766
 
fi
7767
 
fi
7768
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7769
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
7913
  ac_cv_header_stdc=no
 
7914
fi
 
7915
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7916
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7917
fi
 
7918
 
 
7919
fi
 
7920
fi
 
7921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
7922
$as_echo "$ac_cv_header_stdc" >&6; }
7770
7923
if test $ac_cv_header_stdc = yes; then
7771
7924
 
7772
 
cat >>confdefs.h <<\_ACEOF
7773
 
#define STDC_HEADERS 1
7774
 
_ACEOF
 
7925
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7775
7926
 
7776
7927
fi
7777
7928
 
7778
7929
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7779
 
 
7780
 
 
7781
 
 
7782
 
 
7783
 
 
7784
 
 
7785
 
 
7786
 
 
7787
 
 
7788
7930
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7789
7931
                  inttypes.h stdint.h unistd.h
7790
 
do
7791
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7792
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7793
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7794
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7796
 
else
7797
 
  cat >conftest.$ac_ext <<_ACEOF
7798
 
/* confdefs.h.  */
7799
 
_ACEOF
7800
 
cat confdefs.h >>conftest.$ac_ext
7801
 
cat >>conftest.$ac_ext <<_ACEOF
7802
 
/* end confdefs.h.  */
7803
 
$ac_includes_default
7804
 
 
7805
 
#include <$ac_header>
7806
 
_ACEOF
7807
 
rm -f conftest.$ac_objext
7808
 
if { (ac_try="$ac_compile"
7809
 
case "(($ac_try" in
7810
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7811
 
  *) ac_try_echo=$ac_try;;
7812
 
esac
7813
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7814
 
  (eval "$ac_compile") 2>conftest.er1
7815
 
  ac_status=$?
7816
 
  grep -v '^ *+' conftest.er1 >conftest.err
7817
 
  rm -f conftest.er1
7818
 
  cat conftest.err >&5
7819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820
 
  (exit $ac_status); } && {
7821
 
         test -z "$ac_c_werror_flag" ||
7822
 
         test ! -s conftest.err
7823
 
       } && test -s conftest.$ac_objext; then
7824
 
  eval "$as_ac_Header=yes"
7825
 
else
7826
 
  echo "$as_me: failed program was:" >&5
7827
 
sed 's/^/| /' conftest.$ac_ext >&5
7828
 
 
7829
 
        eval "$as_ac_Header=no"
7830
 
fi
7831
 
 
7832
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7833
 
fi
7834
 
ac_res=`eval echo '${'$as_ac_Header'}'`
7835
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7836
 
echo "${ECHO_T}$ac_res" >&6; }
7837
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
7932
do :
 
7933
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7934
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7935
"
 
7936
eval as_val=\$$as_ac_Header
 
7937
   if test "x$as_val" = x""yes; then :
7838
7938
  cat >>confdefs.h <<_ACEOF
7839
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7939
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7840
7940
_ACEOF
7841
7941
 
7842
7942
fi
7844
7944
done
7845
7945
 
7846
7946
 
7847
 
 
7848
7947
for ac_header in dlfcn.h
7849
 
do
7850
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7851
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7852
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7853
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7854
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7855
 
else
7856
 
  cat >conftest.$ac_ext <<_ACEOF
7857
 
/* confdefs.h.  */
7858
 
_ACEOF
7859
 
cat confdefs.h >>conftest.$ac_ext
7860
 
cat >>conftest.$ac_ext <<_ACEOF
7861
 
/* end confdefs.h.  */
7862
 
$ac_includes_default
7863
 
 
7864
 
#include <$ac_header>
7865
 
_ACEOF
7866
 
rm -f conftest.$ac_objext
7867
 
if { (ac_try="$ac_compile"
7868
 
case "(($ac_try" in
7869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7870
 
  *) ac_try_echo=$ac_try;;
7871
 
esac
7872
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7873
 
  (eval "$ac_compile") 2>conftest.er1
7874
 
  ac_status=$?
7875
 
  grep -v '^ *+' conftest.er1 >conftest.err
7876
 
  rm -f conftest.er1
7877
 
  cat conftest.err >&5
7878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879
 
  (exit $ac_status); } && {
7880
 
         test -z "$ac_c_werror_flag" ||
7881
 
         test ! -s conftest.err
7882
 
       } && test -s conftest.$ac_objext; then
7883
 
  eval "$as_ac_Header=yes"
7884
 
else
7885
 
  echo "$as_me: failed program was:" >&5
7886
 
sed 's/^/| /' conftest.$ac_ext >&5
7887
 
 
7888
 
        eval "$as_ac_Header=no"
7889
 
fi
7890
 
 
7891
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7892
 
fi
7893
 
ac_res=`eval echo '${'$as_ac_Header'}'`
7894
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7895
 
echo "${ECHO_T}$ac_res" >&6; }
7896
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
7948
do :
 
7949
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7950
"
 
7951
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7897
7952
  cat >>confdefs.h <<_ACEOF
7898
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7953
#define HAVE_DLFCN_H 1
7899
7954
_ACEOF
7900
7955
 
7901
7956
fi
7918
7973
  do
7919
7974
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7920
7975
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7921
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7922
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7923
 
if test "${ac_cv_prog_CXX+set}" = set; then
7924
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7977
$as_echo_n "checking for $ac_word... " >&6; }
 
7978
if test "${ac_cv_prog_CXX+set}" = set; then :
 
7979
  $as_echo_n "(cached) " >&6
7925
7980
else
7926
7981
  if test -n "$CXX"; then
7927
7982
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
7931
7986
do
7932
7987
  IFS=$as_save_IFS
7933
7988
  test -z "$as_dir" && as_dir=.
7934
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7989
    for ac_exec_ext in '' $ac_executable_extensions; do
7935
7990
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7936
7991
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7937
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7992
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7938
7993
    break 2
7939
7994
  fi
7940
7995
done
7941
 
done
 
7996
  done
7942
7997
IFS=$as_save_IFS
7943
7998
 
7944
7999
fi
7945
8000
fi
7946
8001
CXX=$ac_cv_prog_CXX
7947
8002
if test -n "$CXX"; then
7948
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
7949
 
echo "${ECHO_T}$CXX" >&6; }
 
8003
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
8004
$as_echo "$CXX" >&6; }
7950
8005
else
7951
 
  { echo "$as_me:$LINENO: result: no" >&5
7952
 
echo "${ECHO_T}no" >&6; }
 
8006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8007
$as_echo "no" >&6; }
7953
8008
fi
7954
8009
 
7955
8010
 
7962
8017
do
7963
8018
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7964
8019
set dummy $ac_prog; ac_word=$2
7965
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7966
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7967
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7968
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8021
$as_echo_n "checking for $ac_word... " >&6; }
 
8022
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
8023
  $as_echo_n "(cached) " >&6
7969
8024
else
7970
8025
  if test -n "$ac_ct_CXX"; then
7971
8026
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7975
8030
do
7976
8031
  IFS=$as_save_IFS
7977
8032
  test -z "$as_dir" && as_dir=.
7978
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8033
    for ac_exec_ext in '' $ac_executable_extensions; do
7979
8034
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7980
8035
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7981
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8036
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7982
8037
    break 2
7983
8038
  fi
7984
8039
done
7985
 
done
 
8040
  done
7986
8041
IFS=$as_save_IFS
7987
8042
 
7988
8043
fi
7989
8044
fi
7990
8045
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7991
8046
if test -n "$ac_ct_CXX"; then
7992
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7993
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
8047
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
8048
$as_echo "$ac_ct_CXX" >&6; }
7994
8049
else
7995
 
  { echo "$as_me:$LINENO: result: no" >&5
7996
 
echo "${ECHO_T}no" >&6; }
 
8050
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8051
$as_echo "no" >&6; }
7997
8052
fi
7998
8053
 
7999
8054
 
8005
8060
  else
8006
8061
    case $cross_compiling:$ac_tool_warned in
8007
8062
yes:)
8008
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8009
 
whose name does not start with the host triplet.  If you think this
8010
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8011
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8012
 
whose name does not start with the host triplet.  If you think this
8013
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8063
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8064
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8014
8065
ac_tool_warned=yes ;;
8015
8066
esac
8016
8067
    CXX=$ac_ct_CXX
8020
8071
  fi
8021
8072
fi
8022
8073
# Provide some information about the compiler.
8023
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
8024
 
ac_compiler=`set X $ac_compile; echo $2`
8025
 
{ (ac_try="$ac_compiler --version >&5"
8026
 
case "(($ac_try" in
8027
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8028
 
  *) ac_try_echo=$ac_try;;
8029
 
esac
8030
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8031
 
  (eval "$ac_compiler --version >&5") 2>&5
8032
 
  ac_status=$?
8033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034
 
  (exit $ac_status); }
8035
 
{ (ac_try="$ac_compiler -v >&5"
8036
 
case "(($ac_try" in
8037
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8038
 
  *) ac_try_echo=$ac_try;;
8039
 
esac
8040
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8041
 
  (eval "$ac_compiler -v >&5") 2>&5
8042
 
  ac_status=$?
8043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044
 
  (exit $ac_status); }
8045
 
{ (ac_try="$ac_compiler -V >&5"
8046
 
case "(($ac_try" in
8047
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8048
 
  *) ac_try_echo=$ac_try;;
8049
 
esac
8050
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8051
 
  (eval "$ac_compiler -V >&5") 2>&5
8052
 
  ac_status=$?
8053
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054
 
  (exit $ac_status); }
 
8074
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
8075
set X $ac_compile
 
8076
ac_compiler=$2
 
8077
for ac_option in --version -v -V -qversion; do
 
8078
  { { ac_try="$ac_compiler $ac_option >&5"
 
8079
case "(($ac_try" in
 
8080
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8081
  *) ac_try_echo=$ac_try;;
 
8082
esac
 
8083
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
8084
$as_echo "$ac_try_echo"; } >&5
 
8085
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
8086
  ac_status=$?
 
8087
  if test -s conftest.err; then
 
8088
    sed '10a\
 
8089
... rest of stderr output deleted ...
 
8090
         10q' conftest.err >conftest.er1
 
8091
    cat conftest.er1 >&5
 
8092
  fi
 
8093
  rm -f conftest.er1 conftest.err
 
8094
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8095
  test $ac_status = 0; }
 
8096
done
8055
8097
 
8056
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
8057
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
8058
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
8059
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
8099
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
8100
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
8101
  $as_echo_n "(cached) " >&6
8060
8102
else
8061
 
  cat >conftest.$ac_ext <<_ACEOF
8062
 
/* confdefs.h.  */
8063
 
_ACEOF
8064
 
cat confdefs.h >>conftest.$ac_ext
8065
 
cat >>conftest.$ac_ext <<_ACEOF
 
8103
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8066
8104
/* end confdefs.h.  */
8067
8105
 
8068
8106
int
8076
8114
  return 0;
8077
8115
}
8078
8116
_ACEOF
8079
 
rm -f conftest.$ac_objext
8080
 
if { (ac_try="$ac_compile"
8081
 
case "(($ac_try" in
8082
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8083
 
  *) ac_try_echo=$ac_try;;
8084
 
esac
8085
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8086
 
  (eval "$ac_compile") 2>conftest.er1
8087
 
  ac_status=$?
8088
 
  grep -v '^ *+' conftest.er1 >conftest.err
8089
 
  rm -f conftest.er1
8090
 
  cat conftest.err >&5
8091
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092
 
  (exit $ac_status); } && {
8093
 
         test -z "$ac_cxx_werror_flag" ||
8094
 
         test ! -s conftest.err
8095
 
       } && test -s conftest.$ac_objext; then
 
8117
if ac_fn_cxx_try_compile "$LINENO"; then :
8096
8118
  ac_compiler_gnu=yes
8097
8119
else
8098
 
  echo "$as_me: failed program was:" >&5
8099
 
sed 's/^/| /' conftest.$ac_ext >&5
8100
 
 
8101
 
        ac_compiler_gnu=no
 
8120
  ac_compiler_gnu=no
8102
8121
fi
8103
 
 
8104
8122
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8105
8123
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8106
8124
 
8107
8125
fi
8108
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
8109
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
8110
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
8126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
8127
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
8128
if test $ac_compiler_gnu = yes; then
 
8129
  GXX=yes
 
8130
else
 
8131
  GXX=
 
8132
fi
8111
8133
ac_test_CXXFLAGS=${CXXFLAGS+set}
8112
8134
ac_save_CXXFLAGS=$CXXFLAGS
8113
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
8114
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
8115
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
8116
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
8136
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
8137
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
8138
  $as_echo_n "(cached) " >&6
8117
8139
else
8118
8140
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8119
8141
   ac_cxx_werror_flag=yes
8120
8142
   ac_cv_prog_cxx_g=no
8121
8143
   CXXFLAGS="-g"
8122
 
   cat >conftest.$ac_ext <<_ACEOF
8123
 
/* confdefs.h.  */
8124
 
_ACEOF
8125
 
cat confdefs.h >>conftest.$ac_ext
8126
 
cat >>conftest.$ac_ext <<_ACEOF
 
8144
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8127
8145
/* end confdefs.h.  */
8128
8146
 
8129
8147
int
8134
8152
  return 0;
8135
8153
}
8136
8154
_ACEOF
8137
 
rm -f conftest.$ac_objext
8138
 
if { (ac_try="$ac_compile"
8139
 
case "(($ac_try" in
8140
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8141
 
  *) ac_try_echo=$ac_try;;
8142
 
esac
8143
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8144
 
  (eval "$ac_compile") 2>conftest.er1
8145
 
  ac_status=$?
8146
 
  grep -v '^ *+' conftest.er1 >conftest.err
8147
 
  rm -f conftest.er1
8148
 
  cat conftest.err >&5
8149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150
 
  (exit $ac_status); } && {
8151
 
         test -z "$ac_cxx_werror_flag" ||
8152
 
         test ! -s conftest.err
8153
 
       } && test -s conftest.$ac_objext; then
 
8155
if ac_fn_cxx_try_compile "$LINENO"; then :
8154
8156
  ac_cv_prog_cxx_g=yes
8155
8157
else
8156
 
  echo "$as_me: failed program was:" >&5
8157
 
sed 's/^/| /' conftest.$ac_ext >&5
8158
 
 
8159
 
        CXXFLAGS=""
8160
 
      cat >conftest.$ac_ext <<_ACEOF
8161
 
/* confdefs.h.  */
8162
 
_ACEOF
8163
 
cat confdefs.h >>conftest.$ac_ext
8164
 
cat >>conftest.$ac_ext <<_ACEOF
 
8158
  CXXFLAGS=""
 
8159
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8165
8160
/* end confdefs.h.  */
8166
8161
 
8167
8162
int
8172
8167
  return 0;
8173
8168
}
8174
8169
_ACEOF
8175
 
rm -f conftest.$ac_objext
8176
 
if { (ac_try="$ac_compile"
8177
 
case "(($ac_try" in
8178
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8179
 
  *) ac_try_echo=$ac_try;;
8180
 
esac
8181
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8182
 
  (eval "$ac_compile") 2>conftest.er1
8183
 
  ac_status=$?
8184
 
  grep -v '^ *+' conftest.er1 >conftest.err
8185
 
  rm -f conftest.er1
8186
 
  cat conftest.err >&5
8187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8188
 
  (exit $ac_status); } && {
8189
 
         test -z "$ac_cxx_werror_flag" ||
8190
 
         test ! -s conftest.err
8191
 
       } && test -s conftest.$ac_objext; then
8192
 
  :
 
8170
if ac_fn_cxx_try_compile "$LINENO"; then :
 
8171
 
8193
8172
else
8194
 
  echo "$as_me: failed program was:" >&5
8195
 
sed 's/^/| /' conftest.$ac_ext >&5
8196
 
 
8197
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
8173
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8198
8174
         CXXFLAGS="-g"
8199
 
         cat >conftest.$ac_ext <<_ACEOF
8200
 
/* confdefs.h.  */
8201
 
_ACEOF
8202
 
cat confdefs.h >>conftest.$ac_ext
8203
 
cat >>conftest.$ac_ext <<_ACEOF
 
8175
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8204
8176
/* end confdefs.h.  */
8205
8177
 
8206
8178
int
8211
8183
  return 0;
8212
8184
}
8213
8185
_ACEOF
8214
 
rm -f conftest.$ac_objext
8215
 
if { (ac_try="$ac_compile"
8216
 
case "(($ac_try" in
8217
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8218
 
  *) ac_try_echo=$ac_try;;
8219
 
esac
8220
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8221
 
  (eval "$ac_compile") 2>conftest.er1
8222
 
  ac_status=$?
8223
 
  grep -v '^ *+' conftest.er1 >conftest.err
8224
 
  rm -f conftest.er1
8225
 
  cat conftest.err >&5
8226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227
 
  (exit $ac_status); } && {
8228
 
         test -z "$ac_cxx_werror_flag" ||
8229
 
         test ! -s conftest.err
8230
 
       } && test -s conftest.$ac_objext; then
 
8186
if ac_fn_cxx_try_compile "$LINENO"; then :
8231
8187
  ac_cv_prog_cxx_g=yes
8232
 
else
8233
 
  echo "$as_me: failed program was:" >&5
8234
 
sed 's/^/| /' conftest.$ac_ext >&5
8235
 
 
8236
 
 
8237
 
fi
8238
 
 
8239
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8240
 
fi
8241
 
 
8242
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8243
 
fi
8244
 
 
 
8188
fi
 
8189
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8190
fi
 
8191
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8192
fi
8245
8193
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8246
8194
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8247
8195
fi
8248
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
8249
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
8196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
8197
$as_echo "$ac_cv_prog_cxx_g" >&6; }
8250
8198
if test "$ac_test_CXXFLAGS" = set; then
8251
8199
  CXXFLAGS=$ac_save_CXXFLAGS
8252
8200
elif test $ac_cv_prog_cxx_g = yes; then
8270
8218
 
8271
8219
depcc="$CXX"  am_compiler_list=
8272
8220
 
8273
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
8274
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
8275
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
8276
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
8222
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
8223
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
8224
  $as_echo_n "(cached) " >&6
8277
8225
else
8278
8226
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8279
8227
  # We make a subdir and do the tests there.  Otherwise we can end up
8298
8246
  if test "$am_compiler_list" = ""; then
8299
8247
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8300
8248
  fi
 
8249
  am__universal=false
 
8250
  case " $depcc " in #(
 
8251
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
8252
     esac
 
8253
 
8301
8254
  for depmode in $am_compiler_list; do
8302
8255
    # Setup a source with many dependencies, because some compilers
8303
8256
    # like to wrap large dependency lists on column 80 (with \), and
8315
8268
    done
8316
8269
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8317
8270
 
 
8271
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
8272
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
8273
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
8274
    # versions had trouble with output in subdirs
 
8275
    am__obj=sub/conftest.${OBJEXT-o}
 
8276
    am__minus_obj="-o $am__obj"
8318
8277
    case $depmode in
 
8278
    gcc)
 
8279
      # This depmode causes a compiler race in universal mode.
 
8280
      test "$am__universal" = false || continue
 
8281
      ;;
8319
8282
    nosideeffect)
8320
8283
      # after this tag, mechanisms are not by side-effect, so they'll
8321
8284
      # only be used when explicitly requested
8325
8288
        break
8326
8289
      fi
8327
8290
      ;;
 
8291
    msvisualcpp | msvcmsys)
 
8292
      # This compiler won't grok `-c -o', but also, the minuso test has
 
8293
      # not run yet.  These depmodes are late enough in the game, and
 
8294
      # so weak that their functioning should not be impacted.
 
8295
      am__obj=conftest.${OBJEXT-o}
 
8296
      am__minus_obj=
 
8297
      ;;
8328
8298
    none) break ;;
8329
8299
    esac
8330
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8331
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
8332
 
    # handle `-M -o', and we need to detect this.
8333
8300
    if depmode=$depmode \
8334
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
8301
       source=sub/conftest.c object=$am__obj \
8335
8302
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8336
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
8303
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8337
8304
         >/dev/null 2>conftest.err &&
8338
8305
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8339
8306
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8340
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
8307
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8341
8308
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8342
8309
      # icc doesn't choke on unknown options, it will just issue warnings
8343
8310
      # or remarks (even with -Werror).  So we grep stderr for any message
8361
8328
fi
8362
8329
 
8363
8330
fi
8364
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
8365
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
8331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
8332
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8366
8333
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8367
8334
 
8368
8335
 if
8384
8351
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8385
8352
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8386
8353
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8387
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8388
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
8354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
8355
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8389
8356
if test -z "$CXXCPP"; then
8390
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8391
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8357
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
8358
  $as_echo_n "(cached) " >&6
8392
8359
else
8393
8360
      # Double quotes because CXXCPP needs to be expanded
8394
8361
    for CXXCPP in "$CXX -E" "/lib/cpp"
8402
8369
  # <limits.h> exists even on freestanding compilers.
8403
8370
  # On the NeXT, cc -E runs the code through the compiler's parser,
8404
8371
  # not just through cpp. "Syntax error" is here to catch this case.
8405
 
  cat >conftest.$ac_ext <<_ACEOF
8406
 
/* confdefs.h.  */
8407
 
_ACEOF
8408
 
cat confdefs.h >>conftest.$ac_ext
8409
 
cat >>conftest.$ac_ext <<_ACEOF
 
8372
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8410
8373
/* end confdefs.h.  */
8411
8374
#ifdef __STDC__
8412
8375
# include <limits.h>
8415
8378
#endif
8416
8379
                     Syntax error
8417
8380
_ACEOF
8418
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8419
 
case "(($ac_try" in
8420
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8421
 
  *) ac_try_echo=$ac_try;;
8422
 
esac
8423
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8424
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8425
 
  ac_status=$?
8426
 
  grep -v '^ *+' conftest.er1 >conftest.err
8427
 
  rm -f conftest.er1
8428
 
  cat conftest.err >&5
8429
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430
 
  (exit $ac_status); } >/dev/null && {
8431
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8432
 
         test ! -s conftest.err
8433
 
       }; then
8434
 
  :
 
8381
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8382
 
8435
8383
else
8436
 
  echo "$as_me: failed program was:" >&5
8437
 
sed 's/^/| /' conftest.$ac_ext >&5
8438
 
 
8439
8384
  # Broken: fails on valid input.
8440
8385
continue
8441
8386
fi
8442
 
 
8443
8387
rm -f conftest.err conftest.$ac_ext
8444
8388
 
8445
8389
  # OK, works on sane cases.  Now check whether nonexistent headers
8446
8390
  # can be detected and how.
8447
 
  cat >conftest.$ac_ext <<_ACEOF
8448
 
/* confdefs.h.  */
8449
 
_ACEOF
8450
 
cat confdefs.h >>conftest.$ac_ext
8451
 
cat >>conftest.$ac_ext <<_ACEOF
 
8391
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452
8392
/* end confdefs.h.  */
8453
8393
#include <ac_nonexistent.h>
8454
8394
_ACEOF
8455
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8456
 
case "(($ac_try" in
8457
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8458
 
  *) ac_try_echo=$ac_try;;
8459
 
esac
8460
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8461
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8462
 
  ac_status=$?
8463
 
  grep -v '^ *+' conftest.er1 >conftest.err
8464
 
  rm -f conftest.er1
8465
 
  cat conftest.err >&5
8466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467
 
  (exit $ac_status); } >/dev/null && {
8468
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8469
 
         test ! -s conftest.err
8470
 
       }; then
 
8395
if ac_fn_cxx_try_cpp "$LINENO"; then :
8471
8396
  # Broken: success on invalid input.
8472
8397
continue
8473
8398
else
8474
 
  echo "$as_me: failed program was:" >&5
8475
 
sed 's/^/| /' conftest.$ac_ext >&5
8476
 
 
8477
8399
  # Passes both tests.
8478
8400
ac_preproc_ok=:
8479
8401
break
8480
8402
fi
8481
 
 
8482
8403
rm -f conftest.err conftest.$ac_ext
8483
8404
 
8484
8405
done
8485
8406
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8486
8407
rm -f conftest.err conftest.$ac_ext
8487
 
if $ac_preproc_ok; then
 
8408
if $ac_preproc_ok; then :
8488
8409
  break
8489
8410
fi
8490
8411
 
8496
8417
else
8497
8418
  ac_cv_prog_CXXCPP=$CXXCPP
8498
8419
fi
8499
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
8500
 
echo "${ECHO_T}$CXXCPP" >&6; }
 
8420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
8421
$as_echo "$CXXCPP" >&6; }
8501
8422
ac_preproc_ok=false
8502
8423
for ac_cxx_preproc_warn_flag in '' yes
8503
8424
do
8507
8428
  # <limits.h> exists even on freestanding compilers.
8508
8429
  # On the NeXT, cc -E runs the code through the compiler's parser,
8509
8430
  # not just through cpp. "Syntax error" is here to catch this case.
8510
 
  cat >conftest.$ac_ext <<_ACEOF
8511
 
/* confdefs.h.  */
8512
 
_ACEOF
8513
 
cat confdefs.h >>conftest.$ac_ext
8514
 
cat >>conftest.$ac_ext <<_ACEOF
 
8431
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8515
8432
/* end confdefs.h.  */
8516
8433
#ifdef __STDC__
8517
8434
# include <limits.h>
8520
8437
#endif
8521
8438
                     Syntax error
8522
8439
_ACEOF
8523
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8524
 
case "(($ac_try" in
8525
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8526
 
  *) ac_try_echo=$ac_try;;
8527
 
esac
8528
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8529
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8530
 
  ac_status=$?
8531
 
  grep -v '^ *+' conftest.er1 >conftest.err
8532
 
  rm -f conftest.er1
8533
 
  cat conftest.err >&5
8534
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535
 
  (exit $ac_status); } >/dev/null && {
8536
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8537
 
         test ! -s conftest.err
8538
 
       }; then
8539
 
  :
 
8440
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8441
 
8540
8442
else
8541
 
  echo "$as_me: failed program was:" >&5
8542
 
sed 's/^/| /' conftest.$ac_ext >&5
8543
 
 
8544
8443
  # Broken: fails on valid input.
8545
8444
continue
8546
8445
fi
8547
 
 
8548
8446
rm -f conftest.err conftest.$ac_ext
8549
8447
 
8550
8448
  # OK, works on sane cases.  Now check whether nonexistent headers
8551
8449
  # can be detected and how.
8552
 
  cat >conftest.$ac_ext <<_ACEOF
8553
 
/* confdefs.h.  */
8554
 
_ACEOF
8555
 
cat confdefs.h >>conftest.$ac_ext
8556
 
cat >>conftest.$ac_ext <<_ACEOF
 
8450
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557
8451
/* end confdefs.h.  */
8558
8452
#include <ac_nonexistent.h>
8559
8453
_ACEOF
8560
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8561
 
case "(($ac_try" in
8562
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563
 
  *) ac_try_echo=$ac_try;;
8564
 
esac
8565
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8567
 
  ac_status=$?
8568
 
  grep -v '^ *+' conftest.er1 >conftest.err
8569
 
  rm -f conftest.er1
8570
 
  cat conftest.err >&5
8571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572
 
  (exit $ac_status); } >/dev/null && {
8573
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8574
 
         test ! -s conftest.err
8575
 
       }; then
 
8454
if ac_fn_cxx_try_cpp "$LINENO"; then :
8576
8455
  # Broken: success on invalid input.
8577
8456
continue
8578
8457
else
8579
 
  echo "$as_me: failed program was:" >&5
8580
 
sed 's/^/| /' conftest.$ac_ext >&5
8581
 
 
8582
8458
  # Passes both tests.
8583
8459
ac_preproc_ok=:
8584
8460
break
8585
8461
fi
8586
 
 
8587
8462
rm -f conftest.err conftest.$ac_ext
8588
8463
 
8589
8464
done
8590
8465
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8591
8466
rm -f conftest.err conftest.$ac_ext
8592
 
if $ac_preproc_ok; then
8593
 
  :
 
8467
if $ac_preproc_ok; then :
 
8468
 
8594
8469
else
8595
 
  _lt_caught_CXX_error=yes
 
8470
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
8471
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
8472
_lt_caught_CXX_error=yes; }
8596
8473
fi
8597
8474
 
8598
8475
ac_ext=c
8618
8495
 
8619
8496
 
8620
8497
            # Check whether --enable-shared was given.
8621
 
if test "${enable_shared+set}" = set; then
 
8498
if test "${enable_shared+set}" = set; then :
8622
8499
  enableval=$enable_shared; p=${PACKAGE-default}
8623
8500
    case $enableval in
8624
8501
    yes) enable_shared=yes ;;
8649
8526
 
8650
8527
 
8651
8528
  # Check whether --enable-static was given.
8652
 
if test "${enable_static+set}" = set; then
 
8529
if test "${enable_static+set}" = set; then :
8653
8530
  enableval=$enable_static; p=${PACKAGE-default}
8654
8531
    case $enableval in
8655
8532
    yes) enable_static=yes ;;
8681
8558
 
8682
8559
 
8683
8560
# Check whether --with-pic was given.
8684
 
if test "${with_pic+set}" = set; then
 
8561
if test "${with_pic+set}" = set; then :
8685
8562
  withval=$with_pic; pic_mode="$withval"
8686
8563
else
8687
8564
  pic_mode=default
8697
8574
 
8698
8575
 
8699
8576
  # Check whether --enable-fast-install was given.
8700
 
if test "${enable_fast_install+set}" = set; then
 
8577
if test "${enable_fast_install+set}" = set; then :
8701
8578
  enableval=$enable_fast_install; p=${PACKAGE-default}
8702
8579
    case $enableval in
8703
8580
    yes) enable_fast_install=yes ;;
8778
8655
   setopt NO_GLOB_SUBST
8779
8656
fi
8780
8657
 
8781
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
8782
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8783
 
if test "${lt_cv_objdir+set}" = set; then
8784
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
8659
$as_echo_n "checking for objdir... " >&6; }
 
8660
if test "${lt_cv_objdir+set}" = set; then :
 
8661
  $as_echo_n "(cached) " >&6
8785
8662
else
8786
8663
  rm -f .libs 2>/dev/null
8787
8664
mkdir .libs 2>/dev/null
8793
8670
fi
8794
8671
rmdir .libs 2>/dev/null
8795
8672
fi
8796
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8797
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
8673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
8674
$as_echo "$lt_cv_objdir" >&6; }
8798
8675
objdir=$lt_cv_objdir
8799
8676
 
8800
8677
 
8886
8763
case $deplibs_check_method in
8887
8764
file_magic*)
8888
8765
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8889
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8890
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8891
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8892
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8766
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
8767
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8768
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8769
  $as_echo_n "(cached) " >&6
8893
8770
else
8894
8771
  case $MAGIC_CMD in
8895
8772
[\\/*] |  ?:[\\/]*)
8939
8816
 
8940
8817
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8941
8818
if test -n "$MAGIC_CMD"; then
8942
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8943
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8819
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8820
$as_echo "$MAGIC_CMD" >&6; }
8944
8821
else
8945
 
  { echo "$as_me:$LINENO: result: no" >&5
8946
 
echo "${ECHO_T}no" >&6; }
 
8822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8823
$as_echo "no" >&6; }
8947
8824
fi
8948
8825
 
8949
8826
 
8952
8829
 
8953
8830
if test -z "$lt_cv_path_MAGIC_CMD"; then
8954
8831
  if test -n "$ac_tool_prefix"; then
8955
 
    { echo "$as_me:$LINENO: checking for file" >&5
8956
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8957
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8958
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8832
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
8833
$as_echo_n "checking for file... " >&6; }
 
8834
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8835
  $as_echo_n "(cached) " >&6
8959
8836
else
8960
8837
  case $MAGIC_CMD in
8961
8838
[\\/*] |  ?:[\\/]*)
9005
8882
 
9006
8883
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9007
8884
if test -n "$MAGIC_CMD"; then
9008
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9009
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8885
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8886
$as_echo "$MAGIC_CMD" >&6; }
9010
8887
else
9011
 
  { echo "$as_me:$LINENO: result: no" >&5
9012
 
echo "${ECHO_T}no" >&6; }
 
8888
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8889
$as_echo "no" >&6; }
9013
8890
fi
9014
8891
 
9015
8892
 
9089
8966
if test "$GCC" = yes; then
9090
8967
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9091
8968
 
9092
 
  { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9093
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9094
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9095
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8969
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8970
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8971
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8972
  $as_echo_n "(cached) " >&6
9096
8973
else
9097
8974
  lt_cv_prog_compiler_rtti_exceptions=no
9098
8975
   ac_outfile=conftest.$ac_objext
9107
8984
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9108
8985
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9109
8986
   -e 's:$: $lt_compiler_flag:'`
9110
 
   (eval echo "\"\$as_me:9110: $lt_compile\"" >&5)
 
8987
   (eval echo "\"\$as_me:8987: $lt_compile\"" >&5)
9111
8988
   (eval "$lt_compile" 2>conftest.err)
9112
8989
   ac_status=$?
9113
8990
   cat conftest.err >&5
9114
 
   echo "$as_me:9114: \$? = $ac_status" >&5
 
8991
   echo "$as_me:8991: \$? = $ac_status" >&5
9115
8992
   if (exit $ac_status) && test -s "$ac_outfile"; then
9116
8993
     # The compiler can only warn and ignore the option if not recognized
9117
8994
     # So say no if there are warnings other than the usual output.
9124
9001
   $RM conftest*
9125
9002
 
9126
9003
fi
9127
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9128
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
9004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9005
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9129
9006
 
9130
9007
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9131
9008
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9144
9021
lt_prog_compiler_pic=
9145
9022
lt_prog_compiler_static=
9146
9023
 
9147
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9148
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
9024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9025
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9149
9026
 
9150
9027
  if test "$GCC" = yes; then
9151
9028
    lt_prog_compiler_wl='-Wl,'
9416
9293
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9417
9294
    ;;
9418
9295
esac
9419
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9420
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
9296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
9297
$as_echo "$lt_prog_compiler_pic" >&6; }
9421
9298
 
9422
9299
 
9423
9300
 
9428
9305
# Check to make sure the PIC flag actually works.
9429
9306
#
9430
9307
if test -n "$lt_prog_compiler_pic"; then
9431
 
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9432
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9433
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9434
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9308
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9309
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
9310
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
9311
  $as_echo_n "(cached) " >&6
9435
9312
else
9436
9313
  lt_cv_prog_compiler_pic_works=no
9437
9314
   ac_outfile=conftest.$ac_objext
9446
9323
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9447
9324
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9448
9325
   -e 's:$: $lt_compiler_flag:'`
9449
 
   (eval echo "\"\$as_me:9449: $lt_compile\"" >&5)
 
9326
   (eval echo "\"\$as_me:9326: $lt_compile\"" >&5)
9450
9327
   (eval "$lt_compile" 2>conftest.err)
9451
9328
   ac_status=$?
9452
9329
   cat conftest.err >&5
9453
 
   echo "$as_me:9453: \$? = $ac_status" >&5
 
9330
   echo "$as_me:9330: \$? = $ac_status" >&5
9454
9331
   if (exit $ac_status) && test -s "$ac_outfile"; then
9455
9332
     # The compiler can only warn and ignore the option if not recognized
9456
9333
     # So say no if there are warnings other than the usual output.
9463
9340
   $RM conftest*
9464
9341
 
9465
9342
fi
9466
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9467
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
 
9343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
9344
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9468
9345
 
9469
9346
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9470
9347
    case $lt_prog_compiler_pic in
9487
9364
# Check to make sure the static flag actually works.
9488
9365
#
9489
9366
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9490
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9491
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9492
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9493
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9368
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
9369
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
9370
  $as_echo_n "(cached) " >&6
9494
9371
else
9495
9372
  lt_cv_prog_compiler_static_works=no
9496
9373
   save_LDFLAGS="$LDFLAGS"
9515
9392
   LDFLAGS="$save_LDFLAGS"
9516
9393
 
9517
9394
fi
9518
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9519
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
 
9395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
9396
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9520
9397
 
9521
9398
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9522
9399
    :
9530
9407
 
9531
9408
 
9532
9409
 
9533
 
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9534
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9535
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9536
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9537
 
else
9538
 
  lt_cv_prog_compiler_c_o=no
9539
 
   $RM -r conftest 2>/dev/null
9540
 
   mkdir conftest
9541
 
   cd conftest
9542
 
   mkdir out
9543
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9544
 
 
9545
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9546
 
   # Insert the option either (1) after the last *FLAGS variable, or
9547
 
   # (2) before a word containing "conftest.", or (3) at the end.
9548
 
   # Note that $ac_compile itself does not contain backslashes and begins
9549
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9550
 
   lt_compile=`echo "$ac_compile" | $SED \
9551
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9552
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9553
 
   -e 's:$: $lt_compiler_flag:'`
9554
 
   (eval echo "\"\$as_me:9554: $lt_compile\"" >&5)
9555
 
   (eval "$lt_compile" 2>out/conftest.err)
9556
 
   ac_status=$?
9557
 
   cat out/conftest.err >&5
9558
 
   echo "$as_me:9558: \$? = $ac_status" >&5
9559
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9560
 
   then
9561
 
     # The compiler can only warn and ignore the option if not recognized
9562
 
     # So say no if there are warnings
9563
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9564
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9565
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9566
 
       lt_cv_prog_compiler_c_o=yes
9567
 
     fi
9568
 
   fi
9569
 
   chmod u+w . 2>&5
9570
 
   $RM conftest*
9571
 
   # SGI C++ compiler will create directory out/ii_files/ for
9572
 
   # template instantiation
9573
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9574
 
   $RM out/* && rmdir out
9575
 
   cd ..
9576
 
   $RM -r conftest
9577
 
   $RM conftest*
9578
 
 
9579
 
fi
9580
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9581
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9582
 
 
9583
 
 
9584
 
 
9585
 
 
9586
 
 
9587
 
 
9588
 
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9589
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9590
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9591
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9592
 
else
9593
 
  lt_cv_prog_compiler_c_o=no
9594
 
   $RM -r conftest 2>/dev/null
9595
 
   mkdir conftest
9596
 
   cd conftest
9597
 
   mkdir out
9598
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9599
 
 
9600
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9601
 
   # Insert the option either (1) after the last *FLAGS variable, or
9602
 
   # (2) before a word containing "conftest.", or (3) at the end.
9603
 
   # Note that $ac_compile itself does not contain backslashes and begins
9604
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9605
 
   lt_compile=`echo "$ac_compile" | $SED \
9606
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9607
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9608
 
   -e 's:$: $lt_compiler_flag:'`
9609
 
   (eval echo "\"\$as_me:9609: $lt_compile\"" >&5)
9610
 
   (eval "$lt_compile" 2>out/conftest.err)
9611
 
   ac_status=$?
9612
 
   cat out/conftest.err >&5
9613
 
   echo "$as_me:9613: \$? = $ac_status" >&5
9614
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9615
 
   then
9616
 
     # The compiler can only warn and ignore the option if not recognized
9617
 
     # So say no if there are warnings
9618
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9619
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9620
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9621
 
       lt_cv_prog_compiler_c_o=yes
9622
 
     fi
9623
 
   fi
9624
 
   chmod u+w . 2>&5
9625
 
   $RM conftest*
9626
 
   # SGI C++ compiler will create directory out/ii_files/ for
9627
 
   # template instantiation
9628
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9629
 
   $RM out/* && rmdir out
9630
 
   cd ..
9631
 
   $RM -r conftest
9632
 
   $RM conftest*
9633
 
 
9634
 
fi
9635
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9636
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9410
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9411
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9412
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9413
  $as_echo_n "(cached) " >&6
 
9414
else
 
9415
  lt_cv_prog_compiler_c_o=no
 
9416
   $RM -r conftest 2>/dev/null
 
9417
   mkdir conftest
 
9418
   cd conftest
 
9419
   mkdir out
 
9420
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9421
 
 
9422
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9423
   # Insert the option either (1) after the last *FLAGS variable, or
 
9424
   # (2) before a word containing "conftest.", or (3) at the end.
 
9425
   # Note that $ac_compile itself does not contain backslashes and begins
 
9426
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9427
   lt_compile=`echo "$ac_compile" | $SED \
 
9428
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9429
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9430
   -e 's:$: $lt_compiler_flag:'`
 
9431
   (eval echo "\"\$as_me:9431: $lt_compile\"" >&5)
 
9432
   (eval "$lt_compile" 2>out/conftest.err)
 
9433
   ac_status=$?
 
9434
   cat out/conftest.err >&5
 
9435
   echo "$as_me:9435: \$? = $ac_status" >&5
 
9436
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9437
   then
 
9438
     # The compiler can only warn and ignore the option if not recognized
 
9439
     # So say no if there are warnings
 
9440
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9441
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9442
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9443
       lt_cv_prog_compiler_c_o=yes
 
9444
     fi
 
9445
   fi
 
9446
   chmod u+w . 2>&5
 
9447
   $RM conftest*
 
9448
   # SGI C++ compiler will create directory out/ii_files/ for
 
9449
   # template instantiation
 
9450
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9451
   $RM out/* && rmdir out
 
9452
   cd ..
 
9453
   $RM -r conftest
 
9454
   $RM conftest*
 
9455
 
 
9456
fi
 
9457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9458
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9459
 
 
9460
 
 
9461
 
 
9462
 
 
9463
 
 
9464
 
 
9465
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9466
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9467
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9468
  $as_echo_n "(cached) " >&6
 
9469
else
 
9470
  lt_cv_prog_compiler_c_o=no
 
9471
   $RM -r conftest 2>/dev/null
 
9472
   mkdir conftest
 
9473
   cd conftest
 
9474
   mkdir out
 
9475
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9476
 
 
9477
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9478
   # Insert the option either (1) after the last *FLAGS variable, or
 
9479
   # (2) before a word containing "conftest.", or (3) at the end.
 
9480
   # Note that $ac_compile itself does not contain backslashes and begins
 
9481
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9482
   lt_compile=`echo "$ac_compile" | $SED \
 
9483
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9484
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9485
   -e 's:$: $lt_compiler_flag:'`
 
9486
   (eval echo "\"\$as_me:9486: $lt_compile\"" >&5)
 
9487
   (eval "$lt_compile" 2>out/conftest.err)
 
9488
   ac_status=$?
 
9489
   cat out/conftest.err >&5
 
9490
   echo "$as_me:9490: \$? = $ac_status" >&5
 
9491
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9492
   then
 
9493
     # The compiler can only warn and ignore the option if not recognized
 
9494
     # So say no if there are warnings
 
9495
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9496
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9497
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9498
       lt_cv_prog_compiler_c_o=yes
 
9499
     fi
 
9500
   fi
 
9501
   chmod u+w . 2>&5
 
9502
   $RM conftest*
 
9503
   # SGI C++ compiler will create directory out/ii_files/ for
 
9504
   # template instantiation
 
9505
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9506
   $RM out/* && rmdir out
 
9507
   cd ..
 
9508
   $RM -r conftest
 
9509
   $RM conftest*
 
9510
 
 
9511
fi
 
9512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9513
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9637
9514
 
9638
9515
 
9639
9516
 
9641
9518
hard_links="nottested"
9642
9519
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9643
9520
  # do not overwrite the value of need_locks provided by the user
9644
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9645
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
9521
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
9522
$as_echo_n "checking if we can lock with hard links... " >&6; }
9646
9523
  hard_links=yes
9647
9524
  $RM conftest*
9648
9525
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9649
9526
  touch conftest.a
9650
9527
  ln conftest.a conftest.b 2>&5 || hard_links=no
9651
9528
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9652
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
9653
 
echo "${ECHO_T}$hard_links" >&6; }
 
9529
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
9530
$as_echo "$hard_links" >&6; }
9654
9531
  if test "$hard_links" = no; then
9655
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9656
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9532
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9533
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9657
9534
    need_locks=warn
9658
9535
  fi
9659
9536
else
9665
9542
 
9666
9543
 
9667
9544
 
9668
 
  { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9669
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
9545
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9546
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9670
9547
 
9671
9548
  runpath_var=
9672
9549
  allow_undefined_flag=
10112
9989
        allow_undefined_flag='-berok'
10113
9990
        # Determine the default libpath from the value encoded in an
10114
9991
        # empty executable.
10115
 
        cat >conftest.$ac_ext <<_ACEOF
10116
 
/* confdefs.h.  */
10117
 
_ACEOF
10118
 
cat confdefs.h >>conftest.$ac_ext
10119
 
cat >>conftest.$ac_ext <<_ACEOF
 
9992
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10120
9993
/* end confdefs.h.  */
10121
9994
 
10122
9995
int
10127
10000
  return 0;
10128
10001
}
10129
10002
_ACEOF
10130
 
rm -f conftest.$ac_objext conftest$ac_exeext
10131
 
if { (ac_try="$ac_link"
10132
 
case "(($ac_try" in
10133
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10134
 
  *) ac_try_echo=$ac_try;;
10135
 
esac
10136
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10137
 
  (eval "$ac_link") 2>conftest.er1
10138
 
  ac_status=$?
10139
 
  grep -v '^ *+' conftest.er1 >conftest.err
10140
 
  rm -f conftest.er1
10141
 
  cat conftest.err >&5
10142
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10143
 
  (exit $ac_status); } && {
10144
 
         test -z "$ac_c_werror_flag" ||
10145
 
         test ! -s conftest.err
10146
 
       } && test -s conftest$ac_exeext &&
10147
 
       $as_test_x conftest$ac_exeext; then
 
10003
if ac_fn_c_try_link "$LINENO"; then :
10148
10004
 
10149
10005
lt_aix_libpath_sed='
10150
10006
    /Import File Strings/,/^$/ {
10158
10014
if test -z "$aix_libpath"; then
10159
10015
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10160
10016
fi
10161
 
else
10162
 
  echo "$as_me: failed program was:" >&5
10163
 
sed 's/^/| /' conftest.$ac_ext >&5
10164
 
 
10165
 
 
10166
10017
fi
10167
 
 
10168
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10169
 
      conftest$ac_exeext conftest.$ac_ext
 
10018
rm -f core conftest.err conftest.$ac_objext \
 
10019
    conftest$ac_exeext conftest.$ac_ext
10170
10020
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10171
10021
 
10172
10022
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10179
10029
        else
10180
10030
         # Determine the default libpath from the value encoded in an
10181
10031
         # empty executable.
10182
 
         cat >conftest.$ac_ext <<_ACEOF
10183
 
/* confdefs.h.  */
10184
 
_ACEOF
10185
 
cat confdefs.h >>conftest.$ac_ext
10186
 
cat >>conftest.$ac_ext <<_ACEOF
 
10032
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187
10033
/* end confdefs.h.  */
10188
10034
 
10189
10035
int
10194
10040
  return 0;
10195
10041
}
10196
10042
_ACEOF
10197
 
rm -f conftest.$ac_objext conftest$ac_exeext
10198
 
if { (ac_try="$ac_link"
10199
 
case "(($ac_try" in
10200
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10201
 
  *) ac_try_echo=$ac_try;;
10202
 
esac
10203
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10204
 
  (eval "$ac_link") 2>conftest.er1
10205
 
  ac_status=$?
10206
 
  grep -v '^ *+' conftest.er1 >conftest.err
10207
 
  rm -f conftest.er1
10208
 
  cat conftest.err >&5
10209
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210
 
  (exit $ac_status); } && {
10211
 
         test -z "$ac_c_werror_flag" ||
10212
 
         test ! -s conftest.err
10213
 
       } && test -s conftest$ac_exeext &&
10214
 
       $as_test_x conftest$ac_exeext; then
 
10043
if ac_fn_c_try_link "$LINENO"; then :
10215
10044
 
10216
10045
lt_aix_libpath_sed='
10217
10046
    /Import File Strings/,/^$/ {
10225
10054
if test -z "$aix_libpath"; then
10226
10055
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10227
10056
fi
10228
 
else
10229
 
  echo "$as_me: failed program was:" >&5
10230
 
sed 's/^/| /' conftest.$ac_ext >&5
10231
 
 
10232
 
 
10233
10057
fi
10234
 
 
10235
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10236
 
      conftest$ac_exeext conftest.$ac_ext
 
10058
rm -f core conftest.err conftest.$ac_objext \
 
10059
    conftest$ac_exeext conftest.$ac_ext
10237
10060
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10238
10061
 
10239
10062
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10445
10268
        # implicitly export all symbols.
10446
10269
        save_LDFLAGS="$LDFLAGS"
10447
10270
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10448
 
        cat >conftest.$ac_ext <<_ACEOF
 
10271
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10272
/* end confdefs.h.  */
10449
10273
int foo(void) {}
10450
10274
_ACEOF
10451
 
rm -f conftest.$ac_objext conftest$ac_exeext
10452
 
if { (ac_try="$ac_link"
10453
 
case "(($ac_try" in
10454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10455
 
  *) ac_try_echo=$ac_try;;
10456
 
esac
10457
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10458
 
  (eval "$ac_link") 2>conftest.er1
10459
 
  ac_status=$?
10460
 
  grep -v '^ *+' conftest.er1 >conftest.err
10461
 
  rm -f conftest.er1
10462
 
  cat conftest.err >&5
10463
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464
 
  (exit $ac_status); } && {
10465
 
         test -z "$ac_c_werror_flag" ||
10466
 
         test ! -s conftest.err
10467
 
       } && test -s conftest$ac_exeext &&
10468
 
       $as_test_x conftest$ac_exeext; then
 
10275
if ac_fn_c_try_link "$LINENO"; then :
10469
10276
  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'
10470
10277
 
10471
 
else
10472
 
  echo "$as_me: failed program was:" >&5
10473
 
sed 's/^/| /' conftest.$ac_ext >&5
10474
 
 
10475
 
 
10476
10278
fi
10477
 
 
10478
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10479
 
      conftest$ac_exeext conftest.$ac_ext
 
10279
rm -f core conftest.err conftest.$ac_objext \
 
10280
    conftest$ac_exeext conftest.$ac_ext
10480
10281
        LDFLAGS="$save_LDFLAGS"
10481
10282
      else
10482
10283
        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'
10732
10533
    fi
10733
10534
  fi
10734
10535
 
10735
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10736
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
10536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
10537
$as_echo "$ld_shlibs" >&6; }
10737
10538
test "$ld_shlibs" = no && can_build_shared=no
10738
10539
 
10739
10540
with_gnu_ld=$with_gnu_ld
10769
10570
      # Test whether the compiler implicitly links with -lc since on some
10770
10571
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10771
10572
      # to ld, don't add -lc before -lgcc.
10772
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10773
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
10573
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
10574
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10774
10575
      $RM conftest*
10775
10576
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10776
10577
 
10777
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10578
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10778
10579
  (eval $ac_compile) 2>&5
10779
10580
  ac_status=$?
10780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781
 
  (exit $ac_status); } 2>conftest.err; then
 
10581
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10582
  test $ac_status = 0; } 2>conftest.err; then
10782
10583
        soname=conftest
10783
10584
        lib=conftest
10784
10585
        libobjs=conftest.$ac_objext
10792
10593
        libname=conftest
10793
10594
        lt_save_allow_undefined_flag=$allow_undefined_flag
10794
10595
        allow_undefined_flag=
10795
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10596
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10796
10597
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10797
10598
  ac_status=$?
10798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799
 
  (exit $ac_status); }
 
10599
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10600
  test $ac_status = 0; }
10800
10601
        then
10801
10602
          archive_cmds_need_lc=no
10802
10603
        else
10807
10608
        cat conftest.err 1>&5
10808
10609
      fi
10809
10610
      $RM conftest*
10810
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10811
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
10611
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
10612
$as_echo "$archive_cmds_need_lc" >&6; }
10812
10613
      ;;
10813
10614
    esac
10814
10615
  fi
10971
10772
 
10972
10773
 
10973
10774
 
10974
 
  { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10975
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
10775
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10776
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10976
10777
 
10977
10778
if test "$GCC" = yes; then
10978
10779
  case $host_os in
11393
11194
  save_libdir=$libdir
11394
11195
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11395
11196
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11396
 
  cat >conftest.$ac_ext <<_ACEOF
11397
 
/* confdefs.h.  */
11398
 
_ACEOF
11399
 
cat confdefs.h >>conftest.$ac_ext
11400
 
cat >>conftest.$ac_ext <<_ACEOF
 
11197
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401
11198
/* end confdefs.h.  */
11402
11199
 
11403
11200
int
11408
11205
  return 0;
11409
11206
}
11410
11207
_ACEOF
11411
 
rm -f conftest.$ac_objext conftest$ac_exeext
11412
 
if { (ac_try="$ac_link"
11413
 
case "(($ac_try" in
11414
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11415
 
  *) ac_try_echo=$ac_try;;
11416
 
esac
11417
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11418
 
  (eval "$ac_link") 2>conftest.er1
11419
 
  ac_status=$?
11420
 
  grep -v '^ *+' conftest.er1 >conftest.err
11421
 
  rm -f conftest.er1
11422
 
  cat conftest.err >&5
11423
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424
 
  (exit $ac_status); } && {
11425
 
         test -z "$ac_c_werror_flag" ||
11426
 
         test ! -s conftest.err
11427
 
       } && test -s conftest$ac_exeext &&
11428
 
       $as_test_x conftest$ac_exeext; then
11429
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
11208
if ac_fn_c_try_link "$LINENO"; then :
 
11209
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11430
11210
  shlibpath_overrides_runpath=yes
11431
11211
fi
11432
 
 
11433
 
else
11434
 
  echo "$as_me: failed program was:" >&5
11435
 
sed 's/^/| /' conftest.$ac_ext >&5
11436
 
 
11437
 
 
11438
11212
fi
11439
 
 
11440
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11441
 
      conftest$ac_exeext conftest.$ac_ext
 
11213
rm -f core conftest.err conftest.$ac_objext \
 
11214
    conftest$ac_exeext conftest.$ac_ext
11442
11215
  LDFLAGS=$save_LDFLAGS
11443
11216
  libdir=$save_libdir
11444
11217
 
11662
11435
  dynamic_linker=no
11663
11436
  ;;
11664
11437
esac
11665
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11666
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
11438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
11439
$as_echo "$dynamic_linker" >&6; }
11667
11440
test "$dynamic_linker" = no && can_build_shared=no
11668
11441
 
11669
11442
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11764
11537
 
11765
11538
 
11766
11539
 
11767
 
  { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11768
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
11540
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11541
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11769
11542
hardcode_action=
11770
11543
if test -n "$hardcode_libdir_flag_spec" ||
11771
11544
   test -n "$runpath_var" ||
11789
11562
  # directories.
11790
11563
  hardcode_action=unsupported
11791
11564
fi
11792
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
11793
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
11565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
11566
$as_echo "$hardcode_action" >&6; }
11794
11567
 
11795
11568
if test "$hardcode_action" = relink ||
11796
11569
   test "$inherit_rpath" = yes; then
11834
11607
 
11835
11608
  darwin*)
11836
11609
  # if libdl is installed we need to link against it
11837
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11838
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11839
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11840
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11610
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11611
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11612
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11613
  $as_echo_n "(cached) " >&6
11841
11614
else
11842
11615
  ac_check_lib_save_LIBS=$LIBS
11843
11616
LIBS="-ldl  $LIBS"
11844
 
cat >conftest.$ac_ext <<_ACEOF
11845
 
/* confdefs.h.  */
11846
 
_ACEOF
11847
 
cat confdefs.h >>conftest.$ac_ext
11848
 
cat >>conftest.$ac_ext <<_ACEOF
 
11617
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849
11618
/* end confdefs.h.  */
11850
11619
 
11851
11620
/* Override any GCC internal prototype to avoid an error.
11863
11632
  return 0;
11864
11633
}
11865
11634
_ACEOF
11866
 
rm -f conftest.$ac_objext conftest$ac_exeext
11867
 
if { (ac_try="$ac_link"
11868
 
case "(($ac_try" in
11869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11870
 
  *) ac_try_echo=$ac_try;;
11871
 
esac
11872
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11873
 
  (eval "$ac_link") 2>conftest.er1
11874
 
  ac_status=$?
11875
 
  grep -v '^ *+' conftest.er1 >conftest.err
11876
 
  rm -f conftest.er1
11877
 
  cat conftest.err >&5
11878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879
 
  (exit $ac_status); } && {
11880
 
         test -z "$ac_c_werror_flag" ||
11881
 
         test ! -s conftest.err
11882
 
       } && test -s conftest$ac_exeext &&
11883
 
       $as_test_x conftest$ac_exeext; then
 
11635
if ac_fn_c_try_link "$LINENO"; then :
11884
11636
  ac_cv_lib_dl_dlopen=yes
11885
11637
else
11886
 
  echo "$as_me: failed program was:" >&5
11887
 
sed 's/^/| /' conftest.$ac_ext >&5
11888
 
 
11889
 
        ac_cv_lib_dl_dlopen=no
 
11638
  ac_cv_lib_dl_dlopen=no
11890
11639
fi
11891
 
 
11892
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11893
 
      conftest$ac_exeext conftest.$ac_ext
 
11640
rm -f core conftest.err conftest.$ac_objext \
 
11641
    conftest$ac_exeext conftest.$ac_ext
11894
11642
LIBS=$ac_check_lib_save_LIBS
11895
11643
fi
11896
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11897
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11898
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11645
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11646
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11899
11647
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11900
11648
else
11901
11649
 
11908
11656
    ;;
11909
11657
 
11910
11658
  *)
11911
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
11912
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11913
 
if test "${ac_cv_func_shl_load+set}" = set; then
11914
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11915
 
else
11916
 
  cat >conftest.$ac_ext <<_ACEOF
11917
 
/* confdefs.h.  */
11918
 
_ACEOF
11919
 
cat confdefs.h >>conftest.$ac_ext
11920
 
cat >>conftest.$ac_ext <<_ACEOF
11921
 
/* end confdefs.h.  */
11922
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11923
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11924
 
#define shl_load innocuous_shl_load
11925
 
 
11926
 
/* System header to define __stub macros and hopefully few prototypes,
11927
 
    which can conflict with char shl_load (); below.
11928
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11929
 
    <limits.h> exists even on freestanding compilers.  */
11930
 
 
11931
 
#ifdef __STDC__
11932
 
# include <limits.h>
11933
 
#else
11934
 
# include <assert.h>
11935
 
#endif
11936
 
 
11937
 
#undef shl_load
11938
 
 
11939
 
/* Override any GCC internal prototype to avoid an error.
11940
 
   Use char because int might match the return type of a GCC
11941
 
   builtin and then its argument prototype would still apply.  */
11942
 
#ifdef __cplusplus
11943
 
extern "C"
11944
 
#endif
11945
 
char shl_load ();
11946
 
/* The GNU C library defines this for functions which it implements
11947
 
    to always fail with ENOSYS.  Some functions are actually named
11948
 
    something starting with __ and the normal name is an alias.  */
11949
 
#if defined __stub_shl_load || defined __stub___shl_load
11950
 
choke me
11951
 
#endif
11952
 
 
11953
 
int
11954
 
main ()
11955
 
{
11956
 
return shl_load ();
11957
 
  ;
11958
 
  return 0;
11959
 
}
11960
 
_ACEOF
11961
 
rm -f conftest.$ac_objext conftest$ac_exeext
11962
 
if { (ac_try="$ac_link"
11963
 
case "(($ac_try" in
11964
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11965
 
  *) ac_try_echo=$ac_try;;
11966
 
esac
11967
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11968
 
  (eval "$ac_link") 2>conftest.er1
11969
 
  ac_status=$?
11970
 
  grep -v '^ *+' conftest.er1 >conftest.err
11971
 
  rm -f conftest.er1
11972
 
  cat conftest.err >&5
11973
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974
 
  (exit $ac_status); } && {
11975
 
         test -z "$ac_c_werror_flag" ||
11976
 
         test ! -s conftest.err
11977
 
       } && test -s conftest$ac_exeext &&
11978
 
       $as_test_x conftest$ac_exeext; then
11979
 
  ac_cv_func_shl_load=yes
11980
 
else
11981
 
  echo "$as_me: failed program was:" >&5
11982
 
sed 's/^/| /' conftest.$ac_ext >&5
11983
 
 
11984
 
        ac_cv_func_shl_load=no
11985
 
fi
11986
 
 
11987
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11988
 
      conftest$ac_exeext conftest.$ac_ext
11989
 
fi
11990
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11991
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11992
 
if test $ac_cv_func_shl_load = yes; then
 
11659
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11660
if test "x$ac_cv_func_shl_load" = x""yes; then :
11993
11661
  lt_cv_dlopen="shl_load"
11994
11662
else
11995
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11996
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11997
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11998
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11663
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11664
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11665
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11666
  $as_echo_n "(cached) " >&6
11999
11667
else
12000
11668
  ac_check_lib_save_LIBS=$LIBS
12001
11669
LIBS="-ldld  $LIBS"
12002
 
cat >conftest.$ac_ext <<_ACEOF
12003
 
/* confdefs.h.  */
12004
 
_ACEOF
12005
 
cat confdefs.h >>conftest.$ac_ext
12006
 
cat >>conftest.$ac_ext <<_ACEOF
 
11670
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12007
11671
/* end confdefs.h.  */
12008
11672
 
12009
11673
/* Override any GCC internal prototype to avoid an error.
12021
11685
  return 0;
12022
11686
}
12023
11687
_ACEOF
12024
 
rm -f conftest.$ac_objext conftest$ac_exeext
12025
 
if { (ac_try="$ac_link"
12026
 
case "(($ac_try" in
12027
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12028
 
  *) ac_try_echo=$ac_try;;
12029
 
esac
12030
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12031
 
  (eval "$ac_link") 2>conftest.er1
12032
 
  ac_status=$?
12033
 
  grep -v '^ *+' conftest.er1 >conftest.err
12034
 
  rm -f conftest.er1
12035
 
  cat conftest.err >&5
12036
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037
 
  (exit $ac_status); } && {
12038
 
         test -z "$ac_c_werror_flag" ||
12039
 
         test ! -s conftest.err
12040
 
       } && test -s conftest$ac_exeext &&
12041
 
       $as_test_x conftest$ac_exeext; then
 
11688
if ac_fn_c_try_link "$LINENO"; then :
12042
11689
  ac_cv_lib_dld_shl_load=yes
12043
11690
else
12044
 
  echo "$as_me: failed program was:" >&5
12045
 
sed 's/^/| /' conftest.$ac_ext >&5
12046
 
 
12047
 
        ac_cv_lib_dld_shl_load=no
 
11691
  ac_cv_lib_dld_shl_load=no
12048
11692
fi
12049
 
 
12050
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12051
 
      conftest$ac_exeext conftest.$ac_ext
 
11693
rm -f core conftest.err conftest.$ac_objext \
 
11694
    conftest$ac_exeext conftest.$ac_ext
12052
11695
LIBS=$ac_check_lib_save_LIBS
12053
11696
fi
12054
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12055
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12056
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
11697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11698
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11699
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12057
11700
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12058
11701
else
12059
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
12060
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12061
 
if test "${ac_cv_func_dlopen+set}" = set; then
12062
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12063
 
else
12064
 
  cat >conftest.$ac_ext <<_ACEOF
12065
 
/* confdefs.h.  */
12066
 
_ACEOF
12067
 
cat confdefs.h >>conftest.$ac_ext
12068
 
cat >>conftest.$ac_ext <<_ACEOF
12069
 
/* end confdefs.h.  */
12070
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12071
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12072
 
#define dlopen innocuous_dlopen
12073
 
 
12074
 
/* System header to define __stub macros and hopefully few prototypes,
12075
 
    which can conflict with char dlopen (); below.
12076
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12077
 
    <limits.h> exists even on freestanding compilers.  */
12078
 
 
12079
 
#ifdef __STDC__
12080
 
# include <limits.h>
12081
 
#else
12082
 
# include <assert.h>
12083
 
#endif
12084
 
 
12085
 
#undef dlopen
12086
 
 
12087
 
/* Override any GCC internal prototype to avoid an error.
12088
 
   Use char because int might match the return type of a GCC
12089
 
   builtin and then its argument prototype would still apply.  */
12090
 
#ifdef __cplusplus
12091
 
extern "C"
12092
 
#endif
12093
 
char dlopen ();
12094
 
/* The GNU C library defines this for functions which it implements
12095
 
    to always fail with ENOSYS.  Some functions are actually named
12096
 
    something starting with __ and the normal name is an alias.  */
12097
 
#if defined __stub_dlopen || defined __stub___dlopen
12098
 
choke me
12099
 
#endif
12100
 
 
12101
 
int
12102
 
main ()
12103
 
{
12104
 
return dlopen ();
12105
 
  ;
12106
 
  return 0;
12107
 
}
12108
 
_ACEOF
12109
 
rm -f conftest.$ac_objext conftest$ac_exeext
12110
 
if { (ac_try="$ac_link"
12111
 
case "(($ac_try" in
12112
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12113
 
  *) ac_try_echo=$ac_try;;
12114
 
esac
12115
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12116
 
  (eval "$ac_link") 2>conftest.er1
12117
 
  ac_status=$?
12118
 
  grep -v '^ *+' conftest.er1 >conftest.err
12119
 
  rm -f conftest.er1
12120
 
  cat conftest.err >&5
12121
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122
 
  (exit $ac_status); } && {
12123
 
         test -z "$ac_c_werror_flag" ||
12124
 
         test ! -s conftest.err
12125
 
       } && test -s conftest$ac_exeext &&
12126
 
       $as_test_x conftest$ac_exeext; then
12127
 
  ac_cv_func_dlopen=yes
12128
 
else
12129
 
  echo "$as_me: failed program was:" >&5
12130
 
sed 's/^/| /' conftest.$ac_ext >&5
12131
 
 
12132
 
        ac_cv_func_dlopen=no
12133
 
fi
12134
 
 
12135
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12136
 
      conftest$ac_exeext conftest.$ac_ext
12137
 
fi
12138
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12139
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12140
 
if test $ac_cv_func_dlopen = yes; then
 
11702
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11703
if test "x$ac_cv_func_dlopen" = x""yes; then :
12141
11704
  lt_cv_dlopen="dlopen"
12142
11705
else
12143
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12144
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12145
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12146
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11706
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11707
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11708
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11709
  $as_echo_n "(cached) " >&6
12147
11710
else
12148
11711
  ac_check_lib_save_LIBS=$LIBS
12149
11712
LIBS="-ldl  $LIBS"
12150
 
cat >conftest.$ac_ext <<_ACEOF
12151
 
/* confdefs.h.  */
12152
 
_ACEOF
12153
 
cat confdefs.h >>conftest.$ac_ext
12154
 
cat >>conftest.$ac_ext <<_ACEOF
 
11713
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155
11714
/* end confdefs.h.  */
12156
11715
 
12157
11716
/* Override any GCC internal prototype to avoid an error.
12169
11728
  return 0;
12170
11729
}
12171
11730
_ACEOF
12172
 
rm -f conftest.$ac_objext conftest$ac_exeext
12173
 
if { (ac_try="$ac_link"
12174
 
case "(($ac_try" in
12175
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12176
 
  *) ac_try_echo=$ac_try;;
12177
 
esac
12178
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12179
 
  (eval "$ac_link") 2>conftest.er1
12180
 
  ac_status=$?
12181
 
  grep -v '^ *+' conftest.er1 >conftest.err
12182
 
  rm -f conftest.er1
12183
 
  cat conftest.err >&5
12184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185
 
  (exit $ac_status); } && {
12186
 
         test -z "$ac_c_werror_flag" ||
12187
 
         test ! -s conftest.err
12188
 
       } && test -s conftest$ac_exeext &&
12189
 
       $as_test_x conftest$ac_exeext; then
 
11731
if ac_fn_c_try_link "$LINENO"; then :
12190
11732
  ac_cv_lib_dl_dlopen=yes
12191
11733
else
12192
 
  echo "$as_me: failed program was:" >&5
12193
 
sed 's/^/| /' conftest.$ac_ext >&5
12194
 
 
12195
 
        ac_cv_lib_dl_dlopen=no
 
11734
  ac_cv_lib_dl_dlopen=no
12196
11735
fi
12197
 
 
12198
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12199
 
      conftest$ac_exeext conftest.$ac_ext
 
11736
rm -f core conftest.err conftest.$ac_objext \
 
11737
    conftest$ac_exeext conftest.$ac_ext
12200
11738
LIBS=$ac_check_lib_save_LIBS
12201
11739
fi
12202
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12203
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12204
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11741
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11742
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12205
11743
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12206
11744
else
12207
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12208
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12209
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12210
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11745
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11746
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11747
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11748
  $as_echo_n "(cached) " >&6
12211
11749
else
12212
11750
  ac_check_lib_save_LIBS=$LIBS
12213
11751
LIBS="-lsvld  $LIBS"
12214
 
cat >conftest.$ac_ext <<_ACEOF
12215
 
/* confdefs.h.  */
12216
 
_ACEOF
12217
 
cat confdefs.h >>conftest.$ac_ext
12218
 
cat >>conftest.$ac_ext <<_ACEOF
 
11752
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12219
11753
/* end confdefs.h.  */
12220
11754
 
12221
11755
/* Override any GCC internal prototype to avoid an error.
12233
11767
  return 0;
12234
11768
}
12235
11769
_ACEOF
12236
 
rm -f conftest.$ac_objext conftest$ac_exeext
12237
 
if { (ac_try="$ac_link"
12238
 
case "(($ac_try" in
12239
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12240
 
  *) ac_try_echo=$ac_try;;
12241
 
esac
12242
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12243
 
  (eval "$ac_link") 2>conftest.er1
12244
 
  ac_status=$?
12245
 
  grep -v '^ *+' conftest.er1 >conftest.err
12246
 
  rm -f conftest.er1
12247
 
  cat conftest.err >&5
12248
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249
 
  (exit $ac_status); } && {
12250
 
         test -z "$ac_c_werror_flag" ||
12251
 
         test ! -s conftest.err
12252
 
       } && test -s conftest$ac_exeext &&
12253
 
       $as_test_x conftest$ac_exeext; then
 
11770
if ac_fn_c_try_link "$LINENO"; then :
12254
11771
  ac_cv_lib_svld_dlopen=yes
12255
11772
else
12256
 
  echo "$as_me: failed program was:" >&5
12257
 
sed 's/^/| /' conftest.$ac_ext >&5
12258
 
 
12259
 
        ac_cv_lib_svld_dlopen=no
 
11773
  ac_cv_lib_svld_dlopen=no
12260
11774
fi
12261
 
 
12262
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12263
 
      conftest$ac_exeext conftest.$ac_ext
 
11775
rm -f core conftest.err conftest.$ac_objext \
 
11776
    conftest$ac_exeext conftest.$ac_ext
12264
11777
LIBS=$ac_check_lib_save_LIBS
12265
11778
fi
12266
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12267
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12268
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
11779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11780
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11781
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12269
11782
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12270
11783
else
12271
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12272
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12273
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12274
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11784
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11785
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11786
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11787
  $as_echo_n "(cached) " >&6
12275
11788
else
12276
11789
  ac_check_lib_save_LIBS=$LIBS
12277
11790
LIBS="-ldld  $LIBS"
12278
 
cat >conftest.$ac_ext <<_ACEOF
12279
 
/* confdefs.h.  */
12280
 
_ACEOF
12281
 
cat confdefs.h >>conftest.$ac_ext
12282
 
cat >>conftest.$ac_ext <<_ACEOF
 
11791
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283
11792
/* end confdefs.h.  */
12284
11793
 
12285
11794
/* Override any GCC internal prototype to avoid an error.
12297
11806
  return 0;
12298
11807
}
12299
11808
_ACEOF
12300
 
rm -f conftest.$ac_objext conftest$ac_exeext
12301
 
if { (ac_try="$ac_link"
12302
 
case "(($ac_try" in
12303
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12304
 
  *) ac_try_echo=$ac_try;;
12305
 
esac
12306
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12307
 
  (eval "$ac_link") 2>conftest.er1
12308
 
  ac_status=$?
12309
 
  grep -v '^ *+' conftest.er1 >conftest.err
12310
 
  rm -f conftest.er1
12311
 
  cat conftest.err >&5
12312
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313
 
  (exit $ac_status); } && {
12314
 
         test -z "$ac_c_werror_flag" ||
12315
 
         test ! -s conftest.err
12316
 
       } && test -s conftest$ac_exeext &&
12317
 
       $as_test_x conftest$ac_exeext; then
 
11809
if ac_fn_c_try_link "$LINENO"; then :
12318
11810
  ac_cv_lib_dld_dld_link=yes
12319
11811
else
12320
 
  echo "$as_me: failed program was:" >&5
12321
 
sed 's/^/| /' conftest.$ac_ext >&5
12322
 
 
12323
 
        ac_cv_lib_dld_dld_link=no
 
11812
  ac_cv_lib_dld_dld_link=no
12324
11813
fi
12325
 
 
12326
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12327
 
      conftest$ac_exeext conftest.$ac_ext
 
11814
rm -f core conftest.err conftest.$ac_objext \
 
11815
    conftest$ac_exeext conftest.$ac_ext
12328
11816
LIBS=$ac_check_lib_save_LIBS
12329
11817
fi
12330
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12331
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12332
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
11818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11819
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11820
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12333
11821
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12334
11822
fi
12335
11823
 
12368
11856
    save_LIBS="$LIBS"
12369
11857
    LIBS="$lt_cv_dlopen_libs $LIBS"
12370
11858
 
12371
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12372
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12373
 
if test "${lt_cv_dlopen_self+set}" = set; then
12374
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11859
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11860
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11861
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11862
  $as_echo_n "(cached) " >&6
12375
11863
else
12376
11864
          if test "$cross_compiling" = yes; then :
12377
11865
  lt_cv_dlopen_self=cross
12379
11867
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12380
11868
  lt_status=$lt_dlunknown
12381
11869
  cat > conftest.$ac_ext <<_LT_EOF
12382
 
#line 12382 "configure"
 
11870
#line 11870 "configure"
12383
11871
#include "confdefs.h"
12384
11872
 
12385
11873
#if HAVE_DLFCN_H
12438
11926
  return status;
12439
11927
}
12440
11928
_LT_EOF
12441
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11929
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12442
11930
  (eval $ac_link) 2>&5
12443
11931
  ac_status=$?
12444
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11932
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11933
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12446
11934
    (./conftest; exit; ) >&5 2>/dev/null
12447
11935
    lt_status=$?
12448
11936
    case x$lt_status in
12459
11947
 
12460
11948
 
12461
11949
fi
12462
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12463
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
11950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
11951
$as_echo "$lt_cv_dlopen_self" >&6; }
12464
11952
 
12465
11953
    if test "x$lt_cv_dlopen_self" = xyes; then
12466
11954
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12467
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12468
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12469
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12470
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11955
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
11956
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11957
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11958
  $as_echo_n "(cached) " >&6
12471
11959
else
12472
11960
          if test "$cross_compiling" = yes; then :
12473
11961
  lt_cv_dlopen_self_static=cross
12475
11963
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12476
11964
  lt_status=$lt_dlunknown
12477
11965
  cat > conftest.$ac_ext <<_LT_EOF
12478
 
#line 12478 "configure"
 
11966
#line 11966 "configure"
12479
11967
#include "confdefs.h"
12480
11968
 
12481
11969
#if HAVE_DLFCN_H
12534
12022
  return status;
12535
12023
}
12536
12024
_LT_EOF
12537
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
12025
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12538
12026
  (eval $ac_link) 2>&5
12539
12027
  ac_status=$?
12540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12028
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12029
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12542
12030
    (./conftest; exit; ) >&5 2>/dev/null
12543
12031
    lt_status=$?
12544
12032
    case x$lt_status in
12555
12043
 
12556
12044
 
12557
12045
fi
12558
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12559
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
12046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
12047
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12560
12048
    fi
12561
12049
 
12562
12050
    CPPFLAGS="$save_CPPFLAGS"
12594
12082
 
12595
12083
striplib=
12596
12084
old_striplib=
12597
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12598
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
 
12085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
12086
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12599
12087
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12600
12088
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12601
12089
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12602
 
  { echo "$as_me:$LINENO: result: yes" >&5
12603
 
echo "${ECHO_T}yes" >&6; }
 
12090
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12091
$as_echo "yes" >&6; }
12604
12092
else
12605
12093
# FIXME - insert some real tests, host_os isn't really good enough
12606
12094
  case $host_os in
12608
12096
    if test -n "$STRIP" ; then
12609
12097
      striplib="$STRIP -x"
12610
12098
      old_striplib="$STRIP -S"
12611
 
      { echo "$as_me:$LINENO: result: yes" >&5
12612
 
echo "${ECHO_T}yes" >&6; }
 
12099
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12100
$as_echo "yes" >&6; }
12613
12101
    else
12614
 
      { echo "$as_me:$LINENO: result: no" >&5
12615
 
echo "${ECHO_T}no" >&6; }
 
12102
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12103
$as_echo "no" >&6; }
12616
12104
    fi
12617
12105
    ;;
12618
12106
  *)
12619
 
    { echo "$as_me:$LINENO: result: no" >&5
12620
 
echo "${ECHO_T}no" >&6; }
 
12107
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12108
$as_echo "no" >&6; }
12621
12109
    ;;
12622
12110
  esac
12623
12111
fi
12634
12122
 
12635
12123
 
12636
12124
  # Report which library types will actually be built
12637
 
  { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12638
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12639
 
  { echo "$as_me:$LINENO: result: $can_build_shared" >&5
12640
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
12125
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
12126
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12127
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
12128
$as_echo "$can_build_shared" >&6; }
12641
12129
 
12642
 
  { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12643
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
12130
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
12131
$as_echo_n "checking whether to build shared libraries... " >&6; }
12644
12132
  test "$can_build_shared" = "no" && enable_shared=no
12645
12133
 
12646
12134
  # On AIX, shared libraries and static libraries use the same namespace, and
12660
12148
    fi
12661
12149
    ;;
12662
12150
  esac
12663
 
  { echo "$as_me:$LINENO: result: $enable_shared" >&5
12664
 
echo "${ECHO_T}$enable_shared" >&6; }
 
12151
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
12152
$as_echo "$enable_shared" >&6; }
12665
12153
 
12666
 
  { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12667
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
12154
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
12155
$as_echo_n "checking whether to build static libraries... " >&6; }
12668
12156
  # Make sure either enable_shared or enable_static is yes.
12669
12157
  test "$enable_shared" = yes || enable_static=yes
12670
 
  { echo "$as_me:$LINENO: result: $enable_static" >&5
12671
 
echo "${ECHO_T}$enable_static" >&6; }
 
12158
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
12159
$as_echo "$enable_static" >&6; }
12672
12160
 
12673
12161
 
12674
12162
 
12808
12296
 
12809
12297
 
12810
12298
# Check whether --with-gnu-ld was given.
12811
 
if test "${with_gnu_ld+set}" = set; then
 
12299
if test "${with_gnu_ld+set}" = set; then :
12812
12300
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12813
12301
else
12814
12302
  with_gnu_ld=no
12817
12305
ac_prog=ld
12818
12306
if test "$GCC" = yes; then
12819
12307
  # Check if gcc -print-prog-name=ld gives a path.
12820
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12821
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
12308
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
12309
$as_echo_n "checking for ld used by $CC... " >&6; }
12822
12310
  case $host in
12823
12311
  *-*-mingw*)
12824
12312
    # gcc leaves a trailing carriage return which upsets mingw
12847
12335
    ;;
12848
12336
  esac
12849
12337
elif test "$with_gnu_ld" = yes; then
12850
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
12851
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
12338
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
12339
$as_echo_n "checking for GNU ld... " >&6; }
12852
12340
else
12853
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12854
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
12341
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
12342
$as_echo_n "checking for non-GNU ld... " >&6; }
12855
12343
fi
12856
 
if test "${lt_cv_path_LD+set}" = set; then
12857
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12344
if test "${lt_cv_path_LD+set}" = set; then :
 
12345
  $as_echo_n "(cached) " >&6
12858
12346
else
12859
12347
  if test -z "$LD"; then
12860
12348
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12884
12372
 
12885
12373
LD="$lt_cv_path_LD"
12886
12374
if test -n "$LD"; then
12887
 
  { echo "$as_me:$LINENO: result: $LD" >&5
12888
 
echo "${ECHO_T}$LD" >&6; }
 
12375
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
12376
$as_echo "$LD" >&6; }
12889
12377
else
12890
 
  { echo "$as_me:$LINENO: result: no" >&5
12891
 
echo "${ECHO_T}no" >&6; }
 
12378
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12379
$as_echo "no" >&6; }
12892
12380
fi
12893
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12894
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12895
 
   { (exit 1); exit 1; }; }
12896
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12897
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12898
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12899
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12381
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
12382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
12383
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
12384
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
12385
  $as_echo_n "(cached) " >&6
12900
12386
else
12901
12387
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12902
12388
case `$LD -v 2>&1 </dev/null` in
12908
12394
  ;;
12909
12395
esac
12910
12396
fi
12911
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12912
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
12397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
12398
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12913
12399
with_gnu_ld=$lt_cv_prog_gnu_ld
12914
12400
 
12915
12401
 
12963
12449
    fi
12964
12450
 
12965
12451
    # PORTME: fill in a description of your system's C++ link characteristics
12966
 
    { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12967
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
12452
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12453
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12968
12454
    ld_shlibs_CXX=yes
12969
12455
    case $host_os in
12970
12456
      aix3*)
13064
12550
          allow_undefined_flag_CXX='-berok'
13065
12551
          # Determine the default libpath from the value encoded in an empty
13066
12552
          # executable.
13067
 
          cat >conftest.$ac_ext <<_ACEOF
13068
 
/* confdefs.h.  */
13069
 
_ACEOF
13070
 
cat confdefs.h >>conftest.$ac_ext
13071
 
cat >>conftest.$ac_ext <<_ACEOF
 
12553
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13072
12554
/* end confdefs.h.  */
13073
12555
 
13074
12556
int
13079
12561
  return 0;
13080
12562
}
13081
12563
_ACEOF
13082
 
rm -f conftest.$ac_objext conftest$ac_exeext
13083
 
if { (ac_try="$ac_link"
13084
 
case "(($ac_try" in
13085
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13086
 
  *) ac_try_echo=$ac_try;;
13087
 
esac
13088
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13089
 
  (eval "$ac_link") 2>conftest.er1
13090
 
  ac_status=$?
13091
 
  grep -v '^ *+' conftest.er1 >conftest.err
13092
 
  rm -f conftest.er1
13093
 
  cat conftest.err >&5
13094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095
 
  (exit $ac_status); } && {
13096
 
         test -z "$ac_cxx_werror_flag" ||
13097
 
         test ! -s conftest.err
13098
 
       } && test -s conftest$ac_exeext &&
13099
 
       $as_test_x conftest$ac_exeext; then
 
12564
if ac_fn_cxx_try_link "$LINENO"; then :
13100
12565
 
13101
12566
lt_aix_libpath_sed='
13102
12567
    /Import File Strings/,/^$/ {
13110
12575
if test -z "$aix_libpath"; then
13111
12576
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13112
12577
fi
13113
 
else
13114
 
  echo "$as_me: failed program was:" >&5
13115
 
sed 's/^/| /' conftest.$ac_ext >&5
13116
 
 
13117
 
 
13118
12578
fi
13119
 
 
13120
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13121
 
      conftest$ac_exeext conftest.$ac_ext
 
12579
rm -f core conftest.err conftest.$ac_objext \
 
12580
    conftest$ac_exeext conftest.$ac_ext
13122
12581
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13123
12582
 
13124
12583
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13132
12591
          else
13133
12592
            # Determine the default libpath from the value encoded in an
13134
12593
            # empty executable.
13135
 
            cat >conftest.$ac_ext <<_ACEOF
13136
 
/* confdefs.h.  */
13137
 
_ACEOF
13138
 
cat confdefs.h >>conftest.$ac_ext
13139
 
cat >>conftest.$ac_ext <<_ACEOF
 
12594
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13140
12595
/* end confdefs.h.  */
13141
12596
 
13142
12597
int
13147
12602
  return 0;
13148
12603
}
13149
12604
_ACEOF
13150
 
rm -f conftest.$ac_objext conftest$ac_exeext
13151
 
if { (ac_try="$ac_link"
13152
 
case "(($ac_try" in
13153
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13154
 
  *) ac_try_echo=$ac_try;;
13155
 
esac
13156
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13157
 
  (eval "$ac_link") 2>conftest.er1
13158
 
  ac_status=$?
13159
 
  grep -v '^ *+' conftest.er1 >conftest.err
13160
 
  rm -f conftest.er1
13161
 
  cat conftest.err >&5
13162
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163
 
  (exit $ac_status); } && {
13164
 
         test -z "$ac_cxx_werror_flag" ||
13165
 
         test ! -s conftest.err
13166
 
       } && test -s conftest$ac_exeext &&
13167
 
       $as_test_x conftest$ac_exeext; then
 
12605
if ac_fn_cxx_try_link "$LINENO"; then :
13168
12606
 
13169
12607
lt_aix_libpath_sed='
13170
12608
    /Import File Strings/,/^$/ {
13178
12616
if test -z "$aix_libpath"; then
13179
12617
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13180
12618
fi
13181
 
else
13182
 
  echo "$as_me: failed program was:" >&5
13183
 
sed 's/^/| /' conftest.$ac_ext >&5
13184
 
 
13185
 
 
13186
12619
fi
13187
 
 
13188
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13189
 
      conftest$ac_exeext conftest.$ac_ext
 
12620
rm -f core conftest.err conftest.$ac_objext \
 
12621
    conftest$ac_exeext conftest.$ac_ext
13190
12622
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13191
12623
 
13192
12624
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13930
13362
        ;;
13931
13363
    esac
13932
13364
 
13933
 
    { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13934
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
13365
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
13366
$as_echo "$ld_shlibs_CXX" >&6; }
13935
13367
    test "$ld_shlibs_CXX" = no && can_build_shared=no
13936
13368
 
13937
13369
    GCC_CXX="$GXX"
13958
13390
};
13959
13391
_LT_EOF
13960
13392
 
13961
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13393
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13962
13394
  (eval $ac_compile) 2>&5
13963
13395
  ac_status=$?
13964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965
 
  (exit $ac_status); }; then
 
13396
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13397
  test $ac_status = 0; }; then
13966
13398
  # Parse the compiler output and extract the necessary
13967
13399
  # objects, libraries and library flags.
13968
13400
 
14143
13575
lt_prog_compiler_pic_CXX=
14144
13576
lt_prog_compiler_static_CXX=
14145
13577
 
14146
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14147
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
13578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
13579
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14148
13580
 
14149
13581
  # C++ specific cases for pic, static, wl, etc.
14150
13582
  if test "$GXX" = yes; then
14460
13892
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14461
13893
    ;;
14462
13894
esac
14463
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14464
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
13895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
13896
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14465
13897
 
14466
13898
 
14467
13899
 
14469
13901
# Check to make sure the PIC flag actually works.
14470
13902
#
14471
13903
if test -n "$lt_prog_compiler_pic_CXX"; then
14472
 
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14473
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14474
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14475
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13904
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13905
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
13906
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
13907
  $as_echo_n "(cached) " >&6
14476
13908
else
14477
13909
  lt_cv_prog_compiler_pic_works_CXX=no
14478
13910
   ac_outfile=conftest.$ac_objext
14487
13919
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14488
13920
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14489
13921
   -e 's:$: $lt_compiler_flag:'`
14490
 
   (eval echo "\"\$as_me:14490: $lt_compile\"" >&5)
 
13922
   (eval echo "\"\$as_me:13922: $lt_compile\"" >&5)
14491
13923
   (eval "$lt_compile" 2>conftest.err)
14492
13924
   ac_status=$?
14493
13925
   cat conftest.err >&5
14494
 
   echo "$as_me:14494: \$? = $ac_status" >&5
 
13926
   echo "$as_me:13926: \$? = $ac_status" >&5
14495
13927
   if (exit $ac_status) && test -s "$ac_outfile"; then
14496
13928
     # The compiler can only warn and ignore the option if not recognized
14497
13929
     # So say no if there are warnings other than the usual output.
14504
13936
   $RM conftest*
14505
13937
 
14506
13938
fi
14507
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14508
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
13939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13940
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14509
13941
 
14510
13942
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14511
13943
    case $lt_prog_compiler_pic_CXX in
14525
13957
# Check to make sure the static flag actually works.
14526
13958
#
14527
13959
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14528
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14529
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14530
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14531
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13961
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
13962
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
13963
  $as_echo_n "(cached) " >&6
14532
13964
else
14533
13965
  lt_cv_prog_compiler_static_works_CXX=no
14534
13966
   save_LDFLAGS="$LDFLAGS"
14553
13985
   LDFLAGS="$save_LDFLAGS"
14554
13986
 
14555
13987
fi
14556
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14557
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
13988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13989
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14558
13990
 
14559
13991
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14560
13992
    :
14565
13997
 
14566
13998
 
14567
13999
 
14568
 
    { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14569
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14570
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14571
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14572
 
else
14573
 
  lt_cv_prog_compiler_c_o_CXX=no
14574
 
   $RM -r conftest 2>/dev/null
14575
 
   mkdir conftest
14576
 
   cd conftest
14577
 
   mkdir out
14578
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14579
 
 
14580
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14581
 
   # Insert the option either (1) after the last *FLAGS variable, or
14582
 
   # (2) before a word containing "conftest.", or (3) at the end.
14583
 
   # Note that $ac_compile itself does not contain backslashes and begins
14584
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14585
 
   lt_compile=`echo "$ac_compile" | $SED \
14586
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14587
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14588
 
   -e 's:$: $lt_compiler_flag:'`
14589
 
   (eval echo "\"\$as_me:14589: $lt_compile\"" >&5)
14590
 
   (eval "$lt_compile" 2>out/conftest.err)
14591
 
   ac_status=$?
14592
 
   cat out/conftest.err >&5
14593
 
   echo "$as_me:14593: \$? = $ac_status" >&5
14594
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14595
 
   then
14596
 
     # The compiler can only warn and ignore the option if not recognized
14597
 
     # So say no if there are warnings
14598
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14599
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14600
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14601
 
       lt_cv_prog_compiler_c_o_CXX=yes
14602
 
     fi
14603
 
   fi
14604
 
   chmod u+w . 2>&5
14605
 
   $RM conftest*
14606
 
   # SGI C++ compiler will create directory out/ii_files/ for
14607
 
   # template instantiation
14608
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14609
 
   $RM out/* && rmdir out
14610
 
   cd ..
14611
 
   $RM -r conftest
14612
 
   $RM conftest*
14613
 
 
14614
 
fi
14615
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14616
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14617
 
 
14618
 
 
14619
 
 
14620
 
    { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14621
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14622
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14623
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14624
 
else
14625
 
  lt_cv_prog_compiler_c_o_CXX=no
14626
 
   $RM -r conftest 2>/dev/null
14627
 
   mkdir conftest
14628
 
   cd conftest
14629
 
   mkdir out
14630
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14631
 
 
14632
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14633
 
   # Insert the option either (1) after the last *FLAGS variable, or
14634
 
   # (2) before a word containing "conftest.", or (3) at the end.
14635
 
   # Note that $ac_compile itself does not contain backslashes and begins
14636
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14637
 
   lt_compile=`echo "$ac_compile" | $SED \
14638
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14639
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14640
 
   -e 's:$: $lt_compiler_flag:'`
14641
 
   (eval echo "\"\$as_me:14641: $lt_compile\"" >&5)
14642
 
   (eval "$lt_compile" 2>out/conftest.err)
14643
 
   ac_status=$?
14644
 
   cat out/conftest.err >&5
14645
 
   echo "$as_me:14645: \$? = $ac_status" >&5
14646
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14647
 
   then
14648
 
     # The compiler can only warn and ignore the option if not recognized
14649
 
     # So say no if there are warnings
14650
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14651
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14652
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14653
 
       lt_cv_prog_compiler_c_o_CXX=yes
14654
 
     fi
14655
 
   fi
14656
 
   chmod u+w . 2>&5
14657
 
   $RM conftest*
14658
 
   # SGI C++ compiler will create directory out/ii_files/ for
14659
 
   # template instantiation
14660
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14661
 
   $RM out/* && rmdir out
14662
 
   cd ..
14663
 
   $RM -r conftest
14664
 
   $RM conftest*
14665
 
 
14666
 
fi
14667
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14668
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14000
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14001
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14002
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14003
  $as_echo_n "(cached) " >&6
 
14004
else
 
14005
  lt_cv_prog_compiler_c_o_CXX=no
 
14006
   $RM -r conftest 2>/dev/null
 
14007
   mkdir conftest
 
14008
   cd conftest
 
14009
   mkdir out
 
14010
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14011
 
 
14012
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14013
   # Insert the option either (1) after the last *FLAGS variable, or
 
14014
   # (2) before a word containing "conftest.", or (3) at the end.
 
14015
   # Note that $ac_compile itself does not contain backslashes and begins
 
14016
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14017
   lt_compile=`echo "$ac_compile" | $SED \
 
14018
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14019
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14020
   -e 's:$: $lt_compiler_flag:'`
 
14021
   (eval echo "\"\$as_me:14021: $lt_compile\"" >&5)
 
14022
   (eval "$lt_compile" 2>out/conftest.err)
 
14023
   ac_status=$?
 
14024
   cat out/conftest.err >&5
 
14025
   echo "$as_me:14025: \$? = $ac_status" >&5
 
14026
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14027
   then
 
14028
     # The compiler can only warn and ignore the option if not recognized
 
14029
     # So say no if there are warnings
 
14030
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14031
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14032
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14033
       lt_cv_prog_compiler_c_o_CXX=yes
 
14034
     fi
 
14035
   fi
 
14036
   chmod u+w . 2>&5
 
14037
   $RM conftest*
 
14038
   # SGI C++ compiler will create directory out/ii_files/ for
 
14039
   # template instantiation
 
14040
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14041
   $RM out/* && rmdir out
 
14042
   cd ..
 
14043
   $RM -r conftest
 
14044
   $RM conftest*
 
14045
 
 
14046
fi
 
14047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14048
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14049
 
 
14050
 
 
14051
 
 
14052
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14053
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14054
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14055
  $as_echo_n "(cached) " >&6
 
14056
else
 
14057
  lt_cv_prog_compiler_c_o_CXX=no
 
14058
   $RM -r conftest 2>/dev/null
 
14059
   mkdir conftest
 
14060
   cd conftest
 
14061
   mkdir out
 
14062
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14063
 
 
14064
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14065
   # Insert the option either (1) after the last *FLAGS variable, or
 
14066
   # (2) before a word containing "conftest.", or (3) at the end.
 
14067
   # Note that $ac_compile itself does not contain backslashes and begins
 
14068
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14069
   lt_compile=`echo "$ac_compile" | $SED \
 
14070
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14071
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14072
   -e 's:$: $lt_compiler_flag:'`
 
14073
   (eval echo "\"\$as_me:14073: $lt_compile\"" >&5)
 
14074
   (eval "$lt_compile" 2>out/conftest.err)
 
14075
   ac_status=$?
 
14076
   cat out/conftest.err >&5
 
14077
   echo "$as_me:14077: \$? = $ac_status" >&5
 
14078
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14079
   then
 
14080
     # The compiler can only warn and ignore the option if not recognized
 
14081
     # So say no if there are warnings
 
14082
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14083
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14084
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14085
       lt_cv_prog_compiler_c_o_CXX=yes
 
14086
     fi
 
14087
   fi
 
14088
   chmod u+w . 2>&5
 
14089
   $RM conftest*
 
14090
   # SGI C++ compiler will create directory out/ii_files/ for
 
14091
   # template instantiation
 
14092
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14093
   $RM out/* && rmdir out
 
14094
   cd ..
 
14095
   $RM -r conftest
 
14096
   $RM conftest*
 
14097
 
 
14098
fi
 
14099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14100
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14669
14101
 
14670
14102
 
14671
14103
 
14673
14105
hard_links="nottested"
14674
14106
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14675
14107
  # do not overwrite the value of need_locks provided by the user
14676
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14677
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
14108
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
14109
$as_echo_n "checking if we can lock with hard links... " >&6; }
14678
14110
  hard_links=yes
14679
14111
  $RM conftest*
14680
14112
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14681
14113
  touch conftest.a
14682
14114
  ln conftest.a conftest.b 2>&5 || hard_links=no
14683
14115
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14684
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14685
 
echo "${ECHO_T}$hard_links" >&6; }
 
14116
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
14117
$as_echo "$hard_links" >&6; }
14686
14118
  if test "$hard_links" = no; then
14687
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14688
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
14119
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14120
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14689
14121
    need_locks=warn
14690
14122
  fi
14691
14123
else
14694
14126
 
14695
14127
 
14696
14128
 
14697
 
    { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14698
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
14129
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14130
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14699
14131
 
14700
14132
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14701
14133
  case $host_os in
14723
14155
  esac
14724
14156
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14725
14157
 
14726
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14727
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
14158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
14159
$as_echo "$ld_shlibs_CXX" >&6; }
14728
14160
test "$ld_shlibs_CXX" = no && can_build_shared=no
14729
14161
 
14730
14162
with_gnu_ld_CXX=$with_gnu_ld
14751
14183
      # Test whether the compiler implicitly links with -lc since on some
14752
14184
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14753
14185
      # to ld, don't add -lc before -lgcc.
14754
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14755
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
14186
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
14187
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14756
14188
      $RM conftest*
14757
14189
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14758
14190
 
14759
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14191
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14760
14192
  (eval $ac_compile) 2>&5
14761
14193
  ac_status=$?
14762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763
 
  (exit $ac_status); } 2>conftest.err; then
 
14194
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14195
  test $ac_status = 0; } 2>conftest.err; then
14764
14196
        soname=conftest
14765
14197
        lib=conftest
14766
14198
        libobjs=conftest.$ac_objext
14774
14206
        libname=conftest
14775
14207
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14776
14208
        allow_undefined_flag_CXX=
14777
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
14209
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14778
14210
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14779
14211
  ac_status=$?
14780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781
 
  (exit $ac_status); }
 
14212
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14213
  test $ac_status = 0; }
14782
14214
        then
14783
14215
          archive_cmds_need_lc_CXX=no
14784
14216
        else
14789
14221
        cat conftest.err 1>&5
14790
14222
      fi
14791
14223
      $RM conftest*
14792
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14793
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
14224
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
14225
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
14794
14226
      ;;
14795
14227
    esac
14796
14228
  fi
14860
14292
 
14861
14293
 
14862
14294
 
14863
 
    { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14864
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
14295
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
14296
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14865
14297
 
14866
14298
library_names_spec=
14867
14299
libname_spec='lib$name'
15230
14662
  save_libdir=$libdir
15231
14663
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15232
14664
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15233
 
  cat >conftest.$ac_ext <<_ACEOF
15234
 
/* confdefs.h.  */
15235
 
_ACEOF
15236
 
cat confdefs.h >>conftest.$ac_ext
15237
 
cat >>conftest.$ac_ext <<_ACEOF
 
14665
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15238
14666
/* end confdefs.h.  */
15239
14667
 
15240
14668
int
15245
14673
  return 0;
15246
14674
}
15247
14675
_ACEOF
15248
 
rm -f conftest.$ac_objext conftest$ac_exeext
15249
 
if { (ac_try="$ac_link"
15250
 
case "(($ac_try" in
15251
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15252
 
  *) ac_try_echo=$ac_try;;
15253
 
esac
15254
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15255
 
  (eval "$ac_link") 2>conftest.er1
15256
 
  ac_status=$?
15257
 
  grep -v '^ *+' conftest.er1 >conftest.err
15258
 
  rm -f conftest.er1
15259
 
  cat conftest.err >&5
15260
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261
 
  (exit $ac_status); } && {
15262
 
         test -z "$ac_cxx_werror_flag" ||
15263
 
         test ! -s conftest.err
15264
 
       } && test -s conftest$ac_exeext &&
15265
 
       $as_test_x conftest$ac_exeext; then
15266
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
14676
if ac_fn_cxx_try_link "$LINENO"; then :
 
14677
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15267
14678
  shlibpath_overrides_runpath=yes
15268
14679
fi
15269
 
 
15270
 
else
15271
 
  echo "$as_me: failed program was:" >&5
15272
 
sed 's/^/| /' conftest.$ac_ext >&5
15273
 
 
15274
 
 
15275
14680
fi
15276
 
 
15277
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15278
 
      conftest$ac_exeext conftest.$ac_ext
 
14681
rm -f core conftest.err conftest.$ac_objext \
 
14682
    conftest$ac_exeext conftest.$ac_ext
15279
14683
  LDFLAGS=$save_LDFLAGS
15280
14684
  libdir=$save_libdir
15281
14685
 
15499
14903
  dynamic_linker=no
15500
14904
  ;;
15501
14905
esac
15502
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15503
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
14906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
14907
$as_echo "$dynamic_linker" >&6; }
15504
14908
test "$dynamic_linker" = no && can_build_shared=no
15505
14909
 
15506
14910
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15550
14954
 
15551
14955
 
15552
14956
 
15553
 
    { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15554
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
14957
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
14958
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15555
14959
hardcode_action_CXX=
15556
14960
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15557
14961
   test -n "$runpath_var_CXX" ||
15575
14979
  # directories.
15576
14980
  hardcode_action_CXX=unsupported
15577
14981
fi
15578
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15579
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
 
14982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
14983
$as_echo "$hardcode_action_CXX" >&6; }
15580
14984
 
15581
14985
if test "$hardcode_action_CXX" = relink ||
15582
14986
   test "$inherit_rpath_CXX" = yes; then
15633
15037
# Only expand once:
15634
15038
 
15635
15039
 
15636
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
15637
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
15638
 
if test "${ac_cv_path_SED+set}" = set; then
15639
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
15041
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
15042
if test "${ac_cv_path_SED+set}" = set; then :
 
15043
  $as_echo_n "(cached) " >&6
15640
15044
else
15641
15045
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
15642
15046
     for ac_i in 1 2 3 4 5 6 7; do
15643
15047
       ac_script="$ac_script$as_nl$ac_script"
15644
15048
     done
15645
 
     echo "$ac_script" | sed 99q >conftest.sed
15646
 
     $as_unset ac_script || ac_script=
15647
 
     # Extract the first word of "sed gsed" to use in msg output
15648
 
if test -z "$SED"; then
15649
 
set dummy sed gsed; ac_prog_name=$2
15650
 
if test "${ac_cv_path_SED+set}" = set; then
15651
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15652
 
else
 
15049
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
15050
     { ac_script=; unset ac_script;}
 
15051
     if test -z "$SED"; then
15653
15052
  ac_path_SED_found=false
15654
 
# Loop through the user's path and test for each of PROGNAME-LIST
15655
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15053
  # Loop through the user's path and test for each of PROGNAME-LIST
 
15054
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15656
15055
for as_dir in $PATH
15657
15056
do
15658
15057
  IFS=$as_save_IFS
15659
15058
  test -z "$as_dir" && as_dir=.
15660
 
  for ac_prog in sed gsed; do
15661
 
  for ac_exec_ext in '' $ac_executable_extensions; do
15662
 
    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
15663
 
    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
15664
 
    # Check for GNU ac_path_SED and select it if it is found.
 
15059
    for ac_prog in sed gsed; do
 
15060
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15061
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
15062
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
15063
# Check for GNU ac_path_SED and select it if it is found.
15665
15064
  # Check for GNU $ac_path_SED
15666
15065
case `"$ac_path_SED" --version 2>&1` in
15667
15066
*GNU*)
15668
15067
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
15669
15068
*)
15670
15069
  ac_count=0
15671
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
15070
  $as_echo_n 0123456789 >"conftest.in"
15672
15071
  while :
15673
15072
  do
15674
15073
    cat "conftest.in" "conftest.in" >"conftest.tmp"
15675
15074
    mv "conftest.tmp" "conftest.in"
15676
15075
    cp "conftest.in" "conftest.nl"
15677
 
    echo '' >> "conftest.nl"
 
15076
    $as_echo '' >> "conftest.nl"
15678
15077
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
15679
15078
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15680
 
    ac_count=`expr $ac_count + 1`
 
15079
    as_fn_arith $ac_count + 1 && ac_count=$as_val
15681
15080
    if test $ac_count -gt ${ac_path_SED_max-0}; then
15682
15081
      # Best one so far, save it but keep looking for a better one
15683
15082
      ac_cv_path_SED="$ac_path_SED"
15689
15088
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15690
15089
esac
15691
15090
 
15692
 
 
15693
 
    $ac_path_SED_found && break 3
15694
 
  done
15695
 
done
15696
 
 
15697
 
done
 
15091
      $ac_path_SED_found && break 3
 
15092
    done
 
15093
  done
 
15094
  done
15698
15095
IFS=$as_save_IFS
15699
 
 
15700
 
 
15701
 
fi
15702
 
 
15703
 
SED="$ac_cv_path_SED"
15704
 
if test -z "$SED"; then
15705
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
15706
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
15707
 
   { (exit 1); exit 1; }; }
15708
 
fi
15709
 
 
 
15096
  if test -z "$ac_cv_path_SED"; then
 
15097
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
15098
  fi
15710
15099
else
15711
15100
  ac_cv_path_SED=$SED
15712
15101
fi
15713
15102
 
15714
15103
fi
15715
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
15716
 
echo "${ECHO_T}$ac_cv_path_SED" >&6; }
 
15104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
15105
$as_echo "$ac_cv_path_SED" >&6; }
15717
15106
 SED="$ac_cv_path_SED"
15718
15107
  rm -f conftest.sed
15719
15108
 
15721
15110
do
15722
15111
  # Extract the first word of "$ac_prog", so it can be a program name with args.
15723
15112
set dummy $ac_prog; ac_word=$2
15724
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15725
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15726
 
if test "${ac_cv_prog_AWK+set}" = set; then
15727
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15114
$as_echo_n "checking for $ac_word... " >&6; }
 
15115
if test "${ac_cv_prog_AWK+set}" = set; then :
 
15116
  $as_echo_n "(cached) " >&6
15728
15117
else
15729
15118
  if test -n "$AWK"; then
15730
15119
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
15734
15123
do
15735
15124
  IFS=$as_save_IFS
15736
15125
  test -z "$as_dir" && as_dir=.
15737
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15126
    for ac_exec_ext in '' $ac_executable_extensions; do
15738
15127
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15739
15128
    ac_cv_prog_AWK="$ac_prog"
15740
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15129
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15741
15130
    break 2
15742
15131
  fi
15743
15132
done
15744
 
done
 
15133
  done
15745
15134
IFS=$as_save_IFS
15746
15135
 
15747
15136
fi
15748
15137
fi
15749
15138
AWK=$ac_cv_prog_AWK
15750
15139
if test -n "$AWK"; then
15751
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
15752
 
echo "${ECHO_T}$AWK" >&6; }
 
15140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
15141
$as_echo "$AWK" >&6; }
15753
15142
else
15754
 
  { echo "$as_me:$LINENO: result: no" >&5
15755
 
echo "${ECHO_T}no" >&6; }
 
15143
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15144
$as_echo "no" >&6; }
15756
15145
fi
15757
15146
 
15758
15147
 
15768
15157
fi
15769
15158
 
15770
15159
# Checks for libraries.
15771
 
 
15772
 
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
15773
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
15774
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
15775
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
 
15161
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
 
15162
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
 
15163
  $as_echo_n "(cached) " >&6
15776
15164
else
15777
15165
  ac_check_lib_save_LIBS=$LIBS
15778
15166
LIBS="-lpthread  $LIBS"
15779
 
cat >conftest.$ac_ext <<_ACEOF
15780
 
/* confdefs.h.  */
15781
 
_ACEOF
15782
 
cat confdefs.h >>conftest.$ac_ext
15783
 
cat >>conftest.$ac_ext <<_ACEOF
 
15167
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15784
15168
/* end confdefs.h.  */
15785
15169
 
15786
15170
/* Override any GCC internal prototype to avoid an error.
15798
15182
  return 0;
15799
15183
}
15800
15184
_ACEOF
15801
 
rm -f conftest.$ac_objext conftest$ac_exeext
15802
 
if { (ac_try="$ac_link"
15803
 
case "(($ac_try" in
15804
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15805
 
  *) ac_try_echo=$ac_try;;
15806
 
esac
15807
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15808
 
  (eval "$ac_link") 2>conftest.er1
15809
 
  ac_status=$?
15810
 
  grep -v '^ *+' conftest.er1 >conftest.err
15811
 
  rm -f conftest.er1
15812
 
  cat conftest.err >&5
15813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814
 
  (exit $ac_status); } && {
15815
 
         test -z "$ac_c_werror_flag" ||
15816
 
         test ! -s conftest.err
15817
 
       } && test -s conftest$ac_exeext &&
15818
 
       $as_test_x conftest$ac_exeext; then
 
15185
if ac_fn_c_try_link "$LINENO"; then :
15819
15186
  ac_cv_lib_pthread_pthread_create=yes
15820
15187
else
15821
 
  echo "$as_me: failed program was:" >&5
15822
 
sed 's/^/| /' conftest.$ac_ext >&5
15823
 
 
15824
 
        ac_cv_lib_pthread_pthread_create=no
 
15188
  ac_cv_lib_pthread_pthread_create=no
15825
15189
fi
15826
 
 
15827
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15828
 
      conftest$ac_exeext conftest.$ac_ext
 
15190
rm -f core conftest.err conftest.$ac_objext \
 
15191
    conftest$ac_exeext conftest.$ac_ext
15829
15192
LIBS=$ac_check_lib_save_LIBS
15830
15193
fi
15831
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
15832
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
15833
 
if test $ac_cv_lib_pthread_pthread_create = yes; then
 
15194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
 
15195
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
 
15196
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
15834
15197
  cat >>confdefs.h <<_ACEOF
15835
15198
#define HAVE_LIBPTHREAD 1
15836
15199
_ACEOF
15856
15219
on_mingw32="no"
15857
15220
 
15858
15221
# Host speciffic checks
15859
 
{ echo "$as_me:$LINENO: checking host system type" >&5
15860
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
15861
 
if test "${ac_cv_host+set}" = set; then
15862
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15863
 
else
15864
 
  if test "x$host_alias" = x; then
15865
 
  ac_cv_host=$ac_cv_build
15866
 
else
15867
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
15868
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
15869
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
15870
 
   { (exit 1); exit 1; }; }
15871
 
fi
15872
 
 
15873
 
fi
15874
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
15875
 
echo "${ECHO_T}$ac_cv_host" >&6; }
15876
 
case $ac_cv_host in
15877
 
*-*-*) ;;
15878
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
15879
 
echo "$as_me: error: invalid value of canonical host" >&2;}
15880
 
   { (exit 1); exit 1; }; };;
15881
 
esac
15882
 
host=$ac_cv_host
15883
 
ac_save_IFS=$IFS; IFS='-'
15884
 
set x $ac_cv_host
15885
 
shift
15886
 
host_cpu=$1
15887
 
host_vendor=$2
15888
 
shift; shift
15889
 
# Remember, the first character of IFS is used to create $*,
15890
 
# except with old shells:
15891
 
host_os=$*
15892
 
IFS=$ac_save_IFS
15893
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
15894
 
 
15895
15222
 
15896
15223
 
15897
15224
# Determine whether or not documentation should be built and installed.
15900
15227
# Check for asciidoc and xmlto and don't build the docs if these are not installed.
15901
15228
# Extract the first word of "asciidoc", so it can be a program name with args.
15902
15229
set dummy asciidoc; ac_word=$2
15903
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15904
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15905
 
if test "${ac_cv_prog_have_asciidoc+set}" = set; then
15906
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15231
$as_echo_n "checking for $ac_word... " >&6; }
 
15232
if test "${ac_cv_prog_have_asciidoc+set}" = set; then :
 
15233
  $as_echo_n "(cached) " >&6
15907
15234
else
15908
15235
  if test -n "$have_asciidoc"; then
15909
15236
  ac_cv_prog_have_asciidoc="$have_asciidoc" # Let the user override the test.
15913
15240
do
15914
15241
  IFS=$as_save_IFS
15915
15242
  test -z "$as_dir" && as_dir=.
15916
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15243
    for ac_exec_ext in '' $ac_executable_extensions; do
15917
15244
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15918
15245
    ac_cv_prog_have_asciidoc="yes"
15919
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15246
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15920
15247
    break 2
15921
15248
  fi
15922
15249
done
15923
 
done
 
15250
  done
15924
15251
IFS=$as_save_IFS
15925
15252
 
15926
15253
  test -z "$ac_cv_prog_have_asciidoc" && ac_cv_prog_have_asciidoc="no"
15928
15255
fi
15929
15256
have_asciidoc=$ac_cv_prog_have_asciidoc
15930
15257
if test -n "$have_asciidoc"; then
15931
 
  { echo "$as_me:$LINENO: result: $have_asciidoc" >&5
15932
 
echo "${ECHO_T}$have_asciidoc" >&6; }
 
15258
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_asciidoc" >&5
 
15259
$as_echo "$have_asciidoc" >&6; }
15933
15260
else
15934
 
  { echo "$as_me:$LINENO: result: no" >&5
15935
 
echo "${ECHO_T}no" >&6; }
 
15261
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15262
$as_echo "no" >&6; }
15936
15263
fi
15937
15264
 
15938
15265
 
15939
15266
# Extract the first word of "xmlto", so it can be a program name with args.
15940
15267
set dummy xmlto; ac_word=$2
15941
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15942
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15943
 
if test "${ac_cv_prog_have_xmlto+set}" = set; then
15944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15269
$as_echo_n "checking for $ac_word... " >&6; }
 
15270
if test "${ac_cv_prog_have_xmlto+set}" = set; then :
 
15271
  $as_echo_n "(cached) " >&6
15945
15272
else
15946
15273
  if test -n "$have_xmlto"; then
15947
15274
  ac_cv_prog_have_xmlto="$have_xmlto" # Let the user override the test.
15951
15278
do
15952
15279
  IFS=$as_save_IFS
15953
15280
  test -z "$as_dir" && as_dir=.
15954
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15281
    for ac_exec_ext in '' $ac_executable_extensions; do
15955
15282
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15956
15283
    ac_cv_prog_have_xmlto="yes"
15957
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15284
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15958
15285
    break 2
15959
15286
  fi
15960
15287
done
15961
 
done
 
15288
  done
15962
15289
IFS=$as_save_IFS
15963
15290
 
15964
15291
  test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto="no"
15966
15293
fi
15967
15294
have_xmlto=$ac_cv_prog_have_xmlto
15968
15295
if test -n "$have_xmlto"; then
15969
 
  { echo "$as_me:$LINENO: result: $have_xmlto" >&5
15970
 
echo "${ECHO_T}$have_xmlto" >&6; }
 
15296
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmlto" >&5
 
15297
$as_echo "$have_xmlto" >&6; }
15971
15298
else
15972
 
  { echo "$as_me:$LINENO: result: no" >&5
15973
 
echo "${ECHO_T}no" >&6; }
 
15299
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15300
$as_echo "no" >&6; }
15974
15301
fi
15975
15302
 
15976
15303
 
15979
15306
    # Tarballs built with 'make dist' ship with prebuilt documentation.
15980
15307
    if ! test -f doc/zmq.7; then
15981
15308
        install_man="no"
15982
 
        { echo "$as_me:$LINENO: WARNING: You are building an unreleased version of 0MQ and asciidoc or xmlto are not installed. Documentation will not be built and manual pages will not be installed." >&5
15983
 
echo "$as_me: WARNING: You are building an unreleased version of 0MQ and asciidoc or xmlto are not installed. Documentation will not be built and manual pages will not be installed." >&2;}
 
15309
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You are building an unreleased version of 0MQ and asciidoc or xmlto are not installed. Documentation will not be built and manual pages will not be installed." >&5
 
15310
$as_echo "$as_me: WARNING: You are building an unreleased version of 0MQ and asciidoc or xmlto are not installed. Documentation will not be built and manual pages will not be installed." >&2;}
15984
15311
    fi
15985
15312
fi
15986
 
{ echo "$as_me:$LINENO: checking whether to build documentation" >&5
15987
 
echo $ECHO_N "checking whether to build documentation... $ECHO_C" >&6; }
15988
 
{ echo "$as_me:$LINENO: result: $build_doc" >&5
15989
 
echo "${ECHO_T}$build_doc" >&6; }
15990
 
{ echo "$as_me:$LINENO: checking whether to install manpages" >&5
15991
 
echo $ECHO_N "checking whether to install manpages... $ECHO_C" >&6; }
15992
 
{ echo "$as_me:$LINENO: result: $install_man" >&5
15993
 
echo "${ECHO_T}$install_man" >&6; }
 
15313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
 
15314
$as_echo_n "checking whether to build documentation... " >&6; }
 
15315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_doc" >&5
 
15316
$as_echo "$build_doc" >&6; }
 
15317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install manpages" >&5
 
15318
$as_echo_n "checking whether to install manpages... " >&6; }
 
15319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_man" >&5
 
15320
$as_echo "$install_man" >&6; }
15994
15321
 
15995
15322
# Set some default features required by 0MQ code.
15996
15323
CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE $CPPFLAGS"
16001
15328
        # Define on Linux to enable all library features
16002
15329
        CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
16003
15330
 
16004
 
cat >>confdefs.h <<\_ACEOF
16005
 
#define ZMQ_HAVE_LINUX 1
16006
 
_ACEOF
16007
 
 
16008
 
 
16009
 
{ echo "$as_me:$LINENO: checking for main in -luuid" >&5
16010
 
echo $ECHO_N "checking for main in -luuid... $ECHO_C" >&6; }
16011
 
if test "${ac_cv_lib_uuid_main+set}" = set; then
16012
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15331
$as_echo "#define ZMQ_HAVE_LINUX 1" >>confdefs.h
 
15332
 
 
15333
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -luuid" >&5
 
15334
$as_echo_n "checking for main in -luuid... " >&6; }
 
15335
if test "${ac_cv_lib_uuid_main+set}" = set; then :
 
15336
  $as_echo_n "(cached) " >&6
16013
15337
else
16014
15338
  ac_check_lib_save_LIBS=$LIBS
16015
15339
LIBS="-luuid  $LIBS"
16016
 
cat >conftest.$ac_ext <<_ACEOF
16017
 
/* confdefs.h.  */
16018
 
_ACEOF
16019
 
cat confdefs.h >>conftest.$ac_ext
16020
 
cat >>conftest.$ac_ext <<_ACEOF
 
15340
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021
15341
/* end confdefs.h.  */
16022
15342
 
16023
15343
 
16029
15349
  return 0;
16030
15350
}
16031
15351
_ACEOF
16032
 
rm -f conftest.$ac_objext conftest$ac_exeext
16033
 
if { (ac_try="$ac_link"
16034
 
case "(($ac_try" in
16035
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16036
 
  *) ac_try_echo=$ac_try;;
16037
 
esac
16038
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16039
 
  (eval "$ac_link") 2>conftest.er1
16040
 
  ac_status=$?
16041
 
  grep -v '^ *+' conftest.er1 >conftest.err
16042
 
  rm -f conftest.er1
16043
 
  cat conftest.err >&5
16044
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045
 
  (exit $ac_status); } && {
16046
 
         test -z "$ac_c_werror_flag" ||
16047
 
         test ! -s conftest.err
16048
 
       } && test -s conftest$ac_exeext &&
16049
 
       $as_test_x conftest$ac_exeext; then
 
15352
if ac_fn_c_try_link "$LINENO"; then :
16050
15353
  ac_cv_lib_uuid_main=yes
16051
15354
else
16052
 
  echo "$as_me: failed program was:" >&5
16053
 
sed 's/^/| /' conftest.$ac_ext >&5
16054
 
 
16055
 
        ac_cv_lib_uuid_main=no
 
15355
  ac_cv_lib_uuid_main=no
16056
15356
fi
16057
 
 
16058
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16059
 
      conftest$ac_exeext conftest.$ac_ext
 
15357
rm -f core conftest.err conftest.$ac_objext \
 
15358
    conftest$ac_exeext conftest.$ac_ext
16060
15359
LIBS=$ac_check_lib_save_LIBS
16061
15360
fi
16062
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_main" >&5
16063
 
echo "${ECHO_T}$ac_cv_lib_uuid_main" >&6; }
16064
 
if test $ac_cv_lib_uuid_main = yes; then
 
15361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_main" >&5
 
15362
$as_echo "$ac_cv_lib_uuid_main" >&6; }
 
15363
if test "x$ac_cv_lib_uuid_main" = x""yes; then :
16065
15364
  cat >>confdefs.h <<_ACEOF
16066
15365
#define HAVE_LIBUUID 1
16067
15366
_ACEOF
16069
15368
  LIBS="-luuid $LIBS"
16070
15369
 
16071
15370
else
16072
 
  { { echo "$as_me:$LINENO: error: cannot link with -luuid, install uuid-dev." >&5
16073
 
echo "$as_me: error: cannot link with -luuid, install uuid-dev." >&2;}
16074
 
   { (exit 1); exit 1; }; }
 
15371
  as_fn_error "cannot link with -luuid, install uuid-dev." "$LINENO" 5
16075
15372
fi
16076
15373
 
16077
15374
        ;;
16079
15376
        # Define on Solaris to enable all library features
16080
15377
        CPPFLAGS="-D_PTHREADS $CPPFLAGS"
16081
15378
 
16082
 
cat >>confdefs.h <<\_ACEOF
16083
 
#define ZMQ_HAVE_SOLARIS 1
16084
 
_ACEOF
16085
 
 
16086
 
 
16087
 
{ echo "$as_me:$LINENO: checking for main in -lsocket" >&5
16088
 
echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6; }
16089
 
if test "${ac_cv_lib_socket_main+set}" = set; then
16090
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15379
$as_echo "#define ZMQ_HAVE_SOLARIS 1" >>confdefs.h
 
15380
 
 
15381
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
 
15382
$as_echo_n "checking for main in -lsocket... " >&6; }
 
15383
if test "${ac_cv_lib_socket_main+set}" = set; then :
 
15384
  $as_echo_n "(cached) " >&6
16091
15385
else
16092
15386
  ac_check_lib_save_LIBS=$LIBS
16093
15387
LIBS="-lsocket  $LIBS"
16094
 
cat >conftest.$ac_ext <<_ACEOF
16095
 
/* confdefs.h.  */
16096
 
_ACEOF
16097
 
cat confdefs.h >>conftest.$ac_ext
16098
 
cat >>conftest.$ac_ext <<_ACEOF
 
15388
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16099
15389
/* end confdefs.h.  */
16100
15390
 
16101
15391
 
16107
15397
  return 0;
16108
15398
}
16109
15399
_ACEOF
16110
 
rm -f conftest.$ac_objext conftest$ac_exeext
16111
 
if { (ac_try="$ac_link"
16112
 
case "(($ac_try" in
16113
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16114
 
  *) ac_try_echo=$ac_try;;
16115
 
esac
16116
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16117
 
  (eval "$ac_link") 2>conftest.er1
16118
 
  ac_status=$?
16119
 
  grep -v '^ *+' conftest.er1 >conftest.err
16120
 
  rm -f conftest.er1
16121
 
  cat conftest.err >&5
16122
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123
 
  (exit $ac_status); } && {
16124
 
         test -z "$ac_c_werror_flag" ||
16125
 
         test ! -s conftest.err
16126
 
       } && test -s conftest$ac_exeext &&
16127
 
       $as_test_x conftest$ac_exeext; then
 
15400
if ac_fn_c_try_link "$LINENO"; then :
16128
15401
  ac_cv_lib_socket_main=yes
16129
15402
else
16130
 
  echo "$as_me: failed program was:" >&5
16131
 
sed 's/^/| /' conftest.$ac_ext >&5
16132
 
 
16133
 
        ac_cv_lib_socket_main=no
 
15403
  ac_cv_lib_socket_main=no
16134
15404
fi
16135
 
 
16136
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16137
 
      conftest$ac_exeext conftest.$ac_ext
 
15405
rm -f core conftest.err conftest.$ac_objext \
 
15406
    conftest$ac_exeext conftest.$ac_ext
16138
15407
LIBS=$ac_check_lib_save_LIBS
16139
15408
fi
16140
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
16141
 
echo "${ECHO_T}$ac_cv_lib_socket_main" >&6; }
16142
 
if test $ac_cv_lib_socket_main = yes; then
 
15409
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
 
15410
$as_echo "$ac_cv_lib_socket_main" >&6; }
 
15411
if test "x$ac_cv_lib_socket_main" = x""yes; then :
16143
15412
  cat >>confdefs.h <<_ACEOF
16144
15413
#define HAVE_LIBSOCKET 1
16145
15414
_ACEOF
16148
15417
 
16149
15418
fi
16150
15419
 
16151
 
 
16152
 
{ echo "$as_me:$LINENO: checking for main in -lnsl" >&5
16153
 
echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6; }
16154
 
if test "${ac_cv_lib_nsl_main+set}" = set; then
16155
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15420
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
 
15421
$as_echo_n "checking for main in -lnsl... " >&6; }
 
15422
if test "${ac_cv_lib_nsl_main+set}" = set; then :
 
15423
  $as_echo_n "(cached) " >&6
16156
15424
else
16157
15425
  ac_check_lib_save_LIBS=$LIBS
16158
15426
LIBS="-lnsl  $LIBS"
16159
 
cat >conftest.$ac_ext <<_ACEOF
16160
 
/* confdefs.h.  */
16161
 
_ACEOF
16162
 
cat confdefs.h >>conftest.$ac_ext
16163
 
cat >>conftest.$ac_ext <<_ACEOF
 
15427
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16164
15428
/* end confdefs.h.  */
16165
15429
 
16166
15430
 
16172
15436
  return 0;
16173
15437
}
16174
15438
_ACEOF
16175
 
rm -f conftest.$ac_objext conftest$ac_exeext
16176
 
if { (ac_try="$ac_link"
16177
 
case "(($ac_try" in
16178
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16179
 
  *) ac_try_echo=$ac_try;;
16180
 
esac
16181
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16182
 
  (eval "$ac_link") 2>conftest.er1
16183
 
  ac_status=$?
16184
 
  grep -v '^ *+' conftest.er1 >conftest.err
16185
 
  rm -f conftest.er1
16186
 
  cat conftest.err >&5
16187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188
 
  (exit $ac_status); } && {
16189
 
         test -z "$ac_c_werror_flag" ||
16190
 
         test ! -s conftest.err
16191
 
       } && test -s conftest$ac_exeext &&
16192
 
       $as_test_x conftest$ac_exeext; then
 
15439
if ac_fn_c_try_link "$LINENO"; then :
16193
15440
  ac_cv_lib_nsl_main=yes
16194
15441
else
16195
 
  echo "$as_me: failed program was:" >&5
16196
 
sed 's/^/| /' conftest.$ac_ext >&5
16197
 
 
16198
 
        ac_cv_lib_nsl_main=no
 
15442
  ac_cv_lib_nsl_main=no
16199
15443
fi
16200
 
 
16201
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16202
 
      conftest$ac_exeext conftest.$ac_ext
 
15444
rm -f core conftest.err conftest.$ac_objext \
 
15445
    conftest$ac_exeext conftest.$ac_ext
16203
15446
LIBS=$ac_check_lib_save_LIBS
16204
15447
fi
16205
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
16206
 
echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6; }
16207
 
if test $ac_cv_lib_nsl_main = yes; then
 
15448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
 
15449
$as_echo "$ac_cv_lib_nsl_main" >&6; }
 
15450
if test "x$ac_cv_lib_nsl_main" = x""yes; then :
16208
15451
  cat >>confdefs.h <<_ACEOF
16209
15452
#define HAVE_LIBNSL 1
16210
15453
_ACEOF
16213
15456
 
16214
15457
fi
16215
15458
 
16216
 
 
16217
 
{ echo "$as_me:$LINENO: checking for main in -lrt" >&5
16218
 
echo $ECHO_N "checking for main in -lrt... $ECHO_C" >&6; }
16219
 
if test "${ac_cv_lib_rt_main+set}" = set; then
16220
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15459
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
 
15460
$as_echo_n "checking for main in -lrt... " >&6; }
 
15461
if test "${ac_cv_lib_rt_main+set}" = set; then :
 
15462
  $as_echo_n "(cached) " >&6
16221
15463
else
16222
15464
  ac_check_lib_save_LIBS=$LIBS
16223
15465
LIBS="-lrt  $LIBS"
16224
 
cat >conftest.$ac_ext <<_ACEOF
16225
 
/* confdefs.h.  */
16226
 
_ACEOF
16227
 
cat confdefs.h >>conftest.$ac_ext
16228
 
cat >>conftest.$ac_ext <<_ACEOF
 
15466
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16229
15467
/* end confdefs.h.  */
16230
15468
 
16231
15469
 
16237
15475
  return 0;
16238
15476
}
16239
15477
_ACEOF
16240
 
rm -f conftest.$ac_objext conftest$ac_exeext
16241
 
if { (ac_try="$ac_link"
16242
 
case "(($ac_try" in
16243
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16244
 
  *) ac_try_echo=$ac_try;;
16245
 
esac
16246
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16247
 
  (eval "$ac_link") 2>conftest.er1
16248
 
  ac_status=$?
16249
 
  grep -v '^ *+' conftest.er1 >conftest.err
16250
 
  rm -f conftest.er1
16251
 
  cat conftest.err >&5
16252
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253
 
  (exit $ac_status); } && {
16254
 
         test -z "$ac_c_werror_flag" ||
16255
 
         test ! -s conftest.err
16256
 
       } && test -s conftest$ac_exeext &&
16257
 
       $as_test_x conftest$ac_exeext; then
 
15478
if ac_fn_c_try_link "$LINENO"; then :
16258
15479
  ac_cv_lib_rt_main=yes
16259
15480
else
16260
 
  echo "$as_me: failed program was:" >&5
16261
 
sed 's/^/| /' conftest.$ac_ext >&5
16262
 
 
16263
 
        ac_cv_lib_rt_main=no
 
15481
  ac_cv_lib_rt_main=no
16264
15482
fi
16265
 
 
16266
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16267
 
      conftest$ac_exeext conftest.$ac_ext
 
15483
rm -f core conftest.err conftest.$ac_objext \
 
15484
    conftest$ac_exeext conftest.$ac_ext
16268
15485
LIBS=$ac_check_lib_save_LIBS
16269
15486
fi
16270
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_main" >&5
16271
 
echo "${ECHO_T}$ac_cv_lib_rt_main" >&6; }
16272
 
if test $ac_cv_lib_rt_main = yes; then
 
15487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
 
15488
$as_echo "$ac_cv_lib_rt_main" >&6; }
 
15489
if test "x$ac_cv_lib_rt_main" = x""yes; then :
16273
15490
  cat >>confdefs.h <<_ACEOF
16274
15491
#define HAVE_LIBRT 1
16275
15492
_ACEOF
16278
15495
 
16279
15496
fi
16280
15497
 
16281
 
 
16282
 
{ echo "$as_me:$LINENO: checking for main in -luuid" >&5
16283
 
echo $ECHO_N "checking for main in -luuid... $ECHO_C" >&6; }
16284
 
if test "${ac_cv_lib_uuid_main+set}" = set; then
16285
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15498
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -luuid" >&5
 
15499
$as_echo_n "checking for main in -luuid... " >&6; }
 
15500
if test "${ac_cv_lib_uuid_main+set}" = set; then :
 
15501
  $as_echo_n "(cached) " >&6
16286
15502
else
16287
15503
  ac_check_lib_save_LIBS=$LIBS
16288
15504
LIBS="-luuid  $LIBS"
16289
 
cat >conftest.$ac_ext <<_ACEOF
16290
 
/* confdefs.h.  */
16291
 
_ACEOF
16292
 
cat confdefs.h >>conftest.$ac_ext
16293
 
cat >>conftest.$ac_ext <<_ACEOF
 
15505
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16294
15506
/* end confdefs.h.  */
16295
15507
 
16296
15508
 
16302
15514
  return 0;
16303
15515
}
16304
15516
_ACEOF
16305
 
rm -f conftest.$ac_objext conftest$ac_exeext
16306
 
if { (ac_try="$ac_link"
16307
 
case "(($ac_try" in
16308
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16309
 
  *) ac_try_echo=$ac_try;;
16310
 
esac
16311
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16312
 
  (eval "$ac_link") 2>conftest.er1
16313
 
  ac_status=$?
16314
 
  grep -v '^ *+' conftest.er1 >conftest.err
16315
 
  rm -f conftest.er1
16316
 
  cat conftest.err >&5
16317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318
 
  (exit $ac_status); } && {
16319
 
         test -z "$ac_c_werror_flag" ||
16320
 
         test ! -s conftest.err
16321
 
       } && test -s conftest$ac_exeext &&
16322
 
       $as_test_x conftest$ac_exeext; then
 
15517
if ac_fn_c_try_link "$LINENO"; then :
16323
15518
  ac_cv_lib_uuid_main=yes
16324
15519
else
16325
 
  echo "$as_me: failed program was:" >&5
16326
 
sed 's/^/| /' conftest.$ac_ext >&5
16327
 
 
16328
 
        ac_cv_lib_uuid_main=no
 
15520
  ac_cv_lib_uuid_main=no
16329
15521
fi
16330
 
 
16331
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16332
 
      conftest$ac_exeext conftest.$ac_ext
 
15522
rm -f core conftest.err conftest.$ac_objext \
 
15523
    conftest$ac_exeext conftest.$ac_ext
16333
15524
LIBS=$ac_check_lib_save_LIBS
16334
15525
fi
16335
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_main" >&5
16336
 
echo "${ECHO_T}$ac_cv_lib_uuid_main" >&6; }
16337
 
if test $ac_cv_lib_uuid_main = yes; then
 
15526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_main" >&5
 
15527
$as_echo "$ac_cv_lib_uuid_main" >&6; }
 
15528
if test "x$ac_cv_lib_uuid_main" = x""yes; then :
16338
15529
  cat >>confdefs.h <<_ACEOF
16339
15530
#define HAVE_LIBUUID 1
16340
15531
_ACEOF
16342
15533
  LIBS="-luuid $LIBS"
16343
15534
 
16344
15535
else
16345
 
  { { echo "$as_me:$LINENO: error: cannot link with -luuid, install uuid-dev." >&5
16346
 
echo "$as_me: error: cannot link with -luuid, install uuid-dev." >&2;}
16347
 
   { (exit 1); exit 1; }; }
 
15536
  as_fn_error "cannot link with -luuid, install uuid-dev." "$LINENO" 5
16348
15537
fi
16349
15538
 
16350
 
        { echo "$as_me:$LINENO: checking whether atomic operations can be used" >&5
16351
 
echo $ECHO_N "checking whether atomic operations can be used... $ECHO_C" >&6; }
16352
 
        cat >conftest.$ac_ext <<_ACEOF
16353
 
/* confdefs.h.  */
16354
 
_ACEOF
16355
 
cat confdefs.h >>conftest.$ac_ext
16356
 
cat >>conftest.$ac_ext <<_ACEOF
 
15539
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic operations can be used" >&5
 
15540
$as_echo_n "checking whether atomic operations can be used... " >&6; }
 
15541
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16357
15542
/* end confdefs.h.  */
16358
15543
#include <atomic.h>
16359
15544
int
16366
15551
  return 0;
16367
15552
}
16368
15553
_ACEOF
16369
 
rm -f conftest.$ac_objext
16370
 
if { (ac_try="$ac_compile"
16371
 
case "(($ac_try" in
16372
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16373
 
  *) ac_try_echo=$ac_try;;
16374
 
esac
16375
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16376
 
  (eval "$ac_compile") 2>conftest.er1
16377
 
  ac_status=$?
16378
 
  grep -v '^ *+' conftest.er1 >conftest.err
16379
 
  rm -f conftest.er1
16380
 
  cat conftest.err >&5
16381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382
 
  (exit $ac_status); } && {
16383
 
         test -z "$ac_c_werror_flag" ||
16384
 
         test ! -s conftest.err
16385
 
       } && test -s conftest.$ac_objext; then
 
15554
if ac_fn_c_try_compile "$LINENO"; then :
16386
15555
  solaris_has_atomic=yes
16387
15556
else
16388
 
  echo "$as_me: failed program was:" >&5
16389
 
sed 's/^/| /' conftest.$ac_ext >&5
16390
 
 
16391
 
        solaris_has_atomic=no
 
15557
  solaris_has_atomic=no
16392
15558
fi
16393
 
 
16394
15559
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16395
 
        { echo "$as_me:$LINENO: result: $solaris_has_atomic" >&5
16396
 
echo "${ECHO_T}$solaris_has_atomic" >&6; }
 
15560
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $solaris_has_atomic" >&5
 
15561
$as_echo "$solaris_has_atomic" >&6; }
16397
15562
        # Solaris 8 does not have atomic operations exported to user space.
16398
15563
        if test "x$solaris_has_atomic" = "xno"; then
16399
15564
 
16400
 
cat >>confdefs.h <<\_ACEOF
16401
 
#define ZMQ_FORCE_MUTEXES 1
16402
 
_ACEOF
 
15565
$as_echo "#define ZMQ_FORCE_MUTEXES 1" >>confdefs.h
16403
15566
 
16404
15567
        fi
16405
15568
        ;;
16407
15570
        # Define on FreeBSD to enable all library features
16408
15571
        CPPFLAGS="-D__BSD_VISIBLE $CPPFLAGS"
16409
15572
 
16410
 
cat >>confdefs.h <<\_ACEOF
16411
 
#define ZMQ_HAVE_FREEBSD 1
16412
 
_ACEOF
 
15573
$as_echo "#define ZMQ_HAVE_FREEBSD 1" >>confdefs.h
16413
15574
 
16414
15575
        ;;
16415
15576
    *darwin*)
16418
15579
        pedantic="no"
16419
15580
        werror="no"
16420
15581
 
16421
 
cat >>confdefs.h <<\_ACEOF
16422
 
#define ZMQ_HAVE_OSX 1
16423
 
_ACEOF
 
15582
$as_echo "#define ZMQ_HAVE_OSX 1" >>confdefs.h
16424
15583
 
16425
15584
        LIBZMQ_EXTRA_CXXFLAGS+="-Wno-uninitialized"
16426
15585
        ;;
16428
15587
        # Define on NetBSD to enable all library features
16429
15588
        CPPFLAGS="-D_NETBSD_SOURCE $CPPFLAGS"
16430
15589
 
16431
 
cat >>confdefs.h <<\_ACEOF
16432
 
#define ZMQ_HAVE_NETBSD 1
16433
 
_ACEOF
 
15590
$as_echo "#define ZMQ_HAVE_NETBSD 1" >>confdefs.h
16434
15591
 
16435
15592
        # NetBSD 5.0 and newer provides atomic operations but we can
16436
15593
        # only use these on systems where PR #42842 has been fixed so
16437
15594
        # we must try and link a test program using C++.
16438
15595
        netbsd_has_atomic=no
16439
 
        { echo "$as_me:$LINENO: checking whether atomic operations can be used" >&5
16440
 
echo $ECHO_N "checking whether atomic operations can be used... $ECHO_C" >&6; }
 
15596
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic operations can be used" >&5
 
15597
$as_echo_n "checking whether atomic operations can be used... " >&6; }
16441
15598
        ac_ext=cpp
16442
15599
ac_cpp='$CXXCPP $CPPFLAGS'
16443
15600
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16444
15601
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16445
15602
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16446
15603
 
16447
 
        cat >conftest.$ac_ext <<_ACEOF
16448
 
/* confdefs.h.  */
16449
 
_ACEOF
16450
 
cat confdefs.h >>conftest.$ac_ext
16451
 
cat >>conftest.$ac_ext <<_ACEOF
 
15604
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16452
15605
/* end confdefs.h.  */
16453
15606
#include <atomic.h>
16454
15607
int
16461
15614
  return 0;
16462
15615
}
16463
15616
_ACEOF
16464
 
rm -f conftest.$ac_objext conftest$ac_exeext
16465
 
if { (ac_try="$ac_link"
16466
 
case "(($ac_try" in
16467
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16468
 
  *) ac_try_echo=$ac_try;;
16469
 
esac
16470
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16471
 
  (eval "$ac_link") 2>conftest.er1
16472
 
  ac_status=$?
16473
 
  grep -v '^ *+' conftest.er1 >conftest.err
16474
 
  rm -f conftest.er1
16475
 
  cat conftest.err >&5
16476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477
 
  (exit $ac_status); } && {
16478
 
         test -z "$ac_cxx_werror_flag" ||
16479
 
         test ! -s conftest.err
16480
 
       } && test -s conftest$ac_exeext &&
16481
 
       $as_test_x conftest$ac_exeext; then
 
15617
if ac_fn_cxx_try_link "$LINENO"; then :
16482
15618
  netbsd_has_atomic=yes
16483
15619
else
16484
 
  echo "$as_me: failed program was:" >&5
16485
 
sed 's/^/| /' conftest.$ac_ext >&5
16486
 
 
16487
 
        netbsd_has_atomic=no
 
15620
  netbsd_has_atomic=no
16488
15621
fi
16489
 
 
16490
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16491
 
      conftest$ac_exeext conftest.$ac_ext
 
15622
rm -f core conftest.err conftest.$ac_objext \
 
15623
    conftest$ac_exeext conftest.$ac_ext
16492
15624
        ac_ext=c
16493
15625
ac_cpp='$CPP $CPPFLAGS'
16494
15626
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16495
15627
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16496
15628
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16497
15629
 
16498
 
        { echo "$as_me:$LINENO: result: $netbsd_has_atomic" >&5
16499
 
echo "${ECHO_T}$netbsd_has_atomic" >&6; }
 
15630
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $netbsd_has_atomic" >&5
 
15631
$as_echo "$netbsd_has_atomic" >&6; }
16500
15632
        if test "x$netbsd_has_atomic" = "xno"; then
16501
15633
 
16502
 
cat >>confdefs.h <<\_ACEOF
16503
 
#define ZMQ_FORCE_MUTEXES 1
16504
 
_ACEOF
 
15634
$as_echo "#define ZMQ_FORCE_MUTEXES 1" >>confdefs.h
16505
15635
 
16506
15636
        fi
16507
15637
        ;;
16509
15639
        # Define on OpenBSD to enable all library features
16510
15640
        CPPFLAGS="-D_BSD_SOURCE $CPPFLAGS"
16511
15641
 
16512
 
cat >>confdefs.h <<\_ACEOF
16513
 
#define ZMQ_HAVE_OPENBSD 1
16514
 
_ACEOF
 
15642
$as_echo "#define ZMQ_HAVE_OPENBSD 1" >>confdefs.h
16515
15643
 
16516
15644
        ;;
16517
15645
    *nto-qnx*)
16518
15646
        pedantic="no"
16519
15647
 
16520
 
cat >>confdefs.h <<\_ACEOF
16521
 
#define ZMQ_HAVE_QNXNTO 1
16522
 
_ACEOF
16523
 
 
16524
 
 
16525
 
{ echo "$as_me:$LINENO: checking for main in -lsocket" >&5
16526
 
echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6; }
16527
 
if test "${ac_cv_lib_socket_main+set}" = set; then
16528
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15648
$as_echo "#define ZMQ_HAVE_QNXNTO 1" >>confdefs.h
 
15649
 
 
15650
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
 
15651
$as_echo_n "checking for main in -lsocket... " >&6; }
 
15652
if test "${ac_cv_lib_socket_main+set}" = set; then :
 
15653
  $as_echo_n "(cached) " >&6
16529
15654
else
16530
15655
  ac_check_lib_save_LIBS=$LIBS
16531
15656
LIBS="-lsocket  $LIBS"
16532
 
cat >conftest.$ac_ext <<_ACEOF
16533
 
/* confdefs.h.  */
16534
 
_ACEOF
16535
 
cat confdefs.h >>conftest.$ac_ext
16536
 
cat >>conftest.$ac_ext <<_ACEOF
 
15657
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16537
15658
/* end confdefs.h.  */
16538
15659
 
16539
15660
 
16545
15666
  return 0;
16546
15667
}
16547
15668
_ACEOF
16548
 
rm -f conftest.$ac_objext conftest$ac_exeext
16549
 
if { (ac_try="$ac_link"
16550
 
case "(($ac_try" in
16551
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16552
 
  *) ac_try_echo=$ac_try;;
16553
 
esac
16554
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16555
 
  (eval "$ac_link") 2>conftest.er1
16556
 
  ac_status=$?
16557
 
  grep -v '^ *+' conftest.er1 >conftest.err
16558
 
  rm -f conftest.er1
16559
 
  cat conftest.err >&5
16560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561
 
  (exit $ac_status); } && {
16562
 
         test -z "$ac_c_werror_flag" ||
16563
 
         test ! -s conftest.err
16564
 
       } && test -s conftest$ac_exeext &&
16565
 
       $as_test_x conftest$ac_exeext; then
 
15669
if ac_fn_c_try_link "$LINENO"; then :
16566
15670
  ac_cv_lib_socket_main=yes
16567
15671
else
16568
 
  echo "$as_me: failed program was:" >&5
16569
 
sed 's/^/| /' conftest.$ac_ext >&5
16570
 
 
16571
 
        ac_cv_lib_socket_main=no
 
15672
  ac_cv_lib_socket_main=no
16572
15673
fi
16573
 
 
16574
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16575
 
      conftest$ac_exeext conftest.$ac_ext
 
15674
rm -f core conftest.err conftest.$ac_objext \
 
15675
    conftest$ac_exeext conftest.$ac_ext
16576
15676
LIBS=$ac_check_lib_save_LIBS
16577
15677
fi
16578
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
16579
 
echo "${ECHO_T}$ac_cv_lib_socket_main" >&6; }
16580
 
if test $ac_cv_lib_socket_main = yes; then
 
15678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
 
15679
$as_echo "$ac_cv_lib_socket_main" >&6; }
 
15680
if test "x$ac_cv_lib_socket_main" = x""yes; then :
16581
15681
  cat >>confdefs.h <<_ACEOF
16582
15682
#define HAVE_LIBSOCKET 1
16583
15683
_ACEOF
16586
15686
 
16587
15687
fi
16588
15688
 
16589
 
 
16590
 
{ echo "$as_me:$LINENO: checking for RAND_bytes in -lcrypto" >&5
16591
 
echo $ECHO_N "checking for RAND_bytes in -lcrypto... $ECHO_C" >&6; }
16592
 
if test "${ac_cv_lib_crypto_RAND_bytes+set}" = set; then
16593
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15689
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_bytes in -lcrypto" >&5
 
15690
$as_echo_n "checking for RAND_bytes in -lcrypto... " >&6; }
 
15691
if test "${ac_cv_lib_crypto_RAND_bytes+set}" = set; then :
 
15692
  $as_echo_n "(cached) " >&6
16594
15693
else
16595
15694
  ac_check_lib_save_LIBS=$LIBS
16596
15695
LIBS="-lcrypto  $LIBS"
16597
 
cat >conftest.$ac_ext <<_ACEOF
16598
 
/* confdefs.h.  */
16599
 
_ACEOF
16600
 
cat confdefs.h >>conftest.$ac_ext
16601
 
cat >>conftest.$ac_ext <<_ACEOF
 
15696
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16602
15697
/* end confdefs.h.  */
16603
15698
 
16604
15699
/* Override any GCC internal prototype to avoid an error.
16616
15711
  return 0;
16617
15712
}
16618
15713
_ACEOF
16619
 
rm -f conftest.$ac_objext conftest$ac_exeext
16620
 
if { (ac_try="$ac_link"
16621
 
case "(($ac_try" in
16622
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16623
 
  *) ac_try_echo=$ac_try;;
16624
 
esac
16625
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626
 
  (eval "$ac_link") 2>conftest.er1
16627
 
  ac_status=$?
16628
 
  grep -v '^ *+' conftest.er1 >conftest.err
16629
 
  rm -f conftest.er1
16630
 
  cat conftest.err >&5
16631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632
 
  (exit $ac_status); } && {
16633
 
         test -z "$ac_c_werror_flag" ||
16634
 
         test ! -s conftest.err
16635
 
       } && test -s conftest$ac_exeext &&
16636
 
       $as_test_x conftest$ac_exeext; then
 
15714
if ac_fn_c_try_link "$LINENO"; then :
16637
15715
  ac_cv_lib_crypto_RAND_bytes=yes
16638
15716
else
16639
 
  echo "$as_me: failed program was:" >&5
16640
 
sed 's/^/| /' conftest.$ac_ext >&5
16641
 
 
16642
 
        ac_cv_lib_crypto_RAND_bytes=no
 
15717
  ac_cv_lib_crypto_RAND_bytes=no
16643
15718
fi
16644
 
 
16645
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16646
 
      conftest$ac_exeext conftest.$ac_ext
 
15719
rm -f core conftest.err conftest.$ac_objext \
 
15720
    conftest$ac_exeext conftest.$ac_ext
16647
15721
LIBS=$ac_check_lib_save_LIBS
16648
15722
fi
16649
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RAND_bytes" >&5
16650
 
echo "${ECHO_T}$ac_cv_lib_crypto_RAND_bytes" >&6; }
16651
 
if test $ac_cv_lib_crypto_RAND_bytes = yes; then
 
15723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_bytes" >&5
 
15724
$as_echo "$ac_cv_lib_crypto_RAND_bytes" >&6; }
 
15725
if test "x$ac_cv_lib_crypto_RAND_bytes" = x""yes; then :
16652
15726
  cat >>confdefs.h <<_ACEOF
16653
15727
#define HAVE_LIBCRYPTO 1
16654
15728
_ACEOF
16660
15734
        ;;
16661
15735
    *aix*)
16662
15736
 
16663
 
cat >>confdefs.h <<\_ACEOF
16664
 
#define ZMQ_HAVE_AIX 1
16665
 
_ACEOF
 
15737
$as_echo "#define ZMQ_HAVE_AIX 1" >>confdefs.h
16666
15738
 
16667
15739
        ;;
16668
15740
    *hpux*)
16669
15741
        # Define on HP-UX to enable all library features
16670
15742
        CPPFLAGS="-D_POSIX_C_SOURCE=200112L"
16671
15743
 
16672
 
cat >>confdefs.h <<\_ACEOF
16673
 
#define ZMQ_HAVE_HPUX 1
16674
 
_ACEOF
16675
 
 
16676
 
 
16677
 
{ echo "$as_me:$LINENO: checking for main in -lrt" >&5
16678
 
echo $ECHO_N "checking for main in -lrt... $ECHO_C" >&6; }
16679
 
if test "${ac_cv_lib_rt_main+set}" = set; then
16680
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15744
$as_echo "#define ZMQ_HAVE_HPUX 1" >>confdefs.h
 
15745
 
 
15746
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
 
15747
$as_echo_n "checking for main in -lrt... " >&6; }
 
15748
if test "${ac_cv_lib_rt_main+set}" = set; then :
 
15749
  $as_echo_n "(cached) " >&6
16681
15750
else
16682
15751
  ac_check_lib_save_LIBS=$LIBS
16683
15752
LIBS="-lrt  $LIBS"
16684
 
cat >conftest.$ac_ext <<_ACEOF
16685
 
/* confdefs.h.  */
16686
 
_ACEOF
16687
 
cat confdefs.h >>conftest.$ac_ext
16688
 
cat >>conftest.$ac_ext <<_ACEOF
 
15753
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16689
15754
/* end confdefs.h.  */
16690
15755
 
16691
15756
 
16697
15762
  return 0;
16698
15763
}
16699
15764
_ACEOF
16700
 
rm -f conftest.$ac_objext conftest$ac_exeext
16701
 
if { (ac_try="$ac_link"
16702
 
case "(($ac_try" in
16703
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16704
 
  *) ac_try_echo=$ac_try;;
16705
 
esac
16706
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16707
 
  (eval "$ac_link") 2>conftest.er1
16708
 
  ac_status=$?
16709
 
  grep -v '^ *+' conftest.er1 >conftest.err
16710
 
  rm -f conftest.er1
16711
 
  cat conftest.err >&5
16712
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713
 
  (exit $ac_status); } && {
16714
 
         test -z "$ac_c_werror_flag" ||
16715
 
         test ! -s conftest.err
16716
 
       } && test -s conftest$ac_exeext &&
16717
 
       $as_test_x conftest$ac_exeext; then
 
15765
if ac_fn_c_try_link "$LINENO"; then :
16718
15766
  ac_cv_lib_rt_main=yes
16719
15767
else
16720
 
  echo "$as_me: failed program was:" >&5
16721
 
sed 's/^/| /' conftest.$ac_ext >&5
16722
 
 
16723
 
        ac_cv_lib_rt_main=no
 
15768
  ac_cv_lib_rt_main=no
16724
15769
fi
16725
 
 
16726
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16727
 
      conftest$ac_exeext conftest.$ac_ext
 
15770
rm -f core conftest.err conftest.$ac_objext \
 
15771
    conftest$ac_exeext conftest.$ac_ext
16728
15772
LIBS=$ac_check_lib_save_LIBS
16729
15773
fi
16730
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_main" >&5
16731
 
echo "${ECHO_T}$ac_cv_lib_rt_main" >&6; }
16732
 
if test $ac_cv_lib_rt_main = yes; then
 
15774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
 
15775
$as_echo "$ac_cv_lib_rt_main" >&6; }
 
15776
if test "x$ac_cv_lib_rt_main" = x""yes; then :
16733
15777
  cat >>confdefs.h <<_ACEOF
16734
15778
#define HAVE_LIBRT 1
16735
15779
_ACEOF
16741
15785
        ;;
16742
15786
    *mingw32*)
16743
15787
 
16744
 
cat >>confdefs.h <<\_ACEOF
16745
 
#define ZMQ_HAVE_WINDOWS 1
16746
 
_ACEOF
16747
 
 
16748
 
 
16749
 
cat >>confdefs.h <<\_ACEOF
16750
 
#define ZMQ_HAVE_MINGW32 1
16751
 
_ACEOF
16752
 
 
16753
 
 
16754
 
for ac_header in windows.h
16755
 
do
16756
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16757
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16758
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
16759
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16760
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16762
 
fi
16763
 
ac_res=`eval echo '${'$as_ac_Header'}'`
16764
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
16765
 
echo "${ECHO_T}$ac_res" >&6; }
16766
 
else
16767
 
  # Is the header compilable?
16768
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
16769
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16770
 
cat >conftest.$ac_ext <<_ACEOF
16771
 
/* confdefs.h.  */
16772
 
_ACEOF
16773
 
cat confdefs.h >>conftest.$ac_ext
16774
 
cat >>conftest.$ac_ext <<_ACEOF
16775
 
/* end confdefs.h.  */
16776
 
$ac_includes_default
16777
 
#include <$ac_header>
16778
 
_ACEOF
16779
 
rm -f conftest.$ac_objext
16780
 
if { (ac_try="$ac_compile"
16781
 
case "(($ac_try" in
16782
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16783
 
  *) ac_try_echo=$ac_try;;
16784
 
esac
16785
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16786
 
  (eval "$ac_compile") 2>conftest.er1
16787
 
  ac_status=$?
16788
 
  grep -v '^ *+' conftest.er1 >conftest.err
16789
 
  rm -f conftest.er1
16790
 
  cat conftest.err >&5
16791
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792
 
  (exit $ac_status); } && {
16793
 
         test -z "$ac_c_werror_flag" ||
16794
 
         test ! -s conftest.err
16795
 
       } && test -s conftest.$ac_objext; then
16796
 
  ac_header_compiler=yes
16797
 
else
16798
 
  echo "$as_me: failed program was:" >&5
16799
 
sed 's/^/| /' conftest.$ac_ext >&5
16800
 
 
16801
 
        ac_header_compiler=no
16802
 
fi
16803
 
 
16804
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16805
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16806
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
16807
 
 
16808
 
# Is the header present?
16809
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
16810
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16811
 
cat >conftest.$ac_ext <<_ACEOF
16812
 
/* confdefs.h.  */
16813
 
_ACEOF
16814
 
cat confdefs.h >>conftest.$ac_ext
16815
 
cat >>conftest.$ac_ext <<_ACEOF
16816
 
/* end confdefs.h.  */
16817
 
#include <$ac_header>
16818
 
_ACEOF
16819
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16820
 
case "(($ac_try" in
16821
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16822
 
  *) ac_try_echo=$ac_try;;
16823
 
esac
16824
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16825
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16826
 
  ac_status=$?
16827
 
  grep -v '^ *+' conftest.er1 >conftest.err
16828
 
  rm -f conftest.er1
16829
 
  cat conftest.err >&5
16830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831
 
  (exit $ac_status); } >/dev/null && {
16832
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16833
 
         test ! -s conftest.err
16834
 
       }; then
16835
 
  ac_header_preproc=yes
16836
 
else
16837
 
  echo "$as_me: failed program was:" >&5
16838
 
sed 's/^/| /' conftest.$ac_ext >&5
16839
 
 
16840
 
  ac_header_preproc=no
16841
 
fi
16842
 
 
16843
 
rm -f conftest.err conftest.$ac_ext
16844
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16845
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
16846
 
 
16847
 
# So?  What about this header?
16848
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16849
 
  yes:no: )
16850
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16851
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16852
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16853
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16854
 
    ac_header_preproc=yes
16855
 
    ;;
16856
 
  no:yes:* )
16857
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16858
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16859
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16860
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16861
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16862
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16863
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16864
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16865
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16866
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16867
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16868
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16869
 
    ( cat <<\_ASBOX
16870
 
## ------------------------------------------ ##
16871
 
## Report this to zeromq-dev@lists.zeromq.org ##
16872
 
## ------------------------------------------ ##
16873
 
_ASBOX
16874
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
16875
 
    ;;
16876
 
esac
16877
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16878
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16879
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16880
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16881
 
else
16882
 
  eval "$as_ac_Header=\$ac_header_preproc"
16883
 
fi
16884
 
ac_res=`eval echo '${'$as_ac_Header'}'`
16885
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
16886
 
echo "${ECHO_T}$ac_res" >&6; }
16887
 
 
16888
 
fi
16889
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
15788
$as_echo "#define ZMQ_HAVE_WINDOWS 1" >>confdefs.h
 
15789
 
 
15790
 
 
15791
$as_echo "#define ZMQ_HAVE_MINGW32 1" >>confdefs.h
 
15792
 
 
15793
        for ac_header in windows.h
 
15794
do :
 
15795
  ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
 
15796
if test "x$ac_cv_header_windows_h" = x""yes; then :
16890
15797
  cat >>confdefs.h <<_ACEOF
16891
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15798
#define HAVE_WINDOWS_H 1
16892
15799
_ACEOF
16893
15800
 
16894
15801
fi
16895
15802
 
16896
15803
done
16897
15804
 
16898
 
 
16899
 
{ echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
16900
 
echo $ECHO_N "checking for main in -lws2_32... $ECHO_C" >&6; }
16901
 
if test "${ac_cv_lib_ws2_32_main+set}" = set; then
16902
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15805
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
 
15806
$as_echo_n "checking for main in -lws2_32... " >&6; }
 
15807
if test "${ac_cv_lib_ws2_32_main+set}" = set; then :
 
15808
  $as_echo_n "(cached) " >&6
16903
15809
else
16904
15810
  ac_check_lib_save_LIBS=$LIBS
16905
15811
LIBS="-lws2_32  $LIBS"
16906
 
cat >conftest.$ac_ext <<_ACEOF
16907
 
/* confdefs.h.  */
16908
 
_ACEOF
16909
 
cat confdefs.h >>conftest.$ac_ext
16910
 
cat >>conftest.$ac_ext <<_ACEOF
 
15812
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16911
15813
/* end confdefs.h.  */
16912
15814
 
16913
15815
 
16919
15821
  return 0;
16920
15822
}
16921
15823
_ACEOF
16922
 
rm -f conftest.$ac_objext conftest$ac_exeext
16923
 
if { (ac_try="$ac_link"
16924
 
case "(($ac_try" in
16925
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16926
 
  *) ac_try_echo=$ac_try;;
16927
 
esac
16928
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929
 
  (eval "$ac_link") 2>conftest.er1
16930
 
  ac_status=$?
16931
 
  grep -v '^ *+' conftest.er1 >conftest.err
16932
 
  rm -f conftest.er1
16933
 
  cat conftest.err >&5
16934
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935
 
  (exit $ac_status); } && {
16936
 
         test -z "$ac_c_werror_flag" ||
16937
 
         test ! -s conftest.err
16938
 
       } && test -s conftest$ac_exeext &&
16939
 
       $as_test_x conftest$ac_exeext; then
 
15824
if ac_fn_c_try_link "$LINENO"; then :
16940
15825
  ac_cv_lib_ws2_32_main=yes
16941
15826
else
16942
 
  echo "$as_me: failed program was:" >&5
16943
 
sed 's/^/| /' conftest.$ac_ext >&5
16944
 
 
16945
 
        ac_cv_lib_ws2_32_main=no
 
15827
  ac_cv_lib_ws2_32_main=no
16946
15828
fi
16947
 
 
16948
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16949
 
      conftest$ac_exeext conftest.$ac_ext
 
15829
rm -f core conftest.err conftest.$ac_objext \
 
15830
    conftest$ac_exeext conftest.$ac_ext
16950
15831
LIBS=$ac_check_lib_save_LIBS
16951
15832
fi
16952
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
16953
 
echo "${ECHO_T}$ac_cv_lib_ws2_32_main" >&6; }
16954
 
if test $ac_cv_lib_ws2_32_main = yes; then
 
15833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
 
15834
$as_echo "$ac_cv_lib_ws2_32_main" >&6; }
 
15835
if test "x$ac_cv_lib_ws2_32_main" = x""yes; then :
16955
15836
  cat >>confdefs.h <<_ACEOF
16956
15837
#define HAVE_LIBWS2_32 1
16957
15838
_ACEOF
16959
15840
  LIBS="-lws2_32 $LIBS"
16960
15841
 
16961
15842
else
16962
 
  { { echo "$as_me:$LINENO: error: cannot link with ws2_32.dll." >&5
16963
 
echo "$as_me: error: cannot link with ws2_32.dll." >&2;}
16964
 
   { (exit 1); exit 1; }; }
 
15843
  as_fn_error "cannot link with ws2_32.dll." "$LINENO" 5
16965
15844
fi
16966
15845
 
16967
 
 
16968
 
{ echo "$as_me:$LINENO: checking for main in -lrpcrt4" >&5
16969
 
echo $ECHO_N "checking for main in -lrpcrt4... $ECHO_C" >&6; }
16970
 
if test "${ac_cv_lib_rpcrt4_main+set}" = set; then
16971
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15846
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrpcrt4" >&5
 
15847
$as_echo_n "checking for main in -lrpcrt4... " >&6; }
 
15848
if test "${ac_cv_lib_rpcrt4_main+set}" = set; then :
 
15849
  $as_echo_n "(cached) " >&6
16972
15850
else
16973
15851
  ac_check_lib_save_LIBS=$LIBS
16974
15852
LIBS="-lrpcrt4  $LIBS"
16975
 
cat >conftest.$ac_ext <<_ACEOF
16976
 
/* confdefs.h.  */
16977
 
_ACEOF
16978
 
cat confdefs.h >>conftest.$ac_ext
16979
 
cat >>conftest.$ac_ext <<_ACEOF
 
15853
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980
15854
/* end confdefs.h.  */
16981
15855
 
16982
15856
 
16988
15862
  return 0;
16989
15863
}
16990
15864
_ACEOF
16991
 
rm -f conftest.$ac_objext conftest$ac_exeext
16992
 
if { (ac_try="$ac_link"
16993
 
case "(($ac_try" in
16994
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16995
 
  *) ac_try_echo=$ac_try;;
16996
 
esac
16997
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16998
 
  (eval "$ac_link") 2>conftest.er1
16999
 
  ac_status=$?
17000
 
  grep -v '^ *+' conftest.er1 >conftest.err
17001
 
  rm -f conftest.er1
17002
 
  cat conftest.err >&5
17003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004
 
  (exit $ac_status); } && {
17005
 
         test -z "$ac_c_werror_flag" ||
17006
 
         test ! -s conftest.err
17007
 
       } && test -s conftest$ac_exeext &&
17008
 
       $as_test_x conftest$ac_exeext; then
 
15865
if ac_fn_c_try_link "$LINENO"; then :
17009
15866
  ac_cv_lib_rpcrt4_main=yes
17010
15867
else
17011
 
  echo "$as_me: failed program was:" >&5
17012
 
sed 's/^/| /' conftest.$ac_ext >&5
17013
 
 
17014
 
        ac_cv_lib_rpcrt4_main=no
 
15868
  ac_cv_lib_rpcrt4_main=no
17015
15869
fi
17016
 
 
17017
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17018
 
      conftest$ac_exeext conftest.$ac_ext
 
15870
rm -f core conftest.err conftest.$ac_objext \
 
15871
    conftest$ac_exeext conftest.$ac_ext
17019
15872
LIBS=$ac_check_lib_save_LIBS
17020
15873
fi
17021
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_rpcrt4_main" >&5
17022
 
echo "${ECHO_T}$ac_cv_lib_rpcrt4_main" >&6; }
17023
 
if test $ac_cv_lib_rpcrt4_main = yes; then
 
15874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpcrt4_main" >&5
 
15875
$as_echo "$ac_cv_lib_rpcrt4_main" >&6; }
 
15876
if test "x$ac_cv_lib_rpcrt4_main" = x""yes; then :
17024
15877
  cat >>confdefs.h <<_ACEOF
17025
15878
#define HAVE_LIBRPCRT4 1
17026
15879
_ACEOF
17028
15881
  LIBS="-lrpcrt4 $LIBS"
17029
15882
 
17030
15883
else
17031
 
  { { echo "$as_me:$LINENO: error: cannot link with rpcrt4.dll." >&5
17032
 
echo "$as_me: error: cannot link with rpcrt4.dll." >&2;}
17033
 
   { (exit 1); exit 1; }; }
 
15884
  as_fn_error "cannot link with rpcrt4.dll." "$LINENO" 5
17034
15885
fi
17035
15886
 
17036
 
 
17037
 
{ echo "$as_me:$LINENO: checking for main in -liphlpapi" >&5
17038
 
echo $ECHO_N "checking for main in -liphlpapi... $ECHO_C" >&6; }
17039
 
if test "${ac_cv_lib_iphlpapi_main+set}" = set; then
17040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15887
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -liphlpapi" >&5
 
15888
$as_echo_n "checking for main in -liphlpapi... " >&6; }
 
15889
if test "${ac_cv_lib_iphlpapi_main+set}" = set; then :
 
15890
  $as_echo_n "(cached) " >&6
17041
15891
else
17042
15892
  ac_check_lib_save_LIBS=$LIBS
17043
15893
LIBS="-liphlpapi  $LIBS"
17044
 
cat >conftest.$ac_ext <<_ACEOF
17045
 
/* confdefs.h.  */
17046
 
_ACEOF
17047
 
cat confdefs.h >>conftest.$ac_ext
17048
 
cat >>conftest.$ac_ext <<_ACEOF
 
15894
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17049
15895
/* end confdefs.h.  */
17050
15896
 
17051
15897
 
17057
15903
  return 0;
17058
15904
}
17059
15905
_ACEOF
17060
 
rm -f conftest.$ac_objext conftest$ac_exeext
17061
 
if { (ac_try="$ac_link"
17062
 
case "(($ac_try" in
17063
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17064
 
  *) ac_try_echo=$ac_try;;
17065
 
esac
17066
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17067
 
  (eval "$ac_link") 2>conftest.er1
17068
 
  ac_status=$?
17069
 
  grep -v '^ *+' conftest.er1 >conftest.err
17070
 
  rm -f conftest.er1
17071
 
  cat conftest.err >&5
17072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073
 
  (exit $ac_status); } && {
17074
 
         test -z "$ac_c_werror_flag" ||
17075
 
         test ! -s conftest.err
17076
 
       } && test -s conftest$ac_exeext &&
17077
 
       $as_test_x conftest$ac_exeext; then
 
15906
if ac_fn_c_try_link "$LINENO"; then :
17078
15907
  ac_cv_lib_iphlpapi_main=yes
17079
15908
else
17080
 
  echo "$as_me: failed program was:" >&5
17081
 
sed 's/^/| /' conftest.$ac_ext >&5
17082
 
 
17083
 
        ac_cv_lib_iphlpapi_main=no
 
15909
  ac_cv_lib_iphlpapi_main=no
17084
15910
fi
17085
 
 
17086
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17087
 
      conftest$ac_exeext conftest.$ac_ext
 
15911
rm -f core conftest.err conftest.$ac_objext \
 
15912
    conftest$ac_exeext conftest.$ac_ext
17088
15913
LIBS=$ac_check_lib_save_LIBS
17089
15914
fi
17090
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_iphlpapi_main" >&5
17091
 
echo "${ECHO_T}$ac_cv_lib_iphlpapi_main" >&6; }
17092
 
if test $ac_cv_lib_iphlpapi_main = yes; then
 
15915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iphlpapi_main" >&5
 
15916
$as_echo "$ac_cv_lib_iphlpapi_main" >&6; }
 
15917
if test "x$ac_cv_lib_iphlpapi_main" = x""yes; then :
17093
15918
  cat >>confdefs.h <<_ACEOF
17094
15919
#define HAVE_LIBIPHLPAPI 1
17095
15920
_ACEOF
17097
15922
  LIBS="-liphlpapi $LIBS"
17098
15923
 
17099
15924
else
17100
 
  { { echo "$as_me:$LINENO: error: cannot link with iphlpapi.dll." >&5
17101
 
echo "$as_me: error: cannot link with iphlpapi.dll." >&2;}
17102
 
   { (exit 1); exit 1; }; }
 
15925
  as_fn_error "cannot link with iphlpapi.dll." "$LINENO" 5
17103
15926
fi
17104
15927
 
17105
15928
        CFLAGS="${CFLAGS} -std=c99"
17110
15933
        # Define on Cygwin to enable all library features
17111
15934
        CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
17112
15935
 
17113
 
cat >>confdefs.h <<\_ACEOF
17114
 
#define ZMQ_HAVE_CYGWIN 1
17115
 
_ACEOF
 
15936
$as_echo "#define ZMQ_HAVE_CYGWIN 1" >>confdefs.h
17116
15937
 
17117
15938
        # Cygwin provides libuuid as part of the e2fsprogs package, and somewhat
17118
15939
        # uselessly installs the library in /usr/lib/e2fsprogs
17119
15940
        LDFLAGS="${LDFLAGS} -L/usr/lib/e2fsprogs"
17120
 
 
17121
 
{ echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5
17122
 
echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; }
17123
 
if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then
17124
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15941
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
 
15942
$as_echo_n "checking for uuid_generate in -luuid... " >&6; }
 
15943
if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then :
 
15944
  $as_echo_n "(cached) " >&6
17125
15945
else
17126
15946
  ac_check_lib_save_LIBS=$LIBS
17127
15947
LIBS="-luuid  $LIBS"
17128
 
cat >conftest.$ac_ext <<_ACEOF
17129
 
/* confdefs.h.  */
17130
 
_ACEOF
17131
 
cat confdefs.h >>conftest.$ac_ext
17132
 
cat >>conftest.$ac_ext <<_ACEOF
 
15948
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133
15949
/* end confdefs.h.  */
17134
15950
 
17135
15951
/* Override any GCC internal prototype to avoid an error.
17147
15963
  return 0;
17148
15964
}
17149
15965
_ACEOF
17150
 
rm -f conftest.$ac_objext conftest$ac_exeext
17151
 
if { (ac_try="$ac_link"
17152
 
case "(($ac_try" in
17153
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17154
 
  *) ac_try_echo=$ac_try;;
17155
 
esac
17156
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17157
 
  (eval "$ac_link") 2>conftest.er1
17158
 
  ac_status=$?
17159
 
  grep -v '^ *+' conftest.er1 >conftest.err
17160
 
  rm -f conftest.er1
17161
 
  cat conftest.err >&5
17162
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163
 
  (exit $ac_status); } && {
17164
 
         test -z "$ac_c_werror_flag" ||
17165
 
         test ! -s conftest.err
17166
 
       } && test -s conftest$ac_exeext &&
17167
 
       $as_test_x conftest$ac_exeext; then
 
15966
if ac_fn_c_try_link "$LINENO"; then :
17168
15967
  ac_cv_lib_uuid_uuid_generate=yes
17169
15968
else
17170
 
  echo "$as_me: failed program was:" >&5
17171
 
sed 's/^/| /' conftest.$ac_ext >&5
17172
 
 
17173
 
        ac_cv_lib_uuid_uuid_generate=no
 
15969
  ac_cv_lib_uuid_uuid_generate=no
17174
15970
fi
17175
 
 
17176
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17177
 
      conftest$ac_exeext conftest.$ac_ext
 
15971
rm -f core conftest.err conftest.$ac_objext \
 
15972
    conftest$ac_exeext conftest.$ac_ext
17178
15973
LIBS=$ac_check_lib_save_LIBS
17179
15974
fi
17180
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5
17181
 
echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }
17182
 
if test $ac_cv_lib_uuid_uuid_generate = yes; then
 
15975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
 
15976
$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
 
15977
if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :
17183
15978
  cat >>confdefs.h <<_ACEOF
17184
15979
#define HAVE_LIBUUID 1
17185
15980
_ACEOF
17187
15982
  LIBS="-luuid $LIBS"
17188
15983
 
17189
15984
else
17190
 
  { { echo "$as_me:$LINENO: error: cannot link with -luuid, install the e2fsprogs package." >&5
17191
 
echo "$as_me: error: cannot link with -luuid, install the e2fsprogs package." >&2;}
17192
 
   { (exit 1); exit 1; }; }
 
15985
  as_fn_error "cannot link with -luuid, install the e2fsprogs package." "$LINENO" 5
17193
15986
fi
17194
15987
 
17195
15988
        ;;
17196
15989
    *)
17197
 
        { { echo "$as_me:$LINENO: error: unsupported system: ${host_os}." >&5
17198
 
echo "$as_me: error: unsupported system: ${host_os}." >&2;}
17199
 
   { (exit 1); exit 1; }; }
 
15990
        as_fn_error "unsupported system: ${host_os}." "$LINENO" 5
17200
15991
        ;;
17201
15992
esac
17202
15993
 
17212
16003
esac
17213
16004
 
17214
16005
# Checks for header files.
17215
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17216
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17217
 
if test "${ac_cv_header_stdc+set}" = set; then
17218
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
16007
$as_echo_n "checking for ANSI C header files... " >&6; }
 
16008
if test "${ac_cv_header_stdc+set}" = set; then :
 
16009
  $as_echo_n "(cached) " >&6
17219
16010
else
17220
 
  cat >conftest.$ac_ext <<_ACEOF
17221
 
/* confdefs.h.  */
17222
 
_ACEOF
17223
 
cat confdefs.h >>conftest.$ac_ext
17224
 
cat >>conftest.$ac_ext <<_ACEOF
 
16011
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225
16012
/* end confdefs.h.  */
17226
16013
#include <stdlib.h>
17227
16014
#include <stdarg.h>
17236
16023
  return 0;
17237
16024
}
17238
16025
_ACEOF
17239
 
rm -f conftest.$ac_objext
17240
 
if { (ac_try="$ac_compile"
17241
 
case "(($ac_try" in
17242
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17243
 
  *) ac_try_echo=$ac_try;;
17244
 
esac
17245
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17246
 
  (eval "$ac_compile") 2>conftest.er1
17247
 
  ac_status=$?
17248
 
  grep -v '^ *+' conftest.er1 >conftest.err
17249
 
  rm -f conftest.er1
17250
 
  cat conftest.err >&5
17251
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252
 
  (exit $ac_status); } && {
17253
 
         test -z "$ac_c_werror_flag" ||
17254
 
         test ! -s conftest.err
17255
 
       } && test -s conftest.$ac_objext; then
 
16026
if ac_fn_c_try_compile "$LINENO"; then :
17256
16027
  ac_cv_header_stdc=yes
17257
16028
else
17258
 
  echo "$as_me: failed program was:" >&5
17259
 
sed 's/^/| /' conftest.$ac_ext >&5
17260
 
 
17261
 
        ac_cv_header_stdc=no
 
16029
  ac_cv_header_stdc=no
17262
16030
fi
17263
 
 
17264
16031
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17265
16032
 
17266
16033
if test $ac_cv_header_stdc = yes; then
17267
16034
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17268
 
  cat >conftest.$ac_ext <<_ACEOF
17269
 
/* confdefs.h.  */
17270
 
_ACEOF
17271
 
cat confdefs.h >>conftest.$ac_ext
17272
 
cat >>conftest.$ac_ext <<_ACEOF
 
16035
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17273
16036
/* end confdefs.h.  */
17274
16037
#include <string.h>
17275
16038
 
17276
16039
_ACEOF
17277
16040
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17278
 
  $EGREP "memchr" >/dev/null 2>&1; then
17279
 
  :
 
16041
  $EGREP "memchr" >/dev/null 2>&1; then :
 
16042
 
17280
16043
else
17281
16044
  ac_cv_header_stdc=no
17282
16045
fi
17286
16049
 
17287
16050
if test $ac_cv_header_stdc = yes; then
17288
16051
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17289
 
  cat >conftest.$ac_ext <<_ACEOF
17290
 
/* confdefs.h.  */
17291
 
_ACEOF
17292
 
cat confdefs.h >>conftest.$ac_ext
17293
 
cat >>conftest.$ac_ext <<_ACEOF
 
16052
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17294
16053
/* end confdefs.h.  */
17295
16054
#include <stdlib.h>
17296
16055
 
17297
16056
_ACEOF
17298
16057
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17299
 
  $EGREP "free" >/dev/null 2>&1; then
17300
 
  :
 
16058
  $EGREP "free" >/dev/null 2>&1; then :
 
16059
 
17301
16060
else
17302
16061
  ac_cv_header_stdc=no
17303
16062
fi
17307
16066
 
17308
16067
if test $ac_cv_header_stdc = yes; then
17309
16068
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17310
 
  if test "$cross_compiling" = yes; then
 
16069
  if test "$cross_compiling" = yes; then :
17311
16070
  :
17312
16071
else
17313
 
  cat >conftest.$ac_ext <<_ACEOF
17314
 
/* confdefs.h.  */
17315
 
_ACEOF
17316
 
cat confdefs.h >>conftest.$ac_ext
17317
 
cat >>conftest.$ac_ext <<_ACEOF
 
16072
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318
16073
/* end confdefs.h.  */
17319
16074
#include <ctype.h>
17320
16075
#include <stdlib.h>
17341
16096
  return 0;
17342
16097
}
17343
16098
_ACEOF
17344
 
rm -f conftest$ac_exeext
17345
 
if { (ac_try="$ac_link"
17346
 
case "(($ac_try" in
17347
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17348
 
  *) ac_try_echo=$ac_try;;
17349
 
esac
17350
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17351
 
  (eval "$ac_link") 2>&5
17352
 
  ac_status=$?
17353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17355
 
  { (case "(($ac_try" in
17356
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17357
 
  *) ac_try_echo=$ac_try;;
17358
 
esac
17359
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17360
 
  (eval "$ac_try") 2>&5
17361
 
  ac_status=$?
17362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363
 
  (exit $ac_status); }; }; then
17364
 
  :
 
16099
if ac_fn_c_try_run "$LINENO"; then :
 
16100
 
17365
16101
else
17366
 
  echo "$as_me: program exited with status $ac_status" >&5
17367
 
echo "$as_me: failed program was:" >&5
17368
 
sed 's/^/| /' conftest.$ac_ext >&5
17369
 
 
17370
 
( exit $ac_status )
17371
 
ac_cv_header_stdc=no
17372
 
fi
17373
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17374
 
fi
17375
 
 
17376
 
 
17377
 
fi
17378
 
fi
17379
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17380
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
16102
  ac_cv_header_stdc=no
 
16103
fi
 
16104
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
16105
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
16106
fi
 
16107
 
 
16108
fi
 
16109
fi
 
16110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
16111
$as_echo "$ac_cv_header_stdc" >&6; }
17381
16112
if test $ac_cv_header_stdc = yes; then
17382
16113
 
17383
 
cat >>confdefs.h <<\_ACEOF
17384
 
#define STDC_HEADERS 1
17385
 
_ACEOF
 
16114
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
17386
16115
 
17387
16116
fi
17388
16117
 
17389
 
 
17390
 
 
17391
 
 
17392
 
 
17393
 
 
17394
 
 
17395
 
 
17396
 
 
17397
 
 
17398
 
 
17399
 
 
17400
16118
for ac_header in errno.h arpa/inet.h netinet/tcp.h netinet/in.h stddef.h \
17401
16119
stdlib.h string.h sys/socket.h sys/time.h unistd.h limits.h
17402
 
do
17403
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17404
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17405
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
17406
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17407
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17408
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17409
 
fi
17410
 
ac_res=`eval echo '${'$as_ac_Header'}'`
17411
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
17412
 
echo "${ECHO_T}$ac_res" >&6; }
17413
 
else
17414
 
  # Is the header compilable?
17415
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
17416
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17417
 
cat >conftest.$ac_ext <<_ACEOF
17418
 
/* confdefs.h.  */
17419
 
_ACEOF
17420
 
cat confdefs.h >>conftest.$ac_ext
17421
 
cat >>conftest.$ac_ext <<_ACEOF
17422
 
/* end confdefs.h.  */
17423
 
$ac_includes_default
17424
 
#include <$ac_header>
17425
 
_ACEOF
17426
 
rm -f conftest.$ac_objext
17427
 
if { (ac_try="$ac_compile"
17428
 
case "(($ac_try" in
17429
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17430
 
  *) ac_try_echo=$ac_try;;
17431
 
esac
17432
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17433
 
  (eval "$ac_compile") 2>conftest.er1
17434
 
  ac_status=$?
17435
 
  grep -v '^ *+' conftest.er1 >conftest.err
17436
 
  rm -f conftest.er1
17437
 
  cat conftest.err >&5
17438
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439
 
  (exit $ac_status); } && {
17440
 
         test -z "$ac_c_werror_flag" ||
17441
 
         test ! -s conftest.err
17442
 
       } && test -s conftest.$ac_objext; then
17443
 
  ac_header_compiler=yes
17444
 
else
17445
 
  echo "$as_me: failed program was:" >&5
17446
 
sed 's/^/| /' conftest.$ac_ext >&5
17447
 
 
17448
 
        ac_header_compiler=no
17449
 
fi
17450
 
 
17451
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17452
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17453
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
17454
 
 
17455
 
# Is the header present?
17456
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
17457
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17458
 
cat >conftest.$ac_ext <<_ACEOF
17459
 
/* confdefs.h.  */
17460
 
_ACEOF
17461
 
cat confdefs.h >>conftest.$ac_ext
17462
 
cat >>conftest.$ac_ext <<_ACEOF
17463
 
/* end confdefs.h.  */
17464
 
#include <$ac_header>
17465
 
_ACEOF
17466
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
17467
 
case "(($ac_try" in
17468
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17469
 
  *) ac_try_echo=$ac_try;;
17470
 
esac
17471
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17472
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17473
 
  ac_status=$?
17474
 
  grep -v '^ *+' conftest.er1 >conftest.err
17475
 
  rm -f conftest.er1
17476
 
  cat conftest.err >&5
17477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478
 
  (exit $ac_status); } >/dev/null && {
17479
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17480
 
         test ! -s conftest.err
17481
 
       }; then
17482
 
  ac_header_preproc=yes
17483
 
else
17484
 
  echo "$as_me: failed program was:" >&5
17485
 
sed 's/^/| /' conftest.$ac_ext >&5
17486
 
 
17487
 
  ac_header_preproc=no
17488
 
fi
17489
 
 
17490
 
rm -f conftest.err conftest.$ac_ext
17491
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17492
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
17493
 
 
17494
 
# So?  What about this header?
17495
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17496
 
  yes:no: )
17497
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17498
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17499
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17500
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17501
 
    ac_header_preproc=yes
17502
 
    ;;
17503
 
  no:yes:* )
17504
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17505
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17506
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
17507
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
17508
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17509
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17510
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
17511
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
17512
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17513
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17514
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17515
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17516
 
    ( cat <<\_ASBOX
17517
 
## ------------------------------------------ ##
17518
 
## Report this to zeromq-dev@lists.zeromq.org ##
17519
 
## ------------------------------------------ ##
17520
 
_ASBOX
17521
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
17522
 
    ;;
17523
 
esac
17524
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
17525
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17526
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17527
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17528
 
else
17529
 
  eval "$as_ac_Header=\$ac_header_preproc"
17530
 
fi
17531
 
ac_res=`eval echo '${'$as_ac_Header'}'`
17532
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
17533
 
echo "${ECHO_T}$ac_res" >&6; }
17534
 
 
17535
 
fi
17536
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
16120
do :
 
16121
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
16122
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
16123
eval as_val=\$$as_ac_Header
 
16124
   if test "x$as_val" = x""yes; then :
17537
16125
  cat >>confdefs.h <<_ACEOF
17538
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
16126
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17539
16127
_ACEOF
17540
16128
 
17541
16129
fi
17544
16132
 
17545
16133
 
17546
16134
# Check if we have ifaddrs.h header file.
17547
 
 
17548
16135
for ac_header in ifaddrs.h
17549
 
do
17550
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17551
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17552
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
17553
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17554
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17556
 
fi
17557
 
ac_res=`eval echo '${'$as_ac_Header'}'`
17558
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
17559
 
echo "${ECHO_T}$ac_res" >&6; }
17560
 
else
17561
 
  # Is the header compilable?
17562
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
17563
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17564
 
cat >conftest.$ac_ext <<_ACEOF
17565
 
/* confdefs.h.  */
17566
 
_ACEOF
17567
 
cat confdefs.h >>conftest.$ac_ext
17568
 
cat >>conftest.$ac_ext <<_ACEOF
17569
 
/* end confdefs.h.  */
17570
 
$ac_includes_default
17571
 
#include <$ac_header>
17572
 
_ACEOF
17573
 
rm -f conftest.$ac_objext
17574
 
if { (ac_try="$ac_compile"
17575
 
case "(($ac_try" in
17576
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17577
 
  *) ac_try_echo=$ac_try;;
17578
 
esac
17579
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580
 
  (eval "$ac_compile") 2>conftest.er1
17581
 
  ac_status=$?
17582
 
  grep -v '^ *+' conftest.er1 >conftest.err
17583
 
  rm -f conftest.er1
17584
 
  cat conftest.err >&5
17585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586
 
  (exit $ac_status); } && {
17587
 
         test -z "$ac_c_werror_flag" ||
17588
 
         test ! -s conftest.err
17589
 
       } && test -s conftest.$ac_objext; then
17590
 
  ac_header_compiler=yes
17591
 
else
17592
 
  echo "$as_me: failed program was:" >&5
17593
 
sed 's/^/| /' conftest.$ac_ext >&5
17594
 
 
17595
 
        ac_header_compiler=no
17596
 
fi
17597
 
 
17598
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17599
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17600
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
17601
 
 
17602
 
# Is the header present?
17603
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
17604
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17605
 
cat >conftest.$ac_ext <<_ACEOF
17606
 
/* confdefs.h.  */
17607
 
_ACEOF
17608
 
cat confdefs.h >>conftest.$ac_ext
17609
 
cat >>conftest.$ac_ext <<_ACEOF
17610
 
/* end confdefs.h.  */
17611
 
#include <$ac_header>
17612
 
_ACEOF
17613
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
17614
 
case "(($ac_try" in
17615
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17616
 
  *) ac_try_echo=$ac_try;;
17617
 
esac
17618
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17619
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17620
 
  ac_status=$?
17621
 
  grep -v '^ *+' conftest.er1 >conftest.err
17622
 
  rm -f conftest.er1
17623
 
  cat conftest.err >&5
17624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625
 
  (exit $ac_status); } >/dev/null && {
17626
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17627
 
         test ! -s conftest.err
17628
 
       }; then
17629
 
  ac_header_preproc=yes
17630
 
else
17631
 
  echo "$as_me: failed program was:" >&5
17632
 
sed 's/^/| /' conftest.$ac_ext >&5
17633
 
 
17634
 
  ac_header_preproc=no
17635
 
fi
17636
 
 
17637
 
rm -f conftest.err conftest.$ac_ext
17638
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17639
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
17640
 
 
17641
 
# So?  What about this header?
17642
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17643
 
  yes:no: )
17644
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17645
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17646
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17647
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17648
 
    ac_header_preproc=yes
17649
 
    ;;
17650
 
  no:yes:* )
17651
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17652
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17653
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
17654
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
17655
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17656
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17657
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
17658
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
17659
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17660
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17661
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17662
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17663
 
    ( cat <<\_ASBOX
17664
 
## ------------------------------------------ ##
17665
 
## Report this to zeromq-dev@lists.zeromq.org ##
17666
 
## ------------------------------------------ ##
17667
 
_ASBOX
17668
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
17669
 
    ;;
17670
 
esac
17671
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
17672
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17673
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17674
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17675
 
else
17676
 
  eval "$as_ac_Header=\$ac_header_preproc"
17677
 
fi
17678
 
ac_res=`eval echo '${'$as_ac_Header'}'`
17679
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
17680
 
echo "${ECHO_T}$ac_res" >&6; }
17681
 
 
17682
 
fi
17683
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
16136
do :
 
16137
  ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default"
 
16138
if test "x$ac_cv_header_ifaddrs_h" = x""yes; then :
17684
16139
  cat >>confdefs.h <<_ACEOF
17685
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
16140
#define HAVE_IFADDRS_H 1
17686
16141
_ACEOF
17687
16142
 
17688
 
cat >>confdefs.h <<\_ACEOF
17689
 
#define ZMQ_HAVE_IFADDRS 1
17690
 
_ACEOF
 
16143
$as_echo "#define ZMQ_HAVE_IFADDRS 1" >>confdefs.h
17691
16144
 
17692
16145
fi
17693
16146
 
17708
16161
# cross-compiling.
17709
16162
 
17710
16163
# Check whether --with-pkg-config was given.
17711
 
if test "${with_pkg_config+set}" = set; then
 
16164
if test "${with_pkg_config+set}" = set; then :
17712
16165
  withval=$with_pkg_config;
17713
16166
fi
17714
16167
 
17715
16168
if test "x$with_pkg_config" != "xno"; then
17716
16169
    # Extract the first word of "pkg-config", so it can be a program name with args.
17717
16170
set dummy pkg-config; ac_word=$2
17718
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
17719
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17720
 
if test "${ac_cv_prog_have_pkg_config+set}" = set; then
17721
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16172
$as_echo_n "checking for $ac_word... " >&6; }
 
16173
if test "${ac_cv_prog_have_pkg_config+set}" = set; then :
 
16174
  $as_echo_n "(cached) " >&6
17722
16175
else
17723
16176
  if test -n "$have_pkg_config"; then
17724
16177
  ac_cv_prog_have_pkg_config="$have_pkg_config" # Let the user override the test.
17728
16181
do
17729
16182
  IFS=$as_save_IFS
17730
16183
  test -z "$as_dir" && as_dir=.
17731
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16184
    for ac_exec_ext in '' $ac_executable_extensions; do
17732
16185
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17733
16186
    ac_cv_prog_have_pkg_config="yes"
17734
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16187
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17735
16188
    break 2
17736
16189
  fi
17737
16190
done
17738
 
done
 
16191
  done
17739
16192
IFS=$as_save_IFS
17740
16193
 
17741
16194
  test -z "$ac_cv_prog_have_pkg_config" && ac_cv_prog_have_pkg_config="no"
17743
16196
fi
17744
16197
have_pkg_config=$ac_cv_prog_have_pkg_config
17745
16198
if test -n "$have_pkg_config"; then
17746
 
  { echo "$as_me:$LINENO: result: $have_pkg_config" >&5
17747
 
echo "${ECHO_T}$have_pkg_config" >&6; }
 
16199
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pkg_config" >&5
 
16200
$as_echo "$have_pkg_config" >&6; }
17748
16201
else
17749
 
  { echo "$as_me:$LINENO: result: no" >&5
17750
 
echo "${ECHO_T}no" >&6; }
 
16202
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16203
$as_echo "no" >&6; }
17751
16204
fi
17752
16205
 
17753
16206
 
17754
16207
fi
17755
16208
 
17756
16209
# Checks for typedefs, structures, and compiler characteristics.
17757
 
{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
17758
 
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
17759
 
if test "${ac_cv_header_stdbool_h+set}" = set; then
17760
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
 
16211
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
 
16212
if test "${ac_cv_header_stdbool_h+set}" = set; then :
 
16213
  $as_echo_n "(cached) " >&6
17761
16214
else
17762
 
  cat >conftest.$ac_ext <<_ACEOF
17763
 
/* confdefs.h.  */
17764
 
_ACEOF
17765
 
cat confdefs.h >>conftest.$ac_ext
17766
 
cat >>conftest.$ac_ext <<_ACEOF
 
16215
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17767
16216
/* end confdefs.h.  */
17768
16217
 
17769
16218
#include <stdbool.h>
17798
16247
        char h[sizeof (_Bool)];
17799
16248
        char i[sizeof s.t];
17800
16249
        enum { j = false, k = true, l = false * true, m = true * 256 };
 
16250
        /* The following fails for
 
16251
           HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
17801
16252
        _Bool n[m];
17802
16253
        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
17803
16254
        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
17841
16292
  return 0;
17842
16293
}
17843
16294
_ACEOF
17844
 
rm -f conftest.$ac_objext
17845
 
if { (ac_try="$ac_compile"
17846
 
case "(($ac_try" in
17847
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17848
 
  *) ac_try_echo=$ac_try;;
17849
 
esac
17850
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17851
 
  (eval "$ac_compile") 2>conftest.er1
17852
 
  ac_status=$?
17853
 
  grep -v '^ *+' conftest.er1 >conftest.err
17854
 
  rm -f conftest.er1
17855
 
  cat conftest.err >&5
17856
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857
 
  (exit $ac_status); } && {
17858
 
         test -z "$ac_cxx_werror_flag" ||
17859
 
         test ! -s conftest.err
17860
 
       } && test -s conftest.$ac_objext; then
 
16295
if ac_fn_cxx_try_compile "$LINENO"; then :
17861
16296
  ac_cv_header_stdbool_h=yes
17862
16297
else
17863
 
  echo "$as_me: failed program was:" >&5
17864
 
sed 's/^/| /' conftest.$ac_ext >&5
17865
 
 
17866
 
        ac_cv_header_stdbool_h=no
17867
 
fi
17868
 
 
17869
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17870
 
fi
17871
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
17872
 
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
17873
 
{ echo "$as_me:$LINENO: checking for _Bool" >&5
17874
 
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
17875
 
if test "${ac_cv_type__Bool+set}" = set; then
17876
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17877
 
else
17878
 
  cat >conftest.$ac_ext <<_ACEOF
17879
 
/* confdefs.h.  */
17880
 
_ACEOF
17881
 
cat confdefs.h >>conftest.$ac_ext
17882
 
cat >>conftest.$ac_ext <<_ACEOF
17883
 
/* end confdefs.h.  */
17884
 
$ac_includes_default
17885
 
typedef _Bool ac__type_new_;
17886
 
int
17887
 
main ()
17888
 
{
17889
 
if ((ac__type_new_ *) 0)
17890
 
  return 0;
17891
 
if (sizeof (ac__type_new_))
17892
 
  return 0;
17893
 
  ;
17894
 
  return 0;
17895
 
}
17896
 
_ACEOF
17897
 
rm -f conftest.$ac_objext
17898
 
if { (ac_try="$ac_compile"
17899
 
case "(($ac_try" in
17900
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17901
 
  *) ac_try_echo=$ac_try;;
17902
 
esac
17903
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17904
 
  (eval "$ac_compile") 2>conftest.er1
17905
 
  ac_status=$?
17906
 
  grep -v '^ *+' conftest.er1 >conftest.err
17907
 
  rm -f conftest.er1
17908
 
  cat conftest.err >&5
17909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910
 
  (exit $ac_status); } && {
17911
 
         test -z "$ac_cxx_werror_flag" ||
17912
 
         test ! -s conftest.err
17913
 
       } && test -s conftest.$ac_objext; then
17914
 
  ac_cv_type__Bool=yes
17915
 
else
17916
 
  echo "$as_me: failed program was:" >&5
17917
 
sed 's/^/| /' conftest.$ac_ext >&5
17918
 
 
17919
 
        ac_cv_type__Bool=no
17920
 
fi
17921
 
 
17922
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17923
 
fi
17924
 
{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
17925
 
echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
17926
 
if test $ac_cv_type__Bool = yes; then
 
16298
  ac_cv_header_stdbool_h=no
 
16299
fi
 
16300
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16301
fi
 
16302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
 
16303
$as_echo "$ac_cv_header_stdbool_h" >&6; }
 
16304
ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
 
16305
if test "x$ac_cv_type__Bool" = x""yes; then :
17927
16306
 
17928
16307
cat >>confdefs.h <<_ACEOF
17929
16308
#define HAVE__BOOL 1
17934
16313
 
17935
16314
if test $ac_cv_header_stdbool_h = yes; then
17936
16315
 
17937
 
cat >>confdefs.h <<\_ACEOF
17938
 
#define HAVE_STDBOOL_H 1
17939
 
_ACEOF
 
16316
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
17940
16317
 
17941
16318
fi
17942
16319
 
17943
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17944
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17945
 
if test "${ac_cv_c_const+set}" = set; then
17946
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 
16321
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 
16322
if test "${ac_cv_c_const+set}" = set; then :
 
16323
  $as_echo_n "(cached) " >&6
17947
16324
else
17948
 
  cat >conftest.$ac_ext <<_ACEOF
17949
 
/* confdefs.h.  */
17950
 
_ACEOF
17951
 
cat confdefs.h >>conftest.$ac_ext
17952
 
cat >>conftest.$ac_ext <<_ACEOF
 
16325
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953
16326
/* end confdefs.h.  */
17954
16327
 
17955
16328
int
18009
16382
  return 0;
18010
16383
}
18011
16384
_ACEOF
18012
 
rm -f conftest.$ac_objext
18013
 
if { (ac_try="$ac_compile"
18014
 
case "(($ac_try" in
18015
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18016
 
  *) ac_try_echo=$ac_try;;
18017
 
esac
18018
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18019
 
  (eval "$ac_compile") 2>conftest.er1
18020
 
  ac_status=$?
18021
 
  grep -v '^ *+' conftest.er1 >conftest.err
18022
 
  rm -f conftest.er1
18023
 
  cat conftest.err >&5
18024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025
 
  (exit $ac_status); } && {
18026
 
         test -z "$ac_cxx_werror_flag" ||
18027
 
         test ! -s conftest.err
18028
 
       } && test -s conftest.$ac_objext; then
 
16385
if ac_fn_cxx_try_compile "$LINENO"; then :
18029
16386
  ac_cv_c_const=yes
18030
16387
else
18031
 
  echo "$as_me: failed program was:" >&5
18032
 
sed 's/^/| /' conftest.$ac_ext >&5
18033
 
 
18034
 
        ac_cv_c_const=no
 
16388
  ac_cv_c_const=no
18035
16389
fi
18036
 
 
18037
16390
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18038
16391
fi
18039
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18040
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
16392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 
16393
$as_echo "$ac_cv_c_const" >&6; }
18041
16394
if test $ac_cv_c_const = no; then
18042
16395
 
18043
 
cat >>confdefs.h <<\_ACEOF
18044
 
#define const
18045
 
_ACEOF
 
16396
$as_echo "#define const /**/" >>confdefs.h
18046
16397
 
18047
16398
fi
18048
16399
 
18049
 
{ echo "$as_me:$LINENO: checking for inline" >&5
18050
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18051
 
if test "${ac_cv_c_inline+set}" = set; then
18052
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 
16401
$as_echo_n "checking for inline... " >&6; }
 
16402
if test "${ac_cv_c_inline+set}" = set; then :
 
16403
  $as_echo_n "(cached) " >&6
18053
16404
else
18054
16405
  ac_cv_c_inline=no
18055
16406
for ac_kw in inline __inline__ __inline; do
18056
 
  cat >conftest.$ac_ext <<_ACEOF
18057
 
/* confdefs.h.  */
18058
 
_ACEOF
18059
 
cat confdefs.h >>conftest.$ac_ext
18060
 
cat >>conftest.$ac_ext <<_ACEOF
 
16407
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18061
16408
/* end confdefs.h.  */
18062
16409
#ifndef __cplusplus
18063
16410
typedef int foo_t;
18066
16413
#endif
18067
16414
 
18068
16415
_ACEOF
18069
 
rm -f conftest.$ac_objext
18070
 
if { (ac_try="$ac_compile"
18071
 
case "(($ac_try" in
18072
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18073
 
  *) ac_try_echo=$ac_try;;
18074
 
esac
18075
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18076
 
  (eval "$ac_compile") 2>conftest.er1
18077
 
  ac_status=$?
18078
 
  grep -v '^ *+' conftest.er1 >conftest.err
18079
 
  rm -f conftest.er1
18080
 
  cat conftest.err >&5
18081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082
 
  (exit $ac_status); } && {
18083
 
         test -z "$ac_cxx_werror_flag" ||
18084
 
         test ! -s conftest.err
18085
 
       } && test -s conftest.$ac_objext; then
 
16416
if ac_fn_cxx_try_compile "$LINENO"; then :
18086
16417
  ac_cv_c_inline=$ac_kw
18087
 
else
18088
 
  echo "$as_me: failed program was:" >&5
18089
 
sed 's/^/| /' conftest.$ac_ext >&5
18090
 
 
18091
 
 
18092
16418
fi
18093
 
 
18094
16419
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18095
16420
  test "$ac_cv_c_inline" != no && break
18096
16421
done
18097
16422
 
18098
16423
fi
18099
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18100
 
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18101
 
 
 
16424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 
16425
$as_echo "$ac_cv_c_inline" >&6; }
18102
16426
 
18103
16427
case $ac_cv_c_inline in
18104
16428
  inline | yes) ;;
18115
16439
    ;;
18116
16440
esac
18117
16441
 
18118
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
18119
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18120
 
if test "${ac_cv_type_size_t+set}" = set; then
18121
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18122
 
else
18123
 
  cat >conftest.$ac_ext <<_ACEOF
18124
 
/* confdefs.h.  */
18125
 
_ACEOF
18126
 
cat confdefs.h >>conftest.$ac_ext
18127
 
cat >>conftest.$ac_ext <<_ACEOF
18128
 
/* end confdefs.h.  */
18129
 
$ac_includes_default
18130
 
typedef size_t ac__type_new_;
18131
 
int
18132
 
main ()
18133
 
{
18134
 
if ((ac__type_new_ *) 0)
18135
 
  return 0;
18136
 
if (sizeof (ac__type_new_))
18137
 
  return 0;
18138
 
  ;
18139
 
  return 0;
18140
 
}
18141
 
_ACEOF
18142
 
rm -f conftest.$ac_objext
18143
 
if { (ac_try="$ac_compile"
18144
 
case "(($ac_try" in
18145
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18146
 
  *) ac_try_echo=$ac_try;;
18147
 
esac
18148
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18149
 
  (eval "$ac_compile") 2>conftest.er1
18150
 
  ac_status=$?
18151
 
  grep -v '^ *+' conftest.er1 >conftest.err
18152
 
  rm -f conftest.er1
18153
 
  cat conftest.err >&5
18154
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155
 
  (exit $ac_status); } && {
18156
 
         test -z "$ac_cxx_werror_flag" ||
18157
 
         test ! -s conftest.err
18158
 
       } && test -s conftest.$ac_objext; then
18159
 
  ac_cv_type_size_t=yes
18160
 
else
18161
 
  echo "$as_me: failed program was:" >&5
18162
 
sed 's/^/| /' conftest.$ac_ext >&5
18163
 
 
18164
 
        ac_cv_type_size_t=no
18165
 
fi
18166
 
 
18167
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18168
 
fi
18169
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18170
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18171
 
if test $ac_cv_type_size_t = yes; then
18172
 
  :
 
16442
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
16443
if test "x$ac_cv_type_size_t" = x""yes; then :
 
16444
 
18173
16445
else
18174
16446
 
18175
16447
cat >>confdefs.h <<_ACEOF
18178
16450
 
18179
16451
fi
18180
16452
 
18181
 
{ echo "$as_me:$LINENO: checking for ssize_t" >&5
18182
 
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18183
 
if test "${ac_cv_type_ssize_t+set}" = set; then
18184
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18185
 
else
18186
 
  cat >conftest.$ac_ext <<_ACEOF
18187
 
/* confdefs.h.  */
18188
 
_ACEOF
18189
 
cat confdefs.h >>conftest.$ac_ext
18190
 
cat >>conftest.$ac_ext <<_ACEOF
18191
 
/* end confdefs.h.  */
18192
 
$ac_includes_default
18193
 
typedef ssize_t ac__type_new_;
18194
 
int
18195
 
main ()
18196
 
{
18197
 
if ((ac__type_new_ *) 0)
18198
 
  return 0;
18199
 
if (sizeof (ac__type_new_))
18200
 
  return 0;
18201
 
  ;
18202
 
  return 0;
18203
 
}
18204
 
_ACEOF
18205
 
rm -f conftest.$ac_objext
18206
 
if { (ac_try="$ac_compile"
18207
 
case "(($ac_try" in
18208
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18209
 
  *) ac_try_echo=$ac_try;;
18210
 
esac
18211
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18212
 
  (eval "$ac_compile") 2>conftest.er1
18213
 
  ac_status=$?
18214
 
  grep -v '^ *+' conftest.er1 >conftest.err
18215
 
  rm -f conftest.er1
18216
 
  cat conftest.err >&5
18217
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218
 
  (exit $ac_status); } && {
18219
 
         test -z "$ac_cxx_werror_flag" ||
18220
 
         test ! -s conftest.err
18221
 
       } && test -s conftest.$ac_objext; then
18222
 
  ac_cv_type_ssize_t=yes
18223
 
else
18224
 
  echo "$as_me: failed program was:" >&5
18225
 
sed 's/^/| /' conftest.$ac_ext >&5
18226
 
 
18227
 
        ac_cv_type_ssize_t=no
18228
 
fi
18229
 
 
18230
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18231
 
fi
18232
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18233
 
echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18234
 
if test $ac_cv_type_ssize_t = yes; then
18235
 
  :
 
16453
ac_fn_cxx_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
 
16454
if test "x$ac_cv_type_ssize_t" = x""yes; then :
 
16455
 
18236
16456
else
18237
16457
 
18238
16458
cat >>confdefs.h <<_ACEOF
18241
16461
 
18242
16462
fi
18243
16463
 
18244
 
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
18245
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
18246
 
if test "${ac_cv_header_time+set}" = set; then
18247
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 
16465
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 
16466
if test "${ac_cv_header_time+set}" = set; then :
 
16467
  $as_echo_n "(cached) " >&6
18248
16468
else
18249
 
  cat >conftest.$ac_ext <<_ACEOF
18250
 
/* confdefs.h.  */
18251
 
_ACEOF
18252
 
cat confdefs.h >>conftest.$ac_ext
18253
 
cat >>conftest.$ac_ext <<_ACEOF
 
16469
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18254
16470
/* end confdefs.h.  */
18255
16471
#include <sys/types.h>
18256
16472
#include <sys/time.h>
18265
16481
  return 0;
18266
16482
}
18267
16483
_ACEOF
18268
 
rm -f conftest.$ac_objext
18269
 
if { (ac_try="$ac_compile"
18270
 
case "(($ac_try" in
18271
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18272
 
  *) ac_try_echo=$ac_try;;
18273
 
esac
18274
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18275
 
  (eval "$ac_compile") 2>conftest.er1
18276
 
  ac_status=$?
18277
 
  grep -v '^ *+' conftest.er1 >conftest.err
18278
 
  rm -f conftest.er1
18279
 
  cat conftest.err >&5
18280
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281
 
  (exit $ac_status); } && {
18282
 
         test -z "$ac_cxx_werror_flag" ||
18283
 
         test ! -s conftest.err
18284
 
       } && test -s conftest.$ac_objext; then
 
16484
if ac_fn_cxx_try_compile "$LINENO"; then :
18285
16485
  ac_cv_header_time=yes
18286
16486
else
18287
 
  echo "$as_me: failed program was:" >&5
18288
 
sed 's/^/| /' conftest.$ac_ext >&5
18289
 
 
18290
 
        ac_cv_header_time=no
 
16487
  ac_cv_header_time=no
18291
16488
fi
18292
 
 
18293
16489
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18294
16490
fi
18295
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
18296
 
echo "${ECHO_T}$ac_cv_header_time" >&6; }
 
16491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 
16492
$as_echo "$ac_cv_header_time" >&6; }
18297
16493
if test $ac_cv_header_time = yes; then
18298
16494
 
18299
 
cat >>confdefs.h <<\_ACEOF
18300
 
#define TIME_WITH_SYS_TIME 1
18301
 
_ACEOF
18302
 
 
18303
 
fi
18304
 
 
18305
 
 
18306
 
  { echo "$as_me:$LINENO: checking for uint32_t" >&5
18307
 
echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
18308
 
if test "${ac_cv_c_uint32_t+set}" = set; then
18309
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18310
 
else
18311
 
  ac_cv_c_uint32_t=no
18312
 
     for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
18313
 
         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
18314
 
       cat >conftest.$ac_ext <<_ACEOF
18315
 
/* confdefs.h.  */
18316
 
_ACEOF
18317
 
cat confdefs.h >>conftest.$ac_ext
18318
 
cat >>conftest.$ac_ext <<_ACEOF
18319
 
/* end confdefs.h.  */
18320
 
$ac_includes_default
18321
 
int
18322
 
main ()
18323
 
{
18324
 
static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
18325
 
test_array [0] = 0
18326
 
 
18327
 
  ;
18328
 
  return 0;
18329
 
}
18330
 
_ACEOF
18331
 
rm -f conftest.$ac_objext
18332
 
if { (ac_try="$ac_compile"
18333
 
case "(($ac_try" in
18334
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18335
 
  *) ac_try_echo=$ac_try;;
18336
 
esac
18337
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18338
 
  (eval "$ac_compile") 2>conftest.er1
18339
 
  ac_status=$?
18340
 
  grep -v '^ *+' conftest.er1 >conftest.err
18341
 
  rm -f conftest.er1
18342
 
  cat conftest.err >&5
18343
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344
 
  (exit $ac_status); } && {
18345
 
         test -z "$ac_cxx_werror_flag" ||
18346
 
         test ! -s conftest.err
18347
 
       } && test -s conftest.$ac_objext; then
18348
 
  case $ac_type in
18349
 
  uint32_t) ac_cv_c_uint32_t=yes ;;
18350
 
  *) ac_cv_c_uint32_t=$ac_type ;;
18351
 
esac
18352
 
 
18353
 
else
18354
 
  echo "$as_me: failed program was:" >&5
18355
 
sed 's/^/| /' conftest.$ac_ext >&5
18356
 
 
18357
 
 
18358
 
fi
18359
 
 
18360
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18361
 
       test "$ac_cv_c_uint32_t" != no && break
18362
 
     done
18363
 
fi
18364
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
18365
 
echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
18366
 
  case $ac_cv_c_uint32_t in #(
 
16495
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 
16496
 
 
16497
fi
 
16498
 
 
16499
ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
 
16500
case $ac_cv_c_uint32_t in #(
18367
16501
  no|yes) ;; #(
18368
16502
  *)
18369
16503
 
18370
 
cat >>confdefs.h <<\_ACEOF
18371
 
#define _UINT32_T 1
18372
 
_ACEOF
 
16504
$as_echo "#define _UINT32_T 1" >>confdefs.h
18373
16505
 
18374
16506
 
18375
16507
cat >>confdefs.h <<_ACEOF
18378
16510
;;
18379
16511
  esac
18380
16512
 
18381
 
{ echo "$as_me:$LINENO: checking for working volatile" >&5
18382
 
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
18383
 
if test "${ac_cv_c_volatile+set}" = set; then
18384
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
 
16514
$as_echo_n "checking for working volatile... " >&6; }
 
16515
if test "${ac_cv_c_volatile+set}" = set; then :
 
16516
  $as_echo_n "(cached) " >&6
18385
16517
else
18386
 
  cat >conftest.$ac_ext <<_ACEOF
18387
 
/* confdefs.h.  */
18388
 
_ACEOF
18389
 
cat confdefs.h >>conftest.$ac_ext
18390
 
cat >>conftest.$ac_ext <<_ACEOF
 
16518
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391
16519
/* end confdefs.h.  */
18392
16520
 
18393
16521
int
18401
16529
  return 0;
18402
16530
}
18403
16531
_ACEOF
18404
 
rm -f conftest.$ac_objext
18405
 
if { (ac_try="$ac_compile"
18406
 
case "(($ac_try" in
18407
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18408
 
  *) ac_try_echo=$ac_try;;
18409
 
esac
18410
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18411
 
  (eval "$ac_compile") 2>conftest.er1
18412
 
  ac_status=$?
18413
 
  grep -v '^ *+' conftest.er1 >conftest.err
18414
 
  rm -f conftest.er1
18415
 
  cat conftest.err >&5
18416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417
 
  (exit $ac_status); } && {
18418
 
         test -z "$ac_cxx_werror_flag" ||
18419
 
         test ! -s conftest.err
18420
 
       } && test -s conftest.$ac_objext; then
 
16532
if ac_fn_cxx_try_compile "$LINENO"; then :
18421
16533
  ac_cv_c_volatile=yes
18422
16534
else
18423
 
  echo "$as_me: failed program was:" >&5
18424
 
sed 's/^/| /' conftest.$ac_ext >&5
18425
 
 
18426
 
        ac_cv_c_volatile=no
 
16535
  ac_cv_c_volatile=no
18427
16536
fi
18428
 
 
18429
16537
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430
16538
fi
18431
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
18432
 
echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
 
16539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
 
16540
$as_echo "$ac_cv_c_volatile" >&6; }
18433
16541
if test $ac_cv_c_volatile = no; then
18434
16542
 
18435
 
cat >>confdefs.h <<\_ACEOF
18436
 
#define volatile
18437
 
_ACEOF
 
16543
$as_echo "#define volatile /**/" >>confdefs.h
18438
16544
 
18439
16545
fi
18440
16546
 
18453
16559
#  PGM extension
18454
16560
pgm_ext="no"
18455
16561
 
18456
 
pgm_basename="libpgm-2.1.26"
 
16562
pgm_basename="libpgm-2-1-28~dfsg"
18457
16563
 
18458
16564
 
18459
16565
 
18460
16566
 
18461
16567
# Check whether --with-pgm was given.
18462
 
if test "${with_pgm+set}" = set; then
 
16568
if test "${with_pgm+set}" = set; then :
18463
16569
  withval=$with_pgm; with_pgm_ext=yes
18464
16570
else
18465
16571
  with_pgm_ext=no
18468
16574
 
18469
16575
if test "x$with_pgm_ext" != "xno"; then
18470
16576
 
18471
 
    { echo "$as_me:$LINENO: checking if the PGM extension is supported on this platform" >&5
18472
 
echo $ECHO_N "checking if the PGM extension is supported on this platform... $ECHO_C" >&6; }
 
16577
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the PGM extension is supported on this platform" >&5
 
16578
$as_echo_n "checking if the PGM extension is supported on this platform... " >&6; }
18473
16579
    # OpenPGM is only supported by the vendor on x86 and AMD64 platforms...
18474
16580
    case "${host_cpu}" in
18475
16581
        i*86|x86_64)
18476
16582
            # Supported
18477
16583
        ;;
18478
16584
        *)
18479
 
            { { echo "$as_me:$LINENO: error: the PGM extension is not supported on the ${host_cpu} platform." >&5
18480
 
echo "$as_me: error: the PGM extension is not supported on the ${host_cpu} platform." >&2;}
18481
 
   { (exit 1); exit 1; }; }
 
16585
            as_fn_error "the PGM extension is not supported on the ${host_cpu} platform." "$LINENO" 5
18482
16586
        ;;
18483
16587
    esac
18484
16588
 
18488
16592
            LIBZMQ_EXTRA_CXXFLAGS="${LIBZMQ_EXTRA_CXXFLAGS} -Wno-variadic-macros -Wno-long-long "
18489
16593
        ;;
18490
16594
        *)
18491
 
            { { echo "$as_me:$LINENO: error: the PGM extension is not supported on system ${host_os}." >&5
18492
 
echo "$as_me: error: the PGM extension is not supported on system ${host_os}." >&2;}
18493
 
   { (exit 1); exit 1; }; }
 
16595
            as_fn_error "the PGM extension is not supported on system ${host_os}." "$LINENO" 5
18494
16596
        ;;
18495
16597
    esac
18496
 
    { echo "$as_me:$LINENO: result: yes" >&5
18497
 
echo "${ECHO_T}yes" >&6; }
 
16598
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16599
$as_echo "yes" >&6; }
18498
16600
 
18499
16601
    #  Test if we have pkg-config
18500
16602
    if test "x$with_pkg_config" != "xno"; then
18501
16603
        if test "x$have_pkg_config" != "xyes"; then
18502
 
            { { echo "$as_me:$LINENO: error: the --with-pgm option requires that pkg-config be installed." >&5
18503
 
echo "$as_me: error: the --with-pgm option requires that pkg-config be installed." >&2;}
18504
 
   { (exit 1); exit 1; }; };
 
16604
            as_fn_error "the --with-pgm option requires that pkg-config be installed." "$LINENO" 5;
18505
16605
        fi
18506
16606
 
18507
16607
        #  Check for OpenPGM dependencies
18511
16611
        if test -n "$ac_tool_prefix"; then
18512
16612
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18513
16613
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18514
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18515
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18516
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18517
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16615
$as_echo_n "checking for $ac_word... " >&6; }
 
16616
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
16617
  $as_echo_n "(cached) " >&6
18518
16618
else
18519
16619
  case $PKG_CONFIG in
18520
16620
  [\\/]* | ?:[\\/]*)
18526
16626
do
18527
16627
  IFS=$as_save_IFS
18528
16628
  test -z "$as_dir" && as_dir=.
18529
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16629
    for ac_exec_ext in '' $ac_executable_extensions; do
18530
16630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18531
16631
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18532
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16632
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18533
16633
    break 2
18534
16634
  fi
18535
16635
done
18536
 
done
 
16636
  done
18537
16637
IFS=$as_save_IFS
18538
16638
 
18539
16639
  ;;
18541
16641
fi
18542
16642
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18543
16643
if test -n "$PKG_CONFIG"; then
18544
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18545
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
16644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
16645
$as_echo "$PKG_CONFIG" >&6; }
18546
16646
else
18547
 
  { echo "$as_me:$LINENO: result: no" >&5
18548
 
echo "${ECHO_T}no" >&6; }
 
16647
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16648
$as_echo "no" >&6; }
18549
16649
fi
18550
16650
 
18551
16651
 
18554
16654
  ac_pt_PKG_CONFIG=$PKG_CONFIG
18555
16655
  # Extract the first word of "pkg-config", so it can be a program name with args.
18556
16656
set dummy pkg-config; ac_word=$2
18557
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18558
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18559
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
18560
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16658
$as_echo_n "checking for $ac_word... " >&6; }
 
16659
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
16660
  $as_echo_n "(cached) " >&6
18561
16661
else
18562
16662
  case $ac_pt_PKG_CONFIG in
18563
16663
  [\\/]* | ?:[\\/]*)
18569
16669
do
18570
16670
  IFS=$as_save_IFS
18571
16671
  test -z "$as_dir" && as_dir=.
18572
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16672
    for ac_exec_ext in '' $ac_executable_extensions; do
18573
16673
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18574
16674
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18575
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16675
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18576
16676
    break 2
18577
16677
  fi
18578
16678
done
18579
 
done
 
16679
  done
18580
16680
IFS=$as_save_IFS
18581
16681
 
18582
16682
  ;;
18584
16684
fi
18585
16685
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18586
16686
if test -n "$ac_pt_PKG_CONFIG"; then
18587
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
18588
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
16687
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
16688
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
18589
16689
else
18590
 
  { echo "$as_me:$LINENO: result: no" >&5
18591
 
echo "${ECHO_T}no" >&6; }
 
16690
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16691
$as_echo "no" >&6; }
18592
16692
fi
18593
16693
 
18594
16694
  if test "x$ac_pt_PKG_CONFIG" = x; then
18596
16696
  else
18597
16697
    case $cross_compiling:$ac_tool_warned in
18598
16698
yes:)
18599
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18600
 
whose name does not start with the host triplet.  If you think this
18601
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
18602
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18603
 
whose name does not start with the host triplet.  If you think this
18604
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
16699
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
16700
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18605
16701
ac_tool_warned=yes ;;
18606
16702
esac
18607
16703
    PKG_CONFIG=$ac_pt_PKG_CONFIG
18613
16709
fi
18614
16710
if test -n "$PKG_CONFIG"; then
18615
16711
        _pkg_min_version=0.9.0
18616
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
18617
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
16712
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
16713
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18618
16714
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18619
 
                { echo "$as_me:$LINENO: result: yes" >&5
18620
 
echo "${ECHO_T}yes" >&6; }
 
16715
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16716
$as_echo "yes" >&6; }
18621
16717
        else
18622
 
                { echo "$as_me:$LINENO: result: no" >&5
18623
 
echo "${ECHO_T}no" >&6; }
 
16718
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16719
$as_echo "no" >&6; }
18624
16720
                PKG_CONFIG=""
18625
16721
        fi
18626
16722
 
18627
16723
fi
18628
16724
 
18629
16725
pkg_failed=no
18630
 
{ echo "$as_me:$LINENO: checking for GLIB" >&5
18631
 
echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
 
16726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
 
16727
$as_echo_n "checking for GLIB... " >&6; }
18632
16728
 
18633
16729
if test -n "$PKG_CONFIG"; then
18634
16730
    if test -n "$GLIB_CFLAGS"; then
18635
16731
        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
18636
16732
    else
18637
16733
        if test -n "$PKG_CONFIG" && \
18638
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0\"") >&5
 
16734
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0\""; } >&5
18639
16735
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gthread-2.0") 2>&5
18640
16736
  ac_status=$?
18641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642
 
  (exit $ac_status); }; then
 
16737
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16738
  test $ac_status = 0; }; then
18643
16739
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gthread-2.0" 2>/dev/null`
18644
16740
else
18645
16741
  pkg_failed=yes
18653
16749
        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
18654
16750
    else
18655
16751
        if test -n "$PKG_CONFIG" && \
18656
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0\"") >&5
 
16752
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0\""; } >&5
18657
16753
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gthread-2.0") 2>&5
18658
16754
  ac_status=$?
18659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660
 
  (exit $ac_status); }; then
 
16755
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16756
  test $ac_status = 0; }; then
18661
16757
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 gthread-2.0" 2>/dev/null`
18662
16758
else
18663
16759
  pkg_failed=yes
18684
16780
        # Put the nasty error message in config.log where it belongs
18685
16781
        echo "$GLIB_PKG_ERRORS" >&5
18686
16782
 
18687
 
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 gthread-2.0) were not met:
18688
 
 
18689
 
$GLIB_PKG_ERRORS
18690
 
 
18691
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18692
 
installed software in a non-standard prefix.
18693
 
 
18694
 
Alternatively, you may set the environment variables GLIB_CFLAGS
18695
 
and GLIB_LIBS to avoid the need to call pkg-config.
18696
 
See the pkg-config man page for more details.
18697
 
" >&5
18698
 
echo "$as_me: error: Package requirements (glib-2.0 gthread-2.0) were not met:
18699
 
 
18700
 
$GLIB_PKG_ERRORS
18701
 
 
18702
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18703
 
installed software in a non-standard prefix.
18704
 
 
18705
 
Alternatively, you may set the environment variables GLIB_CFLAGS
18706
 
and GLIB_LIBS to avoid the need to call pkg-config.
18707
 
See the pkg-config man page for more details.
18708
 
" >&2;}
18709
 
   { (exit 1); exit 1; }; }
 
16783
        as_fn_error "Package requirements (glib-2.0 gthread-2.0) were not met:
 
16784
 
 
16785
$GLIB_PKG_ERRORS
 
16786
 
 
16787
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
16788
installed software in a non-standard prefix.
 
16789
 
 
16790
Alternatively, you may set the environment variables GLIB_CFLAGS
 
16791
and GLIB_LIBS to avoid the need to call pkg-config.
 
16792
See the pkg-config man page for more details.
 
16793
" "$LINENO" 5
18710
16794
elif test $pkg_failed = untried; then
18711
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
18712
 
is in your PATH or set the PKG_CONFIG environment variable to the full
18713
 
path to pkg-config.
18714
 
 
18715
 
Alternatively, you may set the environment variables GLIB_CFLAGS
18716
 
and GLIB_LIBS to avoid the need to call pkg-config.
18717
 
See the pkg-config man page for more details.
18718
 
 
18719
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18720
 
See \`config.log' for more details." >&5
18721
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
18722
 
is in your PATH or set the PKG_CONFIG environment variable to the full
18723
 
path to pkg-config.
18724
 
 
18725
 
Alternatively, you may set the environment variables GLIB_CFLAGS
18726
 
and GLIB_LIBS to avoid the need to call pkg-config.
18727
 
See the pkg-config man page for more details.
18728
 
 
18729
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18730
 
See \`config.log' for more details." >&2;}
18731
 
   { (exit 1); exit 1; }; }
 
16795
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
16796
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
16797
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
16798
is in your PATH or set the PKG_CONFIG environment variable to the full
 
16799
path to pkg-config.
 
16800
 
 
16801
Alternatively, you may set the environment variables GLIB_CFLAGS
 
16802
and GLIB_LIBS to avoid the need to call pkg-config.
 
16803
See the pkg-config man page for more details.
 
16804
 
 
16805
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
16806
See \`config.log' for more details." "$LINENO" 5; }
18732
16807
else
18733
16808
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
18734
16809
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
18735
 
        { echo "$as_me:$LINENO: result: yes" >&5
18736
 
echo "${ECHO_T}yes" >&6; }
 
16810
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16811
$as_echo "yes" >&6; }
18737
16812
        :
18738
16813
fi
18739
16814
        LIBZMQ_EXTRA_CXXFLAGS="${LIBZMQ_EXTRA_CXXFLAGS} ${GLIB_CFLAGS} "
18743
16818
    #  Gzip, Perl and Python are required duing PGM build
18744
16819
    # Extract the first word of "gzip", so it can be a program name with args.
18745
16820
set dummy gzip; ac_word=$2
18746
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18747
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18748
 
if test "${ac_cv_prog_have_gzip+set}" = set; then
18749
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16822
$as_echo_n "checking for $ac_word... " >&6; }
 
16823
if test "${ac_cv_prog_have_gzip+set}" = set; then :
 
16824
  $as_echo_n "(cached) " >&6
18750
16825
else
18751
16826
  if test -n "$have_gzip"; then
18752
16827
  ac_cv_prog_have_gzip="$have_gzip" # Let the user override the test.
18756
16831
do
18757
16832
  IFS=$as_save_IFS
18758
16833
  test -z "$as_dir" && as_dir=.
18759
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16834
    for ac_exec_ext in '' $ac_executable_extensions; do
18760
16835
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18761
16836
    ac_cv_prog_have_gzip="yes"
18762
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16837
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18763
16838
    break 2
18764
16839
  fi
18765
16840
done
18766
 
done
 
16841
  done
18767
16842
IFS=$as_save_IFS
18768
16843
 
18769
16844
  test -z "$ac_cv_prog_have_gzip" && ac_cv_prog_have_gzip="no"
18771
16846
fi
18772
16847
have_gzip=$ac_cv_prog_have_gzip
18773
16848
if test -n "$have_gzip"; then
18774
 
  { echo "$as_me:$LINENO: result: $have_gzip" >&5
18775
 
echo "${ECHO_T}$have_gzip" >&6; }
 
16849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gzip" >&5
 
16850
$as_echo "$have_gzip" >&6; }
18776
16851
else
18777
 
  { echo "$as_me:$LINENO: result: no" >&5
18778
 
echo "${ECHO_T}no" >&6; }
 
16852
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16853
$as_echo "no" >&6; }
18779
16854
fi
18780
16855
 
18781
16856
 
18782
16857
    if test "x$have_gzip" != "xyes"; then
18783
 
        { { echo "$as_me:$LINENO: error: gzip is required for building the PGM extension." >&5
18784
 
echo "$as_me: error: gzip is required for building the PGM extension." >&2;}
18785
 
   { (exit 1); exit 1; }; }
 
16858
        as_fn_error "gzip is required for building the PGM extension." "$LINENO" 5
18786
16859
    fi
18787
16860
    # Extract the first word of "perl", so it can be a program name with args.
18788
16861
set dummy perl; ac_word=$2
18789
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18790
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18791
 
if test "${ac_cv_prog_have_perl+set}" = set; then
18792
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16863
$as_echo_n "checking for $ac_word... " >&6; }
 
16864
if test "${ac_cv_prog_have_perl+set}" = set; then :
 
16865
  $as_echo_n "(cached) " >&6
18793
16866
else
18794
16867
  if test -n "$have_perl"; then
18795
16868
  ac_cv_prog_have_perl="$have_perl" # Let the user override the test.
18799
16872
do
18800
16873
  IFS=$as_save_IFS
18801
16874
  test -z "$as_dir" && as_dir=.
18802
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16875
    for ac_exec_ext in '' $ac_executable_extensions; do
18803
16876
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18804
16877
    ac_cv_prog_have_perl="yes"
18805
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16878
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18806
16879
    break 2
18807
16880
  fi
18808
16881
done
18809
 
done
 
16882
  done
18810
16883
IFS=$as_save_IFS
18811
16884
 
18812
16885
  test -z "$ac_cv_prog_have_perl" && ac_cv_prog_have_perl="no"
18814
16887
fi
18815
16888
have_perl=$ac_cv_prog_have_perl
18816
16889
if test -n "$have_perl"; then
18817
 
  { echo "$as_me:$LINENO: result: $have_perl" >&5
18818
 
echo "${ECHO_T}$have_perl" >&6; }
 
16890
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_perl" >&5
 
16891
$as_echo "$have_perl" >&6; }
18819
16892
else
18820
 
  { echo "$as_me:$LINENO: result: no" >&5
18821
 
echo "${ECHO_T}no" >&6; }
 
16893
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16894
$as_echo "no" >&6; }
18822
16895
fi
18823
16896
 
18824
16897
 
18825
16898
    if test "x$have_perl" != "xyes"; then
18826
 
        { { echo "$as_me:$LINENO: error: perl is required for building the PGM extension." >&5
18827
 
echo "$as_me: error: perl is required for building the PGM extension." >&2;}
18828
 
   { (exit 1); exit 1; }; }
 
16899
        as_fn_error "perl is required for building the PGM extension." "$LINENO" 5
18829
16900
    fi
18830
16901
    # Extract the first word of "python", so it can be a program name with args.
18831
16902
set dummy python; ac_word=$2
18832
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18833
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18834
 
if test "${ac_cv_prog_have_python+set}" = set; then
18835
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16904
$as_echo_n "checking for $ac_word... " >&6; }
 
16905
if test "${ac_cv_prog_have_python+set}" = set; then :
 
16906
  $as_echo_n "(cached) " >&6
18836
16907
else
18837
16908
  if test -n "$have_python"; then
18838
16909
  ac_cv_prog_have_python="$have_python" # Let the user override the test.
18842
16913
do
18843
16914
  IFS=$as_save_IFS
18844
16915
  test -z "$as_dir" && as_dir=.
18845
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16916
    for ac_exec_ext in '' $ac_executable_extensions; do
18846
16917
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18847
16918
    ac_cv_prog_have_python="yes"
18848
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16919
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18849
16920
    break 2
18850
16921
  fi
18851
16922
done
18852
 
done
 
16923
  done
18853
16924
IFS=$as_save_IFS
18854
16925
 
18855
16926
  test -z "$ac_cv_prog_have_python" && ac_cv_prog_have_python="no"
18857
16928
fi
18858
16929
have_python=$ac_cv_prog_have_python
18859
16930
if test -n "$have_python"; then
18860
 
  { echo "$as_me:$LINENO: result: $have_python" >&5
18861
 
echo "${ECHO_T}$have_python" >&6; }
 
16931
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_python" >&5
 
16932
$as_echo "$have_python" >&6; }
18862
16933
else
18863
 
  { echo "$as_me:$LINENO: result: no" >&5
18864
 
echo "${ECHO_T}no" >&6; }
 
16934
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16935
$as_echo "no" >&6; }
18865
16936
fi
18866
16937
 
18867
16938
 
18868
16939
    if test "x$have_python" != "xyes"; then
18869
 
        { { echo "$as_me:$LINENO: error: python is required for building the PGM extension." >&5
18870
 
echo "$as_me: error: python is required for building the PGM extension." >&2;}
18871
 
   { (exit 1); exit 1; }; }
 
16940
        as_fn_error "python is required for building the PGM extension." "$LINENO" 5
18872
16941
    fi
18873
16942
 
18874
16943
    #  Unpack libpgm
18875
 
    { echo "$as_me:$LINENO: Unpacking ${pgm_basename}.tar.gz" >&5
18876
 
echo "$as_me: Unpacking ${pgm_basename}.tar.gz" >&6;}
 
16944
    { $as_echo "$as_me:${as_lineno-$LINENO}: Unpacking ${pgm_basename}.tar.gz" >&5
 
16945
$as_echo "$as_me: Unpacking ${pgm_basename}.tar.gz" >&6;}
18877
16946
    if ! gzip -dc foreign/openpgm/${pgm_basename}.tar.gz | tar -xf - -C foreign/openpgm/; then
18878
 
        { { echo "$as_me:$LINENO: error: cannot unpack the foreign/openpgm/${pgm_basename}.tar.gz file." >&5
18879
 
echo "$as_me: error: cannot unpack the foreign/openpgm/${pgm_basename}.tar.gz file." >&2;}
18880
 
   { (exit 1); exit 1; }; }
 
16947
        as_fn_error "cannot unpack the foreign/openpgm/${pgm_basename}.tar.gz file." "$LINENO" 5
18881
16948
    fi
18882
16949
 
18883
16950
    #  Success!
18884
16951
 
18885
 
cat >>confdefs.h <<\_ACEOF
18886
 
#define ZMQ_HAVE_OPENPGM 1
18887
 
_ACEOF
 
16952
$as_echo "#define ZMQ_HAVE_OPENPGM 1" >>confdefs.h
18888
16953
 
18889
16954
    pgm_ext="yes"
18890
16955
fi
18953
17018
 
18954
17019
 
18955
17020
# Checks for library functions.
18956
 
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
18957
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
18958
 
if test "${ac_cv_type_signal+set}" = set; then
18959
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 
17022
$as_echo_n "checking return type of signal handlers... " >&6; }
 
17023
if test "${ac_cv_type_signal+set}" = set; then :
 
17024
  $as_echo_n "(cached) " >&6
18960
17025
else
18961
 
  cat >conftest.$ac_ext <<_ACEOF
18962
 
/* confdefs.h.  */
18963
 
_ACEOF
18964
 
cat confdefs.h >>conftest.$ac_ext
18965
 
cat >>conftest.$ac_ext <<_ACEOF
 
17026
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18966
17027
/* end confdefs.h.  */
18967
17028
#include <sys/types.h>
18968
17029
#include <signal.h>
18975
17036
  return 0;
18976
17037
}
18977
17038
_ACEOF
18978
 
rm -f conftest.$ac_objext
18979
 
if { (ac_try="$ac_compile"
18980
 
case "(($ac_try" in
18981
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18982
 
  *) ac_try_echo=$ac_try;;
18983
 
esac
18984
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18985
 
  (eval "$ac_compile") 2>conftest.er1
18986
 
  ac_status=$?
18987
 
  grep -v '^ *+' conftest.er1 >conftest.err
18988
 
  rm -f conftest.er1
18989
 
  cat conftest.err >&5
18990
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991
 
  (exit $ac_status); } && {
18992
 
         test -z "$ac_cxx_werror_flag" ||
18993
 
         test ! -s conftest.err
18994
 
       } && test -s conftest.$ac_objext; then
 
17039
if ac_fn_cxx_try_compile "$LINENO"; then :
18995
17040
  ac_cv_type_signal=int
18996
17041
else
18997
 
  echo "$as_me: failed program was:" >&5
18998
 
sed 's/^/| /' conftest.$ac_ext >&5
18999
 
 
19000
 
        ac_cv_type_signal=void
 
17042
  ac_cv_type_signal=void
19001
17043
fi
19002
 
 
19003
17044
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19004
17045
fi
19005
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
19006
 
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
 
17046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 
17047
$as_echo "$ac_cv_type_signal" >&6; }
19007
17048
 
19008
17049
cat >>confdefs.h <<_ACEOF
19009
17050
#define RETSIGTYPE $ac_cv_type_signal
19010
17051
_ACEOF
19011
17052
 
19012
17053
 
19013
 
 
19014
 
 
19015
 
 
19016
 
 
19017
 
 
19018
 
 
19019
17054
for ac_func in perror gettimeofday memset socket getifaddrs freeifaddrs
19020
 
do
19021
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19022
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
19023
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19024
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19025
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19026
 
else
19027
 
  cat >conftest.$ac_ext <<_ACEOF
19028
 
/* confdefs.h.  */
19029
 
_ACEOF
19030
 
cat confdefs.h >>conftest.$ac_ext
19031
 
cat >>conftest.$ac_ext <<_ACEOF
19032
 
/* end confdefs.h.  */
19033
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19034
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19035
 
#define $ac_func innocuous_$ac_func
19036
 
 
19037
 
/* System header to define __stub macros and hopefully few prototypes,
19038
 
    which can conflict with char $ac_func (); below.
19039
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19040
 
    <limits.h> exists even on freestanding compilers.  */
19041
 
 
19042
 
#ifdef __STDC__
19043
 
# include <limits.h>
19044
 
#else
19045
 
# include <assert.h>
19046
 
#endif
19047
 
 
19048
 
#undef $ac_func
19049
 
 
19050
 
/* Override any GCC internal prototype to avoid an error.
19051
 
   Use char because int might match the return type of a GCC
19052
 
   builtin and then its argument prototype would still apply.  */
19053
 
#ifdef __cplusplus
19054
 
extern "C"
19055
 
#endif
19056
 
char $ac_func ();
19057
 
/* The GNU C library defines this for functions which it implements
19058
 
    to always fail with ENOSYS.  Some functions are actually named
19059
 
    something starting with __ and the normal name is an alias.  */
19060
 
#if defined __stub_$ac_func || defined __stub___$ac_func
19061
 
choke me
19062
 
#endif
19063
 
 
19064
 
int
19065
 
main ()
19066
 
{
19067
 
return $ac_func ();
19068
 
  ;
19069
 
  return 0;
19070
 
}
19071
 
_ACEOF
19072
 
rm -f conftest.$ac_objext conftest$ac_exeext
19073
 
if { (ac_try="$ac_link"
19074
 
case "(($ac_try" in
19075
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19076
 
  *) ac_try_echo=$ac_try;;
19077
 
esac
19078
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19079
 
  (eval "$ac_link") 2>conftest.er1
19080
 
  ac_status=$?
19081
 
  grep -v '^ *+' conftest.er1 >conftest.err
19082
 
  rm -f conftest.er1
19083
 
  cat conftest.err >&5
19084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085
 
  (exit $ac_status); } && {
19086
 
         test -z "$ac_cxx_werror_flag" ||
19087
 
         test ! -s conftest.err
19088
 
       } && test -s conftest$ac_exeext &&
19089
 
       $as_test_x conftest$ac_exeext; then
19090
 
  eval "$as_ac_var=yes"
19091
 
else
19092
 
  echo "$as_me: failed program was:" >&5
19093
 
sed 's/^/| /' conftest.$ac_ext >&5
19094
 
 
19095
 
        eval "$as_ac_var=no"
19096
 
fi
19097
 
 
19098
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19099
 
      conftest$ac_exeext conftest.$ac_ext
19100
 
fi
19101
 
ac_res=`eval echo '${'$as_ac_var'}'`
19102
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
19103
 
echo "${ECHO_T}$ac_res" >&6; }
19104
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
17055
do :
 
17056
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
17057
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
17058
eval as_val=\$$as_ac_var
 
17059
   if test "x$as_val" = x""yes; then :
19105
17060
  cat >>confdefs.h <<_ACEOF
19106
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
17061
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19107
17062
_ACEOF
19108
17063
 
19109
17064
fi
19139
17094
    case $ac_val in #(
19140
17095
    *${as_nl}*)
19141
17096
      case $ac_var in #(
19142
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
19143
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
17097
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
17098
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19144
17099
      esac
19145
17100
      case $ac_var in #(
19146
17101
      _ | IFS | as_nl) ;; #(
19147
 
      *) $as_unset $ac_var ;;
 
17102
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
17103
      *) { eval $ac_var=; unset $ac_var;} ;;
19148
17104
      esac ;;
19149
17105
    esac
19150
17106
  done
19152
17108
  (set) 2>&1 |
19153
17109
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
19154
17110
    *${as_nl}ac_space=\ *)
19155
 
      # `set' does not quote correctly, so add quotes (double-quote
19156
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
17111
      # `set' does not quote correctly, so add quotes: double-quote
 
17112
      # substitution turns \\\\ into \\, and sed turns \\ into \.
19157
17113
      sed -n \
19158
17114
        "s/'/'\\\\''/g;
19159
17115
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19176
17132
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19177
17133
  if test -w "$cache_file"; then
19178
17134
    test "x$cache_file" != "x/dev/null" &&
19179
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
19180
 
echo "$as_me: updating cache $cache_file" >&6;}
 
17135
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
17136
$as_echo "$as_me: updating cache $cache_file" >&6;}
19181
17137
    cat confcache >$cache_file
19182
17138
  else
19183
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19184
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
17139
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
17140
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19185
17141
  fi
19186
17142
fi
19187
17143
rm -f confcache
19197
17153
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19198
17154
  # 1. Remove the extension, and $U if already installed.
19199
17155
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19200
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
17156
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19201
17157
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19202
17158
  #    will be set to the directory where LIBOBJS objects are built.
19203
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19204
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
17159
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
17160
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19205
17161
done
19206
17162
LIBOBJS=$ac_libobjs
19207
17163
 
19208
17164
LTLIBOBJS=$ac_ltlibobjs
19209
17165
 
19210
17166
 
 
17167
 if test -n "$EXEEXT"; then
 
17168
  am__EXEEXT_TRUE=
 
17169
  am__EXEEXT_FALSE='#'
 
17170
else
 
17171
  am__EXEEXT_TRUE='#'
 
17172
  am__EXEEXT_FALSE=
 
17173
fi
 
17174
 
19211
17175
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19212
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19213
 
Usually this means the macro was only invoked conditionally." >&5
19214
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
19215
 
Usually this means the macro was only invoked conditionally." >&2;}
19216
 
   { (exit 1); exit 1; }; }
 
17176
  as_fn_error "conditional \"AMDEP\" was never defined.
 
17177
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19217
17178
fi
19218
17179
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19219
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19220
 
Usually this means the macro was only invoked conditionally." >&5
19221
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19222
 
Usually this means the macro was only invoked conditionally." >&2;}
19223
 
   { (exit 1); exit 1; }; }
19224
 
fi
19225
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19226
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19227
 
Usually this means the macro was only invoked conditionally." >&5
19228
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19229
 
Usually this means the macro was only invoked conditionally." >&2;}
19230
 
   { (exit 1); exit 1; }; }
19231
 
fi
19232
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19233
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19234
 
Usually this means the macro was only invoked conditionally." >&5
19235
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19236
 
Usually this means the macro was only invoked conditionally." >&2;}
19237
 
   { (exit 1); exit 1; }; }
 
17180
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
17181
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17182
fi
 
17183
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
17184
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
17185
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17186
fi
 
17187
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
17188
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
17189
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19238
17190
fi
19239
17191
if test -z "${BUILD_PGM_TRUE}" && test -z "${BUILD_PGM_FALSE}"; then
19240
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PGM\" was never defined.
19241
 
Usually this means the macro was only invoked conditionally." >&5
19242
 
echo "$as_me: error: conditional \"BUILD_PGM\" was never defined.
19243
 
Usually this means the macro was only invoked conditionally." >&2;}
19244
 
   { (exit 1); exit 1; }; }
 
17192
  as_fn_error "conditional \"BUILD_PGM\" was never defined.
 
17193
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19245
17194
fi
19246
17195
if test -z "${BUILD_NO_PGM_TRUE}" && test -z "${BUILD_NO_PGM_FALSE}"; then
19247
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_NO_PGM\" was never defined.
19248
 
Usually this means the macro was only invoked conditionally." >&5
19249
 
echo "$as_me: error: conditional \"BUILD_NO_PGM\" was never defined.
19250
 
Usually this means the macro was only invoked conditionally." >&2;}
19251
 
   { (exit 1); exit 1; }; }
 
17196
  as_fn_error "conditional \"BUILD_NO_PGM\" was never defined.
 
17197
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19252
17198
fi
19253
17199
if test -z "${ON_MINGW_TRUE}" && test -z "${ON_MINGW_FALSE}"; then
19254
 
  { { echo "$as_me:$LINENO: error: conditional \"ON_MINGW\" was never defined.
19255
 
Usually this means the macro was only invoked conditionally." >&5
19256
 
echo "$as_me: error: conditional \"ON_MINGW\" was never defined.
19257
 
Usually this means the macro was only invoked conditionally." >&2;}
19258
 
   { (exit 1); exit 1; }; }
 
17200
  as_fn_error "conditional \"ON_MINGW\" was never defined.
 
17201
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19259
17202
fi
19260
17203
if test -z "${INSTALL_MAN_TRUE}" && test -z "${INSTALL_MAN_FALSE}"; then
19261
 
  { { echo "$as_me:$LINENO: error: conditional \"INSTALL_MAN\" was never defined.
19262
 
Usually this means the macro was only invoked conditionally." >&5
19263
 
echo "$as_me: error: conditional \"INSTALL_MAN\" was never defined.
19264
 
Usually this means the macro was only invoked conditionally." >&2;}
19265
 
   { (exit 1); exit 1; }; }
 
17204
  as_fn_error "conditional \"INSTALL_MAN\" was never defined.
 
17205
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19266
17206
fi
19267
17207
if test -z "${BUILD_DOC_TRUE}" && test -z "${BUILD_DOC_FALSE}"; then
19268
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DOC\" was never defined.
19269
 
Usually this means the macro was only invoked conditionally." >&5
19270
 
echo "$as_me: error: conditional \"BUILD_DOC\" was never defined.
19271
 
Usually this means the macro was only invoked conditionally." >&2;}
19272
 
   { (exit 1); exit 1; }; }
 
17208
  as_fn_error "conditional \"BUILD_DOC\" was never defined.
 
17209
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19273
17210
fi
19274
17211
 
19275
17212
: ${CONFIG_STATUS=./config.status}
 
17213
ac_write_fail=0
19276
17214
ac_clean_files_save=$ac_clean_files
19277
17215
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19278
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19279
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
19280
 
cat >$CONFIG_STATUS <<_ACEOF
 
17216
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
17217
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
17218
as_write_fail=0
 
17219
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19281
17220
#! $SHELL
19282
17221
# Generated by $as_me.
19283
17222
# Run this file to recreate the current configuration.
19287
17226
debug=false
19288
17227
ac_cs_recheck=false
19289
17228
ac_cs_silent=false
 
17229
 
19290
17230
SHELL=\${CONFIG_SHELL-$SHELL}
19291
 
_ACEOF
19292
 
 
19293
 
cat >>$CONFIG_STATUS <<\_ACEOF
19294
 
## --------------------- ##
19295
 
## M4sh Initialization.  ##
19296
 
## --------------------- ##
 
17231
export SHELL
 
17232
_ASEOF
 
17233
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
17234
## -------------------- ##
 
17235
## M4sh Initialization. ##
 
17236
## -------------------- ##
19297
17237
 
19298
17238
# Be more Bourne compatible
19299
17239
DUALCASE=1; export DUALCASE # for MKS sh
19300
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19301
17241
  emulate sh
19302
17242
  NULLCMD=:
19303
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
17243
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19304
17244
  # is contrary to our usage.  Disable this feature.
19305
17245
  alias -g '${1+"$@"}'='"$@"'
19306
17246
  setopt NO_GLOB_SUBST
19307
17247
else
19308
 
  case `(set -o) 2>/dev/null` in
19309
 
  *posix*) set -o posix ;;
 
17248
  case `(set -o) 2>/dev/null` in #(
 
17249
  *posix*) :
 
17250
    set -o posix ;; #(
 
17251
  *) :
 
17252
     ;;
19310
17253
esac
19311
 
 
19312
 
fi
19313
 
 
19314
 
 
19315
 
 
19316
 
 
19317
 
# PATH needs CR
19318
 
# Avoid depending upon Character Ranges.
19319
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19320
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19321
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19322
 
as_cr_digits='0123456789'
19323
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
17254
fi
 
17255
 
 
17256
 
 
17257
as_nl='
 
17258
'
 
17259
export as_nl
 
17260
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
17261
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
17262
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
17263
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
17264
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
17265
# but without wasting forks for bash or zsh.
 
17266
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
17267
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
17268
  as_echo='print -r --'
 
17269
  as_echo_n='print -rn --'
 
17270
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
17271
  as_echo='printf %s\n'
 
17272
  as_echo_n='printf %s'
 
17273
else
 
17274
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
17275
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
17276
    as_echo_n='/usr/ucb/echo -n'
 
17277
  else
 
17278
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
17279
    as_echo_n_body='eval
 
17280
      arg=$1;
 
17281
      case $arg in #(
 
17282
      *"$as_nl"*)
 
17283
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
17284
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
17285
      esac;
 
17286
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
17287
    '
 
17288
    export as_echo_n_body
 
17289
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
17290
  fi
 
17291
  export as_echo_body
 
17292
  as_echo='sh -c $as_echo_body as_echo'
 
17293
fi
19324
17294
 
19325
17295
# The user is always right.
19326
17296
if test "${PATH_SEPARATOR+set}" != set; then
19327
 
  echo "#! /bin/sh" >conf$$.sh
19328
 
  echo  "exit 0"   >>conf$$.sh
19329
 
  chmod +x conf$$.sh
19330
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
19331
 
    PATH_SEPARATOR=';'
19332
 
  else
19333
 
    PATH_SEPARATOR=:
19334
 
  fi
19335
 
  rm -f conf$$.sh
19336
 
fi
19337
 
 
19338
 
# Support unset when possible.
19339
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19340
 
  as_unset=unset
19341
 
else
19342
 
  as_unset=false
 
17297
  PATH_SEPARATOR=:
 
17298
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
17299
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
17300
      PATH_SEPARATOR=';'
 
17301
  }
19343
17302
fi
19344
17303
 
19345
17304
 
19348
17307
# there to prevent editors from complaining about space-tab.
19349
17308
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
19350
17309
# splitting by setting IFS to empty value.)
19351
 
as_nl='
19352
 
'
19353
17310
IFS=" ""        $as_nl"
19354
17311
 
19355
17312
# Find who we are.  Look in the path if we contain no directory separator.
19356
 
case $0 in
 
17313
case $0 in #((
19357
17314
  *[\\/]* ) as_myself=$0 ;;
19358
17315
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19359
17316
for as_dir in $PATH
19360
17317
do
19361
17318
  IFS=$as_save_IFS
19362
17319
  test -z "$as_dir" && as_dir=.
19363
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19364
 
done
 
17320
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
17321
  done
19365
17322
IFS=$as_save_IFS
19366
17323
 
19367
17324
     ;;
19372
17329
  as_myself=$0
19373
17330
fi
19374
17331
if test ! -f "$as_myself"; then
19375
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19376
 
  { (exit 1); exit 1; }
 
17332
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
17333
  exit 1
19377
17334
fi
19378
17335
 
19379
 
# Work around bugs in pre-3.0 UWIN ksh.
19380
 
for as_var in ENV MAIL MAILPATH
19381
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
17336
# Unset variables that we do not need and which cause bugs (e.g. in
 
17337
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
17338
# suppresses any "Segmentation fault" message there.  '((' could
 
17339
# trigger a bug in pdksh 5.2.14.
 
17340
for as_var in BASH_ENV ENV MAIL MAILPATH
 
17341
do eval test x\${$as_var+set} = xset \
 
17342
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19382
17343
done
19383
17344
PS1='$ '
19384
17345
PS2='> '
19385
17346
PS4='+ '
19386
17347
 
19387
17348
# NLS nuisances.
19388
 
for as_var in \
19389
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19390
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19391
 
  LC_TELEPHONE LC_TIME
19392
 
do
19393
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19394
 
    eval $as_var=C; export $as_var
19395
 
  else
19396
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
17349
LC_ALL=C
 
17350
export LC_ALL
 
17351
LANGUAGE=C
 
17352
export LANGUAGE
 
17353
 
 
17354
# CDPATH.
 
17355
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
17356
 
 
17357
 
 
17358
# as_fn_error ERROR [LINENO LOG_FD]
 
17359
# ---------------------------------
 
17360
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
17361
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
17362
# script with status $?, using 1 if that was 0.
 
17363
as_fn_error ()
 
17364
{
 
17365
  as_status=$?; test $as_status -eq 0 && as_status=1
 
17366
  if test "$3"; then
 
17367
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
17368
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
19397
17369
  fi
19398
 
done
19399
 
 
19400
 
# Required to use basename.
 
17370
  $as_echo "$as_me: error: $1" >&2
 
17371
  as_fn_exit $as_status
 
17372
} # as_fn_error
 
17373
 
 
17374
 
 
17375
# as_fn_set_status STATUS
 
17376
# -----------------------
 
17377
# Set $? to STATUS, without forking.
 
17378
as_fn_set_status ()
 
17379
{
 
17380
  return $1
 
17381
} # as_fn_set_status
 
17382
 
 
17383
# as_fn_exit STATUS
 
17384
# -----------------
 
17385
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
17386
as_fn_exit ()
 
17387
{
 
17388
  set +e
 
17389
  as_fn_set_status $1
 
17390
  exit $1
 
17391
} # as_fn_exit
 
17392
 
 
17393
# as_fn_unset VAR
 
17394
# ---------------
 
17395
# Portably unset VAR.
 
17396
as_fn_unset ()
 
17397
{
 
17398
  { eval $1=; unset $1;}
 
17399
}
 
17400
as_unset=as_fn_unset
 
17401
# as_fn_append VAR VALUE
 
17402
# ----------------------
 
17403
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
17404
# advantage of any shell optimizations that allow amortized linear growth over
 
17405
# repeated appends, instead of the typical quadratic growth present in naive
 
17406
# implementations.
 
17407
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
17408
  eval 'as_fn_append ()
 
17409
  {
 
17410
    eval $1+=\$2
 
17411
  }'
 
17412
else
 
17413
  as_fn_append ()
 
17414
  {
 
17415
    eval $1=\$$1\$2
 
17416
  }
 
17417
fi # as_fn_append
 
17418
 
 
17419
# as_fn_arith ARG...
 
17420
# ------------------
 
17421
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
17422
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
17423
# must be portable across $(()) and expr.
 
17424
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
17425
  eval 'as_fn_arith ()
 
17426
  {
 
17427
    as_val=$(( $* ))
 
17428
  }'
 
17429
else
 
17430
  as_fn_arith ()
 
17431
  {
 
17432
    as_val=`expr "$@" || test $? -eq 1`
 
17433
  }
 
17434
fi # as_fn_arith
 
17435
 
 
17436
 
19401
17437
if expr a : '\(a\)' >/dev/null 2>&1 &&
19402
17438
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19403
17439
  as_expr=expr
19411
17447
  as_basename=false
19412
17448
fi
19413
17449
 
 
17450
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
17451
  as_dirname=dirname
 
17452
else
 
17453
  as_dirname=false
 
17454
fi
19414
17455
 
19415
 
# Name of the executable.
19416
17456
as_me=`$as_basename -- "$0" ||
19417
17457
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19418
17458
         X"$0" : 'X\(//\)$' \| \
19419
17459
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19420
 
echo X/"$0" |
 
17460
$as_echo X/"$0" |
19421
17461
    sed '/^.*\/\([^/][^/]*\)\/*$/{
19422
17462
            s//\1/
19423
17463
            q
19432
17472
          }
19433
17473
          s/.*/./; q'`
19434
17474
 
19435
 
# CDPATH.
19436
 
$as_unset CDPATH
19437
 
 
19438
 
 
19439
 
 
19440
 
  as_lineno_1=$LINENO
19441
 
  as_lineno_2=$LINENO
19442
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
19443
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
19444
 
 
19445
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19446
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
19447
 
  # line-number line after each line using $LINENO; the second 'sed'
19448
 
  # does the real work.  The second script uses 'N' to pair each
19449
 
  # line-number line with the line containing $LINENO, and appends
19450
 
  # trailing '-' during substitution so that $LINENO is not a special
19451
 
  # case at line end.
19452
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19453
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
19454
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
19455
 
  sed -n '
19456
 
    p
19457
 
    /[$]LINENO/=
19458
 
  ' <$as_myself |
19459
 
    sed '
19460
 
      s/[$]LINENO.*/&-/
19461
 
      t lineno
19462
 
      b
19463
 
      :lineno
19464
 
      N
19465
 
      :loop
19466
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
19467
 
      t loop
19468
 
      s/-\n.*//
19469
 
    ' >$as_me.lineno &&
19470
 
  chmod +x "$as_me.lineno" ||
19471
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
19472
 
   { (exit 1); exit 1; }; }
19473
 
 
19474
 
  # Don't try to exec as it changes $[0], causing all sort of problems
19475
 
  # (the dirname of $[0] is not the place where we might find the
19476
 
  # original and so on.  Autoconf is especially sensitive to this).
19477
 
  . "./$as_me.lineno"
19478
 
  # Exit status is that of the last command.
19479
 
  exit
19480
 
}
19481
 
 
19482
 
 
19483
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19484
 
  as_dirname=dirname
19485
 
else
19486
 
  as_dirname=false
19487
 
fi
 
17475
# Avoid depending upon Character Ranges.
 
17476
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
17477
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
17478
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
17479
as_cr_digits='0123456789'
 
17480
as_cr_alnum=$as_cr_Letters$as_cr_digits
19488
17481
 
19489
17482
ECHO_C= ECHO_N= ECHO_T=
19490
 
case `echo -n x` in
 
17483
case `echo -n x` in #(((((
19491
17484
-n*)
19492
 
  case `echo 'x\c'` in
 
17485
  case `echo 'xy\c'` in
19493
17486
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
19494
 
  *)   ECHO_C='\c';;
 
17487
  xy)  ECHO_C='\c';;
 
17488
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
17489
       ECHO_T=' ';;
19495
17490
  esac;;
19496
17491
*)
19497
17492
  ECHO_N='-n';;
19498
17493
esac
19499
17494
 
19500
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
19501
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19502
 
  as_expr=expr
19503
 
else
19504
 
  as_expr=false
19505
 
fi
19506
 
 
19507
17495
rm -f conf$$ conf$$.exe conf$$.file
19508
17496
if test -d conf$$.dir; then
19509
17497
  rm -f conf$$.dir/conf$$.file
19510
17498
else
19511
17499
  rm -f conf$$.dir
19512
 
  mkdir conf$$.dir
 
17500
  mkdir conf$$.dir 2>/dev/null
19513
17501
fi
19514
 
echo >conf$$.file
19515
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
19516
 
  as_ln_s='ln -s'
19517
 
  # ... but there are two gotchas:
19518
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19519
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19520
 
  # In both cases, we have to default to `cp -p'.
19521
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
17502
if (echo >conf$$.file) 2>/dev/null; then
 
17503
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
17504
    as_ln_s='ln -s'
 
17505
    # ... but there are two gotchas:
 
17506
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
17507
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
17508
    # In both cases, we have to default to `cp -p'.
 
17509
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
17510
      as_ln_s='cp -p'
 
17511
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
17512
    as_ln_s=ln
 
17513
  else
19522
17514
    as_ln_s='cp -p'
19523
 
elif ln conf$$.file conf$$ 2>/dev/null; then
19524
 
  as_ln_s=ln
 
17515
  fi
19525
17516
else
19526
17517
  as_ln_s='cp -p'
19527
17518
fi
19528
17519
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19529
17520
rmdir conf$$.dir 2>/dev/null
19530
17521
 
 
17522
 
 
17523
# as_fn_mkdir_p
 
17524
# -------------
 
17525
# Create "$as_dir" as a directory, including parents if necessary.
 
17526
as_fn_mkdir_p ()
 
17527
{
 
17528
 
 
17529
  case $as_dir in #(
 
17530
  -*) as_dir=./$as_dir;;
 
17531
  esac
 
17532
  test -d "$as_dir" || eval $as_mkdir_p || {
 
17533
    as_dirs=
 
17534
    while :; do
 
17535
      case $as_dir in #(
 
17536
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
17537
      *) as_qdir=$as_dir;;
 
17538
      esac
 
17539
      as_dirs="'$as_qdir' $as_dirs"
 
17540
      as_dir=`$as_dirname -- "$as_dir" ||
 
17541
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17542
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
17543
         X"$as_dir" : 'X\(//\)$' \| \
 
17544
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
17545
$as_echo X"$as_dir" |
 
17546
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17547
            s//\1/
 
17548
            q
 
17549
          }
 
17550
          /^X\(\/\/\)[^/].*/{
 
17551
            s//\1/
 
17552
            q
 
17553
          }
 
17554
          /^X\(\/\/\)$/{
 
17555
            s//\1/
 
17556
            q
 
17557
          }
 
17558
          /^X\(\/\).*/{
 
17559
            s//\1/
 
17560
            q
 
17561
          }
 
17562
          s/.*/./; q'`
 
17563
      test -d "$as_dir" && break
 
17564
    done
 
17565
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
17566
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
17567
 
 
17568
 
 
17569
} # as_fn_mkdir_p
19531
17570
if mkdir -p . 2>/dev/null; then
19532
 
  as_mkdir_p=:
 
17571
  as_mkdir_p='mkdir -p "$as_dir"'
19533
17572
else
19534
17573
  test -d ./-p && rmdir ./-p
19535
17574
  as_mkdir_p=false
19546
17585
  as_test_x='
19547
17586
    eval sh -c '\''
19548
17587
      if test -d "$1"; then
19549
 
        test -d "$1/.";
 
17588
        test -d "$1/.";
19550
17589
      else
19551
 
        case $1 in
19552
 
        -*)set "./$1";;
 
17590
        case $1 in #(
 
17591
        -*)set "./$1";;
19553
17592
        esac;
19554
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
17593
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19555
17594
        ???[sx]*):;;*)false;;esac;fi
19556
17595
    '\'' sh
19557
17596
  '
19566
17605
 
19567
17606
 
19568
17607
exec 6>&1
 
17608
## ----------------------------------- ##
 
17609
## Main body of $CONFIG_STATUS script. ##
 
17610
## ----------------------------------- ##
 
17611
_ASEOF
 
17612
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19569
17613
 
19570
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
17614
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17615
# Save the log message, to keep $0 and so on meaningful, and to
19571
17616
# report actual input values of CONFIG_FILES etc. instead of their
19572
17617
# values after options handling.
19573
17618
ac_log="
19574
 
This file was extended by zeromq $as_me 2.0.9, which was
19575
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
17619
This file was extended by zeromq $as_me 2.0.10, which was
 
17620
generated by GNU Autoconf 2.65.  Invocation command line was
19576
17621
 
19577
17622
  CONFIG_FILES    = $CONFIG_FILES
19578
17623
  CONFIG_HEADERS  = $CONFIG_HEADERS
19585
17630
 
19586
17631
_ACEOF
19587
17632
 
19588
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17633
case $ac_config_files in *"
 
17634
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
17635
esac
 
17636
 
 
17637
case $ac_config_headers in *"
 
17638
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
17639
esac
 
17640
 
 
17641
 
 
17642
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19589
17643
# Files that config.status was made for.
19590
17644
config_files="$ac_config_files"
19591
17645
config_headers="$ac_config_headers"
19593
17647
 
19594
17648
_ACEOF
19595
17649
 
19596
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17650
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19597
17651
ac_cs_usage="\
19598
 
\`$as_me' instantiates files from templates according to the
19599
 
current configuration.
 
17652
\`$as_me' instantiates files and other configuration actions
 
17653
from templates according to the current configuration.  Unless the files
 
17654
and actions are specified as TAGs, all are instantiated by default.
19600
17655
 
19601
 
Usage: $0 [OPTIONS] [FILE]...
 
17656
Usage: $0 [OPTION]... [TAG]...
19602
17657
 
19603
17658
  -h, --help       print this help, then exit
19604
17659
  -V, --version    print version number and configuration settings, then exit
19605
 
  -q, --quiet      do not print progress messages
 
17660
      --config     print configuration, then exit
 
17661
  -q, --quiet, --silent
 
17662
                   do not print progress messages
19606
17663
  -d, --debug      don't remove temporary files
19607
17664
      --recheck    update $as_me by reconfiguring in the same conditions
19608
 
  --file=FILE[:TEMPLATE]
19609
 
                   instantiate the configuration file FILE
19610
 
  --header=FILE[:TEMPLATE]
19611
 
                   instantiate the configuration header FILE
 
17665
      --file=FILE[:TEMPLATE]
 
17666
                   instantiate the configuration file FILE
 
17667
      --header=FILE[:TEMPLATE]
 
17668
                   instantiate the configuration header FILE
19612
17669
 
19613
17670
Configuration files:
19614
17671
$config_files
19619
17676
Configuration commands:
19620
17677
$config_commands
19621
17678
 
19622
 
Report bugs to <bug-autoconf@gnu.org>."
 
17679
Report bugs to <zeromq-dev@lists.zeromq.org>."
19623
17680
 
19624
17681
_ACEOF
19625
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17682
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17683
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19626
17684
ac_cs_version="\\
19627
 
zeromq config.status 2.0.9
19628
 
configured by $0, generated by GNU Autoconf 2.61,
19629
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
17685
zeromq config.status 2.0.10
 
17686
configured by $0, generated by GNU Autoconf 2.65,
 
17687
  with options \\"\$ac_cs_config\\"
19630
17688
 
19631
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
17689
Copyright (C) 2009 Free Software Foundation, Inc.
19632
17690
This config.status script is free software; the Free Software Foundation
19633
17691
gives unlimited permission to copy, distribute and modify it."
19634
17692
 
19636
17694
srcdir='$srcdir'
19637
17695
INSTALL='$INSTALL'
19638
17696
MKDIR_P='$MKDIR_P'
 
17697
AWK='$AWK'
 
17698
test -n "\$AWK" || AWK=awk
19639
17699
_ACEOF
19640
17700
 
19641
 
cat >>$CONFIG_STATUS <<\_ACEOF
19642
 
# If no file are specified by the user, then we need to provide default
19643
 
# value.  By we need to know if files were specified by the user.
 
17701
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17702
# The default lists apply if the user does not specify any file.
19644
17703
ac_need_defaults=:
19645
17704
while test $# != 0
19646
17705
do
19662
17721
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19663
17722
    ac_cs_recheck=: ;;
19664
17723
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19665
 
    echo "$ac_cs_version"; exit ;;
 
17724
    $as_echo "$ac_cs_version"; exit ;;
 
17725
  --config | --confi | --conf | --con | --co | --c )
 
17726
    $as_echo "$ac_cs_config"; exit ;;
19666
17727
  --debug | --debu | --deb | --de | --d | -d )
19667
17728
    debug=: ;;
19668
17729
  --file | --fil | --fi | --f )
19669
17730
    $ac_shift
19670
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
17731
    case $ac_optarg in
 
17732
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
17733
    esac
 
17734
    as_fn_append CONFIG_FILES " '$ac_optarg'"
19671
17735
    ac_need_defaults=false;;
19672
17736
  --header | --heade | --head | --hea )
19673
17737
    $ac_shift
19674
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
17738
    case $ac_optarg in
 
17739
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
17740
    esac
 
17741
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19675
17742
    ac_need_defaults=false;;
19676
17743
  --he | --h)
19677
17744
    # Conflict between --help and --header
19678
 
    { echo "$as_me: error: ambiguous option: $1
19679
 
Try \`$0 --help' for more information." >&2
19680
 
   { (exit 1); exit 1; }; };;
 
17745
    as_fn_error "ambiguous option: \`$1'
 
17746
Try \`$0 --help' for more information.";;
19681
17747
  --help | --hel | -h )
19682
 
    echo "$ac_cs_usage"; exit ;;
 
17748
    $as_echo "$ac_cs_usage"; exit ;;
19683
17749
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19684
17750
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
19685
17751
    ac_cs_silent=: ;;
19686
17752
 
19687
17753
  # This is an error.
19688
 
  -*) { echo "$as_me: error: unrecognized option: $1
19689
 
Try \`$0 --help' for more information." >&2
19690
 
   { (exit 1); exit 1; }; } ;;
 
17754
  -*) as_fn_error "unrecognized option: \`$1'
 
17755
Try \`$0 --help' for more information." ;;
19691
17756
 
19692
 
  *) ac_config_targets="$ac_config_targets $1"
 
17757
  *) as_fn_append ac_config_targets " $1"
19693
17758
     ac_need_defaults=false ;;
19694
17759
 
19695
17760
  esac
19704
17769
fi
19705
17770
 
19706
17771
_ACEOF
19707
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17772
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19708
17773
if \$ac_cs_recheck; then
19709
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19710
 
  CONFIG_SHELL=$SHELL
 
17774
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
17775
  shift
 
17776
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
17777
  CONFIG_SHELL='$SHELL'
19711
17778
  export CONFIG_SHELL
19712
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
17779
  exec "\$@"
19713
17780
fi
19714
17781
 
19715
17782
_ACEOF
19716
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17783
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19717
17784
exec 5>>config.log
19718
17785
{
19719
17786
  echo
19720
17787
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19721
17788
## Running $as_me. ##
19722
17789
_ASBOX
19723
 
  echo "$ac_log"
 
17790
  $as_echo "$ac_log"
19724
17791
} >&5
19725
17792
 
19726
17793
_ACEOF
19727
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17794
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19728
17795
#
19729
17796
# INIT-COMMANDS
19730
17797
#
20084
18151
 
20085
18152
_ACEOF
20086
18153
 
20087
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18154
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20088
18155
 
20089
18156
# Handling of arguments.
20090
18157
for ac_config_target in $ac_config_targets
20104
18171
    "devices/zmq_queue/Makefile") CONFIG_FILES="$CONFIG_FILES devices/zmq_queue/Makefile" ;;
20105
18172
    "builds/msvc/Makefile") CONFIG_FILES="$CONFIG_FILES builds/msvc/Makefile" ;;
20106
18173
 
20107
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20108
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20109
 
   { (exit 1); exit 1; }; };;
 
18174
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20110
18175
  esac
20111
18176
done
20112
18177
 
20133
18198
  trap 'exit_status=$?
20134
18199
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20135
18200
' 0
20136
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
18201
  trap 'as_fn_exit 1' 1 2 13 15
20137
18202
}
20138
18203
# Create a (secure) tmp directory for tmp files.
20139
18204
 
20144
18209
{
20145
18210
  tmp=./conf$$-$RANDOM
20146
18211
  (umask 077 && mkdir "$tmp")
20147
 
} ||
20148
 
{
20149
 
   echo "$me: cannot create a temporary directory in ." >&2
20150
 
   { (exit 1); exit 1; }
20151
 
}
20152
 
 
20153
 
#
20154
 
# Set up the sed scripts for CONFIG_FILES section.
20155
 
#
20156
 
 
20157
 
# No need to generate the scripts if there are no CONFIG_FILES.
20158
 
# This happens for instance when ./config.status config.h
 
18212
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
18213
 
 
18214
# Set up the scripts for CONFIG_FILES section.
 
18215
# No need to generate them if there are no CONFIG_FILES.
 
18216
# This happens for instance with `./config.status config.h'.
20159
18217
if test -n "$CONFIG_FILES"; then
20160
18218
 
20161
 
_ACEOF
20162
 
 
20163
 
 
20164
 
 
20165
 
ac_delim='%!_!# '
20166
 
for ac_last_try in false false false false false :; do
20167
 
  cat >conf$$subs.sed <<_ACEOF
20168
 
SHELL!$SHELL$ac_delim
20169
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20170
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20171
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20172
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20173
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20174
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20175
 
exec_prefix!$exec_prefix$ac_delim
20176
 
prefix!$prefix$ac_delim
20177
 
program_transform_name!$program_transform_name$ac_delim
20178
 
bindir!$bindir$ac_delim
20179
 
sbindir!$sbindir$ac_delim
20180
 
libexecdir!$libexecdir$ac_delim
20181
 
datarootdir!$datarootdir$ac_delim
20182
 
datadir!$datadir$ac_delim
20183
 
sysconfdir!$sysconfdir$ac_delim
20184
 
sharedstatedir!$sharedstatedir$ac_delim
20185
 
localstatedir!$localstatedir$ac_delim
20186
 
includedir!$includedir$ac_delim
20187
 
oldincludedir!$oldincludedir$ac_delim
20188
 
docdir!$docdir$ac_delim
20189
 
infodir!$infodir$ac_delim
20190
 
htmldir!$htmldir$ac_delim
20191
 
dvidir!$dvidir$ac_delim
20192
 
pdfdir!$pdfdir$ac_delim
20193
 
psdir!$psdir$ac_delim
20194
 
libdir!$libdir$ac_delim
20195
 
localedir!$localedir$ac_delim
20196
 
mandir!$mandir$ac_delim
20197
 
DEFS!$DEFS$ac_delim
20198
 
ECHO_C!$ECHO_C$ac_delim
20199
 
ECHO_N!$ECHO_N$ac_delim
20200
 
ECHO_T!$ECHO_T$ac_delim
20201
 
LIBS!$LIBS$ac_delim
20202
 
build_alias!$build_alias$ac_delim
20203
 
host_alias!$host_alias$ac_delim
20204
 
target_alias!$target_alias$ac_delim
20205
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20206
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20207
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
20208
 
am__isrc!$am__isrc$ac_delim
20209
 
CYGPATH_W!$CYGPATH_W$ac_delim
20210
 
PACKAGE!$PACKAGE$ac_delim
20211
 
VERSION!$VERSION$ac_delim
20212
 
ACLOCAL!$ACLOCAL$ac_delim
20213
 
AUTOCONF!$AUTOCONF$ac_delim
20214
 
AUTOMAKE!$AUTOMAKE$ac_delim
20215
 
AUTOHEADER!$AUTOHEADER$ac_delim
20216
 
MAKEINFO!$MAKEINFO$ac_delim
20217
 
install_sh!$install_sh$ac_delim
20218
 
STRIP!$STRIP$ac_delim
20219
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20220
 
mkdir_p!$mkdir_p$ac_delim
20221
 
AWK!$AWK$ac_delim
20222
 
SET_MAKE!$SET_MAKE$ac_delim
20223
 
am__leading_dot!$am__leading_dot$ac_delim
20224
 
AMTAR!$AMTAR$ac_delim
20225
 
am__tar!$am__tar$ac_delim
20226
 
am__untar!$am__untar$ac_delim
20227
 
LTVER!$LTVER$ac_delim
20228
 
CC!$CC$ac_delim
20229
 
CFLAGS!$CFLAGS$ac_delim
20230
 
LDFLAGS!$LDFLAGS$ac_delim
20231
 
CPPFLAGS!$CPPFLAGS$ac_delim
20232
 
ac_ct_CC!$ac_ct_CC$ac_delim
20233
 
EXEEXT!$EXEEXT$ac_delim
20234
 
OBJEXT!$OBJEXT$ac_delim
20235
 
DEPDIR!$DEPDIR$ac_delim
20236
 
am__include!$am__include$ac_delim
20237
 
am__quote!$am__quote$ac_delim
20238
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20239
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20240
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20241
 
CCDEPMODE!$CCDEPMODE$ac_delim
20242
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20243
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20244
 
CXX!$CXX$ac_delim
20245
 
CXXFLAGS!$CXXFLAGS$ac_delim
20246
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
20247
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
20248
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20249
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20250
 
build!$build$ac_delim
20251
 
build_cpu!$build_cpu$ac_delim
20252
 
build_vendor!$build_vendor$ac_delim
20253
 
build_os!$build_os$ac_delim
20254
 
host!$host$ac_delim
20255
 
host_cpu!$host_cpu$ac_delim
20256
 
host_vendor!$host_vendor$ac_delim
20257
 
host_os!$host_os$ac_delim
20258
 
AS!$AS$ac_delim
20259
 
DLLTOOL!$DLLTOOL$ac_delim
20260
 
OBJDUMP!$OBJDUMP$ac_delim
20261
 
LIBTOOL!$LIBTOOL$ac_delim
20262
 
SED!$SED$ac_delim
20263
 
GREP!$GREP$ac_delim
20264
 
EGREP!$EGREP$ac_delim
20265
 
_ACEOF
20266
 
 
20267
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20268
 
    break
20269
 
  elif $ac_last_try; then
20270
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20271
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20272
 
   { (exit 1); exit 1; }; }
20273
 
  else
20274
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20275
 
  fi
20276
 
done
20277
 
 
20278
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20279
 
if test -n "$ac_eof"; then
20280
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20281
 
  ac_eof=`expr $ac_eof + 1`
20282
 
fi
20283
 
 
20284
 
cat >>$CONFIG_STATUS <<_ACEOF
20285
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20286
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20287
 
_ACEOF
20288
 
sed '
20289
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20290
 
s/^/s,@/; s/!/@,|#_!!_#|/
20291
 
:n
20292
 
t n
20293
 
s/'"$ac_delim"'$/,g/; t
20294
 
s/$/\\/; p
20295
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20296
 
' >>$CONFIG_STATUS <conf$$subs.sed
20297
 
rm -f conf$$subs.sed
20298
 
cat >>$CONFIG_STATUS <<_ACEOF
20299
 
CEOF$ac_eof
20300
 
_ACEOF
20301
 
 
20302
 
 
20303
 
ac_delim='%!_!# '
20304
 
for ac_last_try in false false false false false :; do
20305
 
  cat >conf$$subs.sed <<_ACEOF
20306
 
FGREP!$FGREP$ac_delim
20307
 
LD!$LD$ac_delim
20308
 
DUMPBIN!$DUMPBIN$ac_delim
20309
 
ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
20310
 
NM!$NM$ac_delim
20311
 
LN_S!$LN_S$ac_delim
20312
 
AR!$AR$ac_delim
20313
 
RANLIB!$RANLIB$ac_delim
20314
 
lt_ECHO!$lt_ECHO$ac_delim
20315
 
DSYMUTIL!$DSYMUTIL$ac_delim
20316
 
NMEDIT!$NMEDIT$ac_delim
20317
 
LIPO!$LIPO$ac_delim
20318
 
OTOOL!$OTOOL$ac_delim
20319
 
OTOOL64!$OTOOL64$ac_delim
20320
 
CPP!$CPP$ac_delim
20321
 
CXXCPP!$CXXCPP$ac_delim
20322
 
have_asciidoc!$have_asciidoc$ac_delim
20323
 
have_xmlto!$have_xmlto$ac_delim
20324
 
have_pkg_config!$have_pkg_config$ac_delim
20325
 
pgm_basename!$pgm_basename$ac_delim
20326
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
20327
 
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
20328
 
GLIB_LIBS!$GLIB_LIBS$ac_delim
20329
 
have_gzip!$have_gzip$ac_delim
20330
 
have_perl!$have_perl$ac_delim
20331
 
have_python!$have_python$ac_delim
20332
 
BUILD_PGM_TRUE!$BUILD_PGM_TRUE$ac_delim
20333
 
BUILD_PGM_FALSE!$BUILD_PGM_FALSE$ac_delim
20334
 
BUILD_NO_PGM_TRUE!$BUILD_NO_PGM_TRUE$ac_delim
20335
 
BUILD_NO_PGM_FALSE!$BUILD_NO_PGM_FALSE$ac_delim
20336
 
ON_MINGW_TRUE!$ON_MINGW_TRUE$ac_delim
20337
 
ON_MINGW_FALSE!$ON_MINGW_FALSE$ac_delim
20338
 
INSTALL_MAN_TRUE!$INSTALL_MAN_TRUE$ac_delim
20339
 
INSTALL_MAN_FALSE!$INSTALL_MAN_FALSE$ac_delim
20340
 
BUILD_DOC_TRUE!$BUILD_DOC_TRUE$ac_delim
20341
 
BUILD_DOC_FALSE!$BUILD_DOC_FALSE$ac_delim
20342
 
stdint!$stdint$ac_delim
20343
 
inttypes!$inttypes$ac_delim
20344
 
LIBZMQ_EXTRA_CXXFLAGS!$LIBZMQ_EXTRA_CXXFLAGS$ac_delim
20345
 
LIBZMQ_EXTRA_LDFLAGS!$LIBZMQ_EXTRA_LDFLAGS$ac_delim
20346
 
LIBOBJS!$LIBOBJS$ac_delim
20347
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
20348
 
_ACEOF
20349
 
 
20350
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
20351
 
    break
20352
 
  elif $ac_last_try; then
20353
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20354
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20355
 
   { (exit 1); exit 1; }; }
20356
 
  else
20357
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20358
 
  fi
20359
 
done
20360
 
 
20361
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20362
 
if test -n "$ac_eof"; then
20363
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20364
 
  ac_eof=`expr $ac_eof + 1`
20365
 
fi
20366
 
 
20367
 
cat >>$CONFIG_STATUS <<_ACEOF
20368
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20369
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20370
 
_ACEOF
20371
 
sed '
20372
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20373
 
s/^/s,@/; s/!/@,|#_!!_#|/
20374
 
:n
20375
 
t n
20376
 
s/'"$ac_delim"'$/,g/; t
20377
 
s/$/\\/; p
20378
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20379
 
' >>$CONFIG_STATUS <conf$$subs.sed
20380
 
rm -f conf$$subs.sed
20381
 
cat >>$CONFIG_STATUS <<_ACEOF
20382
 
:end
20383
 
s/|#_!!_#|//g
20384
 
CEOF$ac_eof
20385
 
_ACEOF
20386
 
 
 
18219
 
 
18220
ac_cr=`echo X | tr X '\015'`
 
18221
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
18222
# But we know of no other shell where ac_cr would be empty at this
 
18223
# point, so we can use a bashism as a fallback.
 
18224
if test "x$ac_cr" = x; then
 
18225
  eval ac_cr=\$\'\\r\'
 
18226
fi
 
18227
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
18228
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
18229
  ac_cs_awk_cr='\r'
 
18230
else
 
18231
  ac_cs_awk_cr=$ac_cr
 
18232
fi
 
18233
 
 
18234
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
18235
_ACEOF
 
18236
 
 
18237
 
 
18238
{
 
18239
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
18240
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
18241
  echo "_ACEOF"
 
18242
} >conf$$subs.sh ||
 
18243
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
18244
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
18245
ac_delim='%!_!# '
 
18246
for ac_last_try in false false false false false :; do
 
18247
  . ./conf$$subs.sh ||
 
18248
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
18249
 
 
18250
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
18251
  if test $ac_delim_n = $ac_delim_num; then
 
18252
    break
 
18253
  elif $ac_last_try; then
 
18254
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
18255
  else
 
18256
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
18257
  fi
 
18258
done
 
18259
rm -f conf$$subs.sh
 
18260
 
 
18261
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18262
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
18263
_ACEOF
 
18264
sed -n '
 
18265
h
 
18266
s/^/S["/; s/!.*/"]=/
 
18267
p
 
18268
g
 
18269
s/^[^!]*!//
 
18270
:repl
 
18271
t repl
 
18272
s/'"$ac_delim"'$//
 
18273
t delim
 
18274
:nl
 
18275
h
 
18276
s/\(.\{148\}\)..*/\1/
 
18277
t more1
 
18278
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
18279
p
 
18280
n
 
18281
b repl
 
18282
:more1
 
18283
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
18284
p
 
18285
g
 
18286
s/.\{148\}//
 
18287
t nl
 
18288
:delim
 
18289
h
 
18290
s/\(.\{148\}\)..*/\1/
 
18291
t more2
 
18292
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
18293
p
 
18294
b
 
18295
:more2
 
18296
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
18297
p
 
18298
g
 
18299
s/.\{148\}//
 
18300
t delim
 
18301
' <conf$$subs.awk | sed '
 
18302
/^[^""]/{
 
18303
  N
 
18304
  s/\n//
 
18305
}
 
18306
' >>$CONFIG_STATUS || ac_write_fail=1
 
18307
rm -f conf$$subs.awk
 
18308
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18309
_ACAWK
 
18310
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
18311
  for (key in S) S_is_set[key] = 1
 
18312
  FS = ""
 
18313
 
 
18314
}
 
18315
{
 
18316
  line = $ 0
 
18317
  nfields = split(line, field, "@")
 
18318
  substed = 0
 
18319
  len = length(field[1])
 
18320
  for (i = 2; i < nfields; i++) {
 
18321
    key = field[i]
 
18322
    keylen = length(key)
 
18323
    if (S_is_set[key]) {
 
18324
      value = S[key]
 
18325
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
18326
      len += length(value) + length(field[++i])
 
18327
      substed = 1
 
18328
    } else
 
18329
      len += 1 + keylen
 
18330
  }
 
18331
 
 
18332
  print line
 
18333
}
 
18334
 
 
18335
_ACAWK
 
18336
_ACEOF
 
18337
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18338
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
18339
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
18340
else
 
18341
  cat
 
18342
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
18343
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
18344
_ACEOF
20387
18345
 
20388
18346
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20389
18347
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20400
18358
}'
20401
18359
fi
20402
18360
 
20403
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18361
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20404
18362
fi # test -n "$CONFIG_FILES"
20405
18363
 
20406
 
 
20407
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
18364
# Set up the scripts for CONFIG_HEADERS section.
 
18365
# No need to generate them if there are no CONFIG_HEADERS.
 
18366
# This happens for instance with `./config.status Makefile'.
 
18367
if test -n "$CONFIG_HEADERS"; then
 
18368
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
18369
BEGIN {
 
18370
_ACEOF
 
18371
 
 
18372
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
18373
# here-document in config.status, that substitutes the proper values into
 
18374
# config.h.in to produce config.h.
 
18375
 
 
18376
# Create a delimiter string that does not exist in confdefs.h, to ease
 
18377
# handling of long lines.
 
18378
ac_delim='%!_!# '
 
18379
for ac_last_try in false false :; do
 
18380
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
18381
  if test -z "$ac_t"; then
 
18382
    break
 
18383
  elif $ac_last_try; then
 
18384
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
18385
  else
 
18386
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
18387
  fi
 
18388
done
 
18389
 
 
18390
# For the awk script, D is an array of macro values keyed by name,
 
18391
# likewise P contains macro parameters if any.  Preserve backslash
 
18392
# newline sequences.
 
18393
 
 
18394
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
18395
sed -n '
 
18396
s/.\{148\}/&'"$ac_delim"'/g
 
18397
t rset
 
18398
:rset
 
18399
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
18400
t def
 
18401
d
 
18402
:def
 
18403
s/\\$//
 
18404
t bsnl
 
18405
s/["\\]/\\&/g
 
18406
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
18407
D["\1"]=" \3"/p
 
18408
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
18409
d
 
18410
:bsnl
 
18411
s/["\\]/\\&/g
 
18412
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
18413
D["\1"]=" \3\\\\\\n"\\/p
 
18414
t cont
 
18415
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
18416
t cont
 
18417
d
 
18418
:cont
 
18419
n
 
18420
s/.\{148\}/&'"$ac_delim"'/g
 
18421
t clear
 
18422
:clear
 
18423
s/\\$//
 
18424
t bsnlc
 
18425
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
18426
d
 
18427
:bsnlc
 
18428
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
18429
b cont
 
18430
' <confdefs.h | sed '
 
18431
s/'"$ac_delim"'/"\\\
 
18432
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
18433
 
 
18434
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18435
  for (key in D) D_is_set[key] = 1
 
18436
  FS = ""
 
18437
}
 
18438
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
18439
  line = \$ 0
 
18440
  split(line, arg, " ")
 
18441
  if (arg[1] == "#") {
 
18442
    defundef = arg[2]
 
18443
    mac1 = arg[3]
 
18444
  } else {
 
18445
    defundef = substr(arg[1], 2)
 
18446
    mac1 = arg[2]
 
18447
  }
 
18448
  split(mac1, mac2, "(") #)
 
18449
  macro = mac2[1]
 
18450
  prefix = substr(line, 1, index(line, defundef) - 1)
 
18451
  if (D_is_set[macro]) {
 
18452
    # Preserve the white space surrounding the "#".
 
18453
    print prefix "define", macro P[macro] D[macro]
 
18454
    next
 
18455
  } else {
 
18456
    # Replace #undef with comments.  This is necessary, for example,
 
18457
    # in the case of _POSIX_SOURCE, which is predefined and required
 
18458
    # on some systems where configure will not decide to define it.
 
18459
    if (defundef == "undef") {
 
18460
      print "/*", prefix defundef, macro, "*/"
 
18461
      next
 
18462
    }
 
18463
  }
 
18464
}
 
18465
{ print }
 
18466
_ACAWK
 
18467
_ACEOF
 
18468
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18469
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
18470
fi # test -n "$CONFIG_HEADERS"
 
18471
 
 
18472
 
 
18473
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
18474
shift
 
18475
for ac_tag
20408
18476
do
20409
18477
  case $ac_tag in
20410
18478
  :[FHLC]) ac_mode=$ac_tag; continue;;
20411
18479
  esac
20412
18480
  case $ac_mode$ac_tag in
20413
18481
  :[FHL]*:*);;
20414
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20415
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20416
 
   { (exit 1); exit 1; }; };;
 
18482
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
20417
18483
  :[FH]-) ac_tag=-:-;;
20418
18484
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20419
18485
  esac
20441
18507
           [\\/$]*) false;;
20442
18508
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20443
18509
           esac ||
20444
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20445
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20446
 
   { (exit 1); exit 1; }; };;
 
18510
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20447
18511
      esac
20448
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
18512
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
18513
      as_fn_append ac_file_inputs " '$ac_f'"
20449
18514
    done
20450
18515
 
20451
18516
    # Let's still pretend it is `configure' which instantiates (i.e., don't
20452
18517
    # use $as_me), people would be surprised to read:
20453
18518
    #    /* config.h.  Generated by config.status.  */
20454
 
    configure_input="Generated from "`IFS=:
20455
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
18519
    configure_input='Generated from '`
 
18520
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
18521
        `' by configure.'
20456
18522
    if test x"$ac_file" != x-; then
20457
18523
      configure_input="$ac_file.  $configure_input"
20458
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
20459
 
echo "$as_me: creating $ac_file" >&6;}
 
18524
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
18525
$as_echo "$as_me: creating $ac_file" >&6;}
20460
18526
    fi
 
18527
    # Neutralize special characters interpreted by sed in replacement strings.
 
18528
    case $configure_input in #(
 
18529
    *\&* | *\|* | *\\* )
 
18530
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
18531
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
18532
    *) ac_sed_conf_input=$configure_input;;
 
18533
    esac
20461
18534
 
20462
18535
    case $ac_tag in
20463
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
18536
    *:-:* | *:-) cat >"$tmp/stdin" \
 
18537
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
20464
18538
    esac
20465
18539
    ;;
20466
18540
  esac
20470
18544
         X"$ac_file" : 'X\(//\)[^/]' \| \
20471
18545
         X"$ac_file" : 'X\(//\)$' \| \
20472
18546
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20473
 
echo X"$ac_file" |
20474
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20475
 
            s//\1/
20476
 
            q
20477
 
          }
20478
 
          /^X\(\/\/\)[^/].*/{
20479
 
            s//\1/
20480
 
            q
20481
 
          }
20482
 
          /^X\(\/\/\)$/{
20483
 
            s//\1/
20484
 
            q
20485
 
          }
20486
 
          /^X\(\/\).*/{
20487
 
            s//\1/
20488
 
            q
20489
 
          }
20490
 
          s/.*/./; q'`
20491
 
  { as_dir="$ac_dir"
20492
 
  case $as_dir in #(
20493
 
  -*) as_dir=./$as_dir;;
20494
 
  esac
20495
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20496
 
    as_dirs=
20497
 
    while :; do
20498
 
      case $as_dir in #(
20499
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20500
 
      *) as_qdir=$as_dir;;
20501
 
      esac
20502
 
      as_dirs="'$as_qdir' $as_dirs"
20503
 
      as_dir=`$as_dirname -- "$as_dir" ||
20504
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20505
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
20506
 
         X"$as_dir" : 'X\(//\)$' \| \
20507
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20508
 
echo X"$as_dir" |
20509
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20510
 
            s//\1/
20511
 
            q
20512
 
          }
20513
 
          /^X\(\/\/\)[^/].*/{
20514
 
            s//\1/
20515
 
            q
20516
 
          }
20517
 
          /^X\(\/\/\)$/{
20518
 
            s//\1/
20519
 
            q
20520
 
          }
20521
 
          /^X\(\/\).*/{
20522
 
            s//\1/
20523
 
            q
20524
 
          }
20525
 
          s/.*/./; q'`
20526
 
      test -d "$as_dir" && break
20527
 
    done
20528
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
20529
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20530
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20531
 
   { (exit 1); exit 1; }; }; }
 
18547
$as_echo X"$ac_file" |
 
18548
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18549
            s//\1/
 
18550
            q
 
18551
          }
 
18552
          /^X\(\/\/\)[^/].*/{
 
18553
            s//\1/
 
18554
            q
 
18555
          }
 
18556
          /^X\(\/\/\)$/{
 
18557
            s//\1/
 
18558
            q
 
18559
          }
 
18560
          /^X\(\/\).*/{
 
18561
            s//\1/
 
18562
            q
 
18563
          }
 
18564
          s/.*/./; q'`
 
18565
  as_dir="$ac_dir"; as_fn_mkdir_p
20532
18566
  ac_builddir=.
20533
18567
 
20534
18568
case "$ac_dir" in
20535
18569
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20536
18570
*)
20537
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
18571
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20538
18572
  # A ".." for each directory in $ac_dir_suffix.
20539
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
18573
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20540
18574
  case $ac_top_builddir_sub in
20541
18575
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20542
18576
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20581
18615
  esac
20582
18616
_ACEOF
20583
18617
 
20584
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18618
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20585
18619
# If the template does not know about datarootdir, expand it.
20586
18620
# FIXME: This hack should be removed a few years after 2.60.
20587
18621
ac_datarootdir_hack=; ac_datarootdir_seen=
20588
 
 
20589
 
case `sed -n '/datarootdir/ {
 
18622
ac_sed_dataroot='
 
18623
/datarootdir/ {
20590
18624
  p
20591
18625
  q
20592
18626
}
20594
18628
/@docdir@/p
20595
18629
/@infodir@/p
20596
18630
/@localedir@/p
20597
 
/@mandir@/p
20598
 
' $ac_file_inputs` in
 
18631
/@mandir@/p'
 
18632
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20599
18633
*datarootdir*) ac_datarootdir_seen=yes;;
20600
18634
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20601
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20602
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
18635
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
18636
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20603
18637
_ACEOF
20604
 
cat >>$CONFIG_STATUS <<_ACEOF
 
18638
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20605
18639
  ac_datarootdir_hack='
20606
18640
  s&@datadir@&$datadir&g
20607
18641
  s&@docdir@&$docdir&g
20608
18642
  s&@infodir@&$infodir&g
20609
18643
  s&@localedir@&$localedir&g
20610
18644
  s&@mandir@&$mandir&g
20611
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
18645
  s&\\\${datarootdir}&$datarootdir&g' ;;
20612
18646
esac
20613
18647
_ACEOF
20614
18648
 
20615
18649
# Neutralize VPATH when `$srcdir' = `.'.
20616
18650
# Shell code in configure.ac might set extrasub.
20617
18651
# FIXME: do we really want to maintain this feature?
20618
 
cat >>$CONFIG_STATUS <<_ACEOF
20619
 
  sed "$ac_vpsub
 
18652
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18653
ac_sed_extra="$ac_vpsub
20620
18654
$extrasub
20621
18655
_ACEOF
20622
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18656
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20623
18657
:t
20624
18658
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20625
 
s&@configure_input@&$configure_input&;t t
 
18659
s|@configure_input@|$ac_sed_conf_input|;t t
20626
18660
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
18661
s&@top_build_prefix@&$ac_top_build_prefix&;t t
20627
18662
s&@srcdir@&$ac_srcdir&;t t
20628
18663
s&@abs_srcdir@&$ac_abs_srcdir&;t t
20629
18664
s&@top_srcdir@&$ac_top_srcdir&;t t
20634
18669
s&@INSTALL@&$ac_INSTALL&;t t
20635
18670
s&@MKDIR_P@&$ac_MKDIR_P&;t t
20636
18671
$ac_datarootdir_hack
20637
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
18672
"
 
18673
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
18674
  || as_fn_error "could not create $ac_file" "$LINENO" 5
20638
18675
 
20639
18676
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20640
18677
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20641
18678
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20642
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18679
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20643
18680
which seems to be undefined.  Please make sure it is defined." >&5
20644
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18681
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20645
18682
which seems to be undefined.  Please make sure it is defined." >&2;}
20646
18683
 
20647
18684
  rm -f "$tmp/stdin"
20648
18685
  case $ac_file in
20649
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
20650
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20651
 
  esac
 
18686
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
18687
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
18688
  esac \
 
18689
  || as_fn_error "could not create $ac_file" "$LINENO" 5
20652
18690
 ;;
20653
18691
  :H)
20654
18692
  #
20655
18693
  # CONFIG_HEADER
20656
18694
  #
20657
 
_ACEOF
20658
 
 
20659
 
# Transform confdefs.h into a sed script `conftest.defines', that
20660
 
# substitutes the proper values into config.h.in to produce config.h.
20661
 
rm -f conftest.defines conftest.tail
20662
 
# First, append a space to every undef/define line, to ease matching.
20663
 
echo 's/$/ /' >conftest.defines
20664
 
# Then, protect against being on the right side of a sed subst, or in
20665
 
# an unquoted here document, in config.status.  If some macros were
20666
 
# called several times there might be several #defines for the same
20667
 
# symbol, which is useless.  But do not sort them, since the last
20668
 
# AC_DEFINE must be honored.
20669
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20670
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20671
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
20672
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
20673
 
# just an empty string.
20674
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
20675
 
ac_dB='\\)[      (].*,\\1define\\2'
20676
 
ac_dC=' '
20677
 
ac_dD=' ,'
20678
 
 
20679
 
uniq confdefs.h |
20680
 
  sed -n '
20681
 
        t rset
20682
 
        :rset
20683
 
        s/^[     ]*#[    ]*define[       ][      ]*//
20684
 
        t ok
20685
 
        d
20686
 
        :ok
20687
 
        s/[\\&,]/\\&/g
20688
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
20689
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
20690
 
  ' >>conftest.defines
20691
 
 
20692
 
# Remove the space that was appended to ease matching.
20693
 
# Then replace #undef with comments.  This is necessary, for
20694
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
20695
 
# on some systems where configure will not decide to define it.
20696
 
# (The regexp can be short, since the line contains either #define or #undef.)
20697
 
echo 's/ $//
20698
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
20699
 
 
20700
 
# Break up conftest.defines:
20701
 
ac_max_sed_lines=50
20702
 
 
20703
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
20704
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
20705
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
20706
 
# et cetera.
20707
 
ac_in='$ac_file_inputs'
20708
 
ac_out='"$tmp/out1"'
20709
 
ac_nxt='"$tmp/out2"'
20710
 
 
20711
 
while :
20712
 
do
20713
 
  # Write a here document:
20714
 
    cat >>$CONFIG_STATUS <<_ACEOF
20715
 
    # First, check the format of the line:
20716
 
    cat >"\$tmp/defines.sed" <<\\CEOF
20717
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
20718
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
20719
 
b
20720
 
:def
20721
 
_ACEOF
20722
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
20723
 
  echo 'CEOF
20724
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
20725
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
20726
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
20727
 
  grep . conftest.tail >/dev/null || break
20728
 
  rm -f conftest.defines
20729
 
  mv conftest.tail conftest.defines
20730
 
done
20731
 
rm -f conftest.defines conftest.tail
20732
 
 
20733
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
20734
 
cat >>$CONFIG_STATUS <<\_ACEOF
20735
18695
  if test x"$ac_file" != x-; then
20736
 
    echo "/* $configure_input  */" >"$tmp/config.h"
20737
 
    cat "$ac_result" >>"$tmp/config.h"
20738
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
20739
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20740
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
18696
    {
 
18697
      $as_echo "/* $configure_input  */" \
 
18698
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
18699
    } >"$tmp/config.h" \
 
18700
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
18701
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
18702
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
18703
$as_echo "$as_me: $ac_file is unchanged" >&6;}
20741
18704
    else
20742
 
      rm -f $ac_file
20743
 
      mv "$tmp/config.h" $ac_file
 
18705
      rm -f "$ac_file"
 
18706
      mv "$tmp/config.h" "$ac_file" \
 
18707
        || as_fn_error "could not create $ac_file" "$LINENO" 5
20744
18708
    fi
20745
18709
  else
20746
 
    echo "/* $configure_input  */"
20747
 
    cat "$ac_result"
 
18710
    $as_echo "/* $configure_input  */" \
 
18711
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
18712
      || as_fn_error "could not create -" "$LINENO" 5
20748
18713
  fi
20749
 
  rm -f "$tmp/out12"
20750
 
# Compute $ac_file's index in $config_headers.
20751
 
_am_arg=$ac_file
 
18714
# Compute "$ac_file"'s index in $config_headers.
 
18715
_am_arg="$ac_file"
20752
18716
_am_stamp_count=1
20753
18717
for _am_header in $config_headers :; do
20754
18718
  case $_am_header in
20763
18727
         X"$_am_arg" : 'X\(//\)[^/]' \| \
20764
18728
         X"$_am_arg" : 'X\(//\)$' \| \
20765
18729
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20766
 
echo X"$_am_arg" |
 
18730
$as_echo X"$_am_arg" |
20767
18731
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20768
18732
            s//\1/
20769
18733
            q
20783
18747
          s/.*/./; q'`/stamp-h$_am_stamp_count
20784
18748
 ;;
20785
18749
 
20786
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
20787
 
echo "$as_me: executing $ac_file commands" >&6;}
 
18750
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
18751
$as_echo "$as_me: executing $ac_file commands" >&6;}
20788
18752
 ;;
20789
18753
  esac
20790
18754
 
20791
18755
 
20792
18756
  case $ac_file$ac_mode in
20793
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20794
 
  # Strip MF so we end up with the name of the file.
20795
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
20796
 
  # Check whether this is an Automake generated Makefile or not.
20797
 
  # We used to match only the files named `Makefile.in', but
20798
 
  # some people rename them; so instead we look at the file content.
20799
 
  # Grep'ing the first line is not enough: some people post-process
20800
 
  # each Makefile.in and add a new line on top of each file to say so.
20801
 
  # Grep'ing the whole file is not good either: AIX grep has a line
20802
 
  # limit of 2048, but all sed's we know have understand at least 4000.
20803
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20804
 
    dirpart=`$as_dirname -- "$mf" ||
 
18757
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
18758
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
18759
  # are listed without --file.  Let's play safe and only enable the eval
 
18760
  # if we detect the quoting.
 
18761
  case $CONFIG_FILES in
 
18762
  *\'*) eval set x "$CONFIG_FILES" ;;
 
18763
  *)   set x $CONFIG_FILES ;;
 
18764
  esac
 
18765
  shift
 
18766
  for mf
 
18767
  do
 
18768
    # Strip MF so we end up with the name of the file.
 
18769
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
18770
    # Check whether this is an Automake generated Makefile or not.
 
18771
    # We used to match only the files named `Makefile.in', but
 
18772
    # some people rename them; so instead we look at the file content.
 
18773
    # Grep'ing the first line is not enough: some people post-process
 
18774
    # each Makefile.in and add a new line on top of each file to say so.
 
18775
    # Grep'ing the whole file is not good either: AIX grep has a line
 
18776
    # limit of 2048, but all sed's we know have understand at least 4000.
 
18777
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
18778
      dirpart=`$as_dirname -- "$mf" ||
20805
18779
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20806
18780
         X"$mf" : 'X\(//\)[^/]' \| \
20807
18781
         X"$mf" : 'X\(//\)$' \| \
20808
18782
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20809
 
echo X"$mf" |
 
18783
$as_echo X"$mf" |
20810
18784
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20811
18785
            s//\1/
20812
18786
            q
20824
18798
            q
20825
18799
          }
20826
18800
          s/.*/./; q'`
20827
 
  else
20828
 
    continue
20829
 
  fi
20830
 
  # Extract the definition of DEPDIR, am__include, and am__quote
20831
 
  # from the Makefile without running `make'.
20832
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20833
 
  test -z "$DEPDIR" && continue
20834
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
20835
 
  test -z "am__include" && continue
20836
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20837
 
  # When using ansi2knr, U may be empty or an underscore; expand it
20838
 
  U=`sed -n 's/^U = //p' < "$mf"`
20839
 
  # Find all dependency output files, they are included files with
20840
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
20841
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
20842
 
  # expansion.
20843
 
  for file in `sed -n "
20844
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20845
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20846
 
    # Make sure the directory exists.
20847
 
    test -f "$dirpart/$file" && continue
20848
 
    fdir=`$as_dirname -- "$file" ||
 
18801
    else
 
18802
      continue
 
18803
    fi
 
18804
    # Extract the definition of DEPDIR, am__include, and am__quote
 
18805
    # from the Makefile without running `make'.
 
18806
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
18807
    test -z "$DEPDIR" && continue
 
18808
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
18809
    test -z "am__include" && continue
 
18810
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
18811
    # When using ansi2knr, U may be empty or an underscore; expand it
 
18812
    U=`sed -n 's/^U = //p' < "$mf"`
 
18813
    # Find all dependency output files, they are included files with
 
18814
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
18815
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
18816
    # expansion.
 
18817
    for file in `sed -n "
 
18818
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
18819
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
18820
      # Make sure the directory exists.
 
18821
      test -f "$dirpart/$file" && continue
 
18822
      fdir=`$as_dirname -- "$file" ||
20849
18823
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20850
18824
         X"$file" : 'X\(//\)[^/]' \| \
20851
18825
         X"$file" : 'X\(//\)$' \| \
20852
18826
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20853
 
echo X"$file" |
20854
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20855
 
            s//\1/
20856
 
            q
20857
 
          }
20858
 
          /^X\(\/\/\)[^/].*/{
20859
 
            s//\1/
20860
 
            q
20861
 
          }
20862
 
          /^X\(\/\/\)$/{
20863
 
            s//\1/
20864
 
            q
20865
 
          }
20866
 
          /^X\(\/\).*/{
20867
 
            s//\1/
20868
 
            q
20869
 
          }
20870
 
          s/.*/./; q'`
20871
 
    { as_dir=$dirpart/$fdir
20872
 
  case $as_dir in #(
20873
 
  -*) as_dir=./$as_dir;;
20874
 
  esac
20875
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20876
 
    as_dirs=
20877
 
    while :; do
20878
 
      case $as_dir in #(
20879
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20880
 
      *) as_qdir=$as_dir;;
20881
 
      esac
20882
 
      as_dirs="'$as_qdir' $as_dirs"
20883
 
      as_dir=`$as_dirname -- "$as_dir" ||
20884
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20885
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
20886
 
         X"$as_dir" : 'X\(//\)$' \| \
20887
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20888
 
echo X"$as_dir" |
20889
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20890
 
            s//\1/
20891
 
            q
20892
 
          }
20893
 
          /^X\(\/\/\)[^/].*/{
20894
 
            s//\1/
20895
 
            q
20896
 
          }
20897
 
          /^X\(\/\/\)$/{
20898
 
            s//\1/
20899
 
            q
20900
 
          }
20901
 
          /^X\(\/\).*/{
20902
 
            s//\1/
20903
 
            q
20904
 
          }
20905
 
          s/.*/./; q'`
20906
 
      test -d "$as_dir" && break
 
18827
$as_echo X"$file" |
 
18828
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18829
            s//\1/
 
18830
            q
 
18831
          }
 
18832
          /^X\(\/\/\)[^/].*/{
 
18833
            s//\1/
 
18834
            q
 
18835
          }
 
18836
          /^X\(\/\/\)$/{
 
18837
            s//\1/
 
18838
            q
 
18839
          }
 
18840
          /^X\(\/\).*/{
 
18841
            s//\1/
 
18842
            q
 
18843
          }
 
18844
          s/.*/./; q'`
 
18845
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
18846
      # echo "creating $dirpart/$file"
 
18847
      echo '# dummy' > "$dirpart/$file"
20907
18848
    done
20908
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
20909
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20910
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20911
 
   { (exit 1); exit 1; }; }; }
20912
 
    # echo "creating $dirpart/$file"
20913
 
    echo '# dummy' > "$dirpart/$file"
20914
18849
  done
20915
 
done
 
18850
}
20916
18851
 ;;
20917
18852
    "libtool":C)
20918
18853
 
21727
19662
done # for ac_tag
21728
19663
 
21729
19664
 
21730
 
{ (exit 0); exit 0; }
 
19665
as_fn_exit 0
21731
19666
_ACEOF
21732
 
chmod +x $CONFIG_STATUS
21733
19667
ac_clean_files=$ac_clean_files_save
21734
19668
 
 
19669
test $ac_write_fail = 0 ||
 
19670
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
19671
 
21735
19672
 
21736
19673
# configure is writing to config.log, and then calls config.status.
21737
19674
# config.status does its own redirection, appending to config.log.
21751
19688
  exec 5>>config.log
21752
19689
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21753
19690
  # would make configure fail if this is the last instruction.
21754
 
  $ac_cs_success || { (exit 1); exit 1; }
21755
 
fi
21756
 
 
21757
 
 
21758
 
#  On Linux patch libtool to delete hardcoded paths (rpath).
21759
 
case "${host_os}" in
21760
 
    *linux*)
21761
 
        sed < libtool > libtool-2 \
21762
 
        's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" "/'
21763
 
        mv libtool-2 libtool
21764
 
        chmod 755 libtool
21765
 
        ;;
21766
 
esac
 
19691
  $ac_cs_success || as_fn_exit $?
 
19692
fi
 
19693
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
19694
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
19695
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
19696
fi
21767
19697
 
21768
19698