~ubuntu-branches/ubuntu/oneiric/squid3/oneiric-security

« back to all changes in this revision

Viewing changes to helpers/negotiate_auth/squid_kerb_auth/configure

  • Committer: Bazaar Package Importer
  • Author(s): Mahyuddin Susanto
  • Date: 2011-02-15 18:46:13 UTC
  • mfrom: (21.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110215184613-1u3dh5sz4i055flk
Tags: 3.1.10-1ubuntu1
* Merge from debian unstable. (LP: #719283)  Remaining changes:
  - debian/patches/18-fix-ftbfs-binutils-gold.dpatch: Add library linker into
    LIBS instead to LDFLAGS to fixing FTBFS binutils-gold.
* Drop Ubuntu configuration for ufw which landed in Debian and sync it: 
  - debian/squid3.ufw.profile.

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.62 for squid_kerb_auth 1.0.5.
 
3
# Generated by GNU Autoconf 2.68 for squid_kerb_auth 1.0.5.
4
4
#
5
5
# Report bugs to <markus_moeller@compuserve.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, 2010 Free Software
 
10
# Foundation, 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
as_myself=
 
95
case $0 in #((
100
96
  *[\\/]* ) as_myself=$0 ;;
101
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
98
for as_dir in $PATH
103
99
do
104
100
  IFS=$as_save_IFS
105
101
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
103
  done
108
104
IFS=$as_save_IFS
109
105
 
110
106
     ;;
116
112
fi
117
113
if test ! -f "$as_myself"; then
118
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
115
  exit 1
120
116
fi
121
117
 
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
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
121
# trigger a bug in pdksh 5.2.14.
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
123
do eval test x\${$as_var+set} = xset \
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
125
done
126
126
PS1='$ '
127
127
PS2='> '
133
133
LANGUAGE=C
134
134
export LANGUAGE
135
135
 
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
136
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
138
 
175
139
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1"
 
178
  if (eval "$as_required") 2>/dev/null; then :
177
179
  as_have_required=yes
178
180
else
179
181
  as_have_required=no
180
182
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
 
183
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
184
 
 
185
else
 
186
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
187
as_found=false
243
188
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
189
do
245
190
  IFS=$as_save_IFS
246
191
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
192
  as_found=:
 
193
  case $as_dir in #(
248
194
         /*)
249
195
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
196
             # Try only shells that exist, to save several forks.
 
197
             as_shell=$as_dir/$as_base
 
198
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
199
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
200
  CONFIG_SHELL=$as_shell as_have_required=yes
 
201
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
202
  break 2
 
203
fi
 
204
fi
251
205
           done;;
252
206
       esac
 
207
  as_found=false
253
208
done
 
209
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
210
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
211
  CONFIG_SHELL=$SHELL as_have_required=yes
 
212
fi; }
254
213
IFS=$as_save_IFS
255
214
 
256
215
 
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
 
216
      if test "x$CONFIG_SHELL" != x; then :
 
217
  # We cannot yet assume a decent shell, so we have to provide a
 
218
        # neutralization value for shells without unset; and this also
 
219
        # works around shells that cannot unset nonexistent variables.
 
220
        # Preserve -v and -x to the replacement shell.
 
221
        BASH_ENV=/dev/null
 
222
        ENV=/dev/null
 
223
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
224
        export CONFIG_SHELL
368
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
 
fi
370
 
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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.  :-)
 
225
        case $- in # ((((
 
226
          *v*x* | *x*v* ) as_opts=-vx ;;
 
227
          *v* ) as_opts=-v ;;
 
228
          *x* ) as_opts=-x ;;
 
229
          * ) as_opts= ;;
 
230
        esac
 
231
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
232
fi
 
233
 
 
234
    if test x$as_have_required = xno; then :
 
235
  $as_echo "$0: This script requires a shell more modern than all"
 
236
  $as_echo "$0: the shells that I found on your system."
 
237
  if test x${ZSH_VERSION+set} = xset ; then
 
238
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
239
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
240
  else
 
241
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
242
$0: markus_moeller@compuserve.com about your system,
 
243
$0: including any error possibly output before this
 
244
$0: message. Then install a modern shell, or manually run
 
245
$0: the script under such a shell if you do have one."
 
246
  fi
 
247
  exit 1
 
248
fi
 
249
fi
 
250
fi
 
251
SHELL=${CONFIG_SHELL-/bin/sh}
 
252
export SHELL
 
253
# Unset more variables known to interfere with behavior of common tools.
 
254
CLICOLOR_FORCE= GREP_OPTIONS=
 
255
unset CLICOLOR_FORCE GREP_OPTIONS
 
256
 
 
257
## --------------------- ##
 
258
## M4sh Shell Functions. ##
 
259
## --------------------- ##
 
260
# as_fn_unset VAR
 
261
# ---------------
 
262
# Portably unset VAR.
 
263
as_fn_unset ()
 
264
{
 
265
  { eval $1=; unset $1;}
 
266
}
 
267
as_unset=as_fn_unset
 
268
 
 
269
# as_fn_set_status STATUS
 
270
# -----------------------
 
271
# Set $? to STATUS, without forking.
 
272
as_fn_set_status ()
 
273
{
 
274
  return $1
 
275
} # as_fn_set_status
 
276
 
 
277
# as_fn_exit STATUS
 
278
# -----------------
 
279
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
280
as_fn_exit ()
 
281
{
 
282
  set +e
 
283
  as_fn_set_status $1
 
284
  exit $1
 
285
} # as_fn_exit
 
286
 
 
287
# as_fn_mkdir_p
 
288
# -------------
 
289
# Create "$as_dir" as a directory, including parents if necessary.
 
290
as_fn_mkdir_p ()
 
291
{
 
292
 
 
293
  case $as_dir in #(
 
294
  -*) as_dir=./$as_dir;;
 
295
  esac
 
296
  test -d "$as_dir" || eval $as_mkdir_p || {
 
297
    as_dirs=
 
298
    while :; do
 
299
      case $as_dir in #(
 
300
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
301
      *) as_qdir=$as_dir;;
 
302
      esac
 
303
      as_dirs="'$as_qdir' $as_dirs"
 
304
      as_dir=`$as_dirname -- "$as_dir" ||
 
305
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
306
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
307
         X"$as_dir" : 'X\(//\)$' \| \
 
308
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
309
$as_echo X"$as_dir" |
 
310
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          /^X\(\/\/\)[^/].*/{
 
315
            s//\1/
 
316
            q
 
317
          }
 
318
          /^X\(\/\/\)$/{
 
319
            s//\1/
 
320
            q
 
321
          }
 
322
          /^X\(\/\).*/{
 
323
            s//\1/
 
324
            q
 
325
          }
 
326
          s/.*/./; q'`
 
327
      test -d "$as_dir" && break
 
328
    done
 
329
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
330
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
331
 
 
332
 
 
333
} # as_fn_mkdir_p
 
334
# as_fn_append VAR VALUE
 
335
# ----------------------
 
336
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
337
# advantage of any shell optimizations that allow amortized linear growth over
 
338
# repeated appends, instead of the typical quadratic growth present in naive
 
339
# implementations.
 
340
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
341
  eval 'as_fn_append ()
 
342
  {
 
343
    eval $1+=\$2
 
344
  }'
 
345
else
 
346
  as_fn_append ()
 
347
  {
 
348
    eval $1=\$$1\$2
 
349
  }
 
350
fi # as_fn_append
 
351
 
 
352
# as_fn_arith ARG...
 
353
# ------------------
 
354
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
355
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
356
# must be portable across $(()) and expr.
 
357
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
358
  eval 'as_fn_arith ()
 
359
  {
 
360
    as_val=$(( $* ))
 
361
  }'
 
362
else
 
363
  as_fn_arith ()
 
364
  {
 
365
    as_val=`expr "$@" || test $? -eq 1`
 
366
  }
 
367
fi # as_fn_arith
 
368
 
 
369
 
 
370
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
371
# ----------------------------------------
 
372
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
373
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
374
# script with STATUS, using 1 if that was 0.
 
375
as_fn_error ()
 
376
{
 
377
  as_status=$1; test $as_status -eq 0 && as_status=1
 
378
  if test "$4"; then
 
379
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
380
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
381
  fi
 
382
  $as_echo "$as_me: error: $2" >&2
 
383
  as_fn_exit $as_status
 
384
} # as_fn_error
 
385
 
 
386
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
387
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
388
  as_expr=expr
 
389
else
 
390
  as_expr=false
 
391
fi
 
392
 
 
393
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
394
  as_basename=basename
 
395
else
 
396
  as_basename=false
 
397
fi
 
398
 
 
399
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
400
  as_dirname=dirname
 
401
else
 
402
  as_dirname=false
 
403
fi
 
404
 
 
405
as_me=`$as_basename -- "$0" ||
 
406
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
407
         X"$0" : 'X\(//\)$' \| \
 
408
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
409
$as_echo X/"$0" |
 
410
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
411
            s//\1/
 
412
            q
 
413
          }
 
414
          /^X\/\(\/\/\)$/{
 
415
            s//\1/
 
416
            q
 
417
          }
 
418
          /^X\/\(\/\).*/{
 
419
            s//\1/
 
420
            q
 
421
          }
 
422
          s/.*/./; q'`
 
423
 
 
424
# Avoid depending upon Character Ranges.
 
425
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
426
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
427
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
428
as_cr_digits='0123456789'
 
429
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
430
 
 
431
 
 
432
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
433
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
434
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
435
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
436
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
437
  sed -n '
461
438
    p
462
439
    /[$]LINENO/=
473
450
      s/-\n.*//
474
451
    ' >$as_me.lineno &&
475
452
  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; }; }
 
453
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
454
 
479
455
  # Don't try to exec as it changes $[0], causing all sort of problems
480
456
  # (the dirname of $[0] is not the place where we might find the
484
460
  exit
485
461
}
486
462
 
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
463
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
464
case `echo -n x` in #(((((
496
465
-n*)
497
 
  case `echo 'x\c'` in
 
466
  case `echo 'xy\c'` in
498
467
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
468
  xy)  ECHO_C='\c';;
 
469
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
470
       ECHO_T=' ';;
500
471
  esac;;
501
472
*)
502
473
  ECHO_N='-n';;
503
474
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
475
 
511
476
rm -f conf$$ conf$$.exe conf$$.file
512
477
if test -d conf$$.dir; then
536
501
rmdir conf$$.dir 2>/dev/null
537
502
 
538
503
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
504
  as_mkdir_p='mkdir -p "$as_dir"'
540
505
else
541
506
  test -d ./-p && rmdir ./-p
542
507
  as_mkdir_p=false
555
520
      if test -d "$1"; then
556
521
        test -d "$1/.";
557
522
      else
558
 
        case $1 in
 
523
        case $1 in #(
559
524
        -*)set "./$1";;
560
525
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
526
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
527
        ???[sx]*):;;*)false;;esac;fi
563
528
    '\'' sh
564
529
  '
572
537
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
538
 
574
539
 
575
 
 
576
 
exec 7<&0 </dev/null 6>&1
 
540
test -n "$DJDIR" || exec 7<&0 </dev/null
 
541
exec 6>&1
577
542
 
578
543
# Name of the host.
579
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
544
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
580
545
# so uname gets run too.
581
546
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
547
 
591
556
subdirs=
592
557
MFLAGS=
593
558
MAKEFLAGS=
594
 
SHELL=${CONFIG_SHELL-/bin/sh}
595
559
 
596
560
# Identity of this package.
597
561
PACKAGE_NAME='squid_kerb_auth'
599
563
PACKAGE_VERSION='1.0.5'
600
564
PACKAGE_STRING='squid_kerb_auth 1.0.5'
601
565
PACKAGE_BUGREPORT='markus_moeller@compuserve.com'
 
566
PACKAGE_URL=''
602
567
 
603
568
ac_unique_file="squid_kerb_auth.c"
604
569
# Factoring default headers for most tests.
637
602
# include <unistd.h>
638
603
#endif"
639
604
 
640
 
ac_subst_vars='SHELL
 
605
ac_subst_vars='am__EXEEXT_FALSE
 
606
am__EXEEXT_TRUE
 
607
LTLIBOBJS
 
608
LIBOBJS
 
609
ac_krb5_config
 
610
EGREP
 
611
GREP
 
612
CPP
 
613
am__fastdepCC_FALSE
 
614
am__fastdepCC_TRUE
 
615
CCDEPMODE
 
616
AMDEPBACKSLASH
 
617
AMDEP_FALSE
 
618
AMDEP_TRUE
 
619
am__quote
 
620
am__include
 
621
DEPDIR
 
622
OBJEXT
 
623
EXEEXT
 
624
ac_ct_CC
 
625
CPPFLAGS
 
626
LDFLAGS
 
627
CFLAGS
 
628
CC
 
629
am__untar
 
630
am__tar
 
631
AMTAR
 
632
am__leading_dot
 
633
SET_MAKE
 
634
AWK
 
635
mkdir_p
 
636
MKDIR_P
 
637
INSTALL_STRIP_PROGRAM
 
638
STRIP
 
639
install_sh
 
640
MAKEINFO
 
641
AUTOHEADER
 
642
AUTOMAKE
 
643
AUTOCONF
 
644
ACLOCAL
 
645
VERSION
 
646
PACKAGE
 
647
CYGPATH_W
 
648
am__isrc
 
649
INSTALL_DATA
 
650
INSTALL_SCRIPT
 
651
INSTALL_PROGRAM
 
652
target_alias
 
653
host_alias
 
654
build_alias
 
655
LIBS
 
656
ECHO_T
 
657
ECHO_N
 
658
ECHO_C
 
659
DEFS
 
660
mandir
 
661
localedir
 
662
libdir
 
663
psdir
 
664
pdfdir
 
665
dvidir
 
666
htmldir
 
667
infodir
 
668
docdir
 
669
oldincludedir
 
670
includedir
 
671
localstatedir
 
672
sharedstatedir
 
673
sysconfdir
 
674
datadir
 
675
datarootdir
 
676
libexecdir
 
677
sbindir
 
678
bindir
 
679
program_transform_name
 
680
prefix
 
681
exec_prefix
 
682
PACKAGE_URL
 
683
PACKAGE_BUGREPORT
 
684
PACKAGE_STRING
 
685
PACKAGE_VERSION
 
686
PACKAGE_TARNAME
 
687
PACKAGE_NAME
641
688
PATH_SEPARATOR
642
 
PACKAGE_NAME
643
 
PACKAGE_TARNAME
644
 
PACKAGE_VERSION
645
 
PACKAGE_STRING
646
 
PACKAGE_BUGREPORT
647
 
exec_prefix
648
 
prefix
649
 
program_transform_name
650
 
bindir
651
 
sbindir
652
 
libexecdir
653
 
datarootdir
654
 
datadir
655
 
sysconfdir
656
 
sharedstatedir
657
 
localstatedir
658
 
includedir
659
 
oldincludedir
660
 
docdir
661
 
infodir
662
 
htmldir
663
 
dvidir
664
 
pdfdir
665
 
psdir
666
 
libdir
667
 
localedir
668
 
mandir
669
 
DEFS
670
 
ECHO_C
671
 
ECHO_N
672
 
ECHO_T
673
 
LIBS
674
 
build_alias
675
 
host_alias
676
 
target_alias
677
 
INSTALL_PROGRAM
678
 
INSTALL_SCRIPT
679
 
INSTALL_DATA
680
 
am__isrc
681
 
CYGPATH_W
682
 
PACKAGE
683
 
VERSION
684
 
ACLOCAL
685
 
AUTOCONF
686
 
AUTOMAKE
687
 
AUTOHEADER
688
 
MAKEINFO
689
 
install_sh
690
 
STRIP
691
 
INSTALL_STRIP_PROGRAM
692
 
MKDIR_P
693
 
mkdir_p
694
 
AWK
695
 
SET_MAKE
696
 
am__leading_dot
697
 
AMTAR
698
 
am__tar
699
 
am__untar
700
 
CC
701
 
CFLAGS
702
 
LDFLAGS
703
 
CPPFLAGS
704
 
ac_ct_CC
705
 
EXEEXT
706
 
OBJEXT
707
 
DEPDIR
708
 
am__include
709
 
am__quote
710
 
AMDEP_TRUE
711
 
AMDEP_FALSE
712
 
AMDEPBACKSLASH
713
 
CCDEPMODE
714
 
am__fastdepCC_TRUE
715
 
am__fastdepCC_FALSE
716
 
CPP
717
 
GREP
718
 
EGREP
719
 
ac_krb5_config
720
 
LIBOBJS
721
 
LTLIBOBJS'
 
689
SHELL'
722
690
ac_subst_files=''
723
691
ac_user_opts='
724
692
enable_option_checking
738
706
LDFLAGS
739
707
LIBS
740
708
CPPFLAGS
741
 
CPP'
 
709
CPP
 
710
CPPFLAGS'
742
711
 
743
712
 
744
713
# Initialize some variables set by options.
801
770
  fi
802
771
 
803
772
  case $ac_option in
804
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
805
 
  *)    ac_optarg=yes ;;
 
773
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
774
  *=)   ac_optarg= ;;
 
775
  *)    ac_optarg=yes ;;
806
776
  esac
807
777
 
808
778
  # Accept the important Cygnus configure options, so we can diagnose typos.
847
817
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
848
818
    # Reject names that are not valid shell variable names.
849
819
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
850
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
851
 
   { (exit 1); exit 1; }; }
 
820
      as_fn_error $? "invalid feature name: $ac_useropt"
852
821
    ac_useropt_orig=$ac_useropt
853
822
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
854
823
    case $ac_user_opts in
874
843
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
875
844
    # Reject names that are not valid shell variable names.
876
845
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
877
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
878
 
   { (exit 1); exit 1; }; }
 
846
      as_fn_error $? "invalid feature name: $ac_useropt"
879
847
    ac_useropt_orig=$ac_useropt
880
848
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881
849
    case $ac_user_opts in
1079
1047
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1080
1048
    # Reject names that are not valid shell variable names.
1081
1049
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1082
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1083
 
   { (exit 1); exit 1; }; }
 
1050
      as_fn_error $? "invalid package name: $ac_useropt"
1084
1051
    ac_useropt_orig=$ac_useropt
1085
1052
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086
1053
    case $ac_user_opts in
1096
1063
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1097
1064
    # Reject names that are not valid shell variable names.
1098
1065
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1100
 
   { (exit 1); exit 1; }; }
 
1066
      as_fn_error $? "invalid package name: $ac_useropt"
1101
1067
    ac_useropt_orig=$ac_useropt
1102
1068
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103
1069
    case $ac_user_opts in
1127
1093
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1128
1094
    x_libraries=$ac_optarg ;;
1129
1095
 
1130
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1131
 
Try \`$0 --help' for more information." >&2
1132
 
   { (exit 1); exit 1; }; }
 
1096
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1097
Try \`$0 --help' for more information"
1133
1098
    ;;
1134
1099
 
1135
1100
  *=*)
1136
1101
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1137
1102
    # Reject names that are not valid shell variable names.
1138
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1139
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1140
 
   { (exit 1); exit 1; }; }
 
1103
    case $ac_envvar in #(
 
1104
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1105
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1106
    esac
1141
1107
    eval $ac_envvar=\$ac_optarg
1142
1108
    export $ac_envvar ;;
1143
1109
 
1146
1112
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1147
1113
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1148
1114
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1149
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1115
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1150
1116
    ;;
1151
1117
 
1152
1118
  esac
1154
1120
 
1155
1121
if test -n "$ac_prev"; then
1156
1122
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1157
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1158
 
   { (exit 1); exit 1; }; }
 
1123
  as_fn_error $? "missing argument to $ac_option"
1159
1124
fi
1160
1125
 
1161
1126
if test -n "$ac_unrecognized_opts"; then
1162
1127
  case $enable_option_checking in
1163
1128
    no) ;;
1164
 
    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1165
 
   { (exit 1); exit 1; }; } ;;
1166
 
    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1129
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1130
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1167
1131
  esac
1168
1132
fi
1169
1133
 
1185
1149
    [\\/$]* | ?:[\\/]* )  continue;;
1186
1150
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1187
1151
  esac
1188
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189
 
   { (exit 1); exit 1; }; }
 
1152
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1190
1153
done
1191
1154
 
1192
1155
# There might be people who depend on the old broken behavior: `$host'
1200
1163
if test "x$host_alias" != x; then
1201
1164
  if test "x$build_alias" = x; then
1202
1165
    cross_compiling=maybe
1203
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1166
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1167
    If a cross compiler is detected then cross compile mode will be used" >&2
1205
1168
  elif test "x$build_alias" != "x$host_alias"; then
1206
1169
    cross_compiling=yes
1207
1170
  fi
1216
1179
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1217
1180
ac_ls_di=`ls -di .` &&
1218
1181
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1219
 
  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1220
 
   { (exit 1); exit 1; }; }
 
1182
  as_fn_error $? "working directory cannot be determined"
1221
1183
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1223
 
   { (exit 1); exit 1; }; }
 
1184
  as_fn_error $? "pwd does not report name of working directory"
1224
1185
 
1225
1186
 
1226
1187
# Find the source files, if location was not specified.
1259
1220
fi
1260
1221
if test ! -r "$srcdir/$ac_unique_file"; then
1261
1222
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263
 
   { (exit 1); exit 1; }; }
 
1223
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1264
1224
fi
1265
1225
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1266
1226
ac_abs_confdir=`(
1267
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1268
 
   { (exit 1); exit 1; }; }
 
1227
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1269
1228
        pwd)`
1270
1229
# When building in place, set srcdir=.
1271
1230
if test "$ac_abs_confdir" = "$ac_pwd"; then
1305
1264
      --help=short        display options specific to this package
1306
1265
      --help=recursive    display the short help of all the included packages
1307
1266
  -V, --version           display version information and exit
1308
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1267
  -q, --quiet, --silent   do not print \`checking ...' messages
1309
1268
      --cache-file=FILE   cache test results in FILE [disabled]
1310
1269
  -C, --config-cache      alias for \`--cache-file=config.cache'
1311
1270
  -n, --no-create         do not create output files
1385
1344
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1386
1345
              nonstandard directory <lib dir>
1387
1346
  LIBS        libraries to pass to the linker, e.g. -l<library>
1388
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1347
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1389
1348
              you have headers in a nonstandard directory <include dir>
1390
1349
  CPP         C preprocessor
1391
1350
 
1456
1415
if $ac_init_version; then
1457
1416
  cat <<\_ACEOF
1458
1417
squid_kerb_auth configure 1.0.5
1459
 
generated by GNU Autoconf 2.62
 
1418
generated by GNU Autoconf 2.68
1460
1419
 
1461
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1420
Copyright (C) 2010 Free Software Foundation, Inc.
1463
1421
This configure script is free software; the Free Software Foundation
1464
1422
gives unlimited permission to copy, distribute and modify it.
1465
1423
_ACEOF
1466
1424
  exit
1467
1425
fi
 
1426
 
 
1427
## ------------------------ ##
 
1428
## Autoconf initialization. ##
 
1429
## ------------------------ ##
 
1430
 
 
1431
# ac_fn_c_try_compile LINENO
 
1432
# --------------------------
 
1433
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1434
ac_fn_c_try_compile ()
 
1435
{
 
1436
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1437
  rm -f conftest.$ac_objext
 
1438
  if { { ac_try="$ac_compile"
 
1439
case "(($ac_try" in
 
1440
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1441
  *) ac_try_echo=$ac_try;;
 
1442
esac
 
1443
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1444
$as_echo "$ac_try_echo"; } >&5
 
1445
  (eval "$ac_compile") 2>conftest.err
 
1446
  ac_status=$?
 
1447
  if test -s conftest.err; then
 
1448
    grep -v '^ *+' conftest.err >conftest.er1
 
1449
    cat conftest.er1 >&5
 
1450
    mv -f conftest.er1 conftest.err
 
1451
  fi
 
1452
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1453
  test $ac_status = 0; } && {
 
1454
         test -z "$ac_c_werror_flag" ||
 
1455
         test ! -s conftest.err
 
1456
       } && test -s conftest.$ac_objext; then :
 
1457
  ac_retval=0
 
1458
else
 
1459
  $as_echo "$as_me: failed program was:" >&5
 
1460
sed 's/^/| /' conftest.$ac_ext >&5
 
1461
 
 
1462
        ac_retval=1
 
1463
fi
 
1464
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1465
  as_fn_set_status $ac_retval
 
1466
 
 
1467
} # ac_fn_c_try_compile
 
1468
 
 
1469
# ac_fn_c_try_cpp LINENO
 
1470
# ----------------------
 
1471
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1472
ac_fn_c_try_cpp ()
 
1473
{
 
1474
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1475
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1476
case "(($ac_try" in
 
1477
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1478
  *) ac_try_echo=$ac_try;;
 
1479
esac
 
1480
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1481
$as_echo "$ac_try_echo"; } >&5
 
1482
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1483
  ac_status=$?
 
1484
  if test -s conftest.err; then
 
1485
    grep -v '^ *+' conftest.err >conftest.er1
 
1486
    cat conftest.er1 >&5
 
1487
    mv -f conftest.er1 conftest.err
 
1488
  fi
 
1489
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1490
  test $ac_status = 0; } > conftest.i && {
 
1491
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1492
         test ! -s conftest.err
 
1493
       }; then :
 
1494
  ac_retval=0
 
1495
else
 
1496
  $as_echo "$as_me: failed program was:" >&5
 
1497
sed 's/^/| /' conftest.$ac_ext >&5
 
1498
 
 
1499
    ac_retval=1
 
1500
fi
 
1501
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1502
  as_fn_set_status $ac_retval
 
1503
 
 
1504
} # ac_fn_c_try_cpp
 
1505
 
 
1506
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1507
# -------------------------------------------------------
 
1508
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1509
# the include files in INCLUDES and setting the cache variable VAR
 
1510
# accordingly.
 
1511
ac_fn_c_check_header_mongrel ()
 
1512
{
 
1513
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1514
  if eval \${$3+:} false; then :
 
1515
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1516
$as_echo_n "checking for $2... " >&6; }
 
1517
if eval \${$3+:} false; then :
 
1518
  $as_echo_n "(cached) " >&6
 
1519
fi
 
1520
eval ac_res=\$$3
 
1521
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1522
$as_echo "$ac_res" >&6; }
 
1523
else
 
1524
  # Is the header compilable?
 
1525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1526
$as_echo_n "checking $2 usability... " >&6; }
 
1527
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1528
/* end confdefs.h.  */
 
1529
$4
 
1530
#include <$2>
 
1531
_ACEOF
 
1532
if ac_fn_c_try_compile "$LINENO"; then :
 
1533
  ac_header_compiler=yes
 
1534
else
 
1535
  ac_header_compiler=no
 
1536
fi
 
1537
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1539
$as_echo "$ac_header_compiler" >&6; }
 
1540
 
 
1541
# Is the header present?
 
1542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1543
$as_echo_n "checking $2 presence... " >&6; }
 
1544
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1545
/* end confdefs.h.  */
 
1546
#include <$2>
 
1547
_ACEOF
 
1548
if ac_fn_c_try_cpp "$LINENO"; then :
 
1549
  ac_header_preproc=yes
 
1550
else
 
1551
  ac_header_preproc=no
 
1552
fi
 
1553
rm -f conftest.err conftest.i conftest.$ac_ext
 
1554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1555
$as_echo "$ac_header_preproc" >&6; }
 
1556
 
 
1557
# So?  What about this header?
 
1558
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1559
  yes:no: )
 
1560
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1561
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1562
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1563
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1564
    ;;
 
1565
  no:yes:* )
 
1566
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1567
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1568
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1569
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1570
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1571
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1572
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1573
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1574
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1575
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1576
( $as_echo "## -------------------------------------------- ##
 
1577
## Report this to markus_moeller@compuserve.com ##
 
1578
## -------------------------------------------- ##"
 
1579
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1580
    ;;
 
1581
esac
 
1582
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1583
$as_echo_n "checking for $2... " >&6; }
 
1584
if eval \${$3+:} false; then :
 
1585
  $as_echo_n "(cached) " >&6
 
1586
else
 
1587
  eval "$3=\$ac_header_compiler"
 
1588
fi
 
1589
eval ac_res=\$$3
 
1590
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1591
$as_echo "$ac_res" >&6; }
 
1592
fi
 
1593
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1594
 
 
1595
} # ac_fn_c_check_header_mongrel
 
1596
 
 
1597
# ac_fn_c_try_run LINENO
 
1598
# ----------------------
 
1599
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1600
# that executables *can* be run.
 
1601
ac_fn_c_try_run ()
 
1602
{
 
1603
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1604
  if { { ac_try="$ac_link"
 
1605
case "(($ac_try" in
 
1606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1607
  *) ac_try_echo=$ac_try;;
 
1608
esac
 
1609
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1610
$as_echo "$ac_try_echo"; } >&5
 
1611
  (eval "$ac_link") 2>&5
 
1612
  ac_status=$?
 
1613
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1614
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1615
  { { case "(($ac_try" in
 
1616
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1617
  *) ac_try_echo=$ac_try;;
 
1618
esac
 
1619
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1620
$as_echo "$ac_try_echo"; } >&5
 
1621
  (eval "$ac_try") 2>&5
 
1622
  ac_status=$?
 
1623
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1624
  test $ac_status = 0; }; }; then :
 
1625
  ac_retval=0
 
1626
else
 
1627
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1628
       $as_echo "$as_me: failed program was:" >&5
 
1629
sed 's/^/| /' conftest.$ac_ext >&5
 
1630
 
 
1631
       ac_retval=$ac_status
 
1632
fi
 
1633
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1634
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1635
  as_fn_set_status $ac_retval
 
1636
 
 
1637
} # ac_fn_c_try_run
 
1638
 
 
1639
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1640
# -------------------------------------------------------
 
1641
# Tests whether HEADER exists and can be compiled using the include files in
 
1642
# INCLUDES, setting the cache variable VAR accordingly.
 
1643
ac_fn_c_check_header_compile ()
 
1644
{
 
1645
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1646
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1647
$as_echo_n "checking for $2... " >&6; }
 
1648
if eval \${$3+:} false; then :
 
1649
  $as_echo_n "(cached) " >&6
 
1650
else
 
1651
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1652
/* end confdefs.h.  */
 
1653
$4
 
1654
#include <$2>
 
1655
_ACEOF
 
1656
if ac_fn_c_try_compile "$LINENO"; then :
 
1657
  eval "$3=yes"
 
1658
else
 
1659
  eval "$3=no"
 
1660
fi
 
1661
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1662
fi
 
1663
eval ac_res=\$$3
 
1664
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1665
$as_echo "$ac_res" >&6; }
 
1666
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1667
 
 
1668
} # ac_fn_c_check_header_compile
 
1669
 
 
1670
# ac_fn_c_try_link LINENO
 
1671
# -----------------------
 
1672
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1673
ac_fn_c_try_link ()
 
1674
{
 
1675
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1676
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1677
  if { { ac_try="$ac_link"
 
1678
case "(($ac_try" in
 
1679
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1680
  *) ac_try_echo=$ac_try;;
 
1681
esac
 
1682
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1683
$as_echo "$ac_try_echo"; } >&5
 
1684
  (eval "$ac_link") 2>conftest.err
 
1685
  ac_status=$?
 
1686
  if test -s conftest.err; then
 
1687
    grep -v '^ *+' conftest.err >conftest.er1
 
1688
    cat conftest.er1 >&5
 
1689
    mv -f conftest.er1 conftest.err
 
1690
  fi
 
1691
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1692
  test $ac_status = 0; } && {
 
1693
         test -z "$ac_c_werror_flag" ||
 
1694
         test ! -s conftest.err
 
1695
       } && test -s conftest$ac_exeext && {
 
1696
         test "$cross_compiling" = yes ||
 
1697
         $as_test_x conftest$ac_exeext
 
1698
       }; then :
 
1699
  ac_retval=0
 
1700
else
 
1701
  $as_echo "$as_me: failed program was:" >&5
 
1702
sed 's/^/| /' conftest.$ac_ext >&5
 
1703
 
 
1704
        ac_retval=1
 
1705
fi
 
1706
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1707
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1708
  # interfere with the next link command; also delete a directory that is
 
1709
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1710
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1711
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1712
  as_fn_set_status $ac_retval
 
1713
 
 
1714
} # ac_fn_c_try_link
 
1715
 
 
1716
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
1717
# ---------------------------------------------
 
1718
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
1719
# accordingly.
 
1720
ac_fn_c_check_decl ()
 
1721
{
 
1722
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1723
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
1724
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
1725
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
1726
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
1727
if eval \${$3+:} false; then :
 
1728
  $as_echo_n "(cached) " >&6
 
1729
else
 
1730
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1731
/* end confdefs.h.  */
 
1732
$4
 
1733
int
 
1734
main ()
 
1735
{
 
1736
#ifndef $as_decl_name
 
1737
#ifdef __cplusplus
 
1738
  (void) $as_decl_use;
 
1739
#else
 
1740
  (void) $as_decl_name;
 
1741
#endif
 
1742
#endif
 
1743
 
 
1744
  ;
 
1745
  return 0;
 
1746
}
 
1747
_ACEOF
 
1748
if ac_fn_c_try_compile "$LINENO"; then :
 
1749
  eval "$3=yes"
 
1750
else
 
1751
  eval "$3=no"
 
1752
fi
 
1753
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1754
fi
 
1755
eval ac_res=\$$3
 
1756
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1757
$as_echo "$ac_res" >&6; }
 
1758
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1759
 
 
1760
} # ac_fn_c_check_decl
1468
1761
cat >config.log <<_ACEOF
1469
1762
This file contains any messages produced by compilers while
1470
1763
running configure, to aid debugging if configure makes a mistake.
1471
1764
 
1472
1765
It was created by squid_kerb_auth $as_me 1.0.5, which was
1473
 
generated by GNU Autoconf 2.62.  Invocation command line was
 
1766
generated by GNU Autoconf 2.68.  Invocation command line was
1474
1767
 
1475
1768
  $ $0 $@
1476
1769
 
1506
1799
do
1507
1800
  IFS=$as_save_IFS
1508
1801
  test -z "$as_dir" && as_dir=.
1509
 
  $as_echo "PATH: $as_dir"
1510
 
done
 
1802
    $as_echo "PATH: $as_dir"
 
1803
  done
1511
1804
IFS=$as_save_IFS
1512
1805
 
1513
1806
} >&5
1544
1837
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545
1838
    esac
1546
1839
    case $ac_pass in
1547
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1840
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1548
1841
    2)
1549
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1842
      as_fn_append ac_configure_args1 " '$ac_arg'"
1550
1843
      if test $ac_must_keep_next = true; then
1551
1844
        ac_must_keep_next=false # Got value, back to normal.
1552
1845
      else
1562
1855
          -* ) ac_must_keep_next=true ;;
1563
1856
        esac
1564
1857
      fi
1565
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1858
      as_fn_append ac_configure_args " '$ac_arg'"
1566
1859
      ;;
1567
1860
    esac
1568
1861
  done
1569
1862
done
1570
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1863
{ ac_configure_args0=; unset ac_configure_args0;}
 
1864
{ ac_configure_args1=; unset ac_configure_args1;}
1572
1865
 
1573
1866
# When interrupted or exit'd, cleanup temporary files, and complete
1574
1867
# config.log.  We remove comments because anyway the quotes in there
1580
1873
  {
1581
1874
    echo
1582
1875
 
1583
 
    cat <<\_ASBOX
1584
 
## ---------------- ##
 
1876
    $as_echo "## ---------------- ##
1585
1877
## Cache variables. ##
1586
 
## ---------------- ##
1587
 
_ASBOX
 
1878
## ---------------- ##"
1588
1879
    echo
1589
1880
    # The following way of writing the cache mishandles newlines in values,
1590
1881
(
1593
1884
    case $ac_val in #(
1594
1885
    *${as_nl}*)
1595
1886
      case $ac_var in #(
1596
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597
 
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1887
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1888
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1598
1889
      esac
1599
1890
      case $ac_var in #(
1600
1891
      _ | IFS | as_nl) ;; #(
1601
1892
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1602
 
      *) $as_unset $ac_var ;;
 
1893
      *) { eval $ac_var=; unset $ac_var;} ;;
1603
1894
      esac ;;
1604
1895
    esac
1605
1896
  done
1618
1909
)
1619
1910
    echo
1620
1911
 
1621
 
    cat <<\_ASBOX
1622
 
## ----------------- ##
 
1912
    $as_echo "## ----------------- ##
1623
1913
## Output variables. ##
1624
 
## ----------------- ##
1625
 
_ASBOX
 
1914
## ----------------- ##"
1626
1915
    echo
1627
1916
    for ac_var in $ac_subst_vars
1628
1917
    do
1635
1924
    echo
1636
1925
 
1637
1926
    if test -n "$ac_subst_files"; then
1638
 
      cat <<\_ASBOX
1639
 
## ------------------- ##
 
1927
      $as_echo "## ------------------- ##
1640
1928
## File substitutions. ##
1641
 
## ------------------- ##
1642
 
_ASBOX
 
1929
## ------------------- ##"
1643
1930
      echo
1644
1931
      for ac_var in $ac_subst_files
1645
1932
      do
1653
1940
    fi
1654
1941
 
1655
1942
    if test -s confdefs.h; then
1656
 
      cat <<\_ASBOX
1657
 
## ----------- ##
 
1943
      $as_echo "## ----------- ##
1658
1944
## confdefs.h. ##
1659
 
## ----------- ##
1660
 
_ASBOX
 
1945
## ----------- ##"
1661
1946
      echo
1662
1947
      cat confdefs.h
1663
1948
      echo
1671
1956
    exit $exit_status
1672
1957
' 0
1673
1958
for ac_signal in 1 2 13 15; do
1674
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1959
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1675
1960
done
1676
1961
ac_signal=0
1677
1962
 
1678
1963
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1679
1964
rm -f -r conftest* confdefs.h
1680
1965
 
 
1966
$as_echo "/* confdefs.h */" > confdefs.h
 
1967
 
1681
1968
# Predefined preprocessor variables.
1682
1969
 
1683
1970
cat >>confdefs.h <<_ACEOF
1684
1971
#define PACKAGE_NAME "$PACKAGE_NAME"
1685
1972
_ACEOF
1686
1973
 
1687
 
 
1688
1974
cat >>confdefs.h <<_ACEOF
1689
1975
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1690
1976
_ACEOF
1691
1977
 
1692
 
 
1693
1978
cat >>confdefs.h <<_ACEOF
1694
1979
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1695
1980
_ACEOF
1696
1981
 
1697
 
 
1698
1982
cat >>confdefs.h <<_ACEOF
1699
1983
#define PACKAGE_STRING "$PACKAGE_STRING"
1700
1984
_ACEOF
1701
1985
 
1702
 
 
1703
1986
cat >>confdefs.h <<_ACEOF
1704
1987
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1705
1988
_ACEOF
1706
1989
 
 
1990
cat >>confdefs.h <<_ACEOF
 
1991
#define PACKAGE_URL "$PACKAGE_URL"
 
1992
_ACEOF
 
1993
 
1707
1994
 
1708
1995
# Let the site file select an alternate cache file if it wants to.
1709
1996
# Prefer an explicitly selected file to automatically selected ones.
1710
1997
ac_site_file1=NONE
1711
1998
ac_site_file2=NONE
1712
1999
if test -n "$CONFIG_SITE"; then
1713
 
  ac_site_file1=$CONFIG_SITE
 
2000
  # We do not want a PATH search for config.site.
 
2001
  case $CONFIG_SITE in #((
 
2002
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2003
    */*) ac_site_file1=$CONFIG_SITE;;
 
2004
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2005
  esac
1714
2006
elif test "x$prefix" != xNONE; then
1715
2007
  ac_site_file1=$prefix/share/config.site
1716
2008
  ac_site_file2=$prefix/etc/config.site
1721
2013
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1722
2014
do
1723
2015
  test "x$ac_site_file" = xNONE && continue
1724
 
  if test -r "$ac_site_file"; then
1725
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2016
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2017
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1726
2018
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1727
2019
    sed 's/^/| /' "$ac_site_file" >&5
1728
 
    . "$ac_site_file"
 
2020
    . "$ac_site_file" \
 
2021
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2022
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2023
as_fn_error $? "failed to load site script $ac_site_file
 
2024
See \`config.log' for more details" "$LINENO" 5; }
1729
2025
  fi
1730
2026
done
1731
2027
 
1732
2028
if test -r "$cache_file"; then
1733
 
  # Some versions of bash will fail to source /dev/null (special
1734
 
  # files actually), so we avoid doing that.
1735
 
  if test -f "$cache_file"; then
1736
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2029
  # Some versions of bash will fail to source /dev/null (special files
 
2030
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2031
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2032
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1737
2033
$as_echo "$as_me: loading cache $cache_file" >&6;}
1738
2034
    case $cache_file in
1739
2035
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1741
2037
    esac
1742
2038
  fi
1743
2039
else
1744
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2040
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1745
2041
$as_echo "$as_me: creating cache $cache_file" >&6;}
1746
2042
  >$cache_file
1747
2043
fi
1756
2052
  eval ac_new_val=\$ac_env_${ac_var}_value
1757
2053
  case $ac_old_set,$ac_new_set in
1758
2054
    set,)
1759
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2055
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1760
2056
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1761
2057
      ac_cache_corrupted=: ;;
1762
2058
    ,set)
1763
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2059
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1764
2060
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1765
2061
      ac_cache_corrupted=: ;;
1766
2062
    ,);;
1770
2066
        ac_old_val_w=`echo x $ac_old_val`
1771
2067
        ac_new_val_w=`echo x $ac_new_val`
1772
2068
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1773
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2069
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1774
2070
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1775
2071
          ac_cache_corrupted=:
1776
2072
        else
1777
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2073
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1778
2074
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1779
2075
          eval $ac_var=\$ac_old_val
1780
2076
        fi
1781
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2077
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1782
2078
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1783
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2079
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1784
2080
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1785
2081
      fi;;
1786
2082
  esac
1792
2088
    esac
1793
2089
    case " $ac_configure_args " in
1794
2090
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1795
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2091
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1796
2092
    esac
1797
2093
  fi
1798
2094
done
1799
2095
if $ac_cache_corrupted; then
1800
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2096
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2097
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2098
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1801
2099
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1802
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1803
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1804
 
   { (exit 1); exit 1; }; }
 
2100
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1805
2101
fi
1806
 
 
1807
 
 
1808
 
 
1809
 
 
1810
 
 
1811
 
 
1812
 
 
1813
 
 
1814
 
 
1815
 
 
1816
 
 
1817
 
 
1818
 
 
1819
 
 
1820
 
 
1821
 
 
1822
 
 
1823
 
 
1824
 
 
1825
 
 
1826
 
 
1827
 
 
1828
 
 
1829
 
 
 
2102
## -------------------- ##
 
2103
## Main body of script. ##
 
2104
## -------------------- ##
1830
2105
 
1831
2106
ac_ext=c
1832
2107
ac_cpp='$CPP $CPPFLAGS'
1835
2110
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1836
2111
 
1837
2112
 
1838
 
am__api_version='1.10'
 
2113
am__api_version='1.11'
1839
2114
 
1840
2115
ac_aux_dir=
1841
2116
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1854
2129
  fi
1855
2130
done
1856
2131
if test -z "$ac_aux_dir"; then
1857
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1858
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1859
 
   { (exit 1); exit 1; }; }
 
2132
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1860
2133
fi
1861
2134
 
1862
2135
# These three variables are undocumented and unsupported,
1882
2155
# OS/2's system install, which has a completely different semantic
1883
2156
# ./install, which can be erroneously created by make from ./install.sh.
1884
2157
# Reject install programs that cannot install multiple files.
1885
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1886
2159
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1887
2160
if test -z "$INSTALL"; then
1888
 
if test "${ac_cv_path_install+set}" = set; then
 
2161
if ${ac_cv_path_install+:} false; then :
1889
2162
  $as_echo_n "(cached) " >&6
1890
2163
else
1891
2164
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893
2166
do
1894
2167
  IFS=$as_save_IFS
1895
2168
  test -z "$as_dir" && as_dir=.
1896
 
  # Account for people who put trailing slashes in PATH elements.
1897
 
case $as_dir/ in
1898
 
  ./ | .// | /cC/* | \
 
2169
    # Account for people who put trailing slashes in PATH elements.
 
2170
case $as_dir/ in #((
 
2171
  ./ | .// | /[cC]/* | \
1899
2172
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1900
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2173
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1901
2174
  /usr/ucb/* ) ;;
1902
2175
  *)
1903
2176
    # OSF1 and SCO ODT 3.0 have their own names for install.
1934
2207
    ;;
1935
2208
esac
1936
2209
 
1937
 
done
 
2210
  done
1938
2211
IFS=$as_save_IFS
1939
2212
 
1940
2213
rm -rf conftest.one conftest.two conftest.dir
1950
2223
    INSTALL=$ac_install_sh
1951
2224
  fi
1952
2225
fi
1953
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1954
2227
$as_echo "$INSTALL" >&6; }
1955
2228
 
1956
2229
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1961
2234
 
1962
2235
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1963
2236
 
1964
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1965
2238
$as_echo_n "checking whether build environment is sane... " >&6; }
1966
2239
# Just in case
1967
2240
sleep 1
1968
2241
echo timestamp > conftest.file
 
2242
# Reject unsafe characters in $srcdir or the absolute working directory
 
2243
# name.  Accept space and tab only in the latter.
 
2244
am_lf='
 
2245
'
 
2246
case `pwd` in
 
2247
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2248
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2249
esac
 
2250
case $srcdir in
 
2251
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2252
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2253
esac
 
2254
 
1969
2255
# Do `set' in a subshell so we don't clobber the current shell's
1970
2256
# arguments.  Must try -L first in case configure is actually a
1971
2257
# symlink; some systems play weird games with the mod time of symlinks
1972
2258
# (eg FreeBSD returns the mod time of the symlink's containing
1973
2259
# directory).
1974
2260
if (
1975
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2261
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1976
2262
   if test "$*" = "X"; then
1977
2263
      # -L didn't work.
1978
 
      set X `ls -t $srcdir/configure conftest.file`
 
2264
      set X `ls -t "$srcdir/configure" conftest.file`
1979
2265
   fi
1980
2266
   rm -f conftest.file
1981
2267
   if test "$*" != "X $srcdir/configure conftest.file" \
1985
2271
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1986
2272
      # broken ls alias from the environment.  This has actually
1987
2273
      # happened.  Such a system could not be considered "sane".
1988
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1989
 
alias in your environment" >&5
1990
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1991
 
alias in your environment" >&2;}
1992
 
   { (exit 1); exit 1; }; }
 
