~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to helpers/negotiate_auth/squid_kerb_auth/configure

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2009-09-24 14:51:06 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (20.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090924145106-38jgrzmj0d73pha5
Tags: 3.1.0.13-1
* Upload to experimental

* New upstream release
  - Fixes Follow-X-Forwarded-For support (Closes: #523943)
  - Adds IPv6 support (Closes: #432351)

* debian/rules
  - Removed obsolete configuration options
  - Enable db and radius basic authentication modules

* debian/patches/01-cf.data.debian
  - Adapted to new upstream version

* debian/patches/02-makefile-defaults
  - Adapted to new upstream version

* debian/{squid.postinst,squid.rc,README.Debian,watch}
  - Updated references to squid 3.1

* debian/squid3.install
  - Install CSS file for error pages
  - Install manual pages for new authentication modules

* debian/squid3-common.install
  - Install documented version of configuration file in /usr/share/doc/squid3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.62 for squid_kerb_auth 1.0.5.
 
4
#
 
5
# Report bugs to <markus_moeller@compuserve.com>.
 
6
#
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# This configure script is free software; the Free Software Foundation
 
10
# gives unlimited permission to copy, distribute and modify it.
 
11
## --------------------- ##
 
12
## M4sh Initialization.  ##
 
13
## --------------------- ##
 
14
 
 
15
# Be more Bourne compatible
 
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
 
42
as_nl='
 
43
'
 
44
export as_nl
 
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
 
82
 
 
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
 
 
91
# IFS
 
92
# We need space, tab and new line, in precisely that order.  Quoting is
 
93
# there to prevent editors from complaining about space-tab.
 
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
95
# splitting by setting IFS to empty value.)
 
96
IFS=" ""        $as_nl"
 
97
 
 
98
# Find who we are.  Look in the path if we contain no directory separator.
 
99
case $0 in
 
100
  *[\\/]* ) as_myself=$0 ;;
 
101
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
102
for as_dir in $PATH
 
103
do
 
104
  IFS=$as_save_IFS
 
105
  test -z "$as_dir" && as_dir=.
 
106
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
107
done
 
108
IFS=$as_save_IFS
 
109
 
 
110
     ;;
 
111
esac
 
112
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
113
# in which case we are not to be found in the path.
 
114
if test "x$as_myself" = x; then
 
115
  as_myself=$0
 
116
fi
 
117
if test ! -f "$as_myself"; then
 
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
119
  { (exit 1); exit 1; }
 
120
fi
 
121
 
 
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
 
125
done
 
126
PS1='$ '
 
127
PS2='> '
 
128
PS4='+ '
 
129
 
 
130
# NLS nuisances.
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
 
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
# CDPATH.
 
172
$as_unset CDPATH
 
173
 
 
174
 
 
175
if test "x$CONFIG_SHELL" = x; then
 
176
  if (eval ":") 2>/dev/null; then
 
177
  as_have_required=yes
 
178
else
 
179
  as_have_required=no
 
180
fi
 
181
 
 
182
  if test $as_have_required = yes &&     (eval ":
 
183
(as_func_return () {
 
184
  (exit \$1)
 
185
}
 
186
as_func_success () {
 
187
  as_func_return 0
 
188
}
 
189
as_func_failure () {
 
190
  as_func_return 1
 
191
}
 
192
as_func_ret_success () {
 
193
  return 0
 
194
}
 
195
as_func_ret_failure () {
 
196
  return 1
 
197
}
 
198
 
 
199
exitcode=0
 
200
if as_func_success; then
 
201
  :
 
202
else
 
203
  exitcode=1
 
204
  echo as_func_success failed.
 
205
fi
 
206
 
 
207
if as_func_failure; then
 
208
  exitcode=1
 
209
  echo as_func_failure succeeded.
 
210
fi
 
211
 
 
212
if as_func_ret_success; then
 
213
  :
 
214
else
 
215
  exitcode=1
 
216
  echo as_func_ret_success failed.
 
217
fi
 
218
 
 
219
if as_func_ret_failure; then
 
220
  exitcode=1
 
221
  echo as_func_ret_failure succeeded.
 
222
fi
 
223
 
 
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
225
  :
 
226
else
 
227
  exitcode=1
 
228
  echo positional parameters were not saved.
 
229
fi
 
230
 
 
231
test \$exitcode = 0) || { (exit 1); exit 1; }
 
232
 
 
233
(
 
234
  as_lineno_1=\$LINENO
 
235
  as_lineno_2=\$LINENO
 
236
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
237
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
238
") 2> /dev/null; then
 
239
  :
 
240
else
 
241
  as_candidate_shells=
 
242
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
244
do
 
245
  IFS=$as_save_IFS
 
246
  test -z "$as_dir" && as_dir=.
 
247
  case $as_dir in
 
248
         /*)
 
249
           for as_base in sh bash ksh sh5; do
 
250
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
251
           done;;
 
252
       esac
 
253
done
 
254
IFS=$as_save_IFS
 
255
 
 
256
 
 
257
      for as_shell in $as_candidate_shells $SHELL; do
 
258
         # Try only shells that exist, to save several forks.
 
259
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
260
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
_ASEOF
 
278
}; then
 
279
  CONFIG_SHELL=$as_shell
 
280
               as_have_required=yes
 
281
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
283
  emulate sh
 
284
  NULLCMD=:
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
286
  # is contrary to our usage.  Disable this feature.
 
287
  alias -g '${1+"$@"}'='"$@"'
 
288
  setopt NO_GLOB_SUBST
 
289
else
 
290
  case `(set -o) 2>/dev/null` in
 
291
  *posix*) set -o posix ;;
 
292
esac
 
293
 
 
294
fi
 
295
 
 
296
 
 
297
:
 
298
(as_func_return () {
 
299
  (exit $1)
 
300
}
 
301
as_func_success () {
 
302
  as_func_return 0
 
303
}
 
304
as_func_failure () {
 
305
  as_func_return 1
 
306
}
 
307
as_func_ret_success () {
 
308
  return 0
 
309
}
 
310
as_func_ret_failure () {
 
311
  return 1
 
312
}
 
313
 
 
314
exitcode=0
 
315
if as_func_success; then
 
316
  :
 
317
else
 
318
  exitcode=1
 
319
  echo as_func_success failed.
 
320
fi
 
321
 
 
322
if as_func_failure; then
 
323
  exitcode=1
 
324
  echo as_func_failure succeeded.
 
325
fi
 
326
 
 
327
if as_func_ret_success; then
 
328
  :
 
329
else
 
330
  exitcode=1
 
331
  echo as_func_ret_success failed.
 
332
fi
 
333
 
 
334
if as_func_ret_failure; then
 
335
  exitcode=1
 
336
  echo as_func_ret_failure succeeded.
 
337
fi
 
338
 
 
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
340
  :
 
341
else
 
342
  exitcode=1
 
343
  echo positional parameters were not saved.
 
344
fi
 
345
 
 
346
test $exitcode = 0) || { (exit 1); exit 1; }
 
347
 
 
348
(
 
349
  as_lineno_1=$LINENO
 
350
  as_lineno_2=$LINENO
 
351
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
352
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
353
 
 
354
_ASEOF
 
355
}; then
 
356
  break
 
357
fi
 
358
 
 
359
fi
 
360
 
 
361
      done
 
362
 
 
363
      if test "x$CONFIG_SHELL" != x; then
 
364
  for as_var in BASH_ENV ENV
 
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
366
        done
 
367
        export CONFIG_SHELL
 
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
369
fi
 
370
 
 
371
 
 
372
    if test $as_have_required = no; then
 
373
  echo This script requires a shell more modern than all the
 
374
      echo shells that I found on your system.  Please install a
 
375
      echo modern shell, or manually run the script under such a
 
376
      echo shell if you do have one.
 
377
      { (exit 1); exit 1; }
 
378
fi
 
379
 
 
380
 
 
381
fi
 
382
 
 
383
fi
 
384
 
 
385
 
 
386
 
 
387
(eval "as_func_return () {
 
388
  (exit \$1)
 
389
}
 
390
as_func_success () {
 
391
  as_func_return 0
 
392
}
 
393
as_func_failure () {
 
394
  as_func_return 1
 
395
}
 
396
as_func_ret_success () {
 
397
  return 0
 
398
}
 
399
as_func_ret_failure () {
 
400
  return 1
 
401
}
 
402
 
 
403
exitcode=0
 
404
if as_func_success; then
 
405
  :
 
406
else
 
407
  exitcode=1
 
408
  echo as_func_success failed.
 
409
fi
 
410
 
 
411
if as_func_failure; then
 
412
  exitcode=1
 
413
  echo as_func_failure succeeded.
 
414
fi
 
415
 
 
416
if as_func_ret_success; then
 
417
  :
 
418
else
 
419
  exitcode=1
 
420
  echo as_func_ret_success failed.
 
421
fi
 
422
 
 
423
if as_func_ret_failure; then
 
424
  exitcode=1
 
425
  echo as_func_ret_failure succeeded.
 
426
fi
 
427
 
 
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
429
  :
 
430
else
 
431
  exitcode=1
 
432
  echo positional parameters were not saved.
 
433
fi
 
434
 
 
435
test \$exitcode = 0") || {
 
436
  echo No shell found that supports shell functions.
 
437
  echo Please tell bug-autoconf@gnu.org about your system,
 
438
  echo including any error possibly output before this message.
 
439
  echo This can help us improve future autoconf versions.
 
440
  echo Configuration will now proceed without shell functions.
 
441
}
 
442
 
 
443
 
 
444
 
 
445
  as_lineno_1=$LINENO
 
446
  as_lineno_2=$LINENO
 
447
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
448
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
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.  :-)
 
460
  sed -n '
 
461
    p
 
462
    /[$]LINENO/=
 
463
  ' <$as_myself |
 
464
    sed '
 
465
      s/[$]LINENO.*/&-/
 
466
      t lineno
 
467
      b
 
468
      :lineno
 
469
      N
 
470
      :loop
 
471
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
472
      t loop
 
473
      s/-\n.*//
 
474
    ' >$as_me.lineno &&
 
475
  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; }; }
 
478
 
 
479
  # Don't try to exec as it changes $[0], causing all sort of problems
 
480
  # (the dirname of $[0] is not the place where we might find the
 
481
  # original and so on.  Autoconf is especially sensitive to this).
 
482
  . "./$as_me.lineno"
 
483
  # Exit status is that of the last command.
 
484
  exit
 
485
}
 
486
 
 
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
ECHO_C= ECHO_N= ECHO_T=
 
495
case `echo -n x` in
 
496
-n*)
 
497
  case `echo 'x\c'` in
 
498
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
499
  *)   ECHO_C='\c';;
 
500
  esac;;
 
501
*)
 
502
  ECHO_N='-n';;
 
503
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
 
 
511
rm -f conf$$ conf$$.exe conf$$.file
 
512
if test -d conf$$.dir; then
 
513
  rm -f conf$$.dir/conf$$.file
 
514
else
 
515
  rm -f conf$$.dir
 
516
  mkdir conf$$.dir 2>/dev/null
 
517
fi
 
518
if (echo >conf$$.file) 2>/dev/null; then
 
519
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
520
    as_ln_s='ln -s'
 
521
    # ... but there are two gotchas:
 
522
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
523
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
524
    # In both cases, we have to default to `cp -p'.
 
525
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
526
      as_ln_s='cp -p'
 
527
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
528
    as_ln_s=ln
 
529
  else
 
530
    as_ln_s='cp -p'
 
531
  fi
 
532
else
 
533
  as_ln_s='cp -p'
 
534
fi
 
535
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
536
rmdir conf$$.dir 2>/dev/null
 
537
 
 
538
if mkdir -p . 2>/dev/null; then
 
539
  as_mkdir_p=:
 
540
else
 
541
  test -d ./-p && rmdir ./-p
 
542
  as_mkdir_p=false
 
543
fi
 
544
 
 
545
if test -x / >/dev/null 2>&1; then
 
546
  as_test_x='test -x'
 
547
else
 
548
  if ls -dL / >/dev/null 2>&1; then
 
549
    as_ls_L_option=L
 
550
  else
 
551
    as_ls_L_option=
 
552
  fi
 
553
  as_test_x='
 
554
    eval sh -c '\''
 
555
      if test -d "$1"; then
 
556
        test -d "$1/.";
 
557
      else
 
558
        case $1 in
 
559
        -*)set "./$1";;
 
560
        esac;
 
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
562
        ???[sx]*):;;*)false;;esac;fi
 
563
    '\'' sh
 
564
  '
 
565
fi
 
566
as_executable_p=$as_test_x
 
567
 
 
568
# Sed expression to map a string onto a valid CPP name.
 
569
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
570
 
 
571
# Sed expression to map a string onto a valid variable name.
 
572
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
573
 
 
574
 
 
575
 
 
576
exec 7<&0 </dev/null 6>&1
 
577
 
 
578
# Name of the host.
 
579
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
580
# so uname gets run too.
 
581
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
582
 
 
583
#
 
584
# Initializations.
 
585
#
 
586
ac_default_prefix=/usr/local
 
587
ac_clean_files=
 
588
ac_config_libobj_dir=.
 
589
LIBOBJS=
 
590
cross_compiling=no
 
591
subdirs=
 
592
MFLAGS=
 
593
MAKEFLAGS=
 
594
SHELL=${CONFIG_SHELL-/bin/sh}
 
595
 
 
596
# Identity of this package.
 
597
PACKAGE_NAME='squid_kerb_auth'
 
598
PACKAGE_TARNAME='squid_kerb_auth'
 
599
PACKAGE_VERSION='1.0.5'
 
600
PACKAGE_STRING='squid_kerb_auth 1.0.5'
 
601
PACKAGE_BUGREPORT='markus_moeller@compuserve.com'
 
602
 
 
603
ac_unique_file="squid_kerb_auth.c"
 
604
# Factoring default headers for most tests.
 
605
ac_includes_default="\
 
606
#include <stdio.h>
 
607
#ifdef HAVE_SYS_TYPES_H
 
608
# include <sys/types.h>
 
609
#endif
 
610
#ifdef HAVE_SYS_STAT_H
 
611
# include <sys/stat.h>
 
612
#endif
 
613
#ifdef STDC_HEADERS
 
614
# include <stdlib.h>
 
615
# include <stddef.h>
 
616
#else
 
617
# ifdef HAVE_STDLIB_H
 
618
#  include <stdlib.h>
 
619
# endif
 
620
#endif
 
621
#ifdef HAVE_STRING_H
 
622
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
623
#  include <memory.h>
 
624
# endif
 
625
# include <string.h>
 
626
#endif
 
627
#ifdef HAVE_STRINGS_H
 
628
# include <strings.h>
 
629
#endif
 
630
#ifdef HAVE_INTTYPES_H
 
631
# include <inttypes.h>
 
632
#endif
 
633
#ifdef HAVE_STDINT_H
 
634
# include <stdint.h>
 
635
#endif
 
636
#ifdef HAVE_UNISTD_H
 
637
# include <unistd.h>
 
638
#endif"
 
639
 
 
640
ac_subst_vars='SHELL
 
641
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
HAVE_SPNEGO_TRUE
 
721
HAVE_SPNEGO_FALSE
 
722
LIBOBJS
 
723
LTLIBOBJS'
 
724
ac_subst_files=''
 
725
ac_user_opts='
 
726
enable_option_checking
 
727
enable_dependency_tracking
 
728
enable_mit
 
729
enable_heimdal
 
730
enable_nas
 
731
enable_seam
 
732
enable_seam_64
 
733
with_squid
 
734
'
 
735
      ac_precious_vars='build_alias
 
736
host_alias
 
737
target_alias
 
738
CC
 
739
CFLAGS
 
740
LDFLAGS
 
741
LIBS
 
742
CPPFLAGS
 
743
CPP'
 
744
 
 
745
 
 
746
# Initialize some variables set by options.
 
747
ac_init_help=
 
748
ac_init_version=false
 
749
ac_unrecognized_opts=
 
750
ac_unrecognized_sep=
 
751
# The variables have the same names as the options, with
 
752
# dashes changed to underlines.
 
753
cache_file=/dev/null
 
754
exec_prefix=NONE
 
755
no_create=
 
756
no_recursion=
 
757
prefix=NONE
 
758
program_prefix=NONE
 
759
program_suffix=NONE
 
760
program_transform_name=s,x,x,
 
761
silent=
 
762
site=
 
763
srcdir=
 
764
verbose=
 
765
x_includes=NONE
 
766
x_libraries=NONE
 
767
 
 
768
# Installation directory options.
 
769
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
770
# and all the variables that are supposed to be based on exec_prefix
 
771
# by default will actually change.
 
772
# Use braces instead of parens because sh, perl, etc. also accept them.
 
773
# (The list follows the same order as the GNU Coding Standards.)
 
774
bindir='${exec_prefix}/bin'
 
775
sbindir='${exec_prefix}/sbin'
 
776
libexecdir='${exec_prefix}/libexec'
 
777
datarootdir='${prefix}/share'
 
778
datadir='${datarootdir}'
 
779
sysconfdir='${prefix}/etc'
 
780
sharedstatedir='${prefix}/com'
 
781
localstatedir='${prefix}/var'
 
782
includedir='${prefix}/include'
 
783
oldincludedir='/usr/include'
 
784
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
785
infodir='${datarootdir}/info'
 
786
htmldir='${docdir}'
 
787
dvidir='${docdir}'
 
788
pdfdir='${docdir}'
 
789
psdir='${docdir}'
 
790
libdir='${exec_prefix}/lib'
 
791
localedir='${datarootdir}/locale'
 
792
mandir='${datarootdir}/man'
 
793
 
 
794
ac_prev=
 
795
ac_dashdash=
 
796
for ac_option
 
797
do
 
798
  # If the previous option needs an argument, assign it.
 
799
  if test -n "$ac_prev"; then
 
800
    eval $ac_prev=\$ac_option
 
801
    ac_prev=
 
802
    continue
 
803
  fi
 
804
 
 
805
  case $ac_option in
 
806
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
807
  *)    ac_optarg=yes ;;
 
808
  esac
 
809
 
 
810
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
811
 
 
812
  case $ac_dashdash$ac_option in
 
813
  --)
 
814
    ac_dashdash=yes ;;
 
815
 
 
816
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
817
    ac_prev=bindir ;;
 
818
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
819
    bindir=$ac_optarg ;;
 
820
 
 
821
  -build | --build | --buil | --bui | --bu)
 
822
    ac_prev=build_alias ;;
 
823
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
824
    build_alias=$ac_optarg ;;
 
825
 
 
826
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
827
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
828
    ac_prev=cache_file ;;
 
829
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
830
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
831
    cache_file=$ac_optarg ;;
 
832
 
 
833
  --config-cache | -C)
 
834
    cache_file=config.cache ;;
 
835
 
 
836
  -datadir | --datadir | --datadi | --datad)
 
837
    ac_prev=datadir ;;
 
838
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
839
    datadir=$ac_optarg ;;
 
840
 
 
841
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
842
  | --dataroo | --dataro | --datar)
 
843
    ac_prev=datarootdir ;;
 
844
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
845
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
846
    datarootdir=$ac_optarg ;;
 
847
 
 
848
  -disable-* | --disable-*)
 
849
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
850
    # Reject names that are not valid shell variable names.
 
851
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
852
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
853
   { (exit 1); exit 1; }; }
 
854
    ac_useropt_orig=$ac_useropt
 
855
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
856
    case $ac_user_opts in
 
857
      *"
 
858
"enable_$ac_useropt"
 
859
"*) ;;
 
860
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
861
         ac_unrecognized_sep=', ';;
 
862
    esac
 
863
    eval enable_$ac_useropt=no ;;
 
864
 
 
865
  -docdir | --docdir | --docdi | --doc | --do)
 
866
    ac_prev=docdir ;;
 
867
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
868
    docdir=$ac_optarg ;;
 
869
 
 
870
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
871
    ac_prev=dvidir ;;
 
872
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
873
    dvidir=$ac_optarg ;;
 
874
 
 
875
  -enable-* | --enable-*)
 
876
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
877
    # Reject names that are not valid shell variable names.
 
878
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
879
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
880
   { (exit 1); exit 1; }; }
 
881
    ac_useropt_orig=$ac_useropt
 
882
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
883
    case $ac_user_opts in
 
884
      *"
 
885
"enable_$ac_useropt"
 
886
"*) ;;
 
887
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
888
         ac_unrecognized_sep=', ';;
 
889
    esac
 
890
    eval enable_$ac_useropt=\$ac_optarg ;;
 
891
 
 
892
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
893
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
894
  | --exec | --exe | --ex)
 
895
    ac_prev=exec_prefix ;;
 
896
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
897
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
898
  | --exec=* | --exe=* | --ex=*)
 
899
    exec_prefix=$ac_optarg ;;
 
900
 
 
901
  -gas | --gas | --ga | --g)
 
902
    # Obsolete; use --with-gas.
 
903
    with_gas=yes ;;
 
904
 
 
905
  -help | --help | --hel | --he | -h)
 
906
    ac_init_help=long ;;
 
907
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
908
    ac_init_help=recursive ;;
 
909
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
910
    ac_init_help=short ;;
 
911
 
 
912
  -host | --host | --hos | --ho)
 
913
    ac_prev=host_alias ;;
 
914
  -host=* | --host=* | --hos=* | --ho=*)
 
915
    host_alias=$ac_optarg ;;
 
916
 
 
917
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
918
    ac_prev=htmldir ;;
 
919
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
920
  | --ht=*)
 
921
    htmldir=$ac_optarg ;;
 
922
 
 
923
  -includedir | --includedir | --includedi | --included | --include \
 
924
  | --includ | --inclu | --incl | --inc)
 
925
    ac_prev=includedir ;;
 
926
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
927
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
928
    includedir=$ac_optarg ;;
 
929
 
 
930
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
931
    ac_prev=infodir ;;
 
932
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
933
    infodir=$ac_optarg ;;
 
934
 
 
935
  -libdir | --libdir | --libdi | --libd)
 
936
    ac_prev=libdir ;;
 
937
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
938
    libdir=$ac_optarg ;;
 
939
 
 
940
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
941
  | --libexe | --libex | --libe)
 
942
    ac_prev=libexecdir ;;
 
943
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
944
  | --libexe=* | --libex=* | --libe=*)
 
945
    libexecdir=$ac_optarg ;;
 
946
 
 
947
  -localedir | --localedir | --localedi | --localed | --locale)
 
948
    ac_prev=localedir ;;
 
949
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
950
    localedir=$ac_optarg ;;
 
951
 
 
952
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
953
  | --localstate | --localstat | --localsta | --localst | --locals)
 
954
    ac_prev=localstatedir ;;
 
955
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
956
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
957
    localstatedir=$ac_optarg ;;
 
958
 
 
959
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
960
    ac_prev=mandir ;;
 
961
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
962
    mandir=$ac_optarg ;;
 
963
 
 
964
  -nfp | --nfp | --nf)
 
965
    # Obsolete; use --without-fp.
 
966
    with_fp=no ;;
 
967
 
 
968
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
969
  | --no-cr | --no-c | -n)
 
970
    no_create=yes ;;
 
971
 
 
972
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
973
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
974
    no_recursion=yes ;;
 
975
 
 
976
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
977
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
978
  | --oldin | --oldi | --old | --ol | --o)
 
979
    ac_prev=oldincludedir ;;
 
980
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
981
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
982
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
983
    oldincludedir=$ac_optarg ;;
 
984
 
 
985
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
986
    ac_prev=prefix ;;
 
987
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
988
    prefix=$ac_optarg ;;
 
989
 
 
990
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
991
  | --program-pre | --program-pr | --program-p)
 
992
    ac_prev=program_prefix ;;
 
993
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
994
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
995
    program_prefix=$ac_optarg ;;
 
996
 
 
997
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
998
  | --program-suf | --program-su | --program-s)
 
999
    ac_prev=program_suffix ;;
 
1000
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1001
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1002
    program_suffix=$ac_optarg ;;
 
1003
 
 
1004
  -program-transform-name | --program-transform-name \
 
1005
  | --program-transform-nam | --program-transform-na \
 
1006
  | --program-transform-n | --program-transform- \
 
1007
  | --program-transform | --program-transfor \
 
1008
  | --program-transfo | --program-transf \
 
1009
  | --program-trans | --program-tran \
 
1010
  | --progr-tra | --program-tr | --program-t)
 
1011
    ac_prev=program_transform_name ;;
 
1012
  -program-transform-name=* | --program-transform-name=* \
 
1013
  | --program-transform-nam=* | --program-transform-na=* \
 
1014
  | --program-transform-n=* | --program-transform-=* \
 
1015
  | --program-transform=* | --program-transfor=* \
 
1016
  | --program-transfo=* | --program-transf=* \
 
1017
  | --program-trans=* | --program-tran=* \
 
1018
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1019
    program_transform_name=$ac_optarg ;;
 
1020
 
 
1021
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1022
    ac_prev=pdfdir ;;
 
1023
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1024
    pdfdir=$ac_optarg ;;
 
1025
 
 
1026
  -psdir | --psdir | --psdi | --psd | --ps)
 
1027
    ac_prev=psdir ;;
 
1028
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1029
    psdir=$ac_optarg ;;
 
1030
 
 
1031
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1032
  | -silent | --silent | --silen | --sile | --sil)
 
1033
    silent=yes ;;
 
1034
 
 
1035
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1036
    ac_prev=sbindir ;;
 
1037
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1038
  | --sbi=* | --sb=*)
 
1039
    sbindir=$ac_optarg ;;
 
1040
 
 
1041
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1042
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1043
  | --sharedst | --shareds | --shared | --share | --shar \
 
1044
  | --sha | --sh)
 
1045
    ac_prev=sharedstatedir ;;
 
1046
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1047
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1048
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1049
  | --sha=* | --sh=*)
 
1050
    sharedstatedir=$ac_optarg ;;
 
1051
 
 
1052
  -site | --site | --sit)
 
1053
    ac_prev=site ;;
 
1054
  -site=* | --site=* | --sit=*)
 
1055
    site=$ac_optarg ;;
 
1056
 
 
1057
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1058
    ac_prev=srcdir ;;
 
1059
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1060
    srcdir=$ac_optarg ;;
 
1061
 
 
1062
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1063
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1064
    ac_prev=sysconfdir ;;
 
1065
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1066
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1067
    sysconfdir=$ac_optarg ;;
 
1068
 
 
1069
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1070
    ac_prev=target_alias ;;
 
1071
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1072
    target_alias=$ac_optarg ;;
 
1073
 
 
1074
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1075
    verbose=yes ;;
 
1076
 
 
1077
  -version | --version | --versio | --versi | --vers | -V)
 
1078
    ac_init_version=: ;;
 
1079
 
 
1080
  -with-* | --with-*)
 
1081
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1082
    # Reject names that are not valid shell variable names.
 
1083
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1084
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1085
   { (exit 1); exit 1; }; }
 
1086
    ac_useropt_orig=$ac_useropt
 
1087
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1088
    case $ac_user_opts in
 
1089
      *"
 
1090
"with_$ac_useropt"
 
1091
"*) ;;
 
1092
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1093
         ac_unrecognized_sep=', ';;
 
1094
    esac
 
1095
    eval with_$ac_useropt=\$ac_optarg ;;
 
1096
 
 
1097
  -without-* | --without-*)
 
1098
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1099
    # Reject names that are not valid shell variable names.
 
1100
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1101
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1102
   { (exit 1); exit 1; }; }
 
1103
    ac_useropt_orig=$ac_useropt
 
1104
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1105
    case $ac_user_opts in
 
1106
      *"
 
1107
"with_$ac_useropt"
 
1108
"*) ;;
 
1109
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1110
         ac_unrecognized_sep=', ';;
 
1111
    esac
 
1112
    eval with_$ac_useropt=no ;;
 
1113
 
 
1114
  --x)
 
1115
    # Obsolete; use --with-x.
 
1116
    with_x=yes ;;
 
1117
 
 
1118
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1119
  | --x-incl | --x-inc | --x-in | --x-i)
 
1120
    ac_prev=x_includes ;;
 
1121
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1122
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1123
    x_includes=$ac_optarg ;;
 
1124
 
 
1125
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1126
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1127
    ac_prev=x_libraries ;;
 
1128
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1129
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1130
    x_libraries=$ac_optarg ;;
 
1131
 
 
1132
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
 
1133
Try \`$0 --help' for more information." >&2
 
1134
   { (exit 1); exit 1; }; }
 
1135
    ;;
 
1136
 
 
1137
  *=*)
 
1138
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1139
    # Reject names that are not valid shell variable names.
 
1140
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
1141
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1142
   { (exit 1); exit 1; }; }
 
1143
    eval $ac_envvar=\$ac_optarg
 
1144
    export $ac_envvar ;;
 
1145
 
 
1146
  *)
 
1147
    # FIXME: should be removed in autoconf 3.0.
 
1148
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1149
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1150
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1151
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1152
    ;;
 
1153
 
 
1154
  esac
 
1155
done
 
1156
 
 
1157
if test -n "$ac_prev"; then
 
1158
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1159
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 
1160
   { (exit 1); exit 1; }; }
 
1161
fi
 
1162
 
 
1163
if test -n "$ac_unrecognized_opts"; then
 
1164
  case $enable_option_checking in
 
1165
    no) ;;
 
1166
    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
 
1167
   { (exit 1); exit 1; }; } ;;
 
1168
    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1169
  esac
 
1170
fi
 
1171
 
 
1172
# Check all directory arguments for consistency.
 
1173
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1174
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1175
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1176
                libdir localedir mandir
 
1177
do
 
1178
  eval ac_val=\$$ac_var
 
1179
  # Remove trailing slashes.
 
1180
  case $ac_val in
 
1181
    */ )
 
1182
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1183
      eval $ac_var=\$ac_val;;
 
1184
  esac
 
1185
  # Be sure to have absolute directory names.
 
1186
  case $ac_val in
 
1187
    [\\/$]* | ?:[\\/]* )  continue;;
 
1188
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1189
  esac
 
1190
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1191
   { (exit 1); exit 1; }; }
 
1192
done
 
1193
 
 
1194
# There might be people who depend on the old broken behavior: `$host'
 
1195
# used to hold the argument of --host etc.
 
1196
# FIXME: To remove some day.
 
1197
build=$build_alias
 
1198
host=$host_alias
 
1199
target=$target_alias
 
1200
 
 
1201
# FIXME: To remove some day.
 
1202
if test "x$host_alias" != x; then
 
1203
  if test "x$build_alias" = x; then
 
1204
    cross_compiling=maybe
 
1205
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1206
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1207
  elif test "x$build_alias" != "x$host_alias"; then
 
1208
    cross_compiling=yes
 
1209
  fi
 
1210
fi
 
1211
 
 
1212
ac_tool_prefix=
 
1213
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1214
 
 
1215
test "$silent" = yes && exec 6>/dev/null
 
1216
 
 
1217
 
 
1218
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1219
ac_ls_di=`ls -di .` &&
 
1220
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1221
  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
 
1222
   { (exit 1); exit 1; }; }
 
1223
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1224
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 
1225
   { (exit 1); exit 1; }; }
 
1226
 
 
1227
 
 
1228
# Find the source files, if location was not specified.
 
1229
if test -z "$srcdir"; then
 
1230
  ac_srcdir_defaulted=yes
 
1231
  # Try the directory containing this script, then the parent directory.
 
1232
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1233
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1234
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1235
         X"$as_myself" : 'X\(//\)$' \| \
 
1236
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1237
$as_echo X"$as_myself" |
 
1238
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1239
            s//\1/
 
1240
            q
 
1241
          }
 
1242
          /^X\(\/\/\)[^/].*/{
 
1243
            s//\1/
 
1244
            q
 
1245
          }
 
1246
          /^X\(\/\/\)$/{
 
1247
            s//\1/
 
1248
            q
 
1249
          }
 
1250
          /^X\(\/\).*/{
 
1251
            s//\1/
 
1252
            q
 
1253
          }
 
1254
          s/.*/./; q'`
 
1255
  srcdir=$ac_confdir
 
1256
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1257
    srcdir=..
 
1258
  fi
 
1259
else
 
1260
  ac_srcdir_defaulted=no
 
1261
fi
 
1262
if test ! -r "$srcdir/$ac_unique_file"; then
 
1263
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1264
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1265
   { (exit 1); exit 1; }; }
 
1266
fi
 
1267
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1268
ac_abs_confdir=`(
 
1269
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 
1270
   { (exit 1); exit 1; }; }
 
1271
        pwd)`
 
1272
# When building in place, set srcdir=.
 
1273
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1274
  srcdir=.
 
1275
fi
 
1276
# Remove unnecessary trailing slashes from srcdir.
 
1277
# Double slashes in file names in object file debugging info
 
1278
# mess up M-x gdb in Emacs.
 
1279
case $srcdir in
 
1280
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1281
esac
 
1282
for ac_var in $ac_precious_vars; do
 
1283
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1284
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1285
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1286
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1287
done
 
1288
 
 
1289
#
 
1290
# Report the --help message.
 
1291
#
 
1292
if test "$ac_init_help" = "long"; then
 
1293
  # Omit some internal or obsolete options to make the list less imposing.
 
1294
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1295
  cat <<_ACEOF
 
1296
\`configure' configures squid_kerb_auth 1.0.5 to adapt to many kinds of systems.
 
1297
 
 
1298
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1299
 
 
1300
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1301
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1302
 
 
1303
Defaults for the options are specified in brackets.
 
1304
 
 
1305
Configuration:
 
1306
  -h, --help              display this help and exit
 
1307
      --help=short        display options specific to this package
 
1308
      --help=recursive    display the short help of all the included packages
 
1309
  -V, --version           display version information and exit
 
1310
  -q, --quiet, --silent   do not print \`checking...' messages
 
1311
      --cache-file=FILE   cache test results in FILE [disabled]
 
1312
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1313
  -n, --no-create         do not create output files
 
1314
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1315
 
 
1316
Installation directories:
 
1317
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1318
                          [$ac_default_prefix]
 
1319
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1320
                          [PREFIX]
 
1321
 
 
1322
By default, \`make install' will install all the files in
 
1323
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1324
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1325
for instance \`--prefix=\$HOME'.
 
1326
 
 
1327
For better control, use the options below.
 
1328
 
 
1329
Fine tuning of the installation directories:
 
1330
  --bindir=DIR            user executables [EPREFIX/bin]
 
1331
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1332
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1333
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1334
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1335
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1336
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1337
  --includedir=DIR        C header files [PREFIX/include]
 
1338
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1339
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1340
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1341
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1342
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1343
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1344
  --docdir=DIR            documentation root [DATAROOTDIR/doc/squid_kerb_auth]
 
1345
  --htmldir=DIR           html documentation [DOCDIR]
 
1346
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1347
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1348
  --psdir=DIR             ps documentation [DOCDIR]
 
1349
_ACEOF
 
1350
 
 
1351
  cat <<\_ACEOF
 
1352
 
 
1353
Program names:
 
1354
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1355
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1356
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1357
_ACEOF
 
1358
fi
 
1359
 
 
1360
if test -n "$ac_init_help"; then
 
1361
  case $ac_init_help in
 
1362
     short | recursive ) echo "Configuration of squid_kerb_auth 1.0.5:";;
 
1363
   esac
 
1364
  cat <<\_ACEOF
 
1365
 
 
1366
Optional Features:
 
1367
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1368
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1369
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1370
  --disable-dependency-tracking  speeds up one-time build
 
1371
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1372
  --enable-mit=DIR        enable use of MIT package (default=yes)
 
1373
  --enable-heimdal=DIR    enable use of Heimdal package (default=no)
 
1374
  --enable-nas            enable use of NAS(AIX) package (default=no)
 
1375
  --enable-seam=SRC       enable use of SEAM(Solaris) package (default=no)
 
1376
  --enable-seam-64=SRC    enable use of 64bit SEAM(Solaris) package (default=no)
 
1377
 
 
1378
Optional Packages:
 
1379
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1380
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1381
  --with-squid=PATH       Special option for building bundled inside Squid. Do
 
1382
                          not define manually.
 
1383
 
 
1384
Some influential environment variables:
 
1385
  CC          C compiler command
 
1386
  CFLAGS      C compiler flags
 
1387
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1388
              nonstandard directory <lib dir>
 
1389
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1390
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1391
              you have headers in a nonstandard directory <include dir>
 
1392
  CPP         C preprocessor
 
1393
 
 
1394
Use these variables to override the choices made by `configure' or to help
 
1395
it to find libraries and programs with nonstandard names/locations.
 
1396
 
 
1397
Report bugs to <markus_moeller@compuserve.com>.
 
1398
_ACEOF
 
1399
ac_status=$?
 
1400
fi
 
1401
 
 
1402
if test "$ac_init_help" = "recursive"; then
 
1403
  # If there are subdirs, report their specific --help.
 
1404
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1405
    test -d "$ac_dir" ||
 
1406
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1407
      continue
 
1408
    ac_builddir=.
 
1409
 
 
1410
case "$ac_dir" in
 
1411
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1412
*)
 
1413
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1414
  # A ".." for each directory in $ac_dir_suffix.
 
1415
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1416
  case $ac_top_builddir_sub in
 
1417
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1418
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1419
  esac ;;
 
1420
esac
 
1421
ac_abs_top_builddir=$ac_pwd
 
1422
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1423
# for backward compatibility:
 
1424
ac_top_builddir=$ac_top_build_prefix
 
1425
 
 
1426
case $srcdir in
 
1427
  .)  # We are building in place.
 
1428
    ac_srcdir=.
 
1429
    ac_top_srcdir=$ac_top_builddir_sub
 
1430
    ac_abs_top_srcdir=$ac_pwd ;;
 
1431
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1432
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1433
    ac_top_srcdir=$srcdir
 
1434
    ac_abs_top_srcdir=$srcdir ;;
 
1435
  *) # Relative name.
 
1436
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1437
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1438
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1439
esac
 
1440
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1441
 
 
1442
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1443
    # Check for guested configure.
 
1444
    if test -f "$ac_srcdir/configure.gnu"; then
 
1445
      echo &&
 
1446
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1447
    elif test -f "$ac_srcdir/configure"; then
 
1448
      echo &&
 
1449
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1450
    else
 
1451
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1452
    fi || ac_status=$?
 
1453
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1454
  done
 
1455
fi
 
1456
 
 
1457
test -n "$ac_init_help" && exit $ac_status
 
1458
if $ac_init_version; then
 
1459
  cat <<\_ACEOF
 
1460
squid_kerb_auth configure 1.0.5
 
1461
generated by GNU Autoconf 2.62
 
1462
 
 
1463
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1464
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1465
This configure script is free software; the Free Software Foundation
 
1466
gives unlimited permission to copy, distribute and modify it.
 
1467
_ACEOF
 
1468
  exit
 
1469
fi
 
1470
cat >config.log <<_ACEOF
 
1471
This file contains any messages produced by compilers while
 
1472
running configure, to aid debugging if configure makes a mistake.
 
1473
 
 
1474
It was created by squid_kerb_auth $as_me 1.0.5, which was
 
