~john-koepi/ubuntu/trusty/memcached/default

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2011-10-05 13:27:39 UTC
  • mfrom: (1.1.8 upstream) (3.3.4 sid)
  • Revision ID: james.westby@ubuntu.com-20111005132739-ntsnlj16fcze221i
Tags: 1.4.7-0.1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Run as 'memcache' user instead of nobody (LP #599461)
  - Depend on adduser for preinst/postrm
  - Create user in postinst

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.63 for memcached 1.4.5.
 
3
# Generated by GNU Autoconf 2.65 for memcached 1.4.7.
4
4
#
5
5
# Report bugs to <memcached@googlegroups.com>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 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
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
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
35
fi
30
36
 
31
37
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
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
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
case $0 in #((
100
95
  *[\\/]* ) as_myself=$0 ;;
101
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
97
for as_dir in $PATH
103
98
do
104
99
  IFS=$as_save_IFS
105
100
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
108
103
IFS=$as_save_IFS
109
104
 
110
105
     ;;
116
111
fi
117
112
if test ! -f "$as_myself"; then
118
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
114
  exit 1
120
115
fi
121
116
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
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 || :
125
124
done
126
125
PS1='$ '
127
126
PS2='> '
133
132
LANGUAGE=C
134
133
export LANGUAGE
135
134
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
135
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
137
 
175
138
if test "x$CONFIG_SHELL" = x; then
176
 
  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 :
177
178
  as_have_required=yes
178
179
else
179
180
  as_have_required=no
180
181
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    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
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
188
do
245
189
  IFS=$as_save_IFS
246
190
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
191
  as_found=:
 
192
  case $as_dir in #(
248
193
         /*)
249
194
           for as_base in sh bash ksh sh5; do
250
 
             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
251
204
           done;;
252
205
       esac
 
206
  as_found=false
253
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; }
254
212
IFS=$as_save_IFS
255
213
 
256
214
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
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
367
222
        export CONFIG_SHELL
368
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
224
fi
370
225
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
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: memcached@googlegroups.com about your system, including
 
235
$0: any error possibly output before this message. Then
 
236
$0: install a modern shell, or manually run the script
 
237
$0: under such a shell if you do have one."
 
238
  fi
 
239
  exit 1
 
240
fi
 
241
fi
 
242
fi
 
243
SHELL=${CONFIG_SHELL-/bin/sh}
 
244
export SHELL
 
245
# Unset more variables known to interfere with behavior of common tools.
 
246
CLICOLOR_FORCE= GREP_OPTIONS=
 
247
unset CLICOLOR_FORCE GREP_OPTIONS
 
248
 
 
249
## --------------------- ##
 
250
## M4sh Shell Functions. ##
 
251
## --------------------- ##
 
252
# as_fn_unset VAR
 
253
# ---------------
 
254
# Portably unset VAR.
 
255
as_fn_unset ()
 
256
{
 
257
  { eval $1=; unset $1;}
 
258
}
 
259
as_unset=as_fn_unset
 
260
 
 
261
# as_fn_set_status STATUS
 
262
# -----------------------
 
263
# Set $? to STATUS, without forking.
 
264
as_fn_set_status ()
 
265
{
 
266
  return $1
 
267
} # as_fn_set_status
 
268
 
 
269
# as_fn_exit STATUS
 
270
# -----------------
 
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
272
as_fn_exit ()
 
273
{
 
274
  set +e
 
275
  as_fn_set_status $1
 
276
  exit $1
 
277
} # as_fn_exit
 
278
 
 
279
# as_fn_mkdir_p
 
280
# -------------
 
281
# Create "$as_dir" as a directory, including parents if necessary.
 
282
as_fn_mkdir_p ()
 
283
{
 
284
 
 
285
  case $as_dir in #(
 
286
  -*) as_dir=./$as_dir;;
 
287
  esac
 
288
  test -d "$as_dir" || eval $as_mkdir_p || {
 
289
    as_dirs=
 
290
    while :; do
 
291
      case $as_dir in #(
 
292
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
293
      *) as_qdir=$as_dir;;
 
294
      esac
 
295
      as_dirs="'$as_qdir' $as_dirs"
 
296
      as_dir=`$as_dirname -- "$as_dir" ||
 
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
298
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
299
         X"$as_dir" : 'X\(//\)$' \| \
 
300
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
301
$as_echo X"$as_dir" |
 
302
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
303
            s//\1/
 
304
            q
 
305
          }
 
306
          /^X\(\/\/\)[^/].*/{
 
307
            s//\1/
 
308
            q
 
309
          }
 
310
          /^X\(\/\/\)$/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          /^X\(\/\).*/{
 
315
            s//\1/
 
316
            q
 
317
          }
 
318
          s/.*/./; q'`
 
319
      test -d "$as_dir" && break
 
320
    done
 
321
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
322
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
323
 
 
324
 
 
325
} # as_fn_mkdir_p
 
326
# as_fn_append VAR VALUE
 
327
# ----------------------
 
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
329
# advantage of any shell optimizations that allow amortized linear growth over
 
330
# repeated appends, instead of the typical quadratic growth present in naive
 
331
# implementations.
 
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
333
  eval 'as_fn_append ()
 
334
  {
 
335
    eval $1+=\$2
 
336
  }'
 
337
else
 
338
  as_fn_append ()
 
339
  {
 
340
    eval $1=\$$1\$2
 
341
  }
 
342
fi # as_fn_append
 
343
 
 
344
# as_fn_arith ARG...
 
345
# ------------------
 
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
348
# must be portable across $(()) and expr.
 
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
350
  eval 'as_fn_arith ()
 
351
  {
 
352
    as_val=$(( $* ))
 
353
  }'
 
354
else
 
355
  as_fn_arith ()
 
356
  {
 
357
    as_val=`expr "$@" || test $? -eq 1`
 
358
  }
 
359
fi # as_fn_arith
 
360
 
 
361
 
 
362
# as_fn_error ERROR [LINENO LOG_FD]
 
363
# ---------------------------------
 
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
366
# script with status $?, using 1 if that was 0.
 
367
as_fn_error ()
 
368
{
 
369
  as_status=$?; test $as_status -eq 0 && as_status=1
 
370
  if test "$3"; then
 
371
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
372
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
373
  fi
 
374
  $as_echo "$as_me: error: $1" >&2
 
375
  as_fn_exit $as_status
 
376
} # as_fn_error
 
377
 
 
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
379
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
380
  as_expr=expr
 
381
else
 
382
  as_expr=false
 
383
fi
 
384
 
 
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
386
  as_basename=basename
 
387
else
 
388
  as_basename=false
 
389
fi
 
390
 
 
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
392
  as_dirname=dirname
 
393
else
 
394
  as_dirname=false
 
395
fi
 
396
 
 
397
as_me=`$as_basename -- "$0" ||
 
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
399
         X"$0" : 'X\(//\)$' \| \
 
400
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
401
$as_echo X/"$0" |
 
402
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
403
            s//\1/
 
404
            q
 
405
          }
 
406
          /^X\/\(\/\/\)$/{
 
407
            s//\1/
 
408
            q
 
409
          }
 
410
          /^X\/\(\/\).*/{
 
411
            s//\1/
 
412
            q
 
413
          }
 
414
          s/.*/./; q'`
 
415
 
 
416
# Avoid depending upon Character Ranges.
 
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
420
as_cr_digits='0123456789'
 
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
422
 
 
423
 
 
424
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
425
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
426
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
427
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
428
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
429
  sed -n '
461
430
    p
462
431
    /[$]LINENO/=
473
442
      s/-\n.*//
474
443
    ' >$as_me.lineno &&
475
444
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (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; }
478
446
 
479
447
  # Don't try to exec as it changes $[0], causing all sort of problems
480
448
  # (the dirname of $[0] is not the place where we might find the
484
452
  exit
485
453
}
486
454
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
455
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
456
case `echo -n x` in #(((((
496
457
-n*)
497
 
  case `echo 'x\c'` in
 
458
  case `echo 'xy\c'` in
498
459
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
460
  xy)  ECHO_C='\c';;
 
461
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
462
       ECHO_T=' ';;
500
463
  esac;;
501
464
*)
502
465
  ECHO_N='-n';;
503
466
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
467
 
511
468
rm -f conf$$ conf$$.exe conf$$.file
512
469
if test -d conf$$.dir; then
536
493
rmdir conf$$.dir 2>/dev/null
537
494
 
538
495
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
496
  as_mkdir_p='mkdir -p "$as_dir"'
540
497
else
541
498
  test -d ./-p && rmdir ./-p
542
499
  as_mkdir_p=false
555
512
      if test -d "$1"; then
556
513
        test -d "$1/.";
557
514
      else
558
 
        case $1 in
 
515
        case $1 in #(
559
516
        -*)set "./$1";;
560
517
        esac;
561
 
        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 #((
562
519
        ???[sx]*):;;*)false;;esac;fi
563
520
    '\'' sh
564
521
  '
572
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
530
 
574
531
 
575
 
 
576
 
exec 7<&0 </dev/null 6>&1
 
532
test -n "$DJDIR" || exec 7<&0 </dev/null
 
533
exec 6>&1
577
534
 
578
535
# Name of the host.
579
536
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
591
548
subdirs=
592
549
MFLAGS=
593
550
MAKEFLAGS=
594
 
SHELL=${CONFIG_SHELL-/bin/sh}
595
551
 
596
552
# Identity of this package.
597
553
PACKAGE_NAME='memcached'
598
554
PACKAGE_TARNAME='memcached'
599
 
PACKAGE_VERSION='1.4.5'
600
 
PACKAGE_STRING='memcached 1.4.5'
 
555
PACKAGE_VERSION='1.4.7'
 
556
PACKAGE_STRING='memcached 1.4.7'
601
557
PACKAGE_BUGREPORT='memcached@googlegroups.com'
 
558
PACKAGE_URL=''
602
559
 
603
560
ac_unique_file="memcached.c"
604
561
# Factoring default headers for most tests.
637
594
# include <unistd.h>
638
595
#endif"
639
596
 
640
 
ac_subst_vars='LTLIBOBJS
 
597
ac_subst_vars='am__EXEEXT_FALSE
 
598
am__EXEEXT_TRUE
 
599
LTLIBOBJS
641
600
LIBOBJS
642
601
BUILD_SPECIFICATIONS_FALSE
643
602
BUILD_SPECIFICATIONS_TRUE
743
702
program_transform_name
744
703
prefix
745
704
exec_prefix
 
705
PACKAGE_URL
746
706
PACKAGE_BUGREPORT
747
707
PACKAGE_STRING
748
708
PACKAGE_VERSION
879
839
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
880
840
    # Reject names that are not valid shell variable names.
881
841
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
883
 
   { (exit 1); exit 1; }; }
 
842
      as_fn_error "invalid feature name: $ac_useropt"
884
843
    ac_useropt_orig=$ac_useropt
885
844
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
886
845
    case $ac_user_opts in
906
865
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
907
866
    # Reject names that are not valid shell variable names.
908
867
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
909
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
910
 
   { (exit 1); exit 1; }; }
 
868
      as_fn_error "invalid feature name: $ac_useropt"
911
869
    ac_useropt_orig=$ac_useropt
912
870
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913
871
    case $ac_user_opts in
1111
1069
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112
1070
    # Reject names that are not valid shell variable names.
1113
1071
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1115
 
   { (exit 1); exit 1; }; }
 
1072
      as_fn_error "invalid package name: $ac_useropt"
1116
1073
    ac_useropt_orig=$ac_useropt
1117
1074
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118
1075
    case $ac_user_opts in
1128
1085
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1129
1086
    # Reject names that are not valid shell variable names.
1130
1087
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1132
 
   { (exit 1); exit 1; }; }
 
1088
      as_fn_error "invalid package name: $ac_useropt"
1133
1089
    ac_useropt_orig=$ac_useropt
1134
1090
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135
1091
    case $ac_user_opts in
1159
1115
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1160
1116
    x_libraries=$ac_optarg ;;
1161
1117
 
1162
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1163
 
Try \`$0 --help' for more information." >&2
1164
 
   { (exit 1); exit 1; }; }
 
1118
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1119
Try \`$0 --help' for more information."
1165
1120
    ;;
1166
1121
 
1167
1122
  *=*)
1168
1123
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1169
1124
    # Reject names that are not valid shell variable names.
1170
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1171
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1172
 
   { (exit 1); exit 1; }; }
 
1125
    case $ac_envvar in #(
 
1126
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1127
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1128
    esac
1173
1129
    eval $ac_envvar=\$ac_optarg
1174
1130
    export $ac_envvar ;;
1175
1131
 
1186
1142
 
1187
1143
if test -n "$ac_prev"; then
1188
1144
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1189
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1190
 
   { (exit 1); exit 1; }; }
 
1145
  as_fn_error "missing argument to $ac_option"
1191
1146
fi
1192
1147
 
1193
1148
if test -n "$ac_unrecognized_opts"; then
1194
1149
  case $enable_option_checking in
1195
1150
    no) ;;
1196
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1197
 
   { (exit 1); exit 1; }; } ;;
 
1151
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1198
1152
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199
1153
  esac
1200
1154
fi
1217
1171
    [\\/$]* | ?:[\\/]* )  continue;;
1218
1172
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1219
1173
  esac
1220
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1221
 
   { (exit 1); exit 1; }; }
 
1174
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1222
1175
done
1223
1176
 
1224
1177
# There might be people who depend on the old broken behavior: `$host'
1248
1201
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1249
1202
ac_ls_di=`ls -di .` &&
1250
1203
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1251
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1252
 
   { (exit 1); exit 1; }; }
 
1204
  as_fn_error "working directory cannot be determined"
1253
1205
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1255
 
   { (exit 1); exit 1; }; }
 
1206
  as_fn_error "pwd does not report name of working directory"
1256
1207
 
1257
1208
 
1258
1209
# Find the source files, if location was not specified.
1291
1242
fi
1292
1243
if test ! -r "$srcdir/$ac_unique_file"; then
1293
1244
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1294
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1295
 
   { (exit 1); exit 1; }; }
 
1245
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1296
1246
fi
1297
1247
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1298
1248
ac_abs_confdir=`(
1299
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1300
 
   { (exit 1); exit 1; }; }
 
1249
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1301
1250
        pwd)`
1302
1251
# When building in place, set srcdir=.
1303
1252
if test "$ac_abs_confdir" = "$ac_pwd"; then
1323
1272
  # Omit some internal or obsolete options to make the list less imposing.
1324
1273
  # This message is too long to be a string in the A/UX 3.1 sh.
1325
1274
  cat <<_ACEOF
1326
 
\`configure' configures memcached 1.4.5 to adapt to many kinds of systems.
 
1275
\`configure' configures memcached 1.4.7 to adapt to many kinds of systems.
1327
1276
 
1328
1277
Usage: $0 [OPTION]... [VAR=VALUE]...
1329
1278
 
1394
1343
 
1395
1344
if test -n "$ac_init_help"; then
1396
1345
  case $ac_init_help in
1397
 
     short | recursive ) echo "Configuration of memcached 1.4.5:";;
 
1346
     short | recursive ) echo "Configuration of memcached 1.4.7:";;
1398
1347
   esac
1399
1348
  cat <<\_ACEOF
1400
1349
 
1422
1371
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1423
1372
              nonstandard directory <lib dir>
1424
1373
  LIBS        libraries to pass to the linker, e.g. -l<library>
1425
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1374
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1426
1375
              you have headers in a nonstandard directory <include dir>
1427
1376
  CPP         C preprocessor
1428
1377
 
1492
1441
test -n "$ac_init_help" && exit $ac_status
1493
1442
if $ac_init_version; then
1494
1443
  cat <<\_ACEOF
1495
 
memcached configure 1.4.5
1496
 
generated by GNU Autoconf 2.63
 
1444
memcached configure 1.4.7
 
1445
generated by GNU Autoconf 2.65
1497
1446
 
1498
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1499
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1447
Copyright (C) 2009 Free Software Foundation, Inc.
1500
1448
This configure script is free software; the Free Software Foundation
1501
1449
gives unlimited permission to copy, distribute and modify it.
1502
1450
_ACEOF
1503
1451
  exit
1504
1452
fi
 
1453
 
 
1454
## ------------------------ ##
 
1455
## Autoconf initialization. ##
 
1456
## ------------------------ ##
 
1457
 
 
1458
# ac_fn_c_try_compile LINENO
 
1459
# --------------------------
 
1460
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1461
ac_fn_c_try_compile ()
 
1462
{
 
1463
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1464
  rm -f conftest.$ac_objext
 
1465
  if { { ac_try="$ac_compile"
 
1466
case "(($ac_try" in
 
1467
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1468
  *) ac_try_echo=$ac_try;;
 
1469
esac
 
1470
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1471
$as_echo "$ac_try_echo"; } >&5
 
1472
  (eval "$ac_compile") 2>conftest.err
 
1473
  ac_status=$?
 
1474
  if test -s conftest.err; then
 
1475
    grep -v '^ *+' conftest.err >conftest.er1
 
1476
    cat conftest.er1 >&5
 
1477
    mv -f conftest.er1 conftest.err
 
1478
  fi
 
1479
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1480
  test $ac_status = 0; } && {
 
1481
         test -z "$ac_c_werror_flag" ||
 
1482
         test ! -s conftest.err
 
1483
       } && test -s conftest.$ac_objext; then :
 
1484
  ac_retval=0
 
1485
else
 
1486
  $as_echo "$as_me: failed program was:" >&5
 
1487
sed 's/^/| /' conftest.$ac_ext >&5
 
1488
 
 
1489
        ac_retval=1
 
1490
fi
 
1491
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1492
  as_fn_set_status $ac_retval
 
1493
 
 
1494
} # ac_fn_c_try_compile
 
1495
 
 
1496
# ac_fn_c_try_cpp LINENO
 
1497
# ----------------------
 
1498
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1499
ac_fn_c_try_cpp ()
 
1500
{
 
1501
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1502
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1503
case "(($ac_try" in
 
1504
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1505
  *) ac_try_echo=$ac_try;;
 
1506
esac
 
1507
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1508
$as_echo "$ac_try_echo"; } >&5
 
1509
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1510
  ac_status=$?
 
1511
  if test -s conftest.err; then
 
1512
    grep -v '^ *+' conftest.err >conftest.er1
 
1513
    cat conftest.er1 >&5
 
1514
    mv -f conftest.er1 conftest.err
 
1515
  fi
 
1516
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1517
  test $ac_status = 0; } >/dev/null && {
 
1518
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1519
         test ! -s conftest.err
 
1520
       }; then :
 
1521
  ac_retval=0
 
1522
else
 
1523
  $as_echo "$as_me: failed program was:" >&5
 
1524
sed 's/^/| /' conftest.$ac_ext >&5
 
1525
 
 
1526
    ac_retval=1
 
1527
fi
 
1528
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1529
  as_fn_set_status $ac_retval
 
1530
 
 
1531
} # ac_fn_c_try_cpp
 
1532
 
 
1533
# ac_fn_c_check_decl LINENO SYMBOL VAR
 
1534
# ------------------------------------
 
1535
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
1536
ac_fn_c_check_decl ()
 
1537
{
 
1538
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1539
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
 
1540
$as_echo_n "checking whether $2 is declared... " >&6; }
 
1541
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1542
  $as_echo_n "(cached) " >&6
 
1543
else
 
1544
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1545
/* end confdefs.h.  */
 
1546
$4
 
1547
int
 
1548
main ()
 
1549
{
 
1550
#ifndef $2
 
1551
  (void) $2;
 
1552
#endif
 
1553
 
 
1554
  ;
 
1555
  return 0;
 
1556
}
 
1557
_ACEOF
 
1558
if ac_fn_c_try_compile "$LINENO"; then :
 
1559
  eval "$3=yes"
 
1560
else
 
1561
  eval "$3=no"
 
1562
fi
 
1563
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1564
fi
 
1565
eval ac_res=\$$3
 
1566
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1567
$as_echo "$ac_res" >&6; }
 
1568
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1569
 
 
1570
} # ac_fn_c_check_decl
 
1571
 
 
1572
# ac_fn_c_try_run LINENO
 
1573
# ----------------------
 
1574
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1575
# that executables *can* be run.
 
1576
ac_fn_c_try_run ()
 
1577
{
 
1578
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1579
  if { { ac_try="$ac_link"
 
1580
case "(($ac_try" in
 
1581
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1582
  *) ac_try_echo=$ac_try;;
 
1583
esac
 
1584
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1585
$as_echo "$ac_try_echo"; } >&5
 
1586
  (eval "$ac_link") 2>&5
 
1587
  ac_status=$?
 
1588
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1589
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1590
  { { case "(($ac_try" in
 
1591
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1592
  *) ac_try_echo=$ac_try;;
 
1593
esac
 
1594
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1595
$as_echo "$ac_try_echo"; } >&5
 
1596
  (eval "$ac_try") 2>&5
 
1597
  ac_status=$?
 
1598
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1599
  test $ac_status = 0; }; }; then :
 
1600
  ac_retval=0
 
1601
else
 
1602
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1603
       $as_echo "$as_me: failed program was:" >&5
 
1604
sed 's/^/| /' conftest.$ac_ext >&5
 
1605
 
 
1606
       ac_retval=$ac_status
 
1607
fi
 
1608
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1609
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1610
  as_fn_set_status $ac_retval
 
1611
 
 
1612
} # ac_fn_c_try_run
 
1613
 
 
1614
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1615
# -------------------------------------------------------
 
1616
# Tests whether HEADER exists and can be compiled using the include files in
 
1617
# INCLUDES, setting the cache variable VAR accordingly.
 
1618
ac_fn_c_check_header_compile ()
 
1619
{
 
1620
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1621
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1622
$as_echo_n "checking for $2... " >&6; }
 
1623
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1624
  $as_echo_n "(cached) " >&6
 
1625
else
 
1626
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1627
/* end confdefs.h.  */
 
1628
$4
 
1629
#include <$2>
 
1630
_ACEOF
 
1631
if ac_fn_c_try_compile "$LINENO"; then :
 
1632
  eval "$3=yes"
 
1633
else
 
1634
  eval "$3=no"
 
1635
fi
 
1636
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1637
fi
 
1638
eval ac_res=\$$3
 
1639
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1640
$as_echo "$ac_res" >&6; }
 
1641
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1642
 
 
1643
} # ac_fn_c_check_header_compile
 
1644
 
 
1645
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1646
# -------------------------------------------------------
 
1647
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1648
# the include files in INCLUDES and setting the cache variable VAR
 
1649
# accordingly.
 
1650
ac_fn_c_check_header_mongrel ()
 
1651
{
 
1652
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1653
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1654
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1655
$as_echo_n "checking for $2... " >&6; }
 
1656
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1657
  $as_echo_n "(cached) " >&6
 
1658
fi
 
1659
eval ac_res=\$$3
 
1660
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1661
$as_echo "$ac_res" >&6; }
 
1662
else
 
1663
  # Is the header compilable?
 
1664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1665
$as_echo_n "checking $2 usability... " >&6; }
 
1666
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1667
/* end confdefs.h.  */
 
1668
$4
 
1669
#include <$2>
 
1670
_ACEOF
 
1671
if ac_fn_c_try_compile "$LINENO"; then :
 
1672
  ac_header_compiler=yes
 
1673
else
 
1674
  ac_header_compiler=no
 
1675
fi
 
1676
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1678
$as_echo "$ac_header_compiler" >&6; }
 
1679
 
 
1680
# Is the header present?
 
1681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1682
$as_echo_n "checking $2 presence... " >&6; }
 
1683
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1684
/* end confdefs.h.  */
 
1685
#include <$2>
 
1686
_ACEOF
 
1687
if ac_fn_c_try_cpp "$LINENO"; then :
 
1688
  ac_header_preproc=yes
 
1689
else
 
1690
  ac_header_preproc=no
 
1691
fi
 
1692
rm -f conftest.err conftest.$ac_ext
 
1693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1694
$as_echo "$ac_header_preproc" >&6; }
 
1695
 
 
1696
# So?  What about this header?
 
1697
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1698
  yes:no: )
 
1699
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1700
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1701
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1702
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1703
    ;;
 
1704
  no:yes:* )
 
1705
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1706
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1707
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1708
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1709
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1710
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1711
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1712
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1713
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1714
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1715
( cat <<\_ASBOX
 
1716
## ----------------------------------------- ##
 
1717
## Report this to memcached@googlegroups.com ##
 
1718
## ----------------------------------------- ##
 
1719
_ASBOX
 
1720
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1721
    ;;
 
1722
esac
 
1723
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1724
$as_echo_n "checking for $2... " >&6; }
 
1725
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1726
  $as_echo_n "(cached) " >&6
 
1727
else
 
1728
  eval "$3=\$ac_header_compiler"
 
1729
fi
 
1730
eval ac_res=\$$3
 
1731
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1732
$as_echo "$ac_res" >&6; }
 
1733
fi
 
1734
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1735
 
 
1736
} # ac_fn_c_check_header_mongrel
 
1737
 
 
1738
# ac_fn_c_try_link LINENO
 
1739
# -----------------------
 
1740
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1741
ac_fn_c_try_link ()
 
1742
{
 
1743
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1744
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1745
  if { { ac_try="$ac_link"
 
1746
case "(($ac_try" in
 
1747
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1748
  *) ac_try_echo=$ac_try;;
 
1749
esac
 
1750
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1751
$as_echo "$ac_try_echo"; } >&5
 
1752
  (eval "$ac_link") 2>conftest.err
 
1753
  ac_status=$?
 
1754
  if test -s conftest.err; then
 
1755
    grep -v '^ *+' conftest.err >conftest.er1
 
1756
    cat conftest.er1 >&5
 
1757
    mv -f conftest.er1 conftest.err
 
1758
  fi
 
1759
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1760
  test $ac_status = 0; } && {
 
1761
         test -z "$ac_c_werror_flag" ||
 
1762
         test ! -s conftest.err
 
1763
       } && test -s conftest$ac_exeext && {
 
1764
         test "$cross_compiling" = yes ||
 
1765
         $as_test_x conftest$ac_exeext
 
1766
       }; then :
 
1767
  ac_retval=0
 
1768
else
 
1769
  $as_echo "$as_me: failed program was:" >&5
 
1770
sed 's/^/| /' conftest.$ac_ext >&5
 
1771
 
 
1772
        ac_retval=1
 
1773
fi
 
1774
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1775
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1776
  # interfere with the next link command; also delete a directory that is
 
1777
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1778
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1779
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1780
  as_fn_set_status $ac_retval
 
1781
 
 
1782
} # ac_fn_c_try_link
 
1783
 
 
1784
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
1785
# -------------------------------------------
 
1786
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
1787
# variable VAR accordingly.
 
1788
ac_fn_c_check_type ()
 
1789
{
 
1790
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1791
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1792
$as_echo_n "checking for $2... " >&6; }
 
1793
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1794
  $as_echo_n "(cached) " >&6
 
1795
else
 
1796
  eval "$3=no"
 
1797
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1798
/* end confdefs.h.  */
 
1799
$4
 
1800
int
 
1801
main ()
 
1802
{
 
1803
if (sizeof ($2))
 
1804
         return 0;
 
1805
  ;
 
1806
  return 0;
 
1807
}
 
1808
_ACEOF
 
1809
if ac_fn_c_try_compile "$LINENO"; then :
 
1810
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1811
/* end confdefs.h.  */
 
1812
$4
 
1813
int
 
1814
main ()
 
1815
{
 
1816
if (sizeof (($2)))
 
1817
            return 0;
 
1818
  ;
 
1819
  return 0;
 
1820
}
 
1821
_ACEOF
 
1822
if ac_fn_c_try_compile "$LINENO"; then :
 
1823
 
 
1824
else
 
1825
  eval "$3=yes"
 
1826
fi
 
1827
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1828
fi
 
1829
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1830
fi
 
1831
eval ac_res=\$$3
 
1832
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1833
$as_echo "$ac_res" >&6; }
 
1834
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1835
 
 
1836
} # ac_fn_c_check_type
 
1837
 
 
1838
# ac_fn_c_check_func LINENO FUNC VAR
 
1839
# ----------------------------------
 
1840
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1841
ac_fn_c_check_func ()
 
1842
{
 
1843
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1844
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1845
$as_echo_n "checking for $2... " >&6; }
 
1846
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1847
  $as_echo_n "(cached) " >&6
 
1848
else
 
1849
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1850
/* end confdefs.h.  */
 
1851
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1852
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1853
#define $2 innocuous_$2
 
1854
 
 
1855
/* System header to define __stub macros and hopefully few prototypes,
 
1856
    which can conflict with char $2 (); below.
 
1857
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1858
    <limits.h> exists even on freestanding compilers.  */
 
1859
 
 
1860
#ifdef __STDC__
 
1861
# include <limits.h>
 
1862
#else
 
1863
# include <assert.h>
 
1864
#endif
 
1865
 
 
1866
#undef $2
 
1867
 
 
1868
/* Override any GCC internal prototype to avoid an error.
 
1869
   Use char because int might match the return type of a GCC
 
1870
   builtin and then its argument prototype would still apply.  */
 
1871
#ifdef __cplusplus
 
1872
extern "C"
 
1873
#endif
 
1874
char $2 ();
 
1875
/* The GNU C library defines this for functions which it implements
 
1876
    to always fail with ENOSYS.  Some functions are actually named
 
1877
    something starting with __ and the normal name is an alias.  */
 
1878
#if defined __stub_$2 || defined __stub___$2
 
1879
choke me
 
1880
#endif
 
1881
 
 
1882
int
 
1883
main ()
 
1884
{
 
1885
return $2 ();
 
1886
  ;
 
1887
  return 0;
 
1888
}
 
1889
_ACEOF
 
1890
if ac_fn_c_try_link "$LINENO"; then :
 
1891
  eval "$3=yes"
 
1892
else
 
1893
  eval "$3=no"
 
1894
fi
 
1895
rm -f core conftest.err conftest.$ac_objext \
 
1896
    conftest$ac_exeext conftest.$ac_ext
 
1897
fi
 
1898
eval ac_res=\$$3
 
1899
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1900
$as_echo "$ac_res" >&6; }
 
1901
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1902
 
 
1903
} # ac_fn_c_check_func
1505
1904
cat >config.log <<_ACEOF
1506
1905
This file contains any messages produced by compilers while
1507
1906
running configure, to aid debugging if configure makes a mistake.
1508
1907
 
1509
 
It was created by memcached $as_me 1.4.5, which was
1510
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1908
It was created by memcached $as_me 1.4.7, which was
 
1909
generated by GNU Autoconf 2.65.  Invocation command line was
1511
1910
 
1512
1911
  $ $0 $@
1513
1912
 
1543
1942
do
1544
1943
  IFS=$as_save_IFS
1545
1944
  test -z "$as_dir" && as_dir=.
1546
 
  $as_echo "PATH: $as_dir"
1547
 
done
 
1945
    $as_echo "PATH: $as_dir"
 
1946
  done
1548
1947
IFS=$as_save_IFS
1549
1948
 
1550
1949
} >&5
1581
1980
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1582
1981
    esac
1583
1982
    case $ac_pass in
1584
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1983
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1585
1984
    2)
1586
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1985
      as_fn_append ac_configure_args1 " '$ac_arg'"
1587
1986
      if test $ac_must_keep_next = true; then
1588
1987
        ac_must_keep_next=false # Got value, back to normal.
1589
1988
      else
1599
1998
          -* ) ac_must_keep_next=true ;;
1600
1999
        esac
1601
2000
      fi
1602
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2001
      as_fn_append ac_configure_args " '$ac_arg'"
1603
2002
      ;;
1604
2003
    esac
1605
2004
  done
1606
2005
done
1607
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1608
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2006
{ ac_configure_args0=; unset ac_configure_args0;}
 
2007
{ ac_configure_args1=; unset ac_configure_args1;}
1609
2008
 
1610
2009
# When interrupted or exit'd, cleanup temporary files, and complete
1611
2010
# config.log.  We remove comments because anyway the quotes in there
1630
2029
    case $ac_val in #(
1631
2030
    *${as_nl}*)
1632
2031
      case $ac_var in #(
1633
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2032
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1634
2033
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1635
2034
      esac
1636
2035
      case $ac_var in #(
1637
2036
      _ | IFS | as_nl) ;; #(
1638
2037
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1639
 
      *) $as_unset $ac_var ;;
 
2038
      *) { eval $ac_var=; unset $ac_var;} ;;
1640
2039
      esac ;;
1641
2040
    esac
1642
2041
  done
1708
2107
    exit $exit_status
1709
2108
' 0
1710
2109
for ac_signal in 1 2 13 15; do
1711
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2110
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1712
2111
done
1713
2112
ac_signal=0
1714
2113
 
1715
2114
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1716
2115
rm -f -r conftest* confdefs.h
1717
2116
 
 
2117
$as_echo "/* confdefs.h */" > confdefs.h
 
2118
 
1718
2119
# Predefined preprocessor variables.
1719
2120
 
1720
2121
cat >>confdefs.h <<_ACEOF
1721
2122
#define PACKAGE_NAME "$PACKAGE_NAME"
1722
2123
_ACEOF
1723
2124
 
1724
 
 
1725
2125
cat >>confdefs.h <<_ACEOF
1726
2126
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1727
2127
_ACEOF
1728
2128
 
1729
 
 
1730
2129
cat >>confdefs.h <<_ACEOF
1731
2130
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1732
2131
_ACEOF
1733
2132
 
1734
 
 
1735
2133
cat >>confdefs.h <<_ACEOF
1736
2134
#define PACKAGE_STRING "$PACKAGE_STRING"
1737
2135
_ACEOF
1738
2136
 
1739
 
 
1740
2137
cat >>confdefs.h <<_ACEOF
1741
2138
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1742
2139
_ACEOF
1743
2140
 
 
2141
cat >>confdefs.h <<_ACEOF
 
2142
#define PACKAGE_URL "$PACKAGE_URL"
 
2143
_ACEOF
 
2144
 
1744
2145
 
1745
2146
# Let the site file select an alternate cache file if it wants to.
1746
2147
# Prefer an explicitly selected file to automatically selected ones.
1758
2159
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1759
2160
do
1760
2161
  test "x$ac_site_file" = xNONE && continue
1761
 
  if test -r "$ac_site_file"; then
1762
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2162
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2163
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1763
2164
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1764
2165
    sed 's/^/| /' "$ac_site_file" >&5
1765
2166
    . "$ac_site_file"
1767
2168
done
1768
2169
 
1769
2170
if test -r "$cache_file"; then
1770
 
  # Some versions of bash will fail to source /dev/null (special
1771
 
  # files actually), so we avoid doing that.
1772
 
  if test -f "$cache_file"; then
1773
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2171
  # Some versions of bash will fail to source /dev/null (special files
 
2172
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2173
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2174
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1774
2175
$as_echo "$as_me: loading cache $cache_file" >&6;}
1775
2176
    case $cache_file in
1776
2177
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1778
2179
    esac
1779
2180
  fi
1780
2181
else
1781
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2182
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1782
2183
$as_echo "$as_me: creating cache $cache_file" >&6;}
1783
2184
  >$cache_file
1784
2185
fi
1793
2194
  eval ac_new_val=\$ac_env_${ac_var}_value
1794
2195
  case $ac_old_set,$ac_new_set in
1795
2196
    set,)
1796
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2197
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1797
2198
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1798
2199
      ac_cache_corrupted=: ;;
1799
2200
    ,set)
1800
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2201
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1801
2202
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1802
2203
      ac_cache_corrupted=: ;;
1803
2204
    ,);;
1807
2208
        ac_old_val_w=`echo x $ac_old_val`
1808
2209
        ac_new_val_w=`echo x $ac_new_val`
1809
2210
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1810
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2211
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1811
2212
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1812
2213
          ac_cache_corrupted=:
1813
2214
        else
1814
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2215
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1815
2216
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1816
2217
          eval $ac_var=\$ac_old_val
1817
2218
        fi
1818
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2219
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1819
2220
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1820
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2221
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1821
2222
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1822
2223
      fi;;
1823
2224
  esac
1829
2230
    esac
1830
2231
    case " $ac_configure_args " in
1831
2232
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1832
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2233
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1833
2234
    esac
1834
2235
  fi
1835
2236
done
1836
2237
if $ac_cache_corrupted; then
1837
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2238
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1838
2239
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1839
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2240
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1840
2241
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1841
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1842
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1843
 
   { (exit 1); exit 1; }; }
 
2242
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1844
2243
fi
1845
 
 
1846
 
 
1847
 
 
1848
 
 
1849
 
 
1850
 
 
1851
 
 
1852
 
 
1853
 
 
1854
 
 
1855
 
 
1856
 
 
1857
 
 
1858
 
 
1859
 
 
1860
 
 
1861
 
 
1862
 
 
1863
 
 
1864
 
 
1865
 
 
1866
 
 
1867
 
 
1868
 
 
 
2244
## -------------------- ##
 
2245
## Main body of script. ##
 
2246
## -------------------- ##
1869
2247
 
1870
2248
ac_ext=c
1871
2249
ac_cpp='$CPP $CPPFLAGS'
1876
2254
 
1877
2255
ac_aux_dir=
1878
2256
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1879
 
  if test -f "$ac_dir/install-sh"; then
1880
 
    ac_aux_dir=$ac_dir
1881
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1882
 
    break
1883
 
  elif test -f "$ac_dir/install.sh"; then
1884
 
    ac_aux_dir=$ac_dir
1885
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1886
 
    break
1887
 
  elif test -f "$ac_dir/shtool"; then
1888
 
    ac_aux_dir=$ac_dir
1889
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1890
 
    break
1891
 
  fi
 
2257
  for ac_t in install-sh install.sh shtool; do
 
2258
    if test -f "$ac_dir/$ac_t"; then
 
2259
      ac_aux_dir=$ac_dir
 
2260
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2261
      break 2
 
2262
    fi
 
2263
  done
1892
2264
done
1893
2265
if test -z "$ac_aux_dir"; then
1894
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1895
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1896
 
   { (exit 1); exit 1; }; }
 
2266
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1897
2267
fi
1898
2268
 
1899
2269
# These three variables are undocumented and unsupported,
1907
2277
 
1908
2278
# Make sure we can run config.sub.
1909
2279
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1910
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1911
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1912
 
   { (exit 1); exit 1; }; }
 
2280
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1913
2281
 
1914
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1915
2283
$as_echo_n "checking build system type... " >&6; }
1916
 
if test "${ac_cv_build+set}" = set; then
 
2284
if test "${ac_cv_build+set}" = set; then :
1917
2285
  $as_echo_n "(cached) " >&6
1918
2286
else
1919
2287
  ac_build_alias=$build_alias
1920
2288
test "x$ac_build_alias" = x &&
1921
2289
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1922
2290
test "x$ac_build_alias" = x &&
1923
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1924
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1925
 
   { (exit 1); exit 1; }; }
 
2291
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1926
2292
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1927
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1928
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1929
 
   { (exit 1); exit 1; }; }
 
2293
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1930
2294
 
1931
2295
fi
1932
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1933
2297
$as_echo "$ac_cv_build" >&6; }
1934
2298
case $ac_cv_build in
1935
2299
*-*-*) ;;
1936
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1937
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
1938
 
   { (exit 1); exit 1; }; };;
 
2300
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1939
2301
esac
1940
2302
build=$ac_cv_build
1941
2303
ac_save_IFS=$IFS; IFS='-'
1951
2313
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1952
2314
 
1953
2315
 
1954
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1955
2317
$as_echo_n "checking host system type... " >&6; }
1956
 
if test "${ac_cv_host+set}" = set; then
 
2318
if test "${ac_cv_host+set}" = set; then :
1957
2319
  $as_echo_n "(cached) " >&6
1958
2320
else
1959
2321
  if test "x$host_alias" = x; then
1960
2322
  ac_cv_host=$ac_cv_build
1961
2323
else
1962
2324
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1963
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1964
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1965
 
   { (exit 1); exit 1; }; }
 
2325
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1966
2326
fi
1967
2327
 
1968
2328
fi
1969
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1970
2330
$as_echo "$ac_cv_host" >&6; }
1971
2331
case $ac_cv_host in
1972
2332
*-*-*) ;;
1973
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1974
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
1975
 
   { (exit 1); exit 1; }; };;
 
2333
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1976
2334
esac
1977
2335
host=$ac_cv_host
1978
2336
ac_save_IFS=$IFS; IFS='-'
1988
2346
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1989
2347
 
1990
2348
 
1991
 
{ $as_echo "$as_me:$LINENO: checking target system type" >&5
 
2349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1992
2350
$as_echo_n "checking target system type... " >&6; }
1993
 
if test "${ac_cv_target+set}" = set; then
 
2351
if test "${ac_cv_target+set}" = set; then :
1994
2352
  $as_echo_n "(cached) " >&6
1995
2353
else
1996
2354
  if test "x$target_alias" = x; then
1997
2355
  ac_cv_target=$ac_cv_host
1998
2356
else
1999
2357
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2000
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2001
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2002
 
   { (exit 1); exit 1; }; }
 
2358
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2003
2359
fi
2004
2360
 
2005
2361
fi
2006
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2007
2363
$as_echo "$ac_cv_target" >&6; }
2008
2364
case $ac_cv_target in
2009
2365
*-*-*) ;;
2010
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2011
 
$as_echo "$as_me: error: invalid value of canonical target" >&2;}
2012
 
   { (exit 1); exit 1; }; };;
 
2366
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2013
2367
esac
2014
2368
target=$ac_cv_target
2015
2369
ac_save_IFS=$IFS; IFS='-'
2032
2386
    NONENONEs,x,x, &&
2033
2387
  program_prefix=${target_alias}-
2034
2388
 
2035
 
am__api_version='1.10'
 
2389
 
 
2390
am__api_version='1.11'
2036
2391
 
2037
2392
# Find a good install program.  We prefer a C program (faster),
2038
2393
# so one script is as good as another.  But avoid the broken or
2048
2403
# OS/2's system install, which has a completely different semantic
2049
2404
# ./install, which can be erroneously created by make from ./install.sh.
2050
2405
# Reject install programs that cannot install multiple files.
2051
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2052
2407
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2053
2408
if test -z "$INSTALL"; then
2054
 
if test "${ac_cv_path_install+set}" = set; then
 
2409
if test "${ac_cv_path_install+set}" = set; then :
2055
2410
  $as_echo_n "(cached) " >&6
2056
2411
else
2057
2412
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059
2414
do
2060
2415
  IFS=$as_save_IFS
2061
2416
  test -z "$as_dir" && as_dir=.
2062
 
  # Account for people who put trailing slashes in PATH elements.
2063
 
case $as_dir/ in
2064
 
  ./ | .// | /cC/* | \
 
2417
    # Account for people who put trailing slashes in PATH elements.
 
2418
case $as_dir/ in #((
 
2419
  ./ | .// | /[cC]/* | \
2065
2420
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2066
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2421
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2067
2422
  /usr/ucb/* ) ;;
2068
2423
  *)
2069
2424
    # OSF1 and SCO ODT 3.0 have their own names for install.
2100
2455
    ;;
2101
2456
esac
2102
2457
 
2103
 
done
 
2458
  done
2104
2459
IFS=$as_save_IFS
2105
2460
 
2106
2461
rm -rf conftest.one conftest.two conftest.dir
2116
2471
    INSTALL=$ac_install_sh
2117
2472
  fi
2118
2473
fi
2119
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2120
2475
$as_echo "$INSTALL" >&6; }
2121
2476
 
2122
2477
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2127
2482
 
2128
2483
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2129
2484
 
2130
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2485
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2131
2486
$as_echo_n "checking whether build environment is sane... " >&6; }
2132
2487
# Just in case
2133
2488
sleep 1
2134
2489
echo timestamp > conftest.file
 
2490
# Reject unsafe characters in $srcdir or the absolute working directory
 
2491
# name.  Accept space and tab only in the latter.
 
2492
am_lf='
 
2493
'
 
2494
case `pwd` in
 
2495
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2496
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2497
esac
 
2498
case $srcdir in
 
2499
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2500
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2501
esac
 
2502
 
2135
2503
# Do `set' in a subshell so we don't clobber the current shell's
2136
2504
# arguments.  Must try -L first in case configure is actually a
2137
2505
# symlink; some systems play weird games with the mod time of symlinks
2138
2506
# (eg FreeBSD returns the mod time of the symlink's containing
2139
2507
# directory).
2140
2508
if (
2141
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2509
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2142
2510
   if test "$*" = "X"; then
2143
2511
      # -L didn't work.
2144
 
      set X `ls -t $srcdir/configure conftest.file`
 
2512
      set X `ls -t "$srcdir/configure" conftest.file`
2145
2513
   fi
2146
2514
   rm -f conftest.file
2147
2515
   if test "$*" != "X $srcdir/configure conftest.file" \
2151
2519
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2152
2520
      # broken ls alias from the environment.  This has actually
2153
2521
      # happened.  Such a system could not be considered "sane".
2154
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2155
 
alias in your environment" >&5
2156
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2157
 
alias in your environment" >&2;}
2158
 
   { (exit 1); exit 1; }; }
 