2274
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2275
alias in your environment" "$LINENO" 5
1993
2276
   fi
1994
2277
 
1995
2278
   test "$2" = conftest.file
1998
2281
   # Ok.
1999
2282
   :
2000
2283
else
2001
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2002
 
Check your system clock" >&5
2003
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2004
 
Check your system clock" >&2;}
2005
 
   { (exit 1); exit 1; }; }
 
2284
   as_fn_error $? "newly created file is older than distributed files!
 
2285
Check your system clock" "$LINENO" 5
2006
2286
fi
2007
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2008
2288
$as_echo "yes" >&6; }
2009
2289
test "$program_prefix" != NONE &&
2010
2290
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2019
2299
# expand $ac_aux_dir to an absolute path
2020
2300
am_aux_dir=`cd $ac_aux_dir && pwd`
2021
2301
 
2022
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2302
if test x"${MISSING+set}" != xset; then
 
2303
  case $am_aux_dir in
 
2304
  *\ * | *\     *)
 
2305
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2306
  *)
 
2307
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2308
  esac
 
2309
fi
2023
2310
# Use eval to expand $SHELL
2024
2311
if eval "$MISSING --run true"; then
2025
2312
  am_missing_run="$MISSING --run "
2026
2313
else
2027
2314
  am_missing_run=
2028
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2315
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2029
2316
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2030
2317
fi
2031
2318
 
2032
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2319
if test x"${install_sh}" != xset; then
 
2320
  case $am_aux_dir in
 
2321
  *\ * | *\     *)
 
2322
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2323
  *)
 
2324
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2325
  esac
 
2326
fi
 
2327
 
 
2328
# Installed binaries are usually stripped using `strip' when the user
 
2329
# run `make install-strip'.  However `strip' might not be the right
 
2330
# tool to use in cross-compilation environments, therefore Automake
 
2331
# will honor the `STRIP' environment variable to overrule this program.
 
2332
if test "$cross_compiling" != no; then
 
2333
  if test -n "$ac_tool_prefix"; then
 
2334
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2335
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2337
$as_echo_n "checking for $ac_word... " >&6; }
 
2338
if ${ac_cv_prog_STRIP+:} false; then :
 
2339
  $as_echo_n "(cached) " >&6
 
2340
else
 
2341
  if test -n "$STRIP"; then
 
2342
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2343
else
 
2344
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2345
for as_dir in $PATH
 
2346
do
 
2347
  IFS=$as_save_IFS
 
2348
  test -z "$as_dir" && as_dir=.
 
2349
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2350
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2351
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2352
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2353
    break 2
 
2354
  fi
 
2355
done
 
2356
  done
 
2357
IFS=$as_save_IFS
 
2358
 
 
2359
fi
 
2360
fi
 
2361
STRIP=$ac_cv_prog_STRIP
 
2362
if test -n "$STRIP"; then
 
2363
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2364
$as_echo "$STRIP" >&6; }
 
2365
else
 
2366
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2367
$as_echo "no" >&6; }
 
2368
fi
 
2369
 
 
2370
 
 
2371
fi
 
2372
if test -z "$ac_cv_prog_STRIP"; then
 
2373
  ac_ct_STRIP=$STRIP
 
2374
  # Extract the first word of "strip", so it can be a program name with args.
 
2375
set dummy strip; ac_word=$2
 
2376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2377
$as_echo_n "checking for $ac_word... " >&6; }
 
2378
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2379
  $as_echo_n "(cached) " >&6
 
2380
else
 
2381
  if test -n "$ac_ct_STRIP"; then
 
2382
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2383
else
 
2384
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2385
for as_dir in $PATH
 
2386
do
 
2387
  IFS=$as_save_IFS
 
2388
  test -z "$as_dir" && as_dir=.
 
2389
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2390
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2391
    ac_cv_prog_ac_ct_STRIP="strip"
 
2392
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2393
    break 2
 
2394
  fi
 
2395
done
 
2396
  done
 
2397
IFS=$as_save_IFS
 
2398
 
 
2399
fi
 
2400
fi
 
2401
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2402
if test -n "$ac_ct_STRIP"; then
 
2403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2404
$as_echo "$ac_ct_STRIP" >&6; }
 
2405
else
 
2406
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2407
$as_echo "no" >&6; }
 
2408
fi
 
2409
 
 
2410
  if test "x$ac_ct_STRIP" = x; then
 
2411
    STRIP=":"
 
2412
  else
 
2413
    case $cross_compiling:$ac_tool_warned in
 
2414
yes:)
 
2415
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2416
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2417
ac_tool_warned=yes ;;
 
2418
esac
 
2419
    STRIP=$ac_ct_STRIP
 
2420
  fi
 
2421
else
 
2422
  STRIP="$ac_cv_prog_STRIP"
 
2423
fi
 
2424
 
 
2425
fi
 
2426
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2427
 
 
2428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2033
2429
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2034
2430
if test -z "$MKDIR_P"; then
2035
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2431
  if ${ac_cv_path_mkdir+:} false; then :
2036
2432
  $as_echo_n "(cached) " >&6
2037
2433
else
2038
2434
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040
2436
do
2041
2437
  IFS=$as_save_IFS
2042
2438
  test -z "$as_dir" && as_dir=.
2043
 
  for ac_prog in mkdir gmkdir; do
 
2439
    for ac_prog in mkdir gmkdir; do
2044
2440
         for ac_exec_ext in '' $ac_executable_extensions; do
2045
2441
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2046
2442
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2052
2448
           esac
2053
2449
         done
2054
2450
       done
2055
 
done
 
2451
  done
2056
2452
IFS=$as_save_IFS
2057
2453
 
2058
2454
fi
2059
2455
 
 
2456
  test -d ./--version && rmdir ./--version
2060
2457
  if test "${ac_cv_path_mkdir+set}" = set; then
2061
2458
    MKDIR_P="$ac_cv_path_mkdir -p"
2062
2459
  else
2064
2461
    # value for MKDIR_P within a source directory, because that will
2065
2462
    # break other packages using the cache if that directory is
2066
2463
    # removed, or if the value is a relative name.
2067
 
    test -d ./--version && rmdir ./--version
2068
2464
    MKDIR_P="$ac_install_sh -d"
2069
2465
  fi
2070
2466
fi
2071
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2072
2468
$as_echo "$MKDIR_P" >&6; }
2073
2469
 
2074
2470
mkdir_p="$MKDIR_P"
2081
2477
do
2082
2478
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2083
2479
set dummy $ac_prog; ac_word=$2
2084
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2085
2481
$as_echo_n "checking for $ac_word... " >&6; }
2086
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2482
if ${ac_cv_prog_AWK+:} false; then :
2087
2483
  $as_echo_n "(cached) " >&6
2088
2484
else
2089
2485
  if test -n "$AWK"; then
2094
2490
do
2095
2491
  IFS=$as_save_IFS
2096
2492
  test -z "$as_dir" && as_dir=.
2097
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2493
    for ac_exec_ext in '' $ac_executable_extensions; do
2098
2494
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2099
2495
    ac_cv_prog_AWK="$ac_prog"
2100
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2496
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2101
2497
    break 2
2102
2498
  fi
2103
2499
done
2104
 
done
 
2500
  done
2105
2501
IFS=$as_save_IFS
2106
2502
 
2107
2503
fi
2108
2504
fi
2109
2505
AWK=$ac_cv_prog_AWK
2110
2506
if test -n "$AWK"; then
2111
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2507
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2112
2508
$as_echo "$AWK" >&6; }
2113
2509
else
2114
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2510
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2115
2511
$as_echo "no" >&6; }
2116
2512
fi
2117
2513
 
2119
2515
  test -n "$AWK" && break
2120
2516
done
2121
2517
 
2122
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2123
2519
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2124
2520
set x ${MAKE-make}
2125
2521
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2126
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2522
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2127
2523
  $as_echo_n "(cached) " >&6
2128
2524
else
2129
2525
  cat >conftest.make <<\_ACEOF
2131
2527
all:
2132
2528
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2133
2529
_ACEOF
2134
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2530
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2135
2531
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2136
2532
  *@@@%%%=?*=@@@%%%*)
2137
2533
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2141
2537
rm -f conftest.make
2142
2538
fi
2143
2539
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2144
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2145
2541
$as_echo "yes" >&6; }
2146
2542
  SET_MAKE=
2147
2543
else
2148
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2544
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2149
2545
$as_echo "no" >&6; }
2150
2546
  SET_MAKE="MAKE=${MAKE-make}"
2151
2547
fi
2165
2561
  am__isrc=' -I$(srcdir)'
2166
2562
  # test to see if srcdir already configured
2167
2563
  if test -f $srcdir/config.status; then
2168
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2169
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2170
 
   { (exit 1); exit 1; }; }
 
2564
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2171
2565
  fi
2172
2566
fi
2173
2567
 
2211
2605
 
2212
2606
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2213
2607
 
2214
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2215
 
 
2216
 
# Installed binaries are usually stripped using `strip' when the user
2217
 
# run `make install-strip'.  However `strip' might not be the right
2218
 
# tool to use in cross-compilation environments, therefore Automake
2219
 
# will honor the `STRIP' environment variable to overrule this program.
2220
 
if test "$cross_compiling" != no; then
2221
 
  if test -n "$ac_tool_prefix"; then
2222
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2223
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2224
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2225
 
$as_echo_n "checking for $ac_word... " >&6; }
2226
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2227
 
  $as_echo_n "(cached) " >&6
2228
 
else
2229
 
  if test -n "$STRIP"; then
2230
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2231
 
else
2232
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233
 
for as_dir in $PATH
2234
 
do
2235
 
  IFS=$as_save_IFS
2236
 
  test -z "$as_dir" && as_dir=.
2237
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2238
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2239
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2240
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241
 
    break 2
2242
 
  fi
2243
 
done
2244
 
done
2245
 
IFS=$as_save_IFS
2246
 
 
2247
 
fi
2248
 
fi
2249
 
STRIP=$ac_cv_prog_STRIP
2250
 
if test -n "$STRIP"; then
2251
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2252
 
$as_echo "$STRIP" >&6; }
2253
 
else
2254
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2255
 
$as_echo "no" >&6; }
2256
 
fi
2257
 
 
2258
 
 
2259
 
fi
2260
 
if test -z "$ac_cv_prog_STRIP"; then
2261
 
  ac_ct_STRIP=$STRIP
2262
 
  # Extract the first word of "strip", so it can be a program name with args.
2263
 
set dummy strip; ac_word=$2
2264
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2265
 
$as_echo_n "checking for $ac_word... " >&6; }
2266
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2267
 
  $as_echo_n "(cached) " >&6
2268
 
else
2269
 
  if test -n "$ac_ct_STRIP"; then
2270
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2271
 
else
2272
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273
 
for as_dir in $PATH
2274
 
do
2275
 
  IFS=$as_save_IFS
2276
 
  test -z "$as_dir" && as_dir=.
2277
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2278
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279
 
    ac_cv_prog_ac_ct_STRIP="strip"
2280
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281
 
    break 2
2282
 
  fi
2283
 
done
2284
 
done
2285
 
IFS=$as_save_IFS
2286
 
 
2287
 
fi
2288
 
fi
2289
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2290
 
if test -n "$ac_ct_STRIP"; then
2291
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2292
 
$as_echo "$ac_ct_STRIP" >&6; }
2293
 
else
2294
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2295
 
$as_echo "no" >&6; }
2296
 
fi
2297
 
 
2298
 
  if test "x$ac_ct_STRIP" = x; then
2299
 
    STRIP=":"
2300
 
  else
2301
 
    case $cross_compiling:$ac_tool_warned in
2302
 
yes:)
2303
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2304
 
whose name does not start with the host triplet.  If you think this
2305
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2306
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2307
 
whose name does not start with the host triplet.  If you think this
2308
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2309
 
ac_tool_warned=yes ;;
2310
 
esac
2311
 
    STRIP=$ac_ct_STRIP
2312
 
  fi
2313
 
else
2314
 
  STRIP="$ac_cv_prog_STRIP"
2315
 
fi
2316
 
 
2317
 
fi
2318
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2319
 
 
2320
2608
# We need awk for the "check" target.  The system "awk" is bad on
2321
2609
# some platforms.
2322
2610
# Always define AMTAR for backward compatibility.
2339
2627
if test -n "$ac_tool_prefix"; then
2340
2628
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2341
2629
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2342
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2343
2631
$as_echo_n "checking for $ac_word... " >&6; }
2344
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2632
if ${ac_cv_prog_CC+:} false; then :
2345
2633
  $as_echo_n "(cached) " >&6
2346
2634
else
2347
2635
  if test -n "$CC"; then
2352
2640
do
2353
2641
  IFS=$as_save_IFS
2354
2642
  test -z "$as_dir" && as_dir=.
2355
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2643
    for ac_exec_ext in '' $ac_executable_extensions; do
2356
2644
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2357
2645
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2358
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2646
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2359
2647
    break 2
2360
2648
  fi
2361
2649
done
2362
 
done
 
2650
  done
2363
2651
IFS=$as_save_IFS
2364
2652
 
2365
2653
fi
2366
2654
fi
2367
2655
CC=$ac_cv_prog_CC
2368
2656
if test -n "$CC"; then
2369
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2657
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2370
2658
$as_echo "$CC" >&6; }
2371
2659
else
2372
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2660
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2373
2661
$as_echo "no" >&6; }
2374
2662
fi
2375
2663
 
2379
2667
  ac_ct_CC=$CC
2380
2668
  # Extract the first word of "gcc", so it can be a program name with args.
2381
2669
set dummy gcc; ac_word=$2
2382
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2383
2671
$as_echo_n "checking for $ac_word... " >&6; }
2384
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2672
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2385
2673
  $as_echo_n "(cached) " >&6
2386
2674
else
2387
2675
  if test -n "$ac_ct_CC"; then
2392
2680
do
2393
2681
  IFS=$as_save_IFS
2394
2682
  test -z "$as_dir" && as_dir=.
2395
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2683
    for ac_exec_ext in '' $ac_executable_extensions; do
2396
2684
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2397
2685
    ac_cv_prog_ac_ct_CC="gcc"
2398
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2686
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2399
2687
    break 2
2400
2688
  fi
2401
2689
done
2402
 
done
 
2690
  done
2403
2691
IFS=$as_save_IFS
2404
2692
 
2405
2693
fi
2406
2694
fi
2407
2695
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2408
2696
if test -n "$ac_ct_CC"; then
2409
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2697
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2410
2698
$as_echo "$ac_ct_CC" >&6; }
2411
2699
else
2412
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2700
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2413
2701
$as_echo "no" >&6; }
2414
2702
fi
2415
2703
 
2418
2706
  else
2419
2707
    case $cross_compiling:$ac_tool_warned in
2420
2708
yes:)
2421
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2422
 
whose name does not start with the host triplet.  If you think this
2423
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2424
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2425
 
whose name does not start with the host triplet.  If you think this
2426
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2709
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2710
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2427
2711
ac_tool_warned=yes ;;
2428
2712
esac
2429
2713
    CC=$ac_ct_CC
2436
2720
          if test -n "$ac_tool_prefix"; then
2437
2721
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2438
2722
set dummy ${ac_tool_prefix}cc; ac_word=$2
2439
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2440
2724
$as_echo_n "checking for $ac_word... " >&6; }
2441
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2725
if ${ac_cv_prog_CC+:} false; then :
2442
2726
  $as_echo_n "(cached) " >&6
2443
2727
else
2444
2728
  if test -n "$CC"; then
2449
2733
do
2450
2734
  IFS=$as_save_IFS
2451
2735
  test -z "$as_dir" && as_dir=.
2452
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2736
    for ac_exec_ext in '' $ac_executable_extensions; do
2453
2737
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2454
2738
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2455
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2739
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2456
2740
    break 2
2457
2741
  fi
2458
2742
done
2459
 
done
 
2743
  done
2460
2744
IFS=$as_save_IFS
2461
2745
 
2462
2746
fi
2463
2747
fi
2464
2748
CC=$ac_cv_prog_CC
2465
2749
if test -n "$CC"; then
2466
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2750
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2467
2751
$as_echo "$CC" >&6; }
2468
2752
else
2469
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2753
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2470
2754
$as_echo "no" >&6; }
2471
2755
fi
2472
2756
 
2476
2760
if test -z "$CC"; then
2477
2761
  # Extract the first word of "cc", so it can be a program name with args.
2478
2762
set dummy cc; ac_word=$2
2479
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2480
2764
$as_echo_n "checking for $ac_word... " >&6; }
2481
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2765
if ${ac_cv_prog_CC+:} false; then :
2482
2766
  $as_echo_n "(cached) " >&6
2483
2767
else
2484
2768
  if test -n "$CC"; then
2490
2774
do
2491
2775
  IFS=$as_save_IFS
2492
2776
  test -z "$as_dir" && as_dir=.
2493
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2777
    for ac_exec_ext in '' $ac_executable_extensions; do
2494
2778
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2495
2779
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2496
2780
       ac_prog_rejected=yes
2497
2781
       continue
2498
2782
     fi
2499
2783
    ac_cv_prog_CC="cc"
2500
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2784
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2501
2785
    break 2
2502
2786
  fi
2503
2787
done
2504
 
done
 
2788
  done
2505
2789
IFS=$as_save_IFS
2506
2790
 
2507
2791
if test $ac_prog_rejected = yes; then
2520
2804
fi
2521
2805
CC=$ac_cv_prog_CC
2522
2806
if test -n "$CC"; then
2523
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2807
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2524
2808
$as_echo "$CC" >&6; }
2525
2809
else
2526
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2810
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2527
2811
$as_echo "no" >&6; }
2528
2812
fi
2529
2813
 
2535
2819
  do
2536
2820
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2537
2821
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2538
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2539
2823
$as_echo_n "checking for $ac_word... " >&6; }
2540
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2824
if ${ac_cv_prog_CC+:} false; then :
2541
2825
  $as_echo_n "(cached) " >&6
2542
2826
else
2543
2827
  if test -n "$CC"; then
2548
2832
do
2549
2833
  IFS=$as_save_IFS
2550
2834
  test -z "$as_dir" && as_dir=.
2551
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2835
    for ac_exec_ext in '' $ac_executable_extensions; do
2552
2836
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2553
2837
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2554
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2838
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555
2839
    break 2
2556
2840
  fi
2557
2841
done
2558
 
done
 
2842
  done
2559
2843
IFS=$as_save_IFS
2560
2844
 
2561
2845
fi
2562
2846
fi
2563
2847
CC=$ac_cv_prog_CC
2564
2848
if test -n "$CC"; then
2565
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2566
2850
$as_echo "$CC" >&6; }
2567
2851
else
2568
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2852
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569
2853
$as_echo "no" >&6; }
2570
2854
fi
2571
2855
 
2579
2863
do
2580
2864
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2581
2865
set dummy $ac_prog; ac_word=$2
2582
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2866
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2583
2867
$as_echo_n "checking for $ac_word... " >&6; }
2584
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2868
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2585
2869
  $as_echo_n "(cached) " >&6
2586
2870
else
2587
2871
  if test -n "$ac_ct_CC"; then
2592
2876
do
2593
2877
  IFS=$as_save_IFS
2594
2878
  test -z "$as_dir" && as_dir=.
2595
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2879
    for ac_exec_ext in '' $ac_executable_extensions; do
2596
2880
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2597
2881
    ac_cv_prog_ac_ct_CC="$ac_prog"
2598
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2882
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2599
2883
    break 2
2600
2884
  fi
2601
2885
done
2602
 
done
 
2886
  done
2603
2887
IFS=$as_save_IFS
2604
2888
 
2605
2889
fi
2606
2890
fi
2607
2891
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2608
2892
if test -n "$ac_ct_CC"; then
2609
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2893
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2610
2894
$as_echo "$ac_ct_CC" >&6; }
2611
2895
else
2612
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2896
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613
2897
$as_echo "no" >&6; }
2614
2898
fi
2615
2899
 
2622
2906
  else
2623
2907
    case $cross_compiling:$ac_tool_warned in
2624
2908
yes:)
2625
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2626
 
whose name does not start with the host triplet.  If you think this
2627
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2628
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2629
 
whose name does not start with the host triplet.  If you think this
2630
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2909
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2910
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2631
2911
ac_tool_warned=yes ;;
2632
2912
esac
2633
2913
    CC=$ac_ct_CC
2637
2917
fi
2638
2918
 
2639
2919
 
2640
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2641
 
See \`config.log' for more details." >&5
2642
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2643
 
See \`config.log' for more details." >&2;}
2644
 
   { (exit 1); exit 1; }; }
 
2920
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2921
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2922
as_fn_error $? "no acceptable C compiler found in \$PATH
 
2923
See \`config.log' for more details" "$LINENO" 5; }
2645
2924
 
2646
2925
# Provide some information about the compiler.
2647
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2926
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2648
2927
set X $ac_compile
2649
2928
ac_compiler=$2
2650
 
{ (ac_try="$ac_compiler --version >&5"
2651
 
case "(($ac_try" in
2652
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653
 
  *) ac_try_echo=$ac_try;;
2654
 
esac
2655
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2656
 
$as_echo "$ac_try_echo") >&5
2657
 
  (eval "$ac_compiler --version >&5") 2>&5
2658
 
  ac_status=$?
2659
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660
 
  (exit $ac_status); }
2661
 
{ (ac_try="$ac_compiler -v >&5"
2662
 
case "(($ac_try" in
2663
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664
 
  *) ac_try_echo=$ac_try;;
2665
 
esac
2666
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2667
 
$as_echo "$ac_try_echo") >&5
2668
 
  (eval "$ac_compiler -v >&5") 2>&5
2669
 
  ac_status=$?
2670
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671
 
  (exit $ac_status); }
2672
 
{ (ac_try="$ac_compiler -V >&5"
2673
 
case "(($ac_try" in
2674
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675
 
  *) ac_try_echo=$ac_try;;
2676
 
esac
2677
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2678
 
$as_echo "$ac_try_echo") >&5
2679
 
  (eval "$ac_compiler -V >&5") 2>&5
2680
 
  ac_status=$?
2681
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682
 
  (exit $ac_status); }
 
2929
for ac_option in --version -v -V -qversion; do
 
2930
  { { ac_try="$ac_compiler $ac_option >&5"
 
2931
case "(($ac_try" in
 
2932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2933
  *) ac_try_echo=$ac_try;;
 
2934
esac
 
2935
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2936
$as_echo "$ac_try_echo"; } >&5
 
2937
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2938
  ac_status=$?
 
2939
  if test -s conftest.err; then
 
2940
    sed '10a\
 
2941
... rest of stderr output deleted ...
 
2942
         10q' conftest.err >conftest.er1
 
2943
    cat conftest.er1 >&5
 
2944
  fi
 
2945
  rm -f conftest.er1 conftest.err
 
2946
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2947
  test $ac_status = 0; }
 
2948
done
2683
2949
 
2684
 
cat >conftest.$ac_ext <<_ACEOF
2685
 
/* confdefs.h.  */
2686
 
_ACEOF
2687
 
cat confdefs.h >>conftest.$ac_ext
2688
 
cat >>conftest.$ac_ext <<_ACEOF
 
2950
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689
2951
/* end confdefs.h.  */
2690
2952
 
2691
2953
int
2701
2963
# Try to create an executable without -o first, disregard a.out.
2702
2964
# It will help us diagnose broken compilers, and finding out an intuition
2703
2965
# of exeext.
2704
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2705
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
2967
$as_echo_n "checking whether the C compiler works... " >&6; }
2706
2968
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2707
2969
 
2708
2970
# The possible output files:
2718
2980
done
2719
2981
rm -f $ac_rmfiles
2720
2982
 
2721
 
if { (ac_try="$ac_link_default"
 
2983
if { { ac_try="$ac_link_default"
2722
2984
case "(($ac_try" in
2723
2985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724
2986
  *) ac_try_echo=$ac_try;;
2725
2987
esac
2726
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2727
 
$as_echo "$ac_try_echo") >&5
 
2988
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2989
$as_echo "$ac_try_echo"; } >&5
2728
2990
  (eval "$ac_link_default") 2>&5
2729
2991
  ac_status=$?
2730
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731
 
  (exit $ac_status); }; then
 
2992
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2993
  test $ac_status = 0; }; then :
2732
2994
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2733
2995
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2734
2996
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2745
3007
        # certainly right.
2746
3008
        break;;
2747
3009
    *.* )
2748
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3010
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2749
3011
        then :; else
2750
3012
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2751
3013
        fi
2764
3026
else
2765
3027
  ac_file=''
2766
3028
fi
 
3029
if test -z "$ac_file"; then :
 
3030
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3031
$as_echo "no" >&6; }
 
3032
$as_echo "$as_me: failed program was:" >&5
 
3033
sed 's/^/| /' conftest.$ac_ext >&5
2767
3034
 
2768
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3035
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3036
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3037
as_fn_error 77 "C compiler cannot create executables
 
3038
See \`config.log' for more details" "$LINENO" 5; }
 
3039
else
 
3040
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3041
$as_echo "yes" >&6; }
 
3042
fi
 
3043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3044
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2769
3046
$as_echo "$ac_file" >&6; }
2770
 
if test -z "$ac_file"; then
2771
 
  $as_echo "$as_me: failed program was:" >&5
2772
 
sed 's/^/| /' conftest.$ac_ext >&5
2773
 
 
2774
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2775
 
See \`config.log' for more details." >&5
2776
 
$as_echo "$as_me: error: C compiler cannot create executables
2777
 
See \`config.log' for more details." >&2;}
2778
 
   { (exit 77); exit 77; }; }
2779
 
fi
2780
 
 
2781
3047
ac_exeext=$ac_cv_exeext
2782
3048
 
2783
 
# Check that the compiler produces executables we can run.  If not, either
2784
 
# the compiler is broken, or we cross compile.
2785
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2786
 
$as_echo_n "checking whether the C compiler works... " >&6; }
2787
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2788
 
# If not cross compiling, check that we can run a simple program.
2789
 
if test "$cross_compiling" != yes; then
2790
 
  if { ac_try='./$ac_file'
2791
 
  { (case "(($ac_try" in
2792
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793
 
  *) ac_try_echo=$ac_try;;
2794
 
esac
2795
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2796
 
$as_echo "$ac_try_echo") >&5
2797
 
  (eval "$ac_try") 2>&5
2798
 
  ac_status=$?
2799
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800
 
  (exit $ac_status); }; }; then
2801
 
    cross_compiling=no
2802
 
  else
2803
 
    if test "$cross_compiling" = maybe; then
2804
 
        cross_compiling=yes
2805
 
    else
2806
 
        { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2807
 
If you meant to cross compile, use \`--host'.
2808
 
See \`config.log' for more details." >&5
2809
 
$as_echo "$as_me: error: cannot run C compiled programs.
2810
 
If you meant to cross compile, use \`--host'.
2811
 
See \`config.log' for more details." >&2;}
2812
 
   { (exit 1); exit 1; }; }
2813
 
    fi
2814
 
  fi
2815
 
fi
2816
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2817
 
$as_echo "yes" >&6; }
2818
 
 
2819
3049
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2820
3050
ac_clean_files=$ac_clean_files_save
2821
 
# Check that the compiler produces executables we can run.  If not, either
2822
 
# the compiler is broken, or we cross compile.
2823
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2824
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
2825
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2826
 
$as_echo "$cross_compiling" >&6; }
2827
 
 
2828
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2829
3052
$as_echo_n "checking for suffix of executables... " >&6; }
2830
 
if { (ac_try="$ac_link"
 
3053
if { { ac_try="$ac_link"
2831
3054
case "(($ac_try" in
2832
3055
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833
3056
  *) ac_try_echo=$ac_try;;
2834
3057
esac
2835
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2836
 
$as_echo "$ac_try_echo") >&5
 
3058
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3059
$as_echo "$ac_try_echo"; } >&5
2837
3060
  (eval "$ac_link") 2>&5
2838
3061
  ac_status=$?
2839
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840
 
  (exit $ac_status); }; then
 
3062
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3063
  test $ac_status = 0; }; then :
2841
3064
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2842
3065
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2843
3066
# work properly (i.e., refer to `conftest.exe'), while it won't with
2852
3075
  esac