1475
generated by GNU Autoconf 2.62.  Invocation command line was
 
1476
 
 
1477
  $ $0 $@
 
1478
 
 
1479
_ACEOF
 
1480
exec 5>>config.log
 
1481
{
 
1482
cat <<_ASUNAME
 
1483
## --------- ##
 
1484
## Platform. ##
 
1485
## --------- ##
 
1486
 
 
1487
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1488
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1489
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1490
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1491
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1492
 
 
1493
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1494
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1495
 
 
1496
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1497
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1498
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1499
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1500
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1501
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1502
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1503
 
 
1504
_ASUNAME
 
1505
 
 
1506
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1507
for as_dir in $PATH
 
1508
do
 
1509
  IFS=$as_save_IFS
 
1510
  test -z "$as_dir" && as_dir=.
 
1511
  $as_echo "PATH: $as_dir"
 
1512
done
 
1513
IFS=$as_save_IFS
 
1514
 
 
1515
} >&5
 
1516
 
 
1517
cat >&5 <<_ACEOF
 
1518
 
 
1519
 
 
1520
## ----------- ##
 
1521
## Core tests. ##
 
1522
## ----------- ##
 
1523
 
 
1524
_ACEOF
 
1525
 
 
1526
 
 
1527
# Keep a trace of the command line.
 
1528
# Strip out --no-create and --no-recursion so they do not pile up.
 
1529
# Strip out --silent because we don't want to record it for future runs.
 
1530
# Also quote any args containing shell meta-characters.
 
1531
# Make two passes to allow for proper duplicate-argument suppression.
 
1532
ac_configure_args=
 
1533
ac_configure_args0=
 
1534
ac_configure_args1=
 
1535
ac_must_keep_next=false
 
1536
for ac_pass in 1 2
 
1537
do
 
1538
  for ac_arg
 
1539
  do
 
1540
    case $ac_arg in
 
1541
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1542
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1543
    | -silent | --silent | --silen | --sile | --sil)
 
1544
      continue ;;
 
1545
    *\'*)
 
1546
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1547
    esac
 
1548
    case $ac_pass in
 
1549
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1550
    2)
 
1551
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1552
      if test $ac_must_keep_next = true; then
 
1553
        ac_must_keep_next=false # Got value, back to normal.
 
1554
      else
 
1555
        case $ac_arg in
 
1556
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1557
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1558
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1559
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1560
            case "$ac_configure_args0 " in
 
1561
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1562
            esac
 
1563
            ;;
 
1564
          -* ) ac_must_keep_next=true ;;
 
1565
        esac
 
1566
      fi
 
1567
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1568
      ;;
 
1569
    esac
 
1570
  done
 
1571
done
 
1572
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1573
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1574
 
 
1575
# When interrupted or exit'd, cleanup temporary files, and complete
 
1576
# config.log.  We remove comments because anyway the quotes in there
 
1577
# would cause problems or look ugly.
 
1578
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1579
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1580
trap 'exit_status=$?
 
1581
  # Save into config.log some information that might help in debugging.
 
1582
  {
 
1583
    echo
 
1584
 
 
1585
    cat <<\_ASBOX
 
1586
## ---------------- ##
 
1587
## Cache variables. ##
 
1588
## ---------------- ##
 
1589
_ASBOX
 
1590
    echo
 
1591
    # The following way of writing the cache mishandles newlines in values,
 
1592
(
 
1593
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1594
    eval ac_val=\$$ac_var
 
1595
    case $ac_val in #(
 
1596
    *${as_nl}*)
 
1597
      case $ac_var in #(
 
1598
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1599
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1600
      esac
 
1601
      case $ac_var in #(
 
1602
      _ | IFS | as_nl) ;; #(
 
1603
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1604
      *) $as_unset $ac_var ;;
 
1605
      esac ;;
 
1606
    esac
 
1607
  done
 
1608
  (set) 2>&1 |
 
1609
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1610
    *${as_nl}ac_space=\ *)
 
1611
      sed -n \
 
1612
        "s/'\''/'\''\\\\'\'''\''/g;
 
1613
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1614
      ;; #(
 
1615
    *)
 
1616
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1617
      ;;
 
1618
    esac |
 
1619
    sort
 
1620
)
 
1621
    echo
 
1622
 
 
1623
    cat <<\_ASBOX
 
1624
## ----------------- ##
 
1625
## Output variables. ##
 
1626
## ----------------- ##
 
1627
_ASBOX
 
1628
    echo
 
1629
    for ac_var in $ac_subst_vars
 
1630
    do
 
1631
      eval ac_val=\$$ac_var
 
1632
      case $ac_val in
 
1633
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1634
      esac
 
1635
      $as_echo "$ac_var='\''$ac_val'\''"
 
1636
    done | sort
 
1637
    echo
 
1638
 
 
1639
    if test -n "$ac_subst_files"; then
 
1640
      cat <<\_ASBOX
 
1641
## ------------------- ##
 
1642
## File substitutions. ##
 
1643
## ------------------- ##
 
1644
_ASBOX
 
1645
      echo
 
1646
      for ac_var in $ac_subst_files
 
1647
      do
 
1648
        eval ac_val=\$$ac_var
 
1649
        case $ac_val in
 
1650
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1651
        esac
 
1652
        $as_echo "$ac_var='\''$ac_val'\''"
 
1653
      done | sort
 
1654
      echo
 
1655
    fi
 
1656
 
 
1657
    if test -s confdefs.h; then
 
1658
      cat <<\_ASBOX
 
1659
## ----------- ##
 
1660
## confdefs.h. ##
 
1661
## ----------- ##
 
1662
_ASBOX
 
1663
      echo
 
1664
      cat confdefs.h
 
1665
      echo
 
1666
    fi
 
1667
    test "$ac_signal" != 0 &&
 
1668
      $as_echo "$as_me: caught signal $ac_signal"
 
1669
    $as_echo "$as_me: exit $exit_status"
 
1670
  } >&5
 
1671
  rm -f core *.core core.conftest.* &&
 
1672
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1673
    exit $exit_status
 
1674
' 0
 
1675
for ac_signal in 1 2 13 15; do
 
1676
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1677
done
 
1678
ac_signal=0
 
1679
 
 
1680
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1681
rm -f -r conftest* confdefs.h
 
1682
 
 
1683
# Predefined preprocessor variables.
 
1684
 
 
1685
cat >>confdefs.h <<_ACEOF
 
1686
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1687
_ACEOF
 
1688
 
 
1689
 
 
1690
cat >>confdefs.h <<_ACEOF
 
1691
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1692
_ACEOF
 
1693
 
 
1694
 
 
1695
cat >>confdefs.h <<_ACEOF
 
1696
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1697
_ACEOF
 
1698
 
 
1699
 
 
1700
cat >>confdefs.h <<_ACEOF
 
1701
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1702
_ACEOF
 
1703
 
 
1704
 
 
1705
cat >>confdefs.h <<_ACEOF
 
1706
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1707
_ACEOF
 
1708
 
 
1709
 
 
1710
# Let the site file select an alternate cache file if it wants to.
 
1711
# Prefer an explicitly selected file to automatically selected ones.
 
1712
ac_site_file1=NONE
 
1713
ac_site_file2=NONE
 
1714
if test -n "$CONFIG_SITE"; then
 
1715
  ac_site_file1=$CONFIG_SITE
 
1716
elif test "x$prefix" != xNONE; then
 
1717
  ac_site_file1=$prefix/share/config.site
 
1718
  ac_site_file2=$prefix/etc/config.site
 
1719
else
 
1720
  ac_site_file1=$ac_default_prefix/share/config.site
 
1721
  ac_site_file2=$ac_default_prefix/etc/config.site
 
1722
fi
 
1723
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
1724
do
 
1725
  test "x$ac_site_file" = xNONE && continue
 
1726
  if test -r "$ac_site_file"; then
 
1727
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1728
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
1729
    sed 's/^/| /' "$ac_site_file" >&5
 
1730
    . "$ac_site_file"
 
1731
  fi
 
1732
done
 
1733
 
 
1734
if test -r "$cache_file"; then
 
1735
  # Some versions of bash will fail to source /dev/null (special
 
1736
  # files actually), so we avoid doing that.
 
1737
  if test -f "$cache_file"; then
 
1738
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1739
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
1740
    case $cache_file in
 
1741
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1742
      *)                      . "./$cache_file";;
 
1743
    esac
 
1744
  fi
 
1745
else
 
1746
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1747
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
1748
  >$cache_file
 
1749
fi
 
1750
 
 
1751
# Check that the precious variables saved in the cache have kept the same
 
1752
# value.
 
1753
ac_cache_corrupted=false
 
1754
for ac_var in $ac_precious_vars; do
 
1755
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1756
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1757
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1758
  eval ac_new_val=\$ac_env_${ac_var}_value
 
1759
  case $ac_old_set,$ac_new_set in
 
1760
    set,)
 
1761
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1762
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1763
      ac_cache_corrupted=: ;;
 
1764
    ,set)
 
1765
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1766
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1767
      ac_cache_corrupted=: ;;
 
1768
    ,);;
 
1769
    *)
 
1770
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1771
        # differences in whitespace do not lead to failure.
 
1772
        ac_old_val_w=`echo x $ac_old_val`
 
1773
        ac_new_val_w=`echo x $ac_new_val`
 
1774
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1775
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1776
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1777
          ac_cache_corrupted=:
 
1778
        else
 
1779
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1780
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1781
          eval $ac_var=\$ac_old_val
 
1782
        fi
 
1783
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1784
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1785
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1786
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
1787
      fi;;
 
1788
  esac
 
1789
  # Pass precious variables to config.status.
 
1790
  if test "$ac_new_set" = set; then
 
1791
    case $ac_new_val in
 
1792
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1793
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1794
    esac
 
1795
    case " $ac_configure_args " in
 
1796
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1797
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1798
    esac
 
1799
  fi
 
1800
done
 
1801
if $ac_cache_corrupted; then
 
1802
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1803
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1804
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1805
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1806
   { (exit 1); exit 1; }; }
 
1807
fi
 
1808
 
 
1809
 
 
1810
 
 
1811
 
 
1812
 
 
1813
 
 
1814
 
 
1815
 
 
1816
 
 
1817
 
 
1818
 
 
1819
 
 
1820
 
 
1821
 
 
1822
 
 
1823
 
 
1824
 
 
1825
 
 
1826
 
 
1827
 
 
1828
 
 
1829
 
 
1830
 
 
1831
 
 
1832
 
 
1833
ac_ext=c
 
1834
ac_cpp='$CPP $CPPFLAGS'
 
1835
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1836
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1837
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1838
 
 
1839
 
 
1840
am__api_version='1.10'
 
1841
 
 
1842
ac_aux_dir=
 
1843
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1844
  if test -f "$ac_dir/install-sh"; then
 
1845
    ac_aux_dir=$ac_dir
 
1846
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1847
    break
 
1848
  elif test -f "$ac_dir/install.sh"; then
 
1849
    ac_aux_dir=$ac_dir
 
1850
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1851
    break
 
1852
  elif test -f "$ac_dir/shtool"; then
 
1853
    ac_aux_dir=$ac_dir
 
1854
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1855
    break
 
1856
  fi
 
1857
done
 
1858
if test -z "$ac_aux_dir"; then
 
1859
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1860
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1861
   { (exit 1); exit 1; }; }
 
1862
fi
 
1863
 
 
1864
# These three variables are undocumented and unsupported,
 
1865
# and are intended to be withdrawn in a future Autoconf release.
 
1866
# They can cause serious problems if a builder's source tree is in a directory
 
1867
# whose full name contains unusual characters.
 
1868
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1869
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1870
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1871
 
 
1872
 
 
1873
# Find a good install program.  We prefer a C program (faster),
 
1874
# so one script is as good as another.  But avoid the broken or
 
1875
# incompatible versions:
 
1876
# SysV /etc/install, /usr/sbin/install
 
1877
# SunOS /usr/etc/install
 
1878
# IRIX /sbin/install
 
1879
# AIX /bin/install
 
1880
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
1881
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
1882
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
1883
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1884
# OS/2's system install, which has a completely different semantic
 
1885
# ./install, which can be erroneously created by make from ./install.sh.
 
1886
# Reject install programs that cannot install multiple files.
 
1887
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1888
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
1889
if test -z "$INSTALL"; then
 
1890
if test "${ac_cv_path_install+set}" = set; then
 
1891
  $as_echo_n "(cached) " >&6
 
1892
else
 
1893
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1894
for as_dir in $PATH
 
1895
do
 
1896
  IFS=$as_save_IFS
 
1897
  test -z "$as_dir" && as_dir=.
 
1898
  # Account for people who put trailing slashes in PATH elements.
 
1899
case $as_dir/ in
 
1900
  ./ | .// | /cC/* | \
 
1901
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1902
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1903
  /usr/ucb/* ) ;;
 
1904
  *)
 
1905
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
1906
    # Don't use installbsd from OSF since it installs stuff as root
 
1907
    # by default.
 
1908
    for ac_prog in ginstall scoinst install; do
 
1909
      for ac_exec_ext in '' $ac_executable_extensions; do
 
1910
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
1911
          if test $ac_prog = install &&
 
1912
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1913
            # AIX install.  It has an incompatible calling convention.
 
1914
            :
 
1915
          elif test $ac_prog = install &&
 
1916
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1917
            # program-specific install script used by HP pwplus--don't use.
 
1918
            :
 
1919
          else
 
1920
            rm -rf conftest.one conftest.two conftest.dir
 
1921
            echo one > conftest.one
 
1922
            echo two > conftest.two
 
1923
            mkdir conftest.dir
 
1924
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
1925
              test -s conftest.one && test -s conftest.two &&
 
1926
              test -s conftest.dir/conftest.one &&
 
1927
              test -s conftest.dir/conftest.two
 
1928
            then
 
1929
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1930
              break 3
 
1931
            fi
 
1932
          fi
 
1933
        fi
 
1934
      done
 
1935
    done
 
1936
    ;;
 
1937
esac
 
1938
 
 
1939
done
 
1940
IFS=$as_save_IFS
 
1941
 
 
1942
rm -rf conftest.one conftest.two conftest.dir
 
1943
 
 
1944
fi
 
1945
  if test "${ac_cv_path_install+set}" = set; then
 
1946
    INSTALL=$ac_cv_path_install
 
1947
  else
 
1948
    # As a last resort, use the slow shell script.  Don't cache a
 
1949
    # value for INSTALL within a source directory, because that will
 
1950
    # break other packages using the cache if that directory is
 
1951
    # removed, or if the value is a relative name.
 
1952
    INSTALL=$ac_install_sh
 
1953
  fi
 
1954
fi
 
1955
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1956
$as_echo "$INSTALL" >&6; }
 
1957
 
 
1958
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
1959
# It thinks the first close brace ends the variable substitution.
 
1960
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
1961
 
 
1962
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1963
 
 
1964
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1965
 
 
1966
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1967
$as_echo_n "checking whether build environment is sane... " >&6; }
 
1968
# Just in case
 
1969
sleep 1
 
1970
echo timestamp > conftest.file
 
1971
# Do `set' in a subshell so we don't clobber the current shell's
 
1972
# arguments.  Must try -L first in case configure is actually a
 
1973
# symlink; some systems play weird games with the mod time of symlinks
 
1974
# (eg FreeBSD returns the mod time of the symlink's containing
 
1975
# directory).
 
1976
if (
 
1977
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1978
   if test "$*" = "X"; then
 
1979
      # -L didn't work.
 
1980
      set X `ls -t $srcdir/configure conftest.file`
 
1981
   fi
 
1982
   rm -f conftest.file
 
1983
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1984
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
1985
 
 
1986
      # If neither matched, then we have a broken ls.  This can happen
 
1987
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
1988
      # broken ls alias from the environment.  This has actually
 
1989
      # happened.  Such a system could not be considered "sane".
 
1990
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
1991
alias in your environment" >&5
 
1992
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
1993
alias in your environment" >&2;}
 
1994
   { (exit 1); exit 1; }; }
 
1995
   fi
 
1996
 
 
1997
   test "$2" = conftest.file
 
1998
   )
 
1999
then
 
2000
   # Ok.
 
2001
   :
 
2002
else
 
2003
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2004
Check your system clock" >&5
 
2005
$as_echo "$as_me: error: newly created file is older than distributed files!
 
2006
Check your system clock" >&2;}
 
2007
   { (exit 1); exit 1; }; }
 
2008
fi
 
2009
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2010
$as_echo "yes" >&6; }
 
2011
test "$program_prefix" != NONE &&
 
2012
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2013
# Use a double $ so make ignores it.
 
2014
test "$program_suffix" != NONE &&
 
2015
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2016
# Double any \ or $.
 
2017
# By default was `s,x,x', remove it if useless.
 
2018
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2019
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2020
 
 
2021
# expand $ac_aux_dir to an absolute path
 
2022
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2023
 
 
2024
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2025
# Use eval to expand $SHELL
 
2026
if eval "$MISSING --run true"; then
 
2027
  am_missing_run="$MISSING --run "
 
2028
else
 
2029
  am_missing_run=
 
2030
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2031
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2032
fi
 
2033
 
 
2034
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2035
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2036
if test -z "$MKDIR_P"; then
 
2037
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2038
  $as_echo_n "(cached) " >&6
 
2039
else
 
2040
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2041
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2042
do
 
2043
  IFS=$as_save_IFS
 
2044
  test -z "$as_dir" && as_dir=.
 
2045
  for ac_prog in mkdir gmkdir; do
 
2046
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2047
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2048
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2049
             'mkdir (GNU coreutils) '* | \
 
2050
             'mkdir (coreutils) '* | \
 
2051
             'mkdir (fileutils) '4.1*)
 
2052
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2053
               break 3;;
 
2054
           esac
 
2055
         done
 
2056
       done
 
2057
done
 
2058
IFS=$as_save_IFS
 
2059
 
 
2060
fi
 
2061
 
 
2062
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2063
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2064
  else
 
2065
    # As a last resort, use the slow shell script.  Don't cache a
 
2066
    # value for MKDIR_P within a source directory, because that will
 
2067
    # break other packages using the cache if that directory is
 
2068
    # removed, or if the value is a relative name.
 
2069
    test -d ./--version && rmdir ./--version
 
2070
    MKDIR_P="$ac_install_sh -d"
 
2071
  fi
 
2072
fi
 
2073
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2074
$as_echo "$MKDIR_P" >&6; }
 
2075
 
 
2076
mkdir_p="$MKDIR_P"
 
2077
case $mkdir_p in
 
2078
  [\\/$]* | ?:[\\/]*) ;;
 
2079
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2080
esac
 
2081
 
 
2082
for ac_prog in gawk mawk nawk awk
 
2083
do
 
2084
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2085
set dummy $ac_prog; ac_word=$2
 
2086
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2087
$as_echo_n "checking for $ac_word... " >&6; }
 
2088
if test "${ac_cv_prog_AWK+set}" = set; then
 
2089
  $as_echo_n "(cached) " >&6
 
2090
else
 
2091
  if test -n "$AWK"; then
 
2092
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2093
else
 
2094
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2095
for as_dir in $PATH
 
2096
do
 
2097
  IFS=$as_save_IFS
 
2098
  test -z "$as_dir" && as_dir=.
 
2099
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2100
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2101
    ac_cv_prog_AWK="$ac_prog"
 
2102
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2103
    break 2
 
2104
  fi
 
2105
done
 
2106
done
 
2107
IFS=$as_save_IFS
 
2108
 
 
2109
fi
 
2110
fi
 
2111
AWK=$ac_cv_prog_AWK
 
2112
if test -n "$AWK"; then
 
2113
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2114
$as_echo "$AWK" >&6; }
 
2115
else
 
2116
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2117
$as_echo "no" >&6; }
 
2118
fi
 
2119
 
 
2120
 
 
2121
  test -n "$AWK" && break
 
2122
done
 
2123
 
 
2124
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2125
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2126
set x ${MAKE-make}
 
2127
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2128
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2129
  $as_echo_n "(cached) " >&6
 
2130
else
 
2131
  cat >conftest.make <<\_ACEOF
 
2132
SHELL = /bin/sh
 
2133
all:
 
2134
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2135
_ACEOF
 
2136
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2137
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2138
  *@@@%%%=?*=@@@%%%*)
 
2139
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2140
  *)
 
2141
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2142
esac
 
2143
rm -f conftest.make
 
2144
fi
 
2145
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2146
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2147
$as_echo "yes" >&6; }
 
2148
  SET_MAKE=
 
2149
else
 
2150
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2151
$as_echo "no" >&6; }
 
2152
  SET_MAKE="MAKE=${MAKE-make}"
 
2153
fi
 
2154
 
 
2155
rm -rf .tst 2>/dev/null
 
2156
mkdir .tst 2>/dev/null
 
2157
if test -d .tst; then
 
2158
  am__leading_dot=.
 
2159
else
 
2160
  am__leading_dot=_
 
2161
fi
 
2162
rmdir .tst 2>/dev/null
 
2163
 
 
2164
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2165
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2166
  # is not polluted with repeated "-I."
 
2167
  am__isrc=' -I$(srcdir)'
 
2168
  # test to see if srcdir already configured
 
2169
  if test -f $srcdir/config.status; then
 
2170
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2171
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2172
   { (exit 1); exit 1; }; }
 
2173
  fi
 
2174
fi
 
2175
 
 
2176
# test whether we have cygpath
 
2177
if test -z "$CYGPATH_W"; then
 
2178
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2179
    CYGPATH_W='cygpath -w'
 
2180
  else
 
2181
    CYGPATH_W=echo
 
2182
  fi
 
2183
fi
 
2184
 
 
2185
 
 
2186
# Define the identity of the package.
 
2187
 PACKAGE=squid_kerb_auth
 
2188
 VERSION=1.0.5
 
2189
 
 
2190
 
 
2191
cat >>confdefs.h <<_ACEOF
 
2192
#define PACKAGE "$PACKAGE"
 
2193
_ACEOF
 
2194
 
 
2195
 
 
2196
cat >>confdefs.h <<_ACEOF
 
2197
#define VERSION "$VERSION"
 
2198
_ACEOF
 
2199
 
 
2200
# Some tools Automake needs.
 
2201
 
 
2202
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2203
 
 
2204
 
 
2205
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2206
 
 
2207
 
 
2208
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2209
 
 
2210
 
 
2211
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2212
 
 
2213
 
 
2214
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2215
 
 
2216
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
2217
 
 
2218
# Installed binaries are usually stripped using `strip' when the user
 
2219
# run `make install-strip'.  However `strip' might not be the right
 
2220
# tool to use in cross-compilation environments, therefore Automake
 
2221
# will honor the `STRIP' environment variable to overrule this program.
 
2222
if test "$cross_compiling" != no; then
 
2223
  if test -n "$ac_tool_prefix"; then
 
2224
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2225
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2226
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2227
$as_echo_n "checking for $ac_word... " >&6; }
 
2228
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2229
  $as_echo_n "(cached) " >&6
 
2230
else
 
2231
  if test -n "$STRIP"; then
 
2232
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2233
else
 
2234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2235
for as_dir in $PATH
 
2236
do
 
2237
  IFS=$as_save_IFS
 
2238
  test -z "$as_dir" && as_dir=.
 
2239
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2240
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2241
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2242
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2243
    break 2
 
2244
  fi
 
2245
done
 
2246
done
 
2247
IFS=$as_save_IFS
 
2248
 
 
2249
fi
 
2250
fi
 
2251
STRIP=$ac_cv_prog_STRIP
 
2252
if test -n "$STRIP"; then
 
2253
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2254
$as_echo "$STRIP" >&6; }
 
2255
else
 
2256
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2257
$as_echo "no" >&6; }
 
2258
fi
 
2259
 
 
2260
 
 
2261
fi
 
2262
if test -z "$ac_cv_prog_STRIP"; then
 
2263
  ac_ct_STRIP=$STRIP
 
2264
  # Extract the first word of "strip", so it can be a program name with args.
 
2265
set dummy strip; ac_word=$2
 
2266
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2267
$as_echo_n "checking for $ac_word... " >&6; }
 
2268
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2269
  $as_echo_n "(cached) " >&6
 
2270
else
 
2271
  if test -n "$ac_ct_STRIP"; then
 
2272
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2273
else
 
2274
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2275
for as_dir in $PATH
 
2276
do
 
2277
  IFS=$as_save_IFS
 
2278
  test -z "$as_dir" && as_dir=.
 
2279
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2280
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2281
    ac_cv_prog_ac_ct_STRIP="strip"
 
2282
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2283
    break 2
 
2284
  fi
 
2285
done
 
2286
done
 
2287
IFS=$as_save_IFS
 
2288
 
 
2289
fi
 
2290
fi
 
2291
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2292
if test -n "$ac_ct_STRIP"; then
 
2293
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2294
$as_echo "$ac_ct_STRIP" >&6; }
 
2295
else
 
2296
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2297
$as_echo "no" >&6; }
 
2298
fi
 
2299
 
 
2300
  if test "x$ac_ct_STRIP" = x; then
 
2301
    STRIP=":"
 
2302
  else
 
2303
    case $cross_compiling:$ac_tool_warned in
 
2304
yes:)
 
2305
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2306
whose name does not start with the host triplet.  If you think this
 
2307
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2308
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2309
whose name does not start with the host triplet.  If you think this
 
2310
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2311
ac_tool_warned=yes ;;
 
2312
esac
 
2313
    STRIP=$ac_ct_STRIP
 
2314
  fi
 
2315
else
 
2316
  STRIP="$ac_cv_prog_STRIP"
 
2317
fi
 
2318
 
 
2319
fi
 
2320
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2321
 
 
2322
# We need awk for the "check" target.  The system "awk" is bad on
 
2323
# some platforms.
 
2324
# Always define AMTAR for backward compatibility.
 
2325
 
 
2326
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2327
 
 
2328
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2329
 
 
2330
 
 
2331
 
 
2332
 
 
2333
 
 
2334
 
 
2335
 
 
2336
ac_ext=c
 
2337
ac_cpp='$CPP $CPPFLAGS'
 
2338
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2339
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2340
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2341
if test -n "$ac_tool_prefix"; then
 
2342
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2343
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2344
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2345
$as_echo_n "checking for $ac_word... " >&6; }
 
2346
if test "${ac_cv_prog_CC+set}" = set; then
 
2347
  $as_echo_n "(cached) " >&6
 
2348
else
 
2349
  if test -n "$CC"; then
 
2350
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2351
else
 
2352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2353
for as_dir in $PATH
 
2354
do
 
2355
  IFS=$as_save_IFS
 
2356
  test -z "$as_dir" && as_dir=.
 
2357
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2358
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2359
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2360
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2361
    break 2
 
2362
  fi
 
2363
done
 
2364
done
 
2365
IFS=$as_save_IFS
 
2366
 
 
2367
fi
 
2368
fi
 
2369
CC=$ac_cv_prog_CC
 
2370
if test -n "$CC"; then
 
2371
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2372
$as_echo "$CC" >&6; }
 
2373
else
 
2374
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2375
$as_echo "no" >&6; }
 
2376
fi
 
2377
 
 
2378
 
 
2379
fi
 
2380
if test -z "$ac_cv_prog_CC"; then
 
2381
  ac_ct_CC=$CC
 
2382
  # Extract the first word of "gcc", so it can be a program name with args.
 
2383
set dummy gcc; ac_word=$2
 
2384
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2385
$as_echo_n "checking for $ac_word... " >&6; }
 
2386
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2387
  $as_echo_n "(cached) " >&6
 
2388
else
 
2389
  if test -n "$ac_ct_CC"; then
 
2390
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2391
else
 
2392
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2393
for as_dir in $PATH
 
2394
do
 
2395
  IFS=$as_save_IFS
 
2396
  test -z "$as_dir" && as_dir=.
 
2397
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2398
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2399
    ac_cv_prog_ac_ct_CC="gcc"
 
2400
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2401
    break 2
 
2402
  fi
 
2403
done
 
2404
done
 
2405
IFS=$as_save_IFS
 
2406
 
 
2407
fi
 
2408
fi
 
2409
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2410
if test -n "$ac_ct_CC"; then
 
2411
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2412
$as_echo "$ac_ct_CC" >&6; }
 
2413
else
 
2414
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2415
$as_echo "no" >&6; }
 
2416
fi
 
2417
 
 
2418
  if test "x$ac_ct_CC" = x; then
 
2419
    CC=""
 
2420
  else
 
2421
    case $cross_compiling:$ac_tool_warned in
 
2422
yes:)
 
2423
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2424
whose name does not start with the host triplet.  If you think this
 
2425
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2426
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2427
whose name does not start with the host triplet.  If you think this
 
2428
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2429
ac_tool_warned=yes ;;
 
2430
esac
 
2431
    CC=$ac_ct_CC
 
2432
  fi
 
2433
else
 
2434
  CC="$ac_cv_prog_CC"
 
2435
fi
 
2436
 
 
2437
if test -z "$CC"; then
 
2438
          if test -n "$ac_tool_prefix"; then
 
2439
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2440
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
2441
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2442
$as_echo_n "checking for $ac_word... " >&6; }
 
2443
if test "${ac_cv_prog_CC+set}" = set; then
 
2444
  $as_echo_n "(cached) " >&6
 
2445
else
 
2446
  if test -n "$CC"; then
 
2447
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2448
else
 
2449
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2450
for as_dir in $PATH
 
2451
do
 
2452
  IFS=$as_save_IFS
 
2453
  test -z "$as_dir" && as_dir=.
 
2454
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2455
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2456
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
2457
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2458
    break 2
 
2459
  fi
 
2460
done
 
2461
done
 
2462
IFS=$as_save_IFS
 
2463
 
 
2464
fi
 
2465
fi
 
2466
CC=$ac_cv_prog_CC
 
2467
if test -n "$CC"; then
 
2468
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2469
$as_echo "$CC" >&6; }
 
2470
else
 
2471
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2472
$as_echo "no" >&6; }
 
2473
fi
 
2474
 
 
2475
 
 
2476
  fi
 
2477
fi
 
2478
if test -z "$CC"; then
 
2479
  # Extract the first word of "cc", so it can be a program name with args.
 
2480
set dummy cc; ac_word=$2
 
2481
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2482
$as_echo_n "checking for $ac_word... " >&6; }
 
2483
if test "${ac_cv_prog_CC+set}" = set; then
 
2484
  $as_echo_n "(cached) " >&6
 
2485
else
 
2486
  if test -n "$CC"; then
 
2487
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2488
else
 
2489
  ac_prog_rejected=no
 
2490
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2491
for as_dir in $PATH
 
2492
do
 
2493
  IFS=$as_save_IFS
 
2494
  test -z "$as_dir" && as_dir=.
 
2495
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2496
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2497
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
2498
       ac_prog_rejected=yes
 
2499
       continue
 
2500
     fi
 
2501
    ac_cv_prog_CC="cc"
 
2502
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2503
    break 2
 
2504
  fi
 
2505
done
 
2506
done
 
2507
IFS=$as_save_IFS
 
2508
 
 
2509
if test $ac_prog_rejected = yes; then
 
2510
  # We found a bogon in the path, so make sure we never use it.
 
2511
  set dummy $ac_cv_prog_CC
 
2512
  shift
 
2513
  if test $# != 0; then
 
2514
    # We chose a different compiler from the bogus one.
 
2515
    # However, it has the same basename, so the bogon will be chosen
 
2516
    # first if we set CC to just the basename; use the full file name.
 
2517
    shift
 
2518
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
2519
  fi
 
2520
fi
 
2521
fi
 
2522
fi
 
2523
CC=$ac_cv_prog_CC
 
2524
if test -n "$CC"; then
 
2525
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2526
$as_echo "$CC" >&6; }
 
2527
else
 
2528
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2529
$as_echo "no" >&6; }
 
2530
fi
 
2531
 
 
2532
 
 
2533
fi
 
2534
if test -z "$CC"; then
 
2535
  if test -n "$ac_tool_prefix"; then
 
2536
  for ac_prog in cl.exe
 
2537
  do
 
2538
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2539
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2540
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2541
$as_echo_n "checking for $ac_word... " >&6; }
 
2542
if test "${ac_cv_prog_CC+set}" = set; then
 
2543
  $as_echo_n "(cached) " >&6
 
2544
else
 
2545
  if test -n "$CC"; then
 
2546
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2547
else
 
2548
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2549
for as_dir in $PATH
 
2550
do
 
2551
  IFS=$as_save_IFS
 
2552
  test -z "$as_dir" && as_dir=.
 
2553
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2554
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2555
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
2556
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2557
    break 2
 
2558
  fi
 
2559
done
 
2560
done
 
2561
IFS=$as_save_IFS
 
2562
 
 
2563
fi
 
2564
fi
 
2565
CC=$ac_cv_prog_CC
 
2566
if test -n "$CC"; then
 
2567
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2568
$as_echo "$CC" >&6; }
 
2569
else
 
2570
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2571
$as_echo "no" >&6; }
 
2572
fi
 
2573
 
 
2574
 
 
2575
    test -n "$CC" && break
 
2576
  done
 
2577
fi
 
2578
if test -z "$CC"; then
 
2579
  ac_ct_CC=$CC
 
2580
  for ac_prog in cl.exe
 
2581
do
 
2582
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2583
set dummy $ac_prog; ac_word=$2
 
2584
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2585
$as_echo_n "checking for $ac_word... " >&6; }
 
2586
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2587
  $as_echo_n "(cached) " >&6
 
2588
else
 
2589
  if test -n "$ac_ct_CC"; then
 
2590
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2591
else
 
2592
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2593
for as_dir in $PATH
 
2594
do
 
2595
  IFS=$as_save_IFS
 
2596
  test -z "$as_dir" && as_dir=.
 
2597
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2598
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2599
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
2600
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2601
    break 2
 
2602
  fi
 
2603
done
 
2604
done
 
2605
IFS=$as_save_IFS
 
2606
 
 
2607
fi
 
2608
fi
 
2609
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2610
if test -n "$ac_ct_CC"; then
 
2611
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2612
$as_echo "$ac_ct_CC" >&6; }
 
2613
else
 
2614
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2615
$as_echo "no" >&6; }
 
2616
fi
 
2617
 
 
2618
 
 
2619
  test -n "$ac_ct_CC" && break
 
2620
done
 
2621
 
 
2622
  if test "x$ac_ct_CC" = x; then
 
2623
    CC=""
 
2624
  else
 
2625
    case $cross_compiling:$ac_tool_warned in
 
2626
yes:)
 
2627
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2628
whose name does not start with the host triplet.  If you think this
 
2629
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2630
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2631
whose name does not start with the host triplet.  If you think this
 
2632
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2633
ac_tool_warned=yes ;;
 
2634
esac
 
2635
    CC=$ac_ct_CC
 
2636
  fi
 
2637
fi
 
2638
 
 
2639
fi
 
2640
 
 
2641
 
 
2642
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2643
See \`config.log' for more details." >&5
 
2644
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2645
See \`config.log' for more details." >&2;}
 
2646
   { (exit 1); exit 1; }; }
 
2647
 
 
2648
# Provide some information about the compiler.
 
2649
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2650
set X $ac_compile
 
2651
ac_compiler=$2
 
2652
{ (ac_try="$ac_compiler --version >&5"
 
2653
case "(($ac_try" in
 
2654
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2655
  *) ac_try_echo=$ac_try;;
 
2656
esac
 
2657
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2658
$as_echo "$ac_try_echo") >&5
 
2659
  (eval "$ac_compiler --version >&5") 2>&5
 
2660
  ac_status=$?
 
2661
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2662
  (exit $ac_status); }
 
2663
{ (ac_try="$ac_compiler -v >&5"
 
2664
case "(($ac_try" in
 
2665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2666
  *) ac_try_echo=$ac_try;;
 
2667
esac
 
2668
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2669
$as_echo "$ac_try_echo") >&5
 
2670
  (eval "$ac_compiler -v >&5") 2>&5
 
2671
  ac_status=$?
 
2672
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2673
  (exit $ac_status); }
 
2674
{ (ac_try="$ac_compiler -V >&5"
 
2675
case "(($ac_try" in
 
2676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2677
  *) ac_try_echo=$ac_try;;
 
2678
esac
 
2679
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2680
$as_echo "$ac_try_echo") >&5
 
2681
  (eval "$ac_compiler -V >&5") 2>&5
 
2682
  ac_status=$?
 
2683
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2684
  (exit $ac_status); }
 
2685
 
 
2686
cat >conftest.$ac_ext <<_ACEOF
 
2687
/* confdefs.h.  */
 
2688
_ACEOF
 
2689
cat confdefs.h >>conftest.$ac_ext
 
2690
cat >>conftest.$ac_ext <<_ACEOF
 
2691
/* end confdefs.h.  */
 
2692
 
 
2693
int
 
2694
main ()
 
2695
{
 
2696
 
 
2697
  ;
 
2698
  return 0;
 
2699
}
 
2700
_ACEOF
 
2701
ac_clean_files_save=$ac_clean_files
 
2702
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
2703
# Try to create an executable without -o first, disregard a.out.
 
2704
# It will help us diagnose broken compilers, and finding out an intuition
 
2705
# of exeext.
 
2706
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2707
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2708
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2709
 
 
2710
# The possible output files:
 
2711
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2712
 
 
2713
ac_rmfiles=
 
2714
for ac_file in $ac_files
 
2715
do
 
2716
  case $ac_file in
 
2717
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2718
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2719
  esac
 
2720
done
 
2721
rm -f $ac_rmfiles
 
2722
 
 
2723
if { (ac_try="$ac_link_default"
 
2724
case "(($ac_try" in
 
2725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2726
  *) ac_try_echo=$ac_try;;
 
2727
esac
 
2728
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2729
$as_echo "$ac_try_echo") >&5
 
2730
  (eval "$ac_link_default") 2>&5
 
2731
  ac_status=$?
 
2732
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2733
  (exit $ac_status); }; then
 
2734
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2735
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2736
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2737
# so that the user can short-circuit this test for compilers unknown to
 
2738
# Autoconf.
 
2739
for ac_file in $ac_files ''
 
2740
do
 
2741
  test -f "$ac_file" || continue
 
2742
  case $ac_file in
 
2743
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
2744
        ;;
 
2745
    [ab].out )
 
2746
        # We found the default executable, but exeext='' is most
 
2747
        # certainly right.
 
2748
        break;;
 
2749
    *.* )
 
2750
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2751
        then :; else
 
2752
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2753
        fi
 
2754
        # We set ac_cv_exeext here because the later test for it is not
 
2755
        # safe: cross compilers may not add the suffix if given an `-o'
 
2756
        # argument, so we may need to know it at that point already.
 
2757
        # Even if this section looks crufty: it has the advantage of
 
2758
        # actually working.
 
2759
        break;;
 
2760
    * )
 
2761
        break;;
 
2762
  esac
 
2763
done
 
2764
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2765
 
 
2766
else
 
2767
  ac_file=''
 
2768
fi
 
2769
 
 
2770
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2771
$as_echo "$ac_file" >&6; }
 