2522
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2523
alias in your environment" "$LINENO" 5
2159
2524
   fi
2160
2525
 
2161
2526
   test "$2" = conftest.file
2164
2529
   # Ok.
2165
2530
   :
2166
2531
else
2167
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2168
 
Check your system clock" >&5
2169
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2170
 
Check your system clock" >&2;}
2171
 
   { (exit 1); exit 1; }; }
 
2532
   as_fn_error "newly created file is older than distributed files!
 
2533
Check your system clock" "$LINENO" 5
2172
2534
fi
2173
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2174
2536
$as_echo "yes" >&6; }
2175
2537
test "$program_prefix" != NONE &&
2176
2538
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2185
2547
# expand $ac_aux_dir to an absolute path
2186
2548
am_aux_dir=`cd $ac_aux_dir && pwd`
2187
2549
 
2188
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2550
if test x"${MISSING+set}" != xset; then
 
2551
  case $am_aux_dir in
 
2552
  *\ * | *\     *)
 
2553
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2554
  *)
 
2555
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2556
  esac
 
2557
fi
2189
2558
# Use eval to expand $SHELL
2190
2559
if eval "$MISSING --run true"; then
2191
2560
  am_missing_run="$MISSING --run "
2192
2561
else
2193
2562
  am_missing_run=
2194
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2563
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2195
2564
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2196
2565
fi
2197
2566
 
2198
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2567
if test x"${install_sh}" != xset; then
 
2568
  case $am_aux_dir in
 
2569
  *\ * | *\     *)
 
2570
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2571
  *)
 
2572
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2573
  esac
 
2574
fi
 
2575
 
 
2576
# Installed binaries are usually stripped using `strip' when the user
 
2577
# run `make install-strip'.  However `strip' might not be the right
 
2578
# tool to use in cross-compilation environments, therefore Automake
 
2579
# will honor the `STRIP' environment variable to overrule this program.
 
2580
if test "$cross_compiling" != no; then
 
2581
  if test -n "$ac_tool_prefix"; then
 
2582
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2583
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2585
$as_echo_n "checking for $ac_word... " >&6; }
 
2586
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2587
  $as_echo_n "(cached) " >&6
 
2588
else
 
2589
  if test -n "$STRIP"; then
 
2590
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2591
else
 
2592
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2593
for as_dir in $PATH
 
2594
do
 
2595
  IFS=$as_save_IFS
 
2596
  test -z "$as_dir" && as_dir=.
 
2597
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2598
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2599
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2600
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2601
    break 2
 
2602
  fi
 
2603
done
 
2604
  done
 
2605
IFS=$as_save_IFS
 
2606
 
 
2607
fi
 
2608
fi
 
2609
STRIP=$ac_cv_prog_STRIP
 
2610
if test -n "$STRIP"; then
 
2611
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2612
$as_echo "$STRIP" >&6; }
 
2613
else
 
2614
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2615
$as_echo "no" >&6; }
 
2616
fi
 
2617
 
 
2618
 
 
2619
fi
 
2620
if test -z "$ac_cv_prog_STRIP"; then
 
2621
  ac_ct_STRIP=$STRIP
 
2622
  # Extract the first word of "strip", so it can be a program name with args.
 
2623
set dummy strip; ac_word=$2
 
2624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2625
$as_echo_n "checking for $ac_word... " >&6; }
 
2626
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2627
  $as_echo_n "(cached) " >&6
 
2628
else
 
2629
  if test -n "$ac_ct_STRIP"; then
 
2630
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2631
else
 
2632
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2633
for as_dir in $PATH
 
2634
do
 
2635
  IFS=$as_save_IFS
 
2636
  test -z "$as_dir" && as_dir=.
 
2637
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2638
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2639
    ac_cv_prog_ac_ct_STRIP="strip"
 
2640
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2641
    break 2
 
2642
  fi
 
2643
done
 
2644
  done
 
2645
IFS=$as_save_IFS
 
2646
 
 
2647
fi
 
2648
fi
 
2649
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2650
if test -n "$ac_ct_STRIP"; then
 
2651
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2652
$as_echo "$ac_ct_STRIP" >&6; }
 
2653
else
 
2654
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2655
$as_echo "no" >&6; }
 
2656
fi
 
2657
 
 
2658
  if test "x$ac_ct_STRIP" = x; then
 
2659
    STRIP=":"
 
2660
  else
 
2661
    case $cross_compiling:$ac_tool_warned in
 
2662
yes:)
 
2663
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2664
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2665
ac_tool_warned=yes ;;
 
2666
esac
 
2667
    STRIP=$ac_ct_STRIP
 
2668
  fi
 
2669
else
 
2670
  STRIP="$ac_cv_prog_STRIP"
 
2671
fi
 
2672
 
 
2673
fi
 
2674
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2675
 
 
2676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2199
2677
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2200
2678
if test -z "$MKDIR_P"; then
2201
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2679
  if test "${ac_cv_path_mkdir+set}" = set; then :
2202
2680
  $as_echo_n "(cached) " >&6
2203
2681
else
2204
2682
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2206
2684
do
2207
2685
  IFS=$as_save_IFS
2208
2686
  test -z "$as_dir" && as_dir=.
2209
 
  for ac_prog in mkdir gmkdir; do
 
2687
    for ac_prog in mkdir gmkdir; do
2210
2688
         for ac_exec_ext in '' $ac_executable_extensions; do
2211
2689
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2212
2690
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2218
2696
           esac
2219
2697
         done
2220
2698
       done
2221
 
done
 
2699
  done
2222
2700
IFS=$as_save_IFS
2223
2701
 
2224
2702
fi
2225
2703
 
 
2704
  test -d ./--version && rmdir ./--version
2226
2705
  if test "${ac_cv_path_mkdir+set}" = set; then
2227
2706
    MKDIR_P="$ac_cv_path_mkdir -p"
2228
2707
  else
2230
2709
    # value for MKDIR_P within a source directory, because that will
2231
2710
    # break other packages using the cache if that directory is
2232
2711
    # removed, or if the value is a relative name.
2233
 
    test -d ./--version && rmdir ./--version
2234
2712
    MKDIR_P="$ac_install_sh -d"
2235
2713
  fi
2236
2714
fi
2237
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2238
2716
$as_echo "$MKDIR_P" >&6; }
2239
2717
 
2240
2718
mkdir_p="$MKDIR_P"
2247
2725
do
2248
2726
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2249
2727
set dummy $ac_prog; ac_word=$2
2250
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2251
2729
$as_echo_n "checking for $ac_word... " >&6; }
2252
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2730
if test "${ac_cv_prog_AWK+set}" = set; then :
2253
2731
  $as_echo_n "(cached) " >&6
2254
2732
else
2255
2733
  if test -n "$AWK"; then
2260
2738
do
2261
2739
  IFS=$as_save_IFS
2262
2740
  test -z "$as_dir" && as_dir=.
2263
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2741
    for ac_exec_ext in '' $ac_executable_extensions; do
2264
2742
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2265
2743
    ac_cv_prog_AWK="$ac_prog"
2266
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2744
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2267
2745
    break 2
2268
2746
  fi
2269
2747
done
2270
 
done
 
2748
  done
2271
2749
IFS=$as_save_IFS
2272
2750
 
2273
2751
fi
2274
2752
fi
2275
2753
AWK=$ac_cv_prog_AWK
2276
2754
if test -n "$AWK"; then
2277
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2755
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2278
2756
$as_echo "$AWK" >&6; }
2279
2757
else
2280
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2758
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2281
2759
$as_echo "no" >&6; }
2282
2760
fi
2283
2761
 
2285
2763
  test -n "$AWK" && break
2286
2764
done
2287
2765
 
2288
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2289
2767
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2290
2768
set x ${MAKE-make}
2291
2769
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2292
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2770
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2293
2771
  $as_echo_n "(cached) " >&6
2294
2772
else
2295
2773
  cat >conftest.make <<\_ACEOF
2307
2785
rm -f conftest.make
2308
2786
fi
2309
2787
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2310
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2311
2789
$as_echo "yes" >&6; }
2312
2790
  SET_MAKE=
2313
2791
else
2314
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2792
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2315
2793
$as_echo "no" >&6; }
2316
2794
  SET_MAKE="MAKE=${MAKE-make}"
2317
2795
fi
2331
2809
  am__isrc=' -I$(srcdir)'
2332
2810
  # test to see if srcdir already configured
2333
2811
  if test -f $srcdir/config.status; then
2334
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2335
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2336
 
   { (exit 1); exit 1; }; }
 
2812
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2337
2813
  fi
2338
2814
fi
2339
2815
 
2349
2825
 
2350
2826
# Define the identity of the package.
2351
2827
 PACKAGE=memcached
2352
 
 VERSION=1.4.5
 
2828
 VERSION=1.4.7
2353
2829
 
2354
2830
 
2355
2831
cat >>confdefs.h <<_ACEOF
2377
2853
 
2378
2854
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2379
2855
 
2380
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2381
 
 
2382
 
# Installed binaries are usually stripped using `strip' when the user
2383
 
# run `make install-strip'.  However `strip' might not be the right
2384
 
# tool to use in cross-compilation environments, therefore Automake
2385
 
# will honor the `STRIP' environment variable to overrule this program.
2386
 
if test "$cross_compiling" != no; then
2387
 
  if test -n "$ac_tool_prefix"; then
2388
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2389
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2390
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2391
 
$as_echo_n "checking for $ac_word... " >&6; }
2392
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2393
 
  $as_echo_n "(cached) " >&6
2394
 
else
2395
 
  if test -n "$STRIP"; then
2396
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2397
 
else
2398
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399
 
for as_dir in $PATH
2400
 
do
2401
 
  IFS=$as_save_IFS
2402
 
  test -z "$as_dir" && as_dir=.
2403
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2404
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2405
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2406
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2407
 
    break 2
2408
 
  fi
2409
 
done
2410
 
done
2411
 
IFS=$as_save_IFS
2412
 
 
2413
 
fi
2414
 
fi
2415
 
STRIP=$ac_cv_prog_STRIP
2416
 
if test -n "$STRIP"; then
2417
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2418
 
$as_echo "$STRIP" >&6; }
2419
 
else
2420
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2421
 
$as_echo "no" >&6; }
2422
 
fi
2423
 
 
2424
 
 
2425
 
fi
2426
 
if test -z "$ac_cv_prog_STRIP"; then
2427
 
  ac_ct_STRIP=$STRIP
2428
 
  # Extract the first word of "strip", so it can be a program name with args.
2429
 
set dummy strip; ac_word=$2
2430
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2431
 
$as_echo_n "checking for $ac_word... " >&6; }
2432
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2433
 
  $as_echo_n "(cached) " >&6
2434
 
else
2435
 
  if test -n "$ac_ct_STRIP"; then
2436
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2437
 
else
2438
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2439
 
for as_dir in $PATH
2440
 
do
2441
 
  IFS=$as_save_IFS
2442
 
  test -z "$as_dir" && as_dir=.
2443
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2444
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445
 
    ac_cv_prog_ac_ct_STRIP="strip"
2446
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447
 
    break 2
2448
 
  fi
2449
 
done
2450
 
done
2451
 
IFS=$as_save_IFS
2452
 
 
2453
 
fi
2454
 
fi
2455
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2456
 
if test -n "$ac_ct_STRIP"; then
2457
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2458
 
$as_echo "$ac_ct_STRIP" >&6; }
2459
 
else
2460
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2461
 
$as_echo "no" >&6; }
2462
 
fi
2463
 
 
2464
 
  if test "x$ac_ct_STRIP" = x; then
2465
 
    STRIP=":"
2466
 
  else
2467
 
    case $cross_compiling:$ac_tool_warned in
2468
 
yes:)
2469
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2470
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2471
 
ac_tool_warned=yes ;;
2472
 
esac
2473
 
    STRIP=$ac_ct_STRIP
2474
 
  fi
2475
 
else
2476
 
  STRIP="$ac_cv_prog_STRIP"
2477
 
fi
2478
 
 
2479
 
fi
2480
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2481
 
 
2482
2856
# We need awk for the "check" target.  The system "awk" is bad on
2483
2857
# some platforms.
2484
2858
# Always define AMTAR for backward compatibility.
2502
2876
if test -n "$ac_tool_prefix"; then
2503
2877
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2504
2878
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2505
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2506
2880
$as_echo_n "checking for $ac_word... " >&6; }
2507
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2881
if test "${ac_cv_prog_CC+set}" = set; then :
2508
2882
  $as_echo_n "(cached) " >&6
2509
2883
else
2510
2884
  if test -n "$CC"; then
2515
2889
do
2516
2890
  IFS=$as_save_IFS
2517
2891
  test -z "$as_dir" && as_dir=.
2518
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2892
    for ac_exec_ext in '' $ac_executable_extensions; do
2519
2893
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2520
2894
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2521
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2895
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2522
2896
    break 2
2523
2897
  fi
2524
2898
done
2525
 
done
 
2899
  done
2526
2900
IFS=$as_save_IFS
2527
2901
 
2528
2902
fi
2529
2903
fi
2530
2904
CC=$ac_cv_prog_CC
2531
2905
if test -n "$CC"; then
2532
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2533
2907
$as_echo "$CC" >&6; }
2534
2908
else
2535
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2909
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2536
2910
$as_echo "no" >&6; }
2537
2911
fi
2538
2912
 
2542
2916
  ac_ct_CC=$CC
2543
2917
  # Extract the first word of "gcc", so it can be a program name with args.
2544
2918
set dummy gcc; ac_word=$2
2545
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2546
2920
$as_echo_n "checking for $ac_word... " >&6; }
2547
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2921
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2548
2922
  $as_echo_n "(cached) " >&6
2549
2923
else
2550
2924
  if test -n "$ac_ct_CC"; then
2555
2929
do
2556
2930
  IFS=$as_save_IFS
2557
2931
  test -z "$as_dir" && as_dir=.
2558
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2932
    for ac_exec_ext in '' $ac_executable_extensions; do
2559
2933
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2560
2934
    ac_cv_prog_ac_ct_CC="gcc"
2561
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2935
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2562
2936
    break 2
2563
2937
  fi
2564
2938
done
2565
 
done
 
2939
  done
2566
2940
IFS=$as_save_IFS
2567
2941
 
2568
2942
fi
2569
2943
fi
2570
2944
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2571
2945
if test -n "$ac_ct_CC"; then
2572
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2573
2947
$as_echo "$ac_ct_CC" >&6; }
2574
2948
else
2575
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2949
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2576
2950
$as_echo "no" >&6; }
2577
2951
fi
2578
2952
 
2581
2955
  else
2582
2956
    case $cross_compiling:$ac_tool_warned in
2583
2957
yes:)
2584
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2958
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2585
2959
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2586
2960
ac_tool_warned=yes ;;
2587
2961
esac
2595
2969
          if test -n "$ac_tool_prefix"; then
2596
2970
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2597
2971
set dummy ${ac_tool_prefix}cc; ac_word=$2
2598
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2599
2973
$as_echo_n "checking for $ac_word... " >&6; }
2600
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2974
if test "${ac_cv_prog_CC+set}" = set; then :
2601
2975
  $as_echo_n "(cached) " >&6
2602
2976
else
2603
2977
  if test -n "$CC"; then
2608
2982
do
2609
2983
  IFS=$as_save_IFS
2610
2984
  test -z "$as_dir" && as_dir=.
2611
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2985
    for ac_exec_ext in '' $ac_executable_extensions; do
2612
2986
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2613
2987
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2614
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2988
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2615
2989
    break 2
2616
2990
  fi
2617
2991
done
2618
 
done
 
2992
  done
2619
2993
IFS=$as_save_IFS
2620
2994
 
2621
2995
fi
2622
2996
fi
2623
2997
CC=$ac_cv_prog_CC
2624
2998
if test -n "$CC"; then
2625
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2626
3000
$as_echo "$CC" >&6; }
2627
3001
else
2628
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3002
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2629
3003
$as_echo "no" >&6; }
2630
3004
fi
2631
3005
 
2635
3009
if test -z "$CC"; then
2636
3010
  # Extract the first word of "cc", so it can be a program name with args.
2637
3011
set dummy cc; ac_word=$2
2638
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2639
3013
$as_echo_n "checking for $ac_word... " >&6; }
2640
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3014
if test "${ac_cv_prog_CC+set}" = set; then :
2641
3015
  $as_echo_n "(cached) " >&6
2642
3016
else
2643
3017
  if test -n "$CC"; then
2649
3023
do
2650
3024
  IFS=$as_save_IFS
2651
3025
  test -z "$as_dir" && as_dir=.
2652
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3026
    for ac_exec_ext in '' $ac_executable_extensions; do
2653
3027
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2654
3028
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2655
3029
       ac_prog_rejected=yes
2656
3030
       continue
2657
3031
     fi
2658
3032
    ac_cv_prog_CC="cc"
2659
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3033
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2660
3034
    break 2
2661
3035
  fi
2662
3036
done
2663
 
done
 
3037
  done
2664
3038
IFS=$as_save_IFS
2665
3039
 
2666
3040
if test $ac_prog_rejected = yes; then
2679
3053
fi
2680
3054
CC=$ac_cv_prog_CC
2681
3055
if test -n "$CC"; then
2682
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3056
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2683
3057
$as_echo "$CC" >&6; }
2684
3058
else
2685
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3059
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686
3060
$as_echo "no" >&6; }
2687
3061
fi
2688
3062
 
2694
3068
  do
2695
3069
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2696
3070
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2697
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698
3072
$as_echo_n "checking for $ac_word... " >&6; }
2699
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3073
if test "${ac_cv_prog_CC+set}" = set; then :
2700
3074
  $as_echo_n "(cached) " >&6
2701
3075
else
2702
3076
  if test -n "$CC"; then
2707
3081
do
2708
3082
  IFS=$as_save_IFS
2709
3083
  test -z "$as_dir" && as_dir=.
2710
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3084
    for ac_exec_ext in '' $ac_executable_extensions; do
2711
3085
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2712
3086
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2713
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3087
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714
3088
    break 2
2715
3089
  fi
2716
3090
done
2717
 
done
 
3091
  done
2718
3092
IFS=$as_save_IFS
2719
3093
 
2720
3094
fi
2721
3095
fi
2722
3096
CC=$ac_cv_prog_CC
2723
3097
if test -n "$CC"; then
2724
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2725
3099
$as_echo "$CC" >&6; }
2726
3100
else
2727
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728
3102
$as_echo "no" >&6; }
2729
3103
fi
2730
3104
 
2738
3112
do
2739
3113
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2740
3114
set dummy $ac_prog; ac_word=$2
2741
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742
3116
$as_echo_n "checking for $ac_word... " >&6; }
2743
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3117
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2744
3118
  $as_echo_n "(cached) " >&6
2745
3119
else
2746
3120
  if test -n "$ac_ct_CC"; then
2751
3125
do
2752
3126
  IFS=$as_save_IFS
2753
3127
  test -z "$as_dir" && as_dir=.
2754
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3128
    for ac_exec_ext in '' $ac_executable_extensions; do
2755
3129
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2756
3130
    ac_cv_prog_ac_ct_CC="$ac_prog"
2757
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3131
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758
3132
    break 2
2759
3133
  fi
2760
3134
done
2761
 
done
 
3135
  done
2762
3136
IFS=$as_save_IFS
2763
3137
 
2764
3138
fi
2765
3139
fi
2766
3140
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2767
3141
if test -n "$ac_ct_CC"; then
2768
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3142
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2769
3143
$as_echo "$ac_ct_CC" >&6; }
2770
3144
else
2771
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3145
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772
3146
$as_echo "no" >&6; }
2773
3147
fi
2774
3148
 
2781
3155
  else
2782
3156
    case $cross_compiling:$ac_tool_warned in
2783
3157
yes:)
2784
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2785
3159
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2786
3160
ac_tool_warned=yes ;;
2787
3161
esac
2792
3166
fi
2793
3167
 
2794
3168
 
2795
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3169
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2796
3170
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2797
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2798
 
See \`config.log' for more details." >&5
2799
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2800
 
See \`config.log' for more details." >&2;}
2801
 
   { (exit 1); exit 1; }; }; }
 
3171
as_fn_error "no acceptable C compiler found in \$PATH
 
3172
See \`config.log' for more details." "$LINENO" 5; }
2802
3173
 
2803
3174
# Provide some information about the compiler.
2804
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3175
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2805
3176
set X $ac_compile
2806
3177
ac_compiler=$2
2807
 
{ (ac_try="$ac_compiler --version >&5"
2808
 
case "(($ac_try" in
2809
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810
 
  *) ac_try_echo=$ac_try;;
2811
 
esac
2812
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2813
 
$as_echo "$ac_try_echo") >&5
2814
 
  (eval "$ac_compiler --version >&5") 2>&5
2815
 
  ac_status=$?
2816
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817
 
  (exit $ac_status); }
2818
 
{ (ac_try="$ac_compiler -v >&5"
2819
 
case "(($ac_try" in
2820
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821
 
  *) ac_try_echo=$ac_try;;
2822
 
esac
2823
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2824
 
$as_echo "$ac_try_echo") >&5
2825
 
  (eval "$ac_compiler -v >&5") 2>&5
2826
 
  ac_status=$?
2827
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828
 
  (exit $ac_status); }
2829
 
{ (ac_try="$ac_compiler -V >&5"
2830
 
case "(($ac_try" in
2831
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2832
 
  *) ac_try_echo=$ac_try;;
2833
 
esac
2834
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2835
 
$as_echo "$ac_try_echo") >&5
2836
 
  (eval "$ac_compiler -V >&5") 2>&5
2837
 
  ac_status=$?
2838
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839
 
  (exit $ac_status); }
 
3178
for ac_option in --version -v -V -qversion; do
 
3179
  { { ac_try="$ac_compiler $ac_option >&5"
 
3180
case "(($ac_try" in
 
3181
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3182
  *) ac_try_echo=$ac_try;;
 
3183
esac
 
3184
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3185
$as_echo "$ac_try_echo"; } >&5
 
3186
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3187
  ac_status=$?
 
3188
  if test -s conftest.err; then
 
3189
    sed '10a\
 
3190
... rest of stderr output deleted ...
 
3191
         10q' conftest.err >conftest.er1
 
3192
    cat conftest.er1 >&5
 
3193
  fi
 
3194
  rm -f conftest.er1 conftest.err
 
3195
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3196
  test $ac_status = 0; }
 
3197
done
2840
3198
 
2841
 
cat >conftest.$ac_ext <<_ACEOF
2842
 
/* confdefs.h.  */
2843
 
_ACEOF
2844
 
cat confdefs.h >>conftest.$ac_ext
2845
 
cat >>conftest.$ac_ext <<_ACEOF
 
3199
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846
3200
/* end confdefs.h.  */
2847
3201
 
2848
3202
int
2858
3212
# Try to create an executable without -o first, disregard a.out.
2859
3213
# It will help us diagnose broken compilers, and finding out an intuition
2860
3214
# of exeext.
2861
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2862
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3216
$as_echo_n "checking whether the C compiler works... " >&6; }
2863
3217
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2864
3218
 
2865
3219
# The possible output files:
2875
3229
done
2876
3230
rm -f $ac_rmfiles
2877
3231
 
2878
 
if { (ac_try="$ac_link_default"
 
3232
if { { ac_try="$ac_link_default"
2879
3233
case "(($ac_try" in
2880
3234
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881
3235
  *) ac_try_echo=$ac_try;;
2882
3236
esac
2883
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2884
 
$as_echo "$ac_try_echo") >&5
 
3237
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3238
$as_echo "$ac_try_echo"; } >&5
2885
3239
  (eval "$ac_link_default") 2>&5
2886
3240
  ac_status=$?
2887
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888
 
  (exit $ac_status); }; then
 
3241
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3242
  test $ac_status = 0; }; then :
2889
3243
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2890
3244
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2891
3245
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2902
3256
        # certainly right.
2903
3257
        break;;
2904
3258
    *.* )
2905
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3259
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2906
3260
        then :; else
2907
3261
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2908
3262
        fi
2921
3275
else
2922
3276
  ac_file=''
2923
3277
fi
 
3278
if test -z "$ac_file"; then :
 
3279
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3280
$as_echo "no" >&6; }
 
3281
$as_echo "$as_me: failed program was:" >&5
 
3282
sed 's/^/| /' conftest.$ac_ext >&5
2924
3283
 
2925
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3284
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3285
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3286
{ as_fn_set_status 77
 
3287
as_fn_error "C compiler cannot create executables
 
3288
See \`config.log' for more details." "$LINENO" 5; }; }
 
3289
else
 
3290
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3291
$as_echo "yes" >&6; }
 
3292
fi
 
3293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3294
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2926
3296
$as_echo "$ac_file" >&6; }
2927
 
if test -z "$ac_file"; then
2928
 
  $as_echo "$as_me: failed program was:" >&5
2929
 
sed 's/^/| /' conftest.$ac_ext >&5
2930
 
 
2931
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2932
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2933
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2934
 
See \`config.log' for more details." >&5
2935
 
$as_echo "$as_me: error: C compiler cannot create executables
2936
 
See \`config.log' for more details." >&2;}
2937
 
   { (exit 77); exit 77; }; }; }
2938
 
fi
2939
 
 
2940
3297
ac_exeext=$ac_cv_exeext
2941
3298
 
2942
 
# Check that the compiler produces executables we can run.  If not, either
2943
 
# the compiler is broken, or we cross compile.
2944
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2945
 
$as_echo_n "checking whether the C compiler works... " >&6; }
2946
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2947
 
# If not cross compiling, check that we can run a simple program.
2948
 
if test "$cross_compiling" != yes; then
2949
 
  if { ac_try='./$ac_file'
2950
 
  { (case "(($ac_try" in
2951
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952
 
  *) ac_try_echo=$ac_try;;
2953
 
esac
2954
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2955
 
$as_echo "$ac_try_echo") >&5
2956
 
  (eval "$ac_try") 2>&5
2957
 
  ac_status=$?
2958
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959
 
  (exit $ac_status); }; }; then
2960
 
    cross_compiling=no
2961
 
  else
2962
 
    if test "$cross_compiling" = maybe; then
2963
 
        cross_compiling=yes
2964
 
    else
2965
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2966
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2968
 
If you meant to cross compile, use \`--host'.
2969
 
See \`config.log' for more details." >&5
2970
 
$as_echo "$as_me: error: cannot run C compiled programs.
2971
 
If you meant to cross compile, use \`--host'.
2972
 
See \`config.log' for more details." >&2;}
2973
 
   { (exit 1); exit 1; }; }; }
2974
 
    fi
2975
 
  fi
2976
 
fi
2977
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2978
 
$as_echo "yes" >&6; }
2979
 
 
2980
3299
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2981
3300
ac_clean_files=$ac_clean_files_save
2982
 
# Check that the compiler produces executables we can run.  If not, either
2983
 
# the compiler is broken, or we cross compile.
2984
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2985
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
2986
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2987
 
$as_echo "$cross_compiling" >&6; }
2988
 
 
2989
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2990
3302
$as_echo_n "checking for suffix of executables... " >&6; }
2991
 
if { (ac_try="$ac_link"
 
3303
if { { ac_try="$ac_link"
2992
3304
case "(($ac_try" in
2993
3305
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994
3306
  *) ac_try_echo=$ac_try;;
2995
3307
esac
2996
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2997
 
$as_echo "$ac_try_echo") >&5
 
3308
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3309
$as_echo "$ac_try_echo"; } >&5
2998
3310
  (eval "$ac_link") 2>&5
2999
3311
  ac_status=$?
3000
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001
 
  (exit $ac_status); }; then
 
3312
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3313
  test $ac_status = 0; }; then :
3002
3314
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3003
3315
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3004
3316
# work properly (i.e., refer to `conftest.exe'), while it won't with
3013
3325
  esac
3014
3326
done
3015
3327
else
3016
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3328
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3017
3329
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3018
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3019
 