2853
3076
done
2854
3077
else
2855
 
  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2856
 
See \`config.log' for more details." >&5
2857
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2858
 
See \`config.log' for more details." >&2;}
2859
 
   { (exit 1); exit 1; }; }
 
3078
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3079
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3080
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3081
See \`config.log' for more details" "$LINENO" 5; }
2860
3082
fi
2861
 
 
2862
 
rm -f conftest$ac_cv_exeext
2863
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3083
rm -f conftest conftest$ac_cv_exeext
 
3084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2864
3085
$as_echo "$ac_cv_exeext" >&6; }
2865
3086
 
2866
3087
rm -f conftest.$ac_ext
2867
3088
EXEEXT=$ac_cv_exeext
2868
3089
ac_exeext=$EXEEXT
2869
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3090
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3091
/* end confdefs.h.  */
 
3092
#include <stdio.h>
 
3093
int
 
3094
main ()
 
3095
{
 
3096
FILE *f = fopen ("conftest.out", "w");
 
3097
 return ferror (f) || fclose (f) != 0;
 
3098
 
 
3099
  ;
 
3100
  return 0;
 
3101
}
 
3102
_ACEOF
 
3103
ac_clean_files="$ac_clean_files conftest.out"
 
3104
# Check that the compiler produces executables we can run.  If not, either
 
3105
# the compiler is broken, or we cross compile.
 
3106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3107
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3108
if test "$cross_compiling" != yes; then
 
3109
  { { ac_try="$ac_link"
 
3110
case "(($ac_try" in
 
3111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3112
  *) ac_try_echo=$ac_try;;
 
3113
esac
 
3114
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3115
$as_echo "$ac_try_echo"; } >&5
 
3116
  (eval "$ac_link") 2>&5
 
3117
  ac_status=$?
 
3118
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3119
  test $ac_status = 0; }
 
3120
  if { ac_try='./conftest$ac_cv_exeext'
 
3121
  { { case "(($ac_try" in
 
3122
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3123
  *) ac_try_echo=$ac_try;;
 
3124
esac
 
3125
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3126
$as_echo "$ac_try_echo"; } >&5
 
3127
  (eval "$ac_try") 2>&5
 
3128
  ac_status=$?
 
3129
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3130
  test $ac_status = 0; }; }; then
 
3131
    cross_compiling=no
 
3132
  else
 
3133
    if test "$cross_compiling" = maybe; then
 
3134
        cross_compiling=yes
 
3135
    else
 
3136
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3137
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3138
as_fn_error $? "cannot run C compiled programs.
 
3139
If you meant to cross compile, use \`--host'.
 
3140
See \`config.log' for more details" "$LINENO" 5; }
 
3141
    fi
 
3142
  fi
 
3143
fi
 
3144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3145
$as_echo "$cross_compiling" >&6; }
 
3146
 
 
3147
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3148
ac_clean_files=$ac_clean_files_save
 
3149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2870
3150
$as_echo_n "checking for suffix of object files... " >&6; }
2871
 
if test "${ac_cv_objext+set}" = set; then
 
3151
if ${ac_cv_objext+:} false; then :
2872
3152
  $as_echo_n "(cached) " >&6
2873
3153
else
2874
 
  cat >conftest.$ac_ext <<_ACEOF
2875
 
/* confdefs.h.  */
2876
 
_ACEOF
2877
 
cat confdefs.h >>conftest.$ac_ext
2878
 
cat >>conftest.$ac_ext <<_ACEOF
 
3154
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2879
3155
/* end confdefs.h.  */
2880
3156
 
2881
3157
int
2887
3163
}
2888
3164
_ACEOF
2889
3165
rm -f conftest.o conftest.obj
2890
 
if { (ac_try="$ac_compile"
 
3166
if { { ac_try="$ac_compile"
2891
3167
case "(($ac_try" in
2892
3168
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893
3169
  *) ac_try_echo=$ac_try;;
2894
3170
esac
2895
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2896
 
$as_echo "$ac_try_echo") >&5
 
3171
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3172
$as_echo "$ac_try_echo"; } >&5
2897
3173
  (eval "$ac_compile") 2>&5
2898
3174
  ac_status=$?
2899
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900
 
  (exit $ac_status); }; then
 
3175
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3176
  test $ac_status = 0; }; then :
2901
3177
  for ac_file in conftest.o conftest.obj conftest.*; do
2902
3178
  test -f "$ac_file" || continue;
2903
3179
  case $ac_file in
2910
3186
  $as_echo "$as_me: failed program was:" >&5
2911
3187
sed 's/^/| /' conftest.$ac_ext >&5
2912
3188
 
2913
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2914
 
See \`config.log' for more details." >&5
2915
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2916
 
See \`config.log' for more details." >&2;}
2917
 
   { (exit 1); exit 1; }; }
 
3189
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3190
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3191
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3192
See \`config.log' for more details" "$LINENO" 5; }
2918
3193
fi
2919
 
 
2920
3194
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2921
3195
fi
2922
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2923
3197
$as_echo "$ac_cv_objext" >&6; }
2924
3198
OBJEXT=$ac_cv_objext
2925
3199
ac_objext=$OBJEXT
2926
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2927
3201
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2928
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3202
if ${ac_cv_c_compiler_gnu+:} false; then :
2929
3203
  $as_echo_n "(cached) " >&6
2930
3204
else
2931
 
  cat >conftest.$ac_ext <<_ACEOF
2932
 
/* confdefs.h.  */
2933
 
_ACEOF
2934
 
cat confdefs.h >>conftest.$ac_ext
2935
 
cat >>conftest.$ac_ext <<_ACEOF
 
3205
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936
3206
/* end confdefs.h.  */
2937
3207
 
2938
3208
int
2946
3216
  return 0;
2947
3217
}
2948
3218
_ACEOF
2949
 
rm -f conftest.$ac_objext
2950
 
if { (ac_try="$ac_compile"
2951
 
case "(($ac_try" in
2952
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953
 
  *) ac_try_echo=$ac_try;;
2954
 
esac
2955
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2956
 
$as_echo "$ac_try_echo") >&5
2957
 
  (eval "$ac_compile") 2>conftest.er1
2958
 
  ac_status=$?
2959
 
  grep -v '^ *+' conftest.er1 >conftest.err
2960
 
  rm -f conftest.er1
2961
 
  cat conftest.err >&5
2962
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963
 
  (exit $ac_status); } && {
2964
 
         test -z "$ac_c_werror_flag" ||
2965
 
         test ! -s conftest.err
2966
 
       } && test -s conftest.$ac_objext; then
 
3219
if ac_fn_c_try_compile "$LINENO"; then :
2967
3220
  ac_compiler_gnu=yes
2968
3221
else
2969
 
  $as_echo "$as_me: failed program was:" >&5
2970
 
sed 's/^/| /' conftest.$ac_ext >&5
2971
 
 
2972
 
        ac_compiler_gnu=no
 
3222
  ac_compiler_gnu=no
2973
3223
fi
2974
 
 
2975
3224
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976
3225
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2977
3226
 
2978
3227
fi
2979
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2980
3229
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2981
3230
if test $ac_compiler_gnu = yes; then
2982
3231
  GCC=yes
2985
3234
fi
2986
3235
ac_test_CFLAGS=${CFLAGS+set}
2987
3236
ac_save_CFLAGS=$CFLAGS
2988
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2989
3238
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2990
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3239
if ${ac_cv_prog_cc_g+:} false; then :
2991
3240
  $as_echo_n "(cached) " >&6
2992
3241
else
2993
3242
  ac_save_c_werror_flag=$ac_c_werror_flag
2994
3243
   ac_c_werror_flag=yes
2995
3244
   ac_cv_prog_cc_g=no
2996
3245
   CFLAGS="-g"
2997
 
   cat >conftest.$ac_ext <<_ACEOF
2998
 
/* confdefs.h.  */
2999
 
_ACEOF
3000
 
cat confdefs.h >>conftest.$ac_ext
3001
 
cat >>conftest.$ac_ext <<_ACEOF
 
3246
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002
3247
/* end confdefs.h.  */
3003
3248
 
3004
3249
int
3009
3254
  return 0;
3010
3255
}
3011
3256
_ACEOF
3012
 
rm -f conftest.$ac_objext
3013
 
if { (ac_try="$ac_compile"
3014
 
case "(($ac_try" in
3015
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016
 
  *) ac_try_echo=$ac_try;;
3017
 
esac
3018
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3019
 
$as_echo "$ac_try_echo") >&5
3020
 
  (eval "$ac_compile") 2>conftest.er1
3021
 
  ac_status=$?
3022
 
  grep -v '^ *+' conftest.er1 >conftest.err
3023
 
  rm -f conftest.er1
3024
 
  cat conftest.err >&5
3025
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026
 
  (exit $ac_status); } && {
3027
 
         test -z "$ac_c_werror_flag" ||
3028
 
         test ! -s conftest.err
3029
 
       } && test -s conftest.$ac_objext; then
 
3257
if ac_fn_c_try_compile "$LINENO"; then :
3030
3258
  ac_cv_prog_cc_g=yes
3031
3259
else
3032
 
  $as_echo "$as_me: failed program was:" >&5
3033
 
sed 's/^/| /' conftest.$ac_ext >&5
3034
 
 
3035
 
        CFLAGS=""
3036
 
      cat >conftest.$ac_ext <<_ACEOF
3037
 
/* confdefs.h.  */
3038
 
_ACEOF
3039
 
cat confdefs.h >>conftest.$ac_ext
3040
 
cat >>conftest.$ac_ext <<_ACEOF
 
3260
  CFLAGS=""
 
3261
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041
3262
/* end confdefs.h.  */
3042
3263
 
3043
3264
int
3048
3269
  return 0;
3049
3270
}
3050
3271
_ACEOF
3051
 
rm -f conftest.$ac_objext
3052
 
if { (ac_try="$ac_compile"
3053
 
case "(($ac_try" in
3054
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055
 
  *) ac_try_echo=$ac_try;;
3056
 
esac
3057
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3058
 
$as_echo "$ac_try_echo") >&5
3059
 
  (eval "$ac_compile") 2>conftest.er1
3060
 
  ac_status=$?
3061
 
  grep -v '^ *+' conftest.er1 >conftest.err
3062
 
  rm -f conftest.er1
3063
 
  cat conftest.err >&5
3064
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065
 
  (exit $ac_status); } && {
3066
 
         test -z "$ac_c_werror_flag" ||
3067
 
         test ! -s conftest.err
3068
 
       } && test -s conftest.$ac_objext; then
3069
 
  :
 
3272
if ac_fn_c_try_compile "$LINENO"; then :
 
3273
 
3070
3274
else
3071
 
  $as_echo "$as_me: failed program was:" >&5
3072
 
sed 's/^/| /' conftest.$ac_ext >&5
3073
 
 
3074
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3275
  ac_c_werror_flag=$ac_save_c_werror_flag
3075
3276
         CFLAGS="-g"
3076
 
         cat >conftest.$ac_ext <<_ACEOF
3077
 
/* confdefs.h.  */
3078
 
_ACEOF
3079
 
cat confdefs.h >>conftest.$ac_ext
3080
 
cat >>conftest.$ac_ext <<_ACEOF
 
3277
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081
3278
/* end confdefs.h.  */
3082
3279
 
3083
3280
int
3088
3285
  return 0;
3089
3286
}
3090
3287
_ACEOF
3091
 
rm -f conftest.$ac_objext
3092
 
if { (ac_try="$ac_compile"
3093
 
case "(($ac_try" in
3094
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095
 
  *) ac_try_echo=$ac_try;;
3096
 
esac
3097
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3098
 
$as_echo "$ac_try_echo") >&5
3099
 
  (eval "$ac_compile") 2>conftest.er1
3100
 
  ac_status=$?
3101
 
  grep -v '^ *+' conftest.er1 >conftest.err
3102
 
  rm -f conftest.er1
3103
 
  cat conftest.err >&5
3104
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105
 
  (exit $ac_status); } && {
3106
 
         test -z "$ac_c_werror_flag" ||
3107
 
         test ! -s conftest.err
3108
 
       } && test -s conftest.$ac_objext; then
 
3288
if ac_fn_c_try_compile "$LINENO"; then :
3109
3289
  ac_cv_prog_cc_g=yes
3110
 
else
3111
 
  $as_echo "$as_me: failed program was:" >&5
3112
 
sed 's/^/| /' conftest.$ac_ext >&5
3113
 
 
3114
 
 
3115
 
fi
3116
 
 
3117
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3118
 
fi
3119
 
 
3120
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3121
 
fi
3122
 
 
 
3290
fi
 
3291
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3292
fi
 
3293
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3294
fi
3123
3295
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124
3296
   ac_c_werror_flag=$ac_save_c_werror_flag
3125
3297
fi
3126
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3127
3299
$as_echo "$ac_cv_prog_cc_g" >&6; }
3128
3300
if test "$ac_test_CFLAGS" = set; then
3129
3301
  CFLAGS=$ac_save_CFLAGS
3140
3312
    CFLAGS=
3141
3313
  fi
3142
3314
fi
3143
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3144
3316
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3145
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3317
if ${ac_cv_prog_cc_c89+:} false; then :
3146
3318
  $as_echo_n "(cached) " >&6
3147
3319
else
3148
3320
  ac_cv_prog_cc_c89=no
3149
3321
ac_save_CC=$CC
3150
 
cat >conftest.$ac_ext <<_ACEOF
3151
 
/* confdefs.h.  */
3152
 
_ACEOF
3153
 
cat confdefs.h >>conftest.$ac_ext
3154
 
cat >>conftest.$ac_ext <<_ACEOF
 
3322
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3155
3323
/* end confdefs.h.  */
3156
3324
#include <stdarg.h>
3157
3325
#include <stdio.h>
3208
3376
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3209
3377
do
3210
3378
  CC="$ac_save_CC $ac_arg"
3211
 
  rm -f conftest.$ac_objext
3212
 
if { (ac_try="$ac_compile"
3213
 
case "(($ac_try" in
3214
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215
 
  *) ac_try_echo=$ac_try;;
3216
 
esac
3217
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3218
 
$as_echo "$ac_try_echo") >&5
3219
 
  (eval "$ac_compile") 2>conftest.er1
3220
 
  ac_status=$?
3221
 
  grep -v '^ *+' conftest.er1 >conftest.err
3222
 
  rm -f conftest.er1
3223
 
  cat conftest.err >&5
3224
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225
 
  (exit $ac_status); } && {
3226
 
         test -z "$ac_c_werror_flag" ||
3227
 
         test ! -s conftest.err
3228
 
       } && test -s conftest.$ac_objext; then
 
3379
  if ac_fn_c_try_compile "$LINENO"; then :
3229
3380
  ac_cv_prog_cc_c89=$ac_arg
3230
 
else
3231
 
  $as_echo "$as_me: failed program was:" >&5
3232
 
sed 's/^/| /' conftest.$ac_ext >&5
3233
 
 
3234
 
 
3235
3381
fi
3236
 
 
3237
3382
rm -f core conftest.err conftest.$ac_objext
3238
3383
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3239
3384
done
3244
3389
# AC_CACHE_VAL
3245
3390
case "x$ac_cv_prog_cc_c89" in
3246
3391
  x)
3247
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3392
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3248
3393
$as_echo "none needed" >&6; } ;;
3249
3394
  xno)
3250
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3395
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3251
3396
$as_echo "unsupported" >&6; } ;;
3252
3397
  *)
3253
3398
    CC="$CC $ac_cv_prog_cc_c89"
3254
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3399
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3255
3400
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3256
3401
esac
 
3402
if test "x$ac_cv_prog_cc_c89" != xno; then :
3257
3403
 
 
3404
fi
3258
3405
 
3259
3406
ac_ext=c
3260
3407
ac_cpp='$CPP $CPPFLAGS'
3269
3416
am_make=${MAKE-make}
3270
3417
cat > confinc << 'END'
3271
3418
am__doit:
3272
 
        @echo done
 
3419
        @echo this is the am__doit target
3273
3420
.PHONY: am__doit
3274
3421
END
3275
3422
# If we don't find an include directive, just comment out the code.
3276
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3277
3424
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3278
3425
am__include="#"
3279
3426
am__quote=
3280
3427
_am_result=none
3281
3428
# First try GNU make style include.
3282
3429
echo "include confinc" > confmf
3283
 
# We grep out `Entering directory' and `Leaving directory'
3284
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3285
 
# In particular we don't look at `^make:' because GNU make might
3286
 
# be invoked under some other name (usually "gmake"), in which
3287
 
# case it prints its new name instead of `make'.
3288
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3289
 
   am__include=include
3290
 
   am__quote=
3291
 
   _am_result=GNU
3292
 
fi
 
3430
# Ignore all kinds of additional output from `make'.
 
3431
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3432
*the\ am__doit\ target*)
 
3433
  am__include=include
 
3434
  am__quote=
 
3435
  _am_result=GNU
 
3436
  ;;
 
3437
esac
3293
3438
# Now try BSD make style include.
3294
3439
if test "$am__include" = "#"; then
3295
3440
   echo '.include "confinc"' > confmf
3296
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3297
 
      am__include=.include
3298
 
      am__quote="\""
3299
 
      _am_result=BSD
3300
 
   fi
 
3441
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3442
   *the\ am__doit\ target*)
 
3443
     am__include=.include
 
3444
     am__quote="\""
 
3445
     _am_result=BSD
 
3446
     ;;
 
3447
   esac
3301
3448
fi
3302
3449
 
3303
3450
 
3304
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3305
3452
$as_echo "$_am_result" >&6; }
3306
3453
rm -f confinc confmf
3307
3454
 
3308
3455
# Check whether --enable-dependency-tracking was given.
3309
 
if test "${enable_dependency_tracking+set}" = set; then
 
3456
if test "${enable_dependency_tracking+set}" = set; then :
3310
3457
  enableval=$enable_dependency_tracking;
3311
3458
fi
3312
3459
 
3326
3473
 
3327
3474
depcc="$CC"   am_compiler_list=
3328
3475
 
3329
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3330
3477
$as_echo_n "checking dependency style of $depcc... " >&6; }
3331
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3478
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3332
3479
  $as_echo_n "(cached) " >&6
3333
3480
else
3334
3481
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3354
3501
  if test "$am_compiler_list" = ""; then
3355
3502
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3356
3503
  fi
 
3504
  am__universal=false
 
3505
  case " $depcc " in #(
 
3506
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3507
     esac
 
3508
 
3357
3509
  for depmode in $am_compiler_list; do
3358
3510
    # Setup a source with many dependencies, because some compilers
3359
3511
    # like to wrap large dependency lists on column 80 (with \), and
3371
3523
    done
3372
3524
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3373
3525
 
 
3526
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3527
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3528
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3529
    # versions had trouble with output in subdirs
 
3530
    am__obj=sub/conftest.${OBJEXT-o}
 
3531
    am__minus_obj="-o $am__obj"
3374
3532
    case $depmode in
 
3533
    gcc)
 
3534
      # This depmode causes a compiler race in universal mode.
 
3535
      test "$am__universal" = false || continue
 
3536
      ;;
3375
3537
    nosideeffect)
3376
3538
      # after this tag, mechanisms are not by side-effect, so they'll
3377
3539
      # only be used when explicitly requested
3381
3543
        break
3382
3544
      fi
3383
3545
      ;;
 
3546
    msvisualcpp | msvcmsys)
 
3547
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3548
      # not run yet.  These depmodes are late enough in the game, and
 
3549
      # so weak that their functioning should not be impacted.
 
3550
      am__obj=conftest.${OBJEXT-o}
 
3551
      am__minus_obj=
 
3552
      ;;
3384
3553
    none) break ;;
3385
3554
    esac
3386
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3387
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3388
 
    # handle `-M -o', and we need to detect this.
3389
3555
    if depmode=$depmode \
3390
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3556
       source=sub/conftest.c object=$am__obj \
3391
3557
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3392
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3558
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3393
3559
         >/dev/null 2>conftest.err &&
3394
3560
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3395
3561
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3396
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3562
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3397
3563
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3398
3564
      # icc doesn't choke on unknown options, it will just issue warnings
3399
3565
      # or remarks (even with -Werror).  So we grep stderr for any message
3417
3583
fi
3418
3584
 
3419
3585
fi
3420
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3421
3587
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3422
3588
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3423
3589
 
3437
3603
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3438
3604
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3439
3605
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3440
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3441
3607
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3442
3608
# On Suns, sometimes $CPP names a directory.
3443
3609
if test -n "$CPP" && test -d "$CPP"; then
3444
3610
  CPP=
3445
3611
fi
3446
3612
if test -z "$CPP"; then
3447
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3613
  if ${ac_cv_prog_CPP+:} false; then :
3448
3614
  $as_echo_n "(cached) " >&6
3449
3615
else
3450
3616
      # Double quotes because CPP needs to be expanded
3459
3625
  # <limits.h> exists even on freestanding compilers.
3460
3626
  # On the NeXT, cc -E runs the code through the compiler's parser,
3461
3627
  # not just through cpp. "Syntax error" is here to catch this case.
3462
 
  cat >conftest.$ac_ext <<_ACEOF
3463
 
/* confdefs.h.  */
3464
 
_ACEOF
3465
 
cat confdefs.h >>conftest.$ac_ext
3466
 
cat >>conftest.$ac_ext <<_ACEOF
 
3628
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467
3629
/* end confdefs.h.  */
3468
3630
#ifdef __STDC__
3469
3631
# include <limits.h>
3472
3634
#endif
3473
3635
                     Syntax error
3474
3636
_ACEOF
3475
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3476
 
case "(($ac_try" in
3477
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478
 
  *) ac_try_echo=$ac_try;;
3479
 
esac
3480
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3481
 
$as_echo "$ac_try_echo") >&5
3482
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3483
 
  ac_status=$?
3484
 
  grep -v '^ *+' conftest.er1 >conftest.err
3485
 
  rm -f conftest.er1
3486
 
  cat conftest.err >&5
3487
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488
 
  (exit $ac_status); } >/dev/null && {
3489
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3490
 
         test ! -s conftest.err
3491
 
       }; then
3492
 
  :
 
3637
if ac_fn_c_try_cpp "$LINENO"; then :
 
3638
 
3493
3639
else
3494
 
  $as_echo "$as_me: failed program was:" >&5
3495
 
sed 's/^/| /' conftest.$ac_ext >&5
3496
 
 
3497
3640
  # Broken: fails on valid input.
3498
3641
continue
3499
3642
fi
3500
 
 
3501
 
rm -f conftest.err conftest.$ac_ext
 
3643
rm -f conftest.err conftest.i conftest.$ac_ext
3502
3644
 
3503
3645
  # OK, works on sane cases.  Now check whether nonexistent headers
3504
3646
  # can be detected and how.
3505
 
  cat >conftest.$ac_ext <<_ACEOF
3506
 
/* confdefs.h.  */
3507
 
_ACEOF
3508
 
cat confdefs.h >>conftest.$ac_ext
3509
 
cat >>conftest.$ac_ext <<_ACEOF
 
3647
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3510
3648
/* end confdefs.h.  */
3511
3649
#include <ac_nonexistent.h>
3512
3650
_ACEOF
3513
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3514
 
case "(($ac_try" in
3515
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516
 
  *) ac_try_echo=$ac_try;;
3517
 
esac
3518
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3519
 
$as_echo "$ac_try_echo") >&5
3520
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3521
 
  ac_status=$?
3522
 
  grep -v '^ *+' conftest.er1 >conftest.err
3523
 
  rm -f conftest.er1
3524
 
  cat conftest.err >&5
3525
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526
 
  (exit $ac_status); } >/dev/null && {
3527
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3528
 
         test ! -s conftest.err
3529
 
       }; then
 
3651
if ac_fn_c_try_cpp "$LINENO"; then :
3530
3652
  # Broken: success on invalid input.
3531
3653
continue
3532
3654
else
3533
 
  $as_echo "$as_me: failed program was:" >&5
3534
 
sed 's/^/| /' conftest.$ac_ext >&5
3535
 
 
3536
3655
  # Passes both tests.
3537
3656
ac_preproc_ok=:
3538
3657
break
3539
3658
fi
3540
 
 
3541
 
rm -f conftest.err conftest.$ac_ext
 
3659
rm -f conftest.err conftest.i conftest.$ac_ext
3542
3660
 
3543
3661
done
3544
3662
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3545
 
rm -f conftest.err conftest.$ac_ext
3546
 
if $ac_preproc_ok; then
 
3663
rm -f conftest.i conftest.err conftest.$ac_ext
 
3664
if $ac_preproc_ok; then :
3547
3665
  break
3548
3666
fi
3549
3667
 
3555
3673
else
3556
3674
  ac_cv_prog_CPP=$CPP
3557
3675
fi
3558
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3559
3677
$as_echo "$CPP" >&6; }
3560
3678
ac_preproc_ok=false
3561
3679
for ac_c_preproc_warn_flag in '' yes
3566
3684
  # <limits.h> exists even on freestanding compilers.
3567
3685
  # On the NeXT, cc -E runs the code through the compiler's parser,
3568
3686
  # not just through cpp. "Syntax error" is here to catch this case.
3569
 
  cat >conftest.$ac_ext <<_ACEOF
3570
 
/* confdefs.h.  */
3571
 
_ACEOF
3572
 
cat confdefs.h >>conftest.$ac_ext
3573
 
cat >>conftest.$ac_ext <<_ACEOF
 
3687
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574
3688
/* end confdefs.h.  */
3575
3689
#ifdef __STDC__
3576
3690
# include <limits.h>
3579
3693
#endif
3580
3694
                     Syntax error
3581
3695
_ACEOF
3582
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3583
 
case "(($ac_try" in
3584
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3585
 
  *) ac_try_echo=$ac_try;;
3586
 
esac
3587
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3588
 
$as_echo "$ac_try_echo") >&5
3589
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3590
 
  ac_status=$?
3591
 
  grep -v '^ *+' conftest.er1 >conftest.err
3592
 
  rm -f conftest.er1
3593
 
  cat conftest.err >&5
3594
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595
 
  (exit $ac_status); } >/dev/null && {
3596
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3597
 
         test ! -s conftest.err
3598
 
       }; then
3599
 
  :
 
3696
if ac_fn_c_try_cpp "$LINENO"; then :
 
3697
 
3600
3698
else
3601
 
  $as_echo "$as_me: failed program was:" >&5
3602
 
sed 's/^/| /' conftest.$ac_ext >&5
3603
 
 
3604
3699
  # Broken: fails on valid input.
3605
3700
continue
3606
3701
fi
3607
 
 
3608
 
rm -f conftest.err conftest.$ac_ext
 
3702
rm -f conftest.err conftest.i conftest.$ac_ext
3609
3703
 
3610
3704
  # OK, works on sane cases.  Now check whether nonexistent headers
3611
3705
  # can be detected and how.
3612
 
  cat >conftest.$ac_ext <<_ACEOF
3613
 
/* confdefs.h.  */
3614
 
_ACEOF
3615
 
cat confdefs.h >>conftest.$ac_ext
3616
 
cat >>conftest.$ac_ext <<_ACEOF
 
3706
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3617
3707
/* end confdefs.h.  */
3618
3708
#include <ac_nonexistent.h>
3619
3709
_ACEOF
3620
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3621
 
case "(($ac_try" in
3622
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3623
 
  *) ac_try_echo=$ac_try;;
3624
 
esac
3625
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3626
 
$as_echo "$ac_try_echo") >&5
3627
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3628
 
  ac_status=$?
3629
 
  grep -v '^ *+' conftest.er1 >conftest.err
3630
 
  rm -f conftest.er1
3631
 
  cat conftest.err >&5
3632
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633
 
  (exit $ac_status); } >/dev/null && {
3634
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3635
 
         test ! -s conftest.err
3636
 
       }; then
 
3710
if ac_fn_c_try_cpp "$LINENO"; then :
3637
3711
  # Broken: success on invalid input.
3638
3712
continue
3639
3713
else
3640
 
  $as_echo "$as_me: failed program was:" >&5
3641
 
sed 's/^/| /' conftest.$ac_ext >&5
3642
 
 
3643
3714
  # Passes both tests.
3644
3715
ac_preproc_ok=:
3645
3716
break
3646
3717
fi
3647
 
 
3648
 
rm -f conftest.err conftest.$ac_ext
 
3718
rm -f conftest.err conftest.i conftest.$ac_ext
3649
3719
 
3650
3720
done
3651
3721
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3652
 
rm -f conftest.err conftest.$ac_ext
3653
 
if $ac_preproc_ok; then
3654
 
  :
 
3722
rm -f conftest.i conftest.err conftest.$ac_ext
 
3723
if $ac_preproc_ok; then :
 
3724
 
3655
3725
else
3656
 
  { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3657
 
See \`config.log' for more details." >&5
3658
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3659
 
See \`config.log' for more details." >&2;}
3660
 
   { (exit 1); exit 1; }; }
 
3726
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3727
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3728
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
3729
See \`config.log' for more details" "$LINENO" 5; }
3661
3730
fi
3662
3731
 
3663
3732
ac_ext=c
3668
3737
 
3669
3738
 
3670
3739
 
3671
 
cat >conftest.$ac_ext <<_ACEOF
3672
 
/* confdefs.h.  */
3673
 
_ACEOF
3674
 
cat confdefs.h >>conftest.$ac_ext
3675
 
cat >>conftest.$ac_ext <<_ACEOF
 
3740
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676
3741
/* end confdefs.h.  */
3677
3742
int main()
3678
3743
  {
3687
3752
  return 0;
3688
3753
}
3689
3754
_ACEOF
3690
 
rm -f conftest.$ac_objext
3691
 
if { (ac_try="$ac_compile"
3692
 
case "(($ac_try" in
3693
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694
 
  *) ac_try_echo=$ac_try;;
3695
 
esac
3696
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3697
 
$as_echo "$ac_try_echo") >&5
3698
 
  (eval "$ac_compile") 2>conftest.er1
3699
 
  ac_status=$?
3700
 
  grep -v '^ *+' conftest.er1 >conftest.err
3701
 
  rm -f conftest.er1
3702
 
  cat conftest.err >&5
3703
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704
 
  (exit $ac_status); } && {
3705
 
         test -z "$ac_c_werror_flag" ||
3706
 
         test ! -s conftest.err
3707
 
       } && test -s conftest.$ac_objext; then
3708
 
  :
3709
 
else
3710
 
  $as_echo "$as_me: failed program was:" >&5
3711
 
sed 's/^/| /' conftest.$ac_ext >&5
3712
 
 
 
3755
if ac_fn_c_try_compile "$LINENO"; then :
3713
3756
 
3714
3757
fi
3715
 
 
3716
3758
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3717
3759
 
3718
3760
SPARCV9=""
3729
3771
                rel=`uname -r`
3730
3772
                case $rel in
3731
3773
                         5.10|5.11)
3732
 
cat >>confdefs.h <<\_ACEOF
3733
 
#define HAVE_NEW_SEAM_KERBEROS 1
3734
 
_ACEOF
 
3774
$as_echo "#define HAVE_NEW_SEAM_KERBEROS 1" >>confdefs.h
3735
3775
 
3736
3776
                           ;;
3737
3777
                        *) ;;
3756
3796
           fi
3757
3797
       fi
3758
3798
 
3759
 
cat >>confdefs.h <<\_ACEOF
3760
 
#define HAVE_MIT_KERBEROS 1
3761
 
_ACEOF
 
3799
$as_echo "#define HAVE_MIT_KERBEROS 1" >>confdefs.h
3762
3800
 
3763
3801
       ac_gss_libs="resolv com_err des425 k5crypto krb5 gssapi_krb5"
3764
3802
       ac_includedir=""
3780
3818
                         fi
3781
3819
                       fi
3782
3820
 
3783
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3784
3822
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3785
 
if test "${ac_cv_path_GREP+set}" = set; then
 
3823
if ${ac_cv_path_GREP+:} false; then :
3786
3824
  $as_echo_n "(cached) " >&6
3787
3825
else
3788
3826
  if test -z "$GREP"; then
3793
3831
do
3794
3832
  IFS=$as_save_IFS
3795
3833
  test -z "$as_dir" && as_dir=.
3796
 
  for ac_prog in grep ggrep; do
 
3834
    for ac_prog in grep ggrep; do
3797
3835
    for ac_exec_ext in '' $ac_executable_extensions; do
3798
3836
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3799
3837
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3813
3851
    $as_echo 'GREP' >> "conftest.nl"
3814
3852
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3815
3853
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3816
 
    ac_count=`expr $ac_count + 1`
 
3854
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3817
3855
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3818
3856
      # Best one so far, save it but keep looking for a better one
3819
3857
      ac_cv_path_GREP="$ac_path_GREP"
3828
3866
      $ac_path_GREP_found && break 3
3829
3867
    done
3830
3868
  done
3831
 
done
 
3869
  done
3832
3870
IFS=$as_save_IFS
3833
3871
  if test -z "$ac_cv_path_GREP"; then
3834
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3835
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3836
 
   { (exit 1); exit 1; }; }
 
3872
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3837
3873
  fi
3838
3874
else
3839
3875
  ac_cv_path_GREP=$GREP
3840
3876
fi
3841
3877
 
3842
3878
fi
3843
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3844
3880
$as_echo "$ac_cv_path_GREP" >&6; }
3845
3881
 GREP="$ac_cv_path_GREP"
3846
3882
 
3847
3883
 
3848
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3849
3885
$as_echo_n "checking for egrep... " >&6; }
3850
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
3886
if ${ac_cv_path_EGREP+:} false; then :
3851
3887
  $as_echo_n "(cached) " >&6
3852
3888
else
3853
3889
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3861
3897
do
3862
3898
  IFS=$as_save_IFS
3863
3899
  test -z "$as_dir" && as_dir=.
3864
 
  for ac_prog in egrep; do
 
3900
    for ac_prog in egrep; do
3865
3901
    for ac_exec_ext in '' $ac_executable_extensions; do
3866
3902
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3867
3903
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3881
3917
    $as_echo 'EGREP' >> "conftest.nl"
3882
3918
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3883
3919
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3884
 
    ac_count=`expr $ac_count + 1`
 
3920
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3885
3921
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3886
3922
      # Best one so far, save it but keep looking for a better one
3887
3923
      ac_cv_path_EGREP="$ac_path_EGREP"
3896
3932
      $ac_path_EGREP_found && break 3
3897
3933
    done
3898
3934
  done
3899
 
done
 
3935
  done
3900
3936
IFS=$as_save_IFS
3901
3937
  if test -z "$ac_cv_path_EGREP"; then
3902
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3903
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3904
 
   { (exit 1); exit 1; }; }
 
3938
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3905
3939
  fi
3906
3940
else
3907
3941
  ac_cv_path_EGREP=$EGREP
3909
3943
 
3910
3944
   fi
3911
3945
fi
3912
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3913
3947
$as_echo "$ac_cv_path_EGREP" >&6; }
3914
3948
 EGREP="$ac_cv_path_EGREP"
3915
3949
 
3916
3950
 
3917
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3918
3952
$as_echo_n "checking for ANSI C header files... " >&6; }
3919
 
if test "${ac_cv_header_stdc+set}" = set; then
 
3953
if ${ac_cv_header_stdc+:} false; then :
3920
3954
  $as_echo_n "(cached) " >&6
3921
3955
else
3922
 
  cat >conftest.$ac_ext <<_ACEOF
3923
 
/* confdefs.h.  */
3924
 
_ACEOF
3925
 
cat confdefs.h >>conftest.$ac_ext
3926
 
cat >>conftest.$ac_ext <<_ACEOF
 
3956
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927
3957
/* end confdefs.h.  */
3928
3958
#include <stdlib.h>
3929
3959
#include <stdarg.h>
3938
3968
  return 0;
3939
3969
}
3940
3970
_ACEOF
3941
 
rm -f conftest.$ac_objext
3942
 
if { (ac_try="$ac_compile"
3943
 
case "(($ac_try" in
3944
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3945
 
  *) ac_try_echo=$ac_try;;
3946
 
esac
3947
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3948
 
$as_echo "$ac_try_echo") >&5
3949
 
  (eval "$ac_compile") 2>conftest.er1
3950
 
  ac_status=$?
3951
 
  grep -v '^ *+' conftest.er1 >conftest.err
3952
 
  rm -f conftest.er1
3953
 
  cat conftest.err >&5
3954
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955
 
  (exit $ac_status); } && {
3956
 
         test -z "$ac_c_werror_flag" ||
3957
 
         test ! -s conftest.err
3958
 
       } && test -s conftest.$ac_objext; then
 
3971
if ac_fn_c_try_compile "$LINENO"; then :
3959
3972
  ac_cv_header_stdc=yes
3960
3973
else
3961
 
  $as_echo "$as_me: failed program was:" >&5
3962
 
sed 's/^/| /' conftest.$ac_ext >&5
3963
 
 
3964
 
        ac_cv_header_stdc=no
 
3974
  ac_cv_header_stdc=no
3965
3975
fi
3966
 
 
3967
3976
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3968
3977
 
3969
3978
if test $ac_cv_header_stdc = yes; then
3970
3979
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3971
 
  cat >conftest.$ac_ext <<_ACEOF
3972
 
/* confdefs.h.  */
3973
 
_ACEOF
3974
 
cat confdefs.h >>conftest.$ac_ext
3975
 
cat >>conftest.$ac_ext <<_ACEOF
 
3980
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976
3981
/* end confdefs.h.  */
3977
3982
#include <string.h>
3978
3983
 
3979
3984
_ACEOF
3980
3985
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3981
 
  $EGREP "memchr" >/dev/null 2>&1; then
3982
 
  :
 
3986
  $EGREP "memchr" >/dev/null 2>&1; then :
 
3987
 
3983
3988
else
3984
3989
  ac_cv_header_stdc=no
3985
3990
fi
3989
3994
 
3990
3995
if test $ac_cv_header_stdc = yes; then
3991
3996
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3992
 
  cat >conftest.$ac_ext <<_ACEOF
3993
 
/* confdefs.h.  */
3994
 
_ACEOF
3995
 
cat confdefs.h >>conftest.$ac_ext
3996
 
cat >>conftest.$ac_ext <<_ACEOF
 
3997
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3997
3998
/* end confdefs.h.  */
3998
3999
#include <stdlib.h>
3999
4000
 
4000
4001
_ACEOF
4001
4002
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4002
 
  $EGREP "free" >/dev/null 2>&1; then
4003
 
  :
 
4003
  $EGREP "free" >/dev/null 2>&1; then :
 
4004
 
4004
4005
else
4005
4006
  ac_cv_header_stdc=no
4006
4007
fi
4010
4011
 
4011
4012
if test $ac_cv_header_stdc = yes; then
4012
4013
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4013
 
  if test "$cross_compiling" = yes; then
 
4014
  if test "$cross_compiling" = yes; then :
4014
4015
  :
4015
4016
else
4016
 
  cat >conftest.$ac_ext <<_ACEOF
4017
 
/* confdefs.h.  */
4018
 
_ACEOF
4019
 
cat confdefs.h >>conftest.$ac_ext
4020
 
cat >>conftest.$ac_ext <<_ACEOF
 
4017
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021
4018
/* end confdefs.h.  */
4022
4019
#include <ctype.h>
4023
4020
#include <stdlib.h>
4044
4041
  return 0;
4045
4042
}
4046
4043
_ACEOF
4047
 
rm -f conftest$ac_exeext
4048
 
if { (ac_try="$ac_link"
4049
 
case "(($ac_try" in
4050
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051
 
  *) ac_try_echo=$ac_try;;
4052
 
esac
4053
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4054
 
$as_echo "$ac_try_echo") >&5
4055
 
  (eval "$ac_link") 2>&5
4056
 
  ac_status=$?
4057
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4059
 
  { (case "(($ac_try" in
4060
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061
 
  *) ac_try_echo=$ac_try;;
4062
 
esac
4063
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4064
 
$as_echo "$ac_try_echo") >&5
4065
 
  (eval "$ac_try") 2>&5
4066
 
  ac_status=$?
4067
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068
 
  (exit $ac_status); }; }; then
4069
 
  :
 
4044
if ac_fn_c_try_run "$LINENO"; then :
 
4045
 
4070
4046
else
4071
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4072
 
$as_echo "$as_me: failed program was:" >&5
4073
 
sed 's/^/| /' conftest.$ac_ext >&5
4074
 
 
4075
 
( exit $ac_status )
4076
 
ac_cv_header_stdc=no
4077
 
fi
4078
 
rm -rf conftest.dSYM
4079
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4080
 
fi
4081
 
 
4082
 
 
4083
 
fi
4084
 
fi
4085
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4047
  ac_cv_header_stdc=no
 
4048
fi
 
4049
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4050
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4051
fi
 
4052
 
 
4053
fi
 
4054
fi
 
4055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4086
4056
$as_echo "$ac_cv_header_stdc" >&6; }
4087
4057
if test $ac_cv_header_stdc = yes; then
4088
4058
 
4089
 
cat >>confdefs.h <<\_ACEOF
4090
 
#define STDC_HEADERS 1
4091
 
_ACEOF
 
4059
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4092
4060
 
4093
4061
fi
4094
4062
 
4095
4063
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4096
 
 
4097
 
 
4098
 
 
4099
 
 
4100
 
 
4101
 
 
4102
 
 
4103
 
 
4104
 
 
4105
4064
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4106
4065
                  inttypes.h stdint.h unistd.h
4107
 
do
4108
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4109
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4110
 
$as_echo_n "checking for $ac_header... " >&6; }
4111
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4112
 
  $as_echo_n "(cached) " >&6
4113
 
else
4114
 
  cat >conftest.$ac_ext <<_ACEOF
4115
 
/* confdefs.h.  */
4116
 
_ACEOF
4117
 
cat confdefs.h >>conftest.$ac_ext
4118
 
cat >>conftest.$ac_ext <<_ACEOF
4119
 
/* end confdefs.h.  */
4120
 
$ac_includes_default
4121
 
 
4122
 
#include <$ac_header>
4123
 
_ACEOF
4124
 
rm -f conftest.$ac_objext
4125
 
if { (ac_try="$ac_compile"
4126
 
case "(($ac_try" in
4127
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128
 
  *) ac_try_echo=$ac_try;;
4129
 
esac
4130
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4131
 
$as_echo "$ac_try_echo") >&5
4132
 
  (eval "$ac_compile") 2>conftest.er1
4133
 
  ac_status=$?
4134
 
  grep -v '^ *+' conftest.er1 >conftest.err
4135
 
  rm -f conftest.er1
4136
 
  cat conftest.err >&5
4137
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138
 
  (exit $ac_status); } && {
4139
 
         test -z "$ac_c_werror_flag" ||
4140
 
         test ! -s conftest.err
4141
 
       } && test -s conftest.$ac_objext; then
4142
 
  eval "$as_ac_Header=yes"
4143
 
else
4144
 
  $as_echo "$as_me: failed program was:" >&5
4145
 
sed 's/^/| /' conftest.$ac_ext >&5
4146
 
 
4147
 
        eval "$as_ac_Header=no"
4148
 
fi
4149
 
 
4150
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151
 
fi
4152
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4153
 
                 $as_echo "$as_val"'`
4154
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4155
 
$as_echo "$ac_res" >&6; }
4156
 