2772
if test -z "$ac_file"; then
 
2773
  $as_echo "$as_me: failed program was:" >&5
 
2774
sed 's/^/| /' conftest.$ac_ext >&5
 
2775
 
 
2776
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2777
See \`config.log' for more details." >&5
 
2778
$as_echo "$as_me: error: C compiler cannot create executables
 
2779
See \`config.log' for more details." >&2;}
 
2780
   { (exit 77); exit 77; }; }
 
2781
fi
 
2782
 
 
2783
ac_exeext=$ac_cv_exeext
 
2784
 
 
2785
# Check that the compiler produces executables we can run.  If not, either
 
2786
# the compiler is broken, or we cross compile.
 
2787
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2788
$as_echo_n "checking whether the C compiler works... " >&6; }
 
2789
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
2790
# If not cross compiling, check that we can run a simple program.
 
2791
if test "$cross_compiling" != yes; then
 
2792
  if { ac_try='./$ac_file'
 
2793
  { (case "(($ac_try" in
 
2794
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2795
  *) ac_try_echo=$ac_try;;
 
2796
esac
 
2797
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2798
$as_echo "$ac_try_echo") >&5
 
2799
  (eval "$ac_try") 2>&5
 
2800
  ac_status=$?
 
2801
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2802
  (exit $ac_status); }; }; then
 
2803
    cross_compiling=no
 
2804
  else
 
2805
    if test "$cross_compiling" = maybe; then
 
2806
        cross_compiling=yes
 
2807
    else
 
2808
        { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2809
If you meant to cross compile, use \`--host'.
 
2810
See \`config.log' for more details." >&5
 
2811
$as_echo "$as_me: error: cannot run C compiled programs.
 
2812
If you meant to cross compile, use \`--host'.
 
2813
See \`config.log' for more details." >&2;}
 
2814
   { (exit 1); exit 1; }; }
 
2815
    fi
 
2816
  fi
 
2817
fi
 
2818
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2819
$as_echo "yes" >&6; }
 
2820
 
 
2821
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
2822
ac_clean_files=$ac_clean_files_save
 
2823
# Check that the compiler produces executables we can run.  If not, either
 
2824
# the compiler is broken, or we cross compile.
 
2825
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2826
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2827
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2828
$as_echo "$cross_compiling" >&6; }
 
2829
 
 
2830
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2831
$as_echo_n "checking for suffix of executables... " >&6; }
 
2832
if { (ac_try="$ac_link"
 
2833
case "(($ac_try" in
 
2834
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2835
  *) ac_try_echo=$ac_try;;
 
2836
esac
 
2837
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2838
$as_echo "$ac_try_echo") >&5
 
2839
  (eval "$ac_link") 2>&5
 
2840
  ac_status=$?
 
2841
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2842
  (exit $ac_status); }; then
 
2843
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
2844
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2845
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
2846
# `rm'.
 
2847
for ac_file in conftest.exe conftest conftest.*; do
 
2848
  test -f "$ac_file" || continue
 
2849
  case $ac_file in
 
2850
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2851
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2852
          break;;
 
2853
    * ) break;;
 
2854
  esac
 
2855
done
 
2856
else
 
2857
  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2858
See \`config.log' for more details." >&5
 
2859
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2860
See \`config.log' for more details." >&2;}
 
2861
   { (exit 1); exit 1; }; }
 
2862
fi
 
2863
 
 
2864
rm -f conftest$ac_cv_exeext
 
2865
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2866
$as_echo "$ac_cv_exeext" >&6; }
 
2867
 
 
2868
rm -f conftest.$ac_ext
 
2869
EXEEXT=$ac_cv_exeext
 
2870
ac_exeext=$EXEEXT
 
2871
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2872
$as_echo_n "checking for suffix of object files... " >&6; }
 
2873
if test "${ac_cv_objext+set}" = set; then
 
2874
  $as_echo_n "(cached) " >&6
 
2875
else
 
2876
  cat >conftest.$ac_ext <<_ACEOF
 
2877
/* confdefs.h.  */
 
2878
_ACEOF
 
2879
cat confdefs.h >>conftest.$ac_ext
 
2880
cat >>conftest.$ac_ext <<_ACEOF
 
2881
/* end confdefs.h.  */
 
2882
 
 
2883
int
 
2884
main ()
 
2885
{
 
2886
 
 
2887
  ;
 
2888
  return 0;
 
2889
}
 
2890
_ACEOF
 
2891
rm -f conftest.o conftest.obj
 
2892
if { (ac_try="$ac_compile"
 
2893
case "(($ac_try" in
 
2894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2895
  *) ac_try_echo=$ac_try;;
 
2896
esac
 
2897
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2898
$as_echo "$ac_try_echo") >&5
 
2899
  (eval "$ac_compile") 2>&5
 
2900
  ac_status=$?
 
2901
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2902
  (exit $ac_status); }; then
 
2903
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2904
  test -f "$ac_file" || continue;
 
2905
  case $ac_file in
 
2906
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
2907
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2908
       break;;
 
2909
  esac
 
2910
done
 
2911
else
 
2912
  $as_echo "$as_me: failed program was:" >&5
 
2913
sed 's/^/| /' conftest.$ac_ext >&5
 
2914
 
 
2915
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2916
See \`config.log' for more details." >&5
 
2917
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2918
See \`config.log' for more details." >&2;}
 
2919
   { (exit 1); exit 1; }; }
 
2920
fi
 
2921
 
 
2922
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
2923
fi
 
2924
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2925
$as_echo "$ac_cv_objext" >&6; }
 
2926
OBJEXT=$ac_cv_objext
 
2927
ac_objext=$OBJEXT
 
2928
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2929
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
2930
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
2931
  $as_echo_n "(cached) " >&6
 
2932
else
 
2933
  cat >conftest.$ac_ext <<_ACEOF
 
2934
/* confdefs.h.  */
 
2935
_ACEOF
 
2936
cat confdefs.h >>conftest.$ac_ext
 
2937
cat >>conftest.$ac_ext <<_ACEOF
 
2938
/* end confdefs.h.  */
 
2939
 
 
2940
int
 
2941
main ()
 
2942
{
 
2943
#ifndef __GNUC__
 
2944
       choke me
 
2945
#endif
 
2946
 
 
2947
  ;
 
2948
  return 0;
 
2949
}
 
2950
_ACEOF
 
2951
rm -f conftest.$ac_objext
 
2952
if { (ac_try="$ac_compile"
 
2953
case "(($ac_try" in
 
2954
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2955
  *) ac_try_echo=$ac_try;;
 
2956
esac
 
2957
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2958
$as_echo "$ac_try_echo") >&5
 
2959
  (eval "$ac_compile") 2>conftest.er1
 
2960
  ac_status=$?
 
2961
  grep -v '^ *+' conftest.er1 >conftest.err
 
2962
  rm -f conftest.er1
 
2963
  cat conftest.err >&5
 
2964
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2965
  (exit $ac_status); } && {
 
2966
         test -z "$ac_c_werror_flag" ||
 
2967
         test ! -s conftest.err
 
2968
       } && test -s conftest.$ac_objext; then
 
2969
  ac_compiler_gnu=yes
 
2970
else
 
2971
  $as_echo "$as_me: failed program was:" >&5
 
2972
sed 's/^/| /' conftest.$ac_ext >&5
 
2973
 
 
2974
        ac_compiler_gnu=no
 
2975
fi
 
2976
 
 
2977
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2978
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
2979
 
 
2980
fi
 
2981
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2982
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
2983
if test $ac_compiler_gnu = yes; then
 
2984
  GCC=yes
 
2985
else
 
2986
  GCC=
 
2987
fi
 
2988
ac_test_CFLAGS=${CFLAGS+set}
 
2989
ac_save_CFLAGS=$CFLAGS
 
2990
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2991
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
2992
if test "${ac_cv_prog_cc_g+set}" = set; then
 
2993
  $as_echo_n "(cached) " >&6
 
2994
else
 
2995
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2996
   ac_c_werror_flag=yes
 
2997
   ac_cv_prog_cc_g=no
 
2998
   CFLAGS="-g"
 
2999
   cat >conftest.$ac_ext <<_ACEOF
 
3000
/* confdefs.h.  */
 
3001
_ACEOF
 
3002
cat confdefs.h >>conftest.$ac_ext
 
3003
cat >>conftest.$ac_ext <<_ACEOF
 
3004
/* end confdefs.h.  */
 
3005
 
 
3006
int
 
3007
main ()
 
3008
{
 
3009
 
 
3010
  ;
 
3011
  return 0;
 
3012
}
 
3013
_ACEOF
 
3014
rm -f conftest.$ac_objext
 
3015
if { (ac_try="$ac_compile"
 
3016
case "(($ac_try" in
 
3017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3018
  *) ac_try_echo=$ac_try;;
 
3019
esac
 
3020
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3021
$as_echo "$ac_try_echo") >&5
 
3022
  (eval "$ac_compile") 2>conftest.er1
 
3023
  ac_status=$?
 
3024
  grep -v '^ *+' conftest.er1 >conftest.err
 
3025
  rm -f conftest.er1
 
3026
  cat conftest.err >&5
 
3027
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3028
  (exit $ac_status); } && {
 
3029
         test -z "$ac_c_werror_flag" ||
 
3030
         test ! -s conftest.err
 
3031
       } && test -s conftest.$ac_objext; then
 
3032
  ac_cv_prog_cc_g=yes
 
3033
else
 
3034
  $as_echo "$as_me: failed program was:" >&5
 
3035
sed 's/^/| /' conftest.$ac_ext >&5
 
3036
 
 
3037
        CFLAGS=""
 
3038
      cat >conftest.$ac_ext <<_ACEOF
 
3039
/* confdefs.h.  */
 
3040
_ACEOF
 
3041
cat confdefs.h >>conftest.$ac_ext
 
3042
cat >>conftest.$ac_ext <<_ACEOF
 
3043
/* end confdefs.h.  */
 
3044
 
 
3045
int
 
3046
main ()
 
3047
{
 
3048
 
 
3049
  ;
 
3050
  return 0;
 
3051
}
 
3052
_ACEOF
 
3053
rm -f conftest.$ac_objext
 
3054
if { (ac_try="$ac_compile"
 
3055
case "(($ac_try" in
 
3056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3057
  *) ac_try_echo=$ac_try;;
 
3058
esac
 
3059
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3060
$as_echo "$ac_try_echo") >&5
 
3061
  (eval "$ac_compile") 2>conftest.er1
 
3062
  ac_status=$?
 
3063
  grep -v '^ *+' conftest.er1 >conftest.err
 
3064
  rm -f conftest.er1
 
3065
  cat conftest.err >&5
 
3066
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3067
  (exit $ac_status); } && {
 
3068
         test -z "$ac_c_werror_flag" ||
 
3069
         test ! -s conftest.err
 
3070
       } && test -s conftest.$ac_objext; then
 
3071
  :
 
3072
else
 
3073
  $as_echo "$as_me: failed program was:" >&5
 
3074
sed 's/^/| /' conftest.$ac_ext >&5
 
3075
 
 
3076
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3077
         CFLAGS="-g"
 
3078
         cat >conftest.$ac_ext <<_ACEOF
 
3079
/* confdefs.h.  */
 
3080
_ACEOF
 
3081
cat confdefs.h >>conftest.$ac_ext
 
3082
cat >>conftest.$ac_ext <<_ACEOF
 
3083
/* end confdefs.h.  */
 
3084
 
 
3085
int
 
3086
main ()
 
3087
{
 
3088
 
 
3089
  ;
 
3090
  return 0;
 
3091
}
 
3092
_ACEOF
 
3093
rm -f conftest.$ac_objext
 
3094
if { (ac_try="$ac_compile"
 
3095
case "(($ac_try" in
 
3096
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3097
  *) ac_try_echo=$ac_try;;
 
3098
esac
 
3099
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3100
$as_echo "$ac_try_echo") >&5
 
3101
  (eval "$ac_compile") 2>conftest.er1
 
3102
  ac_status=$?
 
3103
  grep -v '^ *+' conftest.er1 >conftest.err
 
3104
  rm -f conftest.er1
 
3105
  cat conftest.err >&5
 
3106
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3107
  (exit $ac_status); } && {
 
3108
         test -z "$ac_c_werror_flag" ||
 
3109
         test ! -s conftest.err
 
3110
       } && test -s conftest.$ac_objext; then
 
3111
  ac_cv_prog_cc_g=yes
 
3112
else
 
3113
  $as_echo "$as_me: failed program was:" >&5
 
3114
sed 's/^/| /' conftest.$ac_ext >&5
 
3115
 
 
3116
 
 
3117
fi
 
3118
 
 
3119
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3120
fi
 
3121
 
 
3122
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3123
fi
 
3124
 
 
3125
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3126
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3127
fi
 
3128
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3129
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3130
if test "$ac_test_CFLAGS" = set; then
 
3131
  CFLAGS=$ac_save_CFLAGS
 
3132
elif test $ac_cv_prog_cc_g = yes; then
 
3133
  if test "$GCC" = yes; then
 
3134
    CFLAGS="-g -O2"
 
3135
  else
 
3136
    CFLAGS="-g"
 
3137
  fi
 
3138
else
 
3139
  if test "$GCC" = yes; then
 
3140
    CFLAGS="-O2"
 
3141
  else
 
3142
    CFLAGS=
 
3143
  fi
 
3144
fi
 
3145
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3146
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3147
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3148
  $as_echo_n "(cached) " >&6
 
3149
else
 
3150
  ac_cv_prog_cc_c89=no
 
3151
ac_save_CC=$CC
 
3152
cat >conftest.$ac_ext <<_ACEOF
 
3153
/* confdefs.h.  */
 
3154
_ACEOF
 
3155
cat confdefs.h >>conftest.$ac_ext
 
3156
cat >>conftest.$ac_ext <<_ACEOF
 
3157
/* end confdefs.h.  */
 
3158
#include <stdarg.h>
 
3159
#include <stdio.h>
 
3160
#include <sys/types.h>
 
3161
#include <sys/stat.h>
 
3162
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3163
struct buf { int x; };
 
3164
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3165
static char *e (p, i)
 
3166
     char **p;
 
3167
     int i;
 
3168
{
 
3169
  return p[i];
 
3170
}
 
3171
static char *f (char * (*g) (char **, int), char **p, ...)
 
3172
{
 
3173
  char *s;
 
3174
  va_list v;
 
3175
  va_start (v,p);
 
3176
  s = g (p, va_arg (v,int));
 
3177
  va_end (v);
 
3178
  return s;
 
3179
}
 
3180
 
 
3181
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3182
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3183
   These don't provoke an error unfortunately, instead are silently treated
 
3184
   as 'x'.  The following induces an error, until -std is added to get
 
3185
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3186
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3187
   that's true only with -std.  */
 
3188
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3189
 
 
3190
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3191
   inside strings and character constants.  */
 
3192
#define FOO(x) 'x'
 
3193
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3194
 
 
3195
int test (int i, double x);
 
3196
struct s1 {int (*f) (int a);};
 
3197
struct s2 {int (*f) (double a);};
 
3198
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3199
int argc;
 
3200
char **argv;
 
3201
int
 
3202
main ()
 
3203
{
 
3204
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3205
  ;
 
3206
  return 0;
 
3207
}
 
3208
_ACEOF
 
3209
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3210
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3211
do
 
3212
  CC="$ac_save_CC $ac_arg"
 
3213
  rm -f conftest.$ac_objext
 
3214
if { (ac_try="$ac_compile"
 
3215
case "(($ac_try" in
 
3216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3217
  *) ac_try_echo=$ac_try;;
 
3218
esac
 
3219
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3220
$as_echo "$ac_try_echo") >&5
 
3221
  (eval "$ac_compile") 2>conftest.er1
 
3222
  ac_status=$?
 
3223
  grep -v '^ *+' conftest.er1 >conftest.err
 
3224
  rm -f conftest.er1
 
3225
  cat conftest.err >&5
 
3226
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3227
  (exit $ac_status); } && {
 
3228
         test -z "$ac_c_werror_flag" ||
 
3229
         test ! -s conftest.err
 
3230
       } && test -s conftest.$ac_objext; then
 
3231
  ac_cv_prog_cc_c89=$ac_arg
 
3232
else
 
3233
  $as_echo "$as_me: failed program was:" >&5
 
3234
sed 's/^/| /' conftest.$ac_ext >&5
 
3235
 
 
3236
 
 
3237
fi
 
3238
 
 
3239
rm -f core conftest.err conftest.$ac_objext
 
3240
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3241
done
 
3242
rm -f conftest.$ac_ext
 
3243
CC=$ac_save_CC
 
3244
 
 
3245
fi
 
3246
# AC_CACHE_VAL
 
3247
case "x$ac_cv_prog_cc_c89" in
 
3248
  x)
 
3249
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3250
$as_echo "none needed" >&6; } ;;
 
3251
  xno)
 
3252
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3253
$as_echo "unsupported" >&6; } ;;
 
3254
  *)
 
3255
    CC="$CC $ac_cv_prog_cc_c89"
 
3256
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3257
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3258
esac
 
3259
 
 
3260
 
 
3261
ac_ext=c
 
3262
ac_cpp='$CPP $CPPFLAGS'
 
3263
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3264
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3265
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3266
DEPDIR="${am__leading_dot}deps"
 
3267
 
 
3268
ac_config_commands="$ac_config_commands depfiles"
 
3269
 
 
3270
 
 
3271
am_make=${MAKE-make}
 
3272
cat > confinc << 'END'
 
3273
am__doit:
 
3274
        @echo done
 
3275
.PHONY: am__doit
 
3276
END
 
3277
# If we don't find an include directive, just comment out the code.
 
3278
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3279
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3280
am__include="#"
 
3281
am__quote=
 
3282
_am_result=none
 
3283
# First try GNU make style include.
 
3284
echo "include confinc" > confmf
 
3285
# We grep out `Entering directory' and `Leaving directory'
 
3286
# messages which can occur if `w' ends up in MAKEFLAGS.
 
3287
# In particular we don't look at `^make:' because GNU make might
 
3288
# be invoked under some other name (usually "gmake"), in which
 
3289
# case it prints its new name instead of `make'.
 
3290
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
3291
   am__include=include
 
3292
   am__quote=
 
3293
   _am_result=GNU
 
3294
fi
 
3295
# Now try BSD make style include.
 
3296
if test "$am__include" = "#"; then
 
3297
   echo '.include "confinc"' > confmf
 
3298
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
3299
      am__include=.include
 
3300
      am__quote="\""
 
3301
      _am_result=BSD
 
3302
   fi
 
3303
fi
 
3304
 
 
3305
 
 
3306
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3307
$as_echo "$_am_result" >&6; }
 
3308
rm -f confinc confmf
 
3309
 
 
3310
# Check whether --enable-dependency-tracking was given.
 
3311
if test "${enable_dependency_tracking+set}" = set; then
 
3312
  enableval=$enable_dependency_tracking;
 
3313
fi
 
3314
 
 
3315
if test "x$enable_dependency_tracking" != xno; then
 
3316
  am_depcomp="$ac_aux_dir/depcomp"
 
3317
  AMDEPBACKSLASH='\'
 
3318
fi
 
3319
 if test "x$enable_dependency_tracking" != xno; then
 
3320
  AMDEP_TRUE=
 
3321
  AMDEP_FALSE='#'
 
3322
else
 
3323
  AMDEP_TRUE='#'
 
3324
  AMDEP_FALSE=
 
3325
fi
 
3326
 
 
3327
 
 
3328
 
 
3329
depcc="$CC"   am_compiler_list=
 
3330
 
 
3331
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3332
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3333
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3334
  $as_echo_n "(cached) " >&6
 
3335
else
 
3336
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3337
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3338
  # making bogus files that we don't know about and never remove.  For
 
3339
  # instance it was reported that on HP-UX the gcc test will end up
 
3340
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3341
  # in D'.
 
3342
  mkdir conftest.dir
 
3343
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3344
  # using a relative directory.
 
3345
  cp "$am_depcomp" conftest.dir
 
3346
  cd conftest.dir
 
3347
  # We will build objects and dependencies in a subdirectory because
 
3348
  # it helps to detect inapplicable dependency modes.  For instance
 
3349
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3350
  # side effect of compilation, but ICC will put the dependencies in
 
3351
  # the current directory while Tru64 will put them in the object
 
3352
  # directory.
 
3353
  mkdir sub
 
3354
 
 
3355
  am_cv_CC_dependencies_compiler_type=none
 
3356
  if test "$am_compiler_list" = ""; then
 
3357
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3358
  fi
 
3359
  for depmode in $am_compiler_list; do
 
3360
    # Setup a source with many dependencies, because some compilers
 
3361
    # like to wrap large dependency lists on column 80 (with \), and
 
3362
    # we should not choose a depcomp mode which is confused by this.
 
3363
    #
 
3364
    # We need to recreate these files for each test, as the compiler may
 
3365
    # overwrite some of them when testing with obscure command lines.
 
3366
    # This happens at least with the AIX C compiler.
 
3367
    : > sub/conftest.c
 
3368
    for i in 1 2 3 4 5 6; do
 
3369
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3370
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3371
      # Solaris 8's {/usr,}/bin/sh.
 
3372
      touch sub/conftst$i.h
 
3373
    done
 
3374
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3375
 
 
3376
    case $depmode in
 
3377
    nosideeffect)
 
3378
      # after this tag, mechanisms are not by side-effect, so they'll
 
3379
      # only be used when explicitly requested
 
3380
      if test "x$enable_dependency_tracking" = xyes; then
 
3381
        continue
 
3382
      else
 
3383
        break
 
3384
      fi
 
3385
      ;;
 
3386
    none) break ;;
 
3387
    esac
 
3388
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3389
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3390
    # handle `-M -o', and we need to detect this.
 
3391
    if depmode=$depmode \
 
3392
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3393
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3394
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3395
         >/dev/null 2>conftest.err &&
 
3396
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3397
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3398
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3399
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3400
      # icc doesn't choke on unknown options, it will just issue warnings
 
3401
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3402
      # that says an option was ignored or not supported.
 
3403
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3404
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3405
      # The diagnosis changed in icc 8.0:
 
3406
      #   icc: Command line remark: option '-MP' not supported
 
3407
      if (grep 'ignoring option' conftest.err ||
 
3408
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3409
        am_cv_CC_dependencies_compiler_type=$depmode
 
3410
        break
 
3411
      fi
 
3412
    fi
 
3413
  done
 
3414
 
 
3415
  cd ..
 
3416
  rm -rf conftest.dir
 
3417
else
 
3418
  am_cv_CC_dependencies_compiler_type=none
 
3419
fi
 
3420
 
 
3421
fi
 
3422
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3423
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3424
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3425
 
 
3426
 if
 
3427
  test "x$enable_dependency_tracking" != xno \
 
3428
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3429
  am__fastdepCC_TRUE=
 
3430
  am__fastdepCC_FALSE='#'
 
3431
else
 
3432
  am__fastdepCC_TRUE='#'
 
3433
  am__fastdepCC_FALSE=
 
3434
fi
 
3435
 
 
3436
 
 
3437
ac_ext=c
 
3438
ac_cpp='$CPP $CPPFLAGS'
 
3439
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3440
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3441
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3442
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3443
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
3444
# On Suns, sometimes $CPP names a directory.
 
3445
if test -n "$CPP" && test -d "$CPP"; then
 
3446
  CPP=
 
3447
fi
 
3448
if test -z "$CPP"; then
 
3449
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3450
  $as_echo_n "(cached) " >&6
 
3451
else
 
3452
      # Double quotes because CPP needs to be expanded
 
3453
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3454
    do
 
3455
      ac_preproc_ok=false
 
3456
for ac_c_preproc_warn_flag in '' yes
 
3457
do
 
3458
  # Use a header file that comes with gcc, so configuring glibc
 
3459
  # with a fresh cross-compiler works.
 
3460
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3461
  # <limits.h> exists even on freestanding compilers.
 
3462
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3463
  # not just through cpp. "Syntax error" is here to catch this case.
 
3464
  cat >conftest.$ac_ext <<_ACEOF
 
3465
/* confdefs.h.  */
 
3466
_ACEOF
 
3467
cat confdefs.h >>conftest.$ac_ext
 
3468
cat >>conftest.$ac_ext <<_ACEOF
 
3469
/* end confdefs.h.  */
 
3470
#ifdef __STDC__
 
3471
# include <limits.h>
 
3472
#else
 
3473
# include <assert.h>
 
3474
#endif
 
3475
                     Syntax error
 
3476
_ACEOF
 
3477
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3478
case "(($ac_try" in
 
3479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3480
  *) ac_try_echo=$ac_try;;
 
3481
esac
 
3482
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3483
$as_echo "$ac_try_echo") >&5
 
3484
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3485
  ac_status=$?
 
3486
  grep -v '^ *+' conftest.er1 >conftest.err
 
3487
  rm -f conftest.er1
 
3488
  cat conftest.err >&5
 
3489
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3490
  (exit $ac_status); } >/dev/null && {
 
3491
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3492
         test ! -s conftest.err
 
3493
       }; then
 
3494
  :
 
3495
else
 
3496
  $as_echo "$as_me: failed program was:" >&5
 
3497
sed 's/^/| /' conftest.$ac_ext >&5
 
3498
 
 
3499
  # Broken: fails on valid input.
 
3500
continue
 
3501
fi
 
3502
 
 
3503
rm -f conftest.err conftest.$ac_ext
 
3504
 
 
3505
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3506
  # can be detected and how.
 
3507
  cat >conftest.$ac_ext <<_ACEOF
 
3508
/* confdefs.h.  */
 
3509
_ACEOF
 
3510
cat confdefs.h >>conftest.$ac_ext
 
3511
cat >>conftest.$ac_ext <<_ACEOF
 
3512
/* end confdefs.h.  */
 
3513
#include <ac_nonexistent.h>
 
3514
_ACEOF
 
3515
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3516
case "(($ac_try" in
 
3517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3518
  *) ac_try_echo=$ac_try;;
 
3519
esac
 
3520
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3521
$as_echo "$ac_try_echo") >&5
 
3522
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3523
  ac_status=$?
 
3524
  grep -v '^ *+' conftest.er1 >conftest.err
 
3525
  rm -f conftest.er1
 
3526
  cat conftest.err >&5
 
3527
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3528
  (exit $ac_status); } >/dev/null && {
 
3529
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3530
         test ! -s conftest.err
 
3531
       }; then
 
3532
  # Broken: success on invalid input.
 
3533
continue
 
3534
else
 
3535
  $as_echo "$as_me: failed program was:" >&5
 
3536
sed 's/^/| /' conftest.$ac_ext >&5
 
3537
 
 
3538
  # Passes both tests.
 
3539
ac_preproc_ok=:
 
3540
break
 
3541
fi
 
3542
 
 
3543
rm -f conftest.err conftest.$ac_ext
 
3544
 
 
3545
done
 
3546
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3547
rm -f conftest.err conftest.$ac_ext
 
3548
if $ac_preproc_ok; then
 
3549
  break
 
3550
fi
 
3551
 
 
3552
    done
 
3553
    ac_cv_prog_CPP=$CPP
 
3554
 
 
3555
fi
 
3556
  CPP=$ac_cv_prog_CPP
 
3557
else
 
3558
  ac_cv_prog_CPP=$CPP
 
3559
fi
 
3560
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3561
$as_echo "$CPP" >&6; }
 
3562
ac_preproc_ok=false
 
3563
for ac_c_preproc_warn_flag in '' yes
 
3564
do
 
3565
  # Use a header file that comes with gcc, so configuring glibc
 
3566
  # with a fresh cross-compiler works.
 
3567
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3568
  # <limits.h> exists even on freestanding compilers.
 
3569
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3570
  # not just through cpp. "Syntax error" is here to catch this case.
 
3571
  cat >conftest.$ac_ext <<_ACEOF
 
3572
/* confdefs.h.  */
 
3573
_ACEOF
 
3574
cat confdefs.h >>conftest.$ac_ext
 
3575
cat >>conftest.$ac_ext <<_ACEOF
 
3576
/* end confdefs.h.  */
 
3577
#ifdef __STDC__
 
3578
# include <limits.h>
 
3579
#else
 
3580
# include <assert.h>
 
3581
#endif
 
3582
                     Syntax error
 
3583
_ACEOF
 
3584
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3585
case "(($ac_try" in
 
3586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3587
  *) ac_try_echo=$ac_try;;
 
3588
esac
 
3589
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3590
$as_echo "$ac_try_echo") >&5
 
3591
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3592
  ac_status=$?
 
3593
  grep -v '^ *+' conftest.er1 >conftest.err
 
3594
  rm -f conftest.er1
 
3595
  cat conftest.err >&5
 
3596
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3597
  (exit $ac_status); } >/dev/null && {
 
3598
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3599
         test ! -s conftest.err
 
3600
       }; then
 
3601
  :
 
3602
else
 
3603
  $as_echo "$as_me: failed program was:" >&5
 
3604
sed 's/^/| /' conftest.$ac_ext >&5
 
3605
 
 
3606
  # Broken: fails on valid input.
 
3607
continue
 
3608
fi
 
3609
 
 
3610
rm -f conftest.err conftest.$ac_ext
 
3611
 
 
3612
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3613
  # can be detected and how.
 
3614
  cat >conftest.$ac_ext <<_ACEOF
 
3615
/* confdefs.h.  */
 
3616
_ACEOF
 
3617
cat confdefs.h >>conftest.$ac_ext
 
3618
cat >>conftest.$ac_ext <<_ACEOF
 
3619
/* end confdefs.h.  */
 
3620
#include <ac_nonexistent.h>
 
3621
_ACEOF
 
3622
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3623
case "(($ac_try" in
 
3624
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3625
  *) ac_try_echo=$ac_try;;
 
3626
esac
 
3627
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3628
$as_echo "$ac_try_echo") >&5
 
3629
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3630
  ac_status=$?
 
3631
  grep -v '^ *+' conftest.er1 >conftest.err
 
3632
  rm -f conftest.er1
 
3633
  cat conftest.err >&5
 
3634
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3635
  (exit $ac_status); } >/dev/null && {
 
3636
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3637
         test ! -s conftest.err
 
3638
       }; then
 
3639
  # Broken: success on invalid input.
 
3640
continue
 
3641
else
 
3642
  $as_echo "$as_me: failed program was:" >&5
 
3643
sed 's/^/| /' conftest.$ac_ext >&5
 
3644
 
 
3645
  # Passes both tests.
 
3646
ac_preproc_ok=:
 
3647
break
 
3648
fi
 
3649
 
 
3650
rm -f conftest.err conftest.$ac_ext
 
3651
 
 
3652
done
 
3653
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3654
rm -f conftest.err conftest.$ac_ext
 
3655
if $ac_preproc_ok; then
 
3656
  :
 
3657
else
 