See \`config.log' for more details." >&5
3020
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3021
 
See \`config.log' for more details." >&2;}
3022
 
   { (exit 1); exit 1; }; }; }
 
3330
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3331
See \`config.log' for more details." "$LINENO" 5; }
3023
3332
fi
3024
 
 
3025
 
rm -f conftest$ac_cv_exeext
3026
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3333
rm -f conftest conftest$ac_cv_exeext
 
3334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3027
3335
$as_echo "$ac_cv_exeext" >&6; }
3028
3336
 
3029
3337
rm -f conftest.$ac_ext
3030
3338
EXEEXT=$ac_cv_exeext
3031
3339
ac_exeext=$EXEEXT
3032
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3340
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3341
/* end confdefs.h.  */
 
3342
#include <stdio.h>
 
3343
int
 
3344
main ()
 
3345
{
 
3346
FILE *f = fopen ("conftest.out", "w");
 
3347
 return ferror (f) || fclose (f) != 0;
 
3348
 
 
3349
  ;
 
3350
  return 0;
 
3351
}
 
3352
_ACEOF
 
3353
ac_clean_files="$ac_clean_files conftest.out"
 
3354
# Check that the compiler produces executables we can run.  If not, either
 
3355
# the compiler is broken, or we cross compile.
 
3356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3357
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3358
if test "$cross_compiling" != yes; then
 
3359
  { { ac_try="$ac_link"
 
3360
case "(($ac_try" in
 
3361
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3362
  *) ac_try_echo=$ac_try;;
 
3363
esac
 
3364
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3365
$as_echo "$ac_try_echo"; } >&5
 
3366
  (eval "$ac_link") 2>&5
 
3367
  ac_status=$?
 
3368
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3369
  test $ac_status = 0; }
 
3370
  if { ac_try='./conftest$ac_cv_exeext'
 
3371
  { { case "(($ac_try" in
 
3372
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3373
  *) ac_try_echo=$ac_try;;
 
3374
esac
 
3375
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3376
$as_echo "$ac_try_echo"; } >&5
 
3377
  (eval "$ac_try") 2>&5
 
3378
  ac_status=$?
 
3379
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3380
  test $ac_status = 0; }; }; then
 
3381
    cross_compiling=no
 
3382
  else
 
3383
    if test "$cross_compiling" = maybe; then
 
3384
        cross_compiling=yes
 
3385
    else
 
3386
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3387
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3388
as_fn_error "cannot run C compiled programs.
 
3389
If you meant to cross compile, use \`--host'.
 
3390
See \`config.log' for more details." "$LINENO" 5; }
 
3391
    fi
 
3392
  fi
 
3393
fi
 
3394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3395
$as_echo "$cross_compiling" >&6; }
 
3396
 
 
3397
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3398
ac_clean_files=$ac_clean_files_save
 
3399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3033
3400
$as_echo_n "checking for suffix of object files... " >&6; }
3034
 
if test "${ac_cv_objext+set}" = set; then
 
3401
if test "${ac_cv_objext+set}" = set; then :
3035
3402
  $as_echo_n "(cached) " >&6
3036
3403
else
3037
 
  cat >conftest.$ac_ext <<_ACEOF
3038
 
/* confdefs.h.  */
3039
 
_ACEOF
3040
 
cat confdefs.h >>conftest.$ac_ext
3041
 
cat >>conftest.$ac_ext <<_ACEOF
 
3404
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042
3405
/* end confdefs.h.  */
3043
3406
 
3044
3407
int
3050
3413
}
3051
3414
_ACEOF
3052
3415
rm -f conftest.o conftest.obj
3053
 
if { (ac_try="$ac_compile"
 
3416
if { { ac_try="$ac_compile"
3054
3417
case "(($ac_try" in
3055
3418
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3056
3419
  *) ac_try_echo=$ac_try;;
3057
3420
esac
3058
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3059
 
$as_echo "$ac_try_echo") >&5
 
3421
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3422
$as_echo "$ac_try_echo"; } >&5
3060
3423
  (eval "$ac_compile") 2>&5
3061
3424
  ac_status=$?
3062
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063
 
  (exit $ac_status); }; then
 
3425
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3426
  test $ac_status = 0; }; then :
3064
3427
  for ac_file in conftest.o conftest.obj conftest.*; do
3065
3428
  test -f "$ac_file" || continue;
3066
3429
  case $ac_file in
3073
3436
  $as_echo "$as_me: failed program was:" >&5
3074
3437
sed 's/^/| /' conftest.$ac_ext >&5
3075
3438
 
3076
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3439
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3077
3440
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3078
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3079
 
See \`config.log' for more details." >&5
3080
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3081
 
See \`config.log' for more details." >&2;}
3082
 
   { (exit 1); exit 1; }; }; }
 
3441
as_fn_error "cannot compute suffix of object files: cannot compile
 
3442
See \`config.log' for more details." "$LINENO" 5; }
3083
3443
fi
3084
 
 
3085
3444
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3086
3445
fi
3087
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3088
3447
$as_echo "$ac_cv_objext" >&6; }
3089
3448
OBJEXT=$ac_cv_objext
3090
3449
ac_objext=$OBJEXT
3091
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3092
3451
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3093
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3452
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3094
3453
  $as_echo_n "(cached) " >&6
3095
3454
else
3096
 
  cat >conftest.$ac_ext <<_ACEOF
3097
 
/* confdefs.h.  */
3098
 
_ACEOF
3099
 
cat confdefs.h >>conftest.$ac_ext
3100
 
cat >>conftest.$ac_ext <<_ACEOF
 
3455
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101
3456
/* end confdefs.h.  */
3102
3457
 
3103
3458
int
3111
3466
  return 0;
3112
3467
}
3113
3468
_ACEOF
3114
 
rm -f conftest.$ac_objext
3115
 
if { (ac_try="$ac_compile"
3116
 
case "(($ac_try" in
3117
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118
 
  *) ac_try_echo=$ac_try;;
3119
 
esac
3120
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3121
 
$as_echo "$ac_try_echo") >&5
3122
 
  (eval "$ac_compile") 2>conftest.er1
3123
 
  ac_status=$?
3124
 
  grep -v '^ *+' conftest.er1 >conftest.err
3125
 
  rm -f conftest.er1
3126
 
  cat conftest.err >&5
3127
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128
 
  (exit $ac_status); } && {
3129
 
         test -z "$ac_c_werror_flag" ||
3130
 
         test ! -s conftest.err
3131
 
       } && test -s conftest.$ac_objext; then
 
3469
if ac_fn_c_try_compile "$LINENO"; then :
3132
3470
  ac_compiler_gnu=yes
3133
3471
else
3134
 
  $as_echo "$as_me: failed program was:" >&5
3135
 
sed 's/^/| /' conftest.$ac_ext >&5
3136
 
 
3137
 
        ac_compiler_gnu=no
 
3472
  ac_compiler_gnu=no
3138
3473
fi
3139
 
 
3140
3474
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3141
3475
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3142
3476
 
3143
3477
fi
3144
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3145
3479
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3146
3480
if test $ac_compiler_gnu = yes; then
3147
3481
  GCC=yes
3150
3484
fi
3151
3485
ac_test_CFLAGS=${CFLAGS+set}
3152
3486
ac_save_CFLAGS=$CFLAGS
3153
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3154
3488
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3155
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3489
if test "${ac_cv_prog_cc_g+set}" = set; then :
3156
3490
  $as_echo_n "(cached) " >&6
3157
3491
else
3158
3492
  ac_save_c_werror_flag=$ac_c_werror_flag
3159
3493
   ac_c_werror_flag=yes
3160
3494
   ac_cv_prog_cc_g=no
3161
3495
   CFLAGS="-g"
3162
 
   cat >conftest.$ac_ext <<_ACEOF
3163
 
/* confdefs.h.  */
3164
 
_ACEOF
3165
 
cat confdefs.h >>conftest.$ac_ext
3166
 
cat >>conftest.$ac_ext <<_ACEOF
 
3496
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167
3497
/* end confdefs.h.  */
3168
3498
 
3169
3499
int
3174
3504
  return 0;
3175
3505
}
3176
3506
_ACEOF
3177
 
rm -f conftest.$ac_objext
3178
 
if { (ac_try="$ac_compile"
3179
 
case "(($ac_try" in
3180
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3181
 
  *) ac_try_echo=$ac_try;;
3182
 
esac
3183
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3184
 
$as_echo "$ac_try_echo") >&5
3185
 
  (eval "$ac_compile") 2>conftest.er1
3186
 
  ac_status=$?
3187
 
  grep -v '^ *+' conftest.er1 >conftest.err
3188
 
  rm -f conftest.er1
3189
 
  cat conftest.err >&5
3190
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191
 
  (exit $ac_status); } && {
3192
 
         test -z "$ac_c_werror_flag" ||
3193
 
         test ! -s conftest.err
3194
 
       } && test -s conftest.$ac_objext; then
 
3507
if ac_fn_c_try_compile "$LINENO"; then :
3195
3508
  ac_cv_prog_cc_g=yes
3196
3509
else
3197
 
  $as_echo "$as_me: failed program was:" >&5
3198
 
sed 's/^/| /' conftest.$ac_ext >&5
3199
 
 
3200
 
        CFLAGS=""
3201
 
      cat >conftest.$ac_ext <<_ACEOF
3202
 
/* confdefs.h.  */
3203
 
_ACEOF
3204
 
cat confdefs.h >>conftest.$ac_ext
3205
 
cat >>conftest.$ac_ext <<_ACEOF
 
3510
  CFLAGS=""
 
3511
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3206
3512
/* end confdefs.h.  */
3207
3513
 
3208
3514
int
3213
3519
  return 0;
3214
3520
}
3215
3521
_ACEOF
3216
 
rm -f conftest.$ac_objext
3217
 
if { (ac_try="$ac_compile"
3218
 
case "(($ac_try" in
3219
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3220
 
  *) ac_try_echo=$ac_try;;
3221
 
esac
3222
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3223
 
$as_echo "$ac_try_echo") >&5
3224
 
  (eval "$ac_compile") 2>conftest.er1
3225
 
  ac_status=$?
3226
 
  grep -v '^ *+' conftest.er1 >conftest.err
3227
 
  rm -f conftest.er1
3228
 
  cat conftest.err >&5
3229
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230
 
  (exit $ac_status); } && {
3231
 
         test -z "$ac_c_werror_flag" ||
3232
 
         test ! -s conftest.err
3233
 
       } && test -s conftest.$ac_objext; then
3234
 
  :
 
3522
if ac_fn_c_try_compile "$LINENO"; then :
 
3523
 
3235
3524
else
3236
 
  $as_echo "$as_me: failed program was:" >&5
3237
 
sed 's/^/| /' conftest.$ac_ext >&5
3238
 
 
3239
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3525
  ac_c_werror_flag=$ac_save_c_werror_flag
3240
3526
         CFLAGS="-g"
3241
 
         cat >conftest.$ac_ext <<_ACEOF
3242
 
/* confdefs.h.  */
3243
 
_ACEOF
3244
 
cat confdefs.h >>conftest.$ac_ext
3245
 
cat >>conftest.$ac_ext <<_ACEOF
 
3527
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3246
3528
/* end confdefs.h.  */
3247
3529
 
3248
3530
int
3253
3535
  return 0;
3254
3536
}
3255
3537
_ACEOF
3256
 
rm -f conftest.$ac_objext
3257
 
if { (ac_try="$ac_compile"
3258
 
case "(($ac_try" in
3259
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260
 
  *) ac_try_echo=$ac_try;;
3261
 
esac
3262
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3263
 
$as_echo "$ac_try_echo") >&5
3264
 
  (eval "$ac_compile") 2>conftest.er1
3265
 
  ac_status=$?
3266
 
  grep -v '^ *+' conftest.er1 >conftest.err
3267
 
  rm -f conftest.er1
3268
 
  cat conftest.err >&5
3269
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270
 
  (exit $ac_status); } && {
3271
 
         test -z "$ac_c_werror_flag" ||
3272
 
         test ! -s conftest.err
3273
 
       } && test -s conftest.$ac_objext; then
 
3538
if ac_fn_c_try_compile "$LINENO"; then :
3274
3539
  ac_cv_prog_cc_g=yes
3275
 
else
3276
 
  $as_echo "$as_me: failed program was:" >&5
3277
 
sed 's/^/| /' conftest.$ac_ext >&5
3278
 
 
3279
 
 
3280
 
fi
3281
 
 
3282
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283
 
fi
3284
 
 
3285
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286
 
fi
3287
 
 
 
3540
fi
 
3541
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3542
fi
 
3543
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3544
fi
3288
3545
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289
3546
   ac_c_werror_flag=$ac_save_c_werror_flag
3290
3547
fi
3291
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3292
3549
$as_echo "$ac_cv_prog_cc_g" >&6; }
3293
3550
if test "$ac_test_CFLAGS" = set; then
3294
3551
  CFLAGS=$ac_save_CFLAGS
3305
3562
    CFLAGS=
3306
3563
  fi
3307
3564
fi
3308
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3309
3566
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3310
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3567
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3311
3568
  $as_echo_n "(cached) " >&6
3312
3569
else
3313
3570
  ac_cv_prog_cc_c89=no
3314
3571
ac_save_CC=$CC
3315
 
cat >conftest.$ac_ext <<_ACEOF
3316
 
/* confdefs.h.  */
3317
 
_ACEOF
3318
 
cat confdefs.h >>conftest.$ac_ext
3319
 
cat >>conftest.$ac_ext <<_ACEOF
 
3572
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320
3573
/* end confdefs.h.  */
3321
3574
#include <stdarg.h>
3322
3575
#include <stdio.h>
3373
3626
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3374
3627
do
3375
3628
  CC="$ac_save_CC $ac_arg"
3376
 
  rm -f conftest.$ac_objext
3377
 
if { (ac_try="$ac_compile"
3378
 
case "(($ac_try" in
3379
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380
 
  *) ac_try_echo=$ac_try;;
3381
 
esac
3382
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3383
 
$as_echo "$ac_try_echo") >&5
3384
 
  (eval "$ac_compile") 2>conftest.er1
3385
 
  ac_status=$?
3386
 
  grep -v '^ *+' conftest.er1 >conftest.err
3387
 
  rm -f conftest.er1
3388
 
  cat conftest.err >&5
3389
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390
 
  (exit $ac_status); } && {
3391
 
         test -z "$ac_c_werror_flag" ||
3392
 
         test ! -s conftest.err
3393
 
       } && test -s conftest.$ac_objext; then
 
3629
  if ac_fn_c_try_compile "$LINENO"; then :
3394
3630
  ac_cv_prog_cc_c89=$ac_arg
3395
 
else
3396
 
  $as_echo "$as_me: failed program was:" >&5
3397
 
sed 's/^/| /' conftest.$ac_ext >&5
3398
 
 
3399
 
 
3400
3631
fi
3401
 
 
3402
3632
rm -f core conftest.err conftest.$ac_objext
3403
3633
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3404
3634
done
3409
3639
# AC_CACHE_VAL
3410
3640
case "x$ac_cv_prog_cc_c89" in
3411
3641
  x)
3412
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3642
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3413
3643
$as_echo "none needed" >&6; } ;;
3414
3644
  xno)
3415
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3645
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3416
3646
$as_echo "unsupported" >&6; } ;;
3417
3647
  *)
3418
3648
    CC="$CC $ac_cv_prog_cc_c89"
3419
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3649
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3420
3650
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3421
3651
esac
 
3652
if test "x$ac_cv_prog_cc_c89" != xno; then :
3422
3653
 
 
3654
fi
3423
3655
 
3424
3656
ac_ext=c
3425
3657
ac_cpp='$CPP $CPPFLAGS'
3434
3666
am_make=${MAKE-make}
3435
3667
cat > confinc << 'END'
3436
3668
am__doit:
3437
 
        @echo done
 
3669
        @echo this is the am__doit target
3438
3670
.PHONY: am__doit
3439
3671
END
3440
3672
# If we don't find an include directive, just comment out the code.
3441
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3442
3674
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3443
3675
am__include="#"
3444
3676
am__quote=
3445
3677
_am_result=none
3446
3678
# First try GNU make style include.
3447
3679
echo "include confinc" > confmf
3448
 
# We grep out `Entering directory' and `Leaving directory'
3449
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3450
 
# In particular we don't look at `^make:' because GNU make might
3451
 
# be invoked under some other name (usually "gmake"), in which
3452
 
# case it prints its new name instead of `make'.
3453
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3454
 
   am__include=include
3455
 
   am__quote=
3456
 
   _am_result=GNU
3457
 
fi
 
3680
# Ignore all kinds of additional output from `make'.
 
3681
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3682
*the\ am__doit\ target*)
 
3683
  am__include=include
 
3684
  am__quote=
 
3685
  _am_result=GNU
 
3686
  ;;
 
3687
esac
3458
3688
# Now try BSD make style include.
3459
3689
if test "$am__include" = "#"; then
3460
3690
   echo '.include "confinc"' > confmf
3461
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3462
 
      am__include=.include
3463
 
      am__quote="\""
3464
 
      _am_result=BSD
3465
 
   fi
 
3691
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3692
   *the\ am__doit\ target*)
 
3693
     am__include=.include
 
3694
     am__quote="\""
 
3695
     _am_result=BSD
 
3696
     ;;
 
3697
   esac
3466
3698
fi
3467
3699
 
3468
3700
 
3469
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3470
3702
$as_echo "$_am_result" >&6; }
3471
3703
rm -f confinc confmf
3472
3704
 
3473
3705
# Check whether --enable-dependency-tracking was given.
3474
 
if test "${enable_dependency_tracking+set}" = set; then
 
3706
if test "${enable_dependency_tracking+set}" = set; then :
3475
3707
  enableval=$enable_dependency_tracking;
3476
3708
fi
3477
3709
 
3491
3723
 
3492
3724
depcc="$CC"   am_compiler_list=
3493
3725
 
3494
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3495
3727
$as_echo_n "checking dependency style of $depcc... " >&6; }
3496
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3728
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3497
3729
  $as_echo_n "(cached) " >&6
3498
3730
else
3499
3731
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3519
3751
  if test "$am_compiler_list" = ""; then
3520
3752
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3521
3753
  fi
 
3754
  am__universal=false
 
3755
  case " $depcc " in #(
 
3756
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3757
     esac
 
3758
 
3522
3759
  for depmode in $am_compiler_list; do
3523
3760
    # Setup a source with many dependencies, because some compilers
3524
3761
    # like to wrap large dependency lists on column 80 (with \), and
3536
3773
    done
3537
3774
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3538
3775
 
 
3776
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3777
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3778
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3779
    # versions had trouble with output in subdirs
 
3780
    am__obj=sub/conftest.${OBJEXT-o}
 
3781
    am__minus_obj="-o $am__obj"
3539
3782
    case $depmode in
 
3783
    gcc)
 
3784
      # This depmode causes a compiler race in universal mode.
 
3785
      test "$am__universal" = false || continue
 
3786
      ;;
3540
3787
    nosideeffect)
3541
3788
      # after this tag, mechanisms are not by side-effect, so they'll
3542
3789
      # only be used when explicitly requested
3546
3793
        break
3547
3794
      fi
3548
3795
      ;;
 
3796
    msvisualcpp | msvcmsys)
 
3797
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3798
      # not run yet.  These depmodes are late enough in the game, and
 
3799
      # so weak that their functioning should not be impacted.
 
3800
      am__obj=conftest.${OBJEXT-o}
 
3801
      am__minus_obj=
 
3802
      ;;
3549
3803
    none) break ;;
3550
3804
    esac
3551
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3552
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3553
 
    # handle `-M -o', and we need to detect this.
3554
3805
    if depmode=$depmode \
3555
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3806
       source=sub/conftest.c object=$am__obj \
3556
3807
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3557
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3808
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3558
3809
         >/dev/null 2>conftest.err &&
3559
3810
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3560
3811
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3561
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3812
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3562
3813
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3563
3814
      # icc doesn't choke on unknown options, it will just issue warnings
3564
3815
      # or remarks (even with -Werror).  So we grep stderr for any message
3582
3833
fi
3583
3834
 
3584
3835
fi
3585
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3586
3837
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3587
3838
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3588
3839
 
3606
3857
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3607
3858
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3608
3859
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3609
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3610
3861
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3611
3862
# On Suns, sometimes $CPP names a directory.
3612
3863
if test -n "$CPP" && test -d "$CPP"; then
3613
3864
  CPP=
3614
3865
fi
3615
3866
if test -z "$CPP"; then
3616
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3867
  if test "${ac_cv_prog_CPP+set}" = set; then :
3617
3868
  $as_echo_n "(cached) " >&6
3618
3869
else
3619
3870
      # Double quotes because CPP needs to be expanded
3628
3879
  # <limits.h> exists even on freestanding compilers.
3629
3880
  # On the NeXT, cc -E runs the code through the compiler's parser,
3630
3881
  # not just through cpp. "Syntax error" is here to catch this case.
3631
 
  cat >conftest.$ac_ext <<_ACEOF
3632
 
/* confdefs.h.  */
3633
 
_ACEOF
3634
 
cat confdefs.h >>conftest.$ac_ext
3635
 
cat >>conftest.$ac_ext <<_ACEOF
 
3882
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636
3883
/* end confdefs.h.  */
3637
3884
#ifdef __STDC__
3638
3885
# include <limits.h>
3641
3888
#endif
3642
3889
                     Syntax error
3643
3890
_ACEOF
3644
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3645
 
case "(($ac_try" in
3646
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647
 
  *) ac_try_echo=$ac_try;;
3648
 
esac
3649
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3650
 
$as_echo "$ac_try_echo") >&5
3651
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3652
 
  ac_status=$?
3653
 
  grep -v '^ *+' conftest.er1 >conftest.err
3654
 
  rm -f conftest.er1
3655
 
  cat conftest.err >&5
3656
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657
 
  (exit $ac_status); } >/dev/null && {
3658
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3659
 
         test ! -s conftest.err
3660
 
       }; then
3661
 
  :
 
3891
if ac_fn_c_try_cpp "$LINENO"; then :
 
3892
 
3662
3893
else
3663
 
  $as_echo "$as_me: failed program was:" >&5
3664
 
sed 's/^/| /' conftest.$ac_ext >&5
3665
 
 
3666
3894
  # Broken: fails on valid input.
3667
3895
continue
3668
3896
fi
3669
 
 
3670
3897
rm -f conftest.err conftest.$ac_ext
3671
3898
 
3672
3899
  # OK, works on sane cases.  Now check whether nonexistent headers
3673
3900
  # can be detected and how.
3674
 
  cat >conftest.$ac_ext <<_ACEOF
3675
 
/* confdefs.h.  */
3676
 
_ACEOF
3677
 
cat confdefs.h >>conftest.$ac_ext
3678
 
cat >>conftest.$ac_ext <<_ACEOF
 
3901
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3679
3902
/* end confdefs.h.  */
3680
3903
#include <ac_nonexistent.h>
3681
3904
_ACEOF
3682
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3683
 
case "(($ac_try" in
3684
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3685
 
  *) ac_try_echo=$ac_try;;
3686
 
esac
3687
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3688
 
$as_echo "$ac_try_echo") >&5
3689
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3690
 
  ac_status=$?
3691
 
  grep -v '^ *+' conftest.er1 >conftest.err
3692
 
  rm -f conftest.er1
3693
 
  cat conftest.err >&5
3694
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3695
 
  (exit $ac_status); } >/dev/null && {
3696
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3697
 
         test ! -s conftest.err
3698
 
       }; then
 
3905
if ac_fn_c_try_cpp "$LINENO"; then :
3699
3906
  # Broken: success on invalid input.
3700
3907
continue
3701
3908
else
3702
 
  $as_echo "$as_me: failed program was:" >&5
3703
 
sed 's/^/| /' conftest.$ac_ext >&5
3704
 
 
3705
3909
  # Passes both tests.
3706
3910
ac_preproc_ok=:
3707
3911
break
3708
3912
fi
3709
 
 
3710
3913
rm -f conftest.err conftest.$ac_ext
3711
3914
 
3712
3915
done
3713
3916
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3714
3917
rm -f conftest.err conftest.$ac_ext
3715
 
if $ac_preproc_ok; then
 
3918
if $ac_preproc_ok; then :
3716
3919
  break
3717
3920
fi
3718
3921
 
3724
3927
else
3725
3928
  ac_cv_prog_CPP=$CPP
3726
3929
fi
3727
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3930
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3728
3931
$as_echo "$CPP" >&6; }
3729
3932
ac_preproc_ok=false
3730
3933
for ac_c_preproc_warn_flag in '' yes
3735
3938
  # <limits.h> exists even on freestanding compilers.
3736
3939
  # On the NeXT, cc -E runs the code through the compiler's parser,
3737
3940
  # not just through cpp. "Syntax error" is here to catch this case.
3738
 
  cat >conftest.$ac_ext <<_ACEOF
3739
 
/* confdefs.h.  */
3740
 
_ACEOF
3741
 
cat confdefs.h >>conftest.$ac_ext
3742
 
cat >>conftest.$ac_ext <<_ACEOF
 
3941
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3743
3942
/* end confdefs.h.  */
3744
3943
#ifdef __STDC__
3745
3944
# include <limits.h>
3748
3947
#endif
3749
3948
                     Syntax error
3750
3949
_ACEOF
3751
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3752
 
case "(($ac_try" in
3753
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754
 
  *) ac_try_echo=$ac_try;;
3755
 
esac
3756
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3757
 
$as_echo "$ac_try_echo") >&5
3758
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3759
 
  ac_status=$?
3760
 
  grep -v '^ *+' conftest.er1 >conftest.err
3761
 
  rm -f conftest.er1
3762
 
  cat conftest.err >&5
3763
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764
 
  (exit $ac_status); } >/dev/null && {
3765
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3766
 
         test ! -s conftest.err
3767
 
       }; then
3768
 
  :
 
3950
if ac_fn_c_try_cpp "$LINENO"; then :
 
3951
 
3769
3952
else
3770
 
  $as_echo "$as_me: failed program was:" >&5
3771
 
sed 's/^/| /' conftest.$ac_ext >&5
3772
 
 
3773
3953
  # Broken: fails on valid input.
3774
3954
continue
3775
3955
fi
3776
 
 
3777
3956
rm -f conftest.err conftest.$ac_ext
3778
3957
 
3779
3958
  # OK, works on sane cases.  Now check whether nonexistent headers
3780
3959
  # can be detected and how.
3781
 
  cat >conftest.$ac_ext <<_ACEOF
3782
 
/* confdefs.h.  */
3783
 
_ACEOF
3784
 
cat confdefs.h >>conftest.$ac_ext
3785
 
cat >>conftest.$ac_ext <<_ACEOF
 
3960
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786
3961
/* end confdefs.h.  */
3787
3962
#include <ac_nonexistent.h>
3788
3963
_ACEOF
3789
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3790
 
case "(($ac_try" in
3791
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792
 
  *) ac_try_echo=$ac_try;;
3793
 
esac
3794
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3795
 
$as_echo "$ac_try_echo") >&5
3796
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3797
 
  ac_status=$?
3798
 
  grep -v '^ *+' conftest.er1 >conftest.err
3799
 
  rm -f conftest.er1
3800
 
  cat conftest.err >&5
3801
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802
 
  (exit $ac_status); } >/dev/null && {
3803
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804
 
         test ! -s conftest.err
3805
 
       }; then
 
3964
if ac_fn_c_try_cpp "$LINENO"; then :
3806
3965
  # Broken: success on invalid input.
3807
3966
continue
3808
3967
else
3809
 
  $as_echo "$as_me: failed program was:" >&5
3810
 
sed 's/^/| /' conftest.$ac_ext >&5
3811
 
 
3812
3968
  # Passes both tests.
3813
3969
ac_preproc_ok=:
3814
3970
break
3815
3971
fi
3816
 
 
3817
3972
rm -f conftest.err conftest.$ac_ext
3818
3973
 
3819
3974
done
3820
3975
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3821
3976
rm -f conftest.err conftest.$ac_ext
3822
 
if $ac_preproc_ok; then
3823
 
  :
 
3977
if $ac_preproc_ok; then :
 
3978
 
3824
3979
else
3825
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3980
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3826
3981
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3827
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3828
 
See \`config.log' for more details." >&5
3829
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3830
 
See \`config.log' for more details." >&2;}
3831
 
   { (exit 1); exit 1; }; }; }
 
3982
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
3983
See \`config.log' for more details." "$LINENO" 5; }
3832
3984
fi
3833
3985
 
3834
3986
ac_ext=c
3838
3990
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3839
3991
 
3840
3992
 
3841
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3842
3994
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3843
 
if test "${ac_cv_path_GREP+set}" = set; then
 
3995
if test "${ac_cv_path_GREP+set}" = set; then :
3844
3996
  $as_echo_n "(cached) " >&6
3845
3997
else
3846
3998
  if test -z "$GREP"; then
3851
4003
do
3852
4004
  IFS=$as_save_IFS
3853
4005
  test -z "$as_dir" && as_dir=.
3854
 
  for ac_prog in grep ggrep; do
 
4006
    for ac_prog in grep ggrep; do
3855
4007
    for ac_exec_ext in '' $ac_executable_extensions; do
3856
4008
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3857
4009
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3871
4023
    $as_echo 'GREP' >> "conftest.nl"
3872
4024
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3873
4025
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3874
 
    ac_count=`expr $ac_count + 1`
 
4026
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3875
4027
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3876
4028
      # Best one so far, save it but keep looking for a better one
3877
4029
      ac_cv_path_GREP="$ac_path_GREP"
3886
4038
      $ac_path_GREP_found && break 3
3887
4039
    done
3888
4040
  done
3889
 
done
 
4041
  done
3890
4042
IFS=$as_save_IFS
3891
4043
  if test -z "$ac_cv_path_GREP"; then
3892
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3893
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3894
 
   { (exit 1); exit 1; }; }
 
4044
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3895
4045
  fi
3896
4046
else
3897
4047
  ac_cv_path_GREP=$GREP
3898
4048
fi
3899
4049
 
3900
4050
fi
3901
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3902
4052
$as_echo "$ac_cv_path_GREP" >&6; }
3903
4053
 GREP="$ac_cv_path_GREP"
3904
4054
 
3905
4055
 
3906
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3907
4057
$as_echo_n "checking for egrep... " >&6; }
3908
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4058
if test "${ac_cv_path_EGREP+set}" = set; then :
3909
4059
  $as_echo_n "(cached) " >&6
3910
4060
else
3911
4061
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3919
4069
do
3920
4070
  IFS=$as_save_IFS
3921
4071
  test -z "$as_dir" && as_dir=.
3922
 
  for ac_prog in egrep; do
 
4072
    for ac_prog in egrep; do
3923
4073
    for ac_exec_ext in '' $ac_executable_extensions; do
3924
4074
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3925
4075
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3939
4089
    $as_echo 'EGREP' >> "conftest.nl"
3940
4090
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3941
4091
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3942
 
    ac_count=`expr $ac_count + 1`
 
4092
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3943
4093
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3944
4094
      # Best one so far, save it but keep looking for a better one
3945
4095
      ac_cv_path_EGREP="$ac_path_EGREP"
3954
4104
      $ac_path_EGREP_found && break 3
3955
4105
    done
3956
4106
  done
3957
 
done
 
4107
  done
3958
4108
IFS=$as_save_IFS
3959
4109
  if test -z "$ac_cv_path_EGREP"; then
3960
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3961
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3962
 
   { (exit 1); exit 1; }; }
 
4110
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3963
4111
  fi
3964
4112
else
3965
4113
  ac_cv_path_EGREP=$EGREP
3967
4115
 
3968
4116
   fi
3969
4117
fi
3970
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3971
4119
$as_echo "$ac_cv_path_EGREP" >&6; }
3972
4120
 EGREP="$ac_cv_path_EGREP"
3973
4121
 
3974
4122
 
3975
4123
 
3976
4124
    ICC="no"
3977
 
    { $as_echo "$as_me:$LINENO: checking for icc in use" >&5
 
4125
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icc in use" >&5
3978
4126
$as_echo_n "checking for icc in use... " >&6; }
3979
4127
    if test "$GCC" = "yes"; then
3980
 
              cat >conftest.$ac_ext <<_ACEOF
3981
 
/* confdefs.h.  */
3982
 
_ACEOF
3983
 
cat confdefs.h >>conftest.$ac_ext
3984
 
cat >>conftest.$ac_ext <<_ACEOF
 
4128
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985
4129
/* end confdefs.h.  */
3986
4130
__INTEL_COMPILER
3987
4131
_ACEOF
3988
4132
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3989
 
  $EGREP "^__INTEL_COMPILER" >/dev/null 2>&1; then
3990
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4133
  $EGREP "^__INTEL_COMPILER" >/dev/null 2>&1; then :
 
4134
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3991
4135
$as_echo "no" >&6; }
3992
4136
 
3993
4137
else
3994
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3995
4139
$as_echo "yes" >&6; }
3996
4140
 
3997
4141
         ICC="yes"
3999
4143
rm -f conftest*
4000
4144
 
4001
4145
    else
4002
 
       { $as_echo "$as_me:$LINENO: result: no" >&5
 
4146
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003
4147
$as_echo "no" >&6; }
4004
4148
 
4005
4149
    fi
4007
4151
 
4008
4152
 
4009
4153
 
4010
 
 
4011
 
    SUNCC="no"
4012
 
    { $as_echo "$as_me:$LINENO: checking for Sun cc in use" >&5
4013
 
$as_echo_n "checking for Sun cc in use... " >&6; }
4014
 
    if test "$cross_compiling" = yes; then
4015
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4016
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017
 
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4018
 
See \`config.log' for more details." >&5
4019
 
$as_echo "$as_me: error: cannot run test program while cross compiling
4020
 
See \`config.log' for more details." >&2;}
4021
 
   { (exit 1); exit 1; }; }; }
 
4154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4155
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4156
if test "${ac_cv_header_stdc+set}" = set; then :
 
4157
  $as_echo_n "(cached) " >&6
4022
4158
else
4023
 
  cat >conftest.$ac_ext <<_ACEOF
4024
 
/* confdefs.h.  */
4025
 
_ACEOF
4026
 
cat confdefs.h >>conftest.$ac_ext
4027
 
cat >>conftest.$ac_ext <<_ACEOF
 
4159
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4028
4160
/* end confdefs.h.  */
 
4161
#include <stdlib.h>
 
4162
#include <stdarg.h>
 
4163
#include <string.h>
 
4164
#include <float.h>
4029
4165
 
4030
4166
int
4031
4167
main ()
4032
4168
{
4033
 
#ifdef __SUNPRO_C
4034
 
   return 0;
 
4169
 
 
4170
  ;
 
4171
  return 0;
 
4172
}
 
4173
_ACEOF
 
4174
if ac_fn_c_try_compile "$LINENO"; then :
 
4175
  ac_cv_header_stdc=yes
 
4176
else
 
4177
  ac_cv_header_stdc=no
 
4178
fi
 
4179
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4180
 
 
4181
if test $ac_cv_header_stdc = yes; then
 
4182
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4183
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4184
/* end confdefs.h.  */
 
4185
#include <string.h>
 
4186
 
 
4187
_ACEOF
 
4188
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4189
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4190
 
 
4191
else
 
4192
  ac_cv_header_stdc=no
 
4193
fi
 
4194
rm -f conftest*
 
4195
 
 
4196
fi
 
4197
 
 
4198
if test $ac_cv_header_stdc = yes; then
 
4199
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4200
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4201
/* end confdefs.h.  */
 
4202
#include <stdlib.h>
 
4203
 
 
4204
_ACEOF
 
4205
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4206
  $EGREP "free" >/dev/null 2>&1; then :
 
4207
 
 
4208
else
 
4209
  ac_cv_header_stdc=no
 
4210
fi
 
4211
rm -f conftest*
 
4212
 
 
4213
fi
 
4214
 
 
4215
if test $ac_cv_header_stdc = yes; then
 
4216
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4217
  if test "$cross_compiling" = yes; then :
 
4218
  :
 
4219
else
 
4220
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4221
/* end confdefs.h.  */
 
4222
#include <ctype.h>
 
4223
#include <stdlib.h>
 
4224
#if ((' ' & 0x0FF) == 0x020)
 
4225
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4226
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4035
4227
#else
4036
 
   return 1;
 
4228
# define ISLOWER(c) \
 
4229
                   (('a' <= (c) && (c) <= 'i') \
 
4230
                     || ('j' <= (c) && (c) <= 'r') \
 
4231
                     || ('s' <= (c) && (c) <= 'z'))
 
4232
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4037
4233
#endif
4038
4234
 
4039
 
  ;
 
4235
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4236
int
 
4237
main ()
 
4238
{
 
4239
  int i;
 
4240
  for (i = 0; i < 256; i++)
 
4241
    if (XOR (islower (i), ISLOWER (i))
 
4242
        || toupper (i) != TOUPPER (i))
 
4243
      return 2;
4040
4244
  return 0;
4041
4245
}
4042
 
 
4043
 
_ACEOF
4044
 
rm -f conftest$ac_exeext
4045
 
if { (ac_try="$ac_link"
4046
 
case "(($ac_try" in
4047
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048
 
  *) ac_try_echo=$ac_try;;
4049
 
esac
4050
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4051
 
$as_echo "$ac_try_echo") >&5
4052
 
  (eval "$ac_link") 2>&5
4053
 
  ac_status=$?
4054
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4056
 
  { (case "(($ac_try" in
4057
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058
 
  *) ac_try_echo=$ac_try;;
4059
 
esac
4060
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4061
 
$as_echo "$ac_try_echo") >&5
4062
 
  (eval "$ac_try") 2>&5
4063
 
  ac_status=$?
4064
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065
 
  (exit $ac_status); }; }; then
4066
 
 
4067
 
       { $as_echo "$as_me:$LINENO: result: yes" >&5
4068
 
$as_echo "yes" >&6; }
4069
 
       CFLAGS="-mt $CFLAGS"
4070
 
       SUNCC="yes"
4071
 
 
4072
 
else
4073
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4074
 
$as_echo "$as_me: failed program was:" >&5
4075
 
sed 's/^/| /' conftest.$ac_ext >&5
4076
 
 
4077
 
( exit $ac_status )
4078
 
 
4079
 
       { $as_echo "$as_me:$LINENO: result: no" >&5
4080
 
$as_echo "no" >&6; }
4081
 
 
4082
 
 
4083
 
fi
4084
 
rm -rf conftest.dSYM
4085
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4086
 
fi
4087
 
 
 
4246
_ACEOF
 
4247
if ac_fn_c_try_run "$LINENO"; then :
 
4248
 
 
4249
else
 
4250
  ac_cv_header_stdc=no
 
4251
fi
 
4252
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4253
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4254
fi
 
4255
 
 
4256
fi
 
4257
fi
 
4258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4259
$as_echo "$ac_cv_header_stdc" >&6; }
 
4260
if test $ac_cv_header_stdc = yes; then
 
4261
 
 
4262
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
4263
 
 
4264
fi
 
4265
 
 
4266
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4267
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4268
                  inttypes.h stdint.h unistd.h
 
4269
do :
 
4270
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4271
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4272
"
 
4273
eval as_val=\$$as_ac_Header
 
4274
   if test "x$as_val" = x""yes; then :
 
4275
  cat >>confdefs.h <<_ACEOF
 
4276
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4277
_ACEOF
 
4278
 
 
4279
fi
 
4280
 
 
4281
done
 
4282
 
 
4283
 
 
4284
 
 
4285
    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4286
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
 
4287
  SUNCC="yes"
 
4288
else
 
4289
  SUNCC="no"
 
4290
fi
 
4291
 
 
4292
    if test "x$SUNCC" = "xyes"; then :
 
4293
  CFLAGS="-mt $CFLAGS"
 
4294
fi
4088
4295
 
4089
4296
 
4090
4297
 
4091
4298
if test "$ICC" = "no"; then
4092
 
   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
 
4299
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4093
4300
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4094
 
if test "${ac_cv_prog_cc_c99+set}" = set; then
 
4301
if test "${ac_cv_prog_cc_c99+set}" = set; then :
4095
4302
  $as_echo_n "(cached) " >&6
4096
4303
else
4097
4304
  ac_cv_prog_cc_c99=no
4098
4305
ac_save_CC=$CC
4099
 
cat >conftest.$ac_ext <<_ACEOF
4100
 
/* confdefs.h.  */
4101
 
_ACEOF
4102
 
cat confdefs.h >>conftest.$ac_ext
4103
 
cat >>conftest.$ac_ext <<_ACEOF
 
4306
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104
4307
/* end confdefs.h.  */
4105
4308
#include <stdarg.h>
4106
4309
#include <stdbool.h>
4242
4445
for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
4243
4446
do
4244
4447
  CC="$ac_save_CC $ac_arg"
4245
 
  rm -f conftest.$ac_objext
4246
 
if { (ac_try="$ac_compile"
4247
 
case "(($ac_try" in
4248
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4249
 
  *) ac_try_echo=$ac_try;;
4250
 
esac
4251
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4252
 
$as_echo "$ac_try_echo") >&5
4253
 
  (eval "$ac_compile") 2>conftest.er1
4254
 
  ac_status=$?
4255
 
  grep -v '^ *+' conftest.er1 >conftest.err
4256
 
  rm -f conftest.er1
4257
 
  cat conftest.err >&5
4258
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259
 
  (exit $ac_status); } && {
4260
 
         test -z "$ac_c_werror_flag" ||
4261
 
         test ! -s conftest.err
4262
 
       } && test -s conftest.$ac_objext; then
 
4448
  if ac_fn_c_try_compile "$LINENO"; then :
4263
4449
  ac_cv_prog_cc_c99=$ac_arg
4264
 
else
4265
 
  $as_echo "$as_me: failed program was:" >&5
4266
 
sed 's/^/| /' conftest.$ac_ext >&5
4267
 
 
4268
 
 
4269
4450
fi
4270
 
 
4271
4451
rm -f core conftest.err conftest.$ac_objext
4272
4452
  test "x$ac_cv_prog_cc_c99" != "xno" && break
4273
4453
done
4278
4458
# AC_CACHE_VAL
4279
4459
case "x$ac_cv_prog_cc_c99" in
4280
4460
  x)
4281
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4461
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4282
4462
$as_echo "none needed" >&6; } ;;
4283
4463
  xno)
4284
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4464
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4285
4465
$as_echo "unsupported" >&6; } ;;
4286
4466
  *)
4287
4467
    CC="$CC $ac_cv_prog_cc_c99"
4288
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
 
4468
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4289
4469
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4290
4470
esac
 
4471
if test "x$ac_cv_prog_cc_c99" != xno; then :
4291
4472
 
 
4473
fi
4292
4474
 
4293
4475
fi
4294
4476
 
4295
4477
if test "x$CC" != xcc; then
4296
 
  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
4478
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4297
4479
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4298
4480
else
4299
 
  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
4481
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4300
4482
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4301
4483
fi
4302
4484
set dummy $CC; ac_cc=`$as_echo "$2" |
4303
4485
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4304
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 
4486
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4305
4487
  $as_echo_n "(cached) " >&6