if test `eval 'as_val=${'$as_ac_Header'}
4157
 
                 $as_echo "$as_val"'` = yes; then
 
4066
do :
 
4067
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4068
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4069
"
 
4070
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4158
4071
  cat >>confdefs.h <<_ACEOF
4159
4072
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4160
4073
_ACEOF
4164
4077
done
4165
4078
 
4166
4079
 
4167
 
 
4168
 
 
4169
 
 
4170
 
 
4171
4080
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
4172
 
do
4173
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4174
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4175
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4176
 
$as_echo_n "checking for $ac_header... " >&6; }
4177
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4178
 
  $as_echo_n "(cached) " >&6
4179
 
fi
4180
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4181
 
                 $as_echo "$as_val"'`
4182
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4183
 
$as_echo "$ac_res" >&6; }
4184
 
else
4185
 
  # Is the header compilable?
4186
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4187
 
$as_echo_n "checking $ac_header usability... " >&6; }
4188
 
cat >conftest.$ac_ext <<_ACEOF
4189
 
/* confdefs.h.  */
4190
 
_ACEOF
4191
 
cat confdefs.h >>conftest.$ac_ext
4192
 
cat >>conftest.$ac_ext <<_ACEOF
4193
 
/* end confdefs.h.  */
4194
 
$ac_includes_default
4195
 
#include <$ac_header>
4196
 
_ACEOF
4197
 
rm -f conftest.$ac_objext
4198
 
if { (ac_try="$ac_compile"
4199
 
case "(($ac_try" in
4200
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201
 
  *) ac_try_echo=$ac_try;;
4202
 
esac
4203
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4204
 
$as_echo "$ac_try_echo") >&5
4205
 
  (eval "$ac_compile") 2>conftest.er1
4206
 
  ac_status=$?
4207
 
  grep -v '^ *+' conftest.er1 >conftest.err
4208
 
  rm -f conftest.er1
4209
 
  cat conftest.err >&5
4210
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211
 
  (exit $ac_status); } && {
4212
 
         test -z "$ac_c_werror_flag" ||
4213
 
         test ! -s conftest.err
4214
 
       } && test -s conftest.$ac_objext; then
4215
 
  ac_header_compiler=yes
4216
 
else
4217
 
  $as_echo "$as_me: failed program was:" >&5
4218
 
sed 's/^/| /' conftest.$ac_ext >&5
4219
 
 
4220
 
        ac_header_compiler=no
4221
 
fi
4222
 
 
4223
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4225
 
$as_echo "$ac_header_compiler" >&6; }
4226
 
 
4227
 
# Is the header present?
4228
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4229
 
$as_echo_n "checking $ac_header presence... " >&6; }
4230
 
cat >conftest.$ac_ext <<_ACEOF
4231
 
/* confdefs.h.  */
4232
 
_ACEOF
4233
 
cat confdefs.h >>conftest.$ac_ext
4234
 
cat >>conftest.$ac_ext <<_ACEOF
4235
 
/* end confdefs.h.  */
4236
 
#include <$ac_header>
4237
 
_ACEOF
4238
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4239
 
case "(($ac_try" in
4240
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4241
 
  *) ac_try_echo=$ac_try;;
4242
 
esac
4243
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4244
 
$as_echo "$ac_try_echo") >&5
4245
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4246
 
  ac_status=$?
4247
 
  grep -v '^ *+' conftest.er1 >conftest.err
4248
 
  rm -f conftest.er1
4249
 
  cat conftest.err >&5
4250
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251
 
  (exit $ac_status); } >/dev/null && {
4252
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4253
 
         test ! -s conftest.err
4254
 
       }; then
4255
 
  ac_header_preproc=yes
4256
 
else
4257
 
  $as_echo "$as_me: failed program was:" >&5
4258
 
sed 's/^/| /' conftest.$ac_ext >&5
4259
 
 
4260
 
  ac_header_preproc=no
4261
 
fi
4262
 
 
4263
 
rm -f conftest.err conftest.$ac_ext
4264
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4265
 
$as_echo "$ac_header_preproc" >&6; }
4266
 
 
4267
 
# So?  What about this header?
4268
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4269
 
  yes:no: )
4270
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4271
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4272
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4273
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4274
 
    ac_header_preproc=yes
4275
 
    ;;
4276
 
  no:yes:* )
4277
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4278
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4279
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4280
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4281
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4282
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4283
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4284
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4285
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4286
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4287
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4288
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4289
 
    ( cat <<\_ASBOX
4290
 
## -------------------------------------------- ##
4291
 
## Report this to markus_moeller@compuserve.com ##
4292
 
## -------------------------------------------- ##
4293
 
_ASBOX
4294
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4295
 
    ;;
4296
 
esac
4297
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4298
 
$as_echo_n "checking for $ac_header... " >&6; }
4299
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4300
 
  $as_echo_n "(cached) " >&6
4301
 
else
4302
 
  eval "$as_ac_Header=\$ac_header_preproc"
4303
 
fi
4304
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4305
 
                 $as_echo "$as_val"'`
4306
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4307
 
$as_echo "$ac_res" >&6; }
4308
 
 
4309
 
fi
4310
 
if test `eval 'as_val=${'$as_ac_Header'}
4311
 
                 $as_echo "$as_val"'` = yes; then
 
4081
do :
 
4082
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4083
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
4084
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4312
4085
  cat >>confdefs.h <<_ACEOF
4313
4086
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4314
4087
_ACEOF
4320
4093
                       if test "x$ac_libdir" != "x" ; then
4321
4094
                         LDFLAGS="$LDFLAGS -L$ac_libdir $w_flag$ac_libdir$w_flag_2"
4322
4095
                         for lib in $ac_gss_libs; do
4323
 
 
4324
 
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
4325
 
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4096
                           as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$lib" >&5
4326
4098
$as_echo_n "checking for main in -l$lib... " >&6; }
4327
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4099
if eval \${$as_ac_Lib+:} false; then :
4328
4100
  $as_echo_n "(cached) " >&6
4329
4101
else
4330
4102
  ac_check_lib_save_LIBS=$LIBS
4331
4103
LIBS="-l$lib  $LIBS"
4332
 
cat >conftest.$ac_ext <<_ACEOF
4333
 
/* confdefs.h.  */
4334
 
_ACEOF
4335
 
cat confdefs.h >>conftest.$ac_ext
4336
 
cat >>conftest.$ac_ext <<_ACEOF
 
4104
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337
4105
/* end confdefs.h.  */
4338
4106
 
4339
4107
 
4345
4113
  return 0;
4346
4114
}
4347
4115
_ACEOF
4348
 
rm -f conftest.$ac_objext conftest$ac_exeext
4349
 
if { (ac_try="$ac_link"
4350
 
case "(($ac_try" in
4351
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352
 
  *) ac_try_echo=$ac_try;;
4353
 
esac
4354
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4355
 
$as_echo "$ac_try_echo") >&5
4356
 
  (eval "$ac_link") 2>conftest.er1
4357
 
  ac_status=$?
4358
 
  grep -v '^ *+' conftest.er1 >conftest.err
4359
 
  rm -f conftest.er1
4360
 
  cat conftest.err >&5
4361
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362
 
  (exit $ac_status); } && {
4363
 
         test -z "$ac_c_werror_flag" ||
4364
 
         test ! -s conftest.err
4365
 
       } && test -s conftest$ac_exeext && {
4366
 
         test "$cross_compiling" = yes ||
4367
 
         $as_test_x conftest$ac_exeext
4368
 
       }; then
 
4116
if ac_fn_c_try_link "$LINENO"; then :
4369
4117
  eval "$as_ac_Lib=yes"
4370
4118
else
4371
 
  $as_echo "$as_me: failed program was:" >&5
4372
 
sed 's/^/| /' conftest.$ac_ext >&5
4373
 
 
4374
 
        eval "$as_ac_Lib=no"
 
4119
  eval "$as_ac_Lib=no"
4375
4120
fi
4376
 
 
4377
 
rm -rf conftest.dSYM
4378
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4379
 
      conftest$ac_exeext conftest.$ac_ext
 
4121
rm -f core conftest.err conftest.$ac_objext \
 
4122
    conftest$ac_exeext conftest.$ac_ext
4380
4123
LIBS=$ac_check_lib_save_LIBS
4381
4124
fi
4382
 
ac_res=`eval 'as_val=${'$as_ac_Lib'}
4383
 
                 $as_echo "$as_val"'`
4384
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4125
eval ac_res=\$$as_ac_Lib
 
4126
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4385
4127
$as_echo "$ac_res" >&6; }
4386
 
if test `eval 'as_val=${'$as_ac_Lib'}
4387
 
                 $as_echo "$as_val"'` = yes; then
 
4128
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
4388
4129
  cat >>confdefs.h <<_ACEOF
4389
4130
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
4390
4131
_ACEOF
4400
4141
                           LDFLAGS="$LDFLAGS $ac_gssapi_libs"
4401
4142
                         else
4402
4143
                           for lib in $ac_gss_libs; do
4403
 
 
4404
 
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
4405
 
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4144
                             as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$lib" >&5
4406
4146
$as_echo_n "checking for main in -l$lib... " >&6; }
4407
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4147
if eval \${$as_ac_Lib+:} false; then :
4408
4148
  $as_echo_n "(cached) " >&6
4409
4149
else
4410
4150
  ac_check_lib_save_LIBS=$LIBS
4411
4151
LIBS="-l$lib  $LIBS"
4412
 
cat >conftest.$ac_ext <<_ACEOF
4413
 
/* confdefs.h.  */
4414
 
_ACEOF
4415
 
cat confdefs.h >>conftest.$ac_ext
4416
 
cat >>conftest.$ac_ext <<_ACEOF
 
4152
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4417
4153
/* end confdefs.h.  */
4418
4154
 
4419
4155
 
4425
4161
  return 0;
4426
4162
}
4427
4163
_ACEOF
4428
 
rm -f conftest.$ac_objext conftest$ac_exeext
4429
 
if { (ac_try="$ac_link"
4430
 
case "(($ac_try" in
4431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4432
 
  *) ac_try_echo=$ac_try;;
4433
 
esac
4434
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4435
 
$as_echo "$ac_try_echo") >&5
4436
 
  (eval "$ac_link") 2>conftest.er1
4437
 
  ac_status=$?
4438
 
  grep -v '^ *+' conftest.er1 >conftest.err
4439
 
  rm -f conftest.er1
4440
 
  cat conftest.err >&5
4441
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442
 
  (exit $ac_status); } && {
4443
 
         test -z "$ac_c_werror_flag" ||
4444
 
         test ! -s conftest.err
4445
 
       } && test -s conftest$ac_exeext && {
4446
 
         test "$cross_compiling" = yes ||
4447
 
         $as_test_x conftest$ac_exeext
4448
 
       }; then
 
4164
if ac_fn_c_try_link "$LINENO"; then :
4449
4165
  eval "$as_ac_Lib=yes"
4450
4166
else
4451
 
  $as_echo "$as_me: failed program was:" >&5
4452
 
sed 's/^/| /' conftest.$ac_ext >&5
4453
 
 
4454
 
        eval "$as_ac_Lib=no"
 
4167
  eval "$as_ac_Lib=no"
4455
4168
fi
4456
 
 
4457
 
rm -rf conftest.dSYM
4458
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4459
 
      conftest$ac_exeext conftest.$ac_ext
 
4169
rm -f core conftest.err conftest.$ac_objext \
 
4170
    conftest$ac_exeext conftest.$ac_ext
4460
4171
LIBS=$ac_check_lib_save_LIBS
4461
4172
fi
4462
 
ac_res=`eval 'as_val=${'$as_ac_Lib'}
4463
 
                 $as_echo "$as_val"'`
4464
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4173
eval ac_res=\$$as_ac_Lib
 
4174
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4465
4175
$as_echo "$ac_res" >&6; }
4466
 
if test `eval 'as_val=${'$as_ac_Lib'}
4467
 
                 $as_echo "$as_val"'` = yes; then
 
4176
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
4468
4177
  cat >>confdefs.h <<_ACEOF
4469
4178
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
4470
4179
_ACEOF
4481
4190
                     ac_libdir=$enableval/lib
4482
4191
                     ac_includedir=$enableval/include
4483
4192
                     CPPFLAGS="$CPPFLAGS -I$ac_includedir"
4484
 
 
4485
 
 
4486
 
 
4487
 
 
4488
 
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
4489
 
do
4490
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4491
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4492
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4493
 
$as_echo_n "checking for $ac_header... " >&6; }
4494
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4495
 
  $as_echo_n "(cached) " >&6
4496
 
fi
4497
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4498
 
                 $as_echo "$as_val"'`
4499
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4500
 
$as_echo "$ac_res" >&6; }
4501
 
else
4502
 
  # Is the header compilable?
4503
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4504
 
$as_echo_n "checking $ac_header usability... " >&6; }
4505
 
cat >conftest.$ac_ext <<_ACEOF
4506
 
/* confdefs.h.  */
4507
 
_ACEOF
4508
 
cat confdefs.h >>conftest.$ac_ext
4509
 
cat >>conftest.$ac_ext <<_ACEOF
4510
 
/* end confdefs.h.  */
4511
 
$ac_includes_default
4512
 
#include <$ac_header>
4513
 
_ACEOF
4514
 
rm -f conftest.$ac_objext
4515
 
if { (ac_try="$ac_compile"
4516
 
case "(($ac_try" in
4517
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4518
 
  *) ac_try_echo=$ac_try;;
4519
 
esac
4520
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4521
 
$as_echo "$ac_try_echo") >&5
4522
 
  (eval "$ac_compile") 2>conftest.er1
4523
 
  ac_status=$?
4524
 
  grep -v '^ *+' conftest.er1 >conftest.err
4525
 
  rm -f conftest.er1
4526
 
  cat conftest.err >&5
4527
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528
 
  (exit $ac_status); } && {
4529
 
         test -z "$ac_c_werror_flag" ||
4530
 
         test ! -s conftest.err
4531
 
       } && test -s conftest.$ac_objext; then
4532
 
  ac_header_compiler=yes
4533
 
else
4534
 
  $as_echo "$as_me: failed program was:" >&5
4535
 
sed 's/^/| /' conftest.$ac_ext >&5
4536
 
 
4537
 
        ac_header_compiler=no
4538
 
fi
4539
 
 
4540
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4541
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4542
 
$as_echo "$ac_header_compiler" >&6; }
4543
 
 
4544
 
# Is the header present?
4545
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4546
 
$as_echo_n "checking $ac_header presence... " >&6; }
4547
 
cat >conftest.$ac_ext <<_ACEOF
4548
 
/* confdefs.h.  */
4549
 
_ACEOF
4550
 
cat confdefs.h >>conftest.$ac_ext
4551
 
cat >>conftest.$ac_ext <<_ACEOF
4552
 
/* end confdefs.h.  */
4553
 
#include <$ac_header>
4554
 
_ACEOF
4555
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4556
 
case "(($ac_try" in
4557
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4558
 
  *) ac_try_echo=$ac_try;;
4559
 
esac
4560
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4561
 
$as_echo "$ac_try_echo") >&5
4562
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4563
 
  ac_status=$?
4564
 
  grep -v '^ *+' conftest.er1 >conftest.err
4565
 
  rm -f conftest.er1
4566
 
  cat conftest.err >&5
4567
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568
 
  (exit $ac_status); } >/dev/null && {
4569
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4570
 
         test ! -s conftest.err
4571
 
       }; then
4572
 
  ac_header_preproc=yes
4573
 
else
4574
 
  $as_echo "$as_me: failed program was:" >&5
4575
 
sed 's/^/| /' conftest.$ac_ext >&5
4576
 
 
4577
 
  ac_header_preproc=no
4578
 
fi
4579
 
 
4580
 
rm -f conftest.err conftest.$ac_ext
4581
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4582
 
$as_echo "$ac_header_preproc" >&6; }
4583
 
 
4584
 
# So?  What about this header?
4585
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4586
 
  yes:no: )
4587
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4588
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4589
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4590
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4591
 
    ac_header_preproc=yes
4592
 
    ;;
4593
 
  no:yes:* )
4594
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4595
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4596
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4597
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4598
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4599
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4600
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4601
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4602
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4603
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4604
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4605
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4606
 
    ( cat <<\_ASBOX
4607
 
## -------------------------------------------- ##
4608
 
## Report this to markus_moeller@compuserve.com ##
4609
 
## -------------------------------------------- ##
4610
 
_ASBOX
4611
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4612
 
    ;;
4613
 
esac
4614
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4615
 
$as_echo_n "checking for $ac_header... " >&6; }
4616
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4617
 
  $as_echo_n "(cached) " >&6
4618
 
else
4619
 
  eval "$as_ac_Header=\$ac_header_preproc"
4620
 
fi
4621
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4622
 
                 $as_echo "$as_val"'`
4623
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4624
 
$as_echo "$ac_res" >&6; }
4625
 
 
4626
 
fi
4627
 
if test `eval 'as_val=${'$as_ac_Header'}
4628
 
                 $as_echo "$as_val"'` = yes; then
 
4193
                     for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
 
4194
do :
 
4195
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4196
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
4197
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4629
4198
  cat >>confdefs.h <<_ACEOF
4630
4199
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4631
4200
_ACEOF
4636
4205
 
4637
4206
                     LDFLAGS="$LDFLAGS -L$ac_libdir $w_flag$ac_libdir$w_flag_2"
4638
4207
                     for lib in $ac_gss_libs; do
4639
 
 
4640
 
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
4641
 
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4208
                        as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$lib" >&5
4642
4210
$as_echo_n "checking for main in -l$lib... " >&6; }
4643
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4211
if eval \${$as_ac_Lib+:} false; then :
4644
4212
  $as_echo_n "(cached) " >&6
4645
4213
else
4646
4214
  ac_check_lib_save_LIBS=$LIBS
4647
4215
LIBS="-l$lib  $LIBS"
4648
 
cat >conftest.$ac_ext <<_ACEOF
4649
 
/* confdefs.h.  */
4650
 
_ACEOF
4651
 
cat confdefs.h >>conftest.$ac_ext
4652
 
cat >>conftest.$ac_ext <<_ACEOF
 
4216
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653
4217
/* end confdefs.h.  */
4654
4218
 
4655
4219
 
4661
4225
  return 0;
4662
4226
}
4663
4227
_ACEOF
4664
 
rm -f conftest.$ac_objext conftest$ac_exeext
4665
 
if { (ac_try="$ac_link"
4666
 
case "(($ac_try" in
4667
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668
 
  *) ac_try_echo=$ac_try;;
4669
 
esac
4670
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4671
 
$as_echo "$ac_try_echo") >&5
4672
 
  (eval "$ac_link") 2>conftest.er1
4673
 
  ac_status=$?
4674
 
  grep -v '^ *+' conftest.er1 >conftest.err
4675
 
  rm -f conftest.er1
4676
 
  cat conftest.err >&5
4677
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678
 
  (exit $ac_status); } && {
4679
 
         test -z "$ac_c_werror_flag" ||
4680
 
         test ! -s conftest.err
4681
 
       } && test -s conftest$ac_exeext && {
4682
 
         test "$cross_compiling" = yes ||
4683
 
         $as_test_x conftest$ac_exeext
4684
 
       }; then
 
4228
if ac_fn_c_try_link "$LINENO"; then :
4685
4229
  eval "$as_ac_Lib=yes"
4686
4230
else
4687
 
  $as_echo "$as_me: failed program was:" >&5
4688
 
sed 's/^/| /' conftest.$ac_ext >&5
4689
 
 
4690
 
        eval "$as_ac_Lib=no"
 
4231
  eval "$as_ac_Lib=no"
4691
4232
fi
4692
 
 
4693
 
rm -rf conftest.dSYM
4694
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4695
 
      conftest$ac_exeext conftest.$ac_ext
 
4233
rm -f core conftest.err conftest.$ac_objext \
 
4234
    conftest$ac_exeext conftest.$ac_ext
4696
4235
LIBS=$ac_check_lib_save_LIBS
4697
4236
fi
4698
 
ac_res=`eval 'as_val=${'$as_ac_Lib'}
4699
 
                 $as_echo "$as_val"'`
4700
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4237
eval ac_res=\$$as_ac_Lib
 
4238
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4701
4239
$as_echo "$ac_res" >&6; }
4702
 
if test `eval 'as_val=${'$as_ac_Lib'}
4703
 
                 $as_echo "$as_val"'` = yes; then
 
4240
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
4704
4241
  cat >>confdefs.h <<_ACEOF
4705
4242
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
4706
4243
_ACEOF
4720
4257
                         LDFLAGS="$LDFLAGS $ac_gssapi_libs"
4721
4258
                     else
4722
4259
                         for lib in $ac_gss_libs; do
4723
 
 
4724
 
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
4725
 
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4260
                            as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$lib" >&5
4726
4262
$as_echo_n "checking for main in -l$lib... " >&6; }
4727
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4263
if eval \${$as_ac_Lib+:} false; then :
4728
4264
  $as_echo_n "(cached) " >&6
4729
4265
else
4730
4266
  ac_check_lib_save_LIBS=$LIBS
4731
4267
LIBS="-l$lib  $LIBS"
4732
 
cat >conftest.$ac_ext <<_ACEOF
4733
 
/* confdefs.h.  */
4734
 
_ACEOF
4735
 
cat confdefs.h >>conftest.$ac_ext
4736
 
cat >>conftest.$ac_ext <<_ACEOF
 
4268
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737
4269
/* end confdefs.h.  */
4738
4270
 
4739
4271
 
4745
4277
  return 0;
4746
4278
}
4747
4279
_ACEOF
4748
 
rm -f conftest.$ac_objext conftest$ac_exeext
4749
 
if { (ac_try="$ac_link"
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_link") 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_exeext && {
4766
 
         test "$cross_compiling" = yes ||
4767
 
         $as_test_x conftest$ac_exeext
4768
 
       }; then
 
4280
if ac_fn_c_try_link "$LINENO"; then :
4769
4281
  eval "$as_ac_Lib=yes"
4770
4282
else
4771
 
  $as_echo "$as_me: failed program was:" >&5
4772
 
sed 's/^/| /' conftest.$ac_ext >&5
4773
 
 
4774
 
        eval "$as_ac_Lib=no"
 
4283
  eval "$as_ac_Lib=no"
4775
4284
fi
4776
 
 
4777
 
rm -rf conftest.dSYM
4778
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4779
 
      conftest$ac_exeext conftest.$ac_ext
 
4285
rm -f core conftest.err conftest.$ac_objext \
 
4286
    conftest$ac_exeext conftest.$ac_ext
4780
4287
LIBS=$ac_check_lib_save_LIBS
4781
4288
fi
4782
 
ac_res=`eval 'as_val=${'$as_ac_Lib'}
4783
 
                 $as_echo "$as_val"'`
4784
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4289
eval ac_res=\$$as_ac_Lib
 
4290
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4785
4291
$as_echo "$ac_res" >&6; }
4786
 
if test `eval 'as_val=${'$as_ac_Lib'}
4787
 
                 $as_echo "$as_val"'` = yes; then
 
4292
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
4788
4293
  cat >>confdefs.h <<_ACEOF
4789
4294
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
4790
4295
_ACEOF
4795
4300
 
4796
4301
                         done
4797
4302
                     fi
4798
 
 
4799
 
 
4800
 
 
4801
 
 
4802
 
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
4803
 
do
4804
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4805
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4806
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4807
 
$as_echo_n "checking for $ac_header... " >&6; }
4808
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4809
 
  $as_echo_n "(cached) " >&6
4810
 
fi
4811
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4812
 
                 $as_echo "$as_val"'`
4813
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4814
 
$as_echo "$ac_res" >&6; }
4815
 
else
4816
 
  # Is the header compilable?
4817
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4818
 
$as_echo_n "checking $ac_header usability... " >&6; }
4819
 
cat >conftest.$ac_ext <<_ACEOF
4820
 
/* confdefs.h.  */
4821
 
_ACEOF
4822
 
cat confdefs.h >>conftest.$ac_ext
4823
 
cat >>conftest.$ac_ext <<_ACEOF
4824
 
/* end confdefs.h.  */
4825
 
$ac_includes_default
4826
 
#include <$ac_header>
4827
 
_ACEOF
4828
 
rm -f conftest.$ac_objext
4829
 
if { (ac_try="$ac_compile"
4830
 
case "(($ac_try" in
4831
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832
 
  *) ac_try_echo=$ac_try;;
4833
 
esac
4834
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4835
 
$as_echo "$ac_try_echo") >&5
4836
 
  (eval "$ac_compile") 2>conftest.er1
4837
 
  ac_status=$?
4838
 
  grep -v '^ *+' conftest.er1 >conftest.err
4839
 
  rm -f conftest.er1
4840
 
  cat conftest.err >&5
4841
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842
 
  (exit $ac_status); } && {
4843
 
         test -z "$ac_c_werror_flag" ||
4844
 
         test ! -s conftest.err
4845
 
       } && test -s conftest.$ac_objext; then
4846
 
  ac_header_compiler=yes
4847
 
else
4848
 
  $as_echo "$as_me: failed program was:" >&5
4849
 
sed 's/^/| /' conftest.$ac_ext >&5
4850
 
 
4851
 
        ac_header_compiler=no
4852
 
fi
4853
 
 
4854
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4855
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4856
 
$as_echo "$ac_header_compiler" >&6; }
4857
 
 
4858
 
# Is the header present?
4859
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4860
 
$as_echo_n "checking $ac_header presence... " >&6; }
4861
 
cat >conftest.$ac_ext <<_ACEOF
4862
 
/* confdefs.h.  */
4863
 
_ACEOF
4864
 
cat confdefs.h >>conftest.$ac_ext
4865
 
cat >>conftest.$ac_ext <<_ACEOF
4866
 
/* end confdefs.h.  */
4867
 
#include <$ac_header>
4868
 
_ACEOF
4869
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4870
 
case "(($ac_try" in
4871
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4872
 
  *) ac_try_echo=$ac_try;;
4873
 
esac
4874
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4875
 
$as_echo "$ac_try_echo") >&5
4876
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4877
 
  ac_status=$?
4878
 
  grep -v '^ *+' conftest.er1 >conftest.err
4879
 
  rm -f conftest.er1
4880
 
  cat conftest.err >&5
4881
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882
 
  (exit $ac_status); } >/dev/null && {
4883
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4884
 
         test ! -s conftest.err
4885
 
       }; then
4886
 
  ac_header_preproc=yes
4887
 
else
4888
 
  $as_echo "$as_me: failed program was:" >&5
4889
 
sed 's/^/| /' conftest.$ac_ext >&5
4890
 
 
4891
 
  ac_header_preproc=no
4892
 
fi
4893
 
 
4894
 
rm -f conftest.err conftest.$ac_ext
4895
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4896
 
$as_echo "$ac_header_preproc" >&6; }
4897
 
 
4898
 
# So?  What about this header?
4899
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4900
 
  yes:no: )
4901
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4902
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4903
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4904
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4905
 
    ac_header_preproc=yes
4906
 
    ;;
4907
 
  no:yes:* )
4908
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4909
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4910
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4911
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4912
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4913
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4914
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4915
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4916
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4917
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4918
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4919
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4920
 
    ( cat <<\_ASBOX
4921
 
## -------------------------------------------- ##
4922
 
## Report this to markus_moeller@compuserve.com ##
4923
 
## -------------------------------------------- ##
4924
 
_ASBOX
4925
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4926
 
    ;;
4927
 
esac
4928
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4929
 
$as_echo_n "checking for $ac_header... " >&6; }
4930
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4931
 
  $as_echo_n "(cached) " >&6
4932
 
else
4933
 
  eval "$as_ac_Header=\$ac_header_preproc"
4934
 
fi
4935
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4936
 
                 $as_echo "$as_val"'`
4937
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4938
 
$as_echo "$ac_res" >&6; }
4939
 
 
4940
 
fi
4941
 
if test `eval 'as_val=${'$as_ac_Header'}
4942
 
                 $as_echo "$as_val"'` = yes; then
 
4303
                     for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
 
4304
do :
 
4305
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4306
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
4307
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4943
4308
  cat >>confdefs.h <<_ACEOF
4944
4309
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4945
4310
_ACEOF
4962
4327
           fi
4963
4328
       fi
4964
4329
 
4965
 
cat >>confdefs.h <<\_ACEOF
4966
 
#define HAVE_HEIMDAL_KERBEROS 1
4967
 
_ACEOF
 
4330
$as_echo "#define HAVE_HEIMDAL_KERBEROS 1" >>confdefs.h
4968
4331
 
4969
4332
       ac_gss_libs="resolv crypto des crypt roken com_err asn1 krb5 gssapi"
4970
4333
       ac_includedir=""
4985
4348
                           CPPFLAGS="$CPPFLAGS $ac_gssapi_cflags"
4986
4349
                         fi
4987
4350
                       fi
4988
 
 
4989
 
 
4990
 
for ac_header in gssapi.h gssapi/gssapi.h
4991
 
do
4992
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4993
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4994
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4995
 
$as_echo_n "checking for $ac_header... " >&6; }
4996
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4997
 
  $as_echo_n "(cached) " >&6
4998
 
fi
4999
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5000
 
                 $as_echo "$as_val"'`
5001
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5002
 
$as_echo "$ac_res" >&6; }
5003
 
else
5004
 
  # Is the header compilable?
5005
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5006
 
$as_echo_n "checking $ac_header usability... " >&6; }
5007
 
cat >conftest.$ac_ext <<_ACEOF
5008
 
/* confdefs.h.  */
5009
 
_ACEOF
5010
 
cat confdefs.h >>conftest.$ac_ext
5011
 
cat >>conftest.$ac_ext <<_ACEOF
5012
 
/* end confdefs.h.  */
5013
 
$ac_includes_default
5014
 
#include <$ac_header>
5015
 
_ACEOF
5016
 
rm -f conftest.$ac_objext
5017
 