3658
  { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3659
See \`config.log' for more details." >&5
 
3660
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3661
See \`config.log' for more details." >&2;}
 
3662
   { (exit 1); exit 1; }; }
 
3663
fi
 
3664
 
 
3665
ac_ext=c
 
3666
ac_cpp='$CPP $CPPFLAGS'
 
3667
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3668
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3669
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3670
 
 
3671
 
 
3672
 
 
3673
cat >conftest.$ac_ext <<_ACEOF
 
3674
/* confdefs.h.  */
 
3675
_ACEOF
 
3676
cat confdefs.h >>conftest.$ac_ext
 
3677
cat >>conftest.$ac_ext <<_ACEOF
 
3678
/* end confdefs.h.  */
 
3679
int main()
 
3680
  {
 
3681
     return;
 
3682
  }
 
3683
 
 
3684
int
 
3685
main ()
 
3686
{
 
3687
 
 
3688
  ;
 
3689
  return 0;
 
3690
}
 
3691
_ACEOF
 
3692
rm -f conftest.$ac_objext
 
3693
if { (ac_try="$ac_compile"
 
3694
case "(($ac_try" in
 
3695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3696
  *) ac_try_echo=$ac_try;;
 
3697
esac
 
3698
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3699
$as_echo "$ac_try_echo") >&5
 
3700
  (eval "$ac_compile") 2>conftest.er1
 
3701
  ac_status=$?
 
3702
  grep -v '^ *+' conftest.er1 >conftest.err
 
3703
  rm -f conftest.er1
 
3704
  cat conftest.err >&5
 
3705
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3706
  (exit $ac_status); } && {
 
3707
         test -z "$ac_c_werror_flag" ||
 
3708
         test ! -s conftest.err
 
3709
       } && test -s conftest.$ac_objext; then
 
3710
  :
 
3711
else
 
3712
  $as_echo "$as_me: failed program was:" >&5
 
3713
sed 's/^/| /' conftest.$ac_ext >&5
 
3714
 
 
3715
 
 
3716
fi
 
3717
 
 
3718
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3719
 
 
3720
SPARCV9=""
 
3721
sys=`uname`
 
3722
case $sys in
 
3723
         Linux) w_flag="-Wl,-R"
 
3724
                w_flag_2=""
 
3725
                ;;
 
3726
         AIX) w_flag="-Wl,-blibpath:"
 
3727
              w_flag_2=":/usr/lib:/lib"
 
3728
              ;;
 
3729
         SunOS) w_flag="-R"
 
3730
                w_flag_2=""
 
3731
                rel=`uname -r`
 
3732
                case $rel in
 
3733
                         5.10|5.11)
 
3734
cat >>confdefs.h <<\_ACEOF
 
3735
#define HAVE_NEW_SEAM_KERBEROS 1
 
3736
_ACEOF
 
3737
 
 
3738
                           ;;
 
3739
                        *) ;;
 
3740
                esac
 
3741
                  ;;
 
3742
         FreeBSD) w_flag="-Wl,-R"
 
3743
                w_flag_2=""
 
3744
                ;;
 
3745
         *) w_flag="-Wl,-rpath"
 
3746
            w_flag_2=""
 
3747
            ;;
 
3748
esac
 
3749
 
 
3750
 
 
3751
enable_arg="no"
 
3752
check_mit() {
 
3753
       if test "x$ac_krb5_config" = "xyes" ; then
 
3754
           ac_heimdal=`krb5-config --version 2>/dev/null | grep heimdal`
 
3755
           if test "x$ac_heimdal" != "x" ; then
 
3756
               check_heimdal
 
3757
               return
 
3758
           fi
 
3759
       fi
 
3760
 
 
3761
cat >>confdefs.h <<\_ACEOF
 
3762
#define HAVE_MIT_KERBEROS 1
 
3763
_ACEOF
 
3764
 
 
3765
       ac_gss_libs="resolv com_err des425 k5crypto krb5 gssapi_krb5"
 
3766
       ac_includedir=""
 
3767
       ac_libdir=""
 
3768
       case $sys in
 
3769
                Linux) if test "x$enableval" != "xyes" -a "x$enableval" != "x" ; then
 
3770
                         ac_libdir=$enableval/lib
 
3771
                         ac_includedir=$enableval/include
 
3772
                       else
 
3773
                         ac_libdir=`rpm -q -l  krb5 2>/dev/null | grep "/libgssapi_krb5" |  sed -e 's/\/libgssapi_krb5.*//' | head -1`
 
3774
                         ac_includedir=`rpm -q -l krb5-devel 2>/dev/null | grep /krb5.h$ | sed -e 's/\/krb5.h//' | head -1`
 
3775
                       fi
 
3776
                       if test "x$ac_includedir" != "x" ; then
 
3777
                         CPPFLAGS="$CPPFLAGS -I$ac_includedir"
 
3778
                       else
 
3779
                         ac_gssapi_cflags=`krb5-config --cflags gssapi 2>/dev/null`
 
3780
                         if test "x$ac_gssapi_cflags" != "x" ; then
 
3781
                           CPPFLAGS="$CPPFLAGS $ac_gssapi_cflags"
 
3782
                         fi
 
3783
                       fi
 
3784
 
 
3785
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3786
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3787
if test "${ac_cv_path_GREP+set}" = set; then
 
3788
  $as_echo_n "(cached) " >&6
 
3789
else
 
3790
  if test -z "$GREP"; then
 
3791
  ac_path_GREP_found=false
 
3792
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3793
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3794
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3795
do
 
3796
  IFS=$as_save_IFS
 
3797
  test -z "$as_dir" && as_dir=.
 
3798
  for ac_prog in grep ggrep; do
 
3799
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3800
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3801
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3802
# Check for GNU ac_path_GREP and select it if it is found.
 
3803
  # Check for GNU $ac_path_GREP
 
3804
case `"$ac_path_GREP" --version 2>&1` in
 
3805
*GNU*)
 
3806
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3807
*)
 
3808
  ac_count=0
 
3809
  $as_echo_n 0123456789 >"conftest.in"
 
3810
  while :
 
3811
  do
 
3812
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3813
    mv "conftest.tmp" "conftest.in"
 
3814
    cp "conftest.in" "conftest.nl"
 
3815
    $as_echo 'GREP' >> "conftest.nl"
 
3816
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3817
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3818
    ac_count=`expr $ac_count + 1`
 
3819
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3820
      # Best one so far, save it but keep looking for a better one
 
3821
      ac_cv_path_GREP="$ac_path_GREP"
 
3822
      ac_path_GREP_max=$ac_count
 
3823
    fi
 
3824
    # 10*(2^10) chars as input seems more than enough
 
3825
    test $ac_count -gt 10 && break
 
3826
  done
 
3827
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3828
esac
 
3829
 
 
3830
      $ac_path_GREP_found && break 3
 
3831
    done
 
3832
  done
 
3833
done
 
3834
IFS=$as_save_IFS
 
3835
  if test -z "$ac_cv_path_GREP"; then
 
3836
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3837
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3838
   { (exit 1); exit 1; }; }
 
3839
  fi
 
3840
else
 
3841
  ac_cv_path_GREP=$GREP
 
3842
fi
 
3843
 
 
3844
fi
 
3845
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3846
$as_echo "$ac_cv_path_GREP" >&6; }
 
3847
 GREP="$ac_cv_path_GREP"
 
3848
 
 
3849
 
 
3850
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3851
$as_echo_n "checking for egrep... " >&6; }
 
3852
if test "${ac_cv_path_EGREP+set}" = set; then
 
3853
  $as_echo_n "(cached) " >&6
 
3854
else
 
3855
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3856
   then ac_cv_path_EGREP="$GREP -E"
 
3857
   else
 
3858
     if test -z "$EGREP"; then
 
3859
  ac_path_EGREP_found=false
 
3860
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3861
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3862
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3863
do
 
3864
  IFS=$as_save_IFS
 
3865
  test -z "$as_dir" && as_dir=.
 
3866
  for ac_prog in egrep; do
 
3867
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3868
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3869
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3870
# Check for GNU ac_path_EGREP and select it if it is found.
 
3871
  # Check for GNU $ac_path_EGREP
 
3872
case `"$ac_path_EGREP" --version 2>&1` in
 
3873
*GNU*)
 
3874
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3875
*)
 
3876
  ac_count=0
 
3877
  $as_echo_n 0123456789 >"conftest.in"
 
3878
  while :
 
3879
  do
 
3880
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3881
    mv "conftest.tmp" "conftest.in"
 
3882
    cp "conftest.in" "conftest.nl"
 
3883
    $as_echo 'EGREP' >> "conftest.nl"
 
3884
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3885
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3886
    ac_count=`expr $ac_count + 1`
 
3887
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3888
      # Best one so far, save it but keep looking for a better one
 
3889
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3890
      ac_path_EGREP_max=$ac_count
 
3891
    fi
 
3892
    # 10*(2^10) chars as input seems more than enough
 
3893
    test $ac_count -gt 10 && break
 
3894
  done
 
3895
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3896
esac
 
3897
 
 
3898
      $ac_path_EGREP_found && break 3
 
3899
    done
 
3900
  done
 
3901
done
 
3902
IFS=$as_save_IFS
 
3903
  if test -z "$ac_cv_path_EGREP"; then
 
3904
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3905
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3906
   { (exit 1); exit 1; }; }
 
3907
  fi
 
3908
else
 
3909
  ac_cv_path_EGREP=$EGREP
 
3910
fi
 
3911
 
 
3912
   fi
 
3913
fi
 
3914
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3915
$as_echo "$ac_cv_path_EGREP" >&6; }
 
3916
 EGREP="$ac_cv_path_EGREP"
 
3917
 
 
3918
 
 
3919
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3920
$as_echo_n "checking for ANSI C header files... " >&6; }
 
3921
if test "${ac_cv_header_stdc+set}" = set; then
 
3922
  $as_echo_n "(cached) " >&6
 
3923
else
 
3924
  cat >conftest.$ac_ext <<_ACEOF
 
3925
/* confdefs.h.  */
 
3926
_ACEOF
 
3927
cat confdefs.h >>conftest.$ac_ext
 
3928
cat >>conftest.$ac_ext <<_ACEOF
 
3929
/* end confdefs.h.  */
 
3930
#include <stdlib.h>
 
3931
#include <stdarg.h>
 
3932
#include <string.h>
 
3933
#include <float.h>
 
3934
 
 
3935
int
 
3936
main ()
 
3937
{
 
3938
 
 
3939
  ;
 
3940
  return 0;
 
3941
}
 
3942
_ACEOF
 
3943
rm -f conftest.$ac_objext
 
3944
if { (ac_try="$ac_compile"
 
3945
case "(($ac_try" in
 
3946
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3947
  *) ac_try_echo=$ac_try;;
 
3948
esac
 
3949
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3950
$as_echo "$ac_try_echo") >&5
 
3951
  (eval "$ac_compile") 2>conftest.er1
 
3952
  ac_status=$?
 
3953
  grep -v '^ *+' conftest.er1 >conftest.err
 
3954
  rm -f conftest.er1
 
3955
  cat conftest.err >&5
 
3956
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3957
  (exit $ac_status); } && {
 
3958
         test -z "$ac_c_werror_flag" ||
 
3959
         test ! -s conftest.err
 
3960
       } && test -s conftest.$ac_objext; then
 
3961
  ac_cv_header_stdc=yes
 
3962
else
 
3963
  $as_echo "$as_me: failed program was:" >&5
 
3964
sed 's/^/| /' conftest.$ac_ext >&5
 
3965
 
 
3966
        ac_cv_header_stdc=no
 
3967
fi
 
3968
 
 
3969
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3970
 
 
3971
if test $ac_cv_header_stdc = yes; then
 
3972
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
3973
  cat >conftest.$ac_ext <<_ACEOF
 
3974
/* confdefs.h.  */
 
3975
_ACEOF
 
3976
cat confdefs.h >>conftest.$ac_ext
 
3977
cat >>conftest.$ac_ext <<_ACEOF
 
3978
/* end confdefs.h.  */
 
3979
#include <string.h>
 
3980
 
 
3981
_ACEOF
 
3982
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3983
  $EGREP "memchr" >/dev/null 2>&1; then
 
3984
  :
 
3985
else
 
3986
  ac_cv_header_stdc=no
 
3987
fi
 
3988
rm -f conftest*
 
3989
 
 
3990
fi
 
3991
 
 
3992
if test $ac_cv_header_stdc = yes; then
 
3993
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
3994
  cat >conftest.$ac_ext <<_ACEOF
 
3995
/* confdefs.h.  */
 
3996
_ACEOF
 
3997
cat confdefs.h >>conftest.$ac_ext
 
3998
cat >>conftest.$ac_ext <<_ACEOF
 
3999
/* end confdefs.h.  */
 
4000
#include <stdlib.h>
 
4001
 
 
4002
_ACEOF
 
4003
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4004
  $EGREP "free" >/dev/null 2>&1; then
 
4005
  :
 
4006
else
 
4007
  ac_cv_header_stdc=no
 
4008
fi
 
4009
rm -f conftest*
 
4010
 
 
4011
fi
 
4012
 
 
4013
if test $ac_cv_header_stdc = yes; then
 
4014
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4015
  if test "$cross_compiling" = yes; then
 
4016
  :
 
4017
else
 
4018
  cat >conftest.$ac_ext <<_ACEOF
 
4019
/* confdefs.h.  */
 
4020
_ACEOF
 
4021
cat confdefs.h >>conftest.$ac_ext
 
4022
cat >>conftest.$ac_ext <<_ACEOF
 
4023
/* end confdefs.h.  */
 
4024
#include <ctype.h>
 
4025
#include <stdlib.h>
 
4026
#if ((' ' & 0x0FF) == 0x020)
 
4027
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4028
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4029
#else
 
4030
# define ISLOWER(c) \
 
4031
                   (('a' <= (c) && (c) <= 'i') \
 
4032
                     || ('j' <= (c) && (c) <= 'r') \
 
4033
                     || ('s' <= (c) && (c) <= 'z'))
 
4034
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4035
#endif
 
4036
 
 
4037
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4038
int
 
4039
main ()
 
4040
{
 
4041
  int i;
 
4042
  for (i = 0; i < 256; i++)
 
4043
    if (XOR (islower (i), ISLOWER (i))
 
4044
        || toupper (i) != TOUPPER (i))
 
4045
      return 2;
 
4046
  return 0;
 
4047
}
 
4048
_ACEOF
 
4049
rm -f conftest$ac_exeext
 
4050
if { (ac_try="$ac_link"
 
4051
case "(($ac_try" in
 
4052
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4053
  *) ac_try_echo=$ac_try;;
 
4054
esac
 
4055
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4056
$as_echo "$ac_try_echo") >&5
 
4057
  (eval "$ac_link") 2>&5
 
4058
  ac_status=$?
 
4059
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4060
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
4061
  { (case "(($ac_try" in
 
4062
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4063
  *) ac_try_echo=$ac_try;;
 
4064
esac
 
4065
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4066
$as_echo "$ac_try_echo") >&5
 
4067
  (eval "$ac_try") 2>&5
 
4068
  ac_status=$?
 
4069
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4070
  (exit $ac_status); }; }; then
 
4071
  :
 
4072
else
 
4073
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4074
$as_echo "$as_me: failed program was:" >&5
 
4075
sed 's/^/| /' conftest.$ac_ext >&5
 
4076
 
 
4077
( exit $ac_status )
 
4078
ac_cv_header_stdc=no
 
4079
fi
 
4080
rm -rf conftest.dSYM
 
4081
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4082
fi
 
4083
 
 
4084
 
 
4085
fi
 
4086
fi
 
4087
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4088
$as_echo "$ac_cv_header_stdc" >&6; }
 
4089
if test $ac_cv_header_stdc = yes; then
 
4090
 
 
4091
cat >>confdefs.h <<\_ACEOF
 
4092
#define STDC_HEADERS 1
 
4093
_ACEOF
 
4094
 
 
4095
fi
 
4096
 
 
4097
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4098
 
 
4099
 
 
4100
 
 
4101
 
 
4102
 
 
4103
 
 
4104
 
 
4105
 
 
4106
 
 
4107
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4108
                  inttypes.h stdint.h unistd.h
 
4109
do
 
4110
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4111
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4112
$as_echo_n "checking for $ac_header... " >&6; }
 
4113
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4114
  $as_echo_n "(cached) " >&6
 
4115
else
 
4116
  cat >conftest.$ac_ext <<_ACEOF
 
4117
/* confdefs.h.  */
 
4118
_ACEOF
 
4119
cat confdefs.h >>conftest.$ac_ext
 
4120
cat >>conftest.$ac_ext <<_ACEOF
 
4121
/* end confdefs.h.  */
 
4122
$ac_includes_default
 
4123
 
 
4124
#include <$ac_header>
 
4125
_ACEOF
 
4126
rm -f conftest.$ac_objext
 
4127
if { (ac_try="$ac_compile"
 
4128
case "(($ac_try" in
 
4129
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4130
  *) ac_try_echo=$ac_try;;
 
4131
esac
 
4132
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4133
$as_echo "$ac_try_echo") >&5
 
4134
  (eval "$ac_compile") 2>conftest.er1
 
4135
  ac_status=$?
 
4136
  grep -v '^ *+' conftest.er1 >conftest.err
 
4137
  rm -f conftest.er1
 
4138
  cat conftest.err >&5
 
4139
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4140
  (exit $ac_status); } && {
 
4141
         test -z "$ac_c_werror_flag" ||
 
4142
         test ! -s conftest.err
 
4143
       } && test -s conftest.$ac_objext; then
 
4144
  eval "$as_ac_Header=yes"
 
4145
else
 
4146
  $as_echo "$as_me: failed program was:" >&5
 
4147
sed 's/^/| /' conftest.$ac_ext >&5
 
4148
 
 
4149
        eval "$as_ac_Header=no"
 
4150
fi
 
4151
 
 
4152
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4153
fi
 
4154
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4155
                 $as_echo "$as_val"'`
 
4156
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4157
$as_echo "$ac_res" >&6; }
 
4158
if test `eval 'as_val=${'$as_ac_Header'}
 
4159
                 $as_echo "$as_val"'` = yes; then
 
4160
  cat >>confdefs.h <<_ACEOF
 
4161
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4162
_ACEOF
 
4163
 
 
4164
fi
 
4165
 
 
4166
done
 
4167
 
 
4168
 
 
4169
 
 
4170
 
 
4171
 
 
4172
 
 
4173
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
 
4174
do
 
4175
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4176
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4177
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4178
$as_echo_n "checking for $ac_header... " >&6; }
 
4179
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4180
  $as_echo_n "(cached) " >&6
 
4181
fi
 
4182
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4183
                 $as_echo "$as_val"'`
 
4184
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4185
$as_echo "$ac_res" >&6; }
 
4186
else
 
4187
  # Is the header compilable?
 
4188
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4189
$as_echo_n "checking $ac_header usability... " >&6; }
 
4190
cat >conftest.$ac_ext <<_ACEOF
 
4191
/* confdefs.h.  */
 
4192
_ACEOF
 
4193
cat confdefs.h >>conftest.$ac_ext
 
4194
cat >>conftest.$ac_ext <<_ACEOF
 
4195
/* end confdefs.h.  */
 
4196
$ac_includes_default
 
4197
#include <$ac_header>
 
4198
_ACEOF
 
4199
rm -f conftest.$ac_objext
 
4200
if { (ac_try="$ac_compile"
 
4201
case "(($ac_try" in
 
4202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4203
  *) ac_try_echo=$ac_try;;
 
4204
esac
 
4205
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4206
$as_echo "$ac_try_echo") >&5
 
4207
  (eval "$ac_compile") 2>conftest.er1
 
4208
  ac_status=$?
 
4209
  grep -v '^ *+' conftest.er1 >conftest.err
 
4210
  rm -f conftest.er1
 
4211
  cat conftest.err >&5
 
4212
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4213
  (exit $ac_status); } && {
 
4214
         test -z "$ac_c_werror_flag" ||
 
4215
         test ! -s conftest.err
 
4216
       } && test -s conftest.$ac_objext; then
 
4217
  ac_header_compiler=yes
 
4218
else
 
4219
  $as_echo "$as_me: failed program was:" >&5
 
4220
sed 's/^/| /' conftest.$ac_ext >&5
 
4221
 
 
4222
        ac_header_compiler=no
 
4223
fi
 
4224
 
 
4225
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4226
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4227
$as_echo "$ac_header_compiler" >&6; }
 
4228
 
 
4229
# Is the header present?
 
4230
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4231
$as_echo_n "checking $ac_header presence... " >&6; }
 
4232
cat >conftest.$ac_ext <<_ACEOF
 
4233
/* confdefs.h.  */
 
4234
_ACEOF
 
4235
cat confdefs.h >>conftest.$ac_ext
 
4236
cat >>conftest.$ac_ext <<_ACEOF
 
4237
/* end confdefs.h.  */
 
4238
#include <$ac_header>
 
4239
_ACEOF
 
4240
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4241
case "(($ac_try" in
 
4242
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4243
  *) ac_try_echo=$ac_try;;
 
4244
esac
 
4245
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4246
$as_echo "$ac_try_echo") >&5
 
4247
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4248
  ac_status=$?
 
4249
  grep -v '^ *+' conftest.er1 >conftest.err
 
4250
  rm -f conftest.er1
 
4251
  cat conftest.err >&5
 
4252
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4253
  (exit $ac_status); } >/dev/null && {
 
4254
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4255
         test ! -s conftest.err
 
4256
       }; then
 
4257
  ac_header_preproc=yes
 
4258
else
 
4259
  $as_echo "$as_me: failed program was:" >&5
 
4260
sed 's/^/| /' conftest.$ac_ext >&5
 
4261
 
 
4262
  ac_header_preproc=no
 
4263
fi
 
4264
 
 
4265
rm -f conftest.err conftest.$ac_ext
 
4266
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4267
$as_echo "$ac_header_preproc" >&6; }
 
4268
 
 
4269
# So?  What about this header?
 
4270
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
4271
  yes:no: )
 
4272
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4273
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4274
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4275
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4276
    ac_header_preproc=yes
 
4277
    ;;
 
4278
  no:yes:* )
 
4279
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4280
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4281
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4282
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4283
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4284
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4285
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4286
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4287
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4288
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4289
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4290
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4291
    ( cat <<\_ASBOX
 
4292
## -------------------------------------------- ##
 
4293
## Report this to markus_moeller@compuserve.com ##
 
4294
## -------------------------------------------- ##
 
4295
_ASBOX
 
4296
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
4297
    ;;
 
4298
esac
 
4299
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4300
$as_echo_n "checking for $ac_header... " >&6; }
 
4301
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4302
  $as_echo_n "(cached) " >&6
 
4303
else
 
4304
  eval "$as_ac_Header=\$ac_header_preproc"
 
4305
fi
 
4306
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4307
                 $as_echo "$as_val"'`
 
4308
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4309
$as_echo "$ac_res" >&6; }
 
4310
 
 
4311
fi
 
4312
if test `eval 'as_val=${'$as_ac_Header'}
 
4313
                 $as_echo "$as_val"'` = yes; then
 
4314
  cat >>confdefs.h <<_ACEOF
 
4315
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4316
_ACEOF
 
4317
 
 
4318
fi
 
4319
 
 
4320
done
 
4321
 
 
4322
                       if test "x$ac_libdir" != "x" ; then
 
4323
                         LDFLAGS="$LDFLAGS -L$ac_libdir $w_flag$ac_libdir$w_flag_2"
 
4324
                         for lib in $ac_gss_libs; do
 
4325
 
 
4326
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4327
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4328
$as_echo_n "checking for main in -l$lib... " >&6; }
 
4329
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4330
  $as_echo_n "(cached) " >&6
 
4331
else
 
4332
  ac_check_lib_save_LIBS=$LIBS
 
4333
LIBS="-l$lib  $LIBS"
 
4334
cat >conftest.$ac_ext <<_ACEOF
 
4335
/* confdefs.h.  */
 
4336
_ACEOF
 
4337
cat confdefs.h >>conftest.$ac_ext
 
4338
cat >>conftest.$ac_ext <<_ACEOF
 
4339
/* end confdefs.h.  */
 
4340
 
 
4341
 
 
4342
int
 
4343
main ()
 
4344
{
 
4345
return main ();
 
4346
  ;
 
4347
  return 0;
 
4348
}
 
4349
_ACEOF
 
4350
rm -f conftest.$ac_objext conftest$ac_exeext
 
4351
if { (ac_try="$ac_link"
 
4352
case "(($ac_try" in
 
4353
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4354
  *) ac_try_echo=$ac_try;;
 
4355
esac
 
4356
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4357
$as_echo "$ac_try_echo") >&5
 
4358
  (eval "$ac_link") 2>conftest.er1
 
4359
  ac_status=$?
 
4360
  grep -v '^ *+' conftest.er1 >conftest.err
 
4361
  rm -f conftest.er1
 
4362
  cat conftest.err >&5
 
4363
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4364
  (exit $ac_status); } && {
 
4365
         test -z "$ac_c_werror_flag" ||
 
4366
         test ! -s conftest.err
 
4367
       } && test -s conftest$ac_exeext && {
 
4368
         test "$cross_compiling" = yes ||
 
4369
         $as_test_x conftest$ac_exeext
 
4370
       }; then
 
4371
  eval "$as_ac_Lib=yes"
 
4372
else
 
4373
  $as_echo "$as_me: failed program was:" >&5
 
4374
sed 's/^/| /' conftest.$ac_ext >&5
 
4375
 
 
4376
        eval "$as_ac_Lib=no"
 
4377
fi
 
4378
 
 
4379
rm -rf conftest.dSYM
 
4380
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4381
      conftest$ac_exeext conftest.$ac_ext
 
4382
LIBS=$ac_check_lib_save_LIBS
 
4383
fi
 
4384
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
4385
                 $as_echo "$as_val"'`
 
4386
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4387
$as_echo "$ac_res" >&6; }
 
4388
if test `eval 'as_val=${'$as_ac_Lib'}
 
4389
                 $as_echo "$as_val"'` = yes; then
 
4390
  cat >>confdefs.h <<_ACEOF
 
4391
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
 
4392
_ACEOF
 
4393
 
 
4394
  LIBS="-l$lib $LIBS"
 
4395
 
 
4396
fi
 
4397
 
 
4398
                         done
 
4399
                       else
 
4400
                         ac_gssapi_libs=`krb5-config --libs gssapi 2>/dev/null`
 
4401
                         if test "x$ac_gssapi_libs" != "x" ; then
 
4402
                           LDFLAGS="$LDFLAGS $ac_gssapi_libs"
 
4403
                         else
 
4404
                           for lib in $ac_gss_libs; do
 
4405
 
 
4406
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4407
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4408
$as_echo_n "checking for main in -l$lib... " >&6; }
 
4409
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4410
  $as_echo_n "(cached) " >&6
 
4411
else
 
4412
  ac_check_lib_save_LIBS=$LIBS
 
4413
LIBS="-l$lib  $LIBS"
 
4414
cat >conftest.$ac_ext <<_ACEOF
 
4415
/* confdefs.h.  */
 
4416
_ACEOF
 
4417
cat confdefs.h >>conftest.$ac_ext
 
4418
cat >>conftest.$ac_ext <<_ACEOF
 
4419
/* end confdefs.h.  */
 
4420
 
 
4421
 
 
4422
int
 
4423
main ()
 
4424
{
 
4425
return main ();
 
4426
  ;
 
4427
  return 0;
 
4428
}
 
4429
_ACEOF
 
4430
rm -f conftest.$ac_objext conftest$ac_exeext
 
4431
if { (ac_try="$ac_link"
 
4432
case "(($ac_try" in
 
4433
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4434
  *) ac_try_echo=$ac_try;;
 
4435
esac
 
4436
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4437
$as_echo "$ac_try_echo") >&5
 
4438
  (eval "$ac_link") 2>conftest.er1
 
4439
  ac_status=$?
 
4440
  grep -v '^ *+' conftest.er1 >conftest.err
 
4441
  rm -f conftest.er1
 
4442
  cat conftest.err >&5
 
4443
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4444
  (exit $ac_status); } && {
 
4445
         test -z "$ac_c_werror_flag" ||
 
4446
         test ! -s conftest.err
 
4447
       } && test -s conftest$ac_exeext && {
 
4448
         test "$cross_compiling" = yes ||
 
4449
         $as_test_x conftest$ac_exeext
 
4450
       }; then
 
4451
  eval "$as_ac_Lib=yes"
 
4452
else
 
4453
  $as_echo "$as_me: failed program was:" >&5
 
4454
sed 's/^/| /' conftest.$ac_ext >&5
 
4455
 
 
4456
        eval "$as_ac_Lib=no"
 
4457
fi
 
4458
 
 
4459
rm -rf conftest.dSYM
 
4460
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4461
      conftest$ac_exeext conftest.$ac_ext
 
4462
LIBS=$ac_check_lib_save_LIBS
 
4463
fi
 
4464
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
4465
                 $as_echo "$as_val"'`
 
4466
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4467
$as_echo "$ac_res" >&6; }
 
4468
if test `eval 'as_val=${'$as_ac_Lib'}
 
4469
                 $as_echo "$as_val"'` = yes; then
 
4470
  cat >>confdefs.h <<_ACEOF
 
4471
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
 
4472
_ACEOF
 
4473
 
 
4474
  LIBS="-l$lib $LIBS"
 
4475
 
 
4476
fi
 
4477
 
 
4478
                           done
 
4479
                         fi
 
4480
                       fi
 
4481
                       ;;
 
4482
                *) if test "x$enableval" != "xyes" -a "x$enableval" != "x" ; then
 
4483
                     ac_libdir=$enableval/lib
 
4484
                     ac_includedir=$enableval/include
 
4485
                     CPPFLAGS="$CPPFLAGS -I$ac_includedir"
 
4486
 
 
4487
 
 
4488
 
 
4489
 
 
4490
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
 
4491
do
 
4492
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4493
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4494
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4495
$as_echo_n "checking for $ac_header... " >&6; }
 
4496
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4497
  $as_echo_n "(cached) " >&6
 
4498
fi
 
4499
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4500
                 $as_echo "$as_val"'`
 
4501
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4502
$as_echo "$ac_res" >&6; }
 
4503
else
 
4504
  # Is the header compilable?
 
4505
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4506
$as_echo_n "checking $ac_header usability... " >&6; }
 
4507
cat >conftest.$ac_ext <<_ACEOF
 
4508
/* confdefs.h.  */
 
4509
_ACEOF
 
4510
cat confdefs.h >>conftest.$ac_ext
 
4511
cat >>conftest.$ac_ext <<_ACEOF
 
4512
/* end confdefs.h.  */
 
4513
$ac_includes_default
 
4514
#include <$ac_header>
 
4515
_ACEOF
 
4516
rm -f conftest.$ac_objext
 
4517
if { (ac_try="$ac_compile"
 
4518
case "(($ac_try" in
 
4519
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4520
  *) ac_try_echo=$ac_try;;
 
4521
esac
 
4522
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4523
$as_echo "$ac_try_echo") >&5
 
4524
  (eval "$ac_compile") 2>conftest.er1
 
4525
  ac_status=$?
 
4526
  grep -v '^ *+' conftest.er1 >conftest.err
 
4527
  rm -f conftest.er1
 
4528
  cat conftest.err >&5
 
4529
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4530
  (exit $ac_status); } && {
 
4531
         test -z "$ac_c_werror_flag" ||
 
4532
         test ! -s conftest.err
 
4533
       } && test -s conftest.$ac_objext; then
 
4534
  ac_header_compiler=yes
 
4535
else
 
4536
  $as_echo "$as_me: failed program was:" >&5
 
4537
sed 's/^/| /' conftest.$ac_ext >&5
 
4538
 
 
4539
        ac_header_compiler=no
 
4540
fi
 
4541
 
 
4542
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4543
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4544
$as_echo "$ac_header_compiler" >&6; }
 
4545
 
 
4546
# Is the header present?
 
4547
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4548
$as_echo_n "checking $ac_header presence... " >&6; }
 
4549
cat >conftest.$ac_ext <<_ACEOF
 
4550
/* confdefs.h.  */
 
4551
_ACEOF
 
4552
cat confdefs.h >>conftest.$ac_ext
 
4553
cat >>conftest.$ac_ext <<_ACEOF
 
4554
/* end confdefs.h.  */
 
4555
#include <$ac_header>
 
4556
_ACEOF
 
4557
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4558
case "(($ac_try" in
 
4559
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4560
  *) ac_try_echo=$ac_try;;
 
4561
esac
 
4562
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4563
$as_echo "$ac_try_echo") >&5
 
4564
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4565
  ac_status=$?
 
4566
  grep -v '^ *+' conftest.er1 >conftest.err
 
4567
  rm -f conftest.er1
 
4568
  cat conftest.err >&5
 
4569
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4570
  (exit $ac_status); } >/dev/null && {
 
4571
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4572
         test ! -s conftest.err
 
4573
       }; then
 
4574
  ac_header_preproc=yes
 
4575
else
 
4576
  $as_echo "$as_me: failed program was:" >&5
 
4577
sed 's/^/| /' conftest.$ac_ext >&5
 
4578
 
 
4579
  ac_header_preproc=no
 
4580
fi
 
4581
 
 
4582
rm -f conftest.err conftest.$ac_ext
 
4583
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4584
$as_echo "$ac_header_preproc" >&6; }
 
4585
 
 
4586
# So?  What about this header?
 
4587
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
4588
  yes:no: )
 
4589
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4590
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4591
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4592
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4593
    ac_header_preproc=yes
 
4594
    ;;
 
4595
  no:yes:* )
 
4596
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4597
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4598
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4599
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4600
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4601
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4602
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4603
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4604
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4605
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4606
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4607
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4608
    ( cat <<\_ASBOX
 
4609
## -------------------------------------------- ##
 
4610
## Report this to markus_moeller@compuserve.com ##
 
4611
## -------------------------------------------- ##
 
4612
_ASBOX
 
4613
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
4614
    ;;
 
4615
esac
 
4616
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4617
$as_echo_n "checking for $ac_header... " >&6; }
 
4618
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4619
  $as_echo_n "(cached) " >&6
 
4620
else
 
4621
  eval "$as_ac_Header=\$ac_header_preproc"
 
4622
fi
 
4623
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4624
                 $as_echo "$as_val"'`
 
4625
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4626
$as_echo "$ac_res" >&6; }
 
4627
 
 
4628
fi
 
4629
if test `eval 'as_val=${'$as_ac_Header'}
 
4630
                 $as_echo "$as_val"'` = yes; then
 
4631
  cat >>confdefs.h <<_ACEOF
 
4632
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4633
_ACEOF
 
4634
 
 
4635
fi
 
4636
 
 
4637
done
 
4638
 
 
4639
                     LDFLAGS="$LDFLAGS -L$ac_libdir $w_flag$ac_libdir$w_flag_2"
 
4640
                     for lib in $ac_gss_libs; do
 
4641
 
 
4642
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4643
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4644
$as_echo_n "checking for main in -l$lib... " >&6; }
 
4645
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4646
  $as_echo_n "(cached) " >&6
 
4647
else
 
4648
  ac_check_lib_save_LIBS=$LIBS
 
4649
LIBS="-l$lib  $LIBS"
 
4650
cat >conftest.$ac_ext <<_ACEOF
 
4651
/* confdefs.h.  */
 
4652
_ACEOF
 
4653
cat confdefs.h >>conftest.$ac_ext
 
4654
cat >>conftest.$ac_ext <<_ACEOF
 
4655
/* end confdefs.h.  */
 
4656
 
 
4657
 
 
4658
int
 
4659
main ()
 
4660
{
 
4661
return main ();
 
4662
  ;
 
4663
  return 0;
 
4664
}
 
4665
_ACEOF
 
4666
rm -f conftest.$ac_objext conftest$ac_exeext
 
4667
if { (ac_try="$ac_link"
 
4668
case "(($ac_try" in
 
4669
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4670
  *) ac_try_echo=$ac_try;;
 
4671
esac
 
4672
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4673
$as_echo "$ac_try_echo") >&5
 
4674
  (eval "$ac_link") 2>conftest.er1
 
4675
  ac_status=$?
 
4676
  grep -v '^ *+' conftest.er1 >conftest.err
 
4677
  rm -f conftest.er1
 
4678
  cat conftest.err >&5
 
4679
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4680
  (exit $ac_status); } && {
 
4681
         test -z "$ac_c_werror_flag" ||
 
4682
         test ! -s conftest.err
 
4683
       } && test -s conftest$ac_exeext && {
 
4684
         test "$cross_compiling" = yes ||
 
4685
         $as_test_x conftest$ac_exeext
 
4686
       }; then
 
4687
  eval "$as_ac_Lib=yes"
 
4688
else
 
4689
  $as_echo "$as_me: failed program was:" >&5
 
4690
sed 's/^/| /' conftest.$ac_ext >&5
 
4691
 
 
4692
        eval "$as_ac_Lib=no"
 
4693
fi
 
4694
 
 
4695
rm -rf conftest.dSYM
 
4696
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4697
      conftest$ac_exeext conftest.$ac_ext
 
4698
LIBS=$ac_check_lib_save_LIBS
 
4699
fi
 
4700
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
4701
                 $as_echo "$as_val"'`
 
4702
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4703
$as_echo "$ac_res" >&6; }
 
4704
if test `eval 'as_val=${'$as_ac_Lib'}
 
4705
                 $as_echo "$as_val"'` = yes; then
 
4706
  cat >>confdefs.h <<_ACEOF
 
4707
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
 
4708
_ACEOF
 
4709
 
 
4710
  LIBS="-l$lib $LIBS"
 
4711
 
 
4712
fi
 
4713
 
 
4714
                     done
 
4715
                   else
 
4716
                     ac_gssapi_cflags=`krb5-config --cflags gssapi 2>/dev/null`
 
4717
                     if test "x$ac_gssapi_cflags" != "x" ; then
 
4718
                         CPPFLAGS="$CPPFLAGS $ac_gssapi_cflags"
 
4719
                     fi
 
4720
                     ac_gssapi_libs=`krb5-config --libs gssapi 2>/dev/null`
 
4721
                     if test "x$ac_gssapi_libs" != "x" ; then
 
4722
                         LDFLAGS="$LDFLAGS $ac_gssapi_libs"
 
4723
                     else
 
4724
                         for lib in $ac_gss_libs; do
 
4725
 
 
4726
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
4727
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
4728
$as_echo_n "checking for main in -l$lib... " >&6; }
 
4729
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
4730
  $as_echo_n "(cached) " >&6
 
4731
else
 
4732
  ac_check_lib_save_LIBS=$LIBS
 
4733
LIBS="-l$lib  $LIBS"
 
4734
cat >conftest.$ac_ext <<_ACEOF
 
4735
/* confdefs.h.  */
 
4736
_ACEOF
 
4737
cat confdefs.h >>conftest.$ac_ext
 
4738
cat >>conftest.$ac_ext <<_ACEOF
 
4739
/* end confdefs.h.  */
 
4740
 
 
4741
 
 
4742
int
 
4743
main ()
 
4744
{
 
4745
return main ();
 
4746
  ;
 
4747
  return 0;
 
4748
}
 
4749
_ACEOF
 
4750
rm -f conftest.$ac_objext conftest$ac_exeext
 
4751
if { (ac_try="$ac_link"
 
4752
case "(($ac_try" in
 
4753
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4754
  *) ac_try_echo=$ac_try;;
 
4755
esac
 
4756
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4757
$as_echo "$ac_try_echo") >&5
 
4758
  (eval "$ac_link") 2>conftest.er1
 
4759
  ac_status=$?
 
4760
  grep -v '^ *+' conftest.er1 >conftest.err
 
4761
  rm -f conftest.er1
 
4762
  cat conftest.err >&5
 
4763
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4764
  (exit $ac_status); } && {
 
4765
         test -z "$ac_c_werror_flag" ||
 
4766
         test ! -s conftest.err
 
4767
       } && test -s conftest$ac_exeext && {
 
4768
         test "$cross_compiling" = yes ||
 
4769
         $as_test_x conftest$ac_exeext
 
4770
       }; then
 
4771
  eval "$as_ac_Lib=yes"
 
4772
else
 
4773
  $as_echo "$as_me: failed program was:" >&5
 
4774
sed 's/^/| /' conftest.$ac_ext >&5
 
4775
 
 
4776
        eval "$as_ac_Lib=no"
 
4777
fi
 
4778
 
 
4779
rm -rf conftest.dSYM
 
4780
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4781
      conftest$ac_exeext conftest.$ac_ext
 
4782
LIBS=$ac_check_lib_save_LIBS
 
4783
fi
 
4784
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
4785
                 $as_echo "$as_val"'`
 
4786
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4787
$as_echo "$ac_res" >&6; }
 
4788
if test `eval 'as_val=${'$as_ac_Lib'}
 
4789
                 $as_echo "$as_val"'` = yes; then
 
4790
  cat >>confdefs.h <<_ACEOF
 
4791
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
 
4792
_ACEOF
 
4793
 
 
4794
  LIBS="-l$lib $LIBS"
 
4795
 
 
4796
fi
 
4797
 
 
4798
                         done
 
4799
                     fi
 
4800
 
 
4801
 
 
4802
 
 
4803
 
 
4804
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
 
4805
do
 
4806
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4807
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4808
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4809
$as_echo_n "checking for $ac_header... " >&6; }
 
4810
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4811
  $as_echo_n "(cached) " >&6
 
4812
fi
 
4813
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4814
                 $as_echo "$as_val"'`
 
4815
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4816
$as_echo "$ac_res" >&6; }
 
4817
else
 
4818
  # Is the header compilable?
 
4819
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4820
$as_echo_n "checking $ac_header usability... " >&6; }
 
4821
cat >conftest.$ac_ext <<_ACEOF
 
4822
/* confdefs.h.  */
 
4823
_ACEOF
 
4824
cat confdefs.h >>conftest.$ac_ext
 
4825
cat >>conftest.$ac_ext <<_ACEOF
 
4826
/* end confdefs.h.  */
 
4827
$ac_includes_default
 
4828
#include <$ac_header>
 
4829
_ACEOF
 
4830
rm -f conftest.$ac_objext
 
4831
if { (ac_try="$ac_compile"
 
4832
case "(($ac_try" in
 
4833
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4834
  *) ac_try_echo=$ac_try;;
 
4835
esac
 
4836
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4837
$as_echo "$ac_try_echo") >&5
 
4838
  (eval "$ac_compile") 2>conftest.er1
 
4839
  ac_status=$?
 
4840
  grep -v '^ *+' conftest.er1 >conftest.err
 
4841
  rm -f conftest.er1
 
4842
  cat conftest.err >&5
 
4843
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4844
  (exit $ac_status); } && {
 
4845
         test -z "$ac_c_werror_flag" ||
 
4846
         test ! -s conftest.err
 
4847
       } && test -s conftest.$ac_objext; then
 
4848
  ac_header_compiler=yes
 
4849
else
 
4850
  $as_echo "$as_me: failed program was:" >&5
 
4851
sed 's/^/| /' conftest.$ac_ext >&5
 
4852
 
 
4853
        ac_header_compiler=no
 
4854
fi
 
4855
 
 
4856
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4857
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4858
$as_echo "$ac_header_compiler" >&6; }
 
4859
 
 
4860
# Is the header present?
 
4861
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4862
$as_echo_n "checking $ac_header presence... " >&6; }
 
4863
cat >conftest.$ac_ext <<_ACEOF
 
4864
/* confdefs.h.  */
 
4865
_ACEOF
 
4866
cat confdefs.h >>conftest.$ac_ext
 
4867
cat >>conftest.$ac_ext <<_ACEOF
 
4868
/* end confdefs.h.  */
 
4869
#include <$ac_header>
 
4870
_ACEOF
 
4871
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4872
case "(($ac_try" in
 
4873
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4874
  *) ac_try_echo=$ac_try;;
 
4875
esac
 
4876
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4877
$as_echo "$ac_try_echo") >&5
 
4878
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4879
  ac_status=$?
 
4880
  grep -v '^ *+' conftest.er1 >conftest.err
 
4881
  rm -f conftest.er1
 
4882
  cat conftest.err >&5
 
4883
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4884
  (exit $ac_status); } >/dev/null && {
 
4885
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4886
         test ! -s conftest.err
 
4887
       }; then
 
4888
  ac_header_preproc=yes
 
4889
else
 
4890
  $as_echo "$as_me: failed program was:" >&5
 
4891
sed 's/^/| /' conftest.$ac_ext >&5
 
4892
 
 
4893
  ac_header_preproc=no
 
4894
fi
 
4895
 
 
4896
rm -f conftest.err conftest.$ac_ext
 
4897
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4898
$as_echo "$ac_header_preproc" >&6; }
 
4899
 
 
4900
# So?  What about this header?
 
4901
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
4902
  yes:no: )
 
4903
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4904
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4905
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4906
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4907
    ac_header_preproc=yes
 
4908
    ;;
 
4909
  no:yes:* )
 
4910
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4911
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4912
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4913
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4914
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4915
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4916
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4917
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4918
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4919
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4920
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4921
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4922
    ( cat <<\_ASBOX
 
4923
## -------------------------------------------- ##
 
4924
## Report this to markus_moeller@compuserve.com ##
 
4925
## -------------------------------------------- ##
 
4926
_ASBOX
 
4927
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
4928
    ;;
 
4929
esac
 
4930
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4931
$as_echo_n "checking for $ac_header... " >&6; }
 
4932
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4933
  $as_echo_n "(cached) " >&6
 
4934
else
 
4935
  eval "$as_ac_Header=\$ac_header_preproc"
 
4936
fi
 
4937
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4938
                 $as_echo "$as_val"'`
 
4939
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4940
$as_echo "$ac_res" >&6; }
 
4941
 
 
4942
fi
 
4943
if test `eval 'as_val=${'$as_ac_Header'}
 
4944
                 $as_echo "$as_val"'` = yes; then
 
4945
  cat >>confdefs.h <<_ACEOF
 
4946
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4947
_ACEOF
 
4948
 
 
4949
fi
 
4950
 
 
4951
done
 
4952
 
 
4953
                   fi
 
4954
                   ;;
 
4955
       esac
 
4956
       enable_arg="mit"
 
4957
}
 
4958
check_heimdal(){
 
4959
       if test "x$ac_krb5_config" = "xyes" ; then
 
4960
           ac_heimdal=`krb5-config --version 2>/dev/null | grep heimdal`
 
4961
           if test "x$ac_heimdal" = "x" ; then
 
4962
               check_mit
 
4963
               return
 
4964
           fi
 
4965
       fi
 
4966
 
 
4967
cat >>confdefs.h <<\_ACEOF
 
4968
#define HAVE_HEIMDAL_KERBEROS 1
 
4969
_ACEOF
 
4970
 
 
4971
       ac_gss_libs="resolv crypto des crypt roken com_err asn1 krb5 gssapi"
 
4972
       ac_includedir=""
 
4973
       ac_libdir=""
 
4974
       case $sys in
 
4975
                Linux) if test "x$enableval" != "xyes" -a "x$enableval" != "x" ; then
 
4976
                         ac_libdir=$enableval/lib
 