4306
4488
else
4307
 
  cat >conftest.$ac_ext <<_ACEOF
4308
 
/* confdefs.h.  */
4309
 
_ACEOF
4310
 
cat confdefs.h >>conftest.$ac_ext
4311
 
cat >>conftest.$ac_ext <<_ACEOF
 
4489
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312
4490
/* end confdefs.h.  */
4313
4491
 
4314
4492
int
4324
4502
# existing .o file with -o, though they will create one.
4325
4503
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4326
4504
rm -f conftest2.*
4327
 
if { (case "(($ac_try" in
4328
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4329
 
  *) ac_try_echo=$ac_try;;
4330
 
esac
4331
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4332
 
$as_echo "$ac_try_echo") >&5
4333
 
  (eval "$ac_try") 2>&5
4334
 
  ac_status=$?
4335
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336
 
  (exit $ac_status); } &&
4337
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
4338
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339
 
  *) ac_try_echo=$ac_try;;
4340
 
esac
4341
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4342
 
$as_echo "$ac_try_echo") >&5
4343
 
  (eval "$ac_try") 2>&5
4344
 
  ac_status=$?
4345
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346
 
  (exit $ac_status); };
 
4505
if { { case "(($ac_try" in
 
4506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4507
  *) ac_try_echo=$ac_try;;
 
4508
esac
 
4509
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4510
$as_echo "$ac_try_echo"; } >&5
 
4511
  (eval "$ac_try") 2>&5
 
4512
  ac_status=$?
 
4513
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4514
  test $ac_status = 0; } &&
 
4515
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
4516
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4517
  *) ac_try_echo=$ac_try;;
 
4518
esac
 
4519
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4520
$as_echo "$ac_try_echo"; } >&5
 
4521
  (eval "$ac_try") 2>&5
 
4522
  ac_status=$?
 
4523
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4524
  test $ac_status = 0; };
4347
4525
then
4348
4526
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4349
4527
  if test "x$CC" != xcc; then
4350
4528
    # Test first that cc exists at all.
4351
4529
    if { ac_try='cc -c conftest.$ac_ext >&5'
4352
 
  { (case "(($ac_try" in
 
4530
  { { case "(($ac_try" in
4353
4531
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354
4532
  *) ac_try_echo=$ac_try;;
4355
4533
esac
4356
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4357
 
$as_echo "$ac_try_echo") >&5
 
4534
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4535
$as_echo "$ac_try_echo"; } >&5
4358
4536
  (eval "$ac_try") 2>&5
4359
4537
  ac_status=$?
4360
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361
 
  (exit $ac_status); }; }; then
 
4538
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4539
  test $ac_status = 0; }; }; then
4362
4540
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4363
4541
      rm -f conftest2.*
4364
 
      if { (case "(($ac_try" in
4365
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366
 
  *) ac_try_echo=$ac_try;;
4367
 
esac
4368
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4369
 
$as_echo "$ac_try_echo") >&5
4370
 
  (eval "$ac_try") 2>&5
4371
 
  ac_status=$?
4372
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373
 
  (exit $ac_status); } &&
4374
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
4375
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376
 
  *) ac_try_echo=$ac_try;;
4377
 
esac
4378
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4379
 
$as_echo "$ac_try_echo") >&5
4380
 
  (eval "$ac_try") 2>&5
4381
 
  ac_status=$?
4382
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383
 
  (exit $ac_status); };
 
4542
      if { { case "(($ac_try" in
 
4543
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4544
  *) ac_try_echo=$ac_try;;
 
4545
esac
 
4546
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4547
$as_echo "$ac_try_echo"; } >&5
 
4548
  (eval "$ac_try") 2>&5
 
4549
  ac_status=$?
 
4550
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4551
  test $ac_status = 0; } &&
 
4552
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
4553
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4554
  *) ac_try_echo=$ac_try;;
 
4555
esac
 
4556
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4557
$as_echo "$ac_try_echo"; } >&5
 
4558
  (eval "$ac_try") 2>&5
 
4559
  ac_status=$?
 
4560
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4561
  test $ac_status = 0; };
4384
4562
      then
4385
4563
        # cc works too.
4386
4564
        :
4397
4575
 
4398
4576
fi
4399
4577
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4400
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4578
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4401
4579
$as_echo "yes" >&6; }
4402
4580
else
4403
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4581
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404
4582
$as_echo "no" >&6; }
4405
4583
 
4406
 
cat >>confdefs.h <<\_ACEOF
4407
 
#define NO_MINUS_C_MINUS_O 1
4408
 
_ACEOF
 
4584
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4409
4585
 
4410
4586
fi
4411
4587
 
4424
4600
fi
4425
4601
 
4426
4602
 
4427
 
# Find a good install program.  We prefer a C program (faster),
4428
 
# so one script is as good as another.  But avoid the broken or
4429
 
# incompatible versions:
4430
 
# SysV /etc/install, /usr/sbin/install
4431
 
# SunOS /usr/etc/install
4432
 
# IRIX /sbin/install
4433
 
# AIX /bin/install
4434
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
4435
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4436
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4437
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4438
 
# OS/2's system install, which has a completely different semantic
4439
 
# ./install, which can be erroneously created by make from ./install.sh.
4440
 
# Reject install programs that cannot install multiple files.
4441
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4442
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
4443
 
if test -z "$INSTALL"; then
4444
 
if test "${ac_cv_path_install+set}" = set; then
4445
 
  $as_echo_n "(cached) " >&6
4446
 
else
4447
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448
 
for as_dir in $PATH
4449
 
do
4450
 
  IFS=$as_save_IFS
4451
 
  test -z "$as_dir" && as_dir=.
4452
 
  # Account for people who put trailing slashes in PATH elements.
4453
 
case $as_dir/ in
4454
 
  ./ | .// | /cC/* | \
4455
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4456
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4457
 
  /usr/ucb/* ) ;;
4458
 
  *)
4459
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
4460
 
    # Don't use installbsd from OSF since it installs stuff as root
4461
 
    # by default.
4462
 
    for ac_prog in ginstall scoinst install; do
4463
 
      for ac_exec_ext in '' $ac_executable_extensions; do
4464
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4465
 
          if test $ac_prog = install &&
4466
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4467
 
            # AIX install.  It has an incompatible calling convention.
4468
 
            :
4469
 
          elif test $ac_prog = install &&
4470
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4471
 
            # program-specific install script used by HP pwplus--don't use.
4472
 
            :
4473
 
          else
4474
 
            rm -rf conftest.one conftest.two conftest.dir
4475
 
            echo one > conftest.one
4476
 
            echo two > conftest.two
4477
 
            mkdir conftest.dir
4478
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4479
 
              test -s conftest.one && test -s conftest.two &&
4480
 
              test -s conftest.dir/conftest.one &&
4481
 
              test -s conftest.dir/conftest.two
4482
 
            then
4483
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4484
 
              break 3
4485
 
            fi
4486
 
          fi
4487
 
        fi
4488
 
      done
4489
 
    done
4490
 
    ;;
4491
 
esac
4492
 
 
4493
 
done
4494
 
IFS=$as_save_IFS
4495
 
 
4496
 
rm -rf conftest.one conftest.two conftest.dir
4497
 
 
4498
 
fi
4499
 
  if test "${ac_cv_path_install+set}" = set; then
4500
 
    INSTALL=$ac_cv_path_install
4501
 
  else
4502
 
    # As a last resort, use the slow shell script.  Don't cache a
4503
 
    # value for INSTALL within a source directory, because that will
4504
 
    # break other packages using the cache if that directory is
4505
 
    # removed, or if the value is a relative name.
4506
 
    INSTALL=$ac_install_sh
4507
 
  fi
4508
 
fi
4509
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4510
 
$as_echo "$INSTALL" >&6; }
4511
 
 
4512
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4513
 
# It thinks the first close brace ends the variable substitution.
4514
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4515
 
 
4516
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4517
 
 
4518
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4519
4603
 
4520
4604
 
4521
4605
# Check whether --enable-sasl was given.
4522
 
if test "${enable_sasl+set}" = set; then
 
4606
if test "${enable_sasl+set}" = set; then :
4523
4607
  enableval=$enable_sasl;
4524
4608
fi
4525
4609
 
4526
4610
 
4527
4611
# Check whether --enable-sasl_pwdb was given.
4528
 
if test "${enable_sasl_pwdb+set}" = set; then
 
4612
if test "${enable_sasl_pwdb+set}" = set; then :
4529
4613
  enableval=$enable_sasl_pwdb;
4530
4614
fi
4531
4615
 
4532
4616
 
4533
 
if test "x$enable_sasl_pwdb" = "xyes"; then
 
4617
if test "x$enable_sasl_pwdb" = "xyes"; then :
4534
4618
  enable_sasl=yes
4535
4619
fi
4536
4620
 
4537
4621
 
4538
4622
 
4539
4623
 
4540
 
 
4541
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4542
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4543
 
if test "${ac_cv_header_stdc+set}" = set; then
4544
 
  $as_echo_n "(cached) " >&6
4545
 
else
4546
 
  cat >conftest.$ac_ext <<_ACEOF
4547
 
/* confdefs.h.  */
4548
 
_ACEOF
4549
 
cat confdefs.h >>conftest.$ac_ext
4550
 
cat >>conftest.$ac_ext <<_ACEOF
4551
 
/* end confdefs.h.  */
4552
 
#include <stdlib.h>
4553
 
#include <stdarg.h>
4554
 
#include <string.h>
4555
 
#include <float.h>
4556
 
 
4557
 
int
4558
 
main ()
4559
 
{
4560
 
 
4561
 
  ;
4562
 
  return 0;
4563
 
}
4564
 
_ACEOF
4565
 
rm -f conftest.$ac_objext
4566
 
if { (ac_try="$ac_compile"
4567
 
case "(($ac_try" in
4568
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4569
 
  *) ac_try_echo=$ac_try;;
4570
 
esac
4571
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4572
 
$as_echo "$ac_try_echo") >&5
4573
 
  (eval "$ac_compile") 2>conftest.er1
4574
 
  ac_status=$?
4575
 
  grep -v '^ *+' conftest.er1 >conftest.err
4576
 
  rm -f conftest.er1
4577
 
  cat conftest.err >&5
4578
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579
 
  (exit $ac_status); } && {
4580
 
         test -z "$ac_c_werror_flag" ||
4581
 
         test ! -s conftest.err
4582
 
       } && test -s conftest.$ac_objext; then
4583
 
  ac_cv_header_stdc=yes
4584
 
else
4585
 
  $as_echo "$as_me: failed program was:" >&5
4586
 
sed 's/^/| /' conftest.$ac_ext >&5
4587
 
 
4588
 
        ac_cv_header_stdc=no
4589
 
fi
4590
 
 
4591
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592
 
 
4593
 
if test $ac_cv_header_stdc = yes; then
4594
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4595
 
  cat >conftest.$ac_ext <<_ACEOF
4596
 
/* confdefs.h.  */
4597
 
_ACEOF
4598
 
cat confdefs.h >>conftest.$ac_ext
4599
 
cat >>conftest.$ac_ext <<_ACEOF
4600
 
/* end confdefs.h.  */
4601
 
#include <string.h>
4602
 
 
4603
 
_ACEOF
4604
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4605
 
  $EGREP "memchr" >/dev/null 2>&1; then
4606
 
  :
4607
 
else
4608
 
  ac_cv_header_stdc=no
4609
 
fi
4610
 
rm -f conftest*
4611
 
 
4612
 
fi
4613
 
 
4614
 
if test $ac_cv_header_stdc = yes; then
4615
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4616
 
  cat >conftest.$ac_ext <<_ACEOF
4617
 
/* confdefs.h.  */
4618
 
_ACEOF
4619
 
cat confdefs.h >>conftest.$ac_ext
4620
 
cat >>conftest.$ac_ext <<_ACEOF
4621
 
/* end confdefs.h.  */
4622
 
#include <stdlib.h>
4623
 
 
4624
 
_ACEOF
4625
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4626
 
  $EGREP "free" >/dev/null 2>&1; then
4627
 
  :
4628
 
else
4629
 
  ac_cv_header_stdc=no
4630
 
fi
4631
 
rm -f conftest*
4632
 
 
4633
 
fi
4634
 
 
4635
 
if test $ac_cv_header_stdc = yes; then
4636
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4637
 
  if test "$cross_compiling" = yes; then
4638
 
  :
4639
 
else
4640
 
  cat >conftest.$ac_ext <<_ACEOF
4641
 
/* confdefs.h.  */
4642
 
_ACEOF
4643
 
cat confdefs.h >>conftest.$ac_ext
4644
 
cat >>conftest.$ac_ext <<_ACEOF
4645
 
/* end confdefs.h.  */
4646
 
#include <ctype.h>
4647
 
#include <stdlib.h>
4648
 
#if ((' ' & 0x0FF) == 0x020)
4649
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4650
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4651
 
#else
4652
 
# define ISLOWER(c) \
4653
 
                   (('a' <= (c) && (c) <= 'i') \
4654
 
                     || ('j' <= (c) && (c) <= 'r') \
4655
 
                     || ('s' <= (c) && (c) <= 'z'))
4656
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4657
 
#endif
4658
 
 
4659
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4660
 
int
4661
 
main ()
4662
 
{
4663
 
  int i;
4664
 
  for (i = 0; i < 256; i++)
4665
 
    if (XOR (islower (i), ISLOWER (i))
4666
 
        || toupper (i) != TOUPPER (i))
4667
 
      return 2;
4668
 
  return 0;
4669
 
}
4670
 
_ACEOF
4671
 
rm -f conftest$ac_exeext
4672
 
if { (ac_try="$ac_link"
4673
 
case "(($ac_try" in
4674
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4675
 
  *) ac_try_echo=$ac_try;;
4676
 
esac
4677
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4678
 
$as_echo "$ac_try_echo") >&5
4679
 
  (eval "$ac_link") 2>&5
4680
 
  ac_status=$?
4681
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4683
 
  { (case "(($ac_try" in
4684
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4685
 
  *) ac_try_echo=$ac_try;;
4686
 
esac
4687
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4688
 
$as_echo "$ac_try_echo") >&5
4689
 
  (eval "$ac_try") 2>&5
4690
 
  ac_status=$?
4691
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692
 
  (exit $ac_status); }; }; then
4693
 
  :
4694
 
else
4695
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4696
 
$as_echo "$as_me: failed program was:" >&5
4697
 
sed 's/^/| /' conftest.$ac_ext >&5
4698
 
 
4699
 
( exit $ac_status )
4700
 
ac_cv_header_stdc=no
4701
 
fi
4702
 
rm -rf conftest.dSYM
4703
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4704
 
fi
4705
 
 
4706
 
 
4707
 
fi
4708
 
fi
4709
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4710
 
$as_echo "$ac_cv_header_stdc" >&6; }
4711
 
if test $ac_cv_header_stdc = yes; then
4712
 
 
4713
 
cat >>confdefs.h <<\_ACEOF
4714
 
#define STDC_HEADERS 1
4715
 
_ACEOF
4716
 
 
4717
 
fi
4718
 
 
4719
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4720
 
 
4721
 
 
4722
 
 
4723
 
 
4724
 
 
4725
 
 
4726
 
 
4727
 
 
4728
 
 
4729
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4730
 
                  inttypes.h stdint.h unistd.h
4731
 
do
4732
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4733
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4734
 
$as_echo_n "checking for $ac_header... " >&6; }
4735
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4736
 
  $as_echo_n "(cached) " >&6
4737
 
else
4738
 
  cat >conftest.$ac_ext <<_ACEOF
4739
 
/* confdefs.h.  */
4740
 
_ACEOF
4741
 
cat confdefs.h >>conftest.$ac_ext
4742
 
cat >>conftest.$ac_ext <<_ACEOF
4743
 
/* end confdefs.h.  */
4744
 
$ac_includes_default
4745
 
 
4746
 
#include <$ac_header>
4747
 
_ACEOF
4748
 
rm -f conftest.$ac_objext
4749
 
if { (ac_try="$ac_compile"
4750
 
case "(($ac_try" in
4751
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4752
 
  *) ac_try_echo=$ac_try;;
4753
 
esac
4754
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4755
 
$as_echo "$ac_try_echo") >&5
4756
 
  (eval "$ac_compile") 2>conftest.er1
4757
 
  ac_status=$?
4758
 
  grep -v '^ *+' conftest.er1 >conftest.err
4759
 
  rm -f conftest.er1
4760
 
  cat conftest.err >&5
4761
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762
 
  (exit $ac_status); } && {
4763
 
         test -z "$ac_c_werror_flag" ||
4764
 
         test ! -s conftest.err
4765
 
       } && test -s conftest.$ac_objext; then
4766
 
  eval "$as_ac_Header=yes"
4767
 
else
4768
 
  $as_echo "$as_me: failed program was:" >&5
4769
 
sed 's/^/| /' conftest.$ac_ext >&5
4770
 
 
4771
 
        eval "$as_ac_Header=no"
4772
 
fi
4773
 
 
4774
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775
 
fi
4776
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4777
 
                 $as_echo "$as_val"'`
4778
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4779
 
$as_echo "$ac_res" >&6; }
4780
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4781
 
                 $as_echo "$as_val"'`
4782
 
   if test "x$as_val" = x""yes; then
4783
 
  cat >>confdefs.h <<_ACEOF
4784
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4785
 
_ACEOF
4786
 
 
4787
 
fi
4788
 
 
4789
 
done
4790
 
 
4791
 
 
4792
 
 
4793
4624
for ac_header in sasl/sasl.h
4794
 
do
4795
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4796
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4797
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4798
 
$as_echo_n "checking for $ac_header... " >&6; }
4799
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4800
 
  $as_echo_n "(cached) " >&6
4801
 
fi
4802
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4803
 
                 $as_echo "$as_val"'`
4804
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4805
 
$as_echo "$ac_res" >&6; }
4806
 
else
4807
 
  # Is the header compilable?
4808
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4809
 
$as_echo_n "checking $ac_header usability... " >&6; }
4810
 
cat >conftest.$ac_ext <<_ACEOF
4811
 
/* confdefs.h.  */
4812
 
_ACEOF
4813
 
cat confdefs.h >>conftest.$ac_ext
4814
 
cat >>conftest.$ac_ext <<_ACEOF
4815
 
/* end confdefs.h.  */
4816
 
$ac_includes_default
4817
 
#include <$ac_header>
4818
 
_ACEOF
4819
 
rm -f conftest.$ac_objext
4820
 
if { (ac_try="$ac_compile"
4821
 
case "(($ac_try" in
4822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4823
 
  *) ac_try_echo=$ac_try;;
4824
 
esac
4825
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4826
 
$as_echo "$ac_try_echo") >&5
4827
 
  (eval "$ac_compile") 2>conftest.er1
4828
 
  ac_status=$?
4829
 
  grep -v '^ *+' conftest.er1 >conftest.err
4830
 
  rm -f conftest.er1
4831
 
  cat conftest.err >&5
4832
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833
 
  (exit $ac_status); } && {
4834
 
         test -z "$ac_c_werror_flag" ||
4835
 
         test ! -s conftest.err
4836
 
       } && test -s conftest.$ac_objext; then
4837
 
  ac_header_compiler=yes
4838
 
else
4839
 
  $as_echo "$as_me: failed program was:" >&5
4840
 
sed 's/^/| /' conftest.$ac_ext >&5
4841
 
 
4842
 
        ac_header_compiler=no
4843
 
fi
4844
 
 
4845
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4846
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4847
 
$as_echo "$ac_header_compiler" >&6; }
4848
 
 
4849
 
# Is the header present?
4850
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4851
 
$as_echo_n "checking $ac_header presence... " >&6; }
4852
 
cat >conftest.$ac_ext <<_ACEOF
4853
 
/* confdefs.h.  */
4854
 
_ACEOF
4855
 
cat confdefs.h >>conftest.$ac_ext
4856
 
cat >>conftest.$ac_ext <<_ACEOF
4857
 
/* end confdefs.h.  */
4858
 
#include <$ac_header>
4859
 
_ACEOF
4860
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4861
 
case "(($ac_try" in
4862
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863
 
  *) ac_try_echo=$ac_try;;
4864
 
esac
4865
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4866
 
$as_echo "$ac_try_echo") >&5
4867
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4868
 
  ac_status=$?
4869
 
  grep -v '^ *+' conftest.er1 >conftest.err
4870
 
  rm -f conftest.er1
4871
 
  cat conftest.err >&5
4872
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873
 
  (exit $ac_status); } >/dev/null && {
4874
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4875
 
         test ! -s conftest.err
4876
 
       }; then
4877
 
  ac_header_preproc=yes
4878
 
else
4879
 
  $as_echo "$as_me: failed program was:" >&5
4880
 
sed 's/^/| /' conftest.$ac_ext >&5
4881
 
 
4882
 
  ac_header_preproc=no
4883
 
fi
4884
 
 
4885
 
rm -f conftest.err conftest.$ac_ext
4886
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4887
 
$as_echo "$ac_header_preproc" >&6; }
4888
 
 
4889
 
# So?  What about this header?
4890
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4891
 
  yes:no: )
4892
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4893
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4894
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4895
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4896
 
    ac_header_preproc=yes
4897
 
    ;;
4898
 
  no:yes:* )
4899
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4900
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4901
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4902
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4903
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4904
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4905
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4906
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4907
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4908
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4909
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4910
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4911
 
    ( cat <<\_ASBOX
4912
 
## ----------------------------------------- ##
4913
 
## Report this to memcached@googlegroups.com ##
4914
 
## ----------------------------------------- ##
4915
 
_ASBOX
4916
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4917
 
    ;;
4918
 
esac
4919
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4920
 
$as_echo_n "checking for $ac_header... " >&6; }
4921
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4922
 
  $as_echo_n "(cached) " >&6
4923
 
else
4924
 
  eval "$as_ac_Header=\$ac_header_preproc"
4925
 
fi
4926
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4927
 
                 $as_echo "$as_val"'`
4928
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4929
 
$as_echo "$ac_res" >&6; }
4930
 
 
4931
 
fi
4932
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4933
 
                 $as_echo "$as_val"'`
4934
 
   if test "x$as_val" = x""yes; then
 
4625
do :
 
4626
  ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
 
4627
if test "x$ac_cv_header_sasl_sasl_h" = x""yes; then :
4935
4628
  cat >>confdefs.h <<_ACEOF
4936
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4629
#define HAVE_SASL_SASL_H 1
4937
4630
_ACEOF
4938
4631
 
4939
4632
fi
4942
4635
 
4943
4636
if test "x$enable_sasl" = "xyes"; then
4944
4637
 
4945
 
    { $as_echo "$as_me:$LINENO: checking for SASL_CB_GETCONF" >&5
 
4638
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SASL_CB_GETCONF" >&5
4946
4639
$as_echo_n "checking for SASL_CB_GETCONF... " >&6; }
4947
 
if test "${ac_cv_c_sasl_cb_getconf+set}" = set; then
 
4640
if test "${ac_cv_c_sasl_cb_getconf+set}" = set; then :
4948
4641
  $as_echo_n "(cached) " >&6
4949
4642
else
4950
 
  cat >conftest.$ac_ext <<_ACEOF
4951
 
/* confdefs.h.  */
4952
 
_ACEOF
4953
 
cat confdefs.h >>conftest.$ac_ext
4954
 
cat >>conftest.$ac_ext <<_ACEOF
 
4643
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955
4644
/* end confdefs.h.  */
4956
4645
 
4957
4646
#include <sasl/sasl.h>
4966
4655
  return 0;
4967
4656
}
4968
4657
_ACEOF
4969
 
rm -f conftest.$ac_objext
4970
 
if { (ac_try="$ac_compile"
4971
 
case "(($ac_try" in
4972
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4973
 
  *) ac_try_echo=$ac_try;;
4974
 
esac
4975
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4976
 
$as_echo "$ac_try_echo") >&5
4977
 
  (eval "$ac_compile") 2>conftest.er1
4978
 
  ac_status=$?
4979
 
  grep -v '^ *+' conftest.er1 >conftest.err
4980
 
  rm -f conftest.er1
4981
 
  cat conftest.err >&5
4982
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983
 
  (exit $ac_status); } && {
4984
 
         test -z "$ac_c_werror_flag" ||
4985
 
         test ! -s conftest.err
4986
 
       } && test -s conftest.$ac_objext; then
 
4658
if ac_fn_c_try_compile "$LINENO"; then :
4987
4659
   ac_cv_c_sasl_cb_getconf=yes
4988
4660
else
4989
 
  $as_echo "$as_me: failed program was:" >&5
4990
 
sed 's/^/| /' conftest.$ac_ext >&5
4991
 
 
4992
 
         ac_cv_c_sasl_cb_getconf=no
 
4661
   ac_cv_c_sasl_cb_getconf=no
4993
4662
fi
4994
 
 
4995
4663
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4996
4664
 
4997
4665
fi
4998
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_sasl_cb_getconf" >&5
 
4666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_sasl_cb_getconf" >&5
4999
4667
$as_echo "$ac_cv_c_sasl_cb_getconf" >&6; }
5000
 
    if test "$ac_cv_c_sasl_cb_getconf" = "yes"; then
 
4668
    if test "$ac_cv_c_sasl_cb_getconf" = "yes"; then :
5001
4669
 
5002
 
cat >>confdefs.h <<\_ACEOF
5003
 
#define HAVE_SASL_CB_GETCONF 1
5004
 
_ACEOF
 
4670
$as_echo "#define HAVE_SASL_CB_GETCONF 1" >>confdefs.h
5005
4671
 
5006
4672
fi
5007
4673
 
5008
4674
 
5009
 
 
5010
 
cat >>confdefs.h <<\_ACEOF
5011
 
#define ENABLE_SASL 1
5012
 
_ACEOF
5013
 
 
5014
 
  { $as_echo "$as_me:$LINENO: checking for library containing sasl_server_init" >&5
 
4675
$as_echo "#define ENABLE_SASL 1" >>confdefs.h
 
4676
 
 
4677
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sasl_server_init" >&5
5015
4678
$as_echo_n "checking for library containing sasl_server_init... " >&6; }
5016
 
if test "${ac_cv_search_sasl_server_init+set}" = set; then
 
4679
if test "${ac_cv_search_sasl_server_init+set}" = set; then :
5017
4680
  $as_echo_n "(cached) " >&6
5018
4681
else
5019
4682
  ac_func_search_save_LIBS=$LIBS
5020
 
cat >conftest.$ac_ext <<_ACEOF
5021
 
/* confdefs.h.  */
5022
 
_ACEOF
5023
 
cat confdefs.h >>conftest.$ac_ext
5024
 
cat >>conftest.$ac_ext <<_ACEOF
 
4683
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025
4684
/* end confdefs.h.  */
5026
4685
 
5027
4686
/* Override any GCC internal prototype to avoid an error.
5046
4705
    ac_res=-l$ac_lib
5047
4706
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5048
4707
  fi
5049
 
  rm -f conftest.$ac_objext conftest$ac_exeext
5050
 
if { (ac_try="$ac_link"
5051
 
case "(($ac_try" in
5052
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5053
 
  *) ac_try_echo=$ac_try;;
5054
 
esac
5055
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5056
 
$as_echo "$ac_try_echo") >&5
5057
 
  (eval "$ac_link") 2>conftest.er1
5058
 
  ac_status=$?
5059
 
  grep -v '^ *+' conftest.er1 >conftest.err
5060
 
  rm -f conftest.er1
5061
 
  cat conftest.err >&5
5062
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063
 
  (exit $ac_status); } && {
5064
 
         test -z "$ac_c_werror_flag" ||
5065
 
         test ! -s conftest.err
5066
 
       } && test -s conftest$ac_exeext && {
5067
 
         test "$cross_compiling" = yes ||
5068
 
         $as_test_x conftest$ac_exeext
5069
 
       }; then
 
4708
  if ac_fn_c_try_link "$LINENO"; then :
5070
4709
  ac_cv_search_sasl_server_init=$ac_res
5071
 
else
5072
 
  $as_echo "$as_me: failed program was:" >&5
5073
 
sed 's/^/| /' conftest.$ac_ext >&5
5074
 
 
5075
 
 
5076
4710
fi
5077
 
 
5078
 
rm -rf conftest.dSYM
5079
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5080
 
      conftest$ac_exeext
5081
 
  if test "${ac_cv_search_sasl_server_init+set}" = set; then
 
4711
rm -f core conftest.err conftest.$ac_objext \
 
4712
    conftest$ac_exeext
 
4713
  if test "${ac_cv_search_sasl_server_init+set}" = set; then :
5082
4714
  break
5083
4715
fi
5084
4716
done
5085
 
if test "${ac_cv_search_sasl_server_init+set}" = set; then
5086
 
  :
 
4717
if test "${ac_cv_search_sasl_server_init+set}" = set; then :
 
4718
 
5087
4719
else
5088
4720
  ac_cv_search_sasl_server_init=no
5089
4721
fi
5090
4722
rm conftest.$ac_ext
5091
4723
LIBS=$ac_func_search_save_LIBS
5092
4724
fi
5093
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_sasl_server_init" >&5
 
4725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sasl_server_init" >&5
5094
4726
$as_echo "$ac_cv_search_sasl_server_init" >&6; }
5095
4727
ac_res=$ac_cv_search_sasl_server_init
5096
 
if test "$ac_res" != no; then
 
4728
if test "$ac_res" != no; then :
5097
4729
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5098
4730
 
5099
4731
else
5100
4732
 
5101
 
      { { $as_echo "$as_me:$LINENO: error: Failed to locate the library containing sasl_server_init" >&5
5102
 
$as_echo "$as_me: error: Failed to locate the library containing sasl_server_init" >&2;}
5103
 
   { (exit 1); exit 1; }; }
5104
 
 
5105
 
fi
5106
 
 
5107
 
 
5108
 
  if test "x$enable_sasl_pwdb" = "xyes"; then
5109
 
 
5110
 
cat >>confdefs.h <<\_ACEOF
5111
 
#define ENABLE_SASL_PWDB 1
5112
 
_ACEOF
5113
 
 
5114
 
fi
5115
 
 
 
4733
      as_fn_error "Failed to locate the library containing sasl_server_init" "$LINENO" 5
 
4734
 
 
4735
fi
 
4736
 
 
4737
 
 
4738
  if test "x$enable_sasl_pwdb" = "xyes"; then :
 
4739
 
 
4740
$as_echo "#define ENABLE_SASL_PWDB 1" >>confdefs.h
 
4741
 
 
4742
fi
5116
4743
fi
5117
4744
 
5118
4745
# Check whether --enable-dtrace was given.
5119
 
if test "${enable_dtrace+set}" = set; then
 
4746
if test "${enable_dtrace+set}" = set; then :
5120
4747
  enableval=$enable_dtrace;
5121
4748
fi
5122
4749
 
5123
4750
if test "x$enable_dtrace" = "xyes"; then
5124
4751
  # Extract the first word of "dtrace", so it can be a program name with args.
5125
4752
set dummy dtrace; ac_word=$2
5126
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127
4754
$as_echo_n "checking for $ac_word... " >&6; }
5128
 
if test "${ac_cv_path_DTRACE+set}" = set; then
 
4755
if test "${ac_cv_path_DTRACE+set}" = set; then :
5129
4756
  $as_echo_n "(cached) " >&6
5130
4757
else
5131
4758
  case $DTRACE in
5139
4766
do
5140
4767
  IFS=$as_save_IFS
5141
4768
  test -z "$as_dir" && as_dir=.
5142
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4769
    for ac_exec_ext in '' $ac_executable_extensions; do
5143
4770
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144
4771
    ac_cv_path_DTRACE="$as_dir/$ac_word$ac_exec_ext"
5145
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4772
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146
4773
    break 2
5147
4774
  fi
5148
4775
done
5149
 
done
 
4776
  done
5150
4777
IFS=$as_save_IFS
5151
4778
 
5152
4779
  test -z "$ac_cv_path_DTRACE" && ac_cv_path_DTRACE=""no""
5155
4782
fi
5156
4783
DTRACE=$ac_cv_path_DTRACE
5157
4784
if test -n "$DTRACE"; then
5158
 
  { $as_echo "$as_me:$LINENO: result: $DTRACE" >&5
 
4785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
5159
4786
$as_echo "$DTRACE" >&6; }
5160
4787
else
5161
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162
4789
$as_echo "no" >&6; }
5163
4790
fi
5164
4791
 
5165
4792
 
5166
4793
  if test "x$DTRACE" != "xno"; then
5167
4794
 
5168
 
cat >>confdefs.h <<\_ACEOF
5169
 
#define ENABLE_DTRACE 1
5170
 
_ACEOF
 
4795
$as_echo "#define ENABLE_DTRACE 1" >>confdefs.h
5171
4796
 
5172
4797
    build_dtrace=yes
5173
4798
    # DTrace on MacOSX does not use -G option
5179
4804
    fi
5180
4805
 
5181
4806
    if test "`which tr`" = "/usr/ucb/tr"; then
5182
 
        { { $as_echo "$as_me:$LINENO: error: Please remove /usr/ucb from your path. See man standards for more info" >&5
5183
 
$as_echo "$as_me: error: Please remove /usr/ucb from your path. See man standards for more info" >&2;}
5184
 
   { (exit 1); exit 1; }; }
 
4807
        as_fn_error "Please remove /usr/ucb from your path. See man standards for more info" "$LINENO" 5
5185
4808
    fi
5186
4809
  else
5187
 
    { { $as_echo "$as_me:$LINENO: error: Need dtrace binary and OS support." >&5
5188
 
$as_echo "$as_me: error: Need dtrace binary and OS support." >&2;}
5189
 
   { (exit 1); exit 1; }; }
 
4810
    as_fn_error "Need dtrace binary and OS support." "$LINENO" 5
5190
4811
  fi
5191
4812
fi
5192
4813
 
5221
4842
 
5222
4843
 
5223
4844
# Check whether --enable-coverage was given.
5224
 
if test "${enable_coverage+set}" = set; then
 
4845
if test "${enable_coverage+set}" = set; then :
5225
4846
  enableval=$enable_coverage;
5226
4847
fi
5227
4848
 
5235
4856
      CFLAGS="$CFLAGS -pthread"
5236
4857
      # Extract the first word of "gcov", so it can be a program name with args.
5237
4858
set dummy gcov; ac_word=$2
5238
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239
4860
$as_echo_n "checking for $ac_word... " >&6; }
5240
 
if test "${ac_cv_path_PROFILER+set}" = set; then
 
4861
if test "${ac_cv_path_PROFILER+set}" = set; then :
5241
4862
  $as_echo_n "(cached) " >&6
5242
4863
else
5243
4864
  case $PROFILER in
5250
4871
do
5251
4872
  IFS=$as_save_IFS
5252
4873
  test -z "$as_dir" && as_dir=.
5253
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4874
    for ac_exec_ext in '' $ac_executable_extensions; do
5254
4875
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5255
4876
    ac_cv_path_PROFILER="$as_dir/$ac_word$ac_exec_ext"
5256
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4877
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257
4878
    break 2
5258
4879
  fi
5259
4880
done
5260
 
done
 
4881
  done
5261
4882
IFS=$as_save_IFS
5262
4883
 
5263
4884
  test -z "$ac_cv_path_PROFILER" && ac_cv_path_PROFILER=""no""
5266
4887
fi
5267
4888
PROFILER=$ac_cv_path_PROFILER
5268
4889
if test -n "$PROFILER"; then
5269
 
  { $as_echo "$as_me:$LINENO: result: $PROFILER" >&5
 
4890
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROFILER" >&5
5270
4891
$as_echo "$PROFILER" >&6; }
5271
4892
else
5272
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4893
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273
4894
$as_echo "no" >&6; }
5274
4895
fi
5275
4896
 
5276
4897
 
5277
4898
      if test "x$PROFILER" != "xno"; then
5278
4899
         # Issue 97: The existense of gcov doesn't mean we have -lgcov
5279
 
         { $as_echo "$as_me:$LINENO: checking for main in -lgcov" >&5
 
4900
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgcov" >&5
5280
4901
$as_echo_n "checking for main in -lgcov... " >&6; }
5281
 
if test "${ac_cv_lib_gcov_main+set}" = set; then
 
4902
if test "${ac_cv_lib_gcov_main+set}" = set; then :
5282
4903
  $as_echo_n "(cached) " >&6
5283
4904
else
5284
4905
  ac_check_lib_save_LIBS=$LIBS
5285
4906
LIBS="-lgcov  $LIBS"
5286
 
cat >conftest.$ac_ext <<_ACEOF
5287
 
/* confdefs.h.  */
5288
 