if { (ac_try="$ac_compile"
5018
 
case "(($ac_try" in
5019
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5020
 
  *) ac_try_echo=$ac_try;;
5021
 
esac
5022
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5023
 
$as_echo "$ac_try_echo") >&5
5024
 
  (eval "$ac_compile") 2>conftest.er1
5025
 
  ac_status=$?
5026
 
  grep -v '^ *+' conftest.er1 >conftest.err
5027
 
  rm -f conftest.er1
5028
 
  cat conftest.err >&5
5029
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030
 
  (exit $ac_status); } && {
5031
 
         test -z "$ac_c_werror_flag" ||
5032
 
         test ! -s conftest.err
5033
 
       } && test -s conftest.$ac_objext; then
5034
 
  ac_header_compiler=yes
5035
 
else
5036
 
  $as_echo "$as_me: failed program was:" >&5
5037
 
sed 's/^/| /' conftest.$ac_ext >&5
5038
 
 
5039
 
        ac_header_compiler=no
5040
 
fi
5041
 
 
5042
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5044
 
$as_echo "$ac_header_compiler" >&6; }
5045
 
 
5046
 
# Is the header present?
5047
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5048
 
$as_echo_n "checking $ac_header presence... " >&6; }
5049
 
cat >conftest.$ac_ext <<_ACEOF
5050
 
/* confdefs.h.  */
5051
 
_ACEOF
5052
 
cat confdefs.h >>conftest.$ac_ext
5053
 
cat >>conftest.$ac_ext <<_ACEOF
5054
 
/* end confdefs.h.  */
5055
 
#include <$ac_header>
5056
 
_ACEOF
5057
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5058
 
case "(($ac_try" in
5059
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5060
 
  *) ac_try_echo=$ac_try;;
5061
 
esac
5062
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5063
 
$as_echo "$ac_try_echo") >&5
5064
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5065
 
  ac_status=$?
5066
 
  grep -v '^ *+' conftest.er1 >conftest.err
5067
 
  rm -f conftest.er1
5068
 
  cat conftest.err >&5
5069
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070
 
  (exit $ac_status); } >/dev/null && {
5071
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5072
 
         test ! -s conftest.err
5073
 
       }; then
5074
 
  ac_header_preproc=yes
5075
 
else
5076
 
  $as_echo "$as_me: failed program was:" >&5
5077
 
sed 's/^/| /' conftest.$ac_ext >&5
5078
 
 
5079
 
  ac_header_preproc=no
5080
 
fi
5081
 
 
5082
 
rm -f conftest.err conftest.$ac_ext
5083
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5084
 
$as_echo "$ac_header_preproc" >&6; }
5085
 
 
5086
 
# So?  What about this header?
5087
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5088
 
  yes:no: )
5089
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5090
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5091
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5092
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5093
 
    ac_header_preproc=yes
5094
 
    ;;
5095
 
  no:yes:* )
5096
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5097
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5098
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5099
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5100
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5101
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5102
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5103
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5104
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5105
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5106
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5107
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5108
 
    ( cat <<\_ASBOX
5109
 
## -------------------------------------------- ##
5110
 
## Report this to markus_moeller@compuserve.com ##
5111
 
## -------------------------------------------- ##
5112
 
_ASBOX
5113
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5114
 
    ;;
5115
 
esac
5116
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5117
 
$as_echo_n "checking for $ac_header... " >&6; }
5118
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5119
 
  $as_echo_n "(cached) " >&6
5120
 
else
5121
 
  eval "$as_ac_Header=\$ac_header_preproc"
5122
 
fi
5123
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5124
 
                 $as_echo "$as_val"'`
5125
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5126
 
$as_echo "$ac_res" >&6; }
5127
 
 
5128
 
fi
5129
 
if test `eval 'as_val=${'$as_ac_Header'}
5130
 
                 $as_echo "$as_val"'` = yes; then
 
4351
                       for ac_header in gssapi.h gssapi/gssapi.h
 
4352
do :
 
4353
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4354
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
4355
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5131
4356
  cat >>confdefs.h <<_ACEOF
5132
4357
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5133
4358
_ACEOF
5139
4364
                       if test "x$ac_libdir" != "x" ; then
5140
4365
                         LDFLAGS="$LDFLAGS -L$ac_libdir $w_flag$ac_libdir$w_flag_2"
5141
4366
                         for lib in $ac_gss_libs; do
5142
 
 
5143
 
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
5144
 
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4367
                           as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$lib" >&5
5145
4369
$as_echo_n "checking for main in -l$lib... " >&6; }
5146
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4370
if eval \${$as_ac_Lib+:} false; then :
5147
4371
  $as_echo_n "(cached) " >&6
5148
4372
else
5149
4373
  ac_check_lib_save_LIBS=$LIBS
5150
4374
LIBS="-l$lib  $LIBS"
5151
 
cat >conftest.$ac_ext <<_ACEOF
5152
 
/* confdefs.h.  */
5153
 
_ACEOF
5154
 
cat confdefs.h >>conftest.$ac_ext
5155
 
cat >>conftest.$ac_ext <<_ACEOF
 
4375
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156
4376
/* end confdefs.h.  */
5157
4377
 
5158
4378
 
5164
4384
  return 0;
5165
4385
}
5166
4386
_ACEOF
5167
 
rm -f conftest.$ac_objext conftest$ac_exeext
5168
 
if { (ac_try="$ac_link"
5169
 
case "(($ac_try" in
5170
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5171
 
  *) ac_try_echo=$ac_try;;
5172
 
esac
5173
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5174
 
$as_echo "$ac_try_echo") >&5
5175
 
  (eval "$ac_link") 2>conftest.er1
5176
 
  ac_status=$?
5177
 
  grep -v '^ *+' conftest.er1 >conftest.err
5178
 
  rm -f conftest.er1
5179
 
  cat conftest.err >&5
5180
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181
 
  (exit $ac_status); } && {
5182
 
         test -z "$ac_c_werror_flag" ||
5183
 
         test ! -s conftest.err
5184
 
       } && test -s conftest$ac_exeext && {
5185
 
         test "$cross_compiling" = yes ||
5186
 
         $as_test_x conftest$ac_exeext
5187
 
       }; then
 
4387
if ac_fn_c_try_link "$LINENO"; then :
5188
4388
  eval "$as_ac_Lib=yes"
5189
4389
else
5190
 
  $as_echo "$as_me: failed program was:" >&5
5191
 
sed 's/^/| /' conftest.$ac_ext >&5
5192
 
 
5193
 
        eval "$as_ac_Lib=no"
 
4390
  eval "$as_ac_Lib=no"
5194
4391
fi
5195
 
 
5196
 
rm -rf conftest.dSYM
5197
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5198
 
      conftest$ac_exeext conftest.$ac_ext
 
4392
rm -f core conftest.err conftest.$ac_objext \
 
4393
    conftest$ac_exeext conftest.$ac_ext
5199
4394
LIBS=$ac_check_lib_save_LIBS
5200
4395
fi
5201
 
ac_res=`eval 'as_val=${'$as_ac_Lib'}
5202
 
                 $as_echo "$as_val"'`
5203
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4396
eval ac_res=\$$as_ac_Lib
 
4397
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5204
4398
$as_echo "$ac_res" >&6; }
5205
 
if test `eval 'as_val=${'$as_ac_Lib'}
5206
 
                 $as_echo "$as_val"'` = yes; then
 
4399
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5207
4400
  cat >>confdefs.h <<_ACEOF
5208
4401
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
5209
4402
_ACEOF
5224
4417
                           LDFLAGS="$LDFLAGS $ac_gssapi_libs"
5225
4418
                         else
5226
4419
                           for lib in $ac_gss_libs; do
5227
 
 
5228
 
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
5229
 
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4420
                             as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$lib" >&5
5230
4422
$as_echo_n "checking for main in -l$lib... " >&6; }
5231
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4423
if eval \${$as_ac_Lib+:} false; then :
5232
4424
  $as_echo_n "(cached) " >&6
5233
4425
else
5234
4426
  ac_check_lib_save_LIBS=$LIBS
5235
4427
LIBS="-l$lib  $LIBS"
5236
 
cat >conftest.$ac_ext <<_ACEOF
5237
 
/* confdefs.h.  */
5238
 
_ACEOF
5239
 
cat confdefs.h >>conftest.$ac_ext
5240
 
cat >>conftest.$ac_ext <<_ACEOF
 
4428
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5241
4429
/* end confdefs.h.  */
5242
4430
 
5243
4431
 
5249
4437
  return 0;
5250
4438
}
5251
4439
_ACEOF
5252
 
rm -f conftest.$ac_objext conftest$ac_exeext
5253
 
if { (ac_try="$ac_link"
5254
 
case "(($ac_try" in
5255
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5256
 
  *) ac_try_echo=$ac_try;;
5257
 
esac
5258
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5259
 
$as_echo "$ac_try_echo") >&5
5260
 
  (eval "$ac_link") 2>conftest.er1
5261
 
  ac_status=$?
5262
 
  grep -v '^ *+' conftest.er1 >conftest.err
5263
 
  rm -f conftest.er1
5264
 
  cat conftest.err >&5
5265
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266
 
  (exit $ac_status); } && {
5267
 
         test -z "$ac_c_werror_flag" ||
5268
 
         test ! -s conftest.err
5269
 
       } && test -s conftest$ac_exeext && {
5270
 
         test "$cross_compiling" = yes ||
5271
 
         $as_test_x conftest$ac_exeext
5272
 
       }; then
 
4440
if ac_fn_c_try_link "$LINENO"; then :
5273
4441
  eval "$as_ac_Lib=yes"
5274
4442
else
5275
 
  $as_echo "$as_me: failed program was:" >&5
5276
 
sed 's/^/| /' conftest.$ac_ext >&5
5277
 
 
5278
 
        eval "$as_ac_Lib=no"
 
4443
  eval "$as_ac_Lib=no"
5279
4444
fi
5280
 
 
5281
 
rm -rf conftest.dSYM
5282
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5283
 
      conftest$ac_exeext conftest.$ac_ext
 
4445
rm -f core conftest.err conftest.$ac_objext \
 
4446
    conftest$ac_exeext conftest.$ac_ext
5284
4447
LIBS=$ac_check_lib_save_LIBS
5285
4448
fi
5286
 
ac_res=`eval 'as_val=${'$as_ac_Lib'}
5287
 
                 $as_echo "$as_val"'`
5288
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4449
eval ac_res=\$$as_ac_Lib
 
4450
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5289
4451
$as_echo "$ac_res" >&6; }
5290
 
if test `eval 'as_val=${'$as_ac_Lib'}
5291
 
                 $as_echo "$as_val"'` = yes; then
 
4452
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5292
4453
  cat >>confdefs.h <<_ACEOF
5293
4454
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
5294
4455
_ACEOF
5305
4466
                     ac_libdir=$enableval/lib
5306
4467
                     ac_includedir=$enableval/include
5307
4468
                     CPPFLAGS="$CPPFLAGS -I$ac_includedir"
5308
 
 
5309
 
 
5310
 
for ac_header in gssapi.h gssapi/gssapi.h
5311
 
do
5312
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5313
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5314
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5315
 
$as_echo_n "checking for $ac_header... " >&6; }
5316
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5317
 
  $as_echo_n "(cached) " >&6
5318
 
fi
5319
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5320
 
                 $as_echo "$as_val"'`
5321
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5322
 
$as_echo "$ac_res" >&6; }
5323
 
else
5324
 
  # Is the header compilable?
5325
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5326
 
$as_echo_n "checking $ac_header usability... " >&6; }
5327
 
cat >conftest.$ac_ext <<_ACEOF
5328
 
/* confdefs.h.  */
5329
 
_ACEOF
5330
 
cat confdefs.h >>conftest.$ac_ext
5331
 
cat >>conftest.$ac_ext <<_ACEOF
5332
 
/* end confdefs.h.  */
5333
 
$ac_includes_default
5334
 
#include <$ac_header>
5335
 
_ACEOF
5336
 
rm -f conftest.$ac_objext
5337
 
if { (ac_try="$ac_compile"
5338
 
case "(($ac_try" in
5339
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5340
 
  *) ac_try_echo=$ac_try;;
5341
 
esac
5342
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5343
 
$as_echo "$ac_try_echo") >&5
5344
 
  (eval "$ac_compile") 2>conftest.er1
5345
 
  ac_status=$?
5346
 
  grep -v '^ *+' conftest.er1 >conftest.err
5347
 
  rm -f conftest.er1
5348
 
  cat conftest.err >&5
5349
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350
 
  (exit $ac_status); } && {
5351
 
         test -z "$ac_c_werror_flag" ||
5352
 
         test ! -s conftest.err
5353
 
       } && test -s conftest.$ac_objext; then
5354
 
  ac_header_compiler=yes
5355
 
else
5356
 
  $as_echo "$as_me: failed program was:" >&5
5357
 
sed 's/^/| /' conftest.$ac_ext >&5
5358
 
 
5359
 
        ac_header_compiler=no
5360
 
fi
5361
 
 
5362
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5363
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5364
 
$as_echo "$ac_header_compiler" >&6; }
5365
 
 
5366
 
# Is the header present?
5367
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5368
 
$as_echo_n "checking $ac_header presence... " >&6; }
5369
 
cat >conftest.$ac_ext <<_ACEOF
5370
 
/* confdefs.h.  */
5371
 
_ACEOF
5372
 
cat confdefs.h >>conftest.$ac_ext
5373
 
cat >>conftest.$ac_ext <<_ACEOF
5374
 
/* end confdefs.h.  */
5375
 
#include <$ac_header>
5376
 
_ACEOF
5377
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5378
 
case "(($ac_try" in
5379
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5380
 
  *) ac_try_echo=$ac_try;;
5381
 
esac
5382
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5383
 
$as_echo "$ac_try_echo") >&5
5384
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5385
 
  ac_status=$?
5386
 
  grep -v '^ *+' conftest.er1 >conftest.err
5387
 
  rm -f conftest.er1
5388
 
  cat conftest.err >&5
5389
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390
 
  (exit $ac_status); } >/dev/null && {
5391
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5392
 
         test ! -s conftest.err
5393
 
       }; then
5394
 
  ac_header_preproc=yes
5395
 
else
5396
 
  $as_echo "$as_me: failed program was:" >&5
5397
 
sed 's/^/| /' conftest.$ac_ext >&5
5398
 
 
5399
 
  ac_header_preproc=no
5400
 
fi
5401
 
 
5402
 
rm -f conftest.err conftest.$ac_ext
5403
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5404
 
$as_echo "$ac_header_preproc" >&6; }
5405
 
 
5406
 
# So?  What about this header?
5407
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5408
 
  yes:no: )
5409
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5410
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5411
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5412
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5413
 
    ac_header_preproc=yes
5414
 
    ;;
5415
 
  no:yes:* )
5416
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5417
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5418
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5419
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5420
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5421
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5422
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5423
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5424
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5425
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5426
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5427
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5428
 
    ( cat <<\_ASBOX
5429
 
## -------------------------------------------- ##
5430
 
## Report this to markus_moeller@compuserve.com ##
5431
 
## -------------------------------------------- ##
5432
 
_ASBOX
5433
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5434
 
    ;;
5435
 
esac
5436
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5437
 
$as_echo_n "checking for $ac_header... " >&6; }
5438
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5439
 
  $as_echo_n "(cached) " >&6
5440
 
else
5441
 
  eval "$as_ac_Header=\$ac_header_preproc"
5442
 
fi
5443
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5444
 
                 $as_echo "$as_val"'`
5445
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5446
 
$as_echo "$ac_res" >&6; }
5447
 
 
5448
 
fi
5449
 
if test `eval 'as_val=${'$as_ac_Header'}
5450
 
                 $as_echo "$as_val"'` = yes; then
 
4469
                     for ac_header in gssapi.h gssapi/gssapi.h
 
4470
do :
 
4471
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4472
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
4473
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5451
4474
  cat >>confdefs.h <<_ACEOF
5452
4475
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5453
4476
_ACEOF
5458
4481
 
5459
4482
                     LDFLAGS="$LDFLAGS -L$ac_libdir $w_flag$ac_libdir$w_flag_2"
5460
4483
                     for lib in $ac_gss_libs; do
5461
 
 
5462
 
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
5463
 
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4484
                        as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4485
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$lib" >&5
5464
4486
$as_echo_n "checking for main in -l$lib... " >&6; }
5465
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4487
if eval \${$as_ac_Lib+:} false; then :
5466
4488
  $as_echo_n "(cached) " >&6
5467
4489
else
5468
4490
  ac_check_lib_save_LIBS=$LIBS
5469
4491
LIBS="-l$lib  $LIBS"
5470
 
cat >conftest.$ac_ext <<_ACEOF
5471
 
/* confdefs.h.  */
5472
 
_ACEOF
5473
 
cat confdefs.h >>conftest.$ac_ext
5474
 
cat >>conftest.$ac_ext <<_ACEOF
 
4492
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475
4493
/* end confdefs.h.  */
5476
4494
 
5477
4495
 
5483
4501
  return 0;
5484
4502
}
5485
4503
_ACEOF
5486
 
rm -f conftest.$ac_objext conftest$ac_exeext
5487
 
if { (ac_try="$ac_link"
5488
 
case "(($ac_try" in
5489
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5490
 
  *) ac_try_echo=$ac_try;;
5491
 
esac
5492
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5493
 
$as_echo "$ac_try_echo") >&5
5494
 
  (eval "$ac_link") 2>conftest.er1
5495
 
  ac_status=$?
5496
 
  grep -v '^ *+' conftest.er1 >conftest.err
5497
 
  rm -f conftest.er1
5498
 
  cat conftest.err >&5
5499
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500
 
  (exit $ac_status); } && {
5501
 
         test -z "$ac_c_werror_flag" ||
5502
 
         test ! -s conftest.err
5503
 
       } && test -s conftest$ac_exeext && {
5504
 
         test "$cross_compiling" = yes ||
5505
 
         $as_test_x conftest$ac_exeext
5506
 
       }; then
 
4504
if ac_fn_c_try_link "$LINENO"; then :
5507
4505
  eval "$as_ac_Lib=yes"
5508
4506
else
5509
 
  $as_echo "$as_me: failed program was:" >&5
5510
 
sed 's/^/| /' conftest.$ac_ext >&5
5511
 
 
5512
 
        eval "$as_ac_Lib=no"
 
4507
  eval "$as_ac_Lib=no"
5513
4508
fi
5514
 
 
5515
 
rm -rf conftest.dSYM
5516
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5517
 
      conftest$ac_exeext conftest.$ac_ext
 
4509
rm -f core conftest.err conftest.$ac_objext \
 
4510
    conftest$ac_exeext conftest.$ac_ext
5518
4511
LIBS=$ac_check_lib_save_LIBS
5519
4512
fi
5520
 
ac_res=`eval 'as_val=${'$as_ac_Lib'}
5521
 
                 $as_echo "$as_val"'`
5522
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4513
eval ac_res=\$$as_ac_Lib
 
4514
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5523
4515
$as_echo "$ac_res" >&6; }
5524
 
if test `eval 'as_val=${'$as_ac_Lib'}
5525
 
                 $as_echo "$as_val"'` = yes; then
 
4516
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5526
4517
  cat >>confdefs.h <<_ACEOF
5527
4518
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
5528
4519
_ACEOF
5547
4538
                         LDFLAGS="$LDFLAGS $ac_gssapi_libs"
5548
4539
                     else
5549
4540
                         for lib in $ac_gss_libs; do
5550
 
 
5551
 
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
5552
 
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4541
                            as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$lib" >&5
5553
4543
$as_echo_n "checking for main in -l$lib... " >&6; }
5554
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4544
if eval \${$as_ac_Lib+:} false; then :
5555
4545
  $as_echo_n "(cached) " >&6
5556
4546
else
5557
4547
  ac_check_lib_save_LIBS=$LIBS
5558
4548
LIBS="-l$lib  $LIBS"
5559
 
cat >conftest.$ac_ext <<_ACEOF
5560
 
/* confdefs.h.  */
5561
 
_ACEOF
5562
 
cat confdefs.h >>conftest.$ac_ext
5563
 
cat >>conftest.$ac_ext <<_ACEOF
 
4549
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5564
4550
/* end confdefs.h.  */
5565
4551
 
5566
4552
 
5572
4558
  return 0;
5573
4559
}
5574
4560
_ACEOF
5575
 
rm -f conftest.$ac_objext conftest$ac_exeext
5576
 
if { (ac_try="$ac_link"
5577
 
case "(($ac_try" in
5578
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5579
 
  *) ac_try_echo=$ac_try;;
5580
 
esac
5581
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5582
 
$as_echo "$ac_try_echo") >&5
5583
 
  (eval "$ac_link") 2>conftest.er1
5584
 
  ac_status=$?
5585
 
  grep -v '^ *+' conftest.er1 >conftest.err
5586
 
  rm -f conftest.er1
5587
 
  cat conftest.err >&5
5588
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589
 
  (exit $ac_status); } && {
5590
 
         test -z "$ac_c_werror_flag" ||
5591
 
         test ! -s conftest.err
5592
 
       } && test -s conftest$ac_exeext && {
5593
 
         test "$cross_compiling" = yes ||
5594
 
         $as_test_x conftest$ac_exeext
5595
 
       }; then
 
4561
if ac_fn_c_try_link "$LINENO"; then :
5596
4562
  eval "$as_ac_Lib=yes"
5597
4563
else
5598
 
  $as_echo "$as_me: failed program was:" >&5
5599
 
sed 's/^/| /' conftest.$ac_ext >&5
5600
 
 
5601
 
        eval "$as_ac_Lib=no"
 
4564
  eval "$as_ac_Lib=no"
5602
4565
fi
5603
 
 
5604
 
rm -rf conftest.dSYM
5605
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5606
 
      conftest$ac_exeext conftest.$ac_ext
 
4566
rm -f core conftest.err conftest.$ac_objext \
 
4567
    conftest$ac_exeext conftest.$ac_ext
5607
4568
LIBS=$ac_check_lib_save_LIBS
5608
4569
fi
5609
 
ac_res=`eval 'as_val=${'$as_ac_Lib'}
5610
 
                 $as_echo "$as_val"'`
5611
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4570
eval ac_res=\$$as_ac_Lib
 
4571
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5612
4572
$as_echo "$ac_res" >&6; }
5613
 
if test `eval 'as_val=${'$as_ac_Lib'}
5614
 
                 $as_echo "$as_val"'` = yes; then
 
4573
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5615
4574
  cat >>confdefs.h <<_ACEOF
5616
4575
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
5617
4576
_ACEOF
5622
4581
 
5623
4582
                         done
5624
4583
                     fi
5625
 
 
5626
 
 
5627
 
for ac_header in gssapi.h gssapi/gssapi.h
5628
 
do
5629
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5630
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5631
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5632
 
$as_echo_n "checking for $ac_header... " >&6; }
5633
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5634
 
  $as_echo_n "(cached) " >&6
5635
 
fi
5636
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5637
 
                 $as_echo "$as_val"'`
5638
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5639
 
$as_echo "$ac_res" >&6; }
5640
 
else
5641
 
  # Is the header compilable?
5642
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5643
 
$as_echo_n "checking $ac_header usability... " >&6; }
5644
 
cat >conftest.$ac_ext <<_ACEOF
5645
 
/* confdefs.h.  */
5646
 
_ACEOF
5647
 
cat confdefs.h >>conftest.$ac_ext
5648
 
cat >>conftest.$ac_ext <<_ACEOF
5649
 
/* end confdefs.h.  */
5650
 
$ac_includes_default
5651
 
#include <$ac_header>
5652
 
_ACEOF
5653
 
rm -f conftest.$ac_objext
5654
 
if { (ac_try="$ac_compile"
5655
 
case "(($ac_try" in
5656
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5657
 
  *) ac_try_echo=$ac_try;;
5658
 
esac
5659
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5660
 
$as_echo "$ac_try_echo") >&5
5661
 
  (eval "$ac_compile") 2>conftest.er1
5662
 
  ac_status=$?
5663
 
  grep -v '^ *+' conftest.er1 >conftest.err
5664
 
  rm -f conftest.er1
5665
 
  cat conftest.err >&5
5666
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667
 
  (exit $ac_status); } && {
5668
 
         test -z "$ac_c_werror_flag" ||
5669
 
         test ! -s conftest.err
5670
 
       } && test -s conftest.$ac_objext; then
5671
 
  ac_header_compiler=yes
5672
 
else
5673
 
  $as_echo "$as_me: failed program was:" >&5
5674
 
sed 's/^/| /' conftest.$ac_ext >&5
5675
 
 
5676
 
        ac_header_compiler=no
5677
 
fi
5678
 
 
5679
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5680
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5681
 
$as_echo "$ac_header_compiler" >&6; }
5682
 
 
5683
 
# Is the header present?
5684
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5685
 
$as_echo_n "checking $ac_header presence... " >&6; }
5686
 
cat >conftest.$ac_ext <<_ACEOF
5687
 
/* confdefs.h.  */
5688
 
_ACEOF
5689
 
cat confdefs.h >>conftest.$ac_ext
5690
 
cat >>conftest.$ac_ext <<_ACEOF
5691
 
/* end confdefs.h.  */
5692
 
#include <$ac_header>
5693
 
_ACEOF
5694
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5695
 
case "(($ac_try" in
5696
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697
 
  *) ac_try_echo=$ac_try;;
5698
 
esac
5699
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5700
 
$as_echo "$ac_try_echo") >&5
5701
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5702
 
  ac_status=$?
5703
 
  grep -v '^ *+' conftest.er1 >conftest.err
5704
 
  rm -f conftest.er1
5705
 
  cat conftest.err >&5
5706
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707
 
  (exit $ac_status); } >/dev/null && {
5708
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5709
 
         test ! -s conftest.err
5710
 
       }; then
5711
 
  ac_header_preproc=yes
5712
 
else
5713
 
  $as_echo "$as_me: failed program was:" >&5
5714
 
sed 's/^/| /' conftest.$ac_ext >&5
5715
 
 
5716
 
  ac_header_preproc=no
5717
 
fi
5718
 
 
5719
 
rm -f conftest.err conftest.$ac_ext
5720
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5721
 
$as_echo "$ac_header_preproc" >&6; }
5722
 
 
5723
 
# So?  What about this header?
5724
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5725
 
  yes:no: )
5726
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5727
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5728
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5729
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5730
 
    ac_header_preproc=yes
5731
 
    ;;
5732
 
  no:yes:* )
5733
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5734
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5735
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5736
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5737
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5738
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5739
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5740
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5741
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5742
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5743
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5744
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5745
 
    ( cat <<\_ASBOX
5746
 
## -------------------------------------------- ##
5747
 
## Report this to markus_moeller@compuserve.com ##
5748
 
## -------------------------------------------- ##
5749
 
_ASBOX
5750
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5751
 
    ;;
5752
 
esac
5753
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5754
 
$as_echo_n "checking for $ac_header... " >&6; }
5755
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5756
 
  $as_echo_n "(cached) " >&6
5757
 
else
5758
 
  eval "$as_ac_Header=\$ac_header_preproc"
5759
 
fi
5760
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5761
 
                 $as_echo "$as_val"'`
5762
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5763
 
$as_echo "$ac_res" >&6; }
5764
 
 
5765
 
fi
5766
 
if test `eval 'as_val=${'$as_ac_Header'}
5767
 
                 $as_echo "$as_val"'` = yes; then
 
4584
                     for ac_header in gssapi.h gssapi/gssapi.h
 
4585
do :
 
4586
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4587
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
4588
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5768
4589
  cat >>confdefs.h <<_ACEOF
5769
4590
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5770
4591
_ACEOF
5780
4601
}
5781
4602
check_nas(){
5782
4603
 
5783
 
cat >>confdefs.h <<\_ACEOF
5784
 
#define HAVE_NAS_KERBEROS 1
5785
 
_ACEOF
5786
 
 
5787
 
 
5788
 
 
5789
 
 
5790
 
 
5791
 
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
5792
 
do
5793
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5794
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5795
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5796
 
$as_echo_n "checking for $ac_header... " >&6; }
5797
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5798
 
  $as_echo_n "(cached) " >&6
5799
 
fi
5800
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5801
 
                 $as_echo "$as_val"'`
5802
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5803
 
$as_echo "$ac_res" >&6; }
5804
 
else
5805
 
  # Is the header compilable?
5806
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5807
 
$as_echo_n "checking $ac_header usability... " >&6; }
5808
 
cat >conftest.$ac_ext <<_ACEOF
5809
 
/* confdefs.h.  */
5810
 
_ACEOF
5811
 
cat confdefs.h >>conftest.$ac_ext
5812
 
cat >>conftest.$ac_ext <<_ACEOF
5813
 
/* end confdefs.h.  */
5814
 
$ac_includes_default
5815
 
#include <$ac_header>
5816
 
_ACEOF
5817
 
rm -f conftest.$ac_objext
5818
 
if { (ac_try="$ac_compile"
5819
 
case "(($ac_try" in
5820
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5821
 
  *) ac_try_echo=$ac_try;;
5822
 
esac
5823
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5824
 
$as_echo "$ac_try_echo") >&5
5825
 
  (eval "$ac_compile") 2>conftest.er1
5826
 
  ac_status=$?
5827
 
  grep -v '^ *+' conftest.er1 >conftest.err
5828
 
  rm -f conftest.er1
5829
 
  cat conftest.err >&5
5830
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831
 
  (exit $ac_status); } && {
5832
 
         test -z "$ac_c_werror_flag" ||
5833
 
         test ! -s conftest.err
5834
 
       } && test -s conftest.$ac_objext; then
5835
 
  ac_header_compiler=yes
5836
 
else
5837
 
  $as_echo "$as_me: failed program was:" >&5
5838
 
sed 's/^/| /' conftest.$ac_ext >&5
5839
 
 
5840
 
        ac_header_compiler=no
5841
 
fi
5842
 
 
5843
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5844
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5845
 
$as_echo "$ac_header_compiler" >&6; }
5846
 
 
5847
 
# Is the header present?
5848
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5849
 
$as_echo_n "checking $ac_header presence... " >&6; }
5850
 
cat >conftest.$ac_ext <<_ACEOF
5851
 
/* confdefs.h.  */
5852
 
_ACEOF
5853
 
cat confdefs.h >>conftest.$ac_ext
5854
 
cat >>conftest.$ac_ext <<_ACEOF
5855
 
/* end confdefs.h.  */
5856
 
#include <$ac_header>
5857
 
_ACEOF
5858
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5859
 
case "(($ac_try" in
5860
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5861
 
  *) ac_try_echo=$ac_try;;
5862
 
esac
5863
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5864
 
$as_echo "$ac_try_echo") >&5
5865
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5866
 
  ac_status=$?
5867
 
  grep -v '^ *+' conftest.er1 >conftest.err
5868
 
  rm -f conftest.er1
5869
 
  cat conftest.err >&5
5870
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871
 
  (exit $ac_status); } >/dev/null && {
5872
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5873
 
         test ! -s conftest.err
5874
 
       }; then
5875
 
  ac_header_preproc=yes
5876
 
else
5877
 
  $as_echo "$as_me: failed program was:" >&5
5878
 
sed 's/^/| /' conftest.$ac_ext >&5
5879
 
 
5880
 
  ac_header_preproc=no
5881
 
fi
5882
 
 
5883
 
rm -f conftest.err conftest.$ac_ext
5884
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5885
 
$as_echo "$ac_header_preproc" >&6; }
5886
 
 
5887
 
# So?  What about this header?
5888
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5889
 
  yes:no: )
5890
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5891
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5892
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5893
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5894
 
    ac_header_preproc=yes
5895
 
    ;;
5896
 
  no:yes:* )
5897
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5898
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5899
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5900
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5901
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5902
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5903
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5904
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5905
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5906
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5907
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5908
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5909
 
    ( cat <<\_ASBOX
5910
 
## -------------------------------------------- ##
5911
 
## Report this to markus_moeller@compuserve.com ##
5912
 
## -------------------------------------------- ##
5913
 
_ASBOX
5914
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5915
 
    ;;
5916
 
esac
5917
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5918
 
$as_echo_n "checking for $ac_header... " >&6; }
5919
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5920
 
  $as_echo_n "(cached) " >&6
5921
 
else
5922
 
  eval "$as_ac_Header=\$ac_header_preproc"
5923
 
fi
5924
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5925
 
                 $as_echo "$as_val"'`
5926
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5927
 
$as_echo "$ac_res" >&6; }
5928
 
 
5929
 
fi
5930
 
if test `eval 'as_val=${'$as_ac_Header'}
5931
 
                 $as_echo "$as_val"'` = yes; then
 
4604
$as_echo "#define HAVE_NAS_KERBEROS 1" >>confdefs.h
 
4605
 
 
4606
       for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
 
4607
do :
 
4608
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4609
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
4610
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5932
4611
  cat >>confdefs.h <<_ACEOF
5933
4612
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5934
4613
_ACEOF
5940
4619
       LDFLAGS="$LDFLAGS -L/usr/lib"
5941
4620
       ac_gss_libs="krb5 gssapi_krb5 ksvc";
5942
4621
       for lib in $ac_gss_libs; do
5943
 
 
5944
 
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
5945
 
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4622
          as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$lib" >&5
5946
4624
$as_echo_n "checking for main in -l$lib... " >&6; }
5947
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4625
if eval \${$as_ac_Lib+:} false; then :
5948
4626
  $as_echo_n "(cached) " >&6
5949
4627
else
5950
4628
  ac_check_lib_save_LIBS=$LIBS
5951
4629
LIBS="-l$lib  $LIBS"
5952
 
cat >conftest.$ac_ext <<_ACEOF
5953
 
/* confdefs.h.  */
5954
 
_ACEOF
5955
 
cat confdefs.h >>conftest.$ac_ext
5956
 
cat >>conftest.$ac_ext <<_ACEOF
 
4630
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5957
4631
/* end confdefs.h.  */
5958
4632
 
5959
4633
 
5965
4639
  return 0;
5966
4640
}
5967
4641
_ACEOF
5968
 
rm -f conftest.$ac_objext conftest$ac_exeext
5969
 
if { (ac_try="$ac_link"
5970
 
case "(($ac_try" in
5971
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5972
 
  *) ac_try_echo=$ac_try;;
5973
 
esac
5974
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5975
 
$as_echo "$ac_try_echo") >&5
5976
 
  (eval "$ac_link") 2>conftest.er1
5977
 
  ac_status=$?
5978
 
  grep -v '^ *+' conftest.er1 >conftest.err
5979
 
  rm -f conftest.er1
5980
 
  cat conftest.err >&5
5981
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982
 
  (exit $ac_status); } && {
5983
 
         test -z "$ac_c_werror_flag" ||
5984
 
         test ! -s conftest.err
5985
 
       } && test -s conftest$ac_exeext && {
5986
 
         test "$cross_compiling" = yes ||
5987
 
         $as_test_x conftest$ac_exeext
5988
 
       }; then
 
4642
if ac_fn_c_try_link "$LINENO"; then :
5989
4643
  eval "$as_ac_Lib=yes"
5990
4644
else
5991
 
  $as_echo "$as_me: failed program was:" >&5
5992
 
sed 's/^/| /' conftest.$ac_ext >&5
5993
 
 
5994
 
        eval "$as_ac_Lib=no"
 
4645
  eval "$as_ac_Lib=no"
5995
4646
fi
5996
 
 
5997
 
rm -rf conftest.dSYM
5998
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5999
 
      conftest$ac_exeext conftest.$ac_ext
 
4647
rm -f core conftest.err conftest.$ac_objext \
 
4648
    conftest$ac_exeext conftest.$ac_ext
6000
4649
LIBS=$ac_check_lib_save_LIBS
6001
4650
fi
6002
 
ac_res=`eval 'as_val=${'$as_ac_Lib'}
6003
 
                 $as_echo "$as_val"'`
6004
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4651
eval ac_res=\$$as_ac_Lib
 
4652
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6005
4653
$as_echo "$ac_res" >&6; }
6006
 
if test `eval 'as_val=${'$as_ac_Lib'}
6007
 
                 $as_echo "$as_val"'` = yes; then
 
4654
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
6008
4655
  cat >>confdefs.h <<_ACEOF
6009
4656
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
6010
4657
_ACEOF
6025
4672
 
6026
4673
check_seam(){
6027
4674
 
6028
 
cat >>confdefs.h <<\_ACEOF
6029
 
#define HAVE_SEAM_KERBEROS 1
6030
 
_ACEOF
6031
 
 
6032
 
 
6033
 
 
6034
 
 
6035
 
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_ext.h
6036
 
do
6037
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6038
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6039
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6040
 
$as_echo_n "checking for $ac_header... " >&6; }
6041
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6042
 
  $as_echo_n "(cached) " >&6
6043
 
fi
6044
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6045
 
                 $as_echo "$as_val"'`
6046
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6047
 
$as_echo "$ac_res" >&6; }
6048
 
else
6049
 
  # Is the header compilable?
6050
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6051
 
$as_echo_n "checking $ac_header usability... " >&6; }
6052
 
cat >conftest.$ac_ext <<_ACEOF
6053
 
/* confdefs.h.  */
6054
 