4977
                         ac_includedir=$enableval/include
 
4978
                       else
 
4979
                         ac_libdir=`rpm -q -l  heimdal-devel 2>/dev/null | grep "/libroken" |  sed -e 's/\/libroken.*//' | head -1`
 
4980
                         ac_includedir=`rpm -q -l heimdal-devel 2>/dev/null | grep /krb5.h$ | sed -e 's/\/krb5.h//' | head -1`
 
4981
                       fi
 
4982
                       if test "x$ac_includedir" != "x" ; then
 
4983
                          CPPFLAGS="$CPPFLAGS -I$ac_includedir"
 
4984
                       else
 
4985
                         ac_gssapi_cflags=`krb5-config --cflags gssapi 2>/dev/null`
 
4986
                         if test "x$ac_gssapi_cflags" != "x" ; then
 
4987
                           CPPFLAGS="$CPPFLAGS $ac_gssapi_cflags"
 
4988
                         fi
 
4989
                       fi
 
4990
 
 
4991
 
 
4992
for ac_header in gssapi.h gssapi/gssapi.h
 
4993
do
 
4994
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4995
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4996
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4997
$as_echo_n "checking for $ac_header... " >&6; }
 
4998
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4999
  $as_echo_n "(cached) " >&6
 
5000
fi
 
5001
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5002
                 $as_echo "$as_val"'`
 
5003
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5004
$as_echo "$ac_res" >&6; }
 
5005
else
 
5006
  # Is the header compilable?
 
5007
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5008
$as_echo_n "checking $ac_header usability... " >&6; }
 
5009
cat >conftest.$ac_ext <<_ACEOF
 
5010
/* confdefs.h.  */
 
5011
_ACEOF
 
5012
cat confdefs.h >>conftest.$ac_ext
 
5013
cat >>conftest.$ac_ext <<_ACEOF
 
5014
/* end confdefs.h.  */
 
5015
$ac_includes_default
 
5016
#include <$ac_header>
 
5017
_ACEOF
 
5018
rm -f conftest.$ac_objext
 
5019
if { (ac_try="$ac_compile"
 
5020
case "(($ac_try" in
 
5021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5022
  *) ac_try_echo=$ac_try;;
 
5023
esac
 
5024
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5025
$as_echo "$ac_try_echo") >&5
 
5026
  (eval "$ac_compile") 2>conftest.er1
 
5027
  ac_status=$?
 
5028
  grep -v '^ *+' conftest.er1 >conftest.err
 
5029
  rm -f conftest.er1
 
5030
  cat conftest.err >&5
 
5031
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5032
  (exit $ac_status); } && {
 
5033
         test -z "$ac_c_werror_flag" ||
 
5034
         test ! -s conftest.err
 
5035
       } && test -s conftest.$ac_objext; then
 
5036
  ac_header_compiler=yes
 
5037
else
 
5038
  $as_echo "$as_me: failed program was:" >&5
 
5039
sed 's/^/| /' conftest.$ac_ext >&5
 
5040
 
 
5041
        ac_header_compiler=no
 
5042
fi
 
5043
 
 
5044
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5045
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5046
$as_echo "$ac_header_compiler" >&6; }
 
5047
 
 
5048
# Is the header present?
 
5049
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5050
$as_echo_n "checking $ac_header presence... " >&6; }
 
5051
cat >conftest.$ac_ext <<_ACEOF
 
5052
/* confdefs.h.  */
 
5053
_ACEOF
 
5054
cat confdefs.h >>conftest.$ac_ext
 
5055
cat >>conftest.$ac_ext <<_ACEOF
 
5056
/* end confdefs.h.  */
 
5057
#include <$ac_header>
 
5058
_ACEOF
 
5059
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5060
case "(($ac_try" in
 
5061
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5062
  *) ac_try_echo=$ac_try;;
 
5063
esac
 
5064
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5065
$as_echo "$ac_try_echo") >&5
 
5066
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5067
  ac_status=$?
 
5068
  grep -v '^ *+' conftest.er1 >conftest.err
 
5069
  rm -f conftest.er1
 
5070
  cat conftest.err >&5
 
5071
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5072
  (exit $ac_status); } >/dev/null && {
 
5073
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5074
         test ! -s conftest.err
 
5075
       }; then
 
5076
  ac_header_preproc=yes
 
5077
else
 
5078
  $as_echo "$as_me: failed program was:" >&5
 
5079
sed 's/^/| /' conftest.$ac_ext >&5
 
5080
 
 
5081
  ac_header_preproc=no
 
5082
fi
 
5083
 
 
5084
rm -f conftest.err conftest.$ac_ext
 
5085
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5086
$as_echo "$ac_header_preproc" >&6; }
 
5087
 
 
5088
# So?  What about this header?
 
5089
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
5090
  yes:no: )
 
5091
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5092
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5093
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5094
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5095
    ac_header_preproc=yes
 
5096
    ;;
 
5097
  no:yes:* )
 
5098
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5099
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5100
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5101
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5102
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5103
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5104
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5105
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5106
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5107
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5108
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5109
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5110
    ( cat <<\_ASBOX
 
5111
## -------------------------------------------- ##
 
5112
## Report this to markus_moeller@compuserve.com ##
 
5113
## -------------------------------------------- ##
 
5114
_ASBOX
 
5115
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
5116
    ;;
 
5117
esac
 
5118
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5119
$as_echo_n "checking for $ac_header... " >&6; }
 
5120
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5121
  $as_echo_n "(cached) " >&6
 
5122
else
 
5123
  eval "$as_ac_Header=\$ac_header_preproc"
 
5124
fi
 
5125
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5126
                 $as_echo "$as_val"'`
 
5127
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5128
$as_echo "$ac_res" >&6; }
 
5129
 
 
5130
fi
 
5131
if test `eval 'as_val=${'$as_ac_Header'}
 
5132
                 $as_echo "$as_val"'` = yes; then
 
5133
  cat >>confdefs.h <<_ACEOF
 
5134
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5135
_ACEOF
 
5136
 
 
5137
fi
 
5138
 
 
5139
done
 
5140
 
 
5141
                       if test "x$ac_libdir" != "x" ; then
 
5142
                         LDFLAGS="$LDFLAGS -L$ac_libdir $w_flag$ac_libdir$w_flag_2"
 
5143
                         for lib in $ac_gss_libs; do
 
5144
 
 
5145
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
5146
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
5147
$as_echo_n "checking for main in -l$lib... " >&6; }
 
5148
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
5149
  $as_echo_n "(cached) " >&6
 
5150
else
 
5151
  ac_check_lib_save_LIBS=$LIBS
 
5152
LIBS="-l$lib  $LIBS"
 
5153
cat >conftest.$ac_ext <<_ACEOF
 
5154
/* confdefs.h.  */
 
5155
_ACEOF
 
5156
cat confdefs.h >>conftest.$ac_ext
 
5157
cat >>conftest.$ac_ext <<_ACEOF
 
5158
/* end confdefs.h.  */
 
5159
 
 
5160
 
 
5161
int
 
5162
main ()
 
5163
{
 
5164
return main ();
 
5165
  ;
 
5166
  return 0;
 
5167
}
 
5168
_ACEOF
 
5169
rm -f conftest.$ac_objext conftest$ac_exeext
 
5170
if { (ac_try="$ac_link"
 
5171
case "(($ac_try" in
 
5172
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5173
  *) ac_try_echo=$ac_try;;
 
5174
esac
 
5175
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5176
$as_echo "$ac_try_echo") >&5
 
5177
  (eval "$ac_link") 2>conftest.er1
 
5178
  ac_status=$?
 
5179
  grep -v '^ *+' conftest.er1 >conftest.err
 
5180
  rm -f conftest.er1
 
5181
  cat conftest.err >&5
 
5182
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5183
  (exit $ac_status); } && {
 
5184
         test -z "$ac_c_werror_flag" ||
 
5185
         test ! -s conftest.err
 
5186
       } && test -s conftest$ac_exeext && {
 
5187
         test "$cross_compiling" = yes ||
 
5188
         $as_test_x conftest$ac_exeext
 
5189
       }; then
 
5190
  eval "$as_ac_Lib=yes"
 
5191
else
 
5192
  $as_echo "$as_me: failed program was:" >&5
 
5193
sed 's/^/| /' conftest.$ac_ext >&5
 
5194
 
 
5195
        eval "$as_ac_Lib=no"
 
5196
fi
 
5197
 
 
5198
rm -rf conftest.dSYM
 
5199
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5200
      conftest$ac_exeext conftest.$ac_ext
 
5201
LIBS=$ac_check_lib_save_LIBS
 
5202
fi
 
5203
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
5204
                 $as_echo "$as_val"'`
 
5205
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5206
$as_echo "$ac_res" >&6; }
 
5207
if test `eval 'as_val=${'$as_ac_Lib'}
 
5208
                 $as_echo "$as_val"'` = yes; then
 
5209
  cat >>confdefs.h <<_ACEOF
 
5210
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
 
5211
_ACEOF
 
5212
 
 
5213
  LIBS="-l$lib $LIBS"
 
5214
 
 
5215
fi
 
5216
 
 
5217
                         done
 
5218
                       else
 
5219
                         ac_gssapi_libs=`krb5-config --libs gssapi 2>/dev/null`
 
5220
                         if test "x$ac_gssapi_libs" != "x" ; then
 
5221
                           ac_libdir=`echo $ac_gssapi_libs | grep "\-L"`
 
5222
                           if test "x$ac_libdir" != "x" ; then
 
5223
                             ac_libdir=`echo $ac_gssapi_libs | sed -e 's/.*-L//' | sed -e 's/ .*//'`
 
5224
                             LDFLAGS="$LDFLAGS $w_flag$ac_libdir$w_flag_2"
 
5225
                           fi
 
5226
                           LDFLAGS="$LDFLAGS $ac_gssapi_libs"
 
5227
                         else
 
5228
                           for lib in $ac_gss_libs; do
 
5229
 
 
5230
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
5231
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
5232
$as_echo_n "checking for main in -l$lib... " >&6; }
 
5233
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
5234
  $as_echo_n "(cached) " >&6
 
5235
else
 
5236
  ac_check_lib_save_LIBS=$LIBS
 
5237
LIBS="-l$lib  $LIBS"
 
5238
cat >conftest.$ac_ext <<_ACEOF
 
5239
/* confdefs.h.  */
 
5240
_ACEOF
 
5241
cat confdefs.h >>conftest.$ac_ext
 
5242
cat >>conftest.$ac_ext <<_ACEOF
 
5243
/* end confdefs.h.  */
 
5244
 
 
5245
 
 
5246
int
 
5247
main ()
 
5248
{
 
5249
return main ();
 
5250
  ;
 
5251
  return 0;
 
5252
}
 
5253
_ACEOF
 
5254
rm -f conftest.$ac_objext conftest$ac_exeext
 
5255
if { (ac_try="$ac_link"
 
5256
case "(($ac_try" in
 
5257
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5258
  *) ac_try_echo=$ac_try;;
 
5259
esac
 
5260
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5261
$as_echo "$ac_try_echo") >&5
 
5262
  (eval "$ac_link") 2>conftest.er1
 
5263
  ac_status=$?
 
5264
  grep -v '^ *+' conftest.er1 >conftest.err
 
5265
  rm -f conftest.er1
 
5266
  cat conftest.err >&5
 
5267
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5268
  (exit $ac_status); } && {
 
5269
         test -z "$ac_c_werror_flag" ||
 
5270
         test ! -s conftest.err
 
5271
       } && test -s conftest$ac_exeext && {
 
5272
         test "$cross_compiling" = yes ||
 
5273
         $as_test_x conftest$ac_exeext
 
5274
       }; then
 
5275
  eval "$as_ac_Lib=yes"
 
5276
else
 
5277
  $as_echo "$as_me: failed program was:" >&5
 
5278
sed 's/^/| /' conftest.$ac_ext >&5
 
5279
 
 
5280
        eval "$as_ac_Lib=no"
 
5281
fi
 
5282
 
 
5283
rm -rf conftest.dSYM
 
5284
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5285
      conftest$ac_exeext conftest.$ac_ext
 
5286
LIBS=$ac_check_lib_save_LIBS
 
5287
fi
 
5288
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
5289
                 $as_echo "$as_val"'`
 
5290
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5291
$as_echo "$ac_res" >&6; }
 
5292
if test `eval 'as_val=${'$as_ac_Lib'}
 
5293
                 $as_echo "$as_val"'` = yes; then
 
5294
  cat >>confdefs.h <<_ACEOF
 
5295
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
 
5296
_ACEOF
 
5297
 
 
5298
  LIBS="-l$lib $LIBS"
 
5299
 
 
5300
fi
 
5301
 
 
5302
                           done
 
5303
                         fi
 
5304
                       fi
 
5305
                       ;;
 
5306
                *) if test "x$enableval" != "xyes" -a "x$enableval" != "x" ; then
 
5307
                     ac_libdir=$enableval/lib
 
5308
                     ac_includedir=$enableval/include
 
5309
                     CPPFLAGS="$CPPFLAGS -I$ac_includedir"
 
5310
 
 
5311
 
 
5312
for ac_header in gssapi.h gssapi/gssapi.h
 
5313
do
 
5314
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5315
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5316
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5317
$as_echo_n "checking for $ac_header... " >&6; }
 
5318
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5319
  $as_echo_n "(cached) " >&6
 
5320
fi
 
5321
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5322
                 $as_echo "$as_val"'`
 
5323
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5324
$as_echo "$ac_res" >&6; }
 
5325
else
 
5326
  # Is the header compilable?
 
5327
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5328
$as_echo_n "checking $ac_header usability... " >&6; }
 
5329
cat >conftest.$ac_ext <<_ACEOF
 
5330
/* confdefs.h.  */
 
5331
_ACEOF
 
5332
cat confdefs.h >>conftest.$ac_ext
 
5333
cat >>conftest.$ac_ext <<_ACEOF
 
5334
/* end confdefs.h.  */
 
5335
$ac_includes_default
 
5336
#include <$ac_header>
 
5337
_ACEOF
 
5338
rm -f conftest.$ac_objext
 
5339
if { (ac_try="$ac_compile"
 
5340
case "(($ac_try" in
 
5341
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5342
  *) ac_try_echo=$ac_try;;
 
5343
esac
 
5344
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5345
$as_echo "$ac_try_echo") >&5
 
5346
  (eval "$ac_compile") 2>conftest.er1
 
5347
  ac_status=$?
 
5348
  grep -v '^ *+' conftest.er1 >conftest.err
 
5349
  rm -f conftest.er1
 
5350
  cat conftest.err >&5
 
5351
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5352
  (exit $ac_status); } && {
 
5353
         test -z "$ac_c_werror_flag" ||
 
5354
         test ! -s conftest.err
 
5355
       } && test -s conftest.$ac_objext; then
 
5356
  ac_header_compiler=yes
 
5357
else
 
5358
  $as_echo "$as_me: failed program was:" >&5
 
5359
sed 's/^/| /' conftest.$ac_ext >&5
 
5360
 
 
5361
        ac_header_compiler=no
 
5362
fi
 
5363
 
 
5364
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5365
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5366
$as_echo "$ac_header_compiler" >&6; }
 
5367
 
 
5368
# Is the header present?
 
5369
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5370
$as_echo_n "checking $ac_header presence... " >&6; }
 
5371
cat >conftest.$ac_ext <<_ACEOF
 
5372
/* confdefs.h.  */
 
5373
_ACEOF
 
5374
cat confdefs.h >>conftest.$ac_ext
 
5375
cat >>conftest.$ac_ext <<_ACEOF
 
5376
/* end confdefs.h.  */
 
5377
#include <$ac_header>
 
5378
_ACEOF
 
5379
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5380
case "(($ac_try" in
 
5381
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5382
  *) ac_try_echo=$ac_try;;
 
5383
esac
 
5384
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5385
$as_echo "$ac_try_echo") >&5
 
5386
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5387
  ac_status=$?
 
5388
  grep -v '^ *+' conftest.er1 >conftest.err
 
5389
  rm -f conftest.er1
 
5390
  cat conftest.err >&5
 
5391
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5392
  (exit $ac_status); } >/dev/null && {
 
5393
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5394
         test ! -s conftest.err
 
5395
       }; then
 
5396
  ac_header_preproc=yes
 
5397
else
 
5398
  $as_echo "$as_me: failed program was:" >&5
 
5399
sed 's/^/| /' conftest.$ac_ext >&5
 
5400
 
 
5401
  ac_header_preproc=no
 
5402
fi
 
5403
 
 
5404
rm -f conftest.err conftest.$ac_ext
 
5405
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5406
$as_echo "$ac_header_preproc" >&6; }
 
5407
 
 
5408
# So?  What about this header?
 
5409
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
5410
  yes:no: )
 
5411
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5412
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5413
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5414
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5415
    ac_header_preproc=yes
 
5416
    ;;
 
5417
  no:yes:* )
 
5418
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5419
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5420
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5421
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5422
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5423
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5424
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5425
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5426
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5427
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5428
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5429
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5430
    ( cat <<\_ASBOX
 
5431
## -------------------------------------------- ##
 
5432
## Report this to markus_moeller@compuserve.com ##
 
5433
## -------------------------------------------- ##
 
5434
_ASBOX
 
5435
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
5436
    ;;
 
5437
esac
 
5438
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5439
$as_echo_n "checking for $ac_header... " >&6; }
 
5440
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5441
  $as_echo_n "(cached) " >&6
 
5442
else
 
5443
  eval "$as_ac_Header=\$ac_header_preproc"
 
5444
fi
 
5445
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5446
                 $as_echo "$as_val"'`
 
5447
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5448
$as_echo "$ac_res" >&6; }
 
5449
 
 
5450
fi
 
5451
if test `eval 'as_val=${'$as_ac_Header'}
 
5452
                 $as_echo "$as_val"'` = yes; then
 
5453
  cat >>confdefs.h <<_ACEOF
 
5454
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5455
_ACEOF
 
5456
 
 
5457
fi
 
5458
 
 
5459
done
 
5460
 
 
5461
                     LDFLAGS="$LDFLAGS -L$ac_libdir $w_flag$ac_libdir$w_flag_2"
 
5462
                     for lib in $ac_gss_libs; do
 
5463
 
 
5464
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
5465
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
5466
$as_echo_n "checking for main in -l$lib... " >&6; }
 
5467
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
5468
  $as_echo_n "(cached) " >&6
 
5469
else
 
5470
  ac_check_lib_save_LIBS=$LIBS
 
5471
LIBS="-l$lib  $LIBS"
 
5472
cat >conftest.$ac_ext <<_ACEOF
 
5473
/* confdefs.h.  */
 
5474
_ACEOF
 
5475
cat confdefs.h >>conftest.$ac_ext
 
5476
cat >>conftest.$ac_ext <<_ACEOF
 
5477
/* end confdefs.h.  */
 
5478
 
 
5479
 
 
5480
int
 
5481
main ()
 
5482
{
 
5483
return main ();
 
5484
  ;
 
5485
  return 0;
 
5486
}
 
5487
_ACEOF
 
5488
rm -f conftest.$ac_objext conftest$ac_exeext
 
5489
if { (ac_try="$ac_link"
 
5490
case "(($ac_try" in
 
5491
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5492
  *) ac_try_echo=$ac_try;;
 
5493
esac
 
5494
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5495
$as_echo "$ac_try_echo") >&5
 
5496
  (eval "$ac_link") 2>conftest.er1
 
5497
  ac_status=$?
 
5498
  grep -v '^ *+' conftest.er1 >conftest.err
 
5499
  rm -f conftest.er1
 
5500
  cat conftest.err >&5
 
5501
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5502
  (exit $ac_status); } && {
 
5503
         test -z "$ac_c_werror_flag" ||
 
5504
         test ! -s conftest.err
 
5505
       } && test -s conftest$ac_exeext && {
 
5506
         test "$cross_compiling" = yes ||
 
5507
         $as_test_x conftest$ac_exeext
 
5508
       }; then
 
5509
  eval "$as_ac_Lib=yes"
 
5510
else
 
5511
  $as_echo "$as_me: failed program was:" >&5
 
5512
sed 's/^/| /' conftest.$ac_ext >&5
 
5513
 
 
5514
        eval "$as_ac_Lib=no"
 
5515
fi
 
5516
 
 
5517
rm -rf conftest.dSYM
 
5518
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5519
      conftest$ac_exeext conftest.$ac_ext
 
5520
LIBS=$ac_check_lib_save_LIBS
 
5521
fi
 
5522
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
5523
                 $as_echo "$as_val"'`
 
5524
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5525
$as_echo "$ac_res" >&6; }
 
5526
if test `eval 'as_val=${'$as_ac_Lib'}
 
5527
                 $as_echo "$as_val"'` = yes; then
 
5528
  cat >>confdefs.h <<_ACEOF
 
5529
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
 
5530
_ACEOF
 
5531
 
 
5532
  LIBS="-l$lib $LIBS"
 
5533
 
 
5534
fi
 
5535
 
 
5536
                     done
 
5537
                   else
 
5538
                     ac_gssapi_cflags=`krb5-config --cflags gssapi 2>/dev/null`
 
5539
                     if test "x$ac_gssapi_cflags" != "x" ; then
 
5540
                         CPPFLAGS="$CPPFLAGS $ac_gssapi_cflags"
 
5541
                     fi
 
5542
                     ac_gssapi_libs=`krb5-config --libs gssapi 2>/dev/null`
 
5543
                     if test "x$ac_gssapi_libs" != "x" ; then
 
5544
                         ac_libdir=`echo $ac_gssapi_libs | grep "\-L"`
 
5545
                         if test "x$ac_libdir" != "x" ; then
 
5546
                           ac_libdir=`echo $ac_gssapi_libs | sed -e 's/.*-L//' | sed -e 's/ .*//'`
 
5547
                           LDFLAGS="$LDFLAGS $w_flag$ac_libdir$w_flag_2"
 
5548
                         fi
 
5549
                         LDFLAGS="$LDFLAGS $ac_gssapi_libs"
 
5550
                     else
 
5551
                         for lib in $ac_gss_libs; do
 
5552
 
 
5553
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
5554
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
5555
$as_echo_n "checking for main in -l$lib... " >&6; }
 
5556
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
5557
  $as_echo_n "(cached) " >&6
 
5558
else
 
5559
  ac_check_lib_save_LIBS=$LIBS
 
5560
LIBS="-l$lib  $LIBS"
 
5561
cat >conftest.$ac_ext <<_ACEOF
 
5562
/* confdefs.h.  */
 
5563
_ACEOF
 
5564
cat confdefs.h >>conftest.$ac_ext
 
5565
cat >>conftest.$ac_ext <<_ACEOF
 
5566
/* end confdefs.h.  */
 
5567
 
 
5568
 
 
5569
int
 
5570
main ()
 
5571
{
 
5572
return main ();
 
5573
  ;
 
5574
  return 0;
 
5575
}
 
5576
_ACEOF
 
5577
rm -f conftest.$ac_objext conftest$ac_exeext
 
5578
if { (ac_try="$ac_link"
 
5579
case "(($ac_try" in
 
5580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5581
  *) ac_try_echo=$ac_try;;
 
5582
esac
 
5583
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5584
$as_echo "$ac_try_echo") >&5
 
5585
  (eval "$ac_link") 2>conftest.er1
 
5586
  ac_status=$?
 
5587
  grep -v '^ *+' conftest.er1 >conftest.err
 
5588
  rm -f conftest.er1
 
5589
  cat conftest.err >&5
 
5590
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5591
  (exit $ac_status); } && {
 
5592
         test -z "$ac_c_werror_flag" ||
 
5593
         test ! -s conftest.err
 
5594
       } && test -s conftest$ac_exeext && {
 
5595
         test "$cross_compiling" = yes ||
 
5596
         $as_test_x conftest$ac_exeext
 
5597
       }; then
 
5598
  eval "$as_ac_Lib=yes"
 
5599
else
 
5600
  $as_echo "$as_me: failed program was:" >&5
 
5601
sed 's/^/| /' conftest.$ac_ext >&5
 
5602
 
 
5603
        eval "$as_ac_Lib=no"
 
5604
fi
 
5605
 
 
5606
rm -rf conftest.dSYM
 
5607
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5608
      conftest$ac_exeext conftest.$ac_ext
 
5609
LIBS=$ac_check_lib_save_LIBS
 
5610
fi
 
5611
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
5612
                 $as_echo "$as_val"'`
 
5613
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5614
$as_echo "$ac_res" >&6; }
 
5615
if test `eval 'as_val=${'$as_ac_Lib'}
 
5616
                 $as_echo "$as_val"'` = yes; then
 
5617
  cat >>confdefs.h <<_ACEOF
 
5618
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
 
5619
_ACEOF
 
5620
 
 
5621
  LIBS="-l$lib $LIBS"
 
5622
 
 
5623
fi
 
5624
 
 
5625
                         done
 
5626
                     fi
 
5627
 
 
5628
 
 
5629
for ac_header in gssapi.h gssapi/gssapi.h
 
5630
do
 
5631
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5632
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5633
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5634
$as_echo_n "checking for $ac_header... " >&6; }
 
5635
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5636
  $as_echo_n "(cached) " >&6
 
5637
fi
 
5638
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5639
                 $as_echo "$as_val"'`
 
5640
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5641
$as_echo "$ac_res" >&6; }
 
5642
else
 
5643
  # Is the header compilable?
 
5644
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5645
$as_echo_n "checking $ac_header usability... " >&6; }
 
5646
cat >conftest.$ac_ext <<_ACEOF
 
5647
/* confdefs.h.  */
 
5648
_ACEOF
 
5649
cat confdefs.h >>conftest.$ac_ext
 
5650
cat >>conftest.$ac_ext <<_ACEOF
 
5651
/* end confdefs.h.  */
 
5652
$ac_includes_default
 
5653
#include <$ac_header>
 
5654
_ACEOF
 
5655
rm -f conftest.$ac_objext
 
5656
if { (ac_try="$ac_compile"
 
5657
case "(($ac_try" in
 
5658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5659
  *) ac_try_echo=$ac_try;;
 
5660
esac
 
5661
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5662
$as_echo "$ac_try_echo") >&5
 
5663
  (eval "$ac_compile") 2>conftest.er1
 
5664
  ac_status=$?
 
5665
  grep -v '^ *+' conftest.er1 >conftest.err
 
5666
  rm -f conftest.er1
 
5667
  cat conftest.err >&5
 
5668
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5669
  (exit $ac_status); } && {
 
5670
         test -z "$ac_c_werror_flag" ||
 
5671
         test ! -s conftest.err
 
5672
       } && test -s conftest.$ac_objext; then
 
5673
  ac_header_compiler=yes
 
5674
else
 
5675
  $as_echo "$as_me: failed program was:" >&5
 
5676
sed 's/^/| /' conftest.$ac_ext >&5
 
5677
 
 
5678
        ac_header_compiler=no
 
5679
fi
 
5680
 
 
5681
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5682
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5683
$as_echo "$ac_header_compiler" >&6; }
 
5684
 
 
5685
# Is the header present?
 
5686
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5687
$as_echo_n "checking $ac_header presence... " >&6; }
 
5688
cat >conftest.$ac_ext <<_ACEOF
 
5689
/* confdefs.h.  */
 
5690
_ACEOF
 
5691
cat confdefs.h >>conftest.$ac_ext
 
5692
cat >>conftest.$ac_ext <<_ACEOF
 
5693
/* end confdefs.h.  */
 
5694
#include <$ac_header>
 
5695
_ACEOF
 
5696
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5697
case "(($ac_try" in
 
5698
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5699
  *) ac_try_echo=$ac_try;;
 
5700
esac
 
5701
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5702
$as_echo "$ac_try_echo") >&5
 
5703
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5704
  ac_status=$?
 
5705
  grep -v '^ *+' conftest.er1 >conftest.err
 
5706
  rm -f conftest.er1
 
5707
  cat conftest.err >&5
 
5708
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5709
  (exit $ac_status); } >/dev/null && {
 
5710
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5711
         test ! -s conftest.err
 
5712
       }; then
 
5713
  ac_header_preproc=yes
 
5714
else
 
5715
  $as_echo "$as_me: failed program was:" >&5
 
5716
sed 's/^/| /' conftest.$ac_ext >&5
 
5717
 
 
5718
  ac_header_preproc=no
 
5719
fi
 
5720
 
 
5721
rm -f conftest.err conftest.$ac_ext
 
5722
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5723
$as_echo "$ac_header_preproc" >&6; }
 
5724
 
 
5725
# So?  What about this header?
 
5726
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
5727
  yes:no: )
 
5728
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5729
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5730
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5731
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5732
    ac_header_preproc=yes
 
5733
    ;;
 
5734
  no:yes:* )
 
5735
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5736
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5737
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5738
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5739
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5740
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5741
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5742
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5743
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5744
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5745
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5746
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5747
    ( cat <<\_ASBOX
 
5748
## -------------------------------------------- ##
 
5749
## Report this to markus_moeller@compuserve.com ##
 
5750
## -------------------------------------------- ##
 
5751
_ASBOX
 
5752
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
5753
    ;;
 
5754
esac
 
5755
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5756
$as_echo_n "checking for $ac_header... " >&6; }
 
5757
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5758
  $as_echo_n "(cached) " >&6
 
5759
else
 
5760
  eval "$as_ac_Header=\$ac_header_preproc"
 
5761
fi
 
5762
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5763
                 $as_echo "$as_val"'`
 
5764
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5765
$as_echo "$ac_res" >&6; }
 
5766
 
 
5767
fi
 
5768
if test `eval 'as_val=${'$as_ac_Header'}
 
5769
                 $as_echo "$as_val"'` = yes; then
 
5770
  cat >>confdefs.h <<_ACEOF
 
5771
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5772
_ACEOF
 
5773
 
 
5774
fi
 
5775
 
 
5776
done
 
5777
 
 
5778
                   fi
 
5779
                   ;;
 
5780
       esac
 
5781
       enable_arg="heimdal"
 
5782
}
 
5783
check_nas(){
 
5784
 
 
5785
cat >>confdefs.h <<\_ACEOF
 
5786
#define HAVE_NAS_KERBEROS 1
 
5787
_ACEOF
 
5788
 
 
5789
 
 
5790
 
 
5791
 
 
5792
 
 
5793
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
 
5794
do
 
5795
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5796
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5797
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5798
$as_echo_n "checking for $ac_header... " >&6; }
 
5799
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5800
  $as_echo_n "(cached) " >&6
 
5801
fi
 
5802
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5803
                 $as_echo "$as_val"'`
 
5804
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5805
$as_echo "$ac_res" >&6; }
 
5806
else
 
5807
  # Is the header compilable?
 
5808
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5809
$as_echo_n "checking $ac_header usability... " >&6; }
 
5810
cat >conftest.$ac_ext <<_ACEOF
 
5811
/* confdefs.h.  */
 
5812
_ACEOF
 
5813
cat confdefs.h >>conftest.$ac_ext
 
5814
cat >>conftest.$ac_ext <<_ACEOF
 
5815
/* end confdefs.h.  */
 
5816
$ac_includes_default
 
5817
#include <$ac_header>
 
5818
_ACEOF
 
5819
rm -f conftest.$ac_objext
 
5820
if { (ac_try="$ac_compile"
 
5821
case "(($ac_try" in
 
5822
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5823
  *) ac_try_echo=$ac_try;;
 
5824
esac
 
5825
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5826
$as_echo "$ac_try_echo") >&5
 
5827
  (eval "$ac_compile") 2>conftest.er1
 
5828
  ac_status=$?
 
5829
  grep -v '^ *+' conftest.er1 >conftest.err
 
5830
  rm -f conftest.er1
 
5831
  cat conftest.err >&5
 
5832
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5833
  (exit $ac_status); } && {
 
5834
         test -z "$ac_c_werror_flag" ||
 
5835
         test ! -s conftest.err
 
5836
       } && test -s conftest.$ac_objext; then
 
5837
  ac_header_compiler=yes
 
5838
else
 
5839
  $as_echo "$as_me: failed program was:" >&5
 
5840
sed 's/^/| /' conftest.$ac_ext >&5
 
5841
 
 
5842
        ac_header_compiler=no
 
5843
fi
 
5844
 
 
5845
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5846
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5847
$as_echo "$ac_header_compiler" >&6; }
 
5848
 
 
5849
# Is the header present?
 
5850
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5851
$as_echo_n "checking $ac_header presence... " >&6; }
 
5852
cat >conftest.$ac_ext <<_ACEOF
 
5853
/* confdefs.h.  */
 
5854
_ACEOF
 
5855
cat confdefs.h >>conftest.$ac_ext
 
5856
cat >>conftest.$ac_ext <<_ACEOF
 
5857
/* end confdefs.h.  */
 
5858
#include <$ac_header>
 
5859
_ACEOF
 
5860
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5861
case "(($ac_try" in
 
5862
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5863
  *) ac_try_echo=$ac_try;;
 
5864
esac
 
5865
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5866
$as_echo "$ac_try_echo") >&5
 
5867
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5868
  ac_status=$?
 
5869
  grep -v '^ *+' conftest.er1 >conftest.err
 
5870
  rm -f conftest.er1
 
5871
  cat conftest.err >&5
 
5872
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5873
  (exit $ac_status); } >/dev/null && {
 
5874
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5875
         test ! -s conftest.err
 
5876
       }; then
 
5877
  ac_header_preproc=yes
 
5878
else
 
5879
  $as_echo "$as_me: failed program was:" >&5
 
5880
sed 's/^/| /' conftest.$ac_ext >&5
 
5881
 
 
5882
  ac_header_preproc=no
 
5883
fi
 
5884
 
 
5885
rm -f conftest.err conftest.$ac_ext
 
5886
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5887
$as_echo "$ac_header_preproc" >&6; }
 
5888
 
 
5889
# So?  What about this header?
 
5890
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
5891
  yes:no: )
 
5892
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5893
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5894
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5895
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5896
    ac_header_preproc=yes
 
5897
    ;;
 
5898
  no:yes:* )
 
5899
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5900
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5901
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5902
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5903
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5904
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5905
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5906
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5907
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5908
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5909
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5910
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5911
    ( cat <<\_ASBOX
 
5912
## -------------------------------------------- ##
 
5913
## Report this to markus_moeller@compuserve.com ##
 
5914
## -------------------------------------------- ##
 
5915
_ASBOX
 
5916
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
5917
    ;;
 
5918
esac
 
5919
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5920
$as_echo_n "checking for $ac_header... " >&6; }
 
5921
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5922
  $as_echo_n "(cached) " >&6
 
5923
else
 
5924
  eval "$as_ac_Header=\$ac_header_preproc"
 
5925
fi
 
5926
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5927
                 $as_echo "$as_val"'`
 
5928
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5929
$as_echo "$ac_res" >&6; }
 
5930
 
 
5931
fi
 
5932
if test `eval 'as_val=${'$as_ac_Header'}
 
5933
                 $as_echo "$as_val"'` = yes; then
 
5934
  cat >>confdefs.h <<_ACEOF
 
5935
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5936
_ACEOF
 
5937
 
 
5938
fi
 
5939
 
 
5940
done
 
5941
 
 
5942
       LDFLAGS="$LDFLAGS -L/usr/lib"
 
5943
       ac_gss_libs="krb5 gssapi_krb5 ksvc";
 
5944
       for lib in $ac_gss_libs; do
 
5945
 
 
5946
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
5947
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
5948
$as_echo_n "checking for main in -l$lib... " >&6; }
 
5949
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
5950
  $as_echo_n "(cached) " >&6
 
5951
else
 
5952
  ac_check_lib_save_LIBS=$LIBS
 
5953
LIBS="-l$lib  $LIBS"
 
5954
cat >conftest.$ac_ext <<_ACEOF
 
5955
/* confdefs.h.  */
 
5956
_ACEOF
 
5957
cat confdefs.h >>conftest.$ac_ext
 
5958
cat >>conftest.$ac_ext <<_ACEOF
 
5959
/* end confdefs.h.  */
 
5960
 
 
5961
 
 
5962
int
 
5963
main ()
 
5964
{
 
5965
return main ();
 
5966
  ;
 
5967
  return 0;
 
5968
}
 
5969
_ACEOF
 
5970
rm -f conftest.$ac_objext conftest$ac_exeext
 
5971
if { (ac_try="$ac_link"
 
5972
case "(($ac_try" in
 
5973
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5974
  *) ac_try_echo=$ac_try;;
 
5975
esac
 
5976
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5977
$as_echo "$ac_try_echo") >&5
 
5978
  (eval "$ac_link") 2>conftest.er1
 
5979
  ac_status=$?
 
5980
  grep -v '^ *+' conftest.er1 >conftest.err
 
5981
  rm -f conftest.er1
 
5982
  cat conftest.err >&5
 
5983
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5984
  (exit $ac_status); } && {
 
5985
         test -z "$ac_c_werror_flag" ||
 
5986
         test ! -s conftest.err
 
5987
       } && test -s conftest$ac_exeext && {
 
5988
         test "$cross_compiling" = yes ||
 
5989
         $as_test_x conftest$ac_exeext
 
5990
       }; then
 
5991
  eval "$as_ac_Lib=yes"
 
5992
else
 
5993
  $as_echo "$as_me: failed program was:" >&5
 
5994
sed 's/^/| /' conftest.$ac_ext >&5
 
5995
 
 
5996
        eval "$as_ac_Lib=no"
 
5997
fi
 
5998
 
 
5999
rm -rf conftest.dSYM
 
6000
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6001
      conftest$ac_exeext conftest.$ac_ext
 
6002
LIBS=$ac_check_lib_save_LIBS
 
6003
fi
 
6004
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
6005
                 $as_echo "$as_val"'`
 
6006
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6007
$as_echo "$ac_res" >&6; }
 
6008
if test `eval 'as_val=${'$as_ac_Lib'}
 
6009
                 $as_echo "$as_val"'` = yes; then
 
6010
  cat >>confdefs.h <<_ACEOF
 
6011
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
 
6012
_ACEOF
 
6013
 
 
6014
  LIBS="-l$lib $LIBS"
 
6015
 
 
6016
fi
 
6017
 
 
6018
       done
 
6019
       enable_arg="nas"
 
6020
}
 
6021
 
 
6022
check_seam_64(){
 
6023
       SPARCV9s="/sparcv9"
 
6024
       check_seam
 
6025
       enable_arg="seam64"
 
6026
}
 
6027
 
 
6028
check_seam(){
 
6029
 
 
6030
cat >>confdefs.h <<\_ACEOF
 
6031
#define HAVE_SEAM_KERBEROS 1
 
6032
_ACEOF
 
6033
 
 
6034
 
 
6035
 
 
6036
 
 
6037
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_ext.h
 
6038
do
 
6039
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6040
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6041
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6042
$as_echo_n "checking for $ac_header... " >&6; }
 
6043
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6044
  $as_echo_n "(cached) " >&6
 
6045
fi
 
6046
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6047
                 $as_echo "$as_val"'`
 
6048
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6049
$as_echo "$ac_res" >&6; }
 
6050
else
 