_ACEOF
5289
 
cat confdefs.h >>conftest.$ac_ext
5290
 
cat >>conftest.$ac_ext <<_ACEOF
 
4907
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5291
4908
/* end confdefs.h.  */
5292
4909
 
5293
4910
 
5299
4916
  return 0;
5300
4917
}
5301
4918
_ACEOF
5302
 
rm -f conftest.$ac_objext conftest$ac_exeext
5303
 
if { (ac_try="$ac_link"
5304
 
case "(($ac_try" in
5305
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5306
 
  *) ac_try_echo=$ac_try;;
5307
 
esac
5308
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5309
 
$as_echo "$ac_try_echo") >&5
5310
 
  (eval "$ac_link") 2>conftest.er1
5311
 
  ac_status=$?
5312
 
  grep -v '^ *+' conftest.er1 >conftest.err
5313
 
  rm -f conftest.er1
5314
 
  cat conftest.err >&5
5315
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316
 
  (exit $ac_status); } && {
5317
 
         test -z "$ac_c_werror_flag" ||
5318
 
         test ! -s conftest.err
5319
 
       } && test -s conftest$ac_exeext && {
5320
 
         test "$cross_compiling" = yes ||
5321
 
         $as_test_x conftest$ac_exeext
5322
 
       }; then
 
4919
if ac_fn_c_try_link "$LINENO"; then :
5323
4920
  ac_cv_lib_gcov_main=yes
5324
4921
else
5325
 
  $as_echo "$as_me: failed program was:" >&5
5326
 
sed 's/^/| /' conftest.$ac_ext >&5
5327
 
 
5328
 
        ac_cv_lib_gcov_main=no
 
4922
  ac_cv_lib_gcov_main=no
5329
4923
fi
5330
 
 
5331
 
rm -rf conftest.dSYM
5332
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5333
 
      conftest$ac_exeext conftest.$ac_ext
 
4924
rm -f core conftest.err conftest.$ac_objext \
 
4925
    conftest$ac_exeext conftest.$ac_ext
5334
4926
LIBS=$ac_check_lib_save_LIBS
5335
4927
fi
5336
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gcov_main" >&5
 
4928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcov_main" >&5
5337
4929
$as_echo "$ac_cv_lib_gcov_main" >&6; }
5338
 
if test "x$ac_cv_lib_gcov_main" = x""yes; then
 
4930
if test "x$ac_cv_lib_gcov_main" = x""yes; then :
5339
4931
 
5340
4932
                      PROFILER_FLAGS="-fprofile-arcs -ftest-coverage"
5341
4933
                      PROFILER_LDFLAGS="-lgcov"
5352
4944
   then
5353
4945
      # Extract the first word of "tcov", so it can be a program name with args.
5354
4946
set dummy tcov; ac_word=$2
5355
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5356
4948
$as_echo_n "checking for $ac_word... " >&6; }
5357
 
if test "${ac_cv_path_PROFILER+set}" = set; then
 
4949
if test "${ac_cv_path_PROFILER+set}" = set; then :
5358
4950
  $as_echo_n "(cached) " >&6
5359
4951
else
5360
4952
  case $PROFILER in
5367
4959
do
5368
4960
  IFS=$as_save_IFS
5369
4961
  test -z "$as_dir" && as_dir=.
5370
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4962
    for ac_exec_ext in '' $ac_executable_extensions; do
5371
4963
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5372
4964
    ac_cv_path_PROFILER="$as_dir/$ac_word$ac_exec_ext"
5373
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4965
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374
4966
    break 2
5375
4967
  fi
5376
4968
done
5377
 
done
 
4969
  done
5378
4970
IFS=$as_save_IFS
5379
4971
 
5380
4972
  test -z "$ac_cv_path_PROFILER" && ac_cv_path_PROFILER=""no""
5383
4975
fi
5384
4976
PROFILER=$ac_cv_path_PROFILER
5385
4977
if test -n "$PROFILER"; then
5386
 
  { $as_echo "$as_me:$LINENO: result: $PROFILER" >&5
 
4978
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROFILER" >&5
5387
4979
$as_echo "$PROFILER" >&6; }
5388
4980
else
5389
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4981
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5390
4982
$as_echo "no" >&6; }
5391
4983
fi
5392
4984
 
5400
4992
 
5401
4993
 
5402
4994
# Check whether --enable-64bit was given.
5403
 
if test "${enable_64bit+set}" = set; then
 
4995
if test "${enable_64bit+set}" = set; then :
5404
4996
  enableval=$enable_64bit;
5405
4997
fi
5406
4998
 
5408
5000
then
5409
5001
    org_cflags=$CFLAGS
5410
5002
    CFLAGS=-m64
5411
 
    if test "$cross_compiling" = yes; then
5412
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5003
    if test "$cross_compiling" = yes; then :
 
5004
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5413
5005
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5414
 
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5415
 
See \`config.log' for more details." >&5
5416
 
$as_echo "$as_me: error: cannot run test program while cross compiling
5417
 
See \`config.log' for more details." >&2;}
5418
 
   { (exit 1); exit 1; }; }; }
 
5006
as_fn_error "cannot run test program while cross compiling
 
5007
See \`config.log' for more details." "$LINENO" 5; }
5419
5008
else
5420
 
  cat >conftest.$ac_ext <<_ACEOF
5421
 
/* confdefs.h.  */
5422
 
_ACEOF
5423
 
cat confdefs.h >>conftest.$ac_ext
5424
 
cat >>conftest.$ac_ext <<_ACEOF
 
5009
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425
5010
/* end confdefs.h.  */
5426
5011
 
5427
5012
int
5434
5019
}
5435
5020
 
5436
5021
_ACEOF
5437
 
rm -f conftest$ac_exeext
5438
 
if { (ac_try="$ac_link"
5439
 
case "(($ac_try" in
5440
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5441
 
  *) ac_try_echo=$ac_try;;
5442
 
esac
5443
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5444
 
$as_echo "$ac_try_echo") >&5
5445
 
  (eval "$ac_link") 2>&5
5446
 
  ac_status=$?
5447
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5449
 
  { (case "(($ac_try" in
5450
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5451
 
  *) ac_try_echo=$ac_try;;
5452
 
esac
5453
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5454
 
$as_echo "$ac_try_echo") >&5
5455
 
  (eval "$ac_try") 2>&5
5456
 
  ac_status=$?
5457
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458
 
  (exit $ac_status); }; }; then
 
5022
if ac_fn_c_try_run "$LINENO"; then :
5459
5023
 
5460
5024
      CFLAGS="-m64 $org_cflags"
5461
5025
 
5462
5026
else
5463
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
5464
 
$as_echo "$as_me: failed program was:" >&5
5465
 
sed 's/^/| /' conftest.$ac_ext >&5
5466
 
 
5467
 
( exit $ac_status )
5468
 
 
5469
 
    { { $as_echo "$as_me:$LINENO: error: Don't know how to build a 64-bit object." >&5
5470
 
$as_echo "$as_me: error: Don't know how to build a 64-bit object." >&2;}
5471
 
   { (exit 1); exit 1; }; }
5472
 
 
5473
 
fi
5474
 
rm -rf conftest.dSYM
5475
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5476
 
fi
5477
 
 
5478
 
 
5479
 
fi
 
5027
 
 
5028
    as_fn_error "Don't know how to build a 64-bit object." "$LINENO" 5
 
5029
 
 
5030
fi
 
5031
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5032
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5033
fi
 
5034
 
 
5035
fi
 
5036
 
 
5037
# Issue 213: Search for clock_gettime to help people linking
 
5038
#            with a static version of libevent
 
5039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
 
5040
$as_echo_n "checking for library containing clock_gettime... " >&6; }
 
5041
if test "${ac_cv_search_clock_gettime+set}" = set; then :
 
5042
  $as_echo_n "(cached) " >&6
 
5043
else
 
5044
  ac_func_search_save_LIBS=$LIBS
 
5045
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5046
/* end confdefs.h.  */
 
5047
 
 
5048
/* Override any GCC internal prototype to avoid an error.
 
5049
   Use char because int might match the return type of a GCC
 
5050
   builtin and then its argument prototype would still apply.  */
 
5051
#ifdef __cplusplus
 
5052
extern "C"
 
5053
#endif
 
5054
char clock_gettime ();
 
5055
int
 
5056
main ()
 
5057
{
 
5058
return clock_gettime ();
 
5059
  ;
 
5060
  return 0;
 
5061
}
 
5062
_ACEOF
 
5063
for ac_lib in '' rt; do
 
5064
  if test -z "$ac_lib"; then
 
5065
    ac_res="none required"
 
5066
  else
 
5067
    ac_res=-l$ac_lib
 
5068
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
5069
  fi
 
5070
  if ac_fn_c_try_link "$LINENO"; then :
 
5071
  ac_cv_search_clock_gettime=$ac_res
 
5072
fi
 
5073
rm -f core conftest.err conftest.$ac_objext \
 
5074
    conftest$ac_exeext
 
5075
  if test "${ac_cv_search_clock_gettime+set}" = set; then :
 
5076
  break
 
5077
fi
 
5078
done
 
5079
if test "${ac_cv_search_clock_gettime+set}" = set; then :
 
5080
 
 
5081
else
 
5082
  ac_cv_search_clock_gettime=no
 
5083
fi
 
5084
rm conftest.$ac_ext
 
5085
LIBS=$ac_func_search_save_LIBS
 
5086
fi
 
5087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
 
5088
$as_echo "$ac_cv_search_clock_gettime" >&6; }
 
5089
ac_res=$ac_cv_search_clock_gettime
 
5090
if test "$ac_res" != no; then :
 
5091
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
5092
 
 
5093
fi
 
5094
 
 
5095
# Issue 214: Search for the network libraries _before_ searching
 
5096
#            for libevent (to help people linking with static libevent)
 
5097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
 
5098
$as_echo_n "checking for library containing socket... " >&6; }
 
5099
if test "${ac_cv_search_socket+set}" = set; then :
 
5100
  $as_echo_n "(cached) " >&6
 
5101
else
 
5102
  ac_func_search_save_LIBS=$LIBS
 
5103
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5104
/* end confdefs.h.  */
 
5105
 
 
5106
/* Override any GCC internal prototype to avoid an error.
 
5107
   Use char because int might match the return type of a GCC
 
5108
   builtin and then its argument prototype would still apply.  */
 
5109
#ifdef __cplusplus
 
5110
extern "C"
 
5111
#endif
 
5112
char socket ();
 
5113
int
 
5114
main ()
 
5115
{
 
5116
return socket ();
 
5117
  ;
 
5118
  return 0;
 
5119
}
 
5120
_ACEOF
 
5121
for ac_lib in '' socket; do
 
5122
  if test -z "$ac_lib"; then
 
5123
    ac_res="none required"
 
5124
  else
 
5125
    ac_res=-l$ac_lib
 
5126
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
5127
  fi
 
5128
  if ac_fn_c_try_link "$LINENO"; then :
 
5129
  ac_cv_search_socket=$ac_res
 
5130
fi
 
5131
rm -f core conftest.err conftest.$ac_objext \
 
5132
    conftest$ac_exeext
 
5133
  if test "${ac_cv_search_socket+set}" = set; then :
 
5134
  break
 
5135
fi
 
5136
done
 
5137
if test "${ac_cv_search_socket+set}" = set; then :
 
5138
 
 
5139
else
 
5140
  ac_cv_search_socket=no
 
5141
fi
 
5142
rm conftest.$ac_ext
 
5143
LIBS=$ac_func_search_save_LIBS
 
5144
fi
 
5145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
 
5146
$as_echo "$ac_cv_search_socket" >&6; }
 
5147
ac_res=$ac_cv_search_socket
 
5148
if test "$ac_res" != no; then :
 
5149
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
5150
 
 
5151
fi
 
5152
 
 
5153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
 
5154
$as_echo_n "checking for library containing gethostbyname... " >&6; }
 
5155
if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
5156
  $as_echo_n "(cached) " >&6
 
5157
else
 
5158
  ac_func_search_save_LIBS=$LIBS
 
5159
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5160
/* end confdefs.h.  */
 
5161
 
 
5162
/* Override any GCC internal prototype to avoid an error.
 
5163
   Use char because int might match the return type of a GCC
 
5164
   builtin and then its argument prototype would still apply.  */
 
5165
#ifdef __cplusplus
 
5166
extern "C"
 
5167
#endif
 
5168
char gethostbyname ();
 
5169
int
 
5170
main ()
 
5171
{
 
5172
return gethostbyname ();
 
5173
  ;
 
5174
  return 0;
 
5175
}
 
5176
_ACEOF
 
5177
for ac_lib in '' nsl; do
 
5178
  if test -z "$ac_lib"; then
 
5179
    ac_res="none required"
 
5180
  else
 
5181
    ac_res=-l$ac_lib
 
5182
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
5183
  fi
 
5184
  if ac_fn_c_try_link "$LINENO"; then :
 
5185
  ac_cv_search_gethostbyname=$ac_res
 
5186
fi
 
5187
rm -f core conftest.err conftest.$ac_objext \
 
5188
    conftest$ac_exeext
 
5189
  if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
5190
  break
 
5191
fi
 
5192
done
 
5193
if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
5194
 
 
5195
else
 
5196
  ac_cv_search_gethostbyname=no
 
5197
fi
 
5198
rm conftest.$ac_ext
 
5199
LIBS=$ac_func_search_save_LIBS
 
5200
fi
 
5201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
 
5202
$as_echo "$ac_cv_search_gethostbyname" >&6; }
 
5203
ac_res=$ac_cv_search_gethostbyname
 
5204
if test "$ac_res" != no; then :
 
5205
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
5206
 
 
5207
fi
 
5208
 
5480
5209
 
5481
5210
trylibeventdir=""
5482
5211
 
5483
5212
# Check whether --with-libevent was given.
5484
 
if test "${with_libevent+set}" = set; then
 
5213
if test "${with_libevent+set}" = set; then :
5485
5214
  withval=$with_libevent;
5486
5215
                if test "x$withval" != "xno" ; then
5487
5216
                        trylibeventdir=$withval
5494
5223
 
5495
5224
LIBEVENT_URL=http://www.monkey.org/~provos/libevent/
5496
5225
 
5497
 
{ $as_echo "$as_me:$LINENO: checking for libevent directory" >&5
 
5226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libevent directory" >&5
5498
5227
$as_echo_n "checking for libevent directory... " >&6; }
5499
 
if test "${ac_cv_libevent_dir+set}" = set; then
 
5228
if test "${ac_cv_libevent_dir+set}" = set; then :
5500
5229
  $as_echo_n "(cached) " >&6
5501
5230
else
5502
5231
 
5506
5235
  le_found=no
5507
5236
  for ledir in $trylibeventdir "" $prefix /usr/local ; do
5508
5237
    LDFLAGS="$saved_LDFLAGS"
5509
 
    LIBS="$saved_LIBS -levent"
 
5238
    LIBS="-levent $saved_LIBS"
5510
5239
 
5511
5240
    # Skip the directory if it isn't there.
5512
5241
    if test ! -z "$ledir" -a ! -d "$ledir" ; then
5525
5254
      fi
5526
5255
    fi
5527
5256
    # Can I compile and link it?
5528
 
    cat >conftest.$ac_ext <<_ACEOF
5529
 
/* confdefs.h.  */
5530
 
_ACEOF
5531
 
cat confdefs.h >>conftest.$ac_ext
5532
 
cat >>conftest.$ac_ext <<_ACEOF
 
5257
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5533
5258
/* end confdefs.h.  */
5534
5259
#include <sys/time.h>
5535
5260
#include <sys/types.h>
5542
5267
  return 0;
5543
5268
}
5544
5269
_ACEOF
5545
 
rm -f conftest.$ac_objext conftest$ac_exeext
5546
 
if { (ac_try="$ac_link"
5547
 
case "(($ac_try" in
5548
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5549
 
  *) ac_try_echo=$ac_try;;
5550
 
esac
5551
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5552
 
$as_echo "$ac_try_echo") >&5
5553
 
  (eval "$ac_link") 2>conftest.er1
5554
 
  ac_status=$?
5555
 
  grep -v '^ *+' conftest.er1 >conftest.err
5556
 
  rm -f conftest.er1
5557
 
  cat conftest.err >&5
5558
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559
 
  (exit $ac_status); } && {
5560
 
         test -z "$ac_c_werror_flag" ||
5561
 
         test ! -s conftest.err
5562
 
       } && test -s conftest$ac_exeext && {
5563
 
         test "$cross_compiling" = yes ||
5564
 
         $as_test_x conftest$ac_exeext
5565
 
       }; then
 
5270
if ac_fn_c_try_link "$LINENO"; then :
5566
5271
   libevent_linked=yes
5567
5272
else
5568
 
  $as_echo "$as_me: failed program was:" >&5
5569
 
sed 's/^/| /' conftest.$ac_ext >&5
5570
 
 
5571
 
         libevent_linked=no
 
5273
   libevent_linked=no
5572
5274
fi
5573
 
 
5574
 
rm -rf conftest.dSYM
5575
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5576
 
      conftest$ac_exeext conftest.$ac_ext
 
5275
rm -f core conftest.err conftest.$ac_objext \
 
5276
    conftest$ac_exeext conftest.$ac_ext
5577
5277
    if test $libevent_linked = yes; then
5578
5278
       if test ! -z "$ledir" ; then
5579
5279
         ac_cv_libevent_dir=$ledir
 
5280
         _myos=`echo $target_os | cut -f 1 -d .`
 
5281
         if test "$SUNCC" = "yes" -o "x$_myos" = "xsolaris2"; then :
 
5282
  saved_LDFLAGS="$saved_LDFLAGS -Wl,-R$ledir/lib"
 
5283
else
 
5284
  if test "$GCC" = "yes"; then :
 
5285
  saved_LDFLAGS="$saved_LDFLAGS -Wl,-rpath=$ledir/lib"
 
5286
fi
 
5287
fi
5580
5288
       else
5581
5289
         ac_cv_libevent_dir="(system)"
5582
5290
       fi
5588
5296
  LDFLAGS="$saved_LDFLAGS"
5589
5297
  CPPFLAGS="$saved_CPPFLAGS"
5590
5298
  if test $le_found = no ; then
5591
 
    { { $as_echo "$as_me:$LINENO: error: libevent is required.  You can get it from $LIBEVENT_URL
5592
 
 
5593
 
      If it's already installed, specify its path using --with-libevent=/dir/
5594
 
" >&5
5595
 
$as_echo "$as_me: error: libevent is required.  You can get it from $LIBEVENT_URL
5596
 
 
5597
 
      If it's already installed, specify its path using --with-libevent=/dir/
5598
 
" >&2;}
5599
 
   { (exit 1); exit 1; }; }
 
5299
    as_fn_error "libevent is required.  You can get it from $LIBEVENT_URL
 
5300
 
 
5301
      If it's already installed, specify its path using --with-libevent=/dir/
 
5302
" "$LINENO" 5
5600
5303
  fi
5601
5304
 
5602
5305
fi
5603
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_libevent_dir" >&5
 
5306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libevent_dir" >&5
5604
5307
$as_echo "$ac_cv_libevent_dir" >&6; }
5605
 
LIBS="$LIBS -levent"
 
5308
LIBS="-levent $LIBS"
5606
5309
if test $ac_cv_libevent_dir != "(system)"; then
5607
5310
  if test -d "$ac_cv_libevent_dir/lib" ; then
5608
5311
    LDFLAGS="-L$ac_cv_libevent_dir/lib $LDFLAGS"
5619
5322
fi
5620
5323
 
5621
5324
 
5622
 
{ $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
5623
 
$as_echo_n "checking for library containing socket... " >&6; }
5624
 
if test "${ac_cv_search_socket+set}" = set; then
5625
 
  $as_echo_n "(cached) " >&6
5626
 
else
5627
 
  ac_func_search_save_LIBS=$LIBS
5628
 
cat >conftest.$ac_ext <<_ACEOF
5629
 
/* confdefs.h.  */
5630
 
_ACEOF
5631
 
cat confdefs.h >>conftest.$ac_ext
5632
 
cat >>conftest.$ac_ext <<_ACEOF
5633
 
/* end confdefs.h.  */
5634
 
 
5635
 
/* Override any GCC internal prototype to avoid an error.
5636
 
   Use char because int might match the return type of a GCC
5637
 
   builtin and then its argument prototype would still apply.  */
5638
 
#ifdef __cplusplus
5639
 
extern "C"
5640
 
#endif
5641
 
char socket ();
5642
 
int
5643
 
main ()
5644
 
{
5645
 
return socket ();
5646
 
  ;
5647
 
  return 0;
5648
 
}
5649
 
_ACEOF
5650
 
for ac_lib in '' socket; do
5651
 
  if test -z "$ac_lib"; then
5652
 
    ac_res="none required"
5653
 
  else
5654
 
    ac_res=-l$ac_lib
5655
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5656
 
  fi
5657
 
  rm -f conftest.$ac_objext conftest$ac_exeext
5658
 
if { (ac_try="$ac_link"
5659
 
case "(($ac_try" in
5660
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5661
 
  *) ac_try_echo=$ac_try;;
5662
 
esac
5663
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5664
 
$as_echo "$ac_try_echo") >&5
5665
 
  (eval "$ac_link") 2>conftest.er1
5666
 
  ac_status=$?
5667
 
  grep -v '^ *+' conftest.er1 >conftest.err
5668
 
  rm -f conftest.er1
5669
 
  cat conftest.err >&5
5670
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671
 
  (exit $ac_status); } && {
5672
 
         test -z "$ac_c_werror_flag" ||
5673
 
         test ! -s conftest.err
5674
 
       } && test -s conftest$ac_exeext && {
5675
 
         test "$cross_compiling" = yes ||
5676
 
         $as_test_x conftest$ac_exeext
5677
 
       }; then
5678
 
  ac_cv_search_socket=$ac_res
5679
 
else
5680
 
  $as_echo "$as_me: failed program was:" >&5
5681
 
sed 's/^/| /' conftest.$ac_ext >&5
5682
 
 
5683
 
 
5684
 
fi
5685
 
 
5686
 
rm -rf conftest.dSYM
5687
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5688
 
      conftest$ac_exeext
5689
 
  if test "${ac_cv_search_socket+set}" = set; then
5690
 
  break
5691
 
fi
5692
 
done
5693
 
if test "${ac_cv_search_socket+set}" = set; then
5694
 
  :
5695
 
else
5696
 
  ac_cv_search_socket=no
5697
 
fi
5698
 
rm conftest.$ac_ext
5699
 
LIBS=$ac_func_search_save_LIBS
5700
 
fi
5701
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
5702
 
$as_echo "$ac_cv_search_socket" >&6; }
5703
 
ac_res=$ac_cv_search_socket
5704
 
if test "$ac_res" != no; then
5705
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5706
 
 
5707
 
fi
5708
 
 
5709
 
{ $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
5710
 
$as_echo_n "checking for library containing gethostbyname... " >&6; }
5711
 
if test "${ac_cv_search_gethostbyname+set}" = set; then
5712
 
  $as_echo_n "(cached) " >&6
5713
 
else
5714
 
  ac_func_search_save_LIBS=$LIBS
5715
 
cat >conftest.$ac_ext <<_ACEOF
5716
 
/* confdefs.h.  */
5717
 
_ACEOF
5718
 
cat confdefs.h >>conftest.$ac_ext
5719
 
cat >>conftest.$ac_ext <<_ACEOF
5720
 
/* end confdefs.h.  */
5721
 
 
5722
 
/* Override any GCC internal prototype to avoid an error.
5723
 
   Use char because int might match the return type of a GCC
5724
 
   builtin and then its argument prototype would still apply.  */
5725
 
#ifdef __cplusplus
5726
 
extern "C"
5727
 
#endif
5728
 
char gethostbyname ();
5729
 
int
5730
 
main ()
5731
 
{
5732
 
return gethostbyname ();
5733
 
  ;
5734
 
  return 0;
5735
 
}
5736
 
_ACEOF
5737
 
for ac_lib in '' nsl; do
5738
 
  if test -z "$ac_lib"; then
5739
 
    ac_res="none required"
5740
 
  else
5741
 
    ac_res=-l$ac_lib
5742
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5743
 
  fi
5744
 
  rm -f conftest.$ac_objext conftest$ac_exeext
5745
 
if { (ac_try="$ac_link"
5746
 
case "(($ac_try" in
5747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5748
 
  *) ac_try_echo=$ac_try;;
5749
 
esac
5750
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5751
 
$as_echo "$ac_try_echo") >&5
5752
 
  (eval "$ac_link") 2>conftest.er1
5753
 
  ac_status=$?
5754
 
  grep -v '^ *+' conftest.er1 >conftest.err
5755
 
  rm -f conftest.er1
5756
 
  cat conftest.err >&5
5757
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758
 
  (exit $ac_status); } && {
5759
 
         test -z "$ac_c_werror_flag" ||
5760
 
         test ! -s conftest.err
5761
 
       } && test -s conftest$ac_exeext && {
5762
 
         test "$cross_compiling" = yes ||
5763
 
         $as_test_x conftest$ac_exeext
5764
 
       }; then
5765
 
  ac_cv_search_gethostbyname=$ac_res
5766
 
else
5767
 
  $as_echo "$as_me: failed program was:" >&5
5768
 
sed 's/^/| /' conftest.$ac_ext >&5
5769
 
 
5770
 
 
5771
 
fi
5772
 
 
5773
 
rm -rf conftest.dSYM
5774
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5775
 
      conftest$ac_exeext
5776
 
  if test "${ac_cv_search_gethostbyname+set}" = set; then
5777
 
  break
5778
 
fi
5779
 
done
5780
 
if test "${ac_cv_search_gethostbyname+set}" = set; then
5781
 
  :
5782
 
else
5783
 
  ac_cv_search_gethostbyname=no
5784
 
fi
5785
 
rm conftest.$ac_ext
5786
 
LIBS=$ac_func_search_save_LIBS
5787
 
fi
5788
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
5789
 
$as_echo "$ac_cv_search_gethostbyname" >&6; }
5790
 
ac_res=$ac_cv_search_gethostbyname
5791
 
if test "$ac_res" != no; then
5792
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5793
 
 
5794
 
fi
5795
 
 
5796
 
{ $as_echo "$as_me:$LINENO: checking for library containing umem_cache_create" >&5
 
5325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing umem_cache_create" >&5
5797
5326
$as_echo_n "checking for library containing umem_cache_create... " >&6; }
5798
 
if test "${ac_cv_search_umem_cache_create+set}" = set; then
 
5327
if test "${ac_cv_search_umem_cache_create+set}" = set; then :
5799
5328
  $as_echo_n "(cached) " >&6
5800
5329
else
5801
5330
  ac_func_search_save_LIBS=$LIBS
5802
 
cat >conftest.$ac_ext <<_ACEOF
5803
 
/* confdefs.h.  */
5804
 
_ACEOF
5805
 
cat confdefs.h >>conftest.$ac_ext
5806
 
cat >>conftest.$ac_ext <<_ACEOF
 
5331
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807
5332
/* end confdefs.h.  */
5808
5333
 
5809
5334
/* Override any GCC internal prototype to avoid an error.
5828
5353
    ac_res=-l$ac_lib
5829
5354
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5830
5355
  fi
5831
 
  rm -f conftest.$ac_objext conftest$ac_exeext
5832
 
if { (ac_try="$ac_link"
5833
 
case "(($ac_try" in
5834
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5835
 
  *) ac_try_echo=$ac_try;;
5836
 
esac
5837
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5838
 
$as_echo "$ac_try_echo") >&5
5839
 
  (eval "$ac_link") 2>conftest.er1
5840
 
  ac_status=$?
5841
 
  grep -v '^ *+' conftest.er1 >conftest.err
5842
 
  rm -f conftest.er1
5843
 
  cat conftest.err >&5
5844
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845
 
  (exit $ac_status); } && {
5846
 
         test -z "$ac_c_werror_flag" ||
5847
 
         test ! -s conftest.err
5848
 
       } && test -s conftest$ac_exeext && {
5849
 
         test "$cross_compiling" = yes ||
5850
 
         $as_test_x conftest$ac_exeext
5851
 
       }; then
 
5356
  if ac_fn_c_try_link "$LINENO"; then :
5852
5357
  ac_cv_search_umem_cache_create=$ac_res
5853
 
else
5854
 
  $as_echo "$as_me: failed program was:" >&5
5855
 
sed 's/^/| /' conftest.$ac_ext >&5
5856
 
 
5857
 
 
5858
5358
fi
5859
 
 
5860
 
rm -rf conftest.dSYM
5861
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5862
 
      conftest$ac_exeext
5863
 
  if test "${ac_cv_search_umem_cache_create+set}" = set; then
 
5359
rm -f core conftest.err conftest.$ac_objext \
 
5360
    conftest$ac_exeext
 
5361
  if test "${ac_cv_search_umem_cache_create+set}" = set; then :
5864
5362
  break
5865
5363
fi
5866
5364
done
5867
 
if test "${ac_cv_search_umem_cache_create+set}" = set; then
5868
 
  :
 
5365
if test "${ac_cv_search_umem_cache_create+set}" = set; then :
 
5366
 
5869
5367
else
5870
5368
  ac_cv_search_umem_cache_create=no
5871
5369
fi
5872
5370
rm conftest.$ac_ext
5873
5371
LIBS=$ac_func_search_save_LIBS
5874
5372
fi
5875
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_umem_cache_create" >&5
 
5373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_umem_cache_create" >&5
5876
5374
$as_echo "$ac_cv_search_umem_cache_create" >&6; }
5877
5375
ac_res=$ac_cv_search_umem_cache_create
5878
 
if test "$ac_res" != no; then
 
5376
if test "$ac_res" != no; then :
5879
5377
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5880
5378
 
5881
5379
fi
5882
5380
 
5883
 
{ $as_echo "$as_me:$LINENO: checking for library containing gethugepagesizes" >&5
 
5381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethugepagesizes" >&5
5884
5382
$as_echo_n "checking for library containing gethugepagesizes... " >&6; }
5885
 
if test "${ac_cv_search_gethugepagesizes+set}" = set; then
 
5383
if test "${ac_cv_search_gethugepagesizes+set}" = set; then :
5886
5384
  $as_echo_n "(cached) " >&6
5887
5385
else
5888
5386
  ac_func_search_save_LIBS=$LIBS
5889
 
cat >conftest.$ac_ext <<_ACEOF
5890
 
/* confdefs.h.  */
5891
 
_ACEOF
5892
 
cat confdefs.h >>conftest.$ac_ext
5893
 
cat >>conftest.$ac_ext <<_ACEOF
 
5387
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5894
5388
/* end confdefs.h.  */
5895
5389
 
5896
5390
/* Override any GCC internal prototype to avoid an error.
5915
5409
    ac_res=-l$ac_lib
5916
5410
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5917
5411
  fi
5918
 
  rm -f conftest.$ac_objext conftest$ac_exeext
5919
 
if { (ac_try="$ac_link"
5920
 
case "(($ac_try" in
5921
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5922
 
  *) ac_try_echo=$ac_try;;
5923
 
esac
5924
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5925
 
$as_echo "$ac_try_echo") >&5
5926
 
  (eval "$ac_link") 2>conftest.er1
5927
 
  ac_status=$?
5928
 
  grep -v '^ *+' conftest.er1 >conftest.err
5929
 
  rm -f conftest.er1
5930
 
  cat conftest.err >&5
5931
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932
 
  (exit $ac_status); } && {
5933
 
         test -z "$ac_c_werror_flag" ||
5934
 
         test ! -s conftest.err
5935
 
       } && test -s conftest$ac_exeext && {
5936
 
         test "$cross_compiling" = yes ||
5937
 
         $as_test_x conftest$ac_exeext
5938
 
       }; then
 
5412
  if ac_fn_c_try_link "$LINENO"; then :
5939
5413
  ac_cv_search_gethugepagesizes=$ac_res
5940
 
else
5941
 
  $as_echo "$as_me: failed program was:" >&5
5942
 
sed 's/^/| /' conftest.$ac_ext >&5
5943
 
 
5944
 
 
5945
5414
fi
5946
 
 
5947
 
rm -rf conftest.dSYM
5948
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5949
 
      conftest$ac_exeext
5950
 
  if test "${ac_cv_search_gethugepagesizes+set}" = set; then
 
5415
rm -f core conftest.err conftest.$ac_objext \
 
5416
    conftest$ac_exeext
 
5417
  if test "${ac_cv_search_gethugepagesizes+set}" = set; then :
5951
5418
  break
5952
5419
fi
5953
5420
done
5954
 
if test "${ac_cv_search_gethugepagesizes+set}" = set; then
5955
 
  :
 
5421
if test "${ac_cv_search_gethugepagesizes+set}" = set; then :
 
5422
 
5956
5423
else
5957
5424
  ac_cv_search_gethugepagesizes=no
5958
5425
fi
5959
5426
rm conftest.$ac_ext
5960
5427
LIBS=$ac_func_search_save_LIBS
5961
5428
fi
5962
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethugepagesizes" >&5
 
5429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethugepagesizes" >&5
5963
5430
$as_echo "$ac_cv_search_gethugepagesizes" >&6; }
5964
5431
ac_res=$ac_cv_search_gethugepagesizes
5965
 
if test "$ac_res" != no; then
 
5432
if test "$ac_res" != no; then :
5966
5433
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5967
5434
 
5968
5435
fi
5969
5436
 
5970
5437
 
5971
 
{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
 
5438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5972
5439
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5973
 
if test "${ac_cv_header_stdbool_h+set}" = set; then
 
5440
if test "${ac_cv_header_stdbool_h+set}" = set; then :
5974
5441
  $as_echo_n "(cached) " >&6
5975
5442
else
5976
 
  cat >conftest.$ac_ext <<_ACEOF
5977
 
/* confdefs.h.  */
5978
 
_ACEOF
5979
 
cat confdefs.h >>conftest.$ac_ext
5980
 
cat >>conftest.$ac_ext <<_ACEOF
 
5443
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5981
5444
/* end confdefs.h.  */
5982
5445
 
5983
5446
#include <stdbool.h>
6057
5520
  return 0;
6058
5521
}
6059
5522
_ACEOF
6060
 
rm -f conftest.$ac_objext
6061
 
if { (ac_try="$ac_compile"
6062
 
case "(($ac_try" in
6063
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6064
 
  *) ac_try_echo=$ac_try;;
6065
 
esac
6066
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6067
 
$as_echo "$ac_try_echo") >&5
6068
 
  (eval "$ac_compile") 2>conftest.er1
6069
 
  ac_status=$?
6070
 
  grep -v '^ *+' conftest.er1 >conftest.err
6071
 
  rm -f conftest.er1
6072
 
  cat conftest.err >&5
6073
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074
 
  (exit $ac_status); } && {
6075
 
         test -z "$ac_c_werror_flag" ||
6076
 
         test ! -s conftest.err
6077
 
       } && test -s conftest.$ac_objext; then
 
5523
if ac_fn_c_try_compile "$LINENO"; then :
6078
5524
  ac_cv_header_stdbool_h=yes
6079
5525
else
6080
 
  $as_echo "$as_me: failed program was:" >&5
6081
 
sed 's/^/| /' conftest.$ac_ext >&5
6082
 
 
6083
 
        ac_cv_header_stdbool_h=no
 
5526
  ac_cv_header_stdbool_h=no
6084
5527
fi
6085
 
 
6086
5528
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6087
5529
fi
6088
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
 
5530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
6089
5531
$as_echo "$ac_cv_header_stdbool_h" >&6; }
6090
 
{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5
6091
 
$as_echo_n "checking for _Bool... " >&6; }
6092
 
if test "${ac_cv_type__Bool+set}" = set; then
6093
 
  $as_echo_n "(cached) " >&6
6094
 
else
6095
 
  ac_cv_type__Bool=no
6096
 
cat >conftest.$ac_ext <<_ACEOF
6097
 
/* confdefs.h.  */
6098
 
_ACEOF
6099
 
cat confdefs.h >>conftest.$ac_ext
6100
 
cat >>conftest.$ac_ext <<_ACEOF
6101
 
/* end confdefs.h.  */
6102
 
$ac_includes_default
6103
 
int
6104
 
main ()
6105
 
{
6106
 
if (sizeof (_Bool))
6107
 
       return 0;
6108
 
  ;
6109
 
  return 0;
6110
 
}
6111
 
_ACEOF
6112
 
rm -f conftest.$ac_objext
6113
 
if { (ac_try="$ac_compile"
6114
 
case "(($ac_try" in
6115
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6116
 
  *) ac_try_echo=$ac_try;;
6117
 
esac
6118
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6119
 
$as_echo "$ac_try_echo") >&5
6120
 
  (eval "$ac_compile") 2>conftest.er1
6121
 
  ac_status=$?
6122
 
  grep -v '^ *+' conftest.er1 >conftest.err
6123
 
  rm -f conftest.er1
6124
 
  cat conftest.err >&5
6125
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126
 
  (exit $ac_status); } && {
6127
 
         test -z "$ac_c_werror_flag" ||
6128
 
         test ! -s conftest.err
6129
 
       } && test -s conftest.$ac_objext; then
6130
 
  cat >conftest.$ac_ext <<_ACEOF
6131
 
/* confdefs.h.  */
6132
 
_ACEOF
6133
 
cat confdefs.h >>conftest.$ac_ext
6134
 
cat >>conftest.$ac_ext <<_ACEOF
6135
 
/* end confdefs.h.  */
6136
 
$ac_includes_default
6137
 
int
6138
 
main ()
6139
 
{
6140
 
if (sizeof ((_Bool)))
6141
 
          return 0;
6142
 
  ;
6143
 
  return 0;
6144
 
}
6145
 
_ACEOF
6146
 
rm -f conftest.$ac_objext
6147
 
if { (ac_try="$ac_compile"
6148
 
case "(($ac_try" in
6149
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6150
 
  *) ac_try_echo=$ac_try;;
6151
 
esac
6152
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6153
 
$as_echo "$ac_try_echo") >&5
6154
 
  (eval "$ac_compile") 2>conftest.er1
6155
 
  ac_status=$?
6156
 
  grep -v '^ *+' conftest.er1 >conftest.err
6157
 
  rm -f conftest.er1
6158
 
  cat conftest.err >&5
6159
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160
 
  (exit $ac_status); } && {
6161
 
         test -z "$ac_c_werror_flag" ||
6162
 
         test ! -s conftest.err
6163
 
       } && test -s conftest.$ac_objext; then
6164
 
  :
6165
 
else
6166
 
  $as_echo "$as_me: failed program was:" >&5
6167
 
sed 's/^/| /' conftest.$ac_ext >&5
6168
 
 
6169
 
        ac_cv_type__Bool=yes
6170
 
fi
6171
 
 
6172
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6173
 
else
6174
 
  $as_echo "$as_me: failed program was:" >&5
6175
 
sed 's/^/| /' conftest.$ac_ext >&5
6176
 
 
6177
 
 
6178
 
fi
6179
 
 
6180
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6181
 
fi
6182
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
6183
 
$as_echo "$ac_cv_type__Bool" >&6; }
6184
 
if test "x$ac_cv_type__Bool" = x""yes; then
 
5532
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
 
5533
if test "x$ac_cv_type__Bool" = x""yes; then :
6185
5534
 
6186
5535
cat >>confdefs.h <<_ACEOF
6187
5536
#define HAVE__BOOL 1
6192
5541
 
6193
5542
if test $ac_cv_header_stdbool_h = yes; then
6194
5543
 
6195
 
cat >>confdefs.h <<\_ACEOF
6196
 
#define HAVE_STDBOOL_H 1
6197
 
_ACEOF
 
5544
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
6198
5545
 
6199
5546
fi
6200
5547
 
6201
5548
 
6202
5549
 
6203
 
 
6204
 
 
6205
5550
for ac_header in inttypes.h
6206
 
do
6207
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6208
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6209
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6210
 
$as_echo_n "checking for $ac_header... " >&6; }
6211
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6212
 
  $as_echo_n "(cached) " >&6
6213
 
fi
6214
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6215
 
                 $as_echo "$as_val"'`