_ACEOF
6055
 
cat confdefs.h >>conftest.$ac_ext
6056
 
cat >>conftest.$ac_ext <<_ACEOF
6057
 
/* end confdefs.h.  */
6058
 
$ac_includes_default
6059
 
#include <$ac_header>
6060
 
_ACEOF
6061
 
rm -f conftest.$ac_objext
6062
 
if { (ac_try="$ac_compile"
6063
 
case "(($ac_try" in
6064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6065
 
  *) ac_try_echo=$ac_try;;
6066
 
esac
6067
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6068
 
$as_echo "$ac_try_echo") >&5
6069
 
  (eval "$ac_compile") 2>conftest.er1
6070
 
  ac_status=$?
6071
 
  grep -v '^ *+' conftest.er1 >conftest.err
6072
 
  rm -f conftest.er1
6073
 
  cat conftest.err >&5
6074
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075
 
  (exit $ac_status); } && {
6076
 
         test -z "$ac_c_werror_flag" ||
6077
 
         test ! -s conftest.err
6078
 
       } && test -s conftest.$ac_objext; then
6079
 
  ac_header_compiler=yes
6080
 
else
6081
 
  $as_echo "$as_me: failed program was:" >&5
6082
 
sed 's/^/| /' conftest.$ac_ext >&5
6083
 
 
6084
 
        ac_header_compiler=no
6085
 
fi
6086
 
 
6087
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6088
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6089
 
$as_echo "$ac_header_compiler" >&6; }
6090
 
 
6091
 
# Is the header present?
6092
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6093
 
$as_echo_n "checking $ac_header presence... " >&6; }
6094
 
cat >conftest.$ac_ext <<_ACEOF
6095
 
/* confdefs.h.  */
6096
 
_ACEOF
6097
 
cat confdefs.h >>conftest.$ac_ext
6098
 
cat >>conftest.$ac_ext <<_ACEOF
6099
 
/* end confdefs.h.  */
6100
 
#include <$ac_header>
6101
 
_ACEOF
6102
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6103
 
case "(($ac_try" in
6104
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6105
 
  *) ac_try_echo=$ac_try;;
6106
 
esac
6107
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6108
 
$as_echo "$ac_try_echo") >&5
6109
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6110
 
  ac_status=$?
6111
 
  grep -v '^ *+' conftest.er1 >conftest.err
6112
 
  rm -f conftest.er1
6113
 
  cat conftest.err >&5
6114
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115
 
  (exit $ac_status); } >/dev/null && {
6116
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6117
 
         test ! -s conftest.err
6118
 
       }; then
6119
 
  ac_header_preproc=yes
6120
 
else
6121
 
  $as_echo "$as_me: failed program was:" >&5
6122
 
sed 's/^/| /' conftest.$ac_ext >&5
6123
 
 
6124
 
  ac_header_preproc=no
6125
 
fi
6126
 
 
6127
 
rm -f conftest.err conftest.$ac_ext
6128
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6129
 
$as_echo "$ac_header_preproc" >&6; }
6130
 
 
6131
 
# So?  What about this header?
6132
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6133
 
  yes:no: )
6134
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6135
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6136
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6137
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6138
 
    ac_header_preproc=yes
6139
 
    ;;
6140
 
  no:yes:* )
6141
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6142
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6143
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6144
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6145
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6146
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6147
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6148
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6149
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6150
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6151
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6152
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6153
 
    ( cat <<\_ASBOX
6154
 
## -------------------------------------------- ##
6155
 
## Report this to markus_moeller@compuserve.com ##
6156
 
## -------------------------------------------- ##
6157
 
_ASBOX
6158
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
6159
 
    ;;
6160
 
esac
6161
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6162
 
$as_echo_n "checking for $ac_header... " >&6; }
6163
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6164
 
  $as_echo_n "(cached) " >&6
6165
 
else
6166
 
  eval "$as_ac_Header=\$ac_header_preproc"
6167
 
fi
6168
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6169
 
                 $as_echo "$as_val"'`
6170
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6171
 
$as_echo "$ac_res" >&6; }
6172
 
 
6173
 
fi
6174
 
if test `eval 'as_val=${'$as_ac_Header'}
6175
 
                 $as_echo "$as_val"'` = yes; then
 
4675
$as_echo "#define HAVE_SEAM_KERBEROS 1" >>confdefs.h
 
4676
 
 
4677
       for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_ext.h
 
4678
do :
 
4679
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4680
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
4681
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6176
4682
  cat >>confdefs.h <<_ACEOF
6177
4683
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6178
4684
_ACEOF
6183
4689
 
6184
4690
       ac_sol_libs="nsl socket resolv gss"
6185
4691
       for lib in $ac_sol_libs; do
6186
 
 
6187
 
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
6188
 
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4692
          as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$lib" >&5
6189
4694
$as_echo_n "checking for main in -l$lib... " >&6; }
6190
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4695
if eval \${$as_ac_Lib+:} false; then :
6191
4696
  $as_echo_n "(cached) " >&6
6192
4697
else
6193
4698
  ac_check_lib_save_LIBS=$LIBS
6194
4699
LIBS="-l$lib  $LIBS"
6195
 
cat >conftest.$ac_ext <<_ACEOF
6196
 
/* confdefs.h.  */
6197
 
_ACEOF
6198
 
cat confdefs.h >>conftest.$ac_ext
6199
 
cat >>conftest.$ac_ext <<_ACEOF
 
4700
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6200
4701
/* end confdefs.h.  */
6201
4702
 
6202
4703
 
6208
4709
  return 0;
6209
4710
}
6210
4711
_ACEOF
6211
 
rm -f conftest.$ac_objext conftest$ac_exeext
6212
 
if { (ac_try="$ac_link"
6213
 
case "(($ac_try" in
6214
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6215
 
  *) ac_try_echo=$ac_try;;
6216
 
esac
6217
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6218
 
$as_echo "$ac_try_echo") >&5
6219
 
  (eval "$ac_link") 2>conftest.er1
6220
 
  ac_status=$?
6221
 
  grep -v '^ *+' conftest.er1 >conftest.err
6222
 
  rm -f conftest.er1
6223
 
  cat conftest.err >&5
6224
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225
 
  (exit $ac_status); } && {
6226
 
         test -z "$ac_c_werror_flag" ||
6227
 
         test ! -s conftest.err
6228
 
       } && test -s conftest$ac_exeext && {
6229
 
         test "$cross_compiling" = yes ||
6230
 
         $as_test_x conftest$ac_exeext
6231
 
       }; then
 
4712
if ac_fn_c_try_link "$LINENO"; then :
6232
4713
  eval "$as_ac_Lib=yes"
6233
4714
else
6234
 
  $as_echo "$as_me: failed program was:" >&5
6235
 
sed 's/^/| /' conftest.$ac_ext >&5
6236
 
 
6237
 
        eval "$as_ac_Lib=no"
 
4715
  eval "$as_ac_Lib=no"
6238
4716
fi
6239
 
 
6240
 
rm -rf conftest.dSYM
6241
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6242
 
      conftest$ac_exeext conftest.$ac_ext
 
4717
rm -f core conftest.err conftest.$ac_objext \
 
4718
    conftest$ac_exeext conftest.$ac_ext
6243
4719
LIBS=$ac_check_lib_save_LIBS
6244
4720
fi
6245
 
ac_res=`eval 'as_val=${'$as_ac_Lib'}
6246
 
                 $as_echo "$as_val"'`
6247
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4721
eval ac_res=\$$as_ac_Lib
 
4722
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6248
4723
$as_echo "$ac_res" >&6; }
6249
 
if test `eval 'as_val=${'$as_ac_Lib'}
6250
 
                 $as_echo "$as_val"'` = yes; then
 
4724
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
6251
4725
  cat >>confdefs.h <<_ACEOF
6252
4726
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
6253
4727
_ACEOF
6261
4735
}
6262
4736
 
6263
4737
# Check whether --enable-mit was given.
6264
 
if test "${enable_mit+set}" = set; then
 
4738
if test "${enable_mit+set}" = set; then :
6265
4739
  enableval=$enable_mit;
6266
4740
    if test "x$enableval" != "xno" ; then
6267
4741
       check_mit
6270
4744
 
6271
4745
 
6272
4746
# Check whether --enable-heimdal was given.
6273
 
if test "${enable_heimdal+set}" = set; then
 
4747
if test "${enable_heimdal+set}" = set; then :
6274
4748
  enableval=$enable_heimdal;
6275
4749
    if test "x$enableval" != "xno" ; then
6276
4750
       check_heimdal
6279
4753
 
6280
4754
 
6281
4755
# Check whether --enable-nas was given.
6282
 
if test "${enable_nas+set}" = set; then
 
4756
if test "${enable_nas+set}" = set; then :
6283
4757
  enableval=$enable_nas;
6284
4758
    if test "x$enableval" != "xno" ; then
6285
4759
       check_nas
6288
4762
 
6289
4763
 
6290
4764
# Check whether --enable-seam was given.
6291
 
if test "${enable_seam+set}" = set; then
 
4765
if test "${enable_seam+set}" = set; then :
6292
4766
  enableval=$enable_seam;
6293
4767
    if test "x$enableval" != "xno" ; then
6294
4768
       check_seam
6297
4771
 
6298
4772
 
6299
4773
# Check whether --enable-seam-64 was given.
6300
 
if test "${enable_seam_64+set}" = set; then
 
4774
if test "${enable_seam_64+set}" = set; then :
6301
4775
  enableval=$enable_seam_64;
6302
4776
    if test "x$enableval" != "xno" ; then
6303
4777
       check_seam_64
6308
4782
if test "$enable_arg" = "no"; then
6309
4783
      # Extract the first word of "krb5-config", so it can be a program name with args.
6310
4784
set dummy krb5-config; ac_word=$2
6311
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4785
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6312
4786
$as_echo_n "checking for $ac_word... " >&6; }
6313
 
if test "${ac_cv_prog_ac_krb5_config+set}" = set; then
 
4787
if ${ac_cv_prog_ac_krb5_config+:} false; then :
6314
4788
  $as_echo_n "(cached) " >&6
6315
4789
else
6316
4790
  if test -n "$ac_krb5_config"; then
6321
4795
do
6322
4796
  IFS=$as_save_IFS
6323
4797
  test -z "$as_dir" && as_dir=.
6324
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4798
    for ac_exec_ext in '' $ac_executable_extensions; do
6325
4799
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6326
4800
    ac_cv_prog_ac_krb5_config="yes"
6327
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4801
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6328
4802
    break 2
6329
4803
  fi
6330
4804
done
6331
 
done
 
4805
  done
6332
4806
IFS=$as_save_IFS
6333
4807
 
6334
4808
  test -z "$ac_cv_prog_ac_krb5_config" && ac_cv_prog_ac_krb5_config="no"
6336
4810
fi
6337
4811
ac_krb5_config=$ac_cv_prog_ac_krb5_config
6338
4812
if test -n "$ac_krb5_config"; then
6339
 
  { $as_echo "$as_me:$LINENO: result: $ac_krb5_config" >&5
 
4813
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_krb5_config" >&5
6340
4814
$as_echo "$ac_krb5_config" >&6; }
6341
4815
else
6342
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4816
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343
4817
$as_echo "no" >&6; }
6344
4818
fi
6345
4819
 
6373
4847
  esac
6374
4848
fi
6375
4849
 
6376
 
 
6377
 
 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
4850
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6378
4851
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6379
 
if test "${ac_cv_c_bigendian+set}" = set; then
 
4852
if ${ac_cv_c_bigendian+:} false; then :
6380
4853
  $as_echo_n "(cached) " >&6
6381
4854
else
6382
4855
  ac_cv_c_bigendian=unknown
6383
 
 
 
4856
    # See if we're dealing with a universal compiler.
 
4857
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4858
/* end confdefs.h.  */
 
4859
#ifndef __APPLE_CC__
 
4860
               not a universal capable compiler
 
4861
             #endif
 
4862
             typedef int dummy;
 
4863
 
 
4864
_ACEOF
 
4865
if ac_fn_c_try_compile "$LINENO"; then :
 
4866
 
 
4867
        # Check for potential -arch flags.  It is not universal unless
 
4868
        # there are at least two -arch flags with different values.
 
4869
        ac_arch=
 
4870
        ac_prev=
 
4871
        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
 
4872
         if test -n "$ac_prev"; then
 
4873
           case $ac_word in
 
4874
             i?86 | x86_64 | ppc | ppc64)
 
4875
               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
 
4876
                 ac_arch=$ac_word
 
4877
               else
 
4878
                 ac_cv_c_bigendian=universal
 
4879
                 break
 
4880
               fi
 
4881
               ;;
 
4882
           esac
 
4883
           ac_prev=
 
4884
         elif test "x$ac_word" = "x-arch"; then
 
4885
           ac_prev=arch
 
4886
         fi
 
4887
       done
 
4888
fi
 
4889
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6384
4890
    if test $ac_cv_c_bigendian = unknown; then
6385
4891
      # See if sys/param.h defines the BYTE_ORDER macro.
6386
 
      cat >conftest.$ac_ext <<_ACEOF
6387
 
/* confdefs.h.  */
6388
 
_ACEOF
6389
 
cat confdefs.h >>conftest.$ac_ext
6390
 
cat >>conftest.$ac_ext <<_ACEOF
 
4892
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6391
4893
/* end confdefs.h.  */
6392
4894
#include <sys/types.h>
6393
4895
             #include <sys/param.h>
6405
4907
  return 0;
6406
4908
}
6407
4909
_ACEOF
6408
 
rm -f conftest.$ac_objext
6409
 
if { (ac_try="$ac_compile"
6410
 
case "(($ac_try" in
6411
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6412
 
  *) ac_try_echo=$ac_try;;
6413
 
esac
6414
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6415
 
$as_echo "$ac_try_echo") >&5
6416
 
  (eval "$ac_compile") 2>conftest.er1
6417
 
  ac_status=$?
6418
 
  grep -v '^ *+' conftest.er1 >conftest.err
6419
 
  rm -f conftest.er1
6420
 
  cat conftest.err >&5
6421
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422
 
  (exit $ac_status); } && {
6423
 
         test -z "$ac_c_werror_flag" ||
6424
 
         test ! -s conftest.err
6425
 
       } && test -s conftest.$ac_objext; then
 
4910
if ac_fn_c_try_compile "$LINENO"; then :
6426
4911
  # It does; now see whether it defined to BIG_ENDIAN or not.
6427
 
         cat >conftest.$ac_ext <<_ACEOF
6428
 
/* confdefs.h.  */
6429
 
_ACEOF
6430
 
cat confdefs.h >>conftest.$ac_ext
6431
 
cat >>conftest.$ac_ext <<_ACEOF
 
4912
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6432
4913
/* end confdefs.h.  */
6433
4914
#include <sys/types.h>
6434
4915
                #include <sys/param.h>
6444
4925
  return 0;
6445
4926
}
6446
4927
_ACEOF
6447
 
rm -f conftest.$ac_objext
6448
 
if { (ac_try="$ac_compile"
6449
 
case "(($ac_try" in
6450
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6451
 
  *) ac_try_echo=$ac_try;;
6452
 
esac
6453
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6454
 
$as_echo "$ac_try_echo") >&5
6455
 
  (eval "$ac_compile") 2>conftest.er1
6456
 
  ac_status=$?
6457
 
  grep -v '^ *+' conftest.er1 >conftest.err
6458
 
  rm -f conftest.er1
6459
 
  cat conftest.err >&5
6460
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461
 
  (exit $ac_status); } && {
6462
 
         test -z "$ac_c_werror_flag" ||
6463
 
         test ! -s conftest.err
6464
 
       } && test -s conftest.$ac_objext; then
 
4928
if ac_fn_c_try_compile "$LINENO"; then :
6465
4929
  ac_cv_c_bigendian=yes
6466
4930
else
6467
 
  $as_echo "$as_me: failed program was:" >&5
6468
 
sed 's/^/| /' conftest.$ac_ext >&5
6469
 
 
6470
 
        ac_cv_c_bigendian=no
 
4931
  ac_cv_c_bigendian=no
6471
4932
fi
6472
 
 
6473
4933
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6474
 
else
6475
 
  $as_echo "$as_me: failed program was:" >&5
6476
 
sed 's/^/| /' conftest.$ac_ext >&5
6477
 
 
6478
 
 
6479
4934
fi
6480
 
 
6481
4935
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6482
4936
    fi
6483
4937
    if test $ac_cv_c_bigendian = unknown; then
6484
4938
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6485
 
      cat >conftest.$ac_ext <<_ACEOF
6486
 
/* confdefs.h.  */
6487
 
_ACEOF
6488
 
cat confdefs.h >>conftest.$ac_ext
6489
 
cat >>conftest.$ac_ext <<_ACEOF
 
4939
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6490
4940
/* end confdefs.h.  */
6491
4941
#include <limits.h>
6492
4942
 
6501
4951
  return 0;
6502
4952
}
6503
4953
_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
 
4954
if ac_fn_c_try_compile "$LINENO"; then :
6522
4955
  # It does; now see whether it defined to _BIG_ENDIAN or not.
6523
 
         cat >conftest.$ac_ext <<_ACEOF
6524
 
/* confdefs.h.  */
6525
 
_ACEOF
6526
 
cat confdefs.h >>conftest.$ac_ext
6527
 
cat >>conftest.$ac_ext <<_ACEOF
 
4956
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6528
4957
/* end confdefs.h.  */
6529
4958
#include <limits.h>
6530
4959
 
6539
4968
  return 0;
6540
4969
}
6541
4970
_ACEOF
6542
 
rm -f conftest.$ac_objext
6543
 
if { (ac_try="$ac_compile"
6544
 
case "(($ac_try" in
6545
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6546
 
  *) ac_try_echo=$ac_try;;
6547
 
esac
6548
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6549
 
$as_echo "$ac_try_echo") >&5
6550
 
  (eval "$ac_compile") 2>conftest.er1
6551
 
  ac_status=$?
6552
 
  grep -v '^ *+' conftest.er1 >conftest.err
6553
 
  rm -f conftest.er1
6554
 
  cat conftest.err >&5
6555
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6556
 
  (exit $ac_status); } && {
6557
 
         test -z "$ac_c_werror_flag" ||
6558
 
         test ! -s conftest.err
6559
 
       } && test -s conftest.$ac_objext; then
 
4971
if ac_fn_c_try_compile "$LINENO"; then :
6560
4972
  ac_cv_c_bigendian=yes
6561
4973
else
6562
 
  $as_echo "$as_me: failed program was:" >&5
6563
 
sed 's/^/| /' conftest.$ac_ext >&5
6564
 
 
6565
 
        ac_cv_c_bigendian=no
 
4974
  ac_cv_c_bigendian=no
6566
4975
fi
6567
 
 
6568
4976
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6569
 
else
6570
 
  $as_echo "$as_me: failed program was:" >&5
6571
 
sed 's/^/| /' conftest.$ac_ext >&5
6572
 
 
6573
 
 
6574
4977
fi
6575
 
 
6576
4978
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6577
4979
    fi
6578
4980
    if test $ac_cv_c_bigendian = unknown; then
6579
4981
      # Compile a test program.
6580
 
      if test "$cross_compiling" = yes; then
 
4982
      if test "$cross_compiling" = yes; then :
6581
4983
  # Try to guess by grepping values from an object file.
6582
 
         cat >conftest.$ac_ext <<_ACEOF
6583
 
/* confdefs.h.  */
6584
 
_ACEOF
6585
 
cat confdefs.h >>conftest.$ac_ext
6586
 
cat >>conftest.$ac_ext <<_ACEOF
 
4984
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6587
4985
/* end confdefs.h.  */
6588
4986
short int ascii_mm[] =
6589
4987
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6609
5007
  return 0;
6610
5008
}
6611
5009
_ACEOF
6612
 
rm -f conftest.$ac_objext
6613
 
if { (ac_try="$ac_compile"
6614
 
case "(($ac_try" in
6615
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6616
 
  *) ac_try_echo=$ac_try;;
6617
 
esac
6618
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6619
 
$as_echo "$ac_try_echo") >&5
6620
 
  (eval "$ac_compile") 2>conftest.er1
6621
 
  ac_status=$?
6622
 
  grep -v '^ *+' conftest.er1 >conftest.err
6623
 
  rm -f conftest.er1
6624
 
  cat conftest.err >&5
6625
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626
 
  (exit $ac_status); } && {
6627
 
         test -z "$ac_c_werror_flag" ||
6628
 
         test ! -s conftest.err
6629
 
       } && test -s conftest.$ac_objext; then
 
5010
if ac_fn_c_try_compile "$LINENO"; then :
6630
5011
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6631
5012
              ac_cv_c_bigendian=yes
6632
5013
            fi
6638
5019
                ac_cv_c_bigendian=unknown
6639
5020
              fi
6640
5021
            fi
6641
 
else
6642
 
  $as_echo "$as_me: failed program was:" >&5
6643
 
sed 's/^/| /' conftest.$ac_ext >&5
6644
 
 
6645
 
 
6646
5022
fi
6647
 
 
6648
5023
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6649
5024
else
6650
 
  cat >conftest.$ac_ext <<_ACEOF
6651
 
/* confdefs.h.  */
6652
 
_ACEOF
6653
 
cat confdefs.h >>conftest.$ac_ext
6654
 
cat >>conftest.$ac_ext <<_ACEOF
 
5025
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6655
5026
/* end confdefs.h.  */
6656
5027
$ac_includes_default
6657
5028
int
6671
5042
  return 0;
6672
5043
}
6673
5044
_ACEOF
6674
 
rm -f conftest$ac_exeext
6675
 
if { (ac_try="$ac_link"
6676
 
case "(($ac_try" in
6677
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678
 
  *) ac_try_echo=$ac_try;;
6679
 
esac
6680
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6681
 
$as_echo "$ac_try_echo") >&5
6682
 
  (eval "$ac_link") 2>&5
6683
 
  ac_status=$?
6684
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6686
 
  { (case "(($ac_try" in
6687
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6688
 
  *) ac_try_echo=$ac_try;;
6689
 
esac
6690
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6691
 
$as_echo "$ac_try_echo") >&5
6692
 
  (eval "$ac_try") 2>&5
6693
 
  ac_status=$?
6694
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695
 
  (exit $ac_status); }; }; then
 
5045
if ac_fn_c_try_run "$LINENO"; then :
6696
5046
  ac_cv_c_bigendian=no
6697
5047
else
6698
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
6699
 
$as_echo "$as_me: failed program was:" >&5
6700
 
sed 's/^/| /' conftest.$ac_ext >&5
6701
 
 
6702
 
( exit $ac_status )
6703
 
ac_cv_c_bigendian=yes
6704
 
fi
6705
 
rm -rf conftest.dSYM
6706
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6707
 
fi
6708
 
 
 
5048
  ac_cv_c_bigendian=yes
 
5049
fi
 
5050
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5051
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5052
fi
6709
5053
 
6710
5054
    fi
6711
5055
fi
6712
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
5056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6713
5057
$as_echo "$ac_cv_c_bigendian" >&6; }
6714
5058
 case $ac_cv_c_bigendian in #(
6715
5059
   yes)
6716
 
     cat >>confdefs.h <<\_ACEOF
6717
 
#define WORDS_BIGENDIAN 1
6718
 
_ACEOF
 
5060
     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6719
5061
;; #(
6720
5062
   no)
6721
5063
      ;; #(
6722
5064
   universal)
6723
 
      ;; #(
 
5065
 
 
5066
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
 
5067
 
 
5068
     ;; #(
6724
5069
   *)
6725
 
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
6726
 
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
6727
 
$as_echo "$as_me: error: unknown endianness
6728
 
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
6729
 
   { (exit 1); exit 1; }; } ;;
 
5070
     as_fn_error $? "unknown endianness
 
5071
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6730
5072
 esac
6731
5073
 
6732
5074
 
6733
 
 
6734
 
 
6735
 
 
6736
 
 
6737
 
 
6738
 
 
6739
 
 
6740
 
 
6741
5075
for ac_header in \
6742
5076
        errno.h \
6743
5077
        netdb.h \
6748
5082
        time.h \
6749
5083
        unistd.h \
6750
5084
 
6751
 
do
6752
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6753
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6754
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6755
 
$as_echo_n "checking for $ac_header... " >&6; }
6756
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6757
 
  $as_echo_n "(cached) " >&6
6758
 
fi
6759
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6760
 
                 $as_echo "$as_val"'`
6761
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6762
 
$as_echo "$ac_res" >&6; }
6763
 
else
6764
 
  # Is the header compilable?
6765
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6766
 
$as_echo_n "checking $ac_header usability... " >&6; }
6767
 
cat >conftest.$ac_ext <<_ACEOF
6768
 
/* confdefs.h.  */
6769
 
_ACEOF
6770
 
cat confdefs.h >>conftest.$ac_ext
6771
 
cat >>conftest.$ac_ext <<_ACEOF
6772
 
/* end confdefs.h.  */
6773
 
$ac_includes_default
6774
 
#include <$ac_header>
6775
 
_ACEOF
6776
 
rm -f conftest.$ac_objext
6777
 
if { (ac_try="$ac_compile"
6778
 
case "(($ac_try" in
6779
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6780
 
  *) ac_try_echo=$ac_try;;
6781
 
esac
6782
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6783
 
$as_echo "$ac_try_echo") >&5
6784
 
  (eval "$ac_compile") 2>conftest.er1
6785
 
  ac_status=$?
6786
 
  grep -v '^ *+' conftest.er1 >conftest.err
6787
 
  rm -f conftest.er1
6788
 
  cat conftest.err >&5
6789
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790
 
  (exit $ac_status); } && {
6791
 
         test -z "$ac_c_werror_flag" ||
6792
 
         test ! -s conftest.err
6793
 
       } && test -s conftest.$ac_objext; then
6794
 
  ac_header_compiler=yes
6795
 
else
6796
 
  $as_echo "$as_me: failed program was:" >&5
6797
 
sed 's/^/| /' conftest.$ac_ext >&5
6798
 
 
6799
 
        ac_header_compiler=no
6800
 
fi
6801
 
 
6802
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6803
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6804
 
$as_echo "$ac_header_compiler" >&6; }
6805
 
 
6806
 
# Is the header present?
6807
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6808
 
$as_echo_n "checking $ac_header presence... " >&6; }
6809
 
cat >conftest.$ac_ext <<_ACEOF
6810
 
/* confdefs.h.  */
6811
 
_ACEOF
6812
 
cat confdefs.h >>conftest.$ac_ext
6813
 
cat >>conftest.$ac_ext <<_ACEOF
6814
 
/* end confdefs.h.  */
6815
 
#include <$ac_header>
6816
 
_ACEOF
6817
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6818
 
case "(($ac_try" in
6819
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6820
 
  *) ac_try_echo=$ac_try;;
6821
 
esac
6822
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6823
 
$as_echo "$ac_try_echo") >&5
6824
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6825
 
  ac_status=$?
6826
 
  grep -v '^ *+' conftest.er1 >conftest.err
6827
 
  rm -f conftest.er1
6828
 
  cat conftest.err >&5
6829
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830
 
  (exit $ac_status); } >/dev/null && {
6831
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6832
 
         test ! -s conftest.err
6833
 
       }; then
6834
 
  ac_header_preproc=yes
6835
 
else
6836
 
  $as_echo "$as_me: failed program was:" >&5
6837
 
sed 's/^/| /' conftest.$ac_ext >&5
6838
 
 
6839
 
  ac_header_preproc=no
6840
 
fi
6841
 
 
6842
 
rm -f conftest.err conftest.$ac_ext
6843
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6844
 
$as_echo "$ac_header_preproc" >&6; }
6845
 
 
6846
 
# So?  What about this header?
6847
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6848
 
  yes:no: )
6849
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6850
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6851
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6852
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6853
 
    ac_header_preproc=yes
6854
 
    ;;
6855
 
  no:yes:* )
6856
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6857
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6858
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6859
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6860
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6861
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6862
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6863
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6864
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6865
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6866
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6867
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6868
 
    ( cat <<\_ASBOX
6869
 
## -------------------------------------------- ##
6870
 
## Report this to markus_moeller@compuserve.com ##
6871
 
## -------------------------------------------- ##
6872
 
_ASBOX
6873
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
6874
 
    ;;
6875
 
esac
6876
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6877
 
$as_echo_n "checking for $ac_header... " >&6; }
6878
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6879
 
  $as_echo_n "(cached) " >&6
6880
 
else
6881
 
  eval "$as_ac_Header=\$ac_header_preproc"
6882
 
fi
6883
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6884
 
                 $as_echo "$as_val"'`
6885
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6886
 
$as_echo "$ac_res" >&6; }
6887
 
 
6888
 
fi
6889
 
if test `eval 'as_val=${'$as_ac_Header'}
6890
 
                 $as_echo "$as_val"'` = yes; then
 
5085
do :
 
5086
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5087
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
5088
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6891
5089
  cat >>confdefs.h <<_ACEOF
6892
5090
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6893
5091
_ACEOF
6902
5100
 
6903
5101
 
6904
5102
 
6905
 
 
6906
5103
squid_dir=
6907
5104
 
6908
5105
# Check whether --with-squid was given.
6909
 
if test "${with_squid+set}" = set; then
 
5106
if test "${with_squid+set}" = set; then :
6910
5107
  withval=$with_squid;  squid_dir=$withval
6911
5108
 
6912
5109
fi
6913
5110
 
6914
5111
 
6915
5112
CPPFLAGS="$CPPFLAGS -I../../../ -I../../../include/ -I$squid_dir/include -I$squid_dir/src -I$squid_dir"
6916
 
{ $as_echo "$as_me:$LINENO: checking for SQUID at '$squid_dir' " >&5
 
5113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQUID at '$squid_dir' " >&5
6917
5114
$as_echo_n "checking for SQUID at '$squid_dir' ... " >&6; }
6918
 
if test "${ac_cv_have_squid+set}" = set; then
 
5115
if ${ac_cv_have_squid+:} false; then :
6919
5116
  $as_echo_n "(cached) " >&6
6920
5117
else
6921
5118
 
6922
 
if test "$cross_compiling" = yes; then
6923
 
  { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6924
 
See \`config.log' for more details." >&5
6925
 
$as_echo "$as_me: error: cannot run test program while cross compiling
6926
 
See \`config.log' for more details." >&2;}
6927
 
   { (exit 1); exit 1; }; }
 
5119
if test "$cross_compiling" = yes; then :
 
5120
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
5121
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5122
as_fn_error $? "cannot run test program while cross compiling
 
5123
See \`config.log' for more details" "$LINENO" 5; }
6928
5124
else
6929
 
  cat >conftest.$ac_ext <<_ACEOF
6930
 
/* confdefs.h.  */
6931
 
_ACEOF
6932
 
cat confdefs.h >>conftest.$ac_ext
6933
 
cat >>conftest.$ac_ext <<_ACEOF
 
5125
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6934
5126
/* end confdefs.h.  */
6935
5127
 
6936
5128
#include <config.h>
6942
5134
#endif
6943
5135
}
6944
5136
_ACEOF
6945
 
rm -f conftest$ac_exeext
6946
 
if { (ac_try="$ac_link"
6947
 
case "(($ac_try" in
6948
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6949
 
  *) ac_try_echo=$ac_try;;
6950
 
esac
6951
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6952
 
$as_echo "$ac_try_echo") >&5
6953
 
  (eval "$ac_link") 2>&5
6954
 
  ac_status=$?
6955
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6957
 
  { (case "(($ac_try" in
6958
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6959
 
  *) ac_try_echo=$ac_try;;
6960
 
esac
6961
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6962
 
$as_echo "$ac_try_echo") >&5
6963
 
  (eval "$ac_try") 2>&5
6964
 
  ac_status=$?
6965
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966
 
  (exit $ac_status); }; }; then
 
5137
if ac_fn_c_try_run "$LINENO"; then :
6967
5138
  ac_cv_have_squid=yes
6968
5139
else
6969
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
6970
 
$as_echo "$as_me: failed program was:" >&5
6971
 
sed 's/^/| /' conftest.$ac_ext >&5
6972
 
 
6973
 
( exit $ac_status )
6974
 
ac_cv_have_squid=no
6975
 
fi
6976
 
rm -rf conftest.dSYM
6977
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6978
 
fi
6979
 
 
6980
 
 
6981
 
 
6982
 
fi
6983
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_squid" >&5
 
5140
  ac_cv_have_squid=no
 
5141
fi
 
5142
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5143
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5144
fi
 
5145
 
 
5146
 
 
5147
fi
 
5148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_squid" >&5
6984
5149
$as_echo "$ac_cv_have_squid" >&6; }
6985
5150
LDFLAGS="$LDFLAGS -L../../../lib"
6986
5151
if test "x$ac_cv_have_squid" = "xyes"; then
6987
5152
 
6988
 
cat >>confdefs.h <<\_ACEOF
6989
 
#define HAVE_SQUID 1
6990
 
_ACEOF
6991
 
 
6992
 
 
6993
 
 
6994
 
 
6995
 
for ac_header in getaddrinfo.h getnameinfo.h util.h
6996
 
do
6997
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6998
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6999
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7000
 
$as_echo_n "checking for $ac_header... " >&6; }
7001
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7002
 
  $as_echo_n "(cached) " >&6
7003
 
fi
7004
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7005
 
                 $as_echo "$as_val"'`
7006
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7007
 
$as_echo "$ac_res" >&6; }
7008
 
else
7009
 
  # Is the header compilable?
7010
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7011
 
$as_echo_n "checking $ac_header usability... " >&6; }
7012
 
cat >conftest.$ac_ext <<_ACEOF
7013
 
/* confdefs.h.  */
7014
 
_ACEOF
7015
 
cat confdefs.h >>conftest.$ac_ext
7016
 
cat >>conftest.$ac_ext <<_ACEOF
7017
 
/* end confdefs.h.  */
7018
 
$ac_includes_default
7019
 
#include <$ac_header>
7020
 
_ACEOF
7021
 
rm -f conftest.$ac_objext
7022
 
if { (ac_try="$ac_compile"
7023
 
case "(($ac_try" in
7024
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7025
 
  *) ac_try_echo=$ac_try;;
7026
 
esac
7027
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7028
 
$as_echo "$ac_try_echo") >&5
7029
 
  (eval "$ac_compile") 2>conftest.er1
7030
 
  ac_status=$?
7031
 
  grep -v '^ *+' conftest.er1 >conftest.err
7032
 
  rm -f conftest.er1
7033
 
  cat conftest.err >&5
7034
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035
 
  (exit $ac_status); } && {
7036
 
         test -z "$ac_c_werror_flag" ||
7037
 
         test ! -s conftest.err
7038
 
       } && test -s conftest.$ac_objext; then
7039
 
  ac_header_compiler=yes
7040
 
else
7041
 
  $as_echo "$as_me: failed program was:" >&5
7042
 
sed 's/^/| /' conftest.$ac_ext >&5
7043
 
 
7044
 
        ac_header_compiler=no
7045
 
fi
7046
 
 
7047
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7048
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7049
 
$as_echo "$ac_header_compiler" >&6; }
7050
 
 
7051
 
# Is the header present?
7052
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7053
 
$as_echo_n "checking $ac_header presence... " >&6; }
7054
 
cat >conftest.$ac_ext <<_ACEOF
7055
 
/* confdefs.h.  */
7056
 
_ACEOF
7057
 
cat confdefs.h >>conftest.$ac_ext
7058
 
cat >>conftest.$ac_ext <<_ACEOF
7059
 
/* end confdefs.h.  */
7060
 
#include <$ac_header>
7061
 
_ACEOF
7062
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7063
 
case "(($ac_try" in
7064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7065
 
  *) ac_try_echo=$ac_try;;
7066
 
esac
7067
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7068
 
$as_echo "$ac_try_echo") >&5
7069
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7070
 
  ac_status=$?
7071
 
  grep -v '^ *+' conftest.er1 >conftest.err
7072
 
  rm -f conftest.er1
7073
 
  cat conftest.err >&5
7074
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075
 
  (exit $ac_status); } >/dev/null && {
7076
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7077
 
         test ! -s conftest.err
7078
 
       }; then
7079
 
  ac_header_preproc=yes
7080
 
else
7081
 
  $as_echo "$as_me: failed program was:" >&5
7082
 
sed 's/^/| /' conftest.$ac_ext >&5
7083
 
 
7084
 
  ac_header_preproc=no
7085
 
fi
7086
 
 
7087
 
rm -f conftest.err conftest.$ac_ext
7088
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7089
 
$as_echo "$ac_header_preproc" >&6; }
7090
 
 
7091
 
# So?  What about this header?
7092
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7093
 
  yes:no: )
7094
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7095
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7096
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7097
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7098
 
    ac_header_preproc=yes
7099
 
    ;;
7100
 
  no:yes:* )