6051
  # Is the header compilable?
 
6052
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
6053
$as_echo_n "checking $ac_header usability... " >&6; }
 
6054
cat >conftest.$ac_ext <<_ACEOF
 
6055
/* confdefs.h.  */
 
6056
_ACEOF
 
6057
cat confdefs.h >>conftest.$ac_ext
 
6058
cat >>conftest.$ac_ext <<_ACEOF
 
6059
/* end confdefs.h.  */
 
6060
$ac_includes_default
 
6061
#include <$ac_header>
 
6062
_ACEOF
 
6063
rm -f conftest.$ac_objext
 
6064
if { (ac_try="$ac_compile"
 
6065
case "(($ac_try" in
 
6066
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6067
  *) ac_try_echo=$ac_try;;
 
6068
esac
 
6069
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6070
$as_echo "$ac_try_echo") >&5
 
6071
  (eval "$ac_compile") 2>conftest.er1
 
6072
  ac_status=$?
 
6073
  grep -v '^ *+' conftest.er1 >conftest.err
 
6074
  rm -f conftest.er1
 
6075
  cat conftest.err >&5
 
6076
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6077
  (exit $ac_status); } && {
 
6078
         test -z "$ac_c_werror_flag" ||
 
6079
         test ! -s conftest.err
 
6080
       } && test -s conftest.$ac_objext; then
 
6081
  ac_header_compiler=yes
 
6082
else
 
6083
  $as_echo "$as_me: failed program was:" >&5
 
6084
sed 's/^/| /' conftest.$ac_ext >&5
 
6085
 
 
6086
        ac_header_compiler=no
 
6087
fi
 
6088
 
 
6089
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6090
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6091
$as_echo "$ac_header_compiler" >&6; }
 
6092
 
 
6093
# Is the header present?
 
6094
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
6095
$as_echo_n "checking $ac_header presence... " >&6; }
 
6096
cat >conftest.$ac_ext <<_ACEOF
 
6097
/* confdefs.h.  */
 
6098
_ACEOF
 
6099
cat confdefs.h >>conftest.$ac_ext
 
6100
cat >>conftest.$ac_ext <<_ACEOF
 
6101
/* end confdefs.h.  */
 
6102
#include <$ac_header>
 
6103
_ACEOF
 
6104
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6105
case "(($ac_try" in
 
6106
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6107
  *) ac_try_echo=$ac_try;;
 
6108
esac
 
6109
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6110
$as_echo "$ac_try_echo") >&5
 
6111
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6112
  ac_status=$?
 
6113
  grep -v '^ *+' conftest.er1 >conftest.err
 
6114
  rm -f conftest.er1
 
6115
  cat conftest.err >&5
 
6116
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6117
  (exit $ac_status); } >/dev/null && {
 
6118
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6119
         test ! -s conftest.err
 
6120
       }; then
 
6121
  ac_header_preproc=yes
 
6122
else
 
6123
  $as_echo "$as_me: failed program was:" >&5
 
6124
sed 's/^/| /' conftest.$ac_ext >&5
 
6125
 
 
6126
  ac_header_preproc=no
 
6127
fi
 
6128
 
 
6129
rm -f conftest.err conftest.$ac_ext
 
6130
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6131
$as_echo "$ac_header_preproc" >&6; }
 
6132
 
 
6133
# So?  What about this header?
 
6134
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
6135
  yes:no: )
 
6136
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
6137
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
6138
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
6139
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
6140
    ac_header_preproc=yes
 
6141
    ;;
 
6142
  no:yes:* )
 
6143
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
6144
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
6145
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
6146
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
6147
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
6148
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
6149
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
6150
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
6151
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
6152
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
6153
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
6154
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
6155
    ( cat <<\_ASBOX
 
6156
## -------------------------------------------- ##
 
6157
## Report this to markus_moeller@compuserve.com ##
 
6158
## -------------------------------------------- ##
 
6159
_ASBOX
 
6160
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
6161
    ;;
 
6162
esac
 
6163
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6164
$as_echo_n "checking for $ac_header... " >&6; }
 
6165
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6166
  $as_echo_n "(cached) " >&6
 
6167
else
 
6168
  eval "$as_ac_Header=\$ac_header_preproc"
 
6169
fi
 
6170
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6171
                 $as_echo "$as_val"'`
 
6172
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6173
$as_echo "$ac_res" >&6; }
 
6174
 
 
6175
fi
 
6176
if test `eval 'as_val=${'$as_ac_Header'}
 
6177
                 $as_echo "$as_val"'` = yes; then
 
6178
  cat >>confdefs.h <<_ACEOF
 
6179
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6180
_ACEOF
 
6181
 
 
6182
fi
 
6183
 
 
6184
done
 
6185
 
 
6186
       ac_sol_libs="nsl socket resolv gss"
 
6187
       for lib in $ac_sol_libs; do
 
6188
 
 
6189
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
 
6190
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
 
6191
$as_echo_n "checking for main in -l$lib... " >&6; }
 
6192
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
6193
  $as_echo_n "(cached) " >&6
 
6194
else
 
6195
  ac_check_lib_save_LIBS=$LIBS
 
6196
LIBS="-l$lib  $LIBS"
 
6197
cat >conftest.$ac_ext <<_ACEOF
 
6198
/* confdefs.h.  */
 
6199
_ACEOF
 
6200
cat confdefs.h >>conftest.$ac_ext
 
6201
cat >>conftest.$ac_ext <<_ACEOF
 
6202
/* end confdefs.h.  */
 
6203
 
 
6204
 
 
6205
int
 
6206
main ()
 
6207
{
 
6208
return main ();
 
6209
  ;
 
6210
  return 0;
 
6211
}
 
6212
_ACEOF
 
6213
rm -f conftest.$ac_objext conftest$ac_exeext
 
6214
if { (ac_try="$ac_link"
 
6215
case "(($ac_try" in
 
6216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6217
  *) ac_try_echo=$ac_try;;
 
6218
esac
 
6219
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6220
$as_echo "$ac_try_echo") >&5
 
6221
  (eval "$ac_link") 2>conftest.er1
 
6222
  ac_status=$?
 
6223
  grep -v '^ *+' conftest.er1 >conftest.err
 
6224
  rm -f conftest.er1
 
6225
  cat conftest.err >&5
 
6226
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6227
  (exit $ac_status); } && {
 
6228
         test -z "$ac_c_werror_flag" ||
 
6229
         test ! -s conftest.err
 
6230
       } && test -s conftest$ac_exeext && {
 
6231
         test "$cross_compiling" = yes ||
 
6232
         $as_test_x conftest$ac_exeext
 
6233
       }; then
 
6234
  eval "$as_ac_Lib=yes"
 
6235
else
 
6236
  $as_echo "$as_me: failed program was:" >&5
 
6237
sed 's/^/| /' conftest.$ac_ext >&5
 
6238
 
 
6239
        eval "$as_ac_Lib=no"
 
6240
fi
 
6241
 
 
6242
rm -rf conftest.dSYM
 
6243
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6244
      conftest$ac_exeext conftest.$ac_ext
 
6245
LIBS=$ac_check_lib_save_LIBS
 
6246
fi
 
6247
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
6248
                 $as_echo "$as_val"'`
 
6249
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6250
$as_echo "$ac_res" >&6; }
 
6251
if test `eval 'as_val=${'$as_ac_Lib'}
 
6252
                 $as_echo "$as_val"'` = yes; then
 
6253
  cat >>confdefs.h <<_ACEOF
 
6254
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
 
6255
_ACEOF
 
6256
 
 
6257
  LIBS="-l$lib $LIBS"
 
6258
 
 
6259
fi
 
6260
 
 
6261
       done
 
6262
       enable_arg="seam"
 
6263
}
 
6264
 
 
6265
# Check whether --enable-mit was given.
 
6266
if test "${enable_mit+set}" = set; then
 
6267
  enableval=$enable_mit;
 
6268
    if test "x$enableval" != "xno" ; then
 
6269
       check_mit
 
6270
    fi
 
6271
fi
 
6272
 
 
6273
 
 
6274
# Check whether --enable-heimdal was given.
 
6275
if test "${enable_heimdal+set}" = set; then
 
6276
  enableval=$enable_heimdal;
 
6277
    if test "x$enableval" != "xno" ; then
 
6278
       check_heimdal
 
6279
    fi
 
6280
fi
 
6281
 
 
6282
 
 
6283
# Check whether --enable-nas was given.
 
6284
if test "${enable_nas+set}" = set; then
 
6285
  enableval=$enable_nas;
 
6286
    if test "x$enableval" != "xno" ; then
 
6287
       check_nas
 
6288
    fi
 
6289
fi
 
6290
 
 
6291
 
 
6292
# Check whether --enable-seam was given.
 
6293
if test "${enable_seam+set}" = set; then
 
6294
  enableval=$enable_seam;
 
6295
    if test "x$enableval" != "xno" ; then
 
6296
       check_seam
 
6297
    fi
 
6298
fi
 
6299
 
 
6300
 
 
6301
# Check whether --enable-seam-64 was given.
 
6302
if test "${enable_seam_64+set}" = set; then
 
6303
  enableval=$enable_seam_64;
 
6304
    if test "x$enableval" != "xno" ; then
 
6305
       check_seam_64
 
6306
    fi
 
6307
fi
 
6308
 
 
6309
 
 
6310
if test "$enable_arg" = "no"; then
 
6311
      # Extract the first word of "krb5-config", so it can be a program name with args.
 
6312
set dummy krb5-config; ac_word=$2
 
6313
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6314
$as_echo_n "checking for $ac_word... " >&6; }
 
6315
if test "${ac_cv_prog_ac_krb5_config+set}" = set; then
 
6316
  $as_echo_n "(cached) " >&6
 
6317
else
 
6318
  if test -n "$ac_krb5_config"; then
 
6319
  ac_cv_prog_ac_krb5_config="$ac_krb5_config" # Let the user override the test.
 
6320
else
 
6321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6322
for as_dir in $PATH
 
6323
do
 
6324
  IFS=$as_save_IFS
 
6325
  test -z "$as_dir" && as_dir=.
 
6326
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6327
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6328
    ac_cv_prog_ac_krb5_config="yes"
 
6329
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6330
    break 2
 
6331
  fi
 
6332
done
 
6333
done
 
6334
IFS=$as_save_IFS
 
6335
 
 
6336
  test -z "$ac_cv_prog_ac_krb5_config" && ac_cv_prog_ac_krb5_config="no"
 
6337
fi
 
6338
fi
 
6339
ac_krb5_config=$ac_cv_prog_ac_krb5_config
 
6340
if test -n "$ac_krb5_config"; then
 
6341
  { $as_echo "$as_me:$LINENO: result: $ac_krb5_config" >&5
 
6342
$as_echo "$ac_krb5_config" >&6; }
 
6343
else
 
6344
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6345
$as_echo "no" >&6; }
 
6346
fi
 
6347
 
 
6348
 
 
6349
  case $sys in
 
6350
           Linux) rpm -q heimdal-lib >/dev/null 2>&1
 
6351
                  if test $? = 0 ; then
 
6352
                    check_heimdal
 
6353
                  else
 
6354
                    check_mit
 
6355
                  fi
 
6356
                  ;;
 
6357
           AIX)   lslpp -L krb5.client.rte >/dev/null 2>&1
 
6358
                  if test $? = 0 ; then
 
6359
                    check_nas
 
6360
                  else
 
6361
                    check_mit
 
6362
                  fi
 
6363
                  ;;
 
6364
           SunOS) pkginfo SUNWgss >/dev/null 2>&1
 
6365
                  if test $? = 0 ; then
 
6366
                    check_seam
 
6367
                  else
 
6368
                    check_mit
 
6369
                  fi
 
6370
                  ;;
 
6371
           FreeBSD) check_heimdal
 
6372
                    ;;
 
6373
           *) check_mit
 
6374
              ;;
 
6375
  esac
 
6376
fi
 
6377
 
 
6378
old_LIBS=$LIBS
 
6379
{ $as_echo "$as_me:$LINENO: checking for SPNEGO support" >&5
 
6380
$as_echo_n "checking for SPNEGO support... " >&6; }
 
6381
if test "${ac_cv_have_spnego+set}" = set; then
 
6382
  $as_echo_n "(cached) " >&6
 
6383
else
 
6384
 
 
6385
  if test "$cross_compiling" = yes; then
 
6386
  { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 
6387
See \`config.log' for more details." >&5
 
6388
$as_echo "$as_me: error: cannot run test program while cross compiling
 
6389
See \`config.log' for more details." >&2;}
 
6390
   { (exit 1); exit 1; }; }
 
6391
else
 
6392
  cat >conftest.$ac_ext <<_ACEOF
 
6393
/* confdefs.h.  */
 
6394
_ACEOF
 
6395
cat confdefs.h >>conftest.$ac_ext
 
6396
cat >>conftest.$ac_ext <<_ACEOF
 
6397
/* end confdefs.h.  */
 
6398
 
 
6399
#ifdef HAVE_HEIMDAL_KERBEROS
 
6400
#ifdef HAVE_GSSAPI_GSSAPI_H
 
6401
#include <gssapi/gssapi.h>
 
6402
#elif defined(HAVE_GSSAPI_H)
 
6403
#include <gssapi.h>
 
6404
#endif
 
6405
#else
 
6406
#ifdef HAVE_SEAM_KERBEROS
 
6407
#ifdef HAVE_GSSAPI_GSSAPI_H
 
6408
#include <gssapi/gssapi.h>
 
6409
#elif defined(HAVE_GSSAPI_H)
 
6410
#include <gssapi.h>
 
6411
#endif
 
6412
#ifdef HAVE_GSSAPI_GSSAPI_EXT_H
 
6413
#include <gssapi/gssapi_ext.h>
 
6414
#endif
 
6415
#else /*MIT*/
 
6416
#ifdef HAVE_GSSAPI_GSSAPI_H
 
6417
#include <gssapi/gssapi.h>
 
6418
#elif defined(HAVE_GSSAPI_H)
 
6419
#include <gssapi.h>
 
6420
#endif
 
6421
#ifdef HAVE_GSSAPI_GSSAPI_KRB5_H
 
6422
#include <gssapi/gssapi_krb5.h>
 
6423
#endif
 
6424
#ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H
 
6425
#include <gssapi/gssapi_generic.h>
 
6426
#endif
 
6427
#endif
 
6428
#endif
 
6429
 
 
6430
int main(int argc, char *argv[]) {
 
6431
 OM_uint32 major_status,minor_status;
 
6432
 gss_OID_set gss_mech_set;
 
6433
 int i;
 
6434
 
 
6435
static gss_OID_desc _gss_mech_spnego  = {6, (void *)"\x2b\x06\x01\x05\x05\x02"};
 
6436
gss_OID gss_mech_spnego = &_gss_mech_spnego;
 
6437
 
 
6438
 major_status = gss_indicate_mechs( &minor_status, &gss_mech_set);
 
6439
 
 
6440
 for (i=0;i<gss_mech_set->count;i++) {
 
6441
     if (!memcmp(gss_mech_set->elements[i].elements,gss_mech_spnego->elements,gss_mech_set->elements[i].length)) {
 
6442
        return 0;
 
6443
     }
 
6444
 }
 
6445
 
 
6446
 return 1;
 
6447
}
 
6448
_ACEOF
 
6449
rm -f conftest$ac_exeext
 
6450
if { (ac_try="$ac_link"
 
6451
case "(($ac_try" in
 
6452
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6453
  *) ac_try_echo=$ac_try;;
 
6454
esac
 
6455
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6456
$as_echo "$ac_try_echo") >&5
 
6457
  (eval "$ac_link") 2>&5
 
6458
  ac_status=$?
 
6459
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6460
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
6461
  { (case "(($ac_try" in
 
6462
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6463
  *) ac_try_echo=$ac_try;;
 
6464
esac
 
6465
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6466
$as_echo "$ac_try_echo") >&5
 
6467
  (eval "$ac_try") 2>&5
 
6468
  ac_status=$?
 
6469
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6470
  (exit $ac_status); }; }; then
 
6471
  ac_cv_have_spnego=yes
 
6472
else
 
6473
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
6474
$as_echo "$as_me: failed program was:" >&5
 
6475
sed 's/^/| /' conftest.$ac_ext >&5
 
6476
 
 
6477
( exit $ac_status )
 
6478
ac_cv_have_spnego=no
 
6479
fi
 
6480
rm -rf conftest.dSYM
 
6481
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6482
fi
 
6483
 
 
6484
 
 
6485
fi
 
6486
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_spnego" >&5
 
6487
$as_echo "$ac_cv_have_spnego" >&6; }
 
6488
if test x"$ac_cv_have_spnego" = x"yes"; then
 
6489
 
 
6490
cat >>confdefs.h <<\_ACEOF
 
6491
#define HAVE_SPNEGO 1
 
6492
_ACEOF
 
6493
 
 
6494
fi
 
6495
LIBS=$old_LIBS
 
6496
 
 
6497
 
 
6498
 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
6499
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
 
6500
if test "${ac_cv_c_bigendian+set}" = set; then
 
6501
  $as_echo_n "(cached) " >&6
 
6502
else
 
6503
  ac_cv_c_bigendian=unknown
 
6504
 
 
6505
    if test $ac_cv_c_bigendian = unknown; then
 
6506
      # See if sys/param.h defines the BYTE_ORDER macro.
 
6507
      cat >conftest.$ac_ext <<_ACEOF
 
6508
/* confdefs.h.  */
 
6509
_ACEOF
 
6510
cat confdefs.h >>conftest.$ac_ext
 
6511
cat >>conftest.$ac_ext <<_ACEOF
 
6512
/* end confdefs.h.  */
 
6513
#include <sys/types.h>
 
6514
             #include <sys/param.h>
 
6515
 
 
6516
int
 
6517
main ()
 
6518
{
 
6519
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 
6520
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 
6521
                     && LITTLE_ENDIAN)
 
6522
              bogus endian macros
 
6523
             #endif
 
6524
 
 
6525
  ;
 
6526
  return 0;
 
6527
}
 
6528
_ACEOF
 
6529
rm -f conftest.$ac_objext
 
6530
if { (ac_try="$ac_compile"
 
6531
case "(($ac_try" in
 
6532
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6533
  *) ac_try_echo=$ac_try;;
 
6534
esac
 
6535
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6536
$as_echo "$ac_try_echo") >&5
 
6537
  (eval "$ac_compile") 2>conftest.er1
 
6538
  ac_status=$?
 
6539
  grep -v '^ *+' conftest.er1 >conftest.err
 
6540
  rm -f conftest.er1
 
6541
  cat conftest.err >&5
 
6542
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6543
  (exit $ac_status); } && {
 
6544
         test -z "$ac_c_werror_flag" ||
 
6545
         test ! -s conftest.err
 
6546
       } && test -s conftest.$ac_objext; then
 
6547
  # It does; now see whether it defined to BIG_ENDIAN or not.
 
6548
         cat >conftest.$ac_ext <<_ACEOF
 
6549
/* confdefs.h.  */
 
6550
_ACEOF
 
6551
cat confdefs.h >>conftest.$ac_ext
 
6552
cat >>conftest.$ac_ext <<_ACEOF
 
6553
/* end confdefs.h.  */
 
6554
#include <sys/types.h>
 
6555
                #include <sys/param.h>
 
6556
 
 
6557
int
 
6558
main ()
 
6559
{
 
6560
#if BYTE_ORDER != BIG_ENDIAN
 
6561
                 not big endian
 
6562
                #endif
 
6563
 
 
6564
  ;
 
6565
  return 0;
 
6566
}
 
6567
_ACEOF
 
6568
rm -f conftest.$ac_objext
 
6569
if { (ac_try="$ac_compile"
 
6570
case "(($ac_try" in
 
6571
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6572
  *) ac_try_echo=$ac_try;;
 
6573
esac
 
6574
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6575
$as_echo "$ac_try_echo") >&5
 
6576
  (eval "$ac_compile") 2>conftest.er1
 
6577
  ac_status=$?
 
6578
  grep -v '^ *+' conftest.er1 >conftest.err
 
6579
  rm -f conftest.er1
 
6580
  cat conftest.err >&5
 
6581
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6582
  (exit $ac_status); } && {
 
6583
         test -z "$ac_c_werror_flag" ||
 
6584
         test ! -s conftest.err
 
6585
       } && test -s conftest.$ac_objext; then
 
6586
  ac_cv_c_bigendian=yes
 
6587
else
 
6588
  $as_echo "$as_me: failed program was:" >&5
 
6589
sed 's/^/| /' conftest.$ac_ext >&5
 
6590
 
 
6591
        ac_cv_c_bigendian=no
 
6592
fi
 
6593
 
 
6594
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6595
else
 
6596
  $as_echo "$as_me: failed program was:" >&5
 
6597
sed 's/^/| /' conftest.$ac_ext >&5
 
6598
 
 
6599
 
 
6600
fi
 
6601
 
 
6602
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6603
    fi
 
6604
    if test $ac_cv_c_bigendian = unknown; then
 
6605
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 
6606
      cat >conftest.$ac_ext <<_ACEOF
 
6607
/* confdefs.h.  */
 
6608
_ACEOF
 
6609
cat confdefs.h >>conftest.$ac_ext
 
6610
cat >>conftest.$ac_ext <<_ACEOF
 
6611
/* end confdefs.h.  */
 
6612
#include <limits.h>
 
6613
 
 
6614
int
 
6615
main ()
 
6616
{
 
6617
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 
6618
              bogus endian macros
 
6619
             #endif
 
6620
 
 
6621
  ;
 
6622
  return 0;
 
6623
}
 
6624
_ACEOF
 
6625
rm -f conftest.$ac_objext
 
6626
if { (ac_try="$ac_compile"
 
6627
case "(($ac_try" in
 
6628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6629
  *) ac_try_echo=$ac_try;;
 
6630
esac
 
6631
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6632
$as_echo "$ac_try_echo") >&5
 
6633
  (eval "$ac_compile") 2>conftest.er1
 
6634
  ac_status=$?
 
6635
  grep -v '^ *+' conftest.er1 >conftest.err
 
6636
  rm -f conftest.er1
 
6637
  cat conftest.err >&5
 
6638
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6639
  (exit $ac_status); } && {
 
6640
         test -z "$ac_c_werror_flag" ||
 
6641
         test ! -s conftest.err
 
6642
       } && test -s conftest.$ac_objext; then
 
6643
  # It does; now see whether it defined to _BIG_ENDIAN or not.
 
6644
         cat >conftest.$ac_ext <<_ACEOF
 
6645
/* confdefs.h.  */
 
6646
_ACEOF
 
6647
cat confdefs.h >>conftest.$ac_ext
 
6648
cat >>conftest.$ac_ext <<_ACEOF
 
6649
/* end confdefs.h.  */
 
6650
#include <limits.h>
 
6651
 
 
6652
int
 
6653
main ()
 
6654
{
 
6655
#ifndef _BIG_ENDIAN
 
6656
                 not big endian
 
6657
                #endif
 
6658
 
 
6659
  ;
 
6660
  return 0;
 
6661
}
 
6662
_ACEOF
 
6663
rm -f conftest.$ac_objext
 
6664
if { (ac_try="$ac_compile"
 
6665
case "(($ac_try" in
 
6666
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6667
  *) ac_try_echo=$ac_try;;
 
6668
esac
 
6669
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6670
$as_echo "$ac_try_echo") >&5
 
6671
  (eval "$ac_compile") 2>conftest.er1
 
6672
  ac_status=$?
 
6673
  grep -v '^ *+' conftest.er1 >conftest.err
 
6674
  rm -f conftest.er1
 
6675
  cat conftest.err >&5
 
6676
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6677
  (exit $ac_status); } && {
 
6678
         test -z "$ac_c_werror_flag" ||
 
6679
         test ! -s conftest.err
 
6680
       } && test -s conftest.$ac_objext; then
 
6681
  ac_cv_c_bigendian=yes
 
6682
else
 
6683
  $as_echo "$as_me: failed program was:" >&5
 
6684
sed 's/^/| /' conftest.$ac_ext >&5
 
6685
 
 
6686
        ac_cv_c_bigendian=no
 
6687
fi
 
6688
 
 
6689
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6690
else
 
6691
  $as_echo "$as_me: failed program was:" >&5
 
6692
sed 's/^/| /' conftest.$ac_ext >&5
 
6693
 
 
6694
 
 
6695
fi
 
6696
 
 
6697
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6698
    fi
 
6699
    if test $ac_cv_c_bigendian = unknown; then
 
6700
      # Compile a test program.
 
6701
      if test "$cross_compiling" = yes; then
 
6702
  # Try to guess by grepping values from an object file.
 
6703
         cat >conftest.$ac_ext <<_ACEOF
 
6704
/* confdefs.h.  */
 
6705
_ACEOF
 
6706
cat confdefs.h >>conftest.$ac_ext
 
6707
cat >>conftest.$ac_ext <<_ACEOF
 
6708
/* end confdefs.h.  */
 
6709
short int ascii_mm[] =
 
6710
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
6711
                short int ascii_ii[] =
 
6712
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
6713
                int use_ascii (int i) {
 
6714
                  return ascii_mm[i] + ascii_ii[i];
 
6715
                }
 
6716
                short int ebcdic_ii[] =
 
6717
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
6718
                short int ebcdic_mm[] =
 
6719
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
6720
                int use_ebcdic (int i) {
 
6721
                  return ebcdic_mm[i] + ebcdic_ii[i];
 
6722
                }
 
6723
                extern int foo;
 
6724
 
 
6725
int
 
6726
main ()
 
6727
{
 
6728
return use_ascii (foo) == use_ebcdic (foo);
 
6729
  ;
 
6730
  return 0;
 
6731
}
 
6732
_ACEOF
 
6733
rm -f conftest.$ac_objext
 
6734
if { (ac_try="$ac_compile"
 
6735
case "(($ac_try" in
 
6736
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6737
  *) ac_try_echo=$ac_try;;
 
6738
esac
 
6739
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6740
$as_echo "$ac_try_echo") >&5
 
6741
  (eval "$ac_compile") 2>conftest.er1
 
6742
  ac_status=$?
 
6743
  grep -v '^ *+' conftest.er1 >conftest.err
 
6744
  rm -f conftest.er1
 
6745
  cat conftest.err >&5
 
6746
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6747
  (exit $ac_status); } && {
 
6748
         test -z "$ac_c_werror_flag" ||
 
6749
         test ! -s conftest.err
 
6750
       } && test -s conftest.$ac_objext; then
 
6751
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 
6752
              ac_cv_c_bigendian=yes
 
6753
            fi
 
6754
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
6755
              if test "$ac_cv_c_bigendian" = unknown; then
 
6756
                ac_cv_c_bigendian=no
 
6757
              else
 
6758
                # finding both strings is unlikely to happen, but who knows?
 
6759
                ac_cv_c_bigendian=unknown
 
6760
              fi
 
6761
            fi
 
6762
else
 
6763
  $as_echo "$as_me: failed program was:" >&5
 
6764
sed 's/^/| /' conftest.$ac_ext >&5
 
6765
 
 
6766
 
 
6767
fi
 
6768
 
 
6769
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6770
else
 
6771
  cat >conftest.$ac_ext <<_ACEOF
 
6772
/* confdefs.h.  */
 
6773
_ACEOF
 
6774
cat confdefs.h >>conftest.$ac_ext
 
6775
cat >>conftest.$ac_ext <<_ACEOF
 
6776
/* end confdefs.h.  */
 
6777
$ac_includes_default
 
6778
int
 
6779
main ()
 
6780
{
 
6781
 
 
6782
             /* Are we little or big endian?  From Harbison&Steele.  */
 
6783
             union
 
6784
             {
 
6785
               long int l;
 
6786
               char c[sizeof (long int)];
 
6787
             } u;
 
6788
             u.l = 1;
 
6789
             return u.c[sizeof (long int) - 1] == 1;
 
6790
 
 
6791
  ;
 
6792
  return 0;
 
6793
}
 
6794
_ACEOF
 
6795
rm -f conftest$ac_exeext
 
6796
if { (ac_try="$ac_link"
 
6797
case "(($ac_try" in
 
6798
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6799
  *) ac_try_echo=$ac_try;;
 
6800
esac
 
6801
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6802
$as_echo "$ac_try_echo") >&5
 
6803
  (eval "$ac_link") 2>&5
 
6804
  ac_status=$?
 
6805
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6806
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
6807
  { (case "(($ac_try" in
 
6808
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6809
  *) ac_try_echo=$ac_try;;
 
6810
esac
 
6811
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6812
$as_echo "$ac_try_echo") >&5
 
6813
  (eval "$ac_try") 2>&5
 
6814
  ac_status=$?
 
6815
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6816
  (exit $ac_status); }; }; then
 
6817
  ac_cv_c_bigendian=no
 
6818
else
 
6819
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
6820
$as_echo "$as_me: failed program was:" >&5
 
6821
sed 's/^/| /' conftest.$ac_ext >&5
 
6822
 
 
6823
( exit $ac_status )
 
6824
ac_cv_c_bigendian=yes
 
6825
fi
 
6826
rm -rf conftest.dSYM
 
6827
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6828
fi
 
6829
 
 
6830
 
 
6831
    fi
 
6832
fi
 
6833
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
6834
$as_echo "$ac_cv_c_bigendian" >&6; }
 
6835
 case $ac_cv_c_bigendian in #(
 
6836
   yes)
 
6837
     cat >>confdefs.h <<\_ACEOF
 
6838
#define WORDS_BIGENDIAN 1
 
6839
_ACEOF
 
6840
;; #(
 
6841
   no)
 
6842
      ;; #(
 
6843
   universal)
 
6844
      ;; #(
 
6845
   *)
 
6846
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
 
6847
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
 
6848
$as_echo "$as_me: error: unknown endianness
 
6849
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
 
6850
   { (exit 1); exit 1; }; } ;;
 
6851
 esac
 
6852
 
 
6853
 
 
6854
 
 
6855
 
 
6856
 
 
6857
 
 
6858
 
 
6859
 
 
6860
 
 
6861
 
 
6862
for ac_header in \
 
6863
        errno.h \
 
6864
        netdb.h \
 
6865
        stdio.h \
 
6866
        stdlib.h \
 
6867
        string.h \
 
6868
        sys/time.h\
 
6869
        time.h \
 
6870
        unistd.h \
 
6871
 
 
6872
do
 
6873
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6874
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6875
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6876
$as_echo_n "checking for $ac_header... " >&6; }
 
6877
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6878
  $as_echo_n "(cached) " >&6
 
6879
fi
 
6880
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6881
                 $as_echo "$as_val"'`
 
6882
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6883
$as_echo "$ac_res" >&6; }
 
6884
else
 
6885
  # Is the header compilable?
 
6886
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
6887
$as_echo_n "checking $ac_header usability... " >&6; }
 
6888
cat >conftest.$ac_ext <<_ACEOF
 
6889
/* confdefs.h.  */
 
6890
_ACEOF
 
6891
cat confdefs.h >>conftest.$ac_ext
 
6892
cat >>conftest.$ac_ext <<_ACEOF
 
6893
/* end confdefs.h.  */
 
6894
$ac_includes_default
 
6895
#include <$ac_header>
 
6896
_ACEOF
 
6897
rm -f conftest.$ac_objext
 
6898
if { (ac_try="$ac_compile"
 
6899
case "(($ac_try" in
 
6900
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6901
  *) ac_try_echo=$ac_try;;
 
6902
esac
 
6903
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6904
$as_echo "$ac_try_echo") >&5
 
6905
  (eval "$ac_compile") 2>conftest.er1
 
6906
  ac_status=$?
 
6907
  grep -v '^ *+' conftest.er1 >conftest.err
 
6908
  rm -f conftest.er1
 
6909
  cat conftest.err >&5
 
6910
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6911
  (exit $ac_status); } && {
 
6912
         test -z "$ac_c_werror_flag" ||
 
6913
         test ! -s conftest.err
 
6914
       } && test -s conftest.$ac_objext; then
 
6915
  ac_header_compiler=yes
 
6916
else
 
6917
  $as_echo "$as_me: failed program was:" >&5
 
6918
sed 's/^/| /' conftest.$ac_ext >&5
 
6919
 
 
6920
        ac_header_compiler=no
 
6921
fi
 
6922
 
 
6923
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6924
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6925
$as_echo "$ac_header_compiler" >&6; }
 
6926
 
 
6927
# Is the header present?
 
6928
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
6929
$as_echo_n "checking $ac_header presence... " >&6; }
 
6930
cat >conftest.$ac_ext <<_ACEOF
 
6931
/* confdefs.h.  */
 
6932
_ACEOF
 
6933
cat confdefs.h >>conftest.$ac_ext
 
6934
cat >>conftest.$ac_ext <<_ACEOF
 
6935
/* end confdefs.h.  */
 
6936
#include <$ac_header>
 
6937
_ACEOF
 
6938
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6939
case "(($ac_try" in
 
6940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6941
  *) ac_try_echo=$ac_try;;
 
6942
esac
 
6943
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6944
$as_echo "$ac_try_echo") >&5
 
6945
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6946
  ac_status=$?
 
6947
  grep -v '^ *+' conftest.er1 >conftest.err
 
6948
  rm -f conftest.er1
 
6949
  cat conftest.err >&5
 
6950
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6951
  (exit $ac_status); } >/dev/null && {
 
6952
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6953
         test ! -s conftest.err
 
6954
       }; then
 
6955
  ac_header_preproc=yes
 
6956
else
 
6957
  $as_echo "$as_me: failed program was:" >&5
 
6958
sed 's/^/| /' conftest.$ac_ext >&5
 
6959
 
 
6960
  ac_header_preproc=no
 
6961
fi
 
6962
 
 
6963
rm -f conftest.err conftest.$ac_ext
 
6964
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6965
$as_echo "$ac_header_preproc" >&6; }
 
6966
 
 
6967
# So?  What about this header?
 
6968
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
6969
  yes:no: )
 
6970
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
6971
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
6972
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
6973
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
6974
    ac_header_preproc=yes
 
6975
    ;;
 
6976
  no:yes:* )
 
6977
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
6978
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
6979
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
6980
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
6981
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
6982
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
6983
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
6984
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
6985
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
6986
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
6987
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
6988
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
6989
    ( cat <<\_ASBOX
 
6990
## -------------------------------------------- ##
 
6991
## Report this to markus_moeller@compuserve.com ##
 
6992
## -------------------------------------------- ##
 
6993
_ASBOX
 
6994
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
6995
    ;;
 
6996
esac
 
6997
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6998
$as_echo_n "checking for $ac_header... " >&6; }
 
6999
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7000
  $as_echo_n "(cached) " >&6
 
7001
else
 
7002
  eval "$as_ac_Header=\$ac_header_preproc"
 
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
 
 
7009
fi
 
7010
if test `eval 'as_val=${'$as_ac_Header'}
 
7011
                 $as_echo "$as_val"'` = yes; then
 
7012
  cat >>confdefs.h <<_ACEOF
 
7013
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7014
_ACEOF
 
7015
 
 
7016
fi
 
7017
 
 
7018
done
 
7019
 
 
7020
 
 
7021
ac_config_headers="$ac_config_headers ska_config.h"
 
7022
 
 
7023
 
 
7024
 
 
7025
 
 
7026
 
 
7027
squid_dir=
 
7028
 
 
7029
# Check whether --with-squid was given.
 
7030
if test "${with_squid+set}" = set; then
 
7031
  withval=$with_squid;  squid_dir=$withval
 
7032
 
 
7033
fi
 
7034
 
 
7035
 
 
7036
eval ac_p_include=$includedir
 
7037
CPPFLAGS="$CPPFLAGS -I$ac_p_include -I../../../ -I../../../include/ -I$squid_dir/include -I$squid_dir/src -I$squid_dir"
 
7038
{ $as_echo "$as_me:$LINENO: checking for SQUID at '$squid_dir' " >&5
 
7039
$as_echo_n "checking for SQUID at '$squid_dir' ... " >&6; }
 
7040
if test "${ac_cv_have_squid+set}" = set; then
 
7041
  $as_echo_n "(cached) " >&6
 
7042
else
 
7043
 
 
7044
if test "$cross_compiling" = yes; then
 
7045
  { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 
7046
See \`config.log' for more details." >&5
 
7047
$as_echo "$as_me: error: cannot run test program while cross compiling
 
7048
See \`config.log' for more details." >&2;}
 
7049
   { (exit 1); exit 1; }; }
 
7050
else
 
7051
  cat >conftest.$ac_ext <<_ACEOF
 
7052
/* confdefs.h.  */
 
7053
_ACEOF
 
7054
cat confdefs.h >>conftest.$ac_ext
 
7055
cat >>conftest.$ac_ext <<_ACEOF
 
7056
/* end confdefs.h.  */
 
7057
 
 
7058
#include <config.h>
 
7059
int main(int argc, char *argv[]) {
 
7060
#ifdef SQUID_CONFIG_H
 
7061
return 0;
 
7062
#else
 
7063
return 1;
 
7064
#endif
 
7065
}
 
7066
_ACEOF
 
7067
rm -f conftest$ac_exeext
 
7068
if { (ac_try="$ac_link"
 
7069
case "(($ac_try" in
 
7070
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7071
  *) ac_try_echo=$ac_try;;
 
7072
esac
 
7073
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7074
$as_echo "$ac_try_echo") >&5
 
7075
  (eval "$ac_link") 2>&5
 
7076
  ac_status=$?
 
7077
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7078
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
7079
  { (case "(($ac_try" in
 
7080
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7081
  *) ac_try_echo=$ac_try;;
 
7082
esac
 
7083
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7084
$as_echo "$ac_try_echo") >&5
 
7085
  (eval "$ac_try") 2>&5
 
7086
  ac_status=$?
 
7087
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7088
  (exit $ac_status); }; }; then
 
7089
  ac_cv_have_squid=yes
 
7090
else
 
7091
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
7092
$as_echo "$as_me: failed program was:" >&5
 
7093
sed 's/^/| /' conftest.$ac_ext >&5
 
7094
 
 
7095
( exit $ac_status )
 
7096
ac_cv_have_squid=no
 
7097
fi
 
7098
rm -rf conftest.dSYM
 
7099
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7100
fi
 
7101
 
 
7102
 
 
7103
 
 
7104
fi
 
7105
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_squid" >&5
 
7106
$as_echo "$ac_cv_have_squid" >&6; }
 
7107
eval ac_p_lib=$libdir
 
7108
LDFLAGS="$LDFLAGS -L../../../lib -L$ac_p_lib $w_flag$ac_p_lib$w_flag_2"
 
7109
if test "x$ac_cv_have_squid" = "xyes"; then
 
7110
 
 
7111
cat >>confdefs.h <<\_ACEOF
 
7112
#define HAVE_SQUID 1
 
7113
_ACEOF
 
7114
 
 
7115
 
 
7116
 
 
7117
 
 
7118
for ac_header in getaddrinfo.h getnameinfo.h util.h
 
7119
do
 
7120
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7121
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7122
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7123
$as_echo_n "checking for $ac_header... " >&6; }
 
7124
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7125
  $as_echo_n "(cached) " >&6
 
7126
fi
 
7127
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7128
                 $as_echo "$as_val"'`
 
7129
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7130
$as_echo "$ac_res" >&6; }
 