6216
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6217
 
$as_echo "$ac_res" >&6; }
6218
 
else
6219
 
  # Is the header compilable?
6220
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6221
 
$as_echo_n "checking $ac_header usability... " >&6; }
6222
 
cat >conftest.$ac_ext <<_ACEOF
6223
 
/* confdefs.h.  */
6224
 
_ACEOF
6225
 
cat confdefs.h >>conftest.$ac_ext
6226
 
cat >>conftest.$ac_ext <<_ACEOF
6227
 
/* end confdefs.h.  */
6228
 
$ac_includes_default
6229
 
#include <$ac_header>
6230
 
_ACEOF
6231
 
rm -f conftest.$ac_objext
6232
 
if { (ac_try="$ac_compile"
6233
 
case "(($ac_try" in
6234
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6235
 
  *) ac_try_echo=$ac_try;;
6236
 
esac
6237
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6238
 
$as_echo "$ac_try_echo") >&5
6239
 
  (eval "$ac_compile") 2>conftest.er1
6240
 
  ac_status=$?
6241
 
  grep -v '^ *+' conftest.er1 >conftest.err
6242
 
  rm -f conftest.er1
6243
 
  cat conftest.err >&5
6244
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245
 
  (exit $ac_status); } && {
6246
 
         test -z "$ac_c_werror_flag" ||
6247
 
         test ! -s conftest.err
6248
 
       } && test -s conftest.$ac_objext; then
6249
 
  ac_header_compiler=yes
6250
 
else
6251
 
  $as_echo "$as_me: failed program was:" >&5
6252
 
sed 's/^/| /' conftest.$ac_ext >&5
6253
 
 
6254
 
        ac_header_compiler=no
6255
 
fi
6256
 
 
6257
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6258
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6259
 
$as_echo "$ac_header_compiler" >&6; }
6260
 
 
6261
 
# Is the header present?
6262
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6263
 
$as_echo_n "checking $ac_header presence... " >&6; }
6264
 
cat >conftest.$ac_ext <<_ACEOF
6265
 
/* confdefs.h.  */
6266
 
_ACEOF
6267
 
cat confdefs.h >>conftest.$ac_ext
6268
 
cat >>conftest.$ac_ext <<_ACEOF
6269
 
/* end confdefs.h.  */
6270
 
#include <$ac_header>
6271
 
_ACEOF
6272
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6273
 
case "(($ac_try" in
6274
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6275
 
  *) ac_try_echo=$ac_try;;
6276
 
esac
6277
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6278
 
$as_echo "$ac_try_echo") >&5
6279
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6280
 
  ac_status=$?
6281
 
  grep -v '^ *+' conftest.er1 >conftest.err
6282
 
  rm -f conftest.er1
6283
 
  cat conftest.err >&5
6284
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285
 
  (exit $ac_status); } >/dev/null && {
6286
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6287
 
         test ! -s conftest.err
6288
 
       }; then
6289
 
  ac_header_preproc=yes
6290
 
else
6291
 
  $as_echo "$as_me: failed program was:" >&5
6292
 
sed 's/^/| /' conftest.$ac_ext >&5
6293
 
 
6294
 
  ac_header_preproc=no
6295
 
fi
6296
 
 
6297
 
rm -f conftest.err conftest.$ac_ext
6298
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6299
 
$as_echo "$ac_header_preproc" >&6; }
6300
 
 
6301
 
# So?  What about this header?
6302
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6303
 
  yes:no: )
6304
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6305
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6306
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6307
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6308
 
    ac_header_preproc=yes
6309
 
    ;;
6310
 
  no:yes:* )
6311
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6312
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6313
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6314
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6315
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6316
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6317
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6318
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6319
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6320
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6321
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6322
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6323
 
    ( cat <<\_ASBOX
6324
 
## ----------------------------------------- ##
6325
 
## Report this to memcached@googlegroups.com ##
6326
 
## ----------------------------------------- ##
6327
 
_ASBOX
6328
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
6329
 
    ;;
6330
 
esac
6331
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6332
 
$as_echo_n "checking for $ac_header... " >&6; }
6333
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6334
 
  $as_echo_n "(cached) " >&6
6335
 
else
6336
 
  eval "$as_ac_Header=\$ac_header_preproc"
6337
 
fi
6338
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6339
 
                 $as_echo "$as_val"'`
6340
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6341
 
$as_echo "$ac_res" >&6; }
6342
 
 
6343
 
fi
6344
 
as_val=`eval 'as_val=${'$as_ac_Header'}
6345
 
                 $as_echo "$as_val"'`
6346
 
   if test "x$as_val" = x""yes; then
 
5551
do :
 
5552
  ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
 
5553
if test "x$ac_cv_header_inttypes_h" = x""yes; then :
6347
5554
  cat >>confdefs.h <<_ACEOF
6348
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5555
#define HAVE_INTTYPES_H 1
6349
5556
_ACEOF
6350
5557
 
6351
5558
fi
6357
5564
 
6358
5565
 
6359
5566
 
6360
 
 
6361
 
    { $as_echo "$as_me:$LINENO: checking for print macros for integers (C99 section 7.8.1)" >&5
 
5567
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for print macros for integers (C99 section 7.8.1)" >&5
6362
5568
$as_echo_n "checking for print macros for integers (C99 section 7.8.1)... " >&6; }
6363
 
if test "${ac_cv_c_uint64_support+set}" = set; then
 
5569
if test "${ac_cv_c_uint64_support+set}" = set; then :
6364
5570
  $as_echo_n "(cached) " >&6
6365
5571
else
6366
 
  cat >conftest.$ac_ext <<_ACEOF
6367
 
/* confdefs.h.  */
6368
 
_ACEOF
6369
 
cat confdefs.h >>conftest.$ac_ext
6370
 
cat >>conftest.$ac_ext <<_ACEOF
 
5572
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6371
5573
/* end confdefs.h.  */
6372
5574
 
6373
5575
#ifdef HAVE_INTTYPES_H
6386
5588
  return 0;
6387
5589
}
6388
5590
_ACEOF
6389
 
rm -f conftest.$ac_objext
6390
 
if { (ac_try="$ac_compile"
6391
 
case "(($ac_try" in
6392
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6393
 
  *) ac_try_echo=$ac_try;;
6394
 
esac
6395
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6396
 
$as_echo "$ac_try_echo") >&5
6397
 
  (eval "$ac_compile") 2>conftest.er1
6398
 
  ac_status=$?
6399
 
  grep -v '^ *+' conftest.er1 >conftest.err
6400
 
  rm -f conftest.er1
6401
 
  cat conftest.err >&5
6402
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403
 
  (exit $ac_status); } && {
6404
 
         test -z "$ac_c_werror_flag" ||
6405
 
         test ! -s conftest.err
6406
 
       } && test -s conftest.$ac_objext; then
 
5591
if ac_fn_c_try_compile "$LINENO"; then :
6407
5592
   ac_cv_c_uint64_support=yes
6408
5593
else
6409
 
  $as_echo "$as_me: failed program was:" >&5
6410
 
sed 's/^/| /' conftest.$ac_ext >&5
6411
 
 
6412
 
         ac_cv_c_uint64_support=no
 
5594
   ac_cv_c_uint64_support=no
6413
5595
fi
6414
 
 
6415
5596
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6416
5597
 
6417
5598
fi
6418
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_support" >&5
 
5599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_uint64_support" >&5
6419
5600
$as_echo "$ac_cv_c_uint64_support" >&6; }
6420
5601
 
6421
 
if test "x$ac_cv_c_uint64_support" = "xno"; then
6422
 
  { $as_echo "$as_me:$LINENO: WARNING:
 
5602
if test "x$ac_cv_c_uint64_support" = "xno"; then :
 
5603
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
6423
5604
 
6424
5605
Failed to use print macros (PRIu) as defined in C99 section 7.8.1.
6425
5606
 
6431
5612
" >&2;}
6432
5613
fi
6433
5614
 
6434
 
 
6435
 
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
5615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6436
5616
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6437
 
if test "${ac_cv_c_const+set}" = set; then
 
5617
if test "${ac_cv_c_const+set}" = set; then :
6438
5618
  $as_echo_n "(cached) " >&6
6439
5619
else
6440
 
  cat >conftest.$ac_ext <<_ACEOF
6441
 
/* confdefs.h.  */
6442
 
_ACEOF
6443
 
cat confdefs.h >>conftest.$ac_ext
6444
 
cat >>conftest.$ac_ext <<_ACEOF
 
5620
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6445
5621
/* end confdefs.h.  */
6446
5622
 
6447
5623
int
6501
5677
  return 0;
6502
5678
}
6503
5679
_ACEOF
6504
 
rm -f conftest.$ac_objext
6505
 
if { (ac_try="$ac_compile"
6506
 
case "(($ac_try" in
6507
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6508
 
  *) ac_try_echo=$ac_try;;
6509
 
esac
6510
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6511
 
$as_echo "$ac_try_echo") >&5
6512
 
  (eval "$ac_compile") 2>conftest.er1
6513
 
  ac_status=$?
6514
 
  grep -v '^ *+' conftest.er1 >conftest.err
6515
 
  rm -f conftest.er1
6516
 
  cat conftest.err >&5
6517
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518
 
  (exit $ac_status); } && {
6519
 
         test -z "$ac_c_werror_flag" ||
6520
 
         test ! -s conftest.err
6521
 
       } && test -s conftest.$ac_objext; then
 
5680
if ac_fn_c_try_compile "$LINENO"; then :
6522
5681
  ac_cv_c_const=yes
6523
5682
else
6524
 
  $as_echo "$as_me: failed program was:" >&5
6525
 
sed 's/^/| /' conftest.$ac_ext >&5
6526
 
 
6527
 
        ac_cv_c_const=no
 
5683
  ac_cv_c_const=no
6528
5684
fi
6529
 
 
6530
5685
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6531
5686
fi
6532
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
5687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6533
5688
$as_echo "$ac_cv_c_const" >&6; }
6534
5689
if test $ac_cv_c_const = no; then
6535
5690
 
6536
 
cat >>confdefs.h <<\_ACEOF
6537
 
#define const /**/
6538
 
_ACEOF
 
5691
$as_echo "#define const /**/" >>confdefs.h
6539
5692
 
6540
5693
fi
6541
5694
 
6542
5695
 
6543
5696
 
6544
5697
 
6545
 
{ $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
 
5698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
6546
5699
$as_echo_n "checking for socklen_t... " >&6; }
6547
 
if test "${ac_cv_c_socklen_t+set}" = set; then
 
5700
if test "${ac_cv_c_socklen_t+set}" = set; then :
6548
5701
  $as_echo_n "(cached) " >&6
6549
5702
else
6550
5703
 
6551
 
  cat >conftest.$ac_ext <<_ACEOF
6552
 
/* confdefs.h.  */
6553
 
_ACEOF
6554
 
cat confdefs.h >>conftest.$ac_ext
6555
 
cat >>conftest.$ac_ext <<_ACEOF
 
5704
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6556
5705
/* end confdefs.h.  */
6557
5706
 
6558
5707
    #include <sys/types.h>
6568
5717
  return 0;
6569
5718
}
6570
5719
_ACEOF
6571
 
rm -f conftest.$ac_objext
6572
 
if { (ac_try="$ac_compile"
6573
 
case "(($ac_try" in
6574
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6575
 
  *) ac_try_echo=$ac_try;;
6576
 
esac
6577
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6578
 
$as_echo "$ac_try_echo") >&5
6579
 
  (eval "$ac_compile") 2>conftest.er1
6580
 
  ac_status=$?
6581
 
  grep -v '^ *+' conftest.er1 >conftest.err
6582
 
  rm -f conftest.er1
6583
 
  cat conftest.err >&5
6584
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585
 
  (exit $ac_status); } && {
6586
 
         test -z "$ac_c_werror_flag" ||
6587
 
         test ! -s conftest.err
6588
 
       } && test -s conftest.$ac_objext; then
 
5720
if ac_fn_c_try_compile "$LINENO"; then :
6589
5721
 
6590
5722
    ac_cv_c_socklen_t=yes
6591
5723
 
6592
5724
else
6593
 
  $as_echo "$as_me: failed program was:" >&5
6594
 
sed 's/^/| /' conftest.$ac_ext >&5
6595
 
 
6596
5725
 
6597
5726
    ac_cv_c_socklen_t=no
6598
5727
 
6599
5728
fi
6600
 
 
6601
5729
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6602
5730
 
6603
5731
fi
6604
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_socklen_t" >&5
 
5732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_socklen_t" >&5
6605
5733
$as_echo "$ac_cv_c_socklen_t" >&6; }
6606
5734
if test $ac_cv_c_socklen_t = no; then
6607
5735
 
6608
 
cat >>confdefs.h <<\_ACEOF
6609
 
#define socklen_t int
6610
 
_ACEOF
 
5736
$as_echo "#define socklen_t int" >>confdefs.h
6611
5737
 
6612
5738
fi
6613
5739
 
6614
5740
 
6615
5741
 
6616
5742
 
6617
 
{ $as_echo "$as_me:$LINENO: checking for endianness" >&5
 
5743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for endianness" >&5
6618
5744
$as_echo_n "checking for endianness... " >&6; }
6619
 
if test "${ac_cv_c_endian+set}" = set; then
 
5745
if test "${ac_cv_c_endian+set}" = set; then :
6620
5746
  $as_echo_n "(cached) " >&6
6621
5747
else
6622
5748
 
6623
 
  if test "$cross_compiling" = yes; then
6624
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5749
  if test "$cross_compiling" = yes; then :
 
5750
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6625
5751
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6626
 
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6627
 
See \`config.log' for more details." >&5
6628
 
$as_echo "$as_me: error: cannot run test program while cross compiling
6629
 
See \`config.log' for more details." >&2;}
6630
 
   { (exit 1); exit 1; }; }; }
 
5752
as_fn_error "cannot run test program while cross compiling
 
5753
See \`config.log' for more details." "$LINENO" 5; }
6631
5754
else
6632
 
  cat >conftest.$ac_ext <<_ACEOF
6633
 
/* confdefs.h.  */
6634
 
_ACEOF
6635
 
cat confdefs.h >>conftest.$ac_ext
6636
 
cat >>conftest.$ac_ext <<_ACEOF
 
5755
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6637
5756
/* end confdefs.h.  */
6638
5757
 
6639
5758
int
6648
5767
}
6649
5768
 
6650
5769
_ACEOF
6651
 
rm -f conftest$ac_exeext
6652
 
if { (ac_try="$ac_link"
6653
 
case "(($ac_try" in
6654
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6655
 
  *) ac_try_echo=$ac_try;;
6656
 
esac
6657
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6658
 
$as_echo "$ac_try_echo") >&5
6659
 
  (eval "$ac_link") 2>&5
6660
 
  ac_status=$?
6661
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6663
 
  { (case "(($ac_try" in
6664
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6665
 
  *) ac_try_echo=$ac_try;;
6666
 
esac
6667
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6668
 
$as_echo "$ac_try_echo") >&5
6669
 
  (eval "$ac_try") 2>&5
6670
 
  ac_status=$?
6671
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672
 
  (exit $ac_status); }; }; then
 
5770
if ac_fn_c_try_run "$LINENO"; then :
6673
5771
 
6674
5772
    ac_cv_c_endian=big
6675
5773
 
6676
5774
else
6677
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
6678
 
$as_echo "$as_me: failed program was:" >&5
6679
 
sed 's/^/| /' conftest.$ac_ext >&5
6680
 
 
6681
 
( exit $ac_status )
6682
5775
 
6683
5776
    ac_cv_c_endian=little
6684
5777
 
6685
5778
fi
6686
 
rm -rf conftest.dSYM
6687
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6688
 
fi
6689
 
 
6690
 
 
6691
 
 
6692
 
fi
6693
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_endian" >&5
 
5779
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5780
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5781
fi
 
5782
 
 
5783
 
 
5784
fi
 
5785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_endian" >&5
6694
5786
$as_echo "$ac_cv_c_endian" >&6; }
6695
5787
if test $ac_cv_c_endian = big; then
6696
5788
 
6697
 
cat >>confdefs.h <<\_ACEOF
6698
 
#define ENDIAN_BIG 1
6699
 
_ACEOF
 
5789
$as_echo "#define ENDIAN_BIG 1" >>confdefs.h
6700
5790
 
6701
5791
fi
6702
5792
if test $ac_cv_c_endian = little; then
6703
5793
 
6704
 
cat >>confdefs.h <<\_ACEOF
6705
 
#define ENDIAN_LITTLE 1
6706
 
_ACEOF
 
5794
$as_echo "#define ENDIAN_LITTLE 1" >>confdefs.h
6707
5795
 
6708
5796
fi
6709
5797
 
6711
5799
 
6712
5800
 
6713
5801
 
6714
 
    { $as_echo "$as_me:$LINENO: checking for htonll" >&5
 
5802
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htonll" >&5
6715
5803
$as_echo_n "checking for htonll... " >&6; }
6716
5804
    have_htoll="no"
6717
 
    if test "$cross_compiling" = yes; then
6718
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6719
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6720
 
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6721
 
See \`config.log' for more details." >&5
6722
 
$as_echo "$as_me: error: cannot run test program while cross compiling
6723
 
See \`config.log' for more details." >&2;}
6724
 
   { (exit 1); exit 1; }; }; }
6725
 
else
6726
 
  cat >conftest.$ac_ext <<_ACEOF
6727
 
 
6728
 
       /* confdefs.h.  */
6729
 
_ACEOF
6730
 
cat confdefs.h >>conftest.$ac_ext
6731
 
cat >>conftest.$ac_ext <<_ACEOF
 
5805
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6732
5806
/* end confdefs.h.  */
6733
5807
 
6734
5808
#include <sys/types.h>
6746
5820
  ;
6747
5821
  return 0;
6748
5822
}
6749
 
 
6750
 
_ACEOF
6751
 
rm -f conftest$ac_exeext
6752
 
if { (ac_try="$ac_link"
6753
 
case "(($ac_try" in
6754
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6755
 
  *) ac_try_echo=$ac_try;;
6756
 
esac
6757
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6758
 
$as_echo "$ac_try_echo") >&5
6759
 
  (eval "$ac_link") 2>&5
6760
 
  ac_status=$?
6761
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6763
 
  { (case "(($ac_try" in
6764
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6765
 
  *) ac_try_echo=$ac_try;;
6766
 
esac
6767
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6768
 
$as_echo "$ac_try_echo") >&5
6769
 
  (eval "$ac_try") 2>&5
6770
 
  ac_status=$?
6771
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772
 
  (exit $ac_status); }; }; then
6773
 
 
6774
 
      have_htoll="yes"
6775
 
 
6776
 
cat >>confdefs.h <<\_ACEOF
6777
 
#define HAVE_HTONLL 1
6778
 
_ACEOF
 
5823
_ACEOF
 
5824
if ac_fn_c_try_link "$LINENO"; then :
 
5825
 
 
5826
          have_htoll="yes"
 
5827
 
 
5828
$as_echo "#define HAVE_HTONLL 1" >>confdefs.h
6779
5829
 
6780
5830
 
6781
5831
else
6782
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
6783
 
$as_echo "$as_me: failed program was:" >&5
6784
 
sed 's/^/| /' conftest.$ac_ext >&5
6785
 
 
6786
 
fi
6787
 
rm -rf conftest.dSYM
6788
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6789
 
fi
6790
 
 
6791
 
 
6792
 
 
6793
 
    { $as_echo "$as_me:$LINENO: result: $have_htoll" >&5
 
5832
 
 
5833
          have_htoll="no"
 
5834
 
 
5835
fi
 
5836
rm -f core conftest.err conftest.$ac_objext \
 
5837
    conftest$ac_exeext conftest.$ac_ext
 
5838
 
 
5839
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_htoll" >&5
6794
5840
$as_echo "$have_htoll" >&6; }
6795
5841
 
6796
5842
 
6797
 
{ $as_echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
 
5843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
6798
5844
$as_echo_n "checking for library containing pthread_create... " >&6; }
6799
 
if test "${ac_cv_search_pthread_create+set}" = set; then
 
5845
if test "${ac_cv_search_pthread_create+set}" = set; then :
6800
5846
  $as_echo_n "(cached) " >&6
6801
5847
else
6802
5848
  ac_func_search_save_LIBS=$LIBS
6803
 
cat >conftest.$ac_ext <<_ACEOF
6804
 
/* confdefs.h.  */
6805
 
_ACEOF
6806
 
cat confdefs.h >>conftest.$ac_ext
6807
 
cat >>conftest.$ac_ext <<_ACEOF
 
5849
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6808
5850
/* end confdefs.h.  */
6809
5851
 
6810
5852
/* Override any GCC internal prototype to avoid an error.
6829
5871
    ac_res=-l$ac_lib
6830
5872
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6831
5873
  fi
6832
 
  rm -f conftest.$ac_objext conftest$ac_exeext
6833
 
if { (ac_try="$ac_link"
6834
 
case "(($ac_try" in
6835
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6836
 
  *) ac_try_echo=$ac_try;;
6837
 
esac
6838
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6839
 
$as_echo "$ac_try_echo") >&5
6840
 
  (eval "$ac_link") 2>conftest.er1
6841
 
  ac_status=$?
6842
 
  grep -v '^ *+' conftest.er1 >conftest.err
6843
 
  rm -f conftest.er1
6844
 
  cat conftest.err >&5
6845
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846
 
  (exit $ac_status); } && {
6847
 
         test -z "$ac_c_werror_flag" ||
6848
 
         test ! -s conftest.err
6849
 
       } && test -s conftest$ac_exeext && {
6850
 
         test "$cross_compiling" = yes ||
6851
 
         $as_test_x conftest$ac_exeext
6852
 
       }; then
 
5874
  if ac_fn_c_try_link "$LINENO"; then :
6853
5875
  ac_cv_search_pthread_create=$ac_res
6854
 
else
6855
 
  $as_echo "$as_me: failed program was:" >&5
6856
 
sed 's/^/| /' conftest.$ac_ext >&5
6857
 
 
6858
 
 
6859
5876
fi
6860
 
 
6861
 
rm -rf conftest.dSYM
6862
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6863
 
      conftest$ac_exeext
6864
 
  if test "${ac_cv_search_pthread_create+set}" = set; then
 
5877
rm -f core conftest.err conftest.$ac_objext \
 
5878
    conftest$ac_exeext
 
5879
  if test "${ac_cv_search_pthread_create+set}" = set; then :
6865
5880
  break
6866
5881
fi
6867
5882
done
6868
 
if test "${ac_cv_search_pthread_create+set}" = set; then
6869
 
  :
 
5883
if test "${ac_cv_search_pthread_create+set}" = set; then :
 
5884
 
6870
5885
else
6871
5886
  ac_cv_search_pthread_create=no
6872
5887
fi
6873
5888
rm conftest.$ac_ext
6874
5889
LIBS=$ac_func_search_save_LIBS
6875
5890
fi
6876
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5
 
5891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
6877
5892
$as_echo "$ac_cv_search_pthread_create" >&6; }
6878
5893
ac_res=$ac_cv_search_pthread_create
6879
 
if test "$ac_res" != no; then
 
5894
if test "$ac_res" != no; then :
6880
5895
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6881
5896
 
6882
5897
fi
6883
5898
 
6884
5899
if test "x$ac_cv_search_pthread_create" = "xno"; then
6885
 
  { { $as_echo "$as_me:$LINENO: error: Can't enable threads without the POSIX thread library." >&5
6886
 
$as_echo "$as_me: error: Can't enable threads without the POSIX thread library." >&2;}
6887
 
   { (exit 1); exit 1; }; }
 
5900
  as_fn_error "Can't enable threads without the POSIX thread library." "$LINENO" 5
6888
5901
fi
6889
5902
 
6890
 
 
6891
5903
for ac_func in mlockall
6892
 
do
6893
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6894
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6895
 
$as_echo_n "checking for $ac_func... " >&6; }
6896
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6897
 
  $as_echo_n "(cached) " >&6
6898
 
else
6899
 
  cat >conftest.$ac_ext <<_ACEOF
6900
 
/* confdefs.h.  */
6901
 
_ACEOF
6902
 
cat confdefs.h >>conftest.$ac_ext
6903
 
cat >>conftest.$ac_ext <<_ACEOF
6904
 
/* end confdefs.h.  */
6905
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6906
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6907
 
#define $ac_func innocuous_$ac_func
6908
 
 
6909
 
/* System header to define __stub macros and hopefully few prototypes,
6910
 
    which can conflict with char $ac_func (); below.
6911
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6912
 
    <limits.h> exists even on freestanding compilers.  */
6913
 
 
6914
 
#ifdef __STDC__
6915
 
# include <limits.h>
6916
 
#else
6917
 
# include <assert.h>
6918
 
#endif
6919
 
 
6920
 
#undef $ac_func
6921
 
 
6922
 
/* Override any GCC internal prototype to avoid an error.
6923
 
   Use char because int might match the return type of a GCC
6924
 
   builtin and then its argument prototype would still apply.  */
6925
 
#ifdef __cplusplus
6926
 
extern "C"
6927
 
#endif
6928
 
char $ac_func ();
6929
 
/* The GNU C library defines this for functions which it implements
6930
 
    to always fail with ENOSYS.  Some functions are actually named
6931
 
    something starting with __ and the normal name is an alias.  */
6932
 
#if defined __stub_$ac_func || defined __stub___$ac_func
6933
 
choke me
6934
 
#endif
6935
 
 
6936
 
int
6937
 
main ()
6938
 
{
6939
 
return $ac_func ();
6940
 
  ;
6941
 
  return 0;
6942
 
}
6943
 
_ACEOF
6944
 
rm -f conftest.$ac_objext conftest$ac_exeext
6945
 
if { (ac_try="$ac_link"
6946
 
case "(($ac_try" in
6947
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6948
 
  *) ac_try_echo=$ac_try;;
6949
 
esac
6950
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6951
 
$as_echo "$ac_try_echo") >&5
6952
 
  (eval "$ac_link") 2>conftest.er1
6953
 
  ac_status=$?
6954
 
  grep -v '^ *+' conftest.er1 >conftest.err
6955
 
  rm -f conftest.er1
6956
 
  cat conftest.err >&5
6957
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958
 
  (exit $ac_status); } && {
6959
 
         test -z "$ac_c_werror_flag" ||
6960
 
         test ! -s conftest.err
6961
 
       } && test -s conftest$ac_exeext && {
6962
 
         test "$cross_compiling" = yes ||
6963
 
         $as_test_x conftest$ac_exeext
6964
 
       }; then
6965
 
  eval "$as_ac_var=yes"
6966
 
else
6967
 
  $as_echo "$as_me: failed program was:" >&5
6968
 
sed 's/^/| /' conftest.$ac_ext >&5
6969
 
 
6970
 
        eval "$as_ac_var=no"
6971
 
fi
6972
 
 
6973
 
rm -rf conftest.dSYM
6974
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6975
 
      conftest$ac_exeext conftest.$ac_ext
6976
 
fi
6977
 
ac_res=`eval 'as_val=${'$as_ac_var'}
6978
 
                 $as_echo "$as_val"'`
6979
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6980
 
$as_echo "$ac_res" >&6; }
6981
 
as_val=`eval 'as_val=${'$as_ac_var'}
6982
 
                 $as_echo "$as_val"'`
6983
 
   if test "x$as_val" = x""yes; then
 
5904
do :
 
5905
  ac_fn_c_check_func "$LINENO" "mlockall" "ac_cv_func_mlockall"
 
5906
if test "x$ac_cv_func_mlockall" = x""yes; then :
6984
5907
  cat >>confdefs.h <<_ACEOF
6985
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5908
#define HAVE_MLOCKALL 1
6986
5909
_ACEOF
6987
5910
 
6988
5911
fi
6989
5912
done
6990
5913
 
6991
 
 
6992
5914
for ac_func in getpagesizes
6993
 
do
6994
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6995
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6996
 
$as_echo_n "checking for $ac_func... " >&6; }
6997
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6998
 
  $as_echo_n "(cached) " >&6
6999
 
else
7000
 
  cat >conftest.$ac_ext <<_ACEOF
7001
 
/* confdefs.h.  */
7002
 
_ACEOF
7003
 
cat confdefs.h >>conftest.$ac_ext
7004
 
cat >>conftest.$ac_ext <<_ACEOF
7005
 
/* end confdefs.h.  */
7006
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7007
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7008
 
#define $ac_func innocuous_$ac_func
7009
 
 
7010
 
/* System header to define __stub macros and hopefully few prototypes,
7011
 
    which can conflict with char $ac_func (); below.
7012
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7013
 
    <limits.h> exists even on freestanding compilers.  */
7014
 
 
7015
 
#ifdef __STDC__
7016
 
# include <limits.h>
7017
 
#else
7018
 
# include <assert.h>
7019
 
#endif
7020
 
 
7021
 
#undef $ac_func
7022
 
 
7023
 
/* Override any GCC internal prototype to avoid an error.
7024
 
   Use char because int might match the return type of a GCC
7025
 
   builtin and then its argument prototype would still apply.  */
7026
 
#ifdef __cplusplus
7027
 
extern "C"
7028
 
#endif
7029
 
char $ac_func ();
7030
 
/* The GNU C library defines this for functions which it implements
7031
 
    to always fail with ENOSYS.  Some functions are actually named
7032
 
    something starting with __ and the normal name is an alias.  */
7033
 
#if defined __stub_$ac_func || defined __stub___$ac_func
7034
 
choke me
7035
 
#endif
7036
 
 
7037
 
int
7038
 
main ()
7039
 
{
7040
 
return $ac_func ();
7041
 
  ;
7042
 
  return 0;
7043
 
}
7044
 
_ACEOF
7045
 
rm -f conftest.$ac_objext conftest$ac_exeext
7046
 
if { (ac_try="$ac_link"
7047
 
case "(($ac_try" in
7048
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7049
 
  *) ac_try_echo=$ac_try;;
7050
 
esac
7051
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7052
 
$as_echo "$ac_try_echo") >&5
7053
 
  (eval "$ac_link") 2>conftest.er1
7054
 
  ac_status=$?
7055
 
  grep -v '^ *+' conftest.er1 >conftest.err
7056
 
  rm -f conftest.er1
7057
 
  cat conftest.err >&5
7058
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059
 
  (exit $ac_status); } && {
7060
 
         test -z "$ac_c_werror_flag" ||
7061
 
         test ! -s conftest.err
7062
 
       } && test -s conftest$ac_exeext && {
7063
 
         test "$cross_compiling" = yes ||
7064
 
         $as_test_x conftest$ac_exeext
7065
 
       }; then
7066
 
  eval "$as_ac_var=yes"
7067
 
else
7068
 
  $as_echo "$as_me: failed program was:" >&5
7069
 
sed 's/^/| /' conftest.$ac_ext >&5
7070
 
 
7071
 
        eval "$as_ac_var=no"
7072
 
fi
7073
 
 
7074
 
rm -rf conftest.dSYM
7075
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7076
 
      conftest$ac_exeext conftest.$ac_ext
7077
 
fi
7078
 
ac_res=`eval 'as_val=${'$as_ac_var'}
7079
 
                 $as_echo "$as_val"'`
7080
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7081
 
$as_echo "$ac_res" >&6; }
7082
 
as_val=`eval 'as_val=${'$as_ac_var'}
7083
 
                 $as_echo "$as_val"'`
7084
 
   if test "x$as_val" = x""yes; then
 
5915
do :
 
5916
  ac_fn_c_check_func "$LINENO" "getpagesizes" "ac_cv_func_getpagesizes"
 
5917
if test "x$ac_cv_func_getpagesizes" = x""yes; then :
7085
5918
  cat >>confdefs.h <<_ACEOF
7086
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5919
#define HAVE_GETPAGESIZES 1
7087
5920
_ACEOF
7088
5921
 
7089
5922
fi
7090
5923
done
7091
5924
 
7092
 
 
7093
5925
for ac_func in memcntl
7094
 
do
7095
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7096
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7097
 
$as_echo_n "checking for $ac_func... " >&6; }
7098
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7099
 
  $as_echo_n "(cached) " >&6
7100
 
else
7101
 
  cat >conftest.$ac_ext <<_ACEOF
7102
 
/* confdefs.h.  */
7103
 
_ACEOF
7104
 