7101
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7102
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7103
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7104
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7105
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7106
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7107
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7108
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7109
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7110
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7111
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7112
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7113
 
    ( cat <<\_ASBOX
7114
 
## -------------------------------------------- ##
7115
 
## Report this to markus_moeller@compuserve.com ##
7116
 
## -------------------------------------------- ##
7117
 
_ASBOX
7118
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
7119
 
    ;;
7120
 
esac
7121
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7122
 
$as_echo_n "checking for $ac_header... " >&6; }
7123
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7124
 
  $as_echo_n "(cached) " >&6
7125
 
else
7126
 
  eval "$as_ac_Header=\$ac_header_preproc"
7127
 
fi
7128
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7129
 
                 $as_echo "$as_val"'`
7130
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7131
 
$as_echo "$ac_res" >&6; }
7132
 
 
7133
 
fi
7134
 
if test `eval 'as_val=${'$as_ac_Header'}
7135
 
                 $as_echo "$as_val"'` = yes; then
 
5153
$as_echo "#define HAVE_SQUID 1" >>confdefs.h
 
5154
 
 
5155
  for ac_header in getaddrinfo.h getnameinfo.h util.h
 
5156
do :
 
5157
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5158
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
5159
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7136
5160
  cat >>confdefs.h <<_ACEOF
7137
5161
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7138
5162
_ACEOF
7141
5165
 
7142
5166
done
7143
5167
 
7144
 
  { $as_echo "$as_me:$LINENO: checking whether xgetaddrinfo is declared" >&5
7145
 
$as_echo_n "checking whether xgetaddrinfo is declared... " >&6; }
7146
 
if test "${ac_cv_have_decl_xgetaddrinfo+set}" = set; then
7147
 
  $as_echo_n "(cached) " >&6
7148
 
else
7149
 
  cat >conftest.$ac_ext <<_ACEOF
7150
 
/* confdefs.h.  */
7151
 
_ACEOF
7152
 
cat confdefs.h >>conftest.$ac_ext
7153
 
cat >>conftest.$ac_ext <<_ACEOF
7154
 
/* end confdefs.h.  */
7155
 
#include <getaddrinfo.h>
7156
 
 
7157
 
int
7158
 
main ()
7159
 
{
7160
 
#ifndef xgetaddrinfo
7161
 
  (void) xgetaddrinfo;
7162
 
#endif
7163
 
 
7164
 
  ;
7165
 
  return 0;
7166
 
}
7167
 
_ACEOF
7168
 
rm -f conftest.$ac_objext
7169
 
if { (ac_try="$ac_compile"
7170
 
case "(($ac_try" in
7171
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7172
 
  *) ac_try_echo=$ac_try;;
7173
 
esac
7174
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7175
 
$as_echo "$ac_try_echo") >&5
7176
 
  (eval "$ac_compile") 2>conftest.er1
7177
 
  ac_status=$?
7178
 
  grep -v '^ *+' conftest.er1 >conftest.err
7179
 
  rm -f conftest.er1
7180
 
  cat conftest.err >&5
7181
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182
 
  (exit $ac_status); } && {
7183
 
         test -z "$ac_c_werror_flag" ||
7184
 
         test ! -s conftest.err
7185
 
       } && test -s conftest.$ac_objext; then
7186
 
  ac_cv_have_decl_xgetaddrinfo=yes
7187
 
else
7188
 
  $as_echo "$as_me: failed program was:" >&5
7189
 
sed 's/^/| /' conftest.$ac_ext >&5
7190
 
 
7191
 
        ac_cv_have_decl_xgetaddrinfo=no
7192
 
fi
7193
 
 
7194
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7195
 
fi
7196
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xgetaddrinfo" >&5
7197
 
$as_echo "$ac_cv_have_decl_xgetaddrinfo" >&6; }
7198
 
if test $ac_cv_have_decl_xgetaddrinfo = yes; then
7199
 
 
7200
 
cat >>confdefs.h <<_ACEOF
7201
 
#define HAVE_DECL_XGETADDRINFO 1
7202
 
_ACEOF
7203
 
 
7204
 
 
7205
 
else
7206
 
  cat >>confdefs.h <<_ACEOF
7207
 
#define HAVE_DECL_XGETADDRINFO 0
7208
 
_ACEOF
7209
 
 
7210
 
 
7211
 
fi
7212
 
 
7213
 
 
7214
 
  { $as_echo "$as_me:$LINENO: checking whether xfreeaddrinfo is declared" >&5
7215
 
$as_echo_n "checking whether xfreeaddrinfo is declared... " >&6; }
7216
 
if test "${ac_cv_have_decl_xfreeaddrinfo+set}" = set; then
7217
 
  $as_echo_n "(cached) " >&6
7218
 
else
7219
 
  cat >conftest.$ac_ext <<_ACEOF
7220
 
/* confdefs.h.  */
7221
 
_ACEOF
7222
 
cat confdefs.h >>conftest.$ac_ext
7223
 
cat >>conftest.$ac_ext <<_ACEOF
7224
 
/* end confdefs.h.  */
7225
 
#include <getaddrinfo.h>
7226
 
 
7227
 
int
7228
 
main ()
7229
 
{
7230
 
#ifndef xfreeaddrinfo
7231
 
  (void) xfreeaddrinfo;
7232
 
#endif
7233
 
 
7234
 
  ;
7235
 
  return 0;
7236
 
}
7237
 
_ACEOF
7238
 
rm -f conftest.$ac_objext
7239
 
if { (ac_try="$ac_compile"
7240
 
case "(($ac_try" in
7241
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7242
 
  *) ac_try_echo=$ac_try;;
7243
 
esac
7244
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7245
 
$as_echo "$ac_try_echo") >&5
7246
 
  (eval "$ac_compile") 2>conftest.er1
7247
 
  ac_status=$?
7248
 
  grep -v '^ *+' conftest.er1 >conftest.err
7249
 
  rm -f conftest.er1
7250
 
  cat conftest.err >&5
7251
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252
 
  (exit $ac_status); } && {
7253
 
         test -z "$ac_c_werror_flag" ||
7254
 
         test ! -s conftest.err
7255
 
       } && test -s conftest.$ac_objext; then
7256
 
  ac_cv_have_decl_xfreeaddrinfo=yes
7257
 
else
7258
 
  $as_echo "$as_me: failed program was:" >&5
7259
 
sed 's/^/| /' conftest.$ac_ext >&5
7260
 
 
7261
 
        ac_cv_have_decl_xfreeaddrinfo=no
7262
 
fi
7263
 
 
7264
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7265
 
fi
7266
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xfreeaddrinfo" >&5
7267
 
$as_echo "$ac_cv_have_decl_xfreeaddrinfo" >&6; }
7268
 
if test $ac_cv_have_decl_xfreeaddrinfo = yes; then
7269
 
 
7270
 
cat >>confdefs.h <<_ACEOF
7271
 
#define HAVE_DECL_XFREEADDRINFO 1
7272
 
_ACEOF
7273
 
 
7274
 
 
7275
 
else
7276
 
  cat >>confdefs.h <<_ACEOF
7277
 
#define HAVE_DECL_XFREEADDRINFO 0
7278
 
_ACEOF
7279
 
 
7280
 
 
7281
 
fi
7282
 
 
7283
 
 
7284
 
  { $as_echo "$as_me:$LINENO: checking whether xgai_strerror is declared" >&5
7285
 
$as_echo_n "checking whether xgai_strerror is declared... " >&6; }
7286
 
if test "${ac_cv_have_decl_xgai_strerror+set}" = set; then
7287
 
  $as_echo_n "(cached) " >&6
7288
 
else
7289
 
  cat >conftest.$ac_ext <<_ACEOF
7290
 
/* confdefs.h.  */
7291
 
_ACEOF
7292
 
cat confdefs.h >>conftest.$ac_ext
7293
 
cat >>conftest.$ac_ext <<_ACEOF
7294
 
/* end confdefs.h.  */
7295
 
#include <getaddrinfo.h>
7296
 
 
7297
 
int
7298
 
main ()
7299
 
{
7300
 
#ifndef xgai_strerror
7301
 
  (void) xgai_strerror;
7302
 
#endif
7303
 
 
7304
 
  ;
7305
 
  return 0;
7306
 
}
7307
 
_ACEOF
7308
 
rm -f conftest.$ac_objext
7309
 
if { (ac_try="$ac_compile"
7310
 
case "(($ac_try" in
7311
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7312
 
  *) ac_try_echo=$ac_try;;
7313
 
esac
7314
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7315
 
$as_echo "$ac_try_echo") >&5
7316
 
  (eval "$ac_compile") 2>conftest.er1
7317
 
  ac_status=$?
7318
 
  grep -v '^ *+' conftest.er1 >conftest.err
7319
 
  rm -f conftest.er1
7320
 
  cat conftest.err >&5
7321
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322
 
  (exit $ac_status); } && {
7323
 
         test -z "$ac_c_werror_flag" ||
7324
 
         test ! -s conftest.err
7325
 
       } && test -s conftest.$ac_objext; then
7326
 
  ac_cv_have_decl_xgai_strerror=yes
7327
 
else
7328
 
  $as_echo "$as_me: failed program was:" >&5
7329
 
sed 's/^/| /' conftest.$ac_ext >&5
7330
 
 
7331
 
        ac_cv_have_decl_xgai_strerror=no
7332
 
fi
7333
 
 
7334
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7335
 
fi
7336
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xgai_strerror" >&5
7337
 
$as_echo "$ac_cv_have_decl_xgai_strerror" >&6; }
7338
 
if test $ac_cv_have_decl_xgai_strerror = yes; then
7339
 
 
7340
 
cat >>confdefs.h <<_ACEOF
7341
 
#define HAVE_DECL_XGAI_STRERROR 1
7342
 
_ACEOF
7343
 
 
7344
 
 
7345
 
else
7346
 
  cat >>confdefs.h <<_ACEOF
7347
 
#define HAVE_DECL_XGAI_STRERROR 0
7348
 
_ACEOF
7349
 
 
7350
 
 
7351
 
fi
7352
 
 
7353
 
 
7354
 
  { $as_echo "$as_me:$LINENO: checking whether xgetnameinfo is declared" >&5
7355
 
$as_echo_n "checking whether xgetnameinfo is declared... " >&6; }
7356
 
if test "${ac_cv_have_decl_xgetnameinfo+set}" = set; then
7357
 
  $as_echo_n "(cached) " >&6
7358
 
else
7359
 
  cat >conftest.$ac_ext <<_ACEOF
7360
 
/* confdefs.h.  */
7361
 
_ACEOF
7362
 
cat confdefs.h >>conftest.$ac_ext
7363
 
cat >>conftest.$ac_ext <<_ACEOF
7364
 
/* end confdefs.h.  */
7365
 
#include <getnameinfo.h>
7366
 
 
7367
 
int
7368
 
main ()
7369
 
{
7370
 
#ifndef xgetnameinfo
7371
 
  (void) xgetnameinfo;
7372
 
#endif
7373
 
 
7374
 
  ;
7375
 
  return 0;
7376
 
}
7377
 
_ACEOF
7378
 
rm -f conftest.$ac_objext
7379
 
if { (ac_try="$ac_compile"
7380
 
case "(($ac_try" in
7381
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7382
 
  *) ac_try_echo=$ac_try;;
7383
 
esac
7384
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7385
 
$as_echo "$ac_try_echo") >&5
7386
 
  (eval "$ac_compile") 2>conftest.er1
7387
 
  ac_status=$?
7388
 
  grep -v '^ *+' conftest.er1 >conftest.err
7389
 
  rm -f conftest.er1
7390
 
  cat conftest.err >&5
7391
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392
 
  (exit $ac_status); } && {
7393
 
         test -z "$ac_c_werror_flag" ||
7394
 
         test ! -s conftest.err
7395
 
       } && test -s conftest.$ac_objext; then
7396
 
  ac_cv_have_decl_xgetnameinfo=yes
7397
 
else
7398
 
  $as_echo "$as_me: failed program was:" >&5
7399
 
sed 's/^/| /' conftest.$ac_ext >&5
7400
 
 
7401
 
        ac_cv_have_decl_xgetnameinfo=no
7402
 
fi
7403
 
 
7404
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7405
 
fi
7406
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xgetnameinfo" >&5
7407
 
$as_echo "$ac_cv_have_decl_xgetnameinfo" >&6; }
7408
 
if test $ac_cv_have_decl_xgetnameinfo = yes; then
7409
 
 
7410
 
cat >>confdefs.h <<_ACEOF
7411
 
#define HAVE_DECL_XGETNAMEINFO 1
7412
 
_ACEOF
7413
 
 
7414
 
 
7415
 
else
7416
 
  cat >>confdefs.h <<_ACEOF
7417
 
#define HAVE_DECL_XGETNAMEINFO 0
7418
 
_ACEOF
7419
 
 
7420
 
 
7421
 
fi
7422
 
 
7423
 
 
7424
 
  { $as_echo "$as_me:$LINENO: checking whether xstrdup is declared" >&5
7425
 
$as_echo_n "checking whether xstrdup is declared... " >&6; }
7426
 
if test "${ac_cv_have_decl_xstrdup+set}" = set; then
7427
 
  $as_echo_n "(cached) " >&6
7428
 
else
7429
 
  cat >conftest.$ac_ext <<_ACEOF
7430
 
/* confdefs.h.  */
7431
 
_ACEOF
7432
 
cat confdefs.h >>conftest.$ac_ext
7433
 
cat >>conftest.$ac_ext <<_ACEOF
7434
 
/* end confdefs.h.  */
7435
 
#include <util.h>
7436
 
 
7437
 
int
7438
 
main ()
7439
 
{
7440
 
#ifndef xstrdup
7441
 
  (void) xstrdup;
7442
 
#endif
7443
 
 
7444
 
  ;
7445
 
  return 0;
7446
 
}
7447
 
_ACEOF
7448
 
rm -f conftest.$ac_objext
7449
 
if { (ac_try="$ac_compile"
7450
 
case "(($ac_try" in
7451
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7452
 
  *) ac_try_echo=$ac_try;;
7453
 
esac
7454
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7455
 
$as_echo "$ac_try_echo") >&5
7456
 
  (eval "$ac_compile") 2>conftest.er1
7457
 
  ac_status=$?
7458
 
  grep -v '^ *+' conftest.er1 >conftest.err
7459
 
  rm -f conftest.er1
7460
 
  cat conftest.err >&5
7461
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462
 
  (exit $ac_status); } && {
7463
 
         test -z "$ac_c_werror_flag" ||
7464
 
         test ! -s conftest.err
7465
 
       } && test -s conftest.$ac_objext; then
7466
 
  ac_cv_have_decl_xstrdup=yes
7467
 
else
7468
 
  $as_echo "$as_me: failed program was:" >&5
7469
 
sed 's/^/| /' conftest.$ac_ext >&5
7470
 
 
7471
 
        ac_cv_have_decl_xstrdup=no
7472
 
fi
7473
 
 
7474
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7475
 
fi
7476
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xstrdup" >&5
7477
 
$as_echo "$ac_cv_have_decl_xstrdup" >&6; }
7478
 
if test $ac_cv_have_decl_xstrdup = yes; then
7479
 
 
7480
 
cat >>confdefs.h <<_ACEOF
7481
 
#define HAVE_DECL_XSTRDUP 1
7482
 
_ACEOF
7483
 
 
7484
 
 
7485
 
else
7486
 
  cat >>confdefs.h <<_ACEOF
7487
 
#define HAVE_DECL_XSTRDUP 0
7488
 
_ACEOF
7489
 
 
7490
 
 
7491
 
fi
7492
 
 
7493
 
 
7494
 
  { $as_echo "$as_me:$LINENO: checking whether xmalloc is declared" >&5
7495
 
$as_echo_n "checking whether xmalloc is declared... " >&6; }
7496
 
if test "${ac_cv_have_decl_xmalloc+set}" = set; then
7497
 
  $as_echo_n "(cached) " >&6
7498
 
else
7499
 
  cat >conftest.$ac_ext <<_ACEOF
7500
 
/* confdefs.h.  */
7501
 
_ACEOF
7502
 
cat confdefs.h >>conftest.$ac_ext
7503
 
cat >>conftest.$ac_ext <<_ACEOF
7504
 
/* end confdefs.h.  */
7505
 
#include <util.h>
7506
 
 
7507
 
int
7508
 
main ()
7509
 
{
7510
 
#ifndef xmalloc
7511
 
  (void) xmalloc;
7512
 
#endif
7513
 
 
7514
 
  ;
7515
 
  return 0;
7516
 
}
7517
 
_ACEOF
7518
 
rm -f conftest.$ac_objext
7519
 
if { (ac_try="$ac_compile"
7520
 
case "(($ac_try" in
7521
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7522
 
  *) ac_try_echo=$ac_try;;
7523
 
esac
7524
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7525
 
$as_echo "$ac_try_echo") >&5
7526
 
  (eval "$ac_compile") 2>conftest.er1
7527
 
  ac_status=$?
7528
 
  grep -v '^ *+' conftest.er1 >conftest.err
7529
 
  rm -f conftest.er1
7530
 
  cat conftest.err >&5
7531
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532
 
  (exit $ac_status); } && {
7533
 
         test -z "$ac_c_werror_flag" ||
7534
 
         test ! -s conftest.err
7535
 
       } && test -s conftest.$ac_objext; then
7536
 
  ac_cv_have_decl_xmalloc=yes
7537
 
else
7538
 
  $as_echo "$as_me: failed program was:" >&5
7539
 
sed 's/^/| /' conftest.$ac_ext >&5
7540
 
 
7541
 
        ac_cv_have_decl_xmalloc=no
7542
 
fi
7543
 
 
7544
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7545
 
fi
7546
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xmalloc" >&5
7547
 
$as_echo "$ac_cv_have_decl_xmalloc" >&6; }
7548
 
if test $ac_cv_have_decl_xmalloc = yes; then
7549
 
 
7550
 
cat >>confdefs.h <<_ACEOF
7551
 
#define HAVE_DECL_XMALLOC 1
7552
 
_ACEOF
7553
 
 
7554
 
 
7555
 
else
7556
 
  cat >>confdefs.h <<_ACEOF
7557
 
#define HAVE_DECL_XMALLOC 0
7558
 
_ACEOF
7559
 
 
7560
 
 
7561
 
fi
7562
 
 
7563
 
 
7564
 
  { $as_echo "$as_me:$LINENO: checking whether xfree is declared" >&5
7565
 
$as_echo_n "checking whether xfree is declared... " >&6; }
7566
 
if test "${ac_cv_have_decl_xfree+set}" = set; then
7567
 
  $as_echo_n "(cached) " >&6
7568
 
else
7569
 
  cat >conftest.$ac_ext <<_ACEOF
7570
 
/* confdefs.h.  */
7571
 
_ACEOF
7572
 
cat confdefs.h >>conftest.$ac_ext
7573
 
cat >>conftest.$ac_ext <<_ACEOF
7574
 
/* end confdefs.h.  */
7575
 
#include <util.h>
7576
 
 
7577
 
int
7578
 
main ()
7579
 
{
7580
 
#ifndef xfree
7581
 
  (void) xfree;
7582
 
#endif
7583
 
 
7584
 
  ;
7585
 
  return 0;
7586
 
}
7587
 
_ACEOF
7588
 
rm -f conftest.$ac_objext
7589
 
if { (ac_try="$ac_compile"
7590
 
case "(($ac_try" in
7591
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7592
 
  *) ac_try_echo=$ac_try;;
7593
 
esac
7594
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7595
 
$as_echo "$ac_try_echo") >&5
7596
 
  (eval "$ac_compile") 2>conftest.er1
7597
 
  ac_status=$?
7598
 
  grep -v '^ *+' conftest.er1 >conftest.err
7599
 
  rm -f conftest.er1
7600
 
  cat conftest.err >&5
7601
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602
 
  (exit $ac_status); } && {
7603
 
         test -z "$ac_c_werror_flag" ||
7604
 
         test ! -s conftest.err
7605
 
       } && test -s conftest.$ac_objext; then
7606
 
  ac_cv_have_decl_xfree=yes
7607
 
else
7608
 
  $as_echo "$as_me: failed program was:" >&5
7609
 
sed 's/^/| /' conftest.$ac_ext >&5
7610
 
 
7611
 
        ac_cv_have_decl_xfree=no
7612
 
fi
7613
 
 
7614
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7615
 
fi
7616
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xfree" >&5
7617
 
$as_echo "$ac_cv_have_decl_xfree" >&6; }
7618
 
if test $ac_cv_have_decl_xfree = yes; then
7619
 
 
7620
 
cat >>confdefs.h <<_ACEOF
7621
 
#define HAVE_DECL_XFREE 1
7622
 
_ACEOF
7623
 
 
7624
 
 
7625
 
else
7626
 
  cat >>confdefs.h <<_ACEOF
7627
 
#define HAVE_DECL_XFREE 0
7628
 
_ACEOF
7629
 
 
7630
 
 
7631
 
fi
7632
 
 
7633
 
 
7634
 
 
7635
 
{ $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
 
5168
  ac_fn_c_check_decl "$LINENO" "xgetaddrinfo" "ac_cv_have_decl_xgetaddrinfo" "#include <getaddrinfo.h>
 
5169
"
 
5170
if test "x$ac_cv_have_decl_xgetaddrinfo" = xyes; then :
 
5171
  ac_have_decl=1
 
5172
else
 
5173
  ac_have_decl=0
 
5174
fi
 
5175
 
 
5176
cat >>confdefs.h <<_ACEOF
 
5177
#define HAVE_DECL_XGETADDRINFO $ac_have_decl
 
5178
_ACEOF
 
5179
 
 
5180
  ac_fn_c_check_decl "$LINENO" "xfreeaddrinfo" "ac_cv_have_decl_xfreeaddrinfo" "#include <getaddrinfo.h>
 
5181
"
 
5182
if test "x$ac_cv_have_decl_xfreeaddrinfo" = xyes; then :
 
5183
  ac_have_decl=1
 
5184
else
 
5185
  ac_have_decl=0
 
5186
fi
 
5187
 
 
5188
cat >>confdefs.h <<_ACEOF
 
5189
#define HAVE_DECL_XFREEADDRINFO $ac_have_decl
 
5190
_ACEOF
 
5191
 
 
5192
  ac_fn_c_check_decl "$LINENO" "xgai_strerror" "ac_cv_have_decl_xgai_strerror" "#include <getaddrinfo.h>
 
5193
"
 
5194
if test "x$ac_cv_have_decl_xgai_strerror" = xyes; then :
 
5195
  ac_have_decl=1
 
5196
else
 
5197
  ac_have_decl=0
 
5198
fi
 
5199
 
 
5200
cat >>confdefs.h <<_ACEOF
 
5201
#define HAVE_DECL_XGAI_STRERROR $ac_have_decl
 
5202
_ACEOF
 
5203
 
 
5204
  ac_fn_c_check_decl "$LINENO" "xgetnameinfo" "ac_cv_have_decl_xgetnameinfo" "#include <getnameinfo.h>
 
5205
"
 
5206
if test "x$ac_cv_have_decl_xgetnameinfo" = xyes; then :
 
5207
  ac_have_decl=1
 
5208
else
 
5209
  ac_have_decl=0
 
5210
fi
 
5211
 
 
5212
cat >>confdefs.h <<_ACEOF
 
5213
#define HAVE_DECL_XGETNAMEINFO $ac_have_decl
 
5214
_ACEOF
 
5215
 
 
5216
  ac_fn_c_check_decl "$LINENO" "xstrdup" "ac_cv_have_decl_xstrdup" "#include <util.h>
 
5217
"
 
5218
if test "x$ac_cv_have_decl_xstrdup" = xyes; then :
 
5219
  ac_have_decl=1
 
5220
else
 
5221
  ac_have_decl=0
 
5222
fi
 
5223
 
 
5224
cat >>confdefs.h <<_ACEOF
 
5225
#define HAVE_DECL_XSTRDUP $ac_have_decl
 
5226
_ACEOF
 
5227
 
 
5228
  ac_fn_c_check_decl "$LINENO" "xmalloc" "ac_cv_have_decl_xmalloc" "#include <util.h>
 
5229
"
 
5230
if test "x$ac_cv_have_decl_xmalloc" = xyes; then :
 
5231
  ac_have_decl=1
 
5232
else
 
5233
  ac_have_decl=0
 
5234
fi
 
5235
 
 
5236
cat >>confdefs.h <<_ACEOF
 
5237
#define HAVE_DECL_XMALLOC $ac_have_decl
 
5238
_ACEOF
 
5239
 
 
5240
  ac_fn_c_check_decl "$LINENO" "xfree" "ac_cv_have_decl_xfree" "#include <util.h>
 
5241
"
 
5242
if test "x$ac_cv_have_decl_xfree" = xyes; then :
 
5243
  ac_have_decl=1
 
5244
else
 
5245
  ac_have_decl=0
 
5246
fi
 
5247
 
 
5248
cat >>confdefs.h <<_ACEOF
 
5249
#define HAVE_DECL_XFREE $ac_have_decl
 
5250
_ACEOF
 
5251
 
 
5252
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
7636
5253
$as_echo_n "checking for main in -lm... " >&6; }
7637
 
if test "${ac_cv_lib_m_main+set}" = set; then
 
5254
if ${ac_cv_lib_m_main+:} false; then :
7638
5255
  $as_echo_n "(cached) " >&6
7639
5256
else
7640
5257
  ac_check_lib_save_LIBS=$LIBS
7641
5258
LIBS="-lm  $LIBS"
7642
 
cat >conftest.$ac_ext <<_ACEOF
7643
 
/* confdefs.h.  */
7644
 
_ACEOF
7645
 
cat confdefs.h >>conftest.$ac_ext
7646
 
cat >>conftest.$ac_ext <<_ACEOF
 
5259
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7647
5260
/* end confdefs.h.  */
7648
5261
 
7649
5262
 
7655
5268
  return 0;
7656
5269
}
7657
5270
_ACEOF
7658
 
rm -f conftest.$ac_objext conftest$ac_exeext
7659
 
if { (ac_try="$ac_link"
7660
 
case "(($ac_try" in
7661
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7662
 
  *) ac_try_echo=$ac_try;;
7663
 
esac
7664
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7665
 
$as_echo "$ac_try_echo") >&5
7666
 
  (eval "$ac_link") 2>conftest.er1
7667
 
  ac_status=$?
7668
 
  grep -v '^ *+' conftest.er1 >conftest.err
7669
 
  rm -f conftest.er1
7670
 
  cat conftest.err >&5
7671
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672
 
  (exit $ac_status); } && {
7673
 
         test -z "$ac_c_werror_flag" ||
7674
 
         test ! -s conftest.err
7675
 
       } && test -s conftest$ac_exeext && {
7676
 
         test "$cross_compiling" = yes ||
7677
 
         $as_test_x conftest$ac_exeext
7678
 
       }; then
 
5271
if ac_fn_c_try_link "$LINENO"; then :
7679
5272
  ac_cv_lib_m_main=yes
7680
5273
else
7681
 
  $as_echo "$as_me: failed program was:" >&5
7682
 
sed 's/^/| /' conftest.$ac_ext >&5
7683
 
 
7684
 
        ac_cv_lib_m_main=no
 
5274
  ac_cv_lib_m_main=no
7685
5275
fi
7686
 
 
7687
 
rm -rf conftest.dSYM
7688
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7689
 
      conftest$ac_exeext conftest.$ac_ext
 
5276
rm -f core conftest.err conftest.$ac_objext \
 
5277
    conftest$ac_exeext conftest.$ac_ext
7690
5278
LIBS=$ac_check_lib_save_LIBS
7691
5279
fi
7692
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
 
5280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
7693
5281
$as_echo "$ac_cv_lib_m_main" >&6; }
7694
 
if test $ac_cv_lib_m_main = yes; then
 
5282
if test "x$ac_cv_lib_m_main" = xyes; then :
7695
5283
  cat >>confdefs.h <<_ACEOF
7696
5284
#define HAVE_LIBM 1
7697
5285
_ACEOF
7700
5288
 
7701
5289
fi
7702
5290
 
7703
 
 
7704
 
{ $as_echo "$as_me:$LINENO: checking for main in -lmw" >&5
 
5291
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmw" >&5
7705
5292
$as_echo_n "checking for main in -lmw... " >&6; }
7706
 
if test "${ac_cv_lib_mw_main+set}" = set; then
 
5293
if ${ac_cv_lib_mw_main+:} false; then :
7707
5294
  $as_echo_n "(cached) " >&6
7708
5295
else
7709
5296
  ac_check_lib_save_LIBS=$LIBS
7710
5297
LIBS="-lmw  $LIBS"
7711
 
cat >conftest.$ac_ext <<_ACEOF
7712
 
/* confdefs.h.  */
7713
 
_ACEOF
7714
 
cat confdefs.h >>conftest.$ac_ext
7715
 
cat >>conftest.$ac_ext <<_ACEOF
 
5298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716
5299
/* end confdefs.h.  */
7717
5300
 
7718
5301
 
7724
5307
  return 0;
7725
5308
}
7726
5309
_ACEOF
7727
 
rm -f conftest.$ac_objext conftest$ac_exeext
7728
 
if { (ac_try="$ac_link"
7729
 
case "(($ac_try" in
7730
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7731
 
  *) ac_try_echo=$ac_try;;
7732
 
esac
7733
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7734
 
$as_echo "$ac_try_echo") >&5
7735
 
  (eval "$ac_link") 2>conftest.er1
7736
 
  ac_status=$?
7737
 
  grep -v '^ *+' conftest.er1 >conftest.err
7738
 
  rm -f conftest.er1
7739
 
  cat conftest.err >&5
7740
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741
 
  (exit $ac_status); } && {
7742
 
         test -z "$ac_c_werror_flag" ||
7743
 
         test ! -s conftest.err
7744
 
       } && test -s conftest$ac_exeext && {
7745
 
         test "$cross_compiling" = yes ||
7746
 
         $as_test_x conftest$ac_exeext
7747
 
       }; then
 
5310
if ac_fn_c_try_link "$LINENO"; then :
7748
5311
  ac_cv_lib_mw_main=yes
7749
5312
else
7750
 
  $as_echo "$as_me: failed program was:" >&5
7751
 
sed 's/^/| /' conftest.$ac_ext >&5
7752
 
 
7753
 
        ac_cv_lib_mw_main=no
 
5313
  ac_cv_lib_mw_main=no
7754
5314
fi
7755
 
 
7756
 
rm -rf conftest.dSYM
7757
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7758
 
      conftest$ac_exeext conftest.$ac_ext
 
5315
rm -f core conftest.err conftest.$ac_objext \
 
5316
    conftest$ac_exeext conftest.$ac_ext
7759
5317
LIBS=$ac_check_lib_save_LIBS
7760
5318
fi
7761
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mw_main" >&5
 
5319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw_main" >&5
7762
5320
$as_echo "$ac_cv_lib_mw_main" >&6; }
7763
 
if test $ac_cv_lib_mw_main = yes; then
 
5321
if test "x$ac_cv_lib_mw_main" = xyes; then :
7764
5322
  cat >>confdefs.h <<_ACEOF
7765
5323
#define HAVE_LIBMW 1
7766
5324
_ACEOF
7773
5331
 
7774
5332
 
7775
5333
 
7776
 
 
7777
 
 
7778
5334
fi
7779
5335
 
7780
5336
 
7781
5337
 
7782
5338
 
7783
 
 
7784
5339
echo "configure: ## -----------------------------##"
7785
5340
echo "configure: ##"
7786
5341
echo "configure: ## $enable_arg has been selected"
7830
5385
    case $ac_val in #(
7831
5386
    *${as_nl}*)
7832
5387
      case $ac_var in #(
7833
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7834
 
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
5388
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
5389
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7835
5390
      esac
7836
5391
      case $ac_var in #(
7837
5392
      _ | IFS | as_nl) ;; #(
7838
5393
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7839
 
      *) $as_unset $ac_var ;;
 
5394
      *) { eval $ac_var=; unset $ac_var;} ;;
7840
5395
      esac ;;
7841
5396
    esac
7842
5397
  done
7844
5399
  (set) 2>&1 |
7845
5400
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7846
5401
    *${as_nl}ac_space=\ *)
7847
 
      # `set' does not quote correctly, so add quotes (double-quote
7848
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
5402
      # `set' does not quote correctly, so add quotes: double-quote
 
5403
      # substitution turns \\\\ into \\, and sed turns \\ into \.
7849
5404
      sed -n \
7850
5405
        "s/'/'\\\\''/g;
7851
5406
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7867
5422
     :end' >>confcache
7868
5423
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7869
5424
  if test -w "$cache_file"; then
7870
 
    test "x$cache_file" != "x/dev/null" &&
7871
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
5425
    if test "x$cache_file" != "x/dev/null"; then
 
5426
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7872
5427
$as_echo "$as_me: updating cache $cache_file" >&6;}
7873
 
    cat confcache >$cache_file
 
5428
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
5429
        cat confcache >"$cache_file"
 
5430
      else
 
5431
        case $cache_file in #(
 