7131
else
 
7132
  # Is the header compilable?
 
7133
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
7134
$as_echo_n "checking $ac_header usability... " >&6; }
 
7135
cat >conftest.$ac_ext <<_ACEOF
 
7136
/* confdefs.h.  */
 
7137
_ACEOF
 
7138
cat confdefs.h >>conftest.$ac_ext
 
7139
cat >>conftest.$ac_ext <<_ACEOF
 
7140
/* end confdefs.h.  */
 
7141
$ac_includes_default
 
7142
#include <$ac_header>
 
7143
_ACEOF
 
7144
rm -f conftest.$ac_objext
 
7145
if { (ac_try="$ac_compile"
 
7146
case "(($ac_try" in
 
7147
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7148
  *) ac_try_echo=$ac_try;;
 
7149
esac
 
7150
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7151
$as_echo "$ac_try_echo") >&5
 
7152
  (eval "$ac_compile") 2>conftest.er1
 
7153
  ac_status=$?
 
7154
  grep -v '^ *+' conftest.er1 >conftest.err
 
7155
  rm -f conftest.er1
 
7156
  cat conftest.err >&5
 
7157
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7158
  (exit $ac_status); } && {
 
7159
         test -z "$ac_c_werror_flag" ||
 
7160
         test ! -s conftest.err
 
7161
       } && test -s conftest.$ac_objext; then
 
7162
  ac_header_compiler=yes
 
7163
else
 
7164
  $as_echo "$as_me: failed program was:" >&5
 
7165
sed 's/^/| /' conftest.$ac_ext >&5
 
7166
 
 
7167
        ac_header_compiler=no
 
7168
fi
 
7169
 
 
7170
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7171
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
7172
$as_echo "$ac_header_compiler" >&6; }
 
7173
 
 
7174
# Is the header present?
 
7175
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
7176
$as_echo_n "checking $ac_header presence... " >&6; }
 
7177
cat >conftest.$ac_ext <<_ACEOF
 
7178
/* confdefs.h.  */
 
7179
_ACEOF
 
7180
cat confdefs.h >>conftest.$ac_ext
 
7181
cat >>conftest.$ac_ext <<_ACEOF
 
7182
/* end confdefs.h.  */
 
7183
#include <$ac_header>
 
7184
_ACEOF
 
7185
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7186
case "(($ac_try" in
 
7187
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7188
  *) ac_try_echo=$ac_try;;
 
7189
esac
 
7190
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7191
$as_echo "$ac_try_echo") >&5
 
7192
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7193
  ac_status=$?
 
7194
  grep -v '^ *+' conftest.er1 >conftest.err
 
7195
  rm -f conftest.er1
 
7196
  cat conftest.err >&5
 
7197
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7198
  (exit $ac_status); } >/dev/null && {
 
7199
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7200
         test ! -s conftest.err
 
7201
       }; then
 
7202
  ac_header_preproc=yes
 
7203
else
 
7204
  $as_echo "$as_me: failed program was:" >&5
 
7205
sed 's/^/| /' conftest.$ac_ext >&5
 
7206
 
 
7207
  ac_header_preproc=no
 
7208
fi
 
7209
 
 
7210
rm -f conftest.err conftest.$ac_ext
 
7211
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
7212
$as_echo "$ac_header_preproc" >&6; }
 
7213
 
 
7214
# So?  What about this header?
 
7215
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
7216
  yes:no: )
 
7217
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
7218
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
7219
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
7220
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
7221
    ac_header_preproc=yes
 
7222
    ;;
 
7223
  no:yes:* )
 
7224
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
7225
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
7226
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
7227
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
7228
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
7229
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
7230
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
7231
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
7232
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
7233
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
7234
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
7235
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
7236
    ( cat <<\_ASBOX
 
7237
## -------------------------------------------- ##
 
7238
## Report this to markus_moeller@compuserve.com ##
 
7239
## -------------------------------------------- ##
 
7240
_ASBOX
 
7241
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
7242
    ;;
 
7243
esac
 
7244
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7245
$as_echo_n "checking for $ac_header... " >&6; }
 
7246
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7247
  $as_echo_n "(cached) " >&6
 
7248
else
 
7249
  eval "$as_ac_Header=\$ac_header_preproc"
 
7250
fi
 
7251
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7252
                 $as_echo "$as_val"'`
 
7253
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7254
$as_echo "$ac_res" >&6; }
 
7255
 
 
7256
fi
 
7257
if test `eval 'as_val=${'$as_ac_Header'}
 
7258
                 $as_echo "$as_val"'` = yes; then
 
7259
  cat >>confdefs.h <<_ACEOF
 
7260
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7261
_ACEOF
 
7262
 
 
7263
fi
 
7264
 
 
7265
done
 
7266
 
 
7267
  { $as_echo "$as_me:$LINENO: checking whether xgetaddrinfo is declared" >&5
 
7268
$as_echo_n "checking whether xgetaddrinfo is declared... " >&6; }
 
7269
if test "${ac_cv_have_decl_xgetaddrinfo+set}" = set; then
 
7270
  $as_echo_n "(cached) " >&6
 
7271
else
 
7272
  cat >conftest.$ac_ext <<_ACEOF
 
7273
/* confdefs.h.  */
 
7274
_ACEOF
 
7275
cat confdefs.h >>conftest.$ac_ext
 
7276
cat >>conftest.$ac_ext <<_ACEOF
 
7277
/* end confdefs.h.  */
 
7278
#include <getaddrinfo.h>
 
7279
 
 
7280
int
 
7281
main ()
 
7282
{
 
7283
#ifndef xgetaddrinfo
 
7284
  (void) xgetaddrinfo;
 
7285
#endif
 
7286
 
 
7287
  ;
 
7288
  return 0;
 
7289
}
 
7290
_ACEOF
 
7291
rm -f conftest.$ac_objext
 
7292
if { (ac_try="$ac_compile"
 
7293
case "(($ac_try" in
 
7294
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7295
  *) ac_try_echo=$ac_try;;
 
7296
esac
 
7297
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7298
$as_echo "$ac_try_echo") >&5
 
7299
  (eval "$ac_compile") 2>conftest.er1
 
7300
  ac_status=$?
 
7301
  grep -v '^ *+' conftest.er1 >conftest.err
 
7302
  rm -f conftest.er1
 
7303
  cat conftest.err >&5
 
7304
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7305
  (exit $ac_status); } && {
 
7306
         test -z "$ac_c_werror_flag" ||
 
7307
         test ! -s conftest.err
 
7308
       } && test -s conftest.$ac_objext; then
 
7309
  ac_cv_have_decl_xgetaddrinfo=yes
 
7310
else
 
7311
  $as_echo "$as_me: failed program was:" >&5
 
7312
sed 's/^/| /' conftest.$ac_ext >&5
 
7313
 
 
7314
        ac_cv_have_decl_xgetaddrinfo=no
 
7315
fi
 
7316
 
 
7317
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7318
fi
 
7319
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xgetaddrinfo" >&5
 
7320
$as_echo "$ac_cv_have_decl_xgetaddrinfo" >&6; }
 
7321
if test $ac_cv_have_decl_xgetaddrinfo = yes; then
 
7322
 
 
7323
cat >>confdefs.h <<_ACEOF
 
7324
#define HAVE_DECL_XGETADDRINFO 1
 
7325
_ACEOF
 
7326
 
 
7327
 
 
7328
else
 
7329
  cat >>confdefs.h <<_ACEOF
 
7330
#define HAVE_DECL_XGETADDRINFO 0
 
7331
_ACEOF
 
7332
 
 
7333
 
 
7334
fi
 
7335
 
 
7336
 
 
7337
  { $as_echo "$as_me:$LINENO: checking whether xfreeaddrinfo is declared" >&5
 
7338
$as_echo_n "checking whether xfreeaddrinfo is declared... " >&6; }
 
7339
if test "${ac_cv_have_decl_xfreeaddrinfo+set}" = set; then
 
7340
  $as_echo_n "(cached) " >&6
 
7341
else
 
7342
  cat >conftest.$ac_ext <<_ACEOF
 
7343
/* confdefs.h.  */
 
7344
_ACEOF
 
7345
cat confdefs.h >>conftest.$ac_ext
 
7346
cat >>conftest.$ac_ext <<_ACEOF
 
7347
/* end confdefs.h.  */
 
7348
#include <getaddrinfo.h>
 
7349
 
 
7350
int
 
7351
main ()
 
7352
{
 
7353
#ifndef xfreeaddrinfo
 
7354
  (void) xfreeaddrinfo;
 
7355
#endif
 
7356
 
 
7357
  ;
 
7358
  return 0;
 
7359
}
 
7360
_ACEOF
 
7361
rm -f conftest.$ac_objext
 
7362
if { (ac_try="$ac_compile"
 
7363
case "(($ac_try" in
 
7364
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7365
  *) ac_try_echo=$ac_try;;
 
7366
esac
 
7367
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7368
$as_echo "$ac_try_echo") >&5
 
7369
  (eval "$ac_compile") 2>conftest.er1
 
7370
  ac_status=$?
 
7371
  grep -v '^ *+' conftest.er1 >conftest.err
 
7372
  rm -f conftest.er1
 
7373
  cat conftest.err >&5
 
7374
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7375
  (exit $ac_status); } && {
 
7376
         test -z "$ac_c_werror_flag" ||
 
7377
         test ! -s conftest.err
 
7378
       } && test -s conftest.$ac_objext; then
 
7379
  ac_cv_have_decl_xfreeaddrinfo=yes
 
7380
else
 
7381
  $as_echo "$as_me: failed program was:" >&5
 
7382
sed 's/^/| /' conftest.$ac_ext >&5
 
7383
 
 
7384
        ac_cv_have_decl_xfreeaddrinfo=no
 
7385
fi
 
7386
 
 
7387
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7388
fi
 
7389
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xfreeaddrinfo" >&5
 
7390
$as_echo "$ac_cv_have_decl_xfreeaddrinfo" >&6; }
 
7391
if test $ac_cv_have_decl_xfreeaddrinfo = yes; then
 
7392
 
 
7393
cat >>confdefs.h <<_ACEOF
 
7394
#define HAVE_DECL_XFREEADDRINFO 1
 
7395
_ACEOF
 
7396
 
 
7397
 
 
7398
else
 
7399
  cat >>confdefs.h <<_ACEOF
 
7400
#define HAVE_DECL_XFREEADDRINFO 0
 
7401
_ACEOF
 
7402
 
 
7403
 
 
7404
fi
 
7405
 
 
7406
 
 
7407
  { $as_echo "$as_me:$LINENO: checking whether xgai_strerror is declared" >&5
 
7408
$as_echo_n "checking whether xgai_strerror is declared... " >&6; }
 
7409
if test "${ac_cv_have_decl_xgai_strerror+set}" = set; then
 
7410
  $as_echo_n "(cached) " >&6
 
7411
else
 
7412
  cat >conftest.$ac_ext <<_ACEOF
 
7413
/* confdefs.h.  */
 
7414
_ACEOF
 
7415
cat confdefs.h >>conftest.$ac_ext
 
7416
cat >>conftest.$ac_ext <<_ACEOF
 
7417
/* end confdefs.h.  */
 
7418
#include <getaddrinfo.h>
 
7419
 
 
7420
int
 
7421
main ()
 
7422
{
 
7423
#ifndef xgai_strerror
 
7424
  (void) xgai_strerror;
 
7425
#endif
 
7426
 
 
7427
  ;
 
7428
  return 0;
 
7429
}
 
7430
_ACEOF
 
7431
rm -f conftest.$ac_objext
 
7432
if { (ac_try="$ac_compile"
 
7433
case "(($ac_try" in
 
7434
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7435
  *) ac_try_echo=$ac_try;;
 
7436
esac
 
7437
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7438
$as_echo "$ac_try_echo") >&5
 
7439
  (eval "$ac_compile") 2>conftest.er1
 
7440
  ac_status=$?
 
7441
  grep -v '^ *+' conftest.er1 >conftest.err
 
7442
  rm -f conftest.er1
 
7443
  cat conftest.err >&5
 
7444
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7445
  (exit $ac_status); } && {
 
7446
         test -z "$ac_c_werror_flag" ||
 
7447
         test ! -s conftest.err
 
7448
       } && test -s conftest.$ac_objext; then
 
7449
  ac_cv_have_decl_xgai_strerror=yes
 
7450
else
 
7451
  $as_echo "$as_me: failed program was:" >&5
 
7452
sed 's/^/| /' conftest.$ac_ext >&5
 
7453
 
 
7454
        ac_cv_have_decl_xgai_strerror=no
 
7455
fi
 
7456
 
 
7457
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7458
fi
 
7459
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xgai_strerror" >&5
 
7460
$as_echo "$ac_cv_have_decl_xgai_strerror" >&6; }
 
7461
if test $ac_cv_have_decl_xgai_strerror = yes; then
 
7462
 
 
7463
cat >>confdefs.h <<_ACEOF
 
7464
#define HAVE_DECL_XGAI_STRERROR 1
 
7465
_ACEOF
 
7466
 
 
7467
 
 
7468
else
 
7469
  cat >>confdefs.h <<_ACEOF
 
7470
#define HAVE_DECL_XGAI_STRERROR 0
 
7471
_ACEOF
 
7472
 
 
7473
 
 
7474
fi
 
7475
 
 
7476
 
 
7477
  { $as_echo "$as_me:$LINENO: checking whether xgetnameinfo is declared" >&5
 
7478
$as_echo_n "checking whether xgetnameinfo is declared... " >&6; }
 
7479
if test "${ac_cv_have_decl_xgetnameinfo+set}" = set; then
 
7480
  $as_echo_n "(cached) " >&6
 
7481
else
 
7482
  cat >conftest.$ac_ext <<_ACEOF
 
7483
/* confdefs.h.  */
 
7484
_ACEOF
 
7485
cat confdefs.h >>conftest.$ac_ext
 
7486
cat >>conftest.$ac_ext <<_ACEOF
 
7487
/* end confdefs.h.  */
 
7488
#include <getnameinfo.h>
 
7489
 
 
7490
int
 
7491
main ()
 
7492
{
 
7493
#ifndef xgetnameinfo
 
7494
  (void) xgetnameinfo;
 
7495
#endif
 
7496
 
 
7497
  ;
 
7498
  return 0;
 
7499
}
 
7500
_ACEOF
 
7501
rm -f conftest.$ac_objext
 
7502
if { (ac_try="$ac_compile"
 
7503
case "(($ac_try" in
 
7504
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7505
  *) ac_try_echo=$ac_try;;
 
7506
esac
 
7507
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7508
$as_echo "$ac_try_echo") >&5
 
7509
  (eval "$ac_compile") 2>conftest.er1
 
7510
  ac_status=$?
 
7511
  grep -v '^ *+' conftest.er1 >conftest.err
 
7512
  rm -f conftest.er1
 
7513
  cat conftest.err >&5
 
7514
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7515
  (exit $ac_status); } && {
 
7516
         test -z "$ac_c_werror_flag" ||
 
7517
         test ! -s conftest.err
 
7518
       } && test -s conftest.$ac_objext; then
 
7519
  ac_cv_have_decl_xgetnameinfo=yes
 
7520
else
 
7521
  $as_echo "$as_me: failed program was:" >&5
 
7522
sed 's/^/| /' conftest.$ac_ext >&5
 
7523
 
 
7524
        ac_cv_have_decl_xgetnameinfo=no
 
7525
fi
 
7526
 
 
7527
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7528
fi
 
7529
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xgetnameinfo" >&5
 
7530
$as_echo "$ac_cv_have_decl_xgetnameinfo" >&6; }
 
7531
if test $ac_cv_have_decl_xgetnameinfo = yes; then
 
7532
 
 
7533
cat >>confdefs.h <<_ACEOF
 
7534
#define HAVE_DECL_XGETNAMEINFO 1
 
7535
_ACEOF
 
7536
 
 
7537
 
 
7538
else
 
7539
  cat >>confdefs.h <<_ACEOF
 
7540
#define HAVE_DECL_XGETNAMEINFO 0
 
7541
_ACEOF
 
7542
 
 
7543
 
 
7544
fi
 
7545
 
 
7546
 
 
7547
  { $as_echo "$as_me:$LINENO: checking whether xstrdup is declared" >&5
 
7548
$as_echo_n "checking whether xstrdup is declared... " >&6; }
 
7549
if test "${ac_cv_have_decl_xstrdup+set}" = set; then
 
7550
  $as_echo_n "(cached) " >&6
 
7551
else
 
7552
  cat >conftest.$ac_ext <<_ACEOF
 
7553
/* confdefs.h.  */
 
7554
_ACEOF
 
7555
cat confdefs.h >>conftest.$ac_ext
 
7556
cat >>conftest.$ac_ext <<_ACEOF
 
7557
/* end confdefs.h.  */
 
7558
#include <util.h>
 
7559
 
 
7560
int
 
7561
main ()
 
7562
{
 
7563
#ifndef xstrdup
 
7564
  (void) xstrdup;
 
7565
#endif
 
7566
 
 
7567
  ;
 
7568
  return 0;
 
7569
}
 
7570
_ACEOF
 
7571
rm -f conftest.$ac_objext
 
7572
if { (ac_try="$ac_compile"
 
7573
case "(($ac_try" in
 
7574
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7575
  *) ac_try_echo=$ac_try;;
 
7576
esac
 
7577
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7578
$as_echo "$ac_try_echo") >&5
 
7579
  (eval "$ac_compile") 2>conftest.er1
 
7580
  ac_status=$?
 
7581
  grep -v '^ *+' conftest.er1 >conftest.err
 
7582
  rm -f conftest.er1
 
7583
  cat conftest.err >&5
 
7584
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7585
  (exit $ac_status); } && {
 
7586
         test -z "$ac_c_werror_flag" ||
 
7587
         test ! -s conftest.err
 
7588
       } && test -s conftest.$ac_objext; then
 
7589
  ac_cv_have_decl_xstrdup=yes
 
7590
else
 
7591
  $as_echo "$as_me: failed program was:" >&5
 
7592
sed 's/^/| /' conftest.$ac_ext >&5
 
7593
 
 
7594
        ac_cv_have_decl_xstrdup=no
 
7595
fi
 
7596
 
 
7597
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7598
fi
 
7599
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xstrdup" >&5
 
7600
$as_echo "$ac_cv_have_decl_xstrdup" >&6; }
 
7601
if test $ac_cv_have_decl_xstrdup = yes; then
 
7602
 
 
7603
cat >>confdefs.h <<_ACEOF
 
7604
#define HAVE_DECL_XSTRDUP 1
 
7605
_ACEOF
 
7606
 
 
7607
 
 
7608
else
 
7609
  cat >>confdefs.h <<_ACEOF
 
7610
#define HAVE_DECL_XSTRDUP 0
 
7611
_ACEOF
 
7612
 
 
7613
 
 
7614
fi
 
7615
 
 
7616
 
 
7617
  { $as_echo "$as_me:$LINENO: checking whether xmalloc is declared" >&5
 
7618
$as_echo_n "checking whether xmalloc is declared... " >&6; }
 
7619
if test "${ac_cv_have_decl_xmalloc+set}" = set; then
 
7620
  $as_echo_n "(cached) " >&6
 
7621
else
 
7622
  cat >conftest.$ac_ext <<_ACEOF
 
7623
/* confdefs.h.  */
 
7624
_ACEOF
 
7625
cat confdefs.h >>conftest.$ac_ext
 
7626
cat >>conftest.$ac_ext <<_ACEOF
 
7627
/* end confdefs.h.  */
 
7628
#include <util.h>
 
7629
 
 
7630
int
 
7631
main ()
 
7632
{
 
7633
#ifndef xmalloc
 
7634
  (void) xmalloc;
 
7635
#endif
 
7636
 
 
7637
  ;
 
7638
  return 0;
 
7639
}
 
7640
_ACEOF
 
7641
rm -f conftest.$ac_objext
 
7642
if { (ac_try="$ac_compile"
 
7643
case "(($ac_try" in
 
7644
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7645
  *) ac_try_echo=$ac_try;;
 
7646
esac
 
7647
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7648
$as_echo "$ac_try_echo") >&5
 
7649
  (eval "$ac_compile") 2>conftest.er1
 
7650
  ac_status=$?
 
7651
  grep -v '^ *+' conftest.er1 >conftest.err
 
7652
  rm -f conftest.er1
 
7653
  cat conftest.err >&5
 
7654
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7655
  (exit $ac_status); } && {
 
7656
         test -z "$ac_c_werror_flag" ||
 
7657
         test ! -s conftest.err
 
7658
       } && test -s conftest.$ac_objext; then
 
7659
  ac_cv_have_decl_xmalloc=yes
 
7660
else
 
7661
  $as_echo "$as_me: failed program was:" >&5
 
7662
sed 's/^/| /' conftest.$ac_ext >&5
 
7663
 
 
7664
        ac_cv_have_decl_xmalloc=no
 
7665
fi
 
7666
 
 
7667
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7668
fi
 
7669
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xmalloc" >&5
 
7670
$as_echo "$ac_cv_have_decl_xmalloc" >&6; }
 
7671
if test $ac_cv_have_decl_xmalloc = yes; then
 
7672
 
 
7673
cat >>confdefs.h <<_ACEOF
 
7674
#define HAVE_DECL_XMALLOC 1
 
7675
_ACEOF
 
7676
 
 
7677
 
 
7678
else
 
7679
  cat >>confdefs.h <<_ACEOF
 
7680
#define HAVE_DECL_XMALLOC 0
 
7681
_ACEOF
 
7682
 
 
7683
 
 
7684
fi
 
7685
 
 
7686
 
 
7687
  { $as_echo "$as_me:$LINENO: checking whether xfree is declared" >&5
 
7688
$as_echo_n "checking whether xfree is declared... " >&6; }
 
7689
if test "${ac_cv_have_decl_xfree+set}" = set; then
 
7690
  $as_echo_n "(cached) " >&6
 
7691
else
 
7692
  cat >conftest.$ac_ext <<_ACEOF
 
7693
/* confdefs.h.  */
 
7694
_ACEOF
 
7695
cat confdefs.h >>conftest.$ac_ext
 
7696
cat >>conftest.$ac_ext <<_ACEOF
 
7697
/* end confdefs.h.  */
 
7698
#include <util.h>
 
7699
 
 
7700
int
 
7701
main ()
 
7702
{
 
7703
#ifndef xfree
 
7704
  (void) xfree;
 
7705
#endif
 
7706
 
 
7707
  ;
 
7708
  return 0;
 
7709
}
 
7710
_ACEOF
 
7711
rm -f conftest.$ac_objext
 
7712
if { (ac_try="$ac_compile"
 
7713
case "(($ac_try" in
 
7714
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7715
  *) ac_try_echo=$ac_try;;
 
7716
esac
 
7717
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7718
$as_echo "$ac_try_echo") >&5
 
7719
  (eval "$ac_compile") 2>conftest.er1
 
7720
  ac_status=$?
 
7721
  grep -v '^ *+' conftest.er1 >conftest.err
 
7722
  rm -f conftest.er1
 
7723
  cat conftest.err >&5
 
7724
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7725
  (exit $ac_status); } && {
 
7726
         test -z "$ac_c_werror_flag" ||
 
7727
         test ! -s conftest.err
 
7728
       } && test -s conftest.$ac_objext; then
 
7729
  ac_cv_have_decl_xfree=yes
 
7730
else
 
7731
  $as_echo "$as_me: failed program was:" >&5
 
7732
sed 's/^/| /' conftest.$ac_ext >&5
 
7733
 
 
7734
        ac_cv_have_decl_xfree=no
 
7735
fi
 
7736
 
 
7737
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7738
fi
 
7739
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xfree" >&5
 
7740
$as_echo "$ac_cv_have_decl_xfree" >&6; }
 
7741
if test $ac_cv_have_decl_xfree = yes; then
 
7742
 
 
7743
cat >>confdefs.h <<_ACEOF
 
7744
#define HAVE_DECL_XFREE 1
 
7745
_ACEOF
 
7746
 
 
7747
 
 
7748
else
 
7749
  cat >>confdefs.h <<_ACEOF
 
7750
#define HAVE_DECL_XFREE 0
 
7751
_ACEOF
 
7752
 
 
7753
 
 
7754
fi
 
7755
 
 
7756
 
 
7757
 
 
7758
{ $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
 
7759
$as_echo_n "checking for main in -lm... " >&6; }
 
7760
if test "${ac_cv_lib_m_main+set}" = set; then
 
7761
  $as_echo_n "(cached) " >&6
 
7762
else
 
7763
  ac_check_lib_save_LIBS=$LIBS
 
7764
LIBS="-lm  $LIBS"
 
7765
cat >conftest.$ac_ext <<_ACEOF
 
7766
/* confdefs.h.  */
 
7767
_ACEOF
 
7768
cat confdefs.h >>conftest.$ac_ext
 
7769
cat >>conftest.$ac_ext <<_ACEOF
 
7770
/* end confdefs.h.  */
 
7771
 
 
7772
 
 
7773
int
 
7774
main ()
 
7775
{
 
7776
return main ();
 
7777
  ;
 
7778
  return 0;
 
7779
}
 
7780
_ACEOF
 
7781
rm -f conftest.$ac_objext conftest$ac_exeext
 
7782
if { (ac_try="$ac_link"
 
7783
case "(($ac_try" in
 
7784
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7785
  *) ac_try_echo=$ac_try;;
 
7786
esac
 
7787
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7788
$as_echo "$ac_try_echo") >&5
 
7789
  (eval "$ac_link") 2>conftest.er1
 
7790
  ac_status=$?
 
7791
  grep -v '^ *+' conftest.er1 >conftest.err
 
7792
  rm -f conftest.er1
 
7793
  cat conftest.err >&5
 
7794
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7795
  (exit $ac_status); } && {
 
7796
         test -z "$ac_c_werror_flag" ||
 
7797
         test ! -s conftest.err
 
7798
       } && test -s conftest$ac_exeext && {
 
7799
         test "$cross_compiling" = yes ||
 
7800
         $as_test_x conftest$ac_exeext
 
7801
       }; then
 
7802
  ac_cv_lib_m_main=yes
 
7803
else
 
7804
  $as_echo "$as_me: failed program was:" >&5
 
7805
sed 's/^/| /' conftest.$ac_ext >&5
 
7806
 
 
7807
        ac_cv_lib_m_main=no
 
7808
fi
 
7809
 
 
7810
rm -rf conftest.dSYM
 
7811
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7812
      conftest$ac_exeext conftest.$ac_ext
 
7813
LIBS=$ac_check_lib_save_LIBS
 
7814
fi
 
7815
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
 
7816
$as_echo "$ac_cv_lib_m_main" >&6; }
 
7817
if test $ac_cv_lib_m_main = yes; then
 
7818
  cat >>confdefs.h <<_ACEOF
 
7819
#define HAVE_LIBM 1
 
7820
_ACEOF
 
7821
 
 
7822
  LIBS="-lm $LIBS"
 
7823
 
 
7824
fi
 
7825
 
 
7826
 
 
7827
{ $as_echo "$as_me:$LINENO: checking for main in -lmw" >&5
 
7828
$as_echo_n "checking for main in -lmw... " >&6; }
 
7829
if test "${ac_cv_lib_mw_main+set}" = set; then
 
7830
  $as_echo_n "(cached) " >&6
 
7831
else
 
7832
  ac_check_lib_save_LIBS=$LIBS
 
7833
LIBS="-lmw  $LIBS"
 
7834
cat >conftest.$ac_ext <<_ACEOF
 
7835
/* confdefs.h.  */
 
7836
_ACEOF
 
7837
cat confdefs.h >>conftest.$ac_ext
 
7838
cat >>conftest.$ac_ext <<_ACEOF
 
7839
/* end confdefs.h.  */
 
7840
 
 
7841
 
 
7842
int
 
7843
main ()
 
7844
{
 
7845
return main ();
 
7846
  ;
 
7847
  return 0;
 
7848
}
 
7849
_ACEOF
 
7850
rm -f conftest.$ac_objext conftest$ac_exeext
 
7851
if { (ac_try="$ac_link"
 
7852
case "(($ac_try" in
 
7853
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7854
  *) ac_try_echo=$ac_try;;
 
7855
esac
 
7856
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7857
$as_echo "$ac_try_echo") >&5
 
7858
  (eval "$ac_link") 2>conftest.er1
 
7859
  ac_status=$?
 
7860
  grep -v '^ *+' conftest.er1 >conftest.err
 
7861
  rm -f conftest.er1
 
7862
  cat conftest.err >&5
 
7863
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7864
  (exit $ac_status); } && {
 
7865
         test -z "$ac_c_werror_flag" ||
 
7866
         test ! -s conftest.err
 
7867
       } && test -s conftest$ac_exeext && {
 
7868
         test "$cross_compiling" = yes ||
 
7869
         $as_test_x conftest$ac_exeext
 
7870
       }; then
 
7871
  ac_cv_lib_mw_main=yes
 
7872
else
 
7873
  $as_echo "$as_me: failed program was:" >&5
 
7874
sed 's/^/| /' conftest.$ac_ext >&5
 
7875
 
 
7876
        ac_cv_lib_mw_main=no
 
7877
fi
 
7878
 
 
7879
rm -rf conftest.dSYM
 
7880
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7881
      conftest$ac_exeext conftest.$ac_ext
 
7882
LIBS=$ac_check_lib_save_LIBS
 
7883
fi
 
7884
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mw_main" >&5
 
7885
$as_echo "$ac_cv_lib_mw_main" >&6; }
 
7886
if test $ac_cv_lib_mw_main = yes; then
 
7887
  cat >>confdefs.h <<_ACEOF
 
7888
#define HAVE_LIBMW 1
 
7889
_ACEOF
 
7890
 
 
7891
  LIBS="-lmw $LIBS"
 
7892
 
 
7893
fi
 
7894
 
 
7895
  LIBS="-lmiscutil $LIBS"
 
7896
 
 
7897
 
 
7898
 
 
7899
 
 
7900
 
 
7901
fi
 
7902
 
 
7903
 
 
7904
 
 
7905
 
 
7906
 
 
7907
echo "configure: ## -----------------------------##"
 
7908
echo "configure: ##"
 
7909
echo "configure: ## $enable_arg has been selected"
 
7910
echo "configure: ##"
 
7911
echo "configure: ## -----------------------------##"
 
7912
 
 
7913
 if test x"$ac_cv_have_spnego" = x"yes" ; then
 
7914
  HAVE_SPNEGO_TRUE=
 
7915
  HAVE_SPNEGO_FALSE='#'
 
7916
else
 
7917
  HAVE_SPNEGO_TRUE='#'
 
7918
  HAVE_SPNEGO_FALSE=
 
7919
fi
 
7920
 
 
7921
 
 
7922
MY_CFLAGS="-Wall -Wextra -Werror -Wcomment -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wshadow"
 
7923
for ac_cv_my_cflag in $MY_CFLAGS; do
 
7924
echo "int main()
 
7925
  {
 
7926
     return 0;
 
7927
  };" > conftest.c
 
7928
${CC} $ac_cv_my_cflag -c conftest.c 2>/dev/null
 
7929
res=$?
 
7930
rm -f conftest.*
 
7931
if test "$res" = "0"; then
 
7932
 CFLAGS="$CFLAGS $ac_cv_my_cflag"
 
7933
fi
 
7934
done
 
7935
 
 
7936
ac_config_files="$ac_config_files Makefile"
 
7937
 
 
7938
cat >confcache <<\_ACEOF
 
7939
# This file is a shell script that caches the results of configure
 
7940
# tests run on this system so they can be shared between configure
 
7941
# scripts and configure runs, see configure's option --config-cache.
 
7942
# It is not useful on other systems.  If it contains results you don't
 
7943
# want to keep, you may remove or edit it.
 
7944
#
 
7945
# config.status only pays attention to the cache file if you give it
 
7946
# the --recheck option to rerun configure.
 
7947
#
 
7948
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
7949
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
7950
# following values.
 
7951
 
 
7952
_ACEOF
 
7953
 
 
7954
# The following way of writing the cache mishandles newlines in values,
 
7955
# but we know of no workaround that is simple, portable, and efficient.
 
7956
# So, we kill variables containing newlines.
 
7957
# Ultrix sh set writes to stderr and can't be redirected directly,
 
7958
# and sets the high bit in the cache file unless we assign to the vars.
 
7959
(
 
7960
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
7961
    eval ac_val=\$$ac_var
 
7962
    case $ac_val in #(
 
7963
    *${as_nl}*)
 
7964
      case $ac_var in #(
 
7965
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
7966
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
7967
      esac
 
7968
      case $ac_var in #(
 
7969
      _ | IFS | as_nl) ;; #(
 
7970
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
7971
      *) $as_unset $ac_var ;;
 
7972
      esac ;;
 
7973
    esac
 
7974
  done
 
7975
 
 
7976
  (set) 2>&1 |
 
7977
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
7978
    *${as_nl}ac_space=\ *)
 
7979
      # `set' does not quote correctly, so add quotes (double-quote
 
7980
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
7981
      sed -n \
 
7982
        "s/'/'\\\\''/g;
 
7983
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
7984
      ;; #(
 
7985
    *)
 
7986
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
7987
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
7988
      ;;
 
7989
    esac |
 
7990
    sort
 
7991
) |
 
7992
  sed '
 
7993
     /^ac_cv_env_/b end
 
7994
     t clear
 
7995
     :clear
 
7996
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
7997
     t end
 
7998
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
7999
     :end' >>confcache
 
8000
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
8001
  if test -w "$cache_file"; then
 
8002
    test "x$cache_file" != "x/dev/null" &&
 
8003
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
8004
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
8005
    cat confcache >$cache_file
 
8006
  else
 
8007
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
8008
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
8009
  fi
 
8010
fi
 
8011
rm -f confcache
 
8012
 
 
8013
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
8014
# Let make expand exec_prefix.
 
8015
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
8016
 
 
8017
DEFS=-DHAVE_CONFIG_H
 
8018
 
 
8019
ac_libobjs=
 
8020
ac_ltlibobjs=
 
8021
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
8022
  # 1. Remove the extension, and $U if already installed.
 
8023
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
8024
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
8025
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
8026
  #    will be set to the directory where LIBOBJS objects are built.
 
8027
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
8028
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
8029
done
 
8030
LIBOBJS=$ac_libobjs
 
8031
 
 
8032
LTLIBOBJS=$ac_ltlibobjs
 
8033
 
 
8034
 
 
8035
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
8036
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
8037
Usually this means the macro was only invoked conditionally." >&5
 
8038
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
8039
Usually this means the macro was only invoked conditionally." >&2;}
 
8040
   { (exit 1); exit 1; }; }
 
8041
fi
 
8042
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
8043
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
8044
Usually this means the macro was only invoked conditionally." >&5
 
8045
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
8046
Usually this means the macro was only invoked conditionally." >&2;}
 
8047
   { (exit 1); exit 1; }; }
 
8048
fi
 
8049
if test -z "${HAVE_SPNEGO_TRUE}" && test -z "${HAVE_SPNEGO_FALSE}"; then
 
8050
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SPNEGO\" was never defined.
 
8051
Usually this means the macro was only invoked conditionally." >&5
 
8052
$as_echo "$as_me: error: conditional \"HAVE_SPNEGO\" was never defined.
 
8053
Usually this means the macro was only invoked conditionally." >&2;}
 
8054
   { (exit 1); exit 1; }; }
 
8055
fi
 
8056
 
 
8057
: ${CONFIG_STATUS=./config.status}
 
8058
ac_write_fail=0
 
8059
ac_clean_files_save=$ac_clean_files
 
8060
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
8061
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
8062
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
8063
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8064
#! $SHELL
 
8065
# Generated by $as_me.
 
8066
# Run this file to recreate the current configuration.
 
8067
# Compiler output produced by configure, useful for debugging
 
8068
# configure, is in config.log if it exists.
 
8069
 
 
8070
debug=false
 
8071
ac_cs_recheck=false
 
8072
ac_cs_silent=false
 
8073
SHELL=\${CONFIG_SHELL-$SHELL}
 
8074
_ACEOF
 
8075
 
 
8076
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
8077
## --------------------- ##
 
8078
## M4sh Initialization.  ##
 
8079
## --------------------- ##
 
8080
 
 
8081
# Be more Bourne compatible
 
8082
DUALCASE=1; export DUALCASE # for MKS sh
 
8083
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
8084
  emulate sh
 
8085
  NULLCMD=:
 
8086
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
8087
  # is contrary to our usage.  Disable this feature.
 
8088
  alias -g '${1+"$@"}'='"$@"'
 
8089
  setopt NO_GLOB_SUBST
 
8090
else
 
8091
  case `(set -o) 2>/dev/null` in
 
8092
  *posix*) set -o posix ;;
 
8093
esac
 
8094
 
 
8095
fi
 
8096
 
 
8097
 
 
8098
 
 
8099
 
 
8100
# PATH needs CR
 
8101
# Avoid depending upon Character Ranges.
 
8102
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
8103
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
8104
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
8105
as_cr_digits='0123456789'
 
8106
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
8107
 
 
8108
as_nl='
 
8109
'
 
8110
export as_nl
 
8111
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
8112
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
8113
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
8114
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
8115
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
8116
  as_echo='printf %s\n'
 
8117
  as_echo_n='printf %s'
 
8118
else
 
8119
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
8120
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
8121
    as_echo_n='/usr/ucb/echo -n'
 
8122
  else
 
8123
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
8124
    as_echo_n_body='eval
 
8125
      arg=$1;
 
8126
      case $arg in
 
8127
      *"$as_nl"*)
 
8128
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
8129
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
8130
      esac;
 
8131
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
8132
    '
 
8133
    export as_echo_n_body
 
8134
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
8135
  fi
 
8136
  export as_echo_body
 
8137
  as_echo='sh -c $as_echo_body as_echo'
 
8138
fi
 
8139
 
 
8140
# The user is always right.
 
8141
if test "${PATH_SEPARATOR+set}" != set; then
 
8142
  PATH_SEPARATOR=:
 
8143
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
8144
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
8145
      PATH_SEPARATOR=';'
 
8146
  }
 
8147
fi
 
8148
 
 
8149
# Support unset when possible.
 
8150
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
8151
  as_unset=unset
 
8152
else
 
8153
  as_unset=false
 
8154
fi
 
8155
 
 
8156
 
 
8157
# IFS
 
8158
# We need space, tab and new line, in precisely that order.  Quoting is
 
8159
# there to prevent editors from complaining about space-tab.
 
8160
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
8161
# splitting by setting IFS to empty value.)
 
8162
IFS=" ""        $as_nl"
 
8163
 
 
8164
# Find who we are.  Look in the path if we contain no directory separator.
 
8165
case $0 in
 
8166
  *[\\/]* ) as_myself=$0 ;;
 
8167
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8168
for as_dir in $PATH
 