cat confdefs.h >>conftest.$ac_ext
7105
 
cat >>conftest.$ac_ext <<_ACEOF
7106
 
/* end confdefs.h.  */
7107
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7108
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7109
 
#define $ac_func innocuous_$ac_func
7110
 
 
7111
 
/* System header to define __stub macros and hopefully few prototypes,
7112
 
    which can conflict with char $ac_func (); below.
7113
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7114
 
    <limits.h> exists even on freestanding compilers.  */
7115
 
 
7116
 
#ifdef __STDC__
7117
 
# include <limits.h>
7118
 
#else
7119
 
# include <assert.h>
7120
 
#endif
7121
 
 
7122
 
#undef $ac_func
7123
 
 
7124
 
/* Override any GCC internal prototype to avoid an error.
7125
 
   Use char because int might match the return type of a GCC
7126
 
   builtin and then its argument prototype would still apply.  */
7127
 
#ifdef __cplusplus
7128
 
extern "C"
7129
 
#endif
7130
 
char $ac_func ();
7131
 
/* The GNU C library defines this for functions which it implements
7132
 
    to always fail with ENOSYS.  Some functions are actually named
7133
 
    something starting with __ and the normal name is an alias.  */
7134
 
#if defined __stub_$ac_func || defined __stub___$ac_func
7135
 
choke me
7136
 
#endif
7137
 
 
7138
 
int
7139
 
main ()
7140
 
{
7141
 
return $ac_func ();
7142
 
  ;
7143
 
  return 0;
7144
 
}
7145
 
_ACEOF
7146
 
rm -f conftest.$ac_objext conftest$ac_exeext
7147
 
if { (ac_try="$ac_link"
7148
 
case "(($ac_try" in
7149
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7150
 
  *) ac_try_echo=$ac_try;;
7151
 
esac
7152
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7153
 
$as_echo "$ac_try_echo") >&5
7154
 
  (eval "$ac_link") 2>conftest.er1
7155
 
  ac_status=$?
7156
 
  grep -v '^ *+' conftest.er1 >conftest.err
7157
 
  rm -f conftest.er1
7158
 
  cat conftest.err >&5
7159
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160
 
  (exit $ac_status); } && {
7161
 
         test -z "$ac_c_werror_flag" ||
7162
 
         test ! -s conftest.err
7163
 
       } && test -s conftest$ac_exeext && {
7164
 
         test "$cross_compiling" = yes ||
7165
 
         $as_test_x conftest$ac_exeext
7166
 
       }; then
7167
 
  eval "$as_ac_var=yes"
7168
 
else
7169
 
  $as_echo "$as_me: failed program was:" >&5
7170
 
sed 's/^/| /' conftest.$ac_ext >&5
7171
 
 
7172
 
        eval "$as_ac_var=no"
7173
 
fi
7174
 
 
7175
 
rm -rf conftest.dSYM
7176
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7177
 
      conftest$ac_exeext conftest.$ac_ext
7178
 
fi
7179
 
ac_res=`eval 'as_val=${'$as_ac_var'}
7180
 
                 $as_echo "$as_val"'`
7181
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7182
 
$as_echo "$ac_res" >&6; }
7183
 
as_val=`eval 'as_val=${'$as_ac_var'}
7184
 
                 $as_echo "$as_val"'`
7185
 
   if test "x$as_val" = x""yes; then
 
5926
do :
 
5927
  ac_fn_c_check_func "$LINENO" "memcntl" "ac_cv_func_memcntl"
 
5928
if test "x$ac_cv_func_memcntl" = x""yes; then :
7186
5929
  cat >>confdefs.h <<_ACEOF
7187
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5930
#define HAVE_MEMCNTL 1
7188
5931
_ACEOF
7189
5932
 
7190
5933
fi
7191
5934
done
7192
5935
 
7193
 
 
7194
5936
for ac_func in sigignore
7195
 
do
7196
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7197
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7198
 
$as_echo_n "checking for $ac_func... " >&6; }
7199
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7200
 
  $as_echo_n "(cached) " >&6
7201
 
else
7202
 
  cat >conftest.$ac_ext <<_ACEOF
7203
 
/* confdefs.h.  */
7204
 
_ACEOF
7205
 
cat confdefs.h >>conftest.$ac_ext
7206
 
cat >>conftest.$ac_ext <<_ACEOF
7207
 
/* end confdefs.h.  */
7208
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7209
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7210
 
#define $ac_func innocuous_$ac_func
7211
 
 
7212
 
/* System header to define __stub macros and hopefully few prototypes,
7213
 
    which can conflict with char $ac_func (); below.
7214
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7215
 
    <limits.h> exists even on freestanding compilers.  */
7216
 
 
7217
 
#ifdef __STDC__
7218
 
# include <limits.h>
7219
 
#else
7220
 
# include <assert.h>
7221
 
#endif
7222
 
 
7223
 
#undef $ac_func
7224
 
 
7225
 
/* Override any GCC internal prototype to avoid an error.
7226
 
   Use char because int might match the return type of a GCC
7227
 
   builtin and then its argument prototype would still apply.  */
7228
 
#ifdef __cplusplus
7229
 
extern "C"
7230
 
#endif
7231
 
char $ac_func ();
7232
 
/* The GNU C library defines this for functions which it implements
7233
 
    to always fail with ENOSYS.  Some functions are actually named
7234
 
    something starting with __ and the normal name is an alias.  */
7235
 
#if defined __stub_$ac_func || defined __stub___$ac_func
7236
 
choke me
7237
 
#endif
7238
 
 
7239
 
int
7240
 
main ()
7241
 
{
7242
 
return $ac_func ();
7243
 
  ;
7244
 
  return 0;
7245
 
}
7246
 
_ACEOF
7247
 
rm -f conftest.$ac_objext conftest$ac_exeext
7248
 
if { (ac_try="$ac_link"
7249
 
case "(($ac_try" in
7250
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7251
 
  *) ac_try_echo=$ac_try;;
7252
 
esac
7253
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7254
 
$as_echo "$ac_try_echo") >&5
7255
 
  (eval "$ac_link") 2>conftest.er1
7256
 
  ac_status=$?
7257
 
  grep -v '^ *+' conftest.er1 >conftest.err
7258
 
  rm -f conftest.er1
7259
 
  cat conftest.err >&5
7260
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261
 
  (exit $ac_status); } && {
7262
 
         test -z "$ac_c_werror_flag" ||
7263
 
         test ! -s conftest.err
7264
 
       } && test -s conftest$ac_exeext && {
7265
 
         test "$cross_compiling" = yes ||
7266
 
         $as_test_x conftest$ac_exeext
7267
 
       }; then
7268
 
  eval "$as_ac_var=yes"
7269
 
else
7270
 
  $as_echo "$as_me: failed program was:" >&5
7271
 
sed 's/^/| /' conftest.$ac_ext >&5
7272
 
 
7273
 
        eval "$as_ac_var=no"
7274
 
fi
7275
 
 
7276
 
rm -rf conftest.dSYM
7277
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7278
 
      conftest$ac_exeext conftest.$ac_ext
7279
 
fi
7280
 
ac_res=`eval 'as_val=${'$as_ac_var'}
7281
 
                 $as_echo "$as_val"'`
7282
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7283
 
$as_echo "$ac_res" >&6; }
7284
 
as_val=`eval 'as_val=${'$as_ac_var'}
7285
 
                 $as_echo "$as_val"'`
7286
 
   if test "x$as_val" = x""yes; then
7287
 
  cat >>confdefs.h <<_ACEOF
7288
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7289
 
_ACEOF
7290
 
 
7291
 
fi
7292
 
done
7293
 
 
7294
 
 
7295
 
 
7296
 
 
7297
 
{ $as_echo "$as_me:$LINENO: checking for alignment" >&5
 
5937
do :
 
5938
  ac_fn_c_check_func "$LINENO" "sigignore" "ac_cv_func_sigignore"
 
5939
if test "x$ac_cv_func_sigignore" = x""yes; then :
 
5940
  cat >>confdefs.h <<_ACEOF
 
5941
#define HAVE_SIGIGNORE 1
 
5942
_ACEOF
 
5943
 
 
5944
fi
 
5945
done
 
5946
 
 
5947
for ac_func in clock_gettime
 
5948
do :
 
5949
  ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
 
5950
if test "x$ac_cv_func_clock_gettime" = x""yes; then :
 
5951
  cat >>confdefs.h <<_ACEOF
 
5952
#define HAVE_CLOCK_GETTIME 1
 
5953
_ACEOF
 
5954
 
 
5955
fi
 
5956
done
 
5957
 
 
5958
 
 
5959
 
 
5960
 
 
5961
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alignment" >&5
7298
5962
$as_echo_n "checking for alignment... " >&6; }
7299
 
if test "${ac_cv_c_alignment+set}" = set; then
 
5963
if test "${ac_cv_c_alignment+set}" = set; then :
7300
5964
  $as_echo_n "(cached) " >&6
7301
5965
else
7302
5966
 
7303
 
  if test "$cross_compiling" = yes; then
7304
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7305
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7306
 
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7307
 
See \`config.log' for more details." >&5
7308
 
$as_echo "$as_me: error: cannot run test program while cross compiling
7309
 
See \`config.log' for more details." >&2;}
7310
 
   { (exit 1); exit 1; }; }; }
 
5967
  if test "$cross_compiling" = yes; then :
 
5968
 
 
5969
    ac_cv_c_alignment=need
 
5970
 
7311
5971
else
7312
 
  cat >conftest.$ac_ext <<_ACEOF
7313
 
/* confdefs.h.  */
7314
 
_ACEOF
7315
 
cat confdefs.h >>conftest.$ac_ext
7316
 
cat >>conftest.$ac_ext <<_ACEOF
 
5972
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7317
5973
/* end confdefs.h.  */
7318
5974
 
7319
5975
#include <stdlib.h>
7339
5995
}
7340
5996
 
7341
5997
_ACEOF
7342
 
rm -f conftest$ac_exeext
7343
 
if { (ac_try="$ac_link"
7344
 
case "(($ac_try" in
7345
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7346
 
  *) ac_try_echo=$ac_try;;
7347
 
esac
7348
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7349
 
$as_echo "$ac_try_echo") >&5
7350
 
  (eval "$ac_link") 2>&5
7351
 
  ac_status=$?
7352
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7354
 
  { (case "(($ac_try" in
7355
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7356
 
  *) ac_try_echo=$ac_try;;
7357
 
esac
7358
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7359
 
$as_echo "$ac_try_echo") >&5
7360
 
  (eval "$ac_try") 2>&5
7361
 
  ac_status=$?
7362
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363
 
  (exit $ac_status); }; }; then
 
5998
if ac_fn_c_try_run "$LINENO"; then :
7364
5999
 
7365
6000
    ac_cv_c_alignment=none
7366
6001
 
7367
6002
else
7368
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
7369
 
$as_echo "$as_me: failed program was:" >&5
7370
 
sed 's/^/| /' conftest.$ac_ext >&5
7371
 
 
7372
 
( exit $ac_status )
7373
6003
 
7374
6004
    ac_cv_c_alignment=need
7375
6005
 
7376
6006
fi
7377
 
rm -rf conftest.dSYM
7378
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7379
 
fi
7380
 
 
7381
 
 
7382
 
 
7383
 
fi
7384
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_alignment" >&5
 
6007
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
6008
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
6009
fi
 
6010
 
 
6011
 
 
6012
fi
 
6013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_alignment" >&5
7385
6014
$as_echo "$ac_cv_c_alignment" >&6; }
7386
6015
if test $ac_cv_c_alignment = need; then
7387
6016
 
7388
 
cat >>confdefs.h <<\_ACEOF
7389
 
#define NEED_ALIGN 1
7390
 
_ACEOF
 
6017
$as_echo "#define NEED_ALIGN 1" >>confdefs.h
7391
6018
 
7392
6019
fi
7393
6020
 
7394
6021
 
7395
 
 
7396
6022
for ac_func in setppriv
7397
 
do
7398
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7399
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7400
 
$as_echo_n "checking for $ac_func... " >&6; }
7401
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7402
 
  $as_echo_n "(cached) " >&6
7403
 
else
7404
 
  cat >conftest.$ac_ext <<_ACEOF
7405
 
/* confdefs.h.  */
7406
 
_ACEOF
7407
 
cat confdefs.h >>conftest.$ac_ext
7408
 
cat >>conftest.$ac_ext <<_ACEOF
7409
 
/* end confdefs.h.  */
7410
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7411
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7412
 
#define $ac_func innocuous_$ac_func
7413
 
 
7414
 
/* System header to define __stub macros and hopefully few prototypes,
7415
 
    which can conflict with char $ac_func (); below.
7416
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7417
 
    <limits.h> exists even on freestanding compilers.  */
7418
 
 
7419
 
#ifdef __STDC__
7420
 
# include <limits.h>
7421
 
#else
7422
 
# include <assert.h>
7423
 
#endif
7424
 
 
7425
 
#undef $ac_func
7426
 
 
7427
 
/* Override any GCC internal prototype to avoid an error.
7428
 
   Use char because int might match the return type of a GCC
7429
 
   builtin and then its argument prototype would still apply.  */
7430
 
#ifdef __cplusplus
7431
 
extern "C"
7432
 
#endif
7433
 
char $ac_func ();
7434
 
/* The GNU C library defines this for functions which it implements
7435
 
    to always fail with ENOSYS.  Some functions are actually named
7436
 
    something starting with __ and the normal name is an alias.  */
7437
 
#if defined __stub_$ac_func || defined __stub___$ac_func
7438
 
choke me
7439
 
#endif
7440
 
 
7441
 
int
7442
 
main ()
7443
 
{
7444
 
return $ac_func ();
7445
 
  ;
7446
 
  return 0;
7447
 
}
7448
 
_ACEOF
7449
 
rm -f conftest.$ac_objext conftest$ac_exeext
7450
 
if { (ac_try="$ac_link"
7451
 
case "(($ac_try" in
7452
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7453
 
  *) ac_try_echo=$ac_try;;
7454
 
esac
7455
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7456
 
$as_echo "$ac_try_echo") >&5
7457
 
  (eval "$ac_link") 2>conftest.er1
7458
 
  ac_status=$?
7459
 
  grep -v '^ *+' conftest.er1 >conftest.err
7460
 
  rm -f conftest.er1
7461
 
  cat conftest.err >&5
7462
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463
 
  (exit $ac_status); } && {
7464
 
         test -z "$ac_c_werror_flag" ||
7465
 
         test ! -s conftest.err
7466
 
       } && test -s conftest$ac_exeext && {
7467
 
         test "$cross_compiling" = yes ||
7468
 
         $as_test_x conftest$ac_exeext
7469
 
       }; then
7470
 
  eval "$as_ac_var=yes"
7471
 
else
7472
 
  $as_echo "$as_me: failed program was:" >&5
7473
 
sed 's/^/| /' conftest.$ac_ext >&5
7474
 
 
7475
 
        eval "$as_ac_var=no"
7476
 
fi
7477
 
 
7478
 
rm -rf conftest.dSYM
7479
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7480
 
      conftest$ac_exeext conftest.$ac_ext
7481
 
fi
7482
 
ac_res=`eval 'as_val=${'$as_ac_var'}
7483
 
                 $as_echo "$as_val"'`
7484
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7485
 
$as_echo "$ac_res" >&6; }
7486
 
as_val=`eval 'as_val=${'$as_ac_var'}
7487
 
                 $as_echo "$as_val"'`
7488
 
   if test "x$as_val" = x""yes; then
 
6023
do :
 
6024
  ac_fn_c_check_func "$LINENO" "setppriv" "ac_cv_func_setppriv"
 
6025
if test "x$ac_cv_func_setppriv" = x""yes; then :
7489
6026
  cat >>confdefs.h <<_ACEOF
7490
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7491
 
_ACEOF
7492
 
 
7493
 
   if test "${ac_cv_header_priv_h+set}" = set; then
7494
 
  { $as_echo "$as_me:$LINENO: checking for priv.h" >&5
7495
 
$as_echo_n "checking for priv.h... " >&6; }
7496
 
if test "${ac_cv_header_priv_h+set}" = set; then
7497
 
  $as_echo_n "(cached) " >&6
7498
 
fi
7499
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_priv_h" >&5
7500
 
$as_echo "$ac_cv_header_priv_h" >&6; }
7501
 
else
7502
 
  # Is the header compilable?
7503
 
{ $as_echo "$as_me:$LINENO: checking priv.h usability" >&5
7504
 
$as_echo_n "checking priv.h usability... " >&6; }
7505
 
cat >conftest.$ac_ext <<_ACEOF
7506
 
/* confdefs.h.  */
7507
 
_ACEOF
7508
 
cat confdefs.h >>conftest.$ac_ext
7509
 
cat >>conftest.$ac_ext <<_ACEOF
7510
 
/* end confdefs.h.  */
7511
 
$ac_includes_default
7512
 
#include <priv.h>
7513
 
_ACEOF
7514
 
rm -f conftest.$ac_objext
7515
 
if { (ac_try="$ac_compile"
7516
 
case "(($ac_try" in
7517
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7518
 
  *) ac_try_echo=$ac_try;;
7519
 
esac
7520
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7521
 
$as_echo "$ac_try_echo") >&5
7522
 
  (eval "$ac_compile") 2>conftest.er1
7523
 
  ac_status=$?
7524
 
  grep -v '^ *+' conftest.er1 >conftest.err
7525
 
  rm -f conftest.er1
7526
 
  cat conftest.err >&5
7527
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528
 
  (exit $ac_status); } && {
7529
 
         test -z "$ac_c_werror_flag" ||
7530
 
         test ! -s conftest.err
7531
 
       } && test -s conftest.$ac_objext; then
7532
 
  ac_header_compiler=yes
7533
 
else
7534
 
  $as_echo "$as_me: failed program was:" >&5
7535
 
sed 's/^/| /' conftest.$ac_ext >&5
7536
 
 
7537
 
        ac_header_compiler=no
7538
 
fi
7539
 
 
7540
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7541
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7542
 
$as_echo "$ac_header_compiler" >&6; }
7543
 
 
7544
 
# Is the header present?
7545
 
{ $as_echo "$as_me:$LINENO: checking priv.h presence" >&5
7546
 
$as_echo_n "checking priv.h presence... " >&6; }
7547
 
cat >conftest.$ac_ext <<_ACEOF
7548
 
/* confdefs.h.  */
7549
 
_ACEOF
7550
 
cat confdefs.h >>conftest.$ac_ext
7551
 
cat >>conftest.$ac_ext <<_ACEOF
7552
 
/* end confdefs.h.  */
7553
 
#include <priv.h>
7554
 
_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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7561
 
$as_echo "$ac_try_echo") >&5
7562
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7563
 
  ac_status=$?
7564
 
  grep -v '^ *+' conftest.er1 >conftest.err
7565
 
  rm -f conftest.er1
7566
 
  cat conftest.err >&5
7567
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568
 
  (exit $ac_status); } >/dev/null && {
7569
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7570
 
         test ! -s conftest.err
7571
 
       }; then
7572
 
  ac_header_preproc=yes
7573
 
else
7574
 
  $as_echo "$as_me: failed program was:" >&5
7575
 
sed 's/^/| /' conftest.$ac_ext >&5
7576
 
 
7577
 
  ac_header_preproc=no
7578
 
fi
7579
 
 
7580
 
rm -f conftest.err conftest.$ac_ext
7581
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7582
 
$as_echo "$ac_header_preproc" >&6; }
7583
 
 
7584
 
# So?  What about this header?
7585
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7586
 
  yes:no: )
7587
 
    { $as_echo "$as_me:$LINENO: WARNING: priv.h: accepted by the compiler, rejected by the preprocessor!" >&5
7588
 
$as_echo "$as_me: WARNING: priv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7589
 
    { $as_echo "$as_me:$LINENO: WARNING: priv.h: proceeding with the compiler's result" >&5
7590
 
$as_echo "$as_me: WARNING: priv.h: proceeding with the compiler's result" >&2;}
7591
 
    ac_header_preproc=yes
7592
 
    ;;
7593
 
  no:yes:* )
7594
 
    { $as_echo "$as_me:$LINENO: WARNING: priv.h: present but cannot be compiled" >&5
7595
 
$as_echo "$as_me: WARNING: priv.h: present but cannot be compiled" >&2;}
7596
 
    { $as_echo "$as_me:$LINENO: WARNING: priv.h:     check for missing prerequisite headers?" >&5
7597
 
$as_echo "$as_me: WARNING: priv.h:     check for missing prerequisite headers?" >&2;}
7598
 
    { $as_echo "$as_me:$LINENO: WARNING: priv.h: see the Autoconf documentation" >&5
7599
 
$as_echo "$as_me: WARNING: priv.h: see the Autoconf documentation" >&2;}
7600
 
    { $as_echo "$as_me:$LINENO: WARNING: priv.h:     section \"Present But Cannot Be Compiled\"" >&5
7601
 
$as_echo "$as_me: WARNING: priv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
7602
 
    { $as_echo "$as_me:$LINENO: WARNING: priv.h: proceeding with the preprocessor's result" >&5
7603
 
$as_echo "$as_me: WARNING: priv.h: proceeding with the preprocessor's result" >&2;}
7604
 
    { $as_echo "$as_me:$LINENO: WARNING: priv.h: in the future, the compiler will take precedence" >&5
7605
 
$as_echo "$as_me: WARNING: priv.h: in the future, the compiler will take precedence" >&2;}
7606
 
    ( cat <<\_ASBOX
7607
 
## ----------------------------------------- ##
7608
 
## Report this to memcached@googlegroups.com ##
7609
 
## ----------------------------------------- ##
7610
 
_ASBOX
7611
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
7612
 
    ;;
7613
 
esac
7614
 
{ $as_echo "$as_me:$LINENO: checking for priv.h" >&5
7615
 
$as_echo_n "checking for priv.h... " >&6; }
7616
 
if test "${ac_cv_header_priv_h+set}" = set; then
7617
 
  $as_echo_n "(cached) " >&6
7618
 
else
7619
 
  ac_cv_header_priv_h=$ac_header_preproc
7620
 
fi
7621
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_priv_h" >&5
7622
 
$as_echo "$ac_cv_header_priv_h" >&6; }
7623
 
 
7624
 
fi
7625
 
if test "x$ac_cv_header_priv_h" = x""yes; then
7626
 
 
7627
 
 
7628
 
cat >>confdefs.h <<\_ACEOF
7629
 
#define HAVE_DROP_PRIVILEGES 1
7630
 
_ACEOF
 
6027
#define HAVE_SETPPRIV 1
 
6028
_ACEOF
 
6029
 
 
6030
   ac_fn_c_check_header_mongrel "$LINENO" "priv.h" "ac_cv_header_priv_h" "$ac_includes_default"
 
6031
if test "x$ac_cv_header_priv_h" = x""yes; then :
 
6032
 
 
6033
 
 
6034
$as_echo "#define HAVE_DROP_PRIVILEGES 1" >>confdefs.h
7631
6035
 
7632
6036
      build_solaris_privs=yes
7633
6037
 
7648
6052
fi
7649
6053
 
7650
6054
 
7651
 
if test "${ac_cv_header_umem_h+set}" = set; then
7652
 
  { $as_echo "$as_me:$LINENO: checking for umem.h" >&5
7653
 
$as_echo_n "checking for umem.h... " >&6; }
7654
 
if test "${ac_cv_header_umem_h+set}" = set; then
7655
 
  $as_echo_n "(cached) " >&6
7656
 
fi
7657
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_umem_h" >&5
7658
 
$as_echo "$ac_cv_header_umem_h" >&6; }
7659
 
else
7660
 
  # Is the header compilable?
7661
 
{ $as_echo "$as_me:$LINENO: checking umem.h usability" >&5
7662
 
$as_echo_n "checking umem.h usability... " >&6; }
7663
 
cat >conftest.$ac_ext <<_ACEOF
7664
 
/* confdefs.h.  */
7665
 
_ACEOF
7666
 
cat confdefs.h >>conftest.$ac_ext
7667
 
cat >>conftest.$ac_ext <<_ACEOF
7668
 
/* end confdefs.h.  */
7669
 
$ac_includes_default
7670
 
#include <umem.h>
7671
 
_ACEOF
7672
 
rm -f conftest.$ac_objext
7673
 
if { (ac_try="$ac_compile"
7674
 
case "(($ac_try" in
7675
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7676
 
  *) ac_try_echo=$ac_try;;
7677
 
esac
7678
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7679
 
$as_echo "$ac_try_echo") >&5
7680
 
  (eval "$ac_compile") 2>conftest.er1
7681
 
  ac_status=$?
7682
 
  grep -v '^ *+' conftest.er1 >conftest.err
7683
 
  rm -f conftest.er1
7684
 
  cat conftest.err >&5
7685
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686
 
  (exit $ac_status); } && {
7687
 
         test -z "$ac_c_werror_flag" ||
7688
 
         test ! -s conftest.err
7689
 
       } && test -s conftest.$ac_objext; then
7690
 
  ac_header_compiler=yes
7691
 
else
7692
 
  $as_echo "$as_me: failed program was:" >&5
7693
 
sed 's/^/| /' conftest.$ac_ext >&5
7694
 
 
7695
 
        ac_header_compiler=no
7696
 
fi
7697
 
 
7698
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7699
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7700
 
$as_echo "$ac_header_compiler" >&6; }
7701
 
 
7702
 
# Is the header present?
7703
 
{ $as_echo "$as_me:$LINENO: checking umem.h presence" >&5
7704
 
$as_echo_n "checking umem.h presence... " >&6; }
7705
 
cat >conftest.$ac_ext <<_ACEOF
7706
 
/* confdefs.h.  */
7707
 
_ACEOF
7708
 
cat confdefs.h >>conftest.$ac_ext
7709
 
cat >>conftest.$ac_ext <<_ACEOF
7710
 
/* end confdefs.h.  */
7711
 
#include <umem.h>
7712
 
_ACEOF
7713
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7714
 
case "(($ac_try" in
7715
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7716
 
  *) ac_try_echo=$ac_try;;
7717
 
esac
7718
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7719
 
$as_echo "$ac_try_echo") >&5
7720
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7721
 
  ac_status=$?
7722
 
  grep -v '^ *+' conftest.er1 >conftest.err
7723
 
  rm -f conftest.er1
7724
 
  cat conftest.err >&5
7725
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726
 
  (exit $ac_status); } >/dev/null && {
7727
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7728
 
         test ! -s conftest.err
7729
 
       }; then
7730
 
  ac_header_preproc=yes
7731
 
else
7732
 
  $as_echo "$as_me: failed program was:" >&5
7733
 
sed 's/^/| /' conftest.$ac_ext >&5
7734
 
 
7735
 
  ac_header_preproc=no
7736
 
fi
7737
 
 
7738
 
rm -f conftest.err conftest.$ac_ext
7739
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7740
 
$as_echo "$ac_header_preproc" >&6; }
7741
 
 
7742
 
# So?  What about this header?
7743
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7744
 
  yes:no: )
7745
 
    { $as_echo "$as_me:$LINENO: WARNING: umem.h: accepted by the compiler, rejected by the preprocessor!" >&5
7746
 
$as_echo "$as_me: WARNING: umem.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7747
 
    { $as_echo "$as_me:$LINENO: WARNING: umem.h: proceeding with the compiler's result" >&5
7748
 
$as_echo "$as_me: WARNING: umem.h: proceeding with the compiler's result" >&2;}
7749
 
    ac_header_preproc=yes
7750
 
    ;;
7751
 
  no:yes:* )
7752
 
    { $as_echo "$as_me:$LINENO: WARNING: umem.h: present but cannot be compiled" >&5
7753
 
$as_echo "$as_me: WARNING: umem.h: present but cannot be compiled" >&2;}
7754
 
    { $as_echo "$as_me:$LINENO: WARNING: umem.h:     check for missing prerequisite headers?" >&5
7755
 
$as_echo "$as_me: WARNING: umem.h:     check for missing prerequisite headers?" >&2;}
7756
 
    { $as_echo "$as_me:$LINENO: WARNING: umem.h: see the Autoconf documentation" >&5
7757
 
$as_echo "$as_me: WARNING: umem.h: see the Autoconf documentation" >&2;}
7758
 
    { $as_echo "$as_me:$LINENO: WARNING: umem.h:     section \"Present But Cannot Be Compiled\"" >&5
7759
 
$as_echo "$as_me: WARNING: umem.h:     section \"Present But Cannot Be Compiled\"" >&2;}
7760
 
    { $as_echo "$as_me:$LINENO: WARNING: umem.h: proceeding with the preprocessor's result" >&5
7761
 
$as_echo "$as_me: WARNING: umem.h: proceeding with the preprocessor's result" >&2;}
7762
 
    { $as_echo "$as_me:$LINENO: WARNING: umem.h: in the future, the compiler will take precedence" >&5
7763
 
$as_echo "$as_me: WARNING: umem.h: in the future, the compiler will take precedence" >&2;}
7764
 
    ( cat <<\_ASBOX
7765
 
## ----------------------------------------- ##
7766
 
## Report this to memcached@googlegroups.com ##
7767
 
## ----------------------------------------- ##
7768
 
_ASBOX
7769
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
7770
 
    ;;
7771
 
esac
7772
 
{ $as_echo "$as_me:$LINENO: checking for umem.h" >&5
7773
 
$as_echo_n "checking for umem.h... " >&6; }
7774
 
if test "${ac_cv_header_umem_h+set}" = set; then
7775
 
  $as_echo_n "(cached) " >&6
7776
 
else
7777
 
  ac_cv_header_umem_h=$ac_header_preproc
7778
 
fi
7779
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_umem_h" >&5
7780
 
$as_echo "$ac_cv_header_umem_h" >&6; }
7781
 
 
7782
 
fi
7783
 
if test "x$ac_cv_header_umem_h" = x""yes; then
7784
 
 
7785
 
 
7786
 
cat >>confdefs.h <<\_ACEOF
7787
 
#define HAVE_UMEM_H 1
7788
 
_ACEOF
 
6055
ac_fn_c_check_header_mongrel "$LINENO" "umem.h" "ac_cv_header_umem_h" "$ac_includes_default"
 
6056
if test "x$ac_cv_header_umem_h" = x""yes; then :
 
6057
 
 
6058
 
 
6059
$as_echo "#define HAVE_UMEM_H 1" >>confdefs.h
7789
6060
 
7790
6061
   build_cache=no
7791
6062
 
7805
6076
 
7806
6077
 
7807
6078
# Check whether --enable-docs was given.
7808
 
if test "${enable_docs+set}" = set; then
 
6079
if test "${enable_docs+set}" = set; then :
7809
6080
  enableval=$enable_docs;
7810
6081
fi
7811
6082
 
7812
6083
 
7813
6084
# Extract the first word of "xml2rfc", so it can be a program name with args.
7814
6085
set dummy xml2rfc; ac_word=$2
7815
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7816
6087
$as_echo_n "checking for $ac_word... " >&6; }
7817
 
if test "${ac_cv_path_XML2RFC+set}" = set; then
 
6088
if test "${ac_cv_path_XML2RFC+set}" = set; then :
7818
6089
  $as_echo_n "(cached) " >&6
7819
6090
else
7820
6091
  case $XML2RFC in
7827
6098
do
7828
6099
  IFS=$as_save_IFS
7829
6100
  test -z "$as_dir" && as_dir=.
7830
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6101
    for ac_exec_ext in '' $ac_executable_extensions; do
7831
6102
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7832
6103
    ac_cv_path_XML2RFC="$as_dir/$ac_word$ac_exec_ext"
7833
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6104
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7834
6105
    break 2
7835
6106
  fi
7836
6107
done
7837
 
done
 
6108
  done
7838
6109
IFS=$as_save_IFS
7839
6110
 
7840
6111
  test -z "$ac_cv_path_XML2RFC" && ac_cv_path_XML2RFC=""no""
7843
6114
fi
7844
6115
XML2RFC=$ac_cv_path_XML2RFC
7845
6116
if test -n "$XML2RFC"; then
7846
 
  { $as_echo "$as_me:$LINENO: result: $XML2RFC" >&5
 
6117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2RFC" >&5
7847
6118
$as_echo "$XML2RFC" >&6; }
7848
6119
else
7849
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6120
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7850
6121
$as_echo "no" >&6; }
7851
6122
fi
7852
6123
 
7853
6124
 
7854
6125
# Extract the first word of "xsltproc", so it can be a program name with args.
7855
6126
set dummy xsltproc; ac_word=$2
7856
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7857
6128
$as_echo_n "checking for $ac_word... " >&6; }
7858
 
if test "${ac_cv_path_XSLTPROC+set}" = set; then
 
6129
if test "${ac_cv_path_XSLTPROC+set}" = set; then :
7859
6130
  $as_echo_n "(cached) " >&6
7860
6131
else
7861
6132
  case $XSLTPROC in
7868
6139
do
7869
6140
  IFS=$as_save_IFS
7870
6141
  test -z "$as_dir" && as_dir=.
7871
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6142
    for ac_exec_ext in '' $ac_executable_extensions; do
7872
6143
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7873
6144
    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
7874
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6145
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7875
6146
    break 2
7876
6147
  fi
7877
6148
done
7878
 
done
 
6149
  done
7879
6150
IFS=$as_save_IFS
7880
6151
 
7881
6152
  test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC=""no""
7884
6155
fi
7885
6156
XSLTPROC=$ac_cv_path_XSLTPROC
7886
6157
if test -n "$XSLTPROC"; then
7887
 
  { $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5
 
6158
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
7888
6159
$as_echo "$XSLTPROC" >&6; }
7889
6160
else
7890
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6161
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891
6162
$as_echo "no" >&6; }
7892
6163
fi
7893
6164
 
7907
6178
then
7908
6179
      CFLAGS="$CFLAGS -diag-disable 187 -Wall -Werror"
7909
6180
 
7910
 
cat >>confdefs.h <<\_ACEOF
7911
 
#define _GNU_SOURCE 1
7912
 
_ACEOF
 
6181
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
7913
6182
 
7914
6183
elif test "$GCC" = "yes"
7915
6184
then
7921
6190
    ;;
7922
6191
  esac
7923
6192
 
7924
 
cat >>confdefs.h <<\_ACEOF
7925
 
#define _GNU_SOURCE 1
7926
 
_ACEOF
 
6193
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
7927
6194
 
7928
6195
elif test "$SUNCC" = "yes"
7929
6196
then
7959
6226
    case $ac_val in #(
7960
6227
    *${as_nl}*)
7961
6228
      case $ac_var in #(
7962
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
6229
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7963
6230
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7964
6231
      esac
7965
6232
      case $ac_var in #(
7966
6233
      _ | IFS | as_nl) ;; #(
7967
6234
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7968
 
      *) $as_unset $ac_var ;;
 
6235
      *) { eval $ac_var=; unset $ac_var;} ;;
7969
6236
      esac ;;
7970
6237
    esac
7971
6238
  done
7973
6240
  (set) 2>&1 |
7974
6241
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7975
6242
    *${as_nl}ac_space=\ *)
7976
 
      # `set' does not quote correctly, so add quotes (double-quote
7977
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
6243
      # `set' does not quote correctly, so add quotes: double-quote
 
6244
      # substitution turns \\\\ into \\, and sed turns \\ into \.
7978
6245
      sed -n \
7979
6246
        "s/'/'\\\\''/g;
7980
6247
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7997
6264
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7998
6265
  if test -w "$cache_file"; then
7999
6266
    test "x$cache_file" != "x/dev/null" &&
8000
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
6267
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8001
6268
$as_echo "$as_me: updating cache $cache_file" >&6;}
8002
6269
    cat confcache >$cache_file
8003
6270
  else
8004
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
6271
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8005
6272
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8006
6273
  fi
8007
6274
fi
8021
6288
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8022
6289
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8023
6290
  #    will be set to the directory where LIBOBJS objects are built.
8024
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8025
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
6291
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
6292
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8026
6293
done
8027
6294
LIBOBJS=$ac_libobjs
8028
6295
 
8029
6296
LTLIBOBJS=$ac_ltlibobjs
8030
6297
 
8031
6298
 
 
6299
 if test -n "$EXEEXT"; then
 
6300
  am__EXEEXT_TRUE=
 
6301
  am__EXEEXT_FALSE='#'
 
6302
else
 
6303
  am__EXEEXT_TRUE='#'
 
6304
  am__EXEEXT_FALSE=
 
6305
fi
 
6306
 
8032
6307
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8033
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8034
 
Usually this means the macro was only invoked conditionally." >&5
8035
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
8036
 
Usually this means the macro was only invoked conditionally." >&2;}
8037
 
   { (exit 1); exit 1; }; }
 
6308
  as_fn_error "conditional \"AMDEP\" was never defined.
 
6309
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8038
6310
fi
8039
6311
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8040
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8041
 
Usually this means the macro was only invoked conditionally." >&5
8042
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8043
 
Usually this means the macro was only invoked conditionally." >&2;}
8044
 
   { (exit 1); exit 1; }; }
 
6312
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
6313
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8045
6314
fi
8046
6315
if test -z "${BUILD_DTRACE_TRUE}" && test -z "${BUILD_DTRACE_FALSE}"; then
8047
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_DTRACE\" was never defined.
8048
 
Usually this means the macro was only invoked conditionally." >&5
8049
 
$as_echo "$as_me: error: conditional \"BUILD_DTRACE\" was never defined.
8050
 
Usually this means the macro was only invoked conditionally." >&2;}
8051
 
   { (exit 1); exit 1; }; }
 