5432
        */* | ?:*)
 
5433
          mv -f confcache "$cache_file"$$ &&
 
5434
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
5435
        *)
 
5436
          mv -f confcache "$cache_file" ;;
 
5437
        esac
 
5438
      fi
 
5439
    fi
7874
5440
  else
7875
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
5441
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7876
5442
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7877
5443
  fi
7878
5444
fi
7886
5452
 
7887
5453
ac_libobjs=
7888
5454
ac_ltlibobjs=
 
5455
U=
7889
5456
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7890
5457
  # 1. Remove the extension, and $U if already installed.
7891
5458
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7892
5459
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7893
5460
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7894
5461
  #    will be set to the directory where LIBOBJS objects are built.
7895
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7896
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
5462
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
5463
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7897
5464
done
7898
5465
LIBOBJS=$ac_libobjs
7899
5466
 
7900
5467
LTLIBOBJS=$ac_ltlibobjs
7901
5468
 
7902
5469
 
 
5470
 if test -n "$EXEEXT"; then
 
5471
  am__EXEEXT_TRUE=
 
5472
  am__EXEEXT_FALSE='#'
 
5473
else
 
5474
  am__EXEEXT_TRUE='#'
 
5475
  am__EXEEXT_FALSE=
 
5476
fi
 
5477
 
7903
5478
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7904
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7905
 
Usually this means the macro was only invoked conditionally." >&5
7906
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
7907
 
Usually this means the macro was only invoked conditionally." >&2;}
7908
 
   { (exit 1); exit 1; }; }
 
5479
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
5480
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7909
5481
fi
7910
5482
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7911
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7912
 
Usually this means the macro was only invoked conditionally." >&5
7913
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7914
 
Usually this means the macro was only invoked conditionally." >&2;}
7915
 
   { (exit 1); exit 1; }; }
 
5483
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
5484
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7916
5485
fi
7917
5486
 
7918
 
: ${CONFIG_STATUS=./config.status}
 
5487
 
 
5488
: "${CONFIG_STATUS=./config.status}"
7919
5489
ac_write_fail=0
7920
5490
ac_clean_files_save=$ac_clean_files
7921
5491
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7922
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
5492
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7923
5493
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7924
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5494
as_write_fail=0
 
5495
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7925
5496
#! $SHELL
7926
5497
# Generated by $as_me.
7927
5498
# Run this file to recreate the current configuration.
7931
5502
debug=false
7932
5503
ac_cs_recheck=false
7933
5504
ac_cs_silent=false
 
5505
 
7934
5506
SHELL=\${CONFIG_SHELL-$SHELL}
7935
 
_ACEOF
7936
 
 
7937
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7938
 
## --------------------- ##
7939
 
## M4sh Initialization.  ##
7940
 
## --------------------- ##
 
5507
export SHELL
 
5508
_ASEOF
 
5509
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
5510
## -------------------- ##
 
5511
## M4sh Initialization. ##
 
5512
## -------------------- ##
7941
5513
 
7942
5514
# Be more Bourne compatible
7943
5515
DUALCASE=1; export DUALCASE # for MKS sh
7944
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
5516
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7945
5517
  emulate sh
7946
5518
  NULLCMD=:
7947
5519
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7949
5521
  alias -g '${1+"$@"}'='"$@"'
7950
5522
  setopt NO_GLOB_SUBST
7951
5523
else
7952
 
  case `(set -o) 2>/dev/null` in
7953
 
  *posix*) set -o posix ;;
 
5524
  case `(set -o) 2>/dev/null` in #(
 
5525
  *posix*) :
 
5526
    set -o posix ;; #(
 
5527
  *) :
 
5528
     ;;
7954
5529
esac
7955
 
 
7956
5530
fi
7957
5531
 
7958
5532
 
7959
 
 
7960
 
 
7961
 
# PATH needs CR
7962
 
# Avoid depending upon Character Ranges.
7963
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7964
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7965
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7966
 
as_cr_digits='0123456789'
7967
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
7968
 
 
7969
5533
as_nl='
7970
5534
'
7971
5535
export as_nl
7973
5537
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7974
5538
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7975
5539
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7976
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
5540
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
5541
# but without wasting forks for bash or zsh.
 
5542
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
5543
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
5544
  as_echo='print -r --'
 
5545
  as_echo_n='print -rn --'
 
5546
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7977
5547
  as_echo='printf %s\n'
7978
5548
  as_echo_n='printf %s'
7979
5549
else
7984
5554
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7985
5555
    as_echo_n_body='eval
7986
5556
      arg=$1;
7987
 
      case $arg in
 
5557
      case $arg in #(
7988
5558
      *"$as_nl"*)
7989
5559
        expr "X$arg" : "X\\(.*\\)$as_nl";
7990
5560
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8007
5577
  }
8008
5578
fi
8009
5579
 
8010
 
# Support unset when possible.
8011
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8012
 
  as_unset=unset
8013
 
else
8014
 
  as_unset=false
8015
 
fi
8016
 
 
8017
5580
 
8018
5581
# IFS
8019
5582
# We need space, tab and new line, in precisely that order.  Quoting is
8023
5586
IFS=" ""        $as_nl"
8024
5587
 
8025
5588
# Find who we are.  Look in the path if we contain no directory separator.
8026
 
case $0 in
 
5589
as_myself=
 
5590
case $0 in #((
8027
5591
  *[\\/]* ) as_myself=$0 ;;
8028
5592
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029
5593
for as_dir in $PATH
8030
5594
do
8031
5595
  IFS=$as_save_IFS
8032
5596
  test -z "$as_dir" && as_dir=.
8033
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8034
 
done
 
5597
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
5598
  done
8035
5599
IFS=$as_save_IFS
8036
5600
 
8037
5601
     ;;
8043
5607
fi
8044
5608
if test ! -f "$as_myself"; then
8045
5609
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8046
 
  { (exit 1); exit 1; }
 
5610
  exit 1
8047
5611
fi
8048
5612
 
8049
 
# Work around bugs in pre-3.0 UWIN ksh.
8050
 
for as_var in ENV MAIL MAILPATH
8051
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
5613
# Unset variables that we do not need and which cause bugs (e.g. in
 
5614
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
5615
# suppresses any "Segmentation fault" message there.  '((' could
 
5616
# trigger a bug in pdksh 5.2.14.
 
5617
for as_var in BASH_ENV ENV MAIL MAILPATH
 
5618
do eval test x\${$as_var+set} = xset \
 
5619
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8052
5620
done
8053
5621
PS1='$ '
8054
5622
PS2='> '
8060
5628
LANGUAGE=C
8061
5629
export LANGUAGE
8062
5630
 
8063
 
# Required to use basename.
 
5631
# CDPATH.
 
5632
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
5633
 
 
5634
 
 
5635
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
5636
# ----------------------------------------
 
5637
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
5638
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
5639
# script with STATUS, using 1 if that was 0.
 
5640
as_fn_error ()
 
5641
{
 
5642
  as_status=$1; test $as_status -eq 0 && as_status=1
 
5643
  if test "$4"; then
 
5644
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
5645
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
5646
  fi
 
5647
  $as_echo "$as_me: error: $2" >&2
 
5648
  as_fn_exit $as_status
 
5649
} # as_fn_error
 
5650
 
 
5651
 
 
5652
# as_fn_set_status STATUS
 
5653
# -----------------------
 
5654
# Set $? to STATUS, without forking.
 
5655
as_fn_set_status ()
 
5656
{
 
5657
  return $1
 
5658
} # as_fn_set_status
 
5659
 
 
5660
# as_fn_exit STATUS
 
5661
# -----------------
 
5662
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
5663
as_fn_exit ()
 
5664
{
 
5665
  set +e
 
5666
  as_fn_set_status $1
 
5667
  exit $1
 
5668
} # as_fn_exit
 
5669
 
 
5670
# as_fn_unset VAR
 
5671
# ---------------
 
5672
# Portably unset VAR.
 
5673
as_fn_unset ()
 
5674
{
 
5675
  { eval $1=; unset $1;}
 
5676
}
 
5677
as_unset=as_fn_unset
 
5678
# as_fn_append VAR VALUE
 
5679
# ----------------------
 
5680
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
5681
# advantage of any shell optimizations that allow amortized linear growth over
 
5682
# repeated appends, instead of the typical quadratic growth present in naive
 
5683
# implementations.
 
5684
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
5685
  eval 'as_fn_append ()
 
5686
  {
 
5687
    eval $1+=\$2
 
5688
  }'
 
5689
else
 
5690
  as_fn_append ()
 
5691
  {
 
5692
    eval $1=\$$1\$2
 
5693
  }
 
5694
fi # as_fn_append
 
5695
 
 
5696
# as_fn_arith ARG...
 
5697
# ------------------
 
5698
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
5699
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
5700
# must be portable across $(()) and expr.
 
5701
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
5702
  eval 'as_fn_arith ()
 
5703
  {
 
5704
    as_val=$(( $* ))
 
5705
  }'
 
5706
else
 
5707
  as_fn_arith ()
 
5708
  {
 
5709
    as_val=`expr "$@" || test $? -eq 1`
 
5710
  }
 
5711
fi # as_fn_arith
 
5712
 
 
5713
 
8064
5714
if expr a : '\(a\)' >/dev/null 2>&1 &&
8065
5715
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8066
5716
  as_expr=expr
8074
5724
  as_basename=false
8075
5725
fi
8076
5726
 
 
5727
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
5728
  as_dirname=dirname
 
5729
else
 
5730
  as_dirname=false
 
5731
fi
8077
5732
 
8078
 
# Name of the executable.
8079
5733
as_me=`$as_basename -- "$0" ||
8080
5734
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8081
5735
         X"$0" : 'X\(//\)$' \| \
8095
5749
          }
8096
5750
          s/.*/./; q'`
8097
5751
 
8098
 
# CDPATH.
8099
 
$as_unset CDPATH
8100
 
 
8101
 
 
8102
 
 
8103
 
  as_lineno_1=$LINENO
8104
 
  as_lineno_2=$LINENO
8105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
8106
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8107
 
 
8108
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8109
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
8110
 
  # line-number line after each line using $LINENO; the second 'sed'
8111
 
  # does the real work.  The second script uses 'N' to pair each
8112
 
  # line-number line with the line containing $LINENO, and appends
8113
 
  # trailing '-' during substitution so that $LINENO is not a special
8114
 
  # case at line end.
8115
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8116
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
8117
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
8118
 
  sed -n '
8119
 
    p
8120
 
    /[$]LINENO/=
8121
 
  ' <$as_myself |
8122
 
    sed '
8123
 
      s/[$]LINENO.*/&-/
8124
 
      t lineno
8125
 
      b
8126
 
      :lineno
8127
 
      N
8128
 
      :loop
8129
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8130
 
      t loop
8131
 
      s/-\n.*//
8132
 
    ' >$as_me.lineno &&
8133
 
  chmod +x "$as_me.lineno" ||
8134
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8135
 
   { (exit 1); exit 1; }; }
8136
 
 
8137
 
  # Don't try to exec as it changes $[0], causing all sort of problems
8138
 
  # (the dirname of $[0] is not the place where we might find the
8139
 
  # original and so on.  Autoconf is especially sensitive to this).
8140
 
  . "./$as_me.lineno"
8141
 
  # Exit status is that of the last command.
8142
 
  exit
8143
 
}
8144
 
 
8145
 
 
8146
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8147
 
  as_dirname=dirname
8148
 
else
8149
 
  as_dirname=false
8150
 
fi
 
5752
# Avoid depending upon Character Ranges.
 
5753
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
5754
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
5755
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
5756
as_cr_digits='0123456789'
 
5757
as_cr_alnum=$as_cr_Letters$as_cr_digits
8151
5758
 
8152
5759
ECHO_C= ECHO_N= ECHO_T=
8153
 
case `echo -n x` in
 
5760
case `echo -n x` in #(((((
8154
5761
-n*)
8155
 
  case `echo 'x\c'` in
 
5762
  case `echo 'xy\c'` in
8156
5763
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
8157
 
  *)   ECHO_C='\c';;
 
5764
  xy)  ECHO_C='\c';;
 
5765
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
5766
       ECHO_T=' ';;
8158
5767
  esac;;
8159
5768
*)
8160
5769
  ECHO_N='-n';;
8161
5770
esac
8162
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
8163
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8164
 
  as_expr=expr
8165
 
else
8166
 
  as_expr=false
8167
 
fi
8168
5771
 
8169
5772
rm -f conf$$ conf$$.exe conf$$.file
8170
5773
if test -d conf$$.dir; then
8193
5796
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8194
5797
rmdir conf$$.dir 2>/dev/null
8195
5798
 
 
5799
 
 
5800
# as_fn_mkdir_p
 
5801
# -------------
 
5802
# Create "$as_dir" as a directory, including parents if necessary.
 
5803
as_fn_mkdir_p ()
 
5804
{
 
5805
 
 
5806
  case $as_dir in #(
 
5807
  -*) as_dir=./$as_dir;;
 
5808
  esac
 
5809
  test -d "$as_dir" || eval $as_mkdir_p || {
 
5810
    as_dirs=
 
5811
    while :; do
 
5812
      case $as_dir in #(
 
5813
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
5814
      *) as_qdir=$as_dir;;
 
5815
      esac
 
5816
      as_dirs="'$as_qdir' $as_dirs"
 
5817
      as_dir=`$as_dirname -- "$as_dir" ||
 
5818
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5819
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5820
         X"$as_dir" : 'X\(//\)$' \| \
 
5821
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
5822
$as_echo X"$as_dir" |
 
5823
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5824
            s//\1/
 
5825
            q
 
5826
          }
 
5827
          /^X\(\/\/\)[^/].*/{
 
5828
            s//\1/
 
5829
            q
 
5830
          }
 
5831
          /^X\(\/\/\)$/{
 
5832
            s//\1/
 
5833
            q
 
5834
          }
 
5835
          /^X\(\/\).*/{
 
5836
            s//\1/
 
5837
            q
 
5838
          }
 
5839
          s/.*/./; q'`
 
5840
      test -d "$as_dir" && break
 
5841
    done
 
5842
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5843
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
5844
 
 
5845
 
 
5846
} # as_fn_mkdir_p
8196
5847
if mkdir -p . 2>/dev/null; then
8197
 
  as_mkdir_p=:
 
5848
  as_mkdir_p='mkdir -p "$as_dir"'
8198
5849
else
8199
5850
  test -d ./-p && rmdir ./-p
8200
5851
  as_mkdir_p=false
8213
5864
      if test -d "$1"; then
8214
5865
        test -d "$1/.";
8215
5866
      else
8216
 
        case $1 in
 
5867
        case $1 in #(
8217
5868
        -*)set "./$1";;
8218
5869
        esac;
8219
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
5870
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8220
5871
        ???[sx]*):;;*)false;;esac;fi
8221
5872
    '\'' sh
8222
5873
  '
8231
5882
 
8232
5883
 
8233
5884
exec 6>&1
 
5885
## ----------------------------------- ##
 
5886
## Main body of $CONFIG_STATUS script. ##
 
5887
## ----------------------------------- ##
 
5888
_ASEOF
 
5889
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8234
5890
 
8235
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
5891
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5892
# Save the log message, to keep $0 and so on meaningful, and to
8236
5893
# report actual input values of CONFIG_FILES etc. instead of their
8237
5894
# values after options handling.
8238
5895
ac_log="
8239
5896
This file was extended by squid_kerb_auth $as_me 1.0.5, which was
8240
 
generated by GNU Autoconf 2.62.  Invocation command line was
 
5897
generated by GNU Autoconf 2.68.  Invocation command line was
8241
5898
 
8242
5899
  CONFIG_FILES    = $CONFIG_FILES
8243
5900
  CONFIG_HEADERS  = $CONFIG_HEADERS
8250
5907
 
8251
5908
_ACEOF
8252
5909
 
 
5910
case $ac_config_files in *"
 
5911
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
5912
esac
 
5913
 
 
5914
case $ac_config_headers in *"
 
5915
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
5916
esac
 
5917
 
 
5918
 
8253
5919
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8254
5920
# Files that config.status was made for.
8255
5921
config_files="$ac_config_files"
8260
5926
 
8261
5927
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8262
5928
ac_cs_usage="\
8263
 
\`$as_me' instantiates files from templates according to the
8264
 
current configuration.
 
5929
\`$as_me' instantiates files and other configuration actions
 
5930
from templates according to the current configuration.  Unless the files
 
5931
and actions are specified as TAGs, all are instantiated by default.
8265
5932
 
8266
 
Usage: $0 [OPTIONS] [FILE]...
 
5933
Usage: $0 [OPTION]... [TAG]...
8267
5934
 
8268
5935
  -h, --help       print this help, then exit
8269
5936
  -V, --version    print version number and configuration settings, then exit
8270
 
  -q, --quiet      do not print progress messages
 
5937
      --config     print configuration, then exit
 
5938
  -q, --quiet, --silent
 
5939
                   do not print progress messages
8271
5940
  -d, --debug      don't remove temporary files
8272
5941
      --recheck    update $as_me by reconfiguring in the same conditions
8273
 
  --file=FILE[:TEMPLATE]
 
5942
      --file=FILE[:TEMPLATE]
8274
5943
                   instantiate the configuration file FILE
8275
 
  --header=FILE[:TEMPLATE]
 
5944
      --header=FILE[:TEMPLATE]
8276
5945
                   instantiate the configuration header FILE
8277
5946
 
8278
5947
Configuration files:
8284
5953
Configuration commands:
8285
5954
$config_commands
8286
5955
 
8287
 
Report bugs to <bug-autoconf@gnu.org>."
 
5956
Report bugs to <markus_moeller@compuserve.com>."
8288
5957
 
8289
5958
_ACEOF
8290
5959
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5960
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8291
5961
ac_cs_version="\\
8292
5962
squid_kerb_auth config.status 1.0.5
8293
 
configured by $0, generated by GNU Autoconf 2.62,
8294
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
5963
configured by $0, generated by GNU Autoconf 2.68,
 
5964
  with options \\"\$ac_cs_config\\"
8295
5965
 
8296
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
5966
Copyright (C) 2010 Free Software Foundation, Inc.
8297
5967
This config.status script is free software; the Free Software Foundation
8298
5968
gives unlimited permission to copy, distribute and modify it."
8299
5969
 
8311
5981
while test $# != 0
8312
5982
do
8313
5983
  case $1 in
8314
 
  --*=*)
 
5984
  --*=?*)
8315
5985
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8316
5986
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8317
5987
    ac_shift=:
8318
5988
    ;;
 
5989
  --*=)
 
5990
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
5991
    ac_optarg=
 
5992
    ac_shift=:
 
5993
    ;;
8319
5994
  *)
8320
5995
    ac_option=$1
8321
5996
    ac_optarg=$2
8329
6004
    ac_cs_recheck=: ;;
8330
6005
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8331
6006
    $as_echo "$ac_cs_version"; exit ;;
 
6007
  --config | --confi | --conf | --con | --co | --c )
 
6008
    $as_echo "$ac_cs_config"; exit ;;
8332
6009
  --debug | --debu | --deb | --de | --d | -d )
8333
6010
    debug=: ;;
8334
6011
  --file | --fil | --fi | --f )
8335
6012
    $ac_shift
8336
6013
    case $ac_optarg in
8337
6014
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
6015
    '') as_fn_error $? "missing file argument" ;;
8338
6016
    esac
8339
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
6017
    as_fn_append CONFIG_FILES " '$ac_optarg'"
8340
6018
    ac_need_defaults=false;;
8341
6019
  --header | --heade | --head | --hea )
8342
6020
    $ac_shift
8343
6021
    case $ac_optarg in
8344
6022
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8345
6023
    esac
8346
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
6024
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8347
6025
    ac_need_defaults=false;;
8348
6026
  --he | --h)
8349
6027
    # Conflict between --help and --header
8350
 
    { $as_echo "$as_me: error: ambiguous option: $1
8351
 
Try \`$0 --help' for more information." >&2
8352
 
   { (exit 1); exit 1; }; };;
 
6028
    as_fn_error $? "ambiguous option: \`$1'
 
6029
Try \`$0 --help' for more information.";;
8353
6030
  --help | --hel | -h )
8354
6031
    $as_echo "$ac_cs_usage"; exit ;;
8355
6032
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8357
6034
    ac_cs_silent=: ;;
8358
6035
 
8359
6036
  # This is an error.
8360
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
8361
 
Try \`$0 --help' for more information." >&2
8362
 
   { (exit 1); exit 1; }; } ;;
 
6037
  -*) as_fn_error $? "unrecognized option: \`$1'
 
6038
Try \`$0 --help' for more information." ;;
8363
6039
 
8364
 
  *) ac_config_targets="$ac_config_targets $1"
 
6040
  *) as_fn_append ac_config_targets " $1"
8365
6041
     ac_need_defaults=false ;;
8366
6042
 
8367
6043
  esac
8416
6092
    "ska_config.h") CONFIG_HEADERS="$CONFIG_HEADERS ska_config.h" ;;
8417
6093
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8418
6094
 
8419
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8420
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8421
 
   { (exit 1); exit 1; }; };;
 
6095
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8422
6096
  esac
8423
6097
done
8424
6098
 
8441
6115
# after its creation but before its name has been assigned to `$tmp'.
8442
6116
$debug ||
8443
6117
{
8444
 
  tmp=
 
6118
  tmp= ac_tmp=
8445
6119
  trap 'exit_status=$?
8446
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
6120
  : "${ac_tmp:=$tmp}"
 
6121
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8447
6122
' 0
8448
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
6123
  trap 'as_fn_exit 1' 1 2 13 15
8449
6124
}
8450
6125
# Create a (secure) tmp directory for tmp files.
8451
6126
 
8452
6127
{
8453
6128
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8454
 
  test -n "$tmp" && test -d "$tmp"
 
6129
  test -d "$tmp"
8455
6130
}  ||
8456
6131
{
8457
6132
  tmp=./conf$$-$RANDOM
8458
6133
  (umask 077 && mkdir "$tmp")
8459
 
} ||
8460
 
{
8461
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
8462
 
   { (exit 1); exit 1; }
8463
 
}
 
6134
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
6135
ac_tmp=$tmp
8464
6136
 
8465
6137
# Set up the scripts for CONFIG_FILES section.
8466
6138
# No need to generate them if there are no CONFIG_FILES.
8468
6140
if test -n "$CONFIG_FILES"; then
8469
6141
 
8470
6142
 
8471
 
ac_cr='
 
 
b"'"
 
6143
ac_cr=`echo X | tr X '\015'`
 
6144
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
6145
# But we know of no other shell where ac_cr would be empty at this
 
6146
# point, so we can use a bashism as a fallback.
 
6147
if test "x$ac_cr" = x; then
 
6148
  eval ac_cr=\$\'\\r\'
 
6149
fi
8472
6150
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8473
6151
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8474
6152
  ac_cs_awk_cr='\\r'
8476
6154
  ac_cs_awk_cr=$ac_cr
8477
6155
fi
8478
6156
 
8479
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
6157
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8480
6158
_ACEOF
8481
6159
 
8482
6160
 
8485
6163
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8486
6164
  echo "_ACEOF"
8487
6165
} >conf$$subs.sh ||
8488
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8489
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8490
 
   { (exit 1); exit 1; }; }
8491
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
6166
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
6167
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8492
6168
ac_delim='%!_!# '
8493
6169
for ac_last_try in false false false false false :; do
8494
6170
  . ./conf$$subs.sh ||
8495
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8496
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8497
 
   { (exit 1); exit 1; }; }
 
6171
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8498
6172
 
8499
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 
6173
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
6174
  if test $ac_delim_n = $ac_delim_num; then
8500
6175
    break
8501
6176
  elif $ac_last_try; then
8502
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8503
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8504
 
   { (exit 1); exit 1; }; }
 
6177
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8505
6178
  else
8506
6179
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8507
6180
  fi
8509
6182
rm -f conf$$subs.sh
8510
6183
 
8511
6184
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8512
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
6185
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8513
6186
_ACEOF
8514
6187
sed -n '
8515
6188
h
8523
6196
t delim
8524
6197
:nl
8525
6198
h
8526
 
s/\(.\{148\}\).*/\1/
 
6199
s/\(.\{148\}\)..*/\1/
8527
6200
t more1
8528
6201
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8529
6202
p
8537
6210
t nl
8538
6211
:delim
8539
6212
h
8540
 
s/\(.\{148\}\).*/\1/
 
6213
s/\(.\{148\}\)..*/\1/
8541
6214
t more2
8542
6215
s/["\\]/\\&/g; s/^/"/; s/$/"/
8543
6216
p
8557
6230
rm -f conf$$subs.awk
8558
6231
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8559
6232
_ACAWK
8560
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
6233
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8561
6234
  for (key in S) S_is_set[key] = 1
8562
6235
  FS = ""
8563
6236
 
8589
6262
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8590
6263
else
8591
6264
  cat
8592
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8593
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
8594
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
8595
 
   { (exit 1); exit 1; }; }
 
6265
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
6266
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8596
6267
_ACEOF
8597
6268
 
8598
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8599
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
6269
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
6270
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8600
6271
# trailing colons and then remove the whole line if VPATH becomes empty
8601
6272
# (actually we leave an empty line to preserve line numbers).
8602
6273
if test "x$srcdir" = x.; then
8603
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8604
 
s/:*\$(srcdir):*/:/
8605
 
s/:*\${srcdir}:*/:/
8606
 
s/:*@srcdir@:*/:/
8607
 
s/^\([^=]*=[     ]*\):*/\1/
 
6274
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
6275
h
 
6276
s///
 
6277
s/^/:/
 
6278
s/[      ]*$/:/
 
6279
s/:\$(srcdir):/:/g
 
6280
s/:\${srcdir}:/:/g
 
6281
s/:@srcdir@:/:/g
 
6282
s/^:*//
8608
6283
s/:*$//
 
6284
x
 
6285
s/\(=[   ]*\).*/\1/
 
6286
G
 
6287
s/\n//
8609
6288
s/^[^=]*=[       ]*$//
8610
6289
}'
8611
6290
fi
8617
6296
# No need to generate them if there are no CONFIG_HEADERS.
8618
6297
# This happens for instance with `./config.status Makefile'.
8619
6298
if test -n "$CONFIG_HEADERS"; then
8620
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
6299
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8621
6300
BEGIN {
8622
6301
_ACEOF
8623
6302
 
8629
6308
# handling of long lines.
8630
6309
ac_delim='%!_!# '
8631
6310
for ac_last_try in false false :; do
8632
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8633
 
  if test -z "$ac_t"; then
 
6311
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
6312
  if test -z "$ac_tt"; then
8634
6313
    break
8635
6314
  elif $ac_last_try; then
8636
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
8637
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
8638
 
   { (exit 1); exit 1; }; }
 
6315
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8639
6316
  else
8640
6317
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8641
6318
  fi
8701
6378
  }
8702
6379
  split(mac1, mac2, "(") #)
8703
6380
  macro = mac2[1]
 
6381
  prefix = substr(line, 1, index(line, defundef) - 1)
8704
6382
  if (D_is_set[macro]) {
8705
6383
    # Preserve the white space surrounding the "#".
8706
 
    prefix = substr(line, 1, index(line, defundef) - 1)
8707
6384
    print prefix "define", macro P[macro] D[macro]
8708
6385
    next
8709
6386
  } else {
8711
6388
    # in the case of _POSIX_SOURCE, which is predefined and required
8712
6389
    # on some systems where configure will not decide to define it.
8713
6390
    if (defundef == "undef") {
8714
 
      print "/*", line, "*/"
 
6391
      print "/*", prefix defundef, macro, "*/"
8715
6392
      next
8716
6393
    }
8717
6394
  }
8720
6397
_ACAWK
8721
6398
_ACEOF
8722
6399
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8723
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
8724
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
8725
 
   { (exit 1); exit 1; }; }
 
6400
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8726
6401
fi # test -n "$CONFIG_HEADERS"
8727
6402
 
8728
6403
 
8735
6410
  esac
8736
6411
  case $ac_mode$ac_tag in
8737
6412
  :[FHL]*:*);;
8738
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8739
 
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8740
 
   { (exit 1); exit 1; }; };;
 
6413
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8741
6414
  :[FH]-) ac_tag=-:-;;
8742
6415
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8743
6416
  esac
8756
6429
    for ac_f
8757
6430
    do
8758
6431
      case $ac_f in
8759
 
      -) ac_f="$tmp/stdin";;
 
6432
      -) ac_f="$ac_tmp/stdin";;
8760
6433
      *) # Look for the file first in the build tree, then in the source tree
8761
6434
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
8762
6435
         # because $ac_f cannot contain `:'.
8765
6438
           [\\/$]*) false;;
8766
6439
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8767
6440
           esac ||
8768
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8769
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8770
 
   { (exit 1); exit 1; }; };;
 
6441
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8771
6442
      esac
8772
6443
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8773
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
6444
      as_fn_append ac_file_inputs " '$ac_f'"
8774
6445
    done
8775
6446
 
8776
6447
    # Let's still pretend it is `configure' which instantiates (i.e., don't
8781
6452
        `' by configure.'
8782
6453
    if test x"$ac_file" != x-; then
8783
6454
      configure_input="$ac_file.  $configure_input"
8784
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
6455
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8785
6456
$as_echo "$as_me: creating $ac_file" >&6;}
8786
6457
    fi
8787
6458
    # Neutralize special characters interpreted by sed in replacement strings.
8793
6464
    esac
8794
6465
 
8795
6466
    case $ac_tag in
8796
 
    *:-:* | *:-) cat >"$tmp/stdin" \
8797
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8798
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8799
 
   { (exit 1); exit 1; }; } ;;
 
6467
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
6468
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8800
6469
    esac
8801
6470
    ;;
8802
6471
  esac
8824
6493
            q
8825
6494
          }
8826
6495
          s/.*/./; q'`
8827
 
  { as_dir="$ac_dir"
8828
 
  case $as_dir in #(
8829
 
  -*) as_dir=./$as_dir;;
8830
 
  esac
8831
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8832
 
    as_dirs=
8833
 
    while :; do
8834
 
      case $as_dir in #(
8835
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8836
 
      *) as_qdir=$as_dir;;
8837
 
      esac
8838
 
      as_dirs="'$as_qdir' $as_dirs"
8839
 
      as_dir=`$as_dirname -- "$as_dir" ||
8840
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8841
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
8842
 
         X"$as_dir" : 'X\(//\)$' \| \
8843
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8844
 
$as_echo X"$as_dir" |
8845
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8846
 
            s//\1/
8847
 
            q
8848
 
          }
8849
 
          /^X\(\/\/\)[^/].*/{
8850
 
            s//\1/
8851
 
            q
8852
 
          }
8853
 
          /^X\(\/\/\)$/{
8854
 
            s//\1/
8855
 
            q
8856
 
          }
8857
 
          /^X\(\/\).*/{
8858
 
            s//\1/
8859
 
            q
8860
 
          }
8861
 
          s/.*/./; q'`
8862
 
      test -d "$as_dir" && break
8863
 
    done
8864
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
8865
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8866
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8867
 
   { (exit 1); exit 1; }; }; }
 
6496
  as_dir="$ac_dir"; as_fn_mkdir_p
8868
6497
  ac_builddir=.
8869
6498
 
8870
6499
case "$ac_dir" in
8921
6550
# If the template does not know about datarootdir, expand it.
8922
6551
# FIXME: This hack should be removed a few years after 2.60.
8923
6552
ac_datarootdir_hack=; ac_datarootdir_seen=
8924
 
 
8925
6553
ac_sed_dataroot='
8926
6554
/datarootdir/ {
8927
6555
  p
8931
6559
/@docdir@/p
8932
6560
/@infodir@/p
8933
6561
/@localedir@/p
8934
 
/@mandir@/p
8935
 
'
 
6562
/@mandir@/p'
8936
6563
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8937
6564
*datarootdir*) ac_datarootdir_seen=yes;;
8938
6565
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8939
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
6566
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8940
6567
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8941
6568
_ACEOF
8942
6569
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8946
6573
  s&@infodir@&$infodir&g
8947
6574
  s&@localedir@&$localedir&g
8948
6575
  s&@mandir@&$mandir&g
8949
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
6576
  s&\\\${datarootdir}&$datarootdir&g' ;;
8950
6577
esac
8951
6578
_ACEOF
8952
6579
 
8974
6601
s&@MKDIR_P@&$ac_MKDIR_P&;t t
8975
6602
$ac_datarootdir_hack
8976
6603
"
8977
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8978
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8979
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8980
 
   { (exit 1); exit 1; }; }
 
6604
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
6605
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8981
6606
 
8982
6607
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8983
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8984
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8985
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8986
 
which seems to be undefined.  Please make sure it is defined." >&5
 
6608
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
6609
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
6610
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
6611
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6612
which seems to be undefined.  Please make sure it is defined" >&5
8987
6613
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8988
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
6614
which seems to be undefined.  Please make sure it is defined" >&2;}
8989
6615
 
8990
 
  rm -f "$tmp/stdin"
 
6616
  rm -f "$ac_tmp/stdin"
8991
6617
  case $ac_file in
8992
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
8993
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
6618
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
6619
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8994
6620
  esac \
8995
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8996
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8997
 
   { (exit 1); exit 1; }; }
 
6621
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8998
6622
 ;;
8999
6623
  :H)
9000
6624
  #
9003
6627
  if test x"$ac_file" != x-; then
9004
6628
    {
9005
6629
      $as_echo "/* $configure_input  */" \
9006
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9007
 
    } >"$tmp/config.h" \
9008
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9009
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
9010
 
   { (exit 1); exit 1; }; }
9011
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9012
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
6630
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
6631
    } >"$ac_tmp/config.h" \
 
6632
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6633
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
6634
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9013
6635
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9014
6636
    else
9015
6637
      rm -f "$ac_file"
9016
 
      mv "$tmp/config.h" "$ac_file" \
9017
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9018
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
9019
 
   { (exit 1); exit 1; }; }
 
6638
      mv "$ac_tmp/config.h" "$ac_file" \
 
6639
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9020
6640
    fi
9021
6641
  else
9022
6642
    $as_echo "/* $configure_input  */" \
9023
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9024
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
9025
 
$as_echo "$as_me: error: could not create -" >&2;}
9026
 
   { (exit 1); exit 1; }; }
 
6643
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
6644
      || as_fn_error $? "could not create -" "$LINENO" 5
9027
6645
  fi
9028
6646
# Compute "$ac_file"'s index in $config_headers.
9029
6647
_am_arg="$ac_file"
9061
6679
          s/.*/./; q'`/stamp-h$_am_stamp_count
9062
6680
 ;;
9063
6681
 
9064
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
6682
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9065
6683
$as_echo "$as_me: executing $ac_file commands" >&6;}
9066
6684
 ;;
9067
6685
  esac
9068
6686
 
9069
6687
 
9070
6688
  case $ac_file$ac_mode in
9071
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9072
 
  # Strip MF so we end up with the name of the file.
9073
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
9074
 
  # Check whether this is an Automake generated Makefile or not.
9075
 
  # We used to match only the files named `Makefile.in', but
9076
 
  # some people rename them; so instead we look at the file content.
9077
 
  # Grep'ing the first line is not enough: some people post-process
9078
 
  # each Makefile.in and add a new line on top of each file to say so.
9079
 
  # Grep'ing the whole file is not good either: AIX grep has a line
9080
 
  # limit of 2048, but all sed's we know have understand at least 4000.
9081
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9082
 
    dirpart=`$as_dirname -- "$mf" ||
 
6689
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
6690
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
6691
  # are listed without --file.  Let's play safe and only enable the eval
 
6692
  # if we detect the quoting.
 
6693
  case $CONFIG_FILES in
 
6694
  *\'*) eval set x "$CONFIG_FILES" ;;
 
6695
  *)   set x $CONFIG_FILES ;;
 
6696
  esac
 
6697
  shift
 
6698
  for mf
 
6699
  do
 
6700
    # Strip MF so we end up with the name of the file.
 
6701
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
6702
    # Check whether this is an Automake generated Makefile or not.
 
6703
    # We used to match only the files named `Makefile.in', but
 
6704
    # some people rename them; so instead we look at the file content.
 
6705
    # Grep'ing the first line is not enough: some people post-process
 
6706
    # each Makefile.in and add a new line on top of each file to say so.
 
6707
    # Grep'ing the whole file is not good either: AIX grep has a line
 
6708
    # limit of 2048, but all sed's we know have understand at least 4000.
 
6709
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
6710
      dirpart=`$as_dirname -- "$mf" ||
9083
6711
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9084
6712
         X"$mf" : 'X\(//\)[^/]' \| \
9085
6713
         X"$mf" : 'X\(//\)$' \| \
9102
6730
            q
9103
6731
          }
9104
6732
          s/.*/./; q'`
9105
 
  else
9106
 
    continue
9107
 
  fi
9108
 
  # Extract the definition of DEPDIR, am__include, and am__quote
9109
 
  # from the Makefile without running `make'.
9110
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9111
 
  test -z "$DEPDIR" && continue
9112
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
9113
 
  test -z "am__include" && continue
9114
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9115
 
  # When using ansi2knr, U may be empty or an underscore; expand it
9116
 
  U=`sed -n 's/^U = //p' < "$mf"`
9117
 
  # Find all dependency output files, they are included files with
9118
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
9119
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
9120
 
  # expansion.
9121
 
  for file in `sed -n "
9122
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9123
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9124
 
    # Make sure the directory exists.
9125
 
    test -f "$dirpart/$file" && continue
9126
 
    fdir=`$as_dirname -- "$file" ||
 
6733
    else
 
6734
      continue
 
6735
    fi
 
6736
    # Extract the definition of DEPDIR, am__include, and am__quote
 
6737
    # from the Makefile without running `make'.
 
6738
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
6739
    test -z "$DEPDIR" && continue
 
6740
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
6741
    test -z "am__include" && continue
 
6742
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
6743
    # When using ansi2knr, U may be empty or an underscore; expand it
 
6744
    U=`sed -n 's/^U = //p' < "$mf"`
 
6745
    # Find all dependency output files, they are included files with
 
6746
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
6747
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
6748
    # expansion.
 
6749
    for file in `sed -n "
 
6750
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
6751
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
6752
      # Make sure the directory exists.
 
6753
      test -f "$dirpart/$file" && continue
 
6754
      fdir=`$as_dirname -- "$file" ||
9127
6755
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9128
6756
         X"$file" : 'X\(//\)[^/]' \| \
9129
6757
         X"$file" : 'X\(//\)$' \| \
9146
6774
            q
9147
6775
          }
9148
6776
          s/.*/./; q'`
9149
 
    { as_dir=$dirpart/$fdir
9150
 
  case $as_dir in #(
9151
 
  -*) as_dir=./$as_dir;;
9152
 
  esac
9153
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9154
 
    as_dirs=
9155
 
    while :; do
9156
 
      case $as_dir in #(
9157
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9158
 
      *) as_qdir=$as_dir;;
9159
 
      esac
9160
 
      as_dirs="'$as_qdir' $as_dirs"
9161
 
      as_dir=`$as_dirname -- "$as_dir" ||
9162
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9163
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9164
 
         X"$as_dir" : 'X\(//\)$' \| \
9165
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9166
 
$as_echo X"$as_dir" |
9167
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9168
 
            s//\1/
9169
 
            q
9170
 
          }
9171
 
          /^X\(\/\/\)[^/].*/{
9172
 
            s//\1/
9173
 
            q
9174
 
          }
9175
 
          /^X\(\/\/\)$/{
9176
 
            s//\1/
9177
 
            q
9178
 
          }
9179
 
          /^X\(\/\).*/{
9180
 
            s//\1/
9181
 
            q
9182
 
          }
9183
 
          s/.*/./; q'`
9184
 
      test -d "$as_dir" && break
 
6777
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
6778
      # echo "creating $dirpart/$file"
 
6779
      echo '# dummy' > "$dirpart/$file"
9185
6780
    done
9186
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
9187
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9188
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9189
 
   { (exit 1); exit 1; }; }; }
9190
 
    # echo "creating $dirpart/$file"
9191
 
    echo '# dummy' > "$dirpart/$file"
9192
6781
  done
9193
 
done
 
6782
}
9194
6783
 ;;
9195
6784
 
9196
6785
  esac
9197
6786
done # for ac_tag
9198
6787
 
9199
6788
 
9200
 
{ (exit 0); exit 0; }
 
6789
as_fn_exit 0
9201
6790
_ACEOF
9202
 
chmod +x $CONFIG_STATUS
9203
6791
ac_clean_files=$ac_clean_files_save
9204
6792
 
9205
6793
test $ac_write_fail = 0 ||
9206
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
9207
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
9208
 
   { (exit 1); exit 1; }; }
 
6794
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9209
6795
 
9210
6796
 
9211
6797
# configure is writing to config.log, and then calls config.status.
9226
6812
  exec 5>>config.log
9227
6813
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9228
6814
  # would make configure fail if this is the last instruction.
9229
 
  $ac_cs_success || { (exit 1); exit 1; }
 
6815
  $ac_cs_success || as_fn_exit 1
9230
6816
fi
9231
6817
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9232
 
  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
9233
 
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 
6818
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
6819
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9234
6820
fi
9235
6821
 
9236
6822