8169
do
 
8170
  IFS=$as_save_IFS
 
8171
  test -z "$as_dir" && as_dir=.
 
8172
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
8173
done
 
8174
IFS=$as_save_IFS
 
8175
 
 
8176
     ;;
 
8177
esac
 
8178
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
8179
# in which case we are not to be found in the path.
 
8180
if test "x$as_myself" = x; then
 
8181
  as_myself=$0
 
8182
fi
 
8183
if test ! -f "$as_myself"; then
 
8184
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
8185
  { (exit 1); exit 1; }
 
8186
fi
 
8187
 
 
8188
# Work around bugs in pre-3.0 UWIN ksh.
 
8189
for as_var in ENV MAIL MAILPATH
 
8190
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
8191
done
 
8192
PS1='$ '
 
8193
PS2='> '
 
8194
PS4='+ '
 
8195
 
 
8196
# NLS nuisances.
 
8197
LC_ALL=C
 
8198
export LC_ALL
 
8199
LANGUAGE=C
 
8200
export LANGUAGE
 
8201
 
 
8202
# Required to use basename.
 
8203
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
8204
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
8205
  as_expr=expr
 
8206
else
 
8207
  as_expr=false
 
8208
fi
 
8209
 
 
8210
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
8211
  as_basename=basename
 
8212
else
 
8213
  as_basename=false
 
8214
fi
 
8215
 
 
8216
 
 
8217
# Name of the executable.
 
8218
as_me=`$as_basename -- "$0" ||
 
8219
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
8220
         X"$0" : 'X\(//\)$' \| \
 
8221
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
8222
$as_echo X/"$0" |
 
8223
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
8224
            s//\1/
 
8225
            q
 
8226
          }
 
8227
          /^X\/\(\/\/\)$/{
 
8228
            s//\1/
 
8229
            q
 
8230
          }
 
8231
          /^X\/\(\/\).*/{
 
8232
            s//\1/
 
8233
            q
 
8234
          }
 
8235
          s/.*/./; q'`
 
8236
 
 
8237
# CDPATH.
 
8238
$as_unset CDPATH
 
8239
 
 
8240
 
 
8241
 
 
8242
  as_lineno_1=$LINENO
 
8243
  as_lineno_2=$LINENO
 
8244
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
8245
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
8246
 
 
8247
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
8248
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
8249
  # line-number line after each line using $LINENO; the second 'sed'
 
8250
  # does the real work.  The second script uses 'N' to pair each
 
8251
  # line-number line with the line containing $LINENO, and appends
 
8252
  # trailing '-' during substitution so that $LINENO is not a special
 
8253
  # case at line end.
 
8254
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
8255
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
8256
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
8257
  sed -n '
 
8258
    p
 
8259
    /[$]LINENO/=
 
8260
  ' <$as_myself |
 
8261
    sed '
 
8262
      s/[$]LINENO.*/&-/
 
8263
      t lineno
 
8264
      b
 
8265
      :lineno
 
8266
      N
 
8267
      :loop
 
8268
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
8269
      t loop
 
8270
      s/-\n.*//
 
8271
    ' >$as_me.lineno &&
 
8272
  chmod +x "$as_me.lineno" ||
 
8273
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
8274
   { (exit 1); exit 1; }; }
 
8275
 
 
8276
  # Don't try to exec as it changes $[0], causing all sort of problems
 
8277
  # (the dirname of $[0] is not the place where we might find the
 
8278
  # original and so on.  Autoconf is especially sensitive to this).
 
8279
  . "./$as_me.lineno"
 
8280
  # Exit status is that of the last command.
 
8281
  exit
 
8282
}
 
8283
 
 
8284
 
 
8285
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
8286
  as_dirname=dirname
 
8287
else
 
8288
  as_dirname=false
 
8289
fi
 
8290
 
 
8291
ECHO_C= ECHO_N= ECHO_T=
 
8292
case `echo -n x` in
 
8293
-n*)
 
8294
  case `echo 'x\c'` in
 
8295
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
8296
  *)   ECHO_C='\c';;
 
8297
  esac;;
 
8298
*)
 
8299
  ECHO_N='-n';;
 
8300
esac
 
8301
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
8302
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
8303
  as_expr=expr
 
8304
else
 
8305
  as_expr=false
 
8306
fi
 
8307
 
 
8308
rm -f conf$$ conf$$.exe conf$$.file
 
8309
if test -d conf$$.dir; then
 
8310
  rm -f conf$$.dir/conf$$.file
 
8311
else
 
8312
  rm -f conf$$.dir
 
8313
  mkdir conf$$.dir 2>/dev/null
 
8314
fi
 
8315
if (echo >conf$$.file) 2>/dev/null; then
 
8316
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
8317
    as_ln_s='ln -s'
 
8318
    # ... but there are two gotchas:
 
8319
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
8320
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
8321
    # In both cases, we have to default to `cp -p'.
 
8322
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
8323
      as_ln_s='cp -p'
 
8324
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
8325
    as_ln_s=ln
 
8326
  else
 
8327
    as_ln_s='cp -p'
 
8328
  fi
 
8329
else
 
8330
  as_ln_s='cp -p'
 
8331
fi
 
8332
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
8333
rmdir conf$$.dir 2>/dev/null
 
8334
 
 
8335
if mkdir -p . 2>/dev/null; then
 
8336
  as_mkdir_p=:
 
8337
else
 
8338
  test -d ./-p && rmdir ./-p
 
8339
  as_mkdir_p=false
 
8340
fi
 
8341
 
 
8342
if test -x / >/dev/null 2>&1; then
 
8343
  as_test_x='test -x'
 
8344
else
 
8345
  if ls -dL / >/dev/null 2>&1; then
 
8346
    as_ls_L_option=L
 
8347
  else
 
8348
    as_ls_L_option=
 
8349
  fi
 
8350
  as_test_x='
 
8351
    eval sh -c '\''
 
8352
      if test -d "$1"; then
 
8353
        test -d "$1/.";
 
8354
      else
 
8355
        case $1 in
 
8356
        -*)set "./$1";;
 
8357
        esac;
 
8358
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
8359
        ???[sx]*):;;*)false;;esac;fi
 
8360
    '\'' sh
 
8361
  '
 
8362
fi
 
8363
as_executable_p=$as_test_x
 
8364
 
 
8365
# Sed expression to map a string onto a valid CPP name.
 
8366
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
8367
 
 
8368
# Sed expression to map a string onto a valid variable name.
 
8369
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
8370
 
 
8371
 
 
8372
exec 6>&1
 
8373
 
 
8374
# Save the log message, to keep $[0] and so on meaningful, and to
 
8375
# report actual input values of CONFIG_FILES etc. instead of their
 
8376
# values after options handling.
 
8377
ac_log="
 
8378
This file was extended by squid_kerb_auth $as_me 1.0.5, which was
 
8379
generated by GNU Autoconf 2.62.  Invocation command line was
 
8380
 
 
8381
  CONFIG_FILES    = $CONFIG_FILES
 
8382
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
8383
  CONFIG_LINKS    = $CONFIG_LINKS
 
8384
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
8385
  $ $0 $@
 
8386
 
 
8387
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
8388
"
 
8389
 
 
8390
_ACEOF
 
8391
 
 
8392
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8393
# Files that config.status was made for.
 
8394
config_files="$ac_config_files"
 
8395
config_headers="$ac_config_headers"
 
8396
config_commands="$ac_config_commands"
 
8397
 
 
8398
_ACEOF
 
8399
 
 
8400
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
8401
ac_cs_usage="\
 
8402
\`$as_me' instantiates files from templates according to the
 
8403
current configuration.
 
8404
 
 
8405
Usage: $0 [OPTIONS] [FILE]...
 
8406
 
 
8407
  -h, --help       print this help, then exit
 
8408
  -V, --version    print version number and configuration settings, then exit
 
8409
  -q, --quiet      do not print progress messages
 
8410
  -d, --debug      don't remove temporary files
 
8411
      --recheck    update $as_me by reconfiguring in the same conditions
 
8412
  --file=FILE[:TEMPLATE]
 
8413
                   instantiate the configuration file FILE
 
8414
  --header=FILE[:TEMPLATE]
 
8415
                   instantiate the configuration header FILE
 
8416
 
 
8417
Configuration files:
 
8418
$config_files
 
8419
 
 
8420
Configuration headers:
 
8421
$config_headers
 
8422
 
 
8423
Configuration commands:
 
8424
$config_commands
 
8425
 
 
8426
Report bugs to <bug-autoconf@gnu.org>."
 
8427
 
 
8428
_ACEOF
 
8429
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8430
ac_cs_version="\\
 
8431
squid_kerb_auth config.status 1.0.5
 
8432
configured by $0, generated by GNU Autoconf 2.62,
 
8433
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
8434
 
 
8435
Copyright (C) 2008 Free Software Foundation, Inc.
 
8436
This config.status script is free software; the Free Software Foundation
 
8437
gives unlimited permission to copy, distribute and modify it."
 
8438
 
 
8439
ac_pwd='$ac_pwd'
 
8440
srcdir='$srcdir'
 
8441
INSTALL='$INSTALL'
 
8442
MKDIR_P='$MKDIR_P'
 
8443
AWK='$AWK'
 
8444
test -n "\$AWK" || AWK=awk
 
8445
_ACEOF
 
8446
 
 
8447
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
8448
# The default lists apply if the user does not specify any file.
 
8449
ac_need_defaults=:
 
8450
while test $# != 0
 
8451
do
 
8452
  case $1 in
 
8453
  --*=*)
 
8454
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
8455
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
8456
    ac_shift=:
 
8457
    ;;
 
8458
  *)
 
8459
    ac_option=$1
 
8460
    ac_optarg=$2
 
8461
    ac_shift=shift
 
8462
    ;;
 
8463
  esac
 
8464
 
 
8465
  case $ac_option in
 
8466
  # Handling of the options.
 
8467
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
8468
    ac_cs_recheck=: ;;
 
8469
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
8470
    $as_echo "$ac_cs_version"; exit ;;
 
8471
  --debug | --debu | --deb | --de | --d | -d )
 
8472
    debug=: ;;
 
8473
  --file | --fil | --fi | --f )
 
8474
    $ac_shift
 
8475
    case $ac_optarg in
 
8476
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
8477
    esac
 
8478
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
8479
    ac_need_defaults=false;;
 
8480
  --header | --heade | --head | --hea )
 
8481
    $ac_shift
 
8482
    case $ac_optarg in
 
8483
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
8484
    esac
 
8485
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
8486
    ac_need_defaults=false;;
 
8487
  --he | --h)
 
8488
    # Conflict between --help and --header
 
8489
    { $as_echo "$as_me: error: ambiguous option: $1
 
8490
Try \`$0 --help' for more information." >&2
 
8491
   { (exit 1); exit 1; }; };;
 
8492
  --help | --hel | -h )
 
8493
    $as_echo "$ac_cs_usage"; exit ;;
 
8494
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
8495
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
8496
    ac_cs_silent=: ;;
 
8497
 
 
8498
  # This is an error.
 
8499
  -*) { $as_echo "$as_me: error: unrecognized option: $1
 
8500
Try \`$0 --help' for more information." >&2
 
8501
   { (exit 1); exit 1; }; } ;;
 
8502
 
 
8503
  *) ac_config_targets="$ac_config_targets $1"
 
8504
     ac_need_defaults=false ;;
 
8505
 
 
8506
  esac
 
8507
  shift
 
8508
done
 
8509
 
 
8510
ac_configure_extra_args=
 
8511
 
 
8512
if $ac_cs_silent; then
 
8513
  exec 6>/dev/null
 
8514
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
8515
fi
 
8516
 
 
8517
_ACEOF
 
8518
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8519
if \$ac_cs_recheck; then
 
8520
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
8521
  shift
 
8522
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
8523
  CONFIG_SHELL='$SHELL'
 
8524
  export CONFIG_SHELL
 
8525
  exec "\$@"
 
8526
fi
 
8527
 
 
8528
_ACEOF
 
8529
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
8530
exec 5>>config.log
 
8531
{
 
8532
  echo
 
8533
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
8534
## Running $as_me. ##
 
8535
_ASBOX
 
8536
  $as_echo "$ac_log"
 
8537
} >&5
 
8538
 
 
8539
_ACEOF
 
8540
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8541
#
 
8542
# INIT-COMMANDS
 
8543
#
 
8544
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
8545
 
 
8546
_ACEOF
 
8547
 
 
8548
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
8549
 
 
8550
# Handling of arguments.
 
8551
for ac_config_target in $ac_config_targets
 
8552
do
 
8553
  case $ac_config_target in
 
8554
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
8555
    "ska_config.h") CONFIG_HEADERS="$CONFIG_HEADERS ska_config.h" ;;
 
8556
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
8557
 
 
8558
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
8559
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
8560
   { (exit 1); exit 1; }; };;
 
8561
  esac
 
8562
done
 
8563
 
 
8564
 
 
8565
# If the user did not use the arguments to specify the items to instantiate,
 
8566
# then the envvar interface is used.  Set only those that are not.
 
8567
# We use the long form for the default assignment because of an extremely
 
8568
# bizarre bug on SunOS 4.1.3.
 
8569
if $ac_need_defaults; then
 
8570
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
8571
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
8572
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
8573
fi
 
8574
 
 
8575
# Have a temporary directory for convenience.  Make it in the build tree
 
8576
# simply because there is no reason against having it here, and in addition,
 
8577
# creating and moving files from /tmp can sometimes cause problems.
 
8578
# Hook for its removal unless debugging.
 
8579
# Note that there is a small window in which the directory will not be cleaned:
 
8580
# after its creation but before its name has been assigned to `$tmp'.
 
8581
$debug ||
 
8582
{
 
8583
  tmp=
 
8584
  trap 'exit_status=$?
 
8585
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
8586
' 0
 
8587
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
8588
}
 
8589
# Create a (secure) tmp directory for tmp files.
 
8590
 
 
8591
{
 
8592
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
8593
  test -n "$tmp" && test -d "$tmp"
 
8594
}  ||
 
8595
{
 
8596
  tmp=./conf$$-$RANDOM
 
8597
  (umask 077 && mkdir "$tmp")
 
8598
} ||
 
8599
{
 
8600
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
 
8601
   { (exit 1); exit 1; }
 
8602
}
 
8603
 
 
8604
# Set up the scripts for CONFIG_FILES section.
 
8605
# No need to generate them if there are no CONFIG_FILES.
 
8606
# This happens for instance with `./config.status config.h'.
 
8607
if test -n "$CONFIG_FILES"; then
 
8608
 
 
8609
 
 
8610
ac_cr='
 
 
b"'"
 
8611
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
8612
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
8613
  ac_cs_awk_cr='\\r'
 
8614
else
 
8615
  ac_cs_awk_cr=$ac_cr
 
8616
fi
 
8617
 
 
8618
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
8619
_ACEOF
 
8620
 
 
8621
 
 
8622
{
 
8623
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
8624
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
8625
  echo "_ACEOF"
 
8626
} >conf$$subs.sh ||
 
8627
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
8628
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
8629
   { (exit 1); exit 1; }; }
 
8630
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
8631
ac_delim='%!_!# '
 
8632
for ac_last_try in false false false false false :; do
 
8633
  . ./conf$$subs.sh ||
 
8634
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
8635
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
8636
   { (exit 1); exit 1; }; }
 
8637
 
 
8638
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 
8639
    break
 
8640
  elif $ac_last_try; then
 
8641
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
8642
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
8643
   { (exit 1); exit 1; }; }
 
8644
  else
 
8645
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
8646
  fi
 
8647
done
 
8648
rm -f conf$$subs.sh
 
8649
 
 
8650
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8651
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
8652
_ACEOF
 
8653
sed -n '
 
8654
h
 
8655
s/^/S["/; s/!.*/"]=/
 
8656
p
 
8657
g
 
8658
s/^[^!]*!//
 
8659
:repl
 
8660
t repl
 
8661
s/'"$ac_delim"'$//
 
8662
t delim
 
8663
:nl
 
8664
h
 
8665
s/\(.\{148\}\).*/\1/
 
8666
t more1
 
8667
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
8668
p
 
8669
n
 
8670
b repl
 
8671
:more1
 
8672
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
8673
p
 
8674
g
 
8675
s/.\{148\}//
 
8676
t nl
 
8677
:delim
 
8678
h
 
8679
s/\(.\{148\}\).*/\1/
 
8680
t more2
 
8681
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
8682
p
 
8683
b
 
8684
:more2
 
8685
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
8686
p
 
8687
g
 
8688
s/.\{148\}//
 
8689
t delim
 
8690
' <conf$$subs.awk | sed '
 
8691
/^[^""]/{
 
8692
  N
 
8693
  s/\n//
 
8694
}
 
8695
' >>$CONFIG_STATUS || ac_write_fail=1
 
8696
rm -f conf$$subs.awk
 
8697
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8698
_ACAWK
 
8699
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
8700
  for (key in S) S_is_set[key] = 1
 
8701
  FS = ""
 
8702
 
 
8703
}
 
8704
{
 
8705
  line = $ 0
 
8706
  nfields = split(line, field, "@")
 
8707
  substed = 0
 
8708
  len = length(field[1])
 
8709
  for (i = 2; i < nfields; i++) {
 
8710
    key = field[i]
 
8711
    keylen = length(key)
 
8712
    if (S_is_set[key]) {
 
8713
      value = S[key]
 
8714
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
8715
      len += length(value) + length(field[++i])
 
8716
      substed = 1
 
8717
    } else
 
8718
      len += 1 + keylen
 
8719
  }
 
8720
 
 
8721
  print line
 
8722
}
 
8723
 
 
8724
_ACAWK
 
8725
_ACEOF
 
8726
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
8727
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
8728
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
8729
else
 
8730
  cat
 
8731
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
8732
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
8733
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
8734
   { (exit 1); exit 1; }; }
 
8735
_ACEOF
 
8736
 
 
8737
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
8738
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
8739
# trailing colons and then remove the whole line if VPATH becomes empty
 
8740
# (actually we leave an empty line to preserve line numbers).
 
8741
if test "x$srcdir" = x.; then
 
8742
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
8743
s/:*\$(srcdir):*/:/
 
8744
s/:*\${srcdir}:*/:/
 
8745
s/:*@srcdir@:*/:/
 
8746
s/^\([^=]*=[     ]*\):*/\1/
 
8747
s/:*$//
 
8748
s/^[^=]*=[       ]*$//
 
8749
}'
 
8750
fi
 
8751
 
 
8752
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
8753
fi # test -n "$CONFIG_FILES"
 
8754
 
 
8755
# Set up the scripts for CONFIG_HEADERS section.
 
8756
# No need to generate them if there are no CONFIG_HEADERS.
 
8757
# This happens for instance with `./config.status Makefile'.
 
8758
if test -n "$CONFIG_HEADERS"; then
 
8759
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
8760
BEGIN {
 
8761
_ACEOF
 
8762
 
 
8763
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
8764
# here-document in config.status, that substitutes the proper values into
 
8765
# config.h.in to produce config.h.
 
8766
 
 
8767
# Create a delimiter string that does not exist in confdefs.h, to ease
 
8768
# handling of long lines.
 
8769
ac_delim='%!_!# '
 
8770
for ac_last_try in false false :; do
 
8771
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
8772
  if test -z "$ac_t"; then
 
8773
    break
 
8774
  elif $ac_last_try; then
 
8775
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
8776
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
8777
   { (exit 1); exit 1; }; }
 
8778
  else
 
8779
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
8780
  fi
 
8781
done
 
8782
 
 
8783
# For the awk script, D is an array of macro values keyed by name,
 
8784
# likewise P contains macro parameters if any.  Preserve backslash
 
8785
# newline sequences.
 
8786
 
 
8787
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
8788
sed -n '
 
8789
s/.\{148\}/&'"$ac_delim"'/g
 
8790
t rset
 
8791
:rset
 
8792
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
8793
t def
 
8794
d
 
8795
:def
 
8796
s/\\$//
 
8797
t bsnl
 
8798
s/["\\]/\\&/g
 
8799
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
8800
D["\1"]=" \3"/p
 
8801
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
8802
d
 
8803
:bsnl
 
8804
s/["\\]/\\&/g
 
8805
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
8806
D["\1"]=" \3\\\\\\n"\\/p
 
8807
t cont
 
8808
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
8809
t cont
 
8810
d
 
8811
:cont
 
8812
n
 
8813
s/.\{148\}/&'"$ac_delim"'/g
 
8814
t clear
 
8815
:clear
 
8816
s/\\$//
 
8817
t bsnlc
 
8818
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
8819
d
 
8820
:bsnlc
 
8821
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
8822
b cont
 
8823
' <confdefs.h | sed '
 
8824
s/'"$ac_delim"'/"\\\
 
8825
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
8826
 
 
8827
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8828
  for (key in D) D_is_set[key] = 1
 
8829
  FS = ""
 
8830
}
 
8831
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
8832
  line = \$ 0
 
8833
  split(line, arg, " ")
 
8834
  if (arg[1] == "#") {
 
8835
    defundef = arg[2]
 
8836
    mac1 = arg[3]
 
8837
  } else {
 
8838
    defundef = substr(arg[1], 2)
 
8839
    mac1 = arg[2]
 
8840
  }
 
8841
  split(mac1, mac2, "(") #)
 
8842
  macro = mac2[1]
 
8843
  if (D_is_set[macro]) {
 
8844
    # Preserve the white space surrounding the "#".
 
8845
    prefix = substr(line, 1, index(line, defundef) - 1)
 
8846
    print prefix "define", macro P[macro] D[macro]
 
8847
    next
 
8848
  } else {
 
8849
    # Replace #undef with comments.  This is necessary, for example,
 
8850
    # in the case of _POSIX_SOURCE, which is predefined and required
 
8851
    # on some systems where configure will not decide to define it.
 
8852
    if (defundef == "undef") {
 
8853
      print "/*", line, "*/"
 
8854
      next
 
8855
    }
 
8856
  }
 
8857
}
 
8858
{ print }
 
8859
_ACAWK
 
8860
_ACEOF
 
8861
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
8862
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
8863
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
8864
   { (exit 1); exit 1; }; }
 
8865
fi # test -n "$CONFIG_HEADERS"
 
8866
 
 
8867
 
 
8868
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
8869
shift
 
8870
for ac_tag
 
8871
do
 
8872
  case $ac_tag in
 
8873
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
8874
  esac
 
8875
  case $ac_mode$ac_tag in
 
8876
  :[FHL]*:*);;
 
8877
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
8878
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
8879
   { (exit 1); exit 1; }; };;
 
8880
  :[FH]-) ac_tag=-:-;;
 
8881
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
8882
  esac
 
8883
  ac_save_IFS=$IFS
 
8884
  IFS=:
 
8885
  set x $ac_tag
 
8886
  IFS=$ac_save_IFS
 
8887
  shift
 
8888
  ac_file=$1
 
8889
  shift
 
8890
 
 
8891
  case $ac_mode in
 
8892
  :L) ac_source=$1;;
 
8893
  :[FH])
 
8894
    ac_file_inputs=
 
8895
    for ac_f
 
8896
    do
 
8897
      case $ac_f in
 
8898
      -) ac_f="$tmp/stdin";;
 
8899
      *) # Look for the file first in the build tree, then in the source tree
 
8900
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
8901
         # because $ac_f cannot contain `:'.
 
8902
         test -f "$ac_f" ||
 
8903
           case $ac_f in
 
8904
           [\\/$]*) false;;
 
8905
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
8906
           esac ||
 
8907
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
8908
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
8909
   { (exit 1); exit 1; }; };;
 
8910
      esac
 
8911
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
8912
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
8913
    done
 
8914
 
 
8915
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
8916
    # use $as_me), people would be surprised to read:
 
8917
    #    /* config.h.  Generated by config.status.  */
 
8918
    configure_input='Generated from '`
 
8919
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
8920
        `' by configure.'
 
8921
    if test x"$ac_file" != x-; then
 
8922
      configure_input="$ac_file.  $configure_input"
 
8923
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
8924
$as_echo "$as_me: creating $ac_file" >&6;}
 
8925
    fi
 
8926
    # Neutralize special characters interpreted by sed in replacement strings.
 
8927
    case $configure_input in #(
 
8928
    *\&* | *\|* | *\\* )
 
8929
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
8930
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
8931
    *) ac_sed_conf_input=$configure_input;;
 
8932
    esac
 
8933
 
 
8934
    case $ac_tag in
 
8935
    *:-:* | *:-) cat >"$tmp/stdin" \
 
8936
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
8937
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
8938
   { (exit 1); exit 1; }; } ;;
 
8939
    esac
 
8940
    ;;
 
8941
  esac
 
8942
 
 
8943
  ac_dir=`$as_dirname -- "$ac_file" ||
 
8944
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
8945
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
8946
         X"$ac_file" : 'X\(//\)$' \| \
 
8947
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
8948
$as_echo X"$ac_file" |
 
8949
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
8950
            s//\1/
 
8951
            q
 
8952
          }
 
8953
          /^X\(\/\/\)[^/].*/{
 
8954
            s//\1/
 
8955
            q
 
8956
          }
 
8957
          /^X\(\/\/\)$/{
 
8958
            s//\1/
 
8959
            q
 
8960
          }
 
8961
          /^X\(\/\).*/{
 
8962
            s//\1/
 
8963
            q
 
8964
          }
 
8965
          s/.*/./; q'`
 
8966
  { as_dir="$ac_dir"
 
8967
  case $as_dir in #(
 
8968
  -*) as_dir=./$as_dir;;
 
8969
  esac
 
8970
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
8971
    as_dirs=
 
8972
    while :; do
 
8973
      case $as_dir in #(
 
8974
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
8975
      *) as_qdir=$as_dir;;
 
8976
      esac
 
8977
      as_dirs="'$as_qdir' $as_dirs"
 
8978
      as_dir=`$as_dirname -- "$as_dir" ||
 
8979
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
8980
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
8981
         X"$as_dir" : 'X\(//\)$' \| \
 
8982
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
8983
$as_echo X"$as_dir" |
 
8984
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
8985
            s//\1/
 
8986
            q
 
8987
          }
 
8988
          /^X\(\/\/\)[^/].*/{
 
8989
            s//\1/
 
8990
            q
 
8991
          }
 
8992
          /^X\(\/\/\)$/{
 
8993
            s//\1/
 
8994
            q
 
8995
          }
 
8996
          /^X\(\/\).*/{
 
8997
            s//\1/
 
8998
            q
 
8999
          }
 
9000
          s/.*/./; q'`
 
9001
      test -d "$as_dir" && break
 
9002
    done
 
9003
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
9004
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
9005
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
9006
   { (exit 1); exit 1; }; }; }
 
9007
  ac_builddir=.
 
9008
 
 
9009
case "$ac_dir" in
 
9010
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
9011
*)
 
9012
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
9013
  # A ".." for each directory in $ac_dir_suffix.
 
9014
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
9015
  case $ac_top_builddir_sub in
 
9016
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
9017
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
9018
  esac ;;
 
9019
esac
 
9020
ac_abs_top_builddir=$ac_pwd
 
9021
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
9022
# for backward compatibility:
 
9023
ac_top_builddir=$ac_top_build_prefix
 
9024
 
 
9025
case $srcdir in
 
9026
  .)  # We are building in place.
 
9027
    ac_srcdir=.
 
9028
    ac_top_srcdir=$ac_top_builddir_sub
 
9029
    ac_abs_top_srcdir=$ac_pwd ;;
 
9030
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
9031
    ac_srcdir=$srcdir$ac_dir_suffix;
 
9032
    ac_top_srcdir=$srcdir
 
9033
    ac_abs_top_srcdir=$srcdir ;;
 
9034
  *) # Relative name.
 
9035
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
9036
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
9037
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
9038
esac
 
9039
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
9040
 
 
9041
 
 
9042
  case $ac_mode in
 
9043
  :F)
 
9044
  #
 
9045
  # CONFIG_FILE
 
9046
  #
 
9047
 
 
9048
  case $INSTALL in
 
9049
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
9050
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
9051
  esac
 
9052
  ac_MKDIR_P=$MKDIR_P
 
9053
  case $MKDIR_P in
 
9054
  [\\/$]* | ?:[\\/]* ) ;;
 
9055
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
9056
  esac
 
9057
_ACEOF
 
9058
 
 
9059
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
9060
# If the template does not know about datarootdir, expand it.
 
9061
# FIXME: This hack should be removed a few years after 2.60.
 
9062
ac_datarootdir_hack=; ac_datarootdir_seen=
 
9063
 
 
9064
ac_sed_dataroot='
 
9065
/datarootdir/ {
 
9066
  p
 
9067
  q
 
9068
}
 
9069
/@datadir@/p
 
9070
/@docdir@/p
 
9071
/@infodir@/p
 
9072
/@localedir@/p
 
9073
/@mandir@/p
 
9074
'
 
9075
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
9076
*datarootdir*) ac_datarootdir_seen=yes;;
 
9077
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
9078
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
9079
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
9080
_ACEOF
 
9081
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
9082
  ac_datarootdir_hack='
 
9083
  s&@datadir@&$datadir&g
 
9084
  s&@docdir@&$docdir&g
 
9085
  s&@infodir@&$infodir&g
 
9086
  s&@localedir@&$localedir&g
 
9087
  s&@mandir@&$mandir&g
 
9088
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
9089
esac
 
9090
_ACEOF
 
9091
 
 
9092
# Neutralize VPATH when `$srcdir' = `.'.
 
9093
# Shell code in configure.ac might set extrasub.
 
9094
# FIXME: do we really want to maintain this feature?
 
9095
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
9096
ac_sed_extra="$ac_vpsub
 
9097
$extrasub
 
9098
_ACEOF
 
9099
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
9100
:t
 
9101
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
9102
s|@configure_input@|$ac_sed_conf_input|;t t
 
9103
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
9104
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
9105
s&@srcdir@&$ac_srcdir&;t t
 
9106
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
9107
s&@top_srcdir@&$ac_top_srcdir&;t t
 
9108
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
9109
s&@builddir@&$ac_builddir&;t t
 
9110
s&@abs_builddir@&$ac_abs_builddir&;t t
 
9111
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
9112
s&@INSTALL@&$ac_INSTALL&;t t
 
9113
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
9114
$ac_datarootdir_hack
 
9115
"
 
9116
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
9117
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
9118
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
9119
   { (exit 1); exit 1; }; }
 
9120
 
 
9121
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
9122
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
9123
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
9124
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
9125
which seems to be undefined.  Please make sure it is defined." >&5
 
9126
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
9127
which seems to be undefined.  Please make sure it is defined." >&2;}
 
9128
 
 
9129
  rm -f "$tmp/stdin"
 
9130
  case $ac_file in
 
9131
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
9132
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
9133
  esac \
 
9134
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
9135
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
9136
   { (exit 1); exit 1; }; }
 
9137
 ;;
 
9138
  :H)
 
9139
  #
 
9140
  # CONFIG_HEADER
 
9141
  #
 
9142
  if test x"$ac_file" != x-; then
 
9143
    {
 
9144
      $as_echo "/* $configure_input  */" \
 
9145
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
9146
    } >"$tmp/config.h" \
 
9147
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
9148
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
9149
   { (exit 1); exit 1; }; }
 
9150
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
9151
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
9152
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
9153
    else
 
9154
      rm -f "$ac_file"
 
9155
      mv "$tmp/config.h" "$ac_file" \
 
9156
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
9157
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
9158
   { (exit 1); exit 1; }; }
 
9159
    fi
 
9160
  else
 
9161
    $as_echo "/* $configure_input  */" \
 
9162
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
9163
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
9164
$as_echo "$as_me: error: could not create -" >&2;}
 
9165
   { (exit 1); exit 1; }; }
 
9166
  fi
 
9167
# Compute "$ac_file"'s index in $config_headers.
 
9168
_am_arg="$ac_file"
 
9169
_am_stamp_count=1
 
9170
for _am_header in $config_headers :; do
 
9171
  case $_am_header in
 
9172
    $_am_arg | $_am_arg:* )
 
9173
      break ;;
 
9174
    * )
 
9175
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
9176
  esac
 
9177
done
 
9178
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
9179
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
9180
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
9181
         X"$_am_arg" : 'X\(//\)$' \| \
 
9182
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
9183
$as_echo X"$_am_arg" |
 
9184
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
9185
            s//\1/
 
9186
            q
 
9187
          }
 
9188
          /^X\(\/\/\)[^/].*/{
 
9189
            s//\1/
 
9190
            q
 
9191
          }
 
9192
          /^X\(\/\/\)$/{
 
9193
            s//\1/
 
9194
            q
 
9195
          }
 
9196
          /^X\(\/\).*/{
 
9197
            s//\1/
 
9198
            q
 
9199
          }
 
9200
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
9201
 ;;
 
9202
 
 
9203
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
9204
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
9205
 ;;
 
9206
  esac
 
9207
 
 
9208
 
 
9209
  case $ac_file$ac_mode in
 
9210
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
9211
  # Strip MF so we end up with the name of the file.
 
9212
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
9213
  # Check whether this is an Automake generated Makefile or not.
 
9214
  # We used to match only the files named `Makefile.in', but
 
9215
  # some people rename them; so instead we look at the file content.
 
9216
  # Grep'ing the first line is not enough: some people post-process
 
9217
  # each Makefile.in and add a new line on top of each file to say so.
 
9218
  # Grep'ing the whole file is not good either: AIX grep has a line
 
9219
  # limit of 2048, but all sed's we know have understand at least 4000.
 
9220
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
9221
    dirpart=`$as_dirname -- "$mf" ||
 
9222
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
9223
         X"$mf" : 'X\(//\)[^/]' \| \
 
9224
         X"$mf" : 'X\(//\)$' \| \
 
9225
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
9226
$as_echo X"$mf" |
 
9227
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
9228
            s//\1/
 
9229
            q
 
9230
          }
 
9231
          /^X\(\/\/\)[^/].*/{
 
9232
            s//\1/
 
9233
            q
 
9234
          }
 
9235
          /^X\(\/\/\)$/{
 
9236
            s//\1/
 
9237
            q
 
9238
          }
 
9239
          /^X\(\/\).*/{
 
9240
            s//\1/
 
9241
            q
 
9242
          }
 
9243
          s/.*/./; q'`
 
9244
  else
 
9245
    continue
 
9246
  fi
 
9247
  # Extract the definition of DEPDIR, am__include, and am__quote
 
9248
  # from the Makefile without running `make'.
 
9249
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
9250
  test -z "$DEPDIR" && continue
 
9251
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
9252
  test -z "am__include" && continue
 
9253
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
9254
  # When using ansi2knr, U may be empty or an underscore; expand it
 
9255
  U=`sed -n 's/^U = //p' < "$mf"`
 
9256
  # Find all dependency output files, they are included files with
 
9257
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
9258
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
9259
  # expansion.
 
9260
  for file in `sed -n "
 
9261
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
9262
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
9263
    # Make sure the directory exists.
 
9264
    test -f "$dirpart/$file" && continue
 
9265
    fdir=`$as_dirname -- "$file" ||
 
9266
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
9267
         X"$file" : 'X\(//\)[^/]' \| \
 
9268
         X"$file" : 'X\(//\)$' \| \
 
9269
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
9270
$as_echo X"$file" |
 
9271
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
9272
            s//\1/
 
9273
            q
 
9274
          }
 
9275
          /^X\(\/\/\)[^/].*/{
 
9276
            s//\1/
 
9277
            q
 
9278
          }
 
9279
          /^X\(\/\/\)$/{
 
9280
            s//\1/
 
9281
            q
 
9282
          }
 
9283
          /^X\(\/\).*/{
 
9284
            s//\1/
 
9285
            q
 
9286
          }
 
9287
          s/.*/./; q'`
 
9288
    { as_dir=$dirpart/$fdir
 
9289
  case $as_dir in #(
 
9290
  -*) as_dir=./$as_dir;;
 
9291
  esac
 
9292
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
9293
    as_dirs=
 
9294
    while :; do
 
9295
      case $as_dir in #(
 
9296
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
9297
      *) as_qdir=$as_dir;;
 
9298
      esac
 
9299
      as_dirs="'$as_qdir' $as_dirs"
 
9300
      as_dir=`$as_dirname -- "$as_dir" ||
 
9301
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
9302
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
9303
         X"$as_dir" : 'X\(//\)$' \| \
 
9304
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
9305
$as_echo X"$as_dir" |
 
9306
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
9307
            s//\1/
 
9308
            q
 
9309
          }
 
9310
          /^X\(\/\/\)[^/].*/{
 
9311
            s//\1/
 
9312
            q
 
9313
          }
 
9314
          /^X\(\/\/\)$/{
 
9315
            s//\1/
 
9316
            q
 
9317
          }
 
9318
          /^X\(\/\).*/{
 
9319
            s//\1/
 
9320
            q
 
9321
          }
 
9322
          s/.*/./; q'`
 
9323
      test -d "$as_dir" && break
 
9324
    done
 
9325
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
9326
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
9327
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
9328
   { (exit 1); exit 1; }; }; }
 
9329
    # echo "creating $dirpart/$file"
 
9330
    echo '# dummy' > "$dirpart/$file"
 
9331
  done
 
9332
done
 
9333
 ;;
 
9334
 
 
9335
  esac
 
9336
done # for ac_tag
 
9337
 
 
9338
 
 
9339
{ (exit 0); exit 0; }
 
9340
_ACEOF
 
9341
chmod +x $CONFIG_STATUS
 
9342
ac_clean_files=$ac_clean_files_save
 
9343
 
 
9344
test $ac_write_fail = 0 ||
 
9345
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
9346
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
9347
   { (exit 1); exit 1; }; }
 
9348
 
 
9349
 
 
9350
# configure is writing to config.log, and then calls config.status.
 
9351
# config.status does its own redirection, appending to config.log.
 
9352
# Unfortunately, on DOS this fails, as config.log is still kept open
 
9353
# by configure, so config.status won't be able to write to it; its
 
9354
# output is simply discarded.  So we exec the FD to /dev/null,
 
9355
# effectively closing config.log, so it can be properly (re)opened and
 
9356
# appended to by config.status.  When coming back to configure, we
 
9357
# need to make the FD available again.
 
9358
if test "$no_create" != yes; then
 
9359
  ac_cs_success=:
 
9360
  ac_config_status_args=
 
9361
  test "$silent" = yes &&
 
9362
    ac_config_status_args="$ac_config_status_args --quiet"
 
9363
  exec 5>/dev/null
 
9364
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
9365
  exec 5>>config.log
 
9366
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
9367
  # would make configure fail if this is the last instruction.
 
9368
  $ac_cs_success || { (exit 1); exit 1; }
 
9369
fi
 
9370
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
9371
  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
 
9372
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 
9373
fi
 
9374
 
 
9375
 
 
9376
echo "configure: updating ska_config.h"
 
9377
sed -e "s/|MAIL|/"$PACKAGE_BUGREPORT"/" ska_config.h > .ska_config.h.tmp
 
9378
mv .ska_config.h.tmp ska_config.h