6316
  as_fn_error "conditional \"BUILD_DTRACE\" was never defined.
 
6317
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8052
6318
fi
8053
6319
if test -z "${DTRACE_INSTRUMENT_OBJ_TRUE}" && test -z "${DTRACE_INSTRUMENT_OBJ_FALSE}"; then
8054
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"DTRACE_INSTRUMENT_OBJ\" was never defined.
8055
 
Usually this means the macro was only invoked conditionally." >&5
8056
 
$as_echo "$as_me: error: conditional \"DTRACE_INSTRUMENT_OBJ\" was never defined.
8057
 
Usually this means the macro was only invoked conditionally." >&2;}
8058
 
   { (exit 1); exit 1; }; }
 
6320
  as_fn_error "conditional \"DTRACE_INSTRUMENT_OBJ\" was never defined.
 
6321
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8059
6322
fi
8060
6323
if test -z "${ENABLE_SASL_TRUE}" && test -z "${ENABLE_SASL_FALSE}"; then
8061
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SASL\" was never defined.
8062
 
Usually this means the macro was only invoked conditionally." >&5
8063
 
$as_echo "$as_me: error: conditional \"ENABLE_SASL\" was never defined.
8064
 
Usually this means the macro was only invoked conditionally." >&2;}
8065
 
   { (exit 1); exit 1; }; }
 
6324
  as_fn_error "conditional \"ENABLE_SASL\" was never defined.
 
6325
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8066
6326
fi
8067
6327
if test -z "${BUILD_SOLARIS_PRIVS_TRUE}" && test -z "${BUILD_SOLARIS_PRIVS_FALSE}"; then
8068
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SOLARIS_PRIVS\" was never defined.
8069
 
Usually this means the macro was only invoked conditionally." >&5
8070
 
$as_echo "$as_me: error: conditional \"BUILD_SOLARIS_PRIVS\" was never defined.
8071
 
Usually this means the macro was only invoked conditionally." >&2;}
8072
 
   { (exit 1); exit 1; }; }
 
6328
  as_fn_error "conditional \"BUILD_SOLARIS_PRIVS\" was never defined.
 
6329
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8073
6330
fi
8074
6331
if test -z "${BUILD_CACHE_TRUE}" && test -z "${BUILD_CACHE_FALSE}"; then
8075
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_CACHE\" was never defined.
8076
 
Usually this means the macro was only invoked conditionally." >&5
8077
 
$as_echo "$as_me: error: conditional \"BUILD_CACHE\" was never defined.
8078
 
Usually this means the macro was only invoked conditionally." >&2;}
8079
 
   { (exit 1); exit 1; }; }
 
6332
  as_fn_error "conditional \"BUILD_CACHE\" was never defined.
 
6333
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8080
6334
fi
8081
6335
if test -z "${BUILD_SPECIFICATIONS_TRUE}" && test -z "${BUILD_SPECIFICATIONS_FALSE}"; then
8082
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SPECIFICATIONS\" was never defined.
8083
 
Usually this means the macro was only invoked conditionally." >&5
8084
 
$as_echo "$as_me: error: conditional \"BUILD_SPECIFICATIONS\" was never defined.
8085
 
Usually this means the macro was only invoked conditionally." >&2;}
8086
 
   { (exit 1); exit 1; }; }
 
6336
  as_fn_error "conditional \"BUILD_SPECIFICATIONS\" was never defined.
 
6337
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8087
6338
fi
8088
6339
 
8089
6340
: ${CONFIG_STATUS=./config.status}
8090
6341
ac_write_fail=0
8091
6342
ac_clean_files_save=$ac_clean_files
8092
6343
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8093
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
6344
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8094
6345
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8095
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6346
as_write_fail=0
 
6347
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8096
6348
#! $SHELL
8097
6349
# Generated by $as_me.
8098
6350
# Run this file to recreate the current configuration.
8102
6354
debug=false
8103
6355
ac_cs_recheck=false
8104
6356
ac_cs_silent=false
 
6357
 
8105
6358
SHELL=\${CONFIG_SHELL-$SHELL}
8106
 
_ACEOF
8107
 
 
8108
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8109
 
## --------------------- ##
8110
 
## M4sh Initialization.  ##
8111
 
## --------------------- ##
 
6359
export SHELL
 
6360
_ASEOF
 
6361
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
6362
## -------------------- ##
 
6363
## M4sh Initialization. ##
 
6364
## -------------------- ##
8112
6365
 
8113
6366
# Be more Bourne compatible
8114
6367
DUALCASE=1; export DUALCASE # for MKS sh
8115
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
6368
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8116
6369
  emulate sh
8117
6370
  NULLCMD=:
8118
6371
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8120
6373
  alias -g '${1+"$@"}'='"$@"'
8121
6374
  setopt NO_GLOB_SUBST
8122
6375
else
8123
 
  case `(set -o) 2>/dev/null` in
8124
 
  *posix*) set -o posix ;;
 
6376
  case `(set -o) 2>/dev/null` in #(
 
6377
  *posix*) :
 
6378
    set -o posix ;; #(
 
6379
  *) :
 
6380
     ;;
8125
6381
esac
8126
 
 
8127
6382
fi
8128
6383
 
8129
6384
 
8130
 
 
8131
 
 
8132
 
# PATH needs CR
8133
 
# Avoid depending upon Character Ranges.
8134
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8135
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8136
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8137
 
as_cr_digits='0123456789'
8138
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
8139
 
 
8140
6385
as_nl='
8141
6386
'
8142
6387
export as_nl
8144
6389
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8145
6390
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8146
6391
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8147
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6392
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
6393
# but without wasting forks for bash or zsh.
 
6394
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
6395
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6396
  as_echo='print -r --'
 
6397
  as_echo_n='print -rn --'
 
6398
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8148
6399
  as_echo='printf %s\n'
8149
6400
  as_echo_n='printf %s'
8150
6401
else
8155
6406
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8156
6407
    as_echo_n_body='eval
8157
6408
      arg=$1;
8158
 
      case $arg in
 
6409
      case $arg in #(
8159
6410
      *"$as_nl"*)
8160
6411
        expr "X$arg" : "X\\(.*\\)$as_nl";
8161
6412
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8178
6429
  }
8179
6430
fi
8180
6431
 
8181
 
# Support unset when possible.
8182
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8183
 
  as_unset=unset
8184
 
else
8185
 
  as_unset=false
8186
 
fi
8187
 
 
8188
6432
 
8189
6433
# IFS
8190
6434
# We need space, tab and new line, in precisely that order.  Quoting is
8194
6438
IFS=" ""        $as_nl"
8195
6439
 
8196
6440
# Find who we are.  Look in the path if we contain no directory separator.
8197
 
case $0 in
 
6441
case $0 in #((
8198
6442
  *[\\/]* ) as_myself=$0 ;;
8199
6443
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8200
6444
for as_dir in $PATH
8201
6445
do
8202
6446
  IFS=$as_save_IFS
8203
6447
  test -z "$as_dir" && as_dir=.
8204
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8205
 
done
 
6448
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
6449
  done
8206
6450
IFS=$as_save_IFS
8207
6451
 
8208
6452
     ;;
8214
6458
fi
8215
6459
if test ! -f "$as_myself"; then
8216
6460
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8217
 
  { (exit 1); exit 1; }
 
6461
  exit 1
8218
6462
fi
8219
6463
 
8220
 
# Work around bugs in pre-3.0 UWIN ksh.
8221
 
for as_var in ENV MAIL MAILPATH
8222
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
6464
# Unset variables that we do not need and which cause bugs (e.g. in
 
6465
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
6466
# suppresses any "Segmentation fault" message there.  '((' could
 
6467
# trigger a bug in pdksh 5.2.14.
 
6468
for as_var in BASH_ENV ENV MAIL MAILPATH
 
6469
do eval test x\${$as_var+set} = xset \
 
6470
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8223
6471
done
8224
6472
PS1='$ '
8225
6473
PS2='> '
8231
6479
LANGUAGE=C
8232
6480
export LANGUAGE
8233
6481
 
8234
 
# Required to use basename.
 
6482
# CDPATH.
 
6483
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
6484
 
 
6485
 
 
6486
# as_fn_error ERROR [LINENO LOG_FD]
 
6487
# ---------------------------------
 
6488
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
6489
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
6490
# script with status $?, using 1 if that was 0.
 
6491
as_fn_error ()
 
6492
{
 
6493
  as_status=$?; test $as_status -eq 0 && as_status=1
 
6494
  if test "$3"; then
 
6495
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
6496
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
6497
  fi
 
6498
  $as_echo "$as_me: error: $1" >&2
 
6499
  as_fn_exit $as_status
 
6500
} # as_fn_error
 
6501
 
 
6502
 
 
6503
# as_fn_set_status STATUS
 
6504
# -----------------------
 
6505
# Set $? to STATUS, without forking.
 
6506
as_fn_set_status ()
 
6507
{
 
6508
  return $1
 
6509
} # as_fn_set_status
 
6510
 
 
6511
# as_fn_exit STATUS
 
6512
# -----------------
 
6513
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
6514
as_fn_exit ()
 
6515
{
 
6516
  set +e
 
6517
  as_fn_set_status $1
 
6518
  exit $1
 
6519
} # as_fn_exit
 
6520
 
 
6521
# as_fn_unset VAR
 
6522
# ---------------
 
6523
# Portably unset VAR.
 
6524
as_fn_unset ()
 
6525
{
 
6526
  { eval $1=; unset $1;}
 
6527
}
 
6528
as_unset=as_fn_unset
 
6529
# as_fn_append VAR VALUE
 
6530
# ----------------------
 
6531
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
6532
# advantage of any shell optimizations that allow amortized linear growth over
 
6533
# repeated appends, instead of the typical quadratic growth present in naive
 
6534
# implementations.
 
6535
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
6536
  eval 'as_fn_append ()
 
6537
  {
 
6538
    eval $1+=\$2
 
6539
  }'
 
6540
else
 
6541
  as_fn_append ()
 
6542
  {
 
6543
    eval $1=\$$1\$2
 
6544
  }
 
6545
fi # as_fn_append
 
6546
 
 
6547
# as_fn_arith ARG...
 
6548
# ------------------
 
6549
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
6550
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
6551
# must be portable across $(()) and expr.
 
6552
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
6553
  eval 'as_fn_arith ()
 
6554
  {
 
6555
    as_val=$(( $* ))
 
6556
  }'
 
6557
else
 
6558
  as_fn_arith ()
 
6559
  {
 
6560
    as_val=`expr "$@" || test $? -eq 1`
 
6561
  }
 
6562
fi # as_fn_arith
 
6563
 
 
6564
 
8235
6565
if expr a : '\(a\)' >/dev/null 2>&1 &&
8236
6566
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8237
6567
  as_expr=expr
8245
6575
  as_basename=false
8246
6576
fi
8247
6577
 
 
6578
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
6579
  as_dirname=dirname
 
6580
else
 
6581
  as_dirname=false
 
6582
fi
8248
6583
 
8249
 
# Name of the executable.
8250
6584
as_me=`$as_basename -- "$0" ||
8251
6585
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8252
6586
         X"$0" : 'X\(//\)$' \| \
8266
6600
          }
8267
6601
          s/.*/./; q'`
8268
6602
 
8269
 
# CDPATH.
8270
 
$as_unset CDPATH
8271
 
 
8272
 
 
8273
 
 
8274
 
  as_lineno_1=$LINENO
8275
 
  as_lineno_2=$LINENO
8276
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
8277
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8278
 
 
8279
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8280
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
8281
 
  # line-number line after each line using $LINENO; the second 'sed'
8282
 
  # does the real work.  The second script uses 'N' to pair each
8283
 
  # line-number line with the line containing $LINENO, and appends
8284
 
  # trailing '-' during substitution so that $LINENO is not a special
8285
 
  # case at line end.
8286
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8287
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
8288
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
8289
 
  sed -n '
8290
 
    p
8291
 
    /[$]LINENO/=
8292
 
  ' <$as_myself |
8293
 
    sed '
8294
 
      s/[$]LINENO.*/&-/
8295
 
      t lineno
8296
 
      b
8297
 
      :lineno
8298
 
      N
8299
 
      :loop
8300
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8301
 
      t loop
8302
 
      s/-\n.*//
8303
 
    ' >$as_me.lineno &&
8304
 
  chmod +x "$as_me.lineno" ||
8305
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8306
 
   { (exit 1); exit 1; }; }
8307
 
 
8308
 
  # Don't try to exec as it changes $[0], causing all sort of problems
8309
 
  # (the dirname of $[0] is not the place where we might find the
8310
 
  # original and so on.  Autoconf is especially sensitive to this).
8311
 
  . "./$as_me.lineno"
8312
 
  # Exit status is that of the last command.
8313
 
  exit
8314
 
}
8315
 
 
8316
 
 
8317
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8318
 
  as_dirname=dirname
8319
 
else
8320
 
  as_dirname=false
8321
 
fi
 
6603
# Avoid depending upon Character Ranges.
 
6604
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
6605
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
6606
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
6607
as_cr_digits='0123456789'
 
6608
as_cr_alnum=$as_cr_Letters$as_cr_digits
8322
6609
 
8323
6610
ECHO_C= ECHO_N= ECHO_T=
8324
 
case `echo -n x` in
 
6611
case `echo -n x` in #(((((
8325
6612
-n*)
8326
 
  case `echo 'x\c'` in
 
6613
  case `echo 'xy\c'` in
8327
6614
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
8328
 
  *)   ECHO_C='\c';;
 
6615
  xy)  ECHO_C='\c';;
 
6616
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
6617
       ECHO_T=' ';;
8329
6618
  esac;;
8330
6619
*)
8331
6620
  ECHO_N='-n';;
8332
6621
esac
8333
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
8334
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8335
 
  as_expr=expr
8336
 
else
8337
 
  as_expr=false
8338
 
fi
8339
6622
 
8340
6623
rm -f conf$$ conf$$.exe conf$$.file
8341
6624
if test -d conf$$.dir; then
8364
6647
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8365
6648
rmdir conf$$.dir 2>/dev/null
8366
6649
 
 
6650
 
 
6651
# as_fn_mkdir_p
 
6652
# -------------
 
6653
# Create "$as_dir" as a directory, including parents if necessary.
 
6654
as_fn_mkdir_p ()
 
6655
{
 
6656
 
 
6657
  case $as_dir in #(
 
6658
  -*) as_dir=./$as_dir;;
 
6659
  esac
 
6660
  test -d "$as_dir" || eval $as_mkdir_p || {
 
6661
    as_dirs=
 
6662
    while :; do
 
6663
      case $as_dir in #(
 
6664
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
6665
      *) as_qdir=$as_dir;;
 
6666
      esac
 
6667
      as_dirs="'$as_qdir' $as_dirs"
 
6668
      as_dir=`$as_dirname -- "$as_dir" ||
 
6669
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6670
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6671
         X"$as_dir" : 'X\(//\)$' \| \
 
6672
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
6673
$as_echo X"$as_dir" |
 
6674
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6675
            s//\1/
 
6676
            q
 
6677
          }
 
6678
          /^X\(\/\/\)[^/].*/{
 
6679
            s//\1/
 
6680
            q
 
6681
          }
 
6682
          /^X\(\/\/\)$/{
 
6683
            s//\1/
 
6684
            q
 
6685
          }
 
6686
          /^X\(\/\).*/{
 
6687
            s//\1/
 
6688
            q
 
6689
          }
 
6690
          s/.*/./; q'`
 
6691
      test -d "$as_dir" && break
 
6692
    done
 
6693
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
6694
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
6695
 
 
6696
 
 
6697
} # as_fn_mkdir_p
8367
6698
if mkdir -p . 2>/dev/null; then
8368
 
  as_mkdir_p=:
 
6699
  as_mkdir_p='mkdir -p "$as_dir"'
8369
6700
else
8370
6701
  test -d ./-p && rmdir ./-p
8371
6702
  as_mkdir_p=false
8384
6715
      if test -d "$1"; then
8385
6716
        test -d "$1/.";
8386
6717
      else
8387
 
        case $1 in
 
6718
        case $1 in #(
8388
6719
        -*)set "./$1";;
8389
6720
        esac;
8390
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
6721
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8391
6722
        ???[sx]*):;;*)false;;esac;fi
8392
6723
    '\'' sh
8393
6724
  '
8402
6733
 
8403
6734
 
8404
6735
exec 6>&1
 
6736
## ----------------------------------- ##
 
6737
## Main body of $CONFIG_STATUS script. ##
 
6738
## ----------------------------------- ##
 
6739
_ASEOF
 
6740
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8405
6741
 
8406
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
6742
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6743
# Save the log message, to keep $0 and so on meaningful, and to
8407
6744
# report actual input values of CONFIG_FILES etc. instead of their
8408
6745
# values after options handling.
8409
6746
ac_log="
8410
 
This file was extended by memcached $as_me 1.4.5, which was
8411
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
6747
This file was extended by memcached $as_me 1.4.7, which was
 
6748
generated by GNU Autoconf 2.65.  Invocation command line was
8412
6749
 
8413
6750
  CONFIG_FILES    = $CONFIG_FILES
8414
6751
  CONFIG_HEADERS  = $CONFIG_HEADERS
8440
6777
 
8441
6778
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8442
6779
ac_cs_usage="\
8443
 
\`$as_me' instantiates files from templates according to the
8444
 
current configuration.
 
6780
\`$as_me' instantiates files and other configuration actions
 
6781
from templates according to the current configuration.  Unless the files
 
6782
and actions are specified as TAGs, all are instantiated by default.
8445
6783
 
8446
 
Usage: $0 [OPTION]... [FILE]...
 
6784
Usage: $0 [OPTION]... [TAG]...
8447
6785
 
8448
6786
  -h, --help       print this help, then exit
8449
6787
  -V, --version    print version number and configuration settings, then exit
 
6788
      --config     print configuration, then exit
8450
6789
  -q, --quiet, --silent
8451
6790
                   do not print progress messages
8452
6791
  -d, --debug      don't remove temporary files
8465
6804
Configuration commands:
8466
6805
$config_commands
8467
6806
 
8468
 
Report bugs to <bug-autoconf@gnu.org>."
 
6807
Report bugs to <memcached@googlegroups.com>."
8469
6808
 
8470
6809
_ACEOF
8471
6810
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6811
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8472
6812
ac_cs_version="\\
8473
 
memcached config.status 1.4.5
8474
 
configured by $0, generated by GNU Autoconf 2.63,
8475
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
6813
memcached config.status 1.4.7
 
6814
configured by $0, generated by GNU Autoconf 2.65,
 
6815
  with options \\"\$ac_cs_config\\"
8476
6816
 
8477
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
6817
Copyright (C) 2009 Free Software Foundation, Inc.
8478
6818
This config.status script is free software; the Free Software Foundation
8479
6819
gives unlimited permission to copy, distribute and modify it."
8480
6820
 
8510
6850
    ac_cs_recheck=: ;;
8511
6851
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8512
6852
    $as_echo "$ac_cs_version"; exit ;;
 
6853
  --config | --confi | --conf | --con | --co | --c )
 
6854
    $as_echo "$ac_cs_config"; exit ;;
8513
6855
  --debug | --debu | --deb | --de | --d | -d )
8514
6856
    debug=: ;;
8515
6857
  --file | --fil | --fi | --f )
8517
6859
    case $ac_optarg in
8518
6860
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8519
6861
    esac
8520
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
6862
    as_fn_append CONFIG_FILES " '$ac_optarg'"
8521
6863
    ac_need_defaults=false;;
8522
6864
  --header | --heade | --head | --hea )
8523
6865
    $ac_shift
8524
6866
    case $ac_optarg in
8525
6867
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8526
6868
    esac
8527
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
6869
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8528
6870
    ac_need_defaults=false;;
8529
6871
  --he | --h)
8530
6872
    # Conflict between --help and --header
8531
 
    { $as_echo "$as_me: error: ambiguous option: $1
8532
 
Try \`$0 --help' for more information." >&2
8533
 
   { (exit 1); exit 1; }; };;
 
6873
    as_fn_error "ambiguous option: \`$1'
 
6874
Try \`$0 --help' for more information.";;
8534
6875
  --help | --hel | -h )
8535
6876
    $as_echo "$ac_cs_usage"; exit ;;
8536
6877
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8538
6879
    ac_cs_silent=: ;;
8539
6880
 
8540
6881
  # This is an error.
8541
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
8542
 
Try \`$0 --help' for more information." >&2
8543
 
   { (exit 1); exit 1; }; } ;;
 
6882
  -*) as_fn_error "unrecognized option: \`$1'
 
6883
Try \`$0 --help' for more information." ;;
8544
6884
 
8545
 
  *) ac_config_targets="$ac_config_targets $1"
 
6885
  *) as_fn_append ac_config_targets " $1"
8546
6886
     ac_need_defaults=false ;;
8547
6887
 
8548
6888
  esac
8598
6938
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8599
6939
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8600
6940
 
8601
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8602
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8603
 
   { (exit 1); exit 1; }; };;
 
6941
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8604
6942
  esac
8605
6943
done
8606
6944
 
8627
6965
  trap 'exit_status=$?
8628
6966
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8629
6967
' 0
8630
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
6968
  trap 'as_fn_exit 1' 1 2 13 15
8631
6969
}
8632
6970
# Create a (secure) tmp directory for tmp files.
8633
6971
 
8638
6976
{
8639
6977
  tmp=./conf$$-$RANDOM
8640
6978
  (umask 077 && mkdir "$tmp")
8641
 
} ||
8642
 
{
8643
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
8644
 
   { (exit 1); exit 1; }
8645
 
}
 
6979
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
8646
6980
 
8647
6981
# Set up the scripts for CONFIG_FILES section.
8648
6982
# No need to generate them if there are no CONFIG_FILES.
8650
6984
if test -n "$CONFIG_FILES"; then
8651
6985
 
8652
6986
 
8653
 
ac_cr='
 
 
b"'"
 
6987
ac_cr=`echo X | tr X '\015'`
 
6988
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
6989
# But we know of no other shell where ac_cr would be empty at this
 
6990
# point, so we can use a bashism as a fallback.
 
6991
if test "x$ac_cr" = x; then
 
6992
  eval ac_cr=\$\'\\r\'
 
6993
fi
8654
6994
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8655
6995
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8656
 
  ac_cs_awk_cr='\\r'
 
6996
  ac_cs_awk_cr='\r'
8657
6997
else
8658
6998
  ac_cs_awk_cr=$ac_cr
8659
6999
fi
8667
7007
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8668
7008
  echo "_ACEOF"
8669
7009
} >conf$$subs.sh ||
8670
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8671
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8672
 
   { (exit 1); exit 1; }; }
 
7010
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8673
7011
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8674
7012
ac_delim='%!_!# '
8675
7013
for ac_last_try in false false false false false :; do
8676
7014
  . ./conf$$subs.sh ||
8677
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8678
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8679
 
   { (exit 1); exit 1; }; }
 
7015
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8680
7016
 
8681
7017
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8682
7018
  if test $ac_delim_n = $ac_delim_num; then
8683
7019
    break
8684
7020
  elif $ac_last_try; then
8685
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8686
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8687
 
   { (exit 1); exit 1; }; }
 
7021
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8688
7022
  else
8689
7023
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8690
7024
  fi
8706
7040
t delim
8707
7041
:nl
8708
7042
h
8709
 
s/\(.\{148\}\).*/\1/
 
7043
s/\(.\{148\}\)..*/\1/
8710
7044
t more1
8711
7045
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8712
7046
p
8720
7054
t nl
8721
7055
:delim
8722
7056
h
8723
 
s/\(.\{148\}\).*/\1/
 
7057
s/\(.\{148\}\)..*/\1/
8724
7058
t more2
8725
7059
s/["\\]/\\&/g; s/^/"/; s/$/"/
8726
7060
p
8773
7107
else
8774
7108
  cat
8775
7109
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8776
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
8777
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
8778
 
   { (exit 1); exit 1; }; }
 
7110
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
8779
7111
_ACEOF
8780
7112
 
8781
7113
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8816
7148
  if test -z "$ac_t"; then
8817
7149
    break
8818
7150
  elif $ac_last_try; then
8819
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
8820
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
8821
 
   { (exit 1); exit 1; }; }
 
7151
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
8822
7152
  else
8823
7153
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8824
7154
  fi
8903
7233
_ACAWK
8904
7234
_ACEOF
8905
7235
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8906
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
8907
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
8908
 
   { (exit 1); exit 1; }; }
 
7236
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
8909
7237
fi # test -n "$CONFIG_HEADERS"
8910
7238
 
8911
7239
 
8918
7246
  esac
8919
7247
  case $ac_mode$ac_tag in
8920
7248
  :[FHL]*:*);;
8921
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
8922
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
8923
 
   { (exit 1); exit 1; }; };;
 
7249
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
8924
7250
  :[FH]-) ac_tag=-:-;;
8925
7251
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8926
7252
  esac
8948
7274
           [\\/$]*) false;;
8949
7275
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8950
7276
           esac ||
8951
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8952
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8953
 
   { (exit 1); exit 1; }; };;
 
7277
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8954
7278
      esac
8955
7279
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8956
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
7280
      as_fn_append ac_file_inputs " '$ac_f'"
8957
7281
    done
8958
7282
 
8959
7283
    # Let's still pretend it is `configure' which instantiates (i.e., don't
8964
7288
        `' by configure.'
8965
7289
    if test x"$ac_file" != x-; then
8966
7290
      configure_input="$ac_file.  $configure_input"
8967
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
7291
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8968
7292
$as_echo "$as_me: creating $ac_file" >&6;}
8969
7293
    fi
8970
7294
    # Neutralize special characters interpreted by sed in replacement strings.
8977
7301
 
8978
7302
    case $ac_tag in
8979
7303
    *:-:* | *:-) cat >"$tmp/stdin" \
8980
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8981
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8982
 
   { (exit 1); exit 1; }; } ;;
 
7304
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
8983
7305
    esac
8984
7306
    ;;
8985
7307
  esac
9007
7329
            q
9008
7330
          }
9009
7331
          s/.*/./; q'`
9010
 
  { as_dir="$ac_dir"
9011
 
  case $as_dir in #(
9012
 
  -*) as_dir=./$as_dir;;
9013
 
  esac
9014
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9015
 
    as_dirs=
9016
 
    while :; do
9017
 
      case $as_dir in #(
9018
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9019
 
      *) as_qdir=$as_dir;;
9020
 
      esac
9021
 
      as_dirs="'$as_qdir' $as_dirs"
9022
 
      as_dir=`$as_dirname -- "$as_dir" ||
9023
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9024
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9025
 
         X"$as_dir" : 'X\(//\)$' \| \
9026
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9027
 
$as_echo X"$as_dir" |
9028
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9029
 
            s//\1/
9030
 
            q
9031
 
          }
9032
 
          /^X\(\/\/\)[^/].*/{
9033
 
            s//\1/
9034
 
            q
9035
 
          }
9036
 
          /^X\(\/\/\)$/{
9037
 
            s//\1/
9038
 
            q
9039
 
          }
9040
 
          /^X\(\/\).*/{
9041
 
            s//\1/
9042
 
            q
9043
 
          }
9044
 
          s/.*/./; q'`
9045
 
      test -d "$as_dir" && break
9046
 
    done
9047
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
9048
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9049
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9050
 
   { (exit 1); exit 1; }; }; }
 
7332
  as_dir="$ac_dir"; as_fn_mkdir_p
9051
7333
  ac_builddir=.
9052
7334
 
9053
7335
case "$ac_dir" in
9104
7386
# If the template does not know about datarootdir, expand it.
9105
7387
# FIXME: This hack should be removed a few years after 2.60.
9106
7388
ac_datarootdir_hack=; ac_datarootdir_seen=
9107
 
 
9108
7389
ac_sed_dataroot='
9109
7390
/datarootdir/ {
9110
7391
  p
9114
7395
/@docdir@/p
9115
7396
/@infodir@/p
9116
7397
/@localedir@/p
9117
 
/@mandir@/p
9118
 
'
 
7398
/@mandir@/p'
9119
7399
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9120
7400
*datarootdir*) ac_datarootdir_seen=yes;;
9121
7401
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9122
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
7402
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9123
7403
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9124
7404
_ACEOF
9125
7405
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9129
7409
  s&@infodir@&$infodir&g
9130
7410
  s&@localedir@&$localedir&g
9131
7411
  s&@mandir@&$mandir&g
9132
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
7412
  s&\\\${datarootdir}&$datarootdir&g' ;;
9133
7413
esac
9134
7414
_ACEOF
9135
7415
 
9158
7438
$ac_datarootdir_hack
9159
7439
"
9160
7440
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9161
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9162
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
9163
 
   { (exit 1); exit 1; }; }
 
7441
  || as_fn_error "could not create $ac_file" "$LINENO" 5
9164
7442
 
9165
7443
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9166
7444
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9167
7445
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9168
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
7446
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9169
7447
which seems to be undefined.  Please make sure it is defined." >&5
9170
7448
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9171
7449
which seems to be undefined.  Please make sure it is defined." >&2;}
9175
7453
  -) cat "$tmp/out" && rm -f "$tmp/out";;
9176
7454
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9177
7455
  esac \
9178
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9179
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
9180
 
   { (exit 1); exit 1; }; }
 
7456
  || as_fn_error "could not create $ac_file" "$LINENO" 5
9181
7457
 ;;
9182
7458
  :H)
9183
7459
  #
9188
7464
      $as_echo "/* $configure_input  */" \
9189
7465
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9190
7466
    } >"$tmp/config.h" \
9191
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9192
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
9193
 
   { (exit 1); exit 1; }; }
 
7467
      || as_fn_error "could not create $ac_file" "$LINENO" 5
9194
7468
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9195
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
7469
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9196
7470
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9197
7471
    else
9198
7472
      rm -f "$ac_file"
9199
7473
      mv "$tmp/config.h" "$ac_file" \
9200
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9201
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
9202
 
   { (exit 1); exit 1; }; }
 
7474
        || as_fn_error "could not create $ac_file" "$LINENO" 5
9203
7475
    fi
9204
7476
  else
9205
7477
    $as_echo "/* $configure_input  */" \
9206
7478
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9207
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
9208
 
$as_echo "$as_me: error: could not create -" >&2;}
9209
 
   { (exit 1); exit 1; }; }
 
7479
      || as_fn_error "could not create -" "$LINENO" 5
9210
7480
  fi
9211
7481
# Compute "$ac_file"'s index in $config_headers.
9212
7482
_am_arg="$ac_file"
9244
7514
          s/.*/./; q'`/stamp-h$_am_stamp_count
9245
7515
 ;;
9246
7516
 
9247
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
7517
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9248
7518
$as_echo "$as_me: executing $ac_file commands" >&6;}
9249
7519
 ;;
9250
7520
  esac
9251
7521
 
9252
7522
 
9253
7523
  case $ac_file$ac_mode in
9254
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
9255
 
# are listed without --file.  Let's play safe and only enable the eval
9256
 
# if we detect the quoting.
9257
 
case $CONFIG_FILES in
9258
 
*\'*) eval set x "$CONFIG_FILES" ;;
9259
 
*)   set x $CONFIG_FILES ;;
9260
 
esac
9261
 
shift
9262
 
for mf
9263
 
do
9264
 
  # Strip MF so we end up with the name of the file.
9265
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
9266
 
  # Check whether this is an Automake generated Makefile or not.
9267
 
  # We used to match only the files named `Makefile.in', but
9268
 
  # some people rename them; so instead we look at the file content.
9269
 
  # Grep'ing the first line is not enough: some people post-process
9270
 
  # each Makefile.in and add a new line on top of each file to say so.
9271
 
  # Grep'ing the whole file is not good either: AIX grep has a line
9272
 
  # limit of 2048, but all sed's we know have understand at least 4000.
9273
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9274
 
    dirpart=`$as_dirname -- "$mf" ||
 
7524
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
7525
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
7526
  # are listed without --file.  Let's play safe and only enable the eval
 
7527
  # if we detect the quoting.
 
7528
  case $CONFIG_FILES in
 
7529
  *\'*) eval set x "$CONFIG_FILES" ;;
 
7530
  *)   set x $CONFIG_FILES ;;
 
7531
  esac
 
7532
  shift
 
7533
  for mf
 
7534
  do
 
7535
    # Strip MF so we end up with the name of the file.
 
7536
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
7537
    # Check whether this is an Automake generated Makefile or not.
 
7538
    # We used to match only the files named `Makefile.in', but
 
7539
    # some people rename them; so instead we look at the file content.
 
7540
    # Grep'ing the first line is not enough: some people post-process
 
7541
    # each Makefile.in and add a new line on top of each file to say so.
 
7542
    # Grep'ing the whole file is not good either: AIX grep has a line
 
7543
    # limit of 2048, but all sed's we know have understand at least 4000.
 
7544
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
7545
      dirpart=`$as_dirname -- "$mf" ||
9275
7546
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9276
7547
         X"$mf" : 'X\(//\)[^/]' \| \
9277
7548
         X"$mf" : 'X\(//\)$' \| \
9294
7565
            q
9295
7566
          }
9296
7567
          s/.*/./; q'`
9297
 
  else
9298
 
    continue
9299
 
  fi
9300
 
  # Extract the definition of DEPDIR, am__include, and am__quote
9301
 
  # from the Makefile without running `make'.
9302
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9303
 
  test -z "$DEPDIR" && continue
9304
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
9305
 
  test -z "am__include" && continue
9306
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9307
 
  # When using ansi2knr, U may be empty or an underscore; expand it
9308
 
  U=`sed -n 's/^U = //p' < "$mf"`
9309
 
  # Find all dependency output files, they are included files with
9310
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
9311
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
9312
 
  # expansion.
9313
 
  for file in `sed -n "
9314
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9315
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9316
 
    # Make sure the directory exists.
9317
 
    test -f "$dirpart/$file" && continue
9318
 
    fdir=`$as_dirname -- "$file" ||
 
7568
    else
 
7569
      continue
 
7570
    fi
 
7571
    # Extract the definition of DEPDIR, am__include, and am__quote
 
7572
    # from the Makefile without running `make'.
 
7573
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
7574
    test -z "$DEPDIR" && continue
 
7575
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
7576
    test -z "am__include" && continue
 
7577
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
7578
    # When using ansi2knr, U may be empty or an underscore; expand it
 
7579
    U=`sed -n 's/^U = //p' < "$mf"`
 
7580
    # Find all dependency output files, they are included files with
 
7581
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
7582
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
7583
    # expansion.
 
7584
    for file in `sed -n "
 
7585
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
7586
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
7587
      # Make sure the directory exists.
 
7588
      test -f "$dirpart/$file" && continue
 
7589
      fdir=`$as_dirname -- "$file" ||
9319
7590
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9320
7591
         X"$file" : 'X\(//\)[^/]' \| \
9321
7592
         X"$file" : 'X\(//\)$' \| \
9338
7609
            q
9339
7610
          }
9340
7611
          s/.*/./; q'`
9341
 
    { as_dir=$dirpart/$fdir
9342
 
  case $as_dir in #(
9343
 
  -*) as_dir=./$as_dir;;
9344
 
  esac
9345
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9346
 
    as_dirs=
9347
 
    while :; do
9348
 
      case $as_dir in #(
9349
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9350
 
      *) as_qdir=$as_dir;;
9351
 
      esac
9352
 
      as_dirs="'$as_qdir' $as_dirs"
9353
 
      as_dir=`$as_dirname -- "$as_dir" ||
9354
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9355
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9356
 
         X"$as_dir" : 'X\(//\)$' \| \
9357
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9358
 
$as_echo X"$as_dir" |
9359
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9360
 
            s//\1/
9361
 
            q
9362
 
          }
9363
 
          /^X\(\/\/\)[^/].*/{
9364
 
            s//\1/
9365
 
            q
9366
 
          }
9367
 
          /^X\(\/\/\)$/{
9368
 
            s//\1/
9369
 
            q
9370
 
          }
9371
 
          /^X\(\/\).*/{
9372
 
            s//\1/
9373
 
            q
9374
 
          }
9375
 
          s/.*/./; q'`
9376
 
      test -d "$as_dir" && break
 
7612
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
7613
      # echo "creating $dirpart/$file"
 
7614
      echo '# dummy' > "$dirpart/$file"
9377
7615
    done
9378
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
9379
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9380
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9381
 
   { (exit 1); exit 1; }; }; }
9382
 
    # echo "creating $dirpart/$file"
9383
 
    echo '# dummy' > "$dirpart/$file"
9384
7616
  done
9385
 
done
 
7617
}
9386
7618
 ;;
9387
7619
 
9388
7620
  esac
9389
7621
done # for ac_tag
9390
7622
 
9391
7623
 
9392
 
{ (exit 0); exit 0; }
 
7624
as_fn_exit 0
9393
7625
_ACEOF
9394
 
chmod +x $CONFIG_STATUS
9395
7626
ac_clean_files=$ac_clean_files_save
9396
7627
 
9397
7628
test $ac_write_fail = 0 ||
9398
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
9399
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
9400
 
   { (exit 1); exit 1; }; }
 
7629
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
9401
7630
 
9402
7631
 
9403
7632
# configure is writing to config.log, and then calls config.status.
9418
7647
  exec 5>>config.log
9419
7648
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9420
7649
  # would make configure fail if this is the last instruction.
9421
 
  $ac_cs_success || { (exit 1); exit 1; }
 
7650
  $ac_cs_success || as_fn_exit $?
9422
7651
fi
9423
7652
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9424
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
7653
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9425
7654
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9426
7655
fi
9427
7656