~ubuntu-branches/ubuntu/karmic/x11-xserver-utils/karmic

« back to all changes in this revision

Viewing changes to iceauth/configure

  • Committer: Bazaar Package Importer
  • Author(s): Brice Goglin, Julien Cristau, Brice Goglin
  • Date: 2007-08-17 09:58:34 UTC
  • Revision ID: james.westby@ubuntu.com-20070817095834-ywge2nyzj1s3rqnd
Tags: 7.3+1
[ Julien Cristau ]
* iceauth 1.0.2.
  + removes blank line in the manpage (closes: #25285).
* xmodmap 1.0.3.
  + manpage updated to state that -pm is the default (closes: #236198)
* xgamma 1.0.2.
  + the manpage now explains how to print the gamma value more clearly
    (closes: #296021).
* xsetroot 1.0.2.
* xrdb 1.0.4.
  + fixes manpage typo (closes: #276286).
* Add upstream URL to debian/copyright, and update it from xgamma's COPYING
  file.

[ Brice Goglin ]
* Add menu entries for xrefresh and xvidtune.
* sessreg 1.0.3.
* xset 1.0.3.
* Add myself to Uploaders, and remove Branden with his permission.

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.61 for iceauth 1.0.2.
 
4
#
 
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
 
6
#
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006 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
  # Zsh 3.x and 4.x performs 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
# The user is always right.
 
43
if test "${PATH_SEPARATOR+set}" != set; then
 
44
  echo "#! /bin/sh" >conf$$.sh
 
45
  echo  "exit 0"   >>conf$$.sh
 
46
  chmod +x conf$$.sh
 
47
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
48
    PATH_SEPARATOR=';'
 
49
  else
 
50
    PATH_SEPARATOR=:
 
51
  fi
 
52
  rm -f conf$$.sh
 
53
fi
 
54
 
 
55
# Support unset when possible.
 
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
57
  as_unset=unset
 
58
else
 
59
  as_unset=false
 
60
fi
 
61
 
 
62
 
 
63
# IFS
 
64
# We need space, tab and new line, in precisely that order.  Quoting is
 
65
# there to prevent editors from complaining about space-tab.
 
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
67
# splitting by setting IFS to empty value.)
 
68
as_nl='
 
69
'
 
70
IFS=" ""        $as_nl"
 
71
 
 
72
# Find who we are.  Look in the path if we contain no directory separator.
 
73
case $0 in
 
74
  *[\\/]* ) as_myself=$0 ;;
 
75
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
76
for as_dir in $PATH
 
77
do
 
78
  IFS=$as_save_IFS
 
79
  test -z "$as_dir" && as_dir=.
 
80
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
81
done
 
82
IFS=$as_save_IFS
 
83
 
 
84
     ;;
 
85
esac
 
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
87
# in which case we are not to be found in the path.
 
88
if test "x$as_myself" = x; then
 
89
  as_myself=$0
 
90
fi
 
91
if test ! -f "$as_myself"; then
 
92
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
93
  { (exit 1); exit 1; }
 
94
fi
 
95
 
 
96
# Work around bugs in pre-3.0 UWIN ksh.
 
97
for as_var in ENV MAIL MAILPATH
 
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
99
done
 
100
PS1='$ '
 
101
PS2='> '
 
102
PS4='+ '
 
103
 
 
104
# NLS nuisances.
 
105
for as_var in \
 
106
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
107
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
108
  LC_TELEPHONE LC_TIME
 
109
do
 
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
111
    eval $as_var=C; export $as_var
 
112
  else
 
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
114
  fi
 
115
done
 
116
 
 
117
# Required to use basename.
 
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
119
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
120
  as_expr=expr
 
121
else
 
122
  as_expr=false
 
123
fi
 
124
 
 
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
126
  as_basename=basename
 
127
else
 
128
  as_basename=false
 
129
fi
 
130
 
 
131
 
 
132
# Name of the executable.
 
133
as_me=`$as_basename -- "$0" ||
 
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
135
         X"$0" : 'X\(//\)$' \| \
 
136
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
137
echo X/"$0" |
 
138
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\/\)$/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          /^X\/\(\/\).*/{
 
147
            s//\1/
 
148
            q
 
149
          }
 
150
          s/.*/./; q'`
 
151
 
 
152
# CDPATH.
 
153
$as_unset CDPATH
 
154
 
 
155
 
 
156
if test "x$CONFIG_SHELL" = x; then
 
157
  if (eval ":") 2>/dev/null; then
 
158
  as_have_required=yes
 
159
else
 
160
  as_have_required=no
 
161
fi
 
162
 
 
163
  if test $as_have_required = yes &&     (eval ":
 
164
(as_func_return () {
 
165
  (exit \$1)
 
166
}
 
167
as_func_success () {
 
168
  as_func_return 0
 
169
}
 
170
as_func_failure () {
 
171
  as_func_return 1
 
172
}
 
173
as_func_ret_success () {
 
174
  return 0
 
175
}
 
176
as_func_ret_failure () {
 
177
  return 1
 
178
}
 
179
 
 
180
exitcode=0
 
181
if as_func_success; then
 
182
  :
 
183
else
 
184
  exitcode=1
 
185
  echo as_func_success failed.
 
186
fi
 
187
 
 
188
if as_func_failure; then
 
189
  exitcode=1
 
190
  echo as_func_failure succeeded.
 
191
fi
 
192
 
 
193
if as_func_ret_success; then
 
194
  :
 
195
else
 
196
  exitcode=1
 
197
  echo as_func_ret_success failed.
 
198
fi
 
199
 
 
200
if as_func_ret_failure; then
 
201
  exitcode=1
 
202
  echo as_func_ret_failure succeeded.
 
203
fi
 
204
 
 
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
206
  :
 
207
else
 
208
  exitcode=1
 
209
  echo positional parameters were not saved.
 
210
fi
 
211
 
 
212
test \$exitcode = 0) || { (exit 1); exit 1; }
 
213
 
 
214
(
 
215
  as_lineno_1=\$LINENO
 
216
  as_lineno_2=\$LINENO
 
217
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
218
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
219
") 2> /dev/null; then
 
220
  :
 
221
else
 
222
  as_candidate_shells=
 
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
225
do
 
226
  IFS=$as_save_IFS
 
227
  test -z "$as_dir" && as_dir=.
 
228
  case $as_dir in
 
229
         /*)
 
230
           for as_base in sh bash ksh sh5; do
 
231
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
232
           done;;
 
233
       esac
 
234
done
 
235
IFS=$as_save_IFS
 
236
 
 
237
 
 
238
      for as_shell in $as_candidate_shells $SHELL; do
 
239
         # Try only shells that exist, to save several forks.
 
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
243
  emulate sh
 
244
  NULLCMD=:
 
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
246
  # is contrary to our usage.  Disable this feature.
 
247
  alias -g '${1+"$@"}'='"$@"'
 
248
  setopt NO_GLOB_SUBST
 
249
else
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
 
254
fi
 
255
 
 
256
 
 
257
:
 
258
_ASEOF
 
259
}; then
 
260
  CONFIG_SHELL=$as_shell
 
261
               as_have_required=yes
 
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
264
  emulate sh
 
265
  NULLCMD=:
 
266
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
267
  # is contrary to our usage.  Disable this feature.
 
268
  alias -g '${1+"$@"}'='"$@"'
 
269
  setopt NO_GLOB_SUBST
 
270
else
 
271
  case `(set -o) 2>/dev/null` in
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
 
275
fi
 
276
 
 
277
 
 
278
:
 
279
(as_func_return () {
 
280
  (exit $1)
 
281
}
 
282
as_func_success () {
 
283
  as_func_return 0
 
284
}
 
285
as_func_failure () {
 
286
  as_func_return 1
 
287
}
 
288
as_func_ret_success () {
 
289
  return 0
 
290
}
 
291
as_func_ret_failure () {
 
292
  return 1
 
293
}
 
294
 
 
295
exitcode=0
 
296
if as_func_success; then
 
297
  :
 
298
else
 
299
  exitcode=1
 
300
  echo as_func_success failed.
 
301
fi
 
302
 
 
303
if as_func_failure; then
 
304
  exitcode=1
 
305
  echo as_func_failure succeeded.
 
306
fi
 
307
 
 
308
if as_func_ret_success; then
 
309
  :
 
310
else
 
311
  exitcode=1
 
312
  echo as_func_ret_success failed.
 
313
fi
 
314
 
 
315
if as_func_ret_failure; then
 
316
  exitcode=1
 
317
  echo as_func_ret_failure succeeded.
 
318
fi
 
319
 
 
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
321
  :
 
322
else
 
323
  exitcode=1
 
324
  echo positional parameters were not saved.
 
325
fi
 
326
 
 
327
test $exitcode = 0) || { (exit 1); exit 1; }
 
328
 
 
329
(
 
330
  as_lineno_1=$LINENO
 
331
  as_lineno_2=$LINENO
 
332
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
333
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
334
 
 
335
_ASEOF
 
336
}; then
 
337
  break
 
338
fi
 
339
 
 
340
fi
 
341
 
 
342
      done
 
343
 
 
344
      if test "x$CONFIG_SHELL" != x; then
 
345
  for as_var in BASH_ENV ENV
 
346
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
347
        done
 
348
        export CONFIG_SHELL
 
349
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
350
fi
 
351
 
 
352
 
 
353
    if test $as_have_required = no; then
 
354
  echo This script requires a shell more modern than all the
 
355
      echo shells that I found on your system.  Please install a
 
356
      echo modern shell, or manually run the script under such a
 
357
      echo shell if you do have one.
 
358
      { (exit 1); exit 1; }
 
359
fi
 
360
 
 
361
 
 
362
fi
 
363
 
 
364
fi
 
365
 
 
366
 
 
367
 
 
368
(eval "as_func_return () {
 
369
  (exit \$1)
 
370
}
 
371
as_func_success () {
 
372
  as_func_return 0
 
373
}
 
374
as_func_failure () {
 
375
  as_func_return 1
 
376
}
 
377
as_func_ret_success () {
 
378
  return 0
 
379
}
 
380
as_func_ret_failure () {
 
381
  return 1
 
382
}
 
383
 
 
384
exitcode=0
 
385
if as_func_success; then
 
386
  :
 
387
else
 
388
  exitcode=1
 
389
  echo as_func_success failed.
 
390
fi
 
391
 
 
392
if as_func_failure; then
 
393
  exitcode=1
 
394
  echo as_func_failure succeeded.
 
395
fi
 
396
 
 
397
if as_func_ret_success; then
 
398
  :
 
399
else
 
400
  exitcode=1
 
401
  echo as_func_ret_success failed.
 
402
fi
 
403
 
 
404
if as_func_ret_failure; then
 
405
  exitcode=1
 
406
  echo as_func_ret_failure succeeded.
 
407
fi
 
408
 
 
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
410
  :
 
411
else
 
412
  exitcode=1
 
413
  echo positional parameters were not saved.
 
414
fi
 
415
 
 
416
test \$exitcode = 0") || {
 
417
  echo No shell found that supports shell functions.
 
418
  echo Please tell autoconf@gnu.org about your system,
 
419
  echo including any error possibly output before this
 
420
  echo message
 
421
}
 
422
 
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO
 
426
  as_lineno_2=$LINENO
 
427
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
428
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
429
 
 
430
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
431
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
432
  # line-number line after each line using $LINENO; the second 'sed'
 
433
  # does the real work.  The second script uses 'N' to pair each
 
434
  # line-number line with the line containing $LINENO, and appends
 
435
  # trailing '-' during substitution so that $LINENO is not a special
 
436
  # case at line end.
 
437
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
438
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
439
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
440
  sed -n '
 
441
    p
 
442
    /[$]LINENO/=
 
443
  ' <$as_myself |
 
444
    sed '
 
445
      s/[$]LINENO.*/&-/
 
446
      t lineno
 
447
      b
 
448
      :lineno
 
449
      N
 
450
      :loop
 
451
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
452
      t loop
 
453
      s/-\n.*//
 
454
    ' >$as_me.lineno &&
 
455
  chmod +x "$as_me.lineno" ||
 
456
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
457
   { (exit 1); exit 1; }; }
 
458
 
 
459
  # Don't try to exec as it changes $[0], causing all sort of problems
 
460
  # (the dirname of $[0] is not the place where we might find the
 
461
  # original and so on.  Autoconf is especially sensitive to this).
 
462
  . "./$as_me.lineno"
 
463
  # Exit status is that of the last command.
 
464
  exit
 
465
}
 
466
 
 
467
 
 
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
469
  as_dirname=dirname
 
470
else
 
471
  as_dirname=false
 
472
fi
 
473
 
 
474
ECHO_C= ECHO_N= ECHO_T=
 
475
case `echo -n x` in
 
476
-n*)
 
477
  case `echo 'x\c'` in
 
478
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
479
  *)   ECHO_C='\c';;
 
480
  esac;;
 
481
*)
 
482
  ECHO_N='-n';;
 
483
esac
 
484
 
 
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
486
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
487
  as_expr=expr
 
488
else
 
489
  as_expr=false
 
490
fi
 
491
 
 
492
rm -f conf$$ conf$$.exe conf$$.file
 
493
if test -d conf$$.dir; then
 
494
  rm -f conf$$.dir/conf$$.file
 
495
else
 
496
  rm -f conf$$.dir
 
497
  mkdir conf$$.dir
 
498
fi
 
499
echo >conf$$.file
 
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
501
  as_ln_s='ln -s'
 
502
  # ... but there are two gotchas:
 
503
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
504
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
505
  # In both cases, we have to default to `cp -p'.
 
506
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
507
    as_ln_s='cp -p'
 
508
elif ln conf$$.file conf$$ 2>/dev/null; then
 
509
  as_ln_s=ln
 
510
else
 
511
  as_ln_s='cp -p'
 
512
fi
 
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
514
rmdir conf$$.dir 2>/dev/null
 
515
 
 
516
if mkdir -p . 2>/dev/null; then
 
517
  as_mkdir_p=:
 
518
else
 
519
  test -d ./-p && rmdir ./-p
 
520
  as_mkdir_p=false
 
521
fi
 
522
 
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
 
525
else
 
526
  if ls -dL / >/dev/null 2>&1; then
 
527
    as_ls_L_option=L
 
528
  else
 
529
    as_ls_L_option=
 
530
  fi
 
531
  as_test_x='
 
532
    eval sh -c '\''
 
533
      if test -d "$1"; then
 
534
        test -d "$1/.";
 
535
      else
 
536
        case $1 in
 
537
        -*)set "./$1";;
 
538
        esac;
 
539
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
540
        ???[sx]*):;;*)false;;esac;fi
 
541
    '\'' sh
 
542
  '
 
543
fi
 
544
as_executable_p=$as_test_x
 
545
 
 
546
# Sed expression to map a string onto a valid CPP name.
 
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
548
 
 
549
# Sed expression to map a string onto a valid variable name.
 
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
551
 
 
552
 
 
553
 
 
554
exec 7<&0 </dev/null 6>&1
 
555
 
 
556
# Name of the host.
 
557
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
558
# so uname gets run too.
 
559
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
560
 
 
561
#
 
562
# Initializations.
 
563
#
 
564
ac_default_prefix=/usr/local
 
565
ac_clean_files=
 
566
ac_config_libobj_dir=.
 
567
LIBOBJS=
 
568
cross_compiling=no
 
569
subdirs=
 
570
MFLAGS=
 
571
MAKEFLAGS=
 
572
SHELL=${CONFIG_SHELL-/bin/sh}
 
573
 
 
574
# Identity of this package.
 
575
PACKAGE_NAME='iceauth'
 
576
PACKAGE_TARNAME='iceauth'
 
577
PACKAGE_VERSION='1.0.2'
 
578
PACKAGE_STRING='iceauth 1.0.2'
 
579
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
 
580
 
 
581
ac_subst_vars='SHELL
 
582
PATH_SEPARATOR
 
583
PACKAGE_NAME
 
584
PACKAGE_TARNAME
 
585
PACKAGE_VERSION
 
586
PACKAGE_STRING
 
587
PACKAGE_BUGREPORT
 
588
exec_prefix
 
589
prefix
 
590
program_transform_name
 
591
bindir
 
592
sbindir
 
593
libexecdir
 
594
datarootdir
 
595
datadir
 
596
sysconfdir
 
597
sharedstatedir
 
598
localstatedir
 
599
includedir
 
600
oldincludedir
 
601
docdir
 
602
infodir
 
603
htmldir
 
604
dvidir
 
605
pdfdir
 
606
psdir
 
607
libdir
 
608
localedir
 
609
mandir
 
610
DEFS
 
611
ECHO_C
 
612
ECHO_N
 
613
ECHO_T
 
614
LIBS
 
615
build_alias
 
616
host_alias
 
617
target_alias
 
618
INSTALL_PROGRAM
 
619
INSTALL_SCRIPT
 
620
INSTALL_DATA
 
621
am__isrc
 
622
CYGPATH_W
 
623
PACKAGE
 
624
VERSION
 
625
ACLOCAL
 
626
AUTOCONF
 
627
AUTOMAKE
 
628
AUTOHEADER
 
629
MAKEINFO
 
630
install_sh
 
631
STRIP
 
632
INSTALL_STRIP_PROGRAM
 
633
mkdir_p
 
634
AWK
 
635
SET_MAKE
 
636
am__leading_dot
 
637
AMTAR
 
638
am__tar
 
639
am__untar
 
640
MAINTAINER_MODE_TRUE
 
641
MAINTAINER_MODE_FALSE
 
642
MAINT
 
643
CC
 
644
CFLAGS
 
645
LDFLAGS
 
646
CPPFLAGS
 
647
ac_ct_CC
 
648
EXEEXT
 
649
OBJEXT
 
650
DEPDIR
 
651
am__include
 
652
am__quote
 
653
AMDEP_TRUE
 
654
AMDEP_FALSE
 
655
AMDEPBACKSLASH
 
656
CCDEPMODE
 
657
am__fastdepCC_TRUE
 
658
am__fastdepCC_FALSE
 
659
PKG_CONFIG
 
660
ICEAUTH_CFLAGS
 
661
ICEAUTH_LIBS
 
662
LINT
 
663
LINT_FLAGS
 
664
LINT_TRUE
 
665
LINT_FALSE
 
666
build
 
667
build_cpu
 
668
build_vendor
 
669
build_os
 
670
host
 
671
host_cpu
 
672
host_vendor
 
673
host_os
 
674
APP_MAN_SUFFIX
 
675
LIB_MAN_SUFFIX
 
676
FILE_MAN_SUFFIX
 
677
MISC_MAN_SUFFIX
 
678
DRIVER_MAN_SUFFIX
 
679
ADMIN_MAN_SUFFIX
 
680
APP_MAN_DIR
 
681
LIB_MAN_DIR
 
682
FILE_MAN_DIR
 
683
MISC_MAN_DIR
 
684
DRIVER_MAN_DIR
 
685
ADMIN_MAN_DIR
 
686
LIBOBJS
 
687
LTLIBOBJS'
 
688
ac_subst_files=''
 
689
      ac_precious_vars='build_alias
 
690
host_alias
 
691
target_alias
 
692
CC
 
693
CFLAGS
 
694
LDFLAGS
 
695
LIBS
 
696
CPPFLAGS
 
697
PKG_CONFIG
 
698
ICEAUTH_CFLAGS
 
699
ICEAUTH_LIBS'
 
700
 
 
701
 
 
702
# Initialize some variables set by options.
 
703
ac_init_help=
 
704
ac_init_version=false
 
705
# The variables have the same names as the options, with
 
706
# dashes changed to underlines.
 
707
cache_file=/dev/null
 
708
exec_prefix=NONE
 
709
no_create=
 
710
no_recursion=
 
711
prefix=NONE
 
712
program_prefix=NONE
 
713
program_suffix=NONE
 
714
program_transform_name=s,x,x,
 
715
silent=
 
716
site=
 
717
srcdir=
 
718
verbose=
 
719
x_includes=NONE
 
720
x_libraries=NONE
 
721
 
 
722
# Installation directory options.
 
723
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
724
# and all the variables that are supposed to be based on exec_prefix
 
725
# by default will actually change.
 
726
# Use braces instead of parens because sh, perl, etc. also accept them.
 
727
# (The list follows the same order as the GNU Coding Standards.)
 
728
bindir='${exec_prefix}/bin'
 
729
sbindir='${exec_prefix}/sbin'
 
730
libexecdir='${exec_prefix}/libexec'
 
731
datarootdir='${prefix}/share'
 
732
datadir='${datarootdir}'
 
733
sysconfdir='${prefix}/etc'
 
734
sharedstatedir='${prefix}/com'
 
735
localstatedir='${prefix}/var'
 
736
includedir='${prefix}/include'
 
737
oldincludedir='/usr/include'
 
738
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
739
infodir='${datarootdir}/info'
 
740
htmldir='${docdir}'
 
741
dvidir='${docdir}'
 
742
pdfdir='${docdir}'
 
743
psdir='${docdir}'
 
744
libdir='${exec_prefix}/lib'
 
745
localedir='${datarootdir}/locale'
 
746
mandir='${datarootdir}/man'
 
747
 
 
748
ac_prev=
 
749
ac_dashdash=
 
750
for ac_option
 
751
do
 
752
  # If the previous option needs an argument, assign it.
 
753
  if test -n "$ac_prev"; then
 
754
    eval $ac_prev=\$ac_option
 
755
    ac_prev=
 
756
    continue
 
757
  fi
 
758
 
 
759
  case $ac_option in
 
760
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
761
  *)    ac_optarg=yes ;;
 
762
  esac
 
763
 
 
764
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
765
 
 
766
  case $ac_dashdash$ac_option in
 
767
  --)
 
768
    ac_dashdash=yes ;;
 
769
 
 
770
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
771
    ac_prev=bindir ;;
 
772
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
773
    bindir=$ac_optarg ;;
 
774
 
 
775
  -build | --build | --buil | --bui | --bu)
 
776
    ac_prev=build_alias ;;
 
777
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
778
    build_alias=$ac_optarg ;;
 
779
 
 
780
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
781
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
782
    ac_prev=cache_file ;;
 
783
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
784
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
785
    cache_file=$ac_optarg ;;
 
786
 
 
787
  --config-cache | -C)
 
788
    cache_file=config.cache ;;
 
789
 
 
790
  -datadir | --datadir | --datadi | --datad)
 
791
    ac_prev=datadir ;;
 
792
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
793
    datadir=$ac_optarg ;;
 
794
 
 
795
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
796
  | --dataroo | --dataro | --datar)
 
797
    ac_prev=datarootdir ;;
 
798
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
799
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
800
    datarootdir=$ac_optarg ;;
 
801
 
 
802
  -disable-* | --disable-*)
 
803
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
804
    # Reject names that are not valid shell variable names.
 
805
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
806
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
807
   { (exit 1); exit 1; }; }
 
808
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
809
    eval enable_$ac_feature=no ;;
 
810
 
 
811
  -docdir | --docdir | --docdi | --doc | --do)
 
812
    ac_prev=docdir ;;
 
813
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
814
    docdir=$ac_optarg ;;
 
815
 
 
816
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
817
    ac_prev=dvidir ;;
 
818
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
819
    dvidir=$ac_optarg ;;
 
820
 
 
821
  -enable-* | --enable-*)
 
822
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
823
    # Reject names that are not valid shell variable names.
 
824
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
825
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
826
   { (exit 1); exit 1; }; }
 
827
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
828
    eval enable_$ac_feature=\$ac_optarg ;;
 
829
 
 
830
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
831
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
832
  | --exec | --exe | --ex)
 
833
    ac_prev=exec_prefix ;;
 
834
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
835
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
836
  | --exec=* | --exe=* | --ex=*)
 
837
    exec_prefix=$ac_optarg ;;
 
838
 
 
839
  -gas | --gas | --ga | --g)
 
840
    # Obsolete; use --with-gas.
 
841
    with_gas=yes ;;
 
842
 
 
843
  -help | --help | --hel | --he | -h)
 
844
    ac_init_help=long ;;
 
845
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
846
    ac_init_help=recursive ;;
 
847
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
848
    ac_init_help=short ;;
 
849
 
 
850
  -host | --host | --hos | --ho)
 
851
    ac_prev=host_alias ;;
 
852
  -host=* | --host=* | --hos=* | --ho=*)
 
853
    host_alias=$ac_optarg ;;
 
854
 
 
855
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
856
    ac_prev=htmldir ;;
 
857
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
858
  | --ht=*)
 
859
    htmldir=$ac_optarg ;;
 
860
 
 
861
  -includedir | --includedir | --includedi | --included | --include \
 
862
  | --includ | --inclu | --incl | --inc)
 
863
    ac_prev=includedir ;;
 
864
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
865
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
866
    includedir=$ac_optarg ;;
 
867
 
 
868
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
869
    ac_prev=infodir ;;
 
870
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
871
    infodir=$ac_optarg ;;
 
872
 
 
873
  -libdir | --libdir | --libdi | --libd)
 
874
    ac_prev=libdir ;;
 
875
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
876
    libdir=$ac_optarg ;;
 
877
 
 
878
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
879
  | --libexe | --libex | --libe)
 
880
    ac_prev=libexecdir ;;
 
881
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
882
  | --libexe=* | --libex=* | --libe=*)
 
883
    libexecdir=$ac_optarg ;;
 
884
 
 
885
  -localedir | --localedir | --localedi | --localed | --locale)
 
886
    ac_prev=localedir ;;
 
887
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
888
    localedir=$ac_optarg ;;
 
889
 
 
890
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
891
  | --localstate | --localstat | --localsta | --localst | --locals)
 
892
    ac_prev=localstatedir ;;
 
893
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
894
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
895
    localstatedir=$ac_optarg ;;
 
896
 
 
897
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
898
    ac_prev=mandir ;;
 
899
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
900
    mandir=$ac_optarg ;;
 
901
 
 
902
  -nfp | --nfp | --nf)
 
903
    # Obsolete; use --without-fp.
 
904
    with_fp=no ;;
 
905
 
 
906
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
907
  | --no-cr | --no-c | -n)
 
908
    no_create=yes ;;
 
909
 
 
910
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
911
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
912
    no_recursion=yes ;;
 
913
 
 
914
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
915
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
916
  | --oldin | --oldi | --old | --ol | --o)
 
917
    ac_prev=oldincludedir ;;
 
918
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
919
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
920
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
921
    oldincludedir=$ac_optarg ;;
 
922
 
 
923
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
924
    ac_prev=prefix ;;
 
925
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
926
    prefix=$ac_optarg ;;
 
927
 
 
928
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
929
  | --program-pre | --program-pr | --program-p)
 
930
    ac_prev=program_prefix ;;
 
931
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
932
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
933
    program_prefix=$ac_optarg ;;
 
934
 
 
935
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
936
  | --program-suf | --program-su | --program-s)
 
937
    ac_prev=program_suffix ;;
 
938
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
939
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
940
    program_suffix=$ac_optarg ;;
 
941
 
 
942
  -program-transform-name | --program-transform-name \
 
943
  | --program-transform-nam | --program-transform-na \
 
944
  | --program-transform-n | --program-transform- \
 
945
  | --program-transform | --program-transfor \
 
946
  | --program-transfo | --program-transf \
 
947
  | --program-trans | --program-tran \
 
948
  | --progr-tra | --program-tr | --program-t)
 
949
    ac_prev=program_transform_name ;;
 
950
  -program-transform-name=* | --program-transform-name=* \
 
951
  | --program-transform-nam=* | --program-transform-na=* \
 
952
  | --program-transform-n=* | --program-transform-=* \
 
953
  | --program-transform=* | --program-transfor=* \
 
954
  | --program-transfo=* | --program-transf=* \
 
955
  | --program-trans=* | --program-tran=* \
 
956
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
957
    program_transform_name=$ac_optarg ;;
 
958
 
 
959
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
960
    ac_prev=pdfdir ;;
 
961
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
962
    pdfdir=$ac_optarg ;;
 
963
 
 
964
  -psdir | --psdir | --psdi | --psd | --ps)
 
965
    ac_prev=psdir ;;
 
966
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
967
    psdir=$ac_optarg ;;
 
968
 
 
969
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
970
  | -silent | --silent | --silen | --sile | --sil)
 
971
    silent=yes ;;
 
972
 
 
973
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
974
    ac_prev=sbindir ;;
 
975
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
976
  | --sbi=* | --sb=*)
 
977
    sbindir=$ac_optarg ;;
 
978
 
 
979
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
980
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
981
  | --sharedst | --shareds | --shared | --share | --shar \
 
982
  | --sha | --sh)
 
983
    ac_prev=sharedstatedir ;;
 
984
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
985
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
986
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
987
  | --sha=* | --sh=*)
 
988
    sharedstatedir=$ac_optarg ;;
 
989
 
 
990
  -site | --site | --sit)
 
991
    ac_prev=site ;;
 
992
  -site=* | --site=* | --sit=*)
 
993
    site=$ac_optarg ;;
 
994
 
 
995
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
996
    ac_prev=srcdir ;;
 
997
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
998
    srcdir=$ac_optarg ;;
 
999
 
 
1000
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1001
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1002
    ac_prev=sysconfdir ;;
 
1003
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1004
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1005
    sysconfdir=$ac_optarg ;;
 
1006
 
 
1007
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1008
    ac_prev=target_alias ;;
 
1009
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1010
    target_alias=$ac_optarg ;;
 
1011
 
 
1012
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1013
    verbose=yes ;;
 
1014
 
 
1015
  -version | --version | --versio | --versi | --vers | -V)
 
1016
    ac_init_version=: ;;
 
1017
 
 
1018
  -with-* | --with-*)
 
1019
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1020
    # Reject names that are not valid shell variable names.
 
1021
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1022
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1023
   { (exit 1); exit 1; }; }
 
1024
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1025
    eval with_$ac_package=\$ac_optarg ;;
 
1026
 
 
1027
  -without-* | --without-*)
 
1028
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1029
    # Reject names that are not valid shell variable names.
 
1030
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1031
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1032
   { (exit 1); exit 1; }; }
 
1033
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1034
    eval with_$ac_package=no ;;
 
1035
 
 
1036
  --x)
 
1037
    # Obsolete; use --with-x.
 
1038
    with_x=yes ;;
 
1039
 
 
1040
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1041
  | --x-incl | --x-inc | --x-in | --x-i)
 
1042
    ac_prev=x_includes ;;
 
1043
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1044
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1045
    x_includes=$ac_optarg ;;
 
1046
 
 
1047
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1048
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1049
    ac_prev=x_libraries ;;
 
1050
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1051
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1052
    x_libraries=$ac_optarg ;;
 
1053
 
 
1054
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1055
Try \`$0 --help' for more information." >&2
 
1056
   { (exit 1); exit 1; }; }
 
1057
    ;;
 
1058
 
 
1059
  *=*)
 
1060
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1061
    # Reject names that are not valid shell variable names.
 
1062
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
1063
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1064
   { (exit 1); exit 1; }; }
 
1065
    eval $ac_envvar=\$ac_optarg
 
1066
    export $ac_envvar ;;
 
1067
 
 
1068
  *)
 
1069
    # FIXME: should be removed in autoconf 3.0.
 
1070
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1071
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1072
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1073
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1074
    ;;
 
1075
 
 
1076
  esac
 
1077
done
 
1078
 
 
1079
if test -n "$ac_prev"; then
 
1080
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1081
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1082
   { (exit 1); exit 1; }; }
 
1083
fi
 
1084
 
 
1085
# Be sure to have absolute directory names.
 
1086
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1087
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1088
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1089
                libdir localedir mandir
 
1090
do
 
1091
  eval ac_val=\$$ac_var
 
1092
  case $ac_val in
 
1093
    [\\/$]* | ?:[\\/]* )  continue;;
 
1094
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1095
  esac
 
1096
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1097
   { (exit 1); exit 1; }; }
 
1098
done
 
1099
 
 
1100
# There might be people who depend on the old broken behavior: `$host'
 
1101
# used to hold the argument of --host etc.
 
1102
# FIXME: To remove some day.
 
1103
build=$build_alias
 
1104
host=$host_alias
 
1105
target=$target_alias
 
1106
 
 
1107
# FIXME: To remove some day.
 
1108
if test "x$host_alias" != x; then
 
1109
  if test "x$build_alias" = x; then
 
1110
    cross_compiling=maybe
 
1111
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1112
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1113
  elif test "x$build_alias" != "x$host_alias"; then
 
1114
    cross_compiling=yes
 
1115
  fi
 
1116
fi
 
1117
 
 
1118
ac_tool_prefix=
 
1119
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1120
 
 
1121
test "$silent" = yes && exec 6>/dev/null
 
1122
 
 
1123
 
 
1124
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1125
ac_ls_di=`ls -di .` &&
 
1126
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1127
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1128
   { (exit 1); exit 1; }; }
 
1129
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1130
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1131
   { (exit 1); exit 1; }; }
 
1132
 
 
1133
 
 
1134
# Find the source files, if location was not specified.
 
1135
if test -z "$srcdir"; then
 
1136
  ac_srcdir_defaulted=yes
 
1137
  # Try the directory containing this script, then the parent directory.
 
1138
  ac_confdir=`$as_dirname -- "$0" ||
 
1139
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1140
         X"$0" : 'X\(//\)[^/]' \| \
 
1141
         X"$0" : 'X\(//\)$' \| \
 
1142
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
1143
echo X"$0" |
 
1144
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1145
            s//\1/
 
1146
            q
 
1147
          }
 
1148
          /^X\(\/\/\)[^/].*/{
 
1149
            s//\1/
 
1150
            q
 
1151
          }
 
1152
          /^X\(\/\/\)$/{
 
1153
            s//\1/
 
1154
            q
 
1155
          }
 
1156
          /^X\(\/\).*/{
 
1157
            s//\1/
 
1158
            q
 
1159
          }
 
1160
          s/.*/./; q'`
 
1161
  srcdir=$ac_confdir
 
1162
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1163
    srcdir=..
 
1164
  fi
 
1165
else
 
1166
  ac_srcdir_defaulted=no
 
1167
fi
 
1168
if test ! -r "$srcdir/$ac_unique_file"; then
 
1169
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1170
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1171
   { (exit 1); exit 1; }; }
 
1172
fi
 
1173
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1174
ac_abs_confdir=`(
 
1175
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1176
   { (exit 1); exit 1; }; }
 
1177
        pwd)`
 
1178
# When building in place, set srcdir=.
 
1179
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1180
  srcdir=.
 
1181
fi
 
1182
# Remove unnecessary trailing slashes from srcdir.
 
1183
# Double slashes in file names in object file debugging info
 
1184
# mess up M-x gdb in Emacs.
 
1185
case $srcdir in
 
1186
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1187
esac
 
1188
for ac_var in $ac_precious_vars; do
 
1189
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1190
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1191
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1192
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1193
done
 
1194
 
 
1195
#
 
1196
# Report the --help message.
 
1197
#
 
1198
if test "$ac_init_help" = "long"; then
 
1199
  # Omit some internal or obsolete options to make the list less imposing.
 
1200
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1201
  cat <<_ACEOF
 
1202
\`configure' configures iceauth 1.0.2 to adapt to many kinds of systems.
 
1203
 
 
1204
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1205
 
 
1206
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1207
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1208
 
 
1209
Defaults for the options are specified in brackets.
 
1210
 
 
1211
Configuration:
 
1212
  -h, --help              display this help and exit
 
1213
      --help=short        display options specific to this package
 
1214
      --help=recursive    display the short help of all the included packages
 
1215
  -V, --version           display version information and exit
 
1216
  -q, --quiet, --silent   do not print \`checking...' messages
 
1217
      --cache-file=FILE   cache test results in FILE [disabled]
 
1218
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1219
  -n, --no-create         do not create output files
 
1220
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1221
 
 
1222
Installation directories:
 
1223
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1224
                          [$ac_default_prefix]
 
1225
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1226
                          [PREFIX]
 
1227
 
 
1228
By default, \`make install' will install all the files in
 
1229
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1230
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1231
for instance \`--prefix=\$HOME'.
 
1232
 
 
1233
For better control, use the options below.
 
1234
 
 
1235
Fine tuning of the installation directories:
 
1236
  --bindir=DIR           user executables [EPREFIX/bin]
 
1237
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
1238
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
1239
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
1240
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
1241
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
1242
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
1243
  --includedir=DIR       C header files [PREFIX/include]
 
1244
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
1245
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1246
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1247
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1248
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1249
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1250
  --docdir=DIR           documentation root [DATAROOTDIR/doc/iceauth]
 
1251
  --htmldir=DIR          html documentation [DOCDIR]
 
1252
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1253
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1254
  --psdir=DIR            ps documentation [DOCDIR]
 
1255
_ACEOF
 
1256
 
 
1257
  cat <<\_ACEOF
 
1258
 
 
1259
Program names:
 
1260
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1261
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1262
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1263
 
 
1264
System types:
 
1265
  --build=BUILD     configure for building on BUILD [guessed]
 
1266
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1267
_ACEOF
 
1268
fi
 
1269
 
 
1270
if test -n "$ac_init_help"; then
 
1271
  case $ac_init_help in
 
1272
     short | recursive ) echo "Configuration of iceauth 1.0.2:";;
 
1273
   esac
 
1274
  cat <<\_ACEOF
 
1275
 
 
1276
Optional Features:
 
1277
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1278
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1279
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1280
                          (and sometimes confusing) to the casual installer
 
1281
  --disable-dependency-tracking  speeds up one-time build
 
1282
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1283
 
 
1284
Optional Packages:
 
1285
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1286
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1287
  --with-lint             Use a lint-style source code checker (default:
 
1288
                          disabled)
 
1289
  --with-release-version=STRING
 
1290
                          Use release version string in package name
 
1291
 
 
1292
Some influential environment variables:
 
1293
  CC          C compiler command
 
1294
  CFLAGS      C compiler flags
 
1295
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1296
              nonstandard directory <lib dir>
 
1297
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1298
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1299
              you have headers in a nonstandard directory <include dir>
 
1300
  PKG_CONFIG  path to pkg-config utility
 
1301
  ICEAUTH_CFLAGS
 
1302
              C compiler flags for ICEAUTH, overriding pkg-config
 
1303
  ICEAUTH_LIBS
 
1304
              linker flags for ICEAUTH, overriding pkg-config
 
1305
 
 
1306
Use these variables to override the choices made by `configure' or to help
 
1307
it to find libraries and programs with nonstandard names/locations.
 
1308
 
 
1309
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
 
1310
_ACEOF
 
1311
ac_status=$?
 
1312
fi
 
1313
 
 
1314
if test "$ac_init_help" = "recursive"; then
 
1315
  # If there are subdirs, report their specific --help.
 
1316
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1317
    test -d "$ac_dir" || continue
 
1318
    ac_builddir=.
 
1319
 
 
1320
case "$ac_dir" in
 
1321
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1322
*)
 
1323
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1324
  # A ".." for each directory in $ac_dir_suffix.
 
1325
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1326
  case $ac_top_builddir_sub in
 
1327
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1328
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1329
  esac ;;
 
1330
esac
 
1331
ac_abs_top_builddir=$ac_pwd
 
1332
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1333
# for backward compatibility:
 
1334
ac_top_builddir=$ac_top_build_prefix
 
1335
 
 
1336
case $srcdir in
 
1337
  .)  # We are building in place.
 
1338
    ac_srcdir=.
 
1339
    ac_top_srcdir=$ac_top_builddir_sub
 
1340
    ac_abs_top_srcdir=$ac_pwd ;;
 
1341
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1342
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1343
    ac_top_srcdir=$srcdir
 
1344
    ac_abs_top_srcdir=$srcdir ;;
 
1345
  *) # Relative name.
 
1346
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1347
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1348
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1349
esac
 
1350
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1351
 
 
1352
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1353
    # Check for guested configure.
 
1354
    if test -f "$ac_srcdir/configure.gnu"; then
 
1355
      echo &&
 
1356
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1357
    elif test -f "$ac_srcdir/configure"; then
 
1358
      echo &&
 
1359
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1360
    else
 
1361
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1362
    fi || ac_status=$?
 
1363
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1364
  done
 
1365
fi
 
1366
 
 
1367
test -n "$ac_init_help" && exit $ac_status
 
1368
if $ac_init_version; then
 
1369
  cat <<\_ACEOF
 
1370
iceauth configure 1.0.2
 
1371
generated by GNU Autoconf 2.61
 
1372
 
 
1373
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1374
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1375
This configure script is free software; the Free Software Foundation
 
1376
gives unlimited permission to copy, distribute and modify it.
 
1377
_ACEOF
 
1378
  exit
 
1379
fi
 
1380
cat >config.log <<_ACEOF
 
1381
This file contains any messages produced by compilers while
 
1382
running configure, to aid debugging if configure makes a mistake.
 
1383
 
 
1384
It was created by iceauth $as_me 1.0.2, which was
 
1385
generated by GNU Autoconf 2.61.  Invocation command line was
 
1386
 
 
1387
  $ $0 $@
 
1388
 
 
1389
_ACEOF
 
1390
exec 5>>config.log
 
1391
{
 
1392
cat <<_ASUNAME
 
1393
## --------- ##
 
1394
## Platform. ##
 
1395
## --------- ##
 
1396
 
 
1397
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1398
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1399
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1400
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1401
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1402
 
 
1403
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1404
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1405
 
 
1406
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1407
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1408
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1409
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1410
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1411
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1412
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1413
 
 
1414
_ASUNAME
 
1415
 
 
1416
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1417
for as_dir in $PATH
 
1418
do
 
1419
  IFS=$as_save_IFS
 
1420
  test -z "$as_dir" && as_dir=.
 
1421
  echo "PATH: $as_dir"
 
1422
done
 
1423
IFS=$as_save_IFS
 
1424
 
 
1425
} >&5
 
1426
 
 
1427
cat >&5 <<_ACEOF
 
1428
 
 
1429
 
 
1430
## ----------- ##
 
1431
## Core tests. ##
 
1432
## ----------- ##
 
1433
 
 
1434
_ACEOF
 
1435
 
 
1436
 
 
1437
# Keep a trace of the command line.
 
1438
# Strip out --no-create and --no-recursion so they do not pile up.
 
1439
# Strip out --silent because we don't want to record it for future runs.
 
1440
# Also quote any args containing shell meta-characters.
 
1441
# Make two passes to allow for proper duplicate-argument suppression.
 
1442
ac_configure_args=
 
1443
ac_configure_args0=
 
1444
ac_configure_args1=
 
1445
ac_must_keep_next=false
 
1446
for ac_pass in 1 2
 
1447
do
 
1448
  for ac_arg
 
1449
  do
 
1450
    case $ac_arg in
 
1451
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1452
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1453
    | -silent | --silent | --silen | --sile | --sil)
 
1454
      continue ;;
 
1455
    *\'*)
 
1456
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1457
    esac
 
1458
    case $ac_pass in
 
1459
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1460
    2)
 
1461
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1462
      if test $ac_must_keep_next = true; then
 
1463
        ac_must_keep_next=false # Got value, back to normal.
 
1464
      else
 
1465
        case $ac_arg in
 
1466
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1467
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1468
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1469
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1470
            case "$ac_configure_args0 " in
 
1471
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1472
            esac
 
1473
            ;;
 
1474
          -* ) ac_must_keep_next=true ;;
 
1475
        esac
 
1476
      fi
 
1477
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1478
      ;;
 
1479
    esac
 
1480
  done
 
1481
done
 
1482
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1483
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1484
 
 
1485
# When interrupted or exit'd, cleanup temporary files, and complete
 
1486
# config.log.  We remove comments because anyway the quotes in there
 
1487
# would cause problems or look ugly.
 
1488
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1489
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1490
trap 'exit_status=$?
 
1491
  # Save into config.log some information that might help in debugging.
 
1492
  {
 
1493
    echo
 
1494
 
 
1495
    cat <<\_ASBOX
 
1496
## ---------------- ##
 
1497
## Cache variables. ##
 
1498
## ---------------- ##
 
1499
_ASBOX
 
1500
    echo
 
1501
    # The following way of writing the cache mishandles newlines in values,
 
1502
(
 
1503
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1504
    eval ac_val=\$$ac_var
 
1505
    case $ac_val in #(
 
1506
    *${as_nl}*)
 
1507
      case $ac_var in #(
 
1508
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1509
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1510
      esac
 
1511
      case $ac_var in #(
 
1512
      _ | IFS | as_nl) ;; #(
 
1513
      *) $as_unset $ac_var ;;
 
1514
      esac ;;
 
1515
    esac
 
1516
  done
 
1517
  (set) 2>&1 |
 
1518
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1519
    *${as_nl}ac_space=\ *)
 
1520
      sed -n \
 
1521
        "s/'\''/'\''\\\\'\'''\''/g;
 
1522
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1523
      ;; #(
 
1524
    *)
 
1525
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1526
      ;;
 
1527
    esac |
 
1528
    sort
 
1529
)
 
1530
    echo
 
1531
 
 
1532
    cat <<\_ASBOX
 
1533
## ----------------- ##
 
1534
## Output variables. ##
 
1535
## ----------------- ##
 
1536
_ASBOX
 
1537
    echo
 
1538
    for ac_var in $ac_subst_vars
 
1539
    do
 
1540
      eval ac_val=\$$ac_var
 
1541
      case $ac_val in
 
1542
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1543
      esac
 
1544
      echo "$ac_var='\''$ac_val'\''"
 
1545
    done | sort
 
1546
    echo
 
1547
 
 
1548
    if test -n "$ac_subst_files"; then
 
1549
      cat <<\_ASBOX
 
1550
## ------------------- ##
 
1551
## File substitutions. ##
 
1552
## ------------------- ##
 
1553
_ASBOX
 
1554
      echo
 
1555
      for ac_var in $ac_subst_files
 
1556
      do
 
1557
        eval ac_val=\$$ac_var
 
1558
        case $ac_val in
 
1559
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1560
        esac
 
1561
        echo "$ac_var='\''$ac_val'\''"
 
1562
      done | sort
 
1563
      echo
 
1564
    fi
 
1565
 
 
1566
    if test -s confdefs.h; then
 
1567
      cat <<\_ASBOX
 
1568
## ----------- ##
 
1569
## confdefs.h. ##
 
1570
## ----------- ##
 
1571
_ASBOX
 
1572
      echo
 
1573
      cat confdefs.h
 
1574
      echo
 
1575
    fi
 
1576
    test "$ac_signal" != 0 &&
 
1577
      echo "$as_me: caught signal $ac_signal"
 
1578
    echo "$as_me: exit $exit_status"
 
1579
  } >&5
 
1580
  rm -f core *.core core.conftest.* &&
 
1581
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1582
    exit $exit_status
 
1583
' 0
 
1584
for ac_signal in 1 2 13 15; do
 
1585
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1586
done
 
1587
ac_signal=0
 
1588
 
 
1589
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1590
rm -f -r conftest* confdefs.h
 
1591
 
 
1592
# Predefined preprocessor variables.
 
1593
 
 
1594
cat >>confdefs.h <<_ACEOF
 
1595
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1596
_ACEOF
 
1597
 
 
1598
 
 
1599
cat >>confdefs.h <<_ACEOF
 
1600
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1601
_ACEOF
 
1602
 
 
1603
 
 
1604
cat >>confdefs.h <<_ACEOF
 
1605
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1606
_ACEOF
 
1607
 
 
1608
 
 
1609
cat >>confdefs.h <<_ACEOF
 
1610
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1611
_ACEOF
 
1612
 
 
1613
 
 
1614
cat >>confdefs.h <<_ACEOF
 
1615
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1616
_ACEOF
 
1617
 
 
1618
 
 
1619
# Let the site file select an alternate cache file if it wants to.
 
1620
# Prefer explicitly selected file to automatically selected ones.
 
1621
if test -n "$CONFIG_SITE"; then
 
1622
  set x "$CONFIG_SITE"
 
1623
elif test "x$prefix" != xNONE; then
 
1624
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1625
else
 
1626
  set x "$ac_default_prefix/share/config.site" \
 
1627
        "$ac_default_prefix/etc/config.site"
 
1628
fi
 
1629
shift
 
1630
for ac_site_file
 
1631
do
 
1632
  if test -r "$ac_site_file"; then
 
1633
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1634
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1635
    sed 's/^/| /' "$ac_site_file" >&5
 
1636
    . "$ac_site_file"
 
1637
  fi
 
1638
done
 
1639
 
 
1640
if test -r "$cache_file"; then
 
1641
  # Some versions of bash will fail to source /dev/null (special
 
1642
  # files actually), so we avoid doing that.
 
1643
  if test -f "$cache_file"; then
 
1644
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1645
echo "$as_me: loading cache $cache_file" >&6;}
 
1646
    case $cache_file in
 
1647
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1648
      *)                      . "./$cache_file";;
 
1649
    esac
 
1650
  fi
 
1651
else
 
1652
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1653
echo "$as_me: creating cache $cache_file" >&6;}
 
1654
  >$cache_file
 
1655
fi
 
1656
 
 
1657
# Check that the precious variables saved in the cache have kept the same
 
1658
# value.
 
1659
ac_cache_corrupted=false
 
1660
for ac_var in $ac_precious_vars; do
 
1661
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1662
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1663
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1664
  eval ac_new_val=\$ac_env_${ac_var}_value
 
1665
  case $ac_old_set,$ac_new_set in
 
1666
    set,)
 
1667
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1668
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1669
      ac_cache_corrupted=: ;;
 
1670
    ,set)
 
1671
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1672
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1673
      ac_cache_corrupted=: ;;
 
1674
    ,);;
 
1675
    *)
 
1676
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1677
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1678
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1679
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1680
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1681
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1682
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1683
        ac_cache_corrupted=:
 
1684
      fi;;
 
1685
  esac
 
1686
  # Pass precious variables to config.status.
 
1687
  if test "$ac_new_set" = set; then
 
1688
    case $ac_new_val in
 
1689
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1690
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1691
    esac
 
1692
    case " $ac_configure_args " in
 
1693
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1694
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1695
    esac
 
1696
  fi
 
1697
done
 
1698
if $ac_cache_corrupted; then
 
1699
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1700
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1701
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1702
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1703
   { (exit 1); exit 1; }; }
 
1704
fi
 
1705
 
 
1706
 
 
1707
 
 
1708
 
 
1709
 
 
1710
 
 
1711
 
 
1712
 
 
1713
 
 
1714
 
 
1715
 
 
1716
 
 
1717
 
 
1718
 
 
1719
 
 
1720
 
 
1721
 
 
1722
 
 
1723
 
 
1724
 
 
1725
 
 
1726
 
 
1727
 
 
1728
 
 
1729
 
 
1730
ac_ext=c
 
1731
ac_cpp='$CPP $CPPFLAGS'
 
1732
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1733
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1734
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1735
 
 
1736
 
 
1737
am__api_version='1.10'
 
1738
 
 
1739
ac_aux_dir=
 
1740
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1741
  if test -f "$ac_dir/install-sh"; then
 
1742
    ac_aux_dir=$ac_dir
 
1743
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1744
    break
 
1745
  elif test -f "$ac_dir/install.sh"; then
 
1746
    ac_aux_dir=$ac_dir
 
1747
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1748
    break
 
1749
  elif test -f "$ac_dir/shtool"; then
 
1750
    ac_aux_dir=$ac_dir
 
1751
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1752
    break
 
1753
  fi
 
1754
done
 
1755
if test -z "$ac_aux_dir"; then
 
1756
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1757
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1758
   { (exit 1); exit 1; }; }
 
1759
fi
 
1760
 
 
1761
# These three variables are undocumented and unsupported,
 
1762
# and are intended to be withdrawn in a future Autoconf release.
 
1763
# They can cause serious problems if a builder's source tree is in a directory
 
1764
# whose full name contains unusual characters.
 
1765
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1766
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1767
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1768
 
 
1769
 
 
1770
# Find a good install program.  We prefer a C program (faster),
 
1771
# so one script is as good as another.  But avoid the broken or
 
1772
# incompatible versions:
 
1773
# SysV /etc/install, /usr/sbin/install
 
1774
# SunOS /usr/etc/install
 
1775
# IRIX /sbin/install
 
1776
# AIX /bin/install
 
1777
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
1778
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
1779
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
1780
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1781
# OS/2's system install, which has a completely different semantic
 
1782
# ./install, which can be erroneously created by make from ./install.sh.
 
1783
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1784
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
1785
if test -z "$INSTALL"; then
 
1786
if test "${ac_cv_path_install+set}" = set; then
 
1787
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1788
else
 
1789
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1790
for as_dir in $PATH
 
1791
do
 
1792
  IFS=$as_save_IFS
 
1793
  test -z "$as_dir" && as_dir=.
 
1794
  # Account for people who put trailing slashes in PATH elements.
 
1795
case $as_dir/ in
 
1796
  ./ | .// | /cC/* | \
 
1797
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1798
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1799
  /usr/ucb/* ) ;;
 
1800
  *)
 
1801
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
1802
    # Don't use installbsd from OSF since it installs stuff as root
 
1803
    # by default.
 
1804
    for ac_prog in ginstall scoinst install; do
 
1805
      for ac_exec_ext in '' $ac_executable_extensions; do
 
1806
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
1807
          if test $ac_prog = install &&
 
1808
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1809
            # AIX install.  It has an incompatible calling convention.
 
1810
            :
 
1811
          elif test $ac_prog = install &&
 
1812
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1813
            # program-specific install script used by HP pwplus--don't use.
 
1814
            :
 
1815
          else
 
1816
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1817
            break 3
 
1818
          fi
 
1819
        fi
 
1820
      done
 
1821
    done
 
1822
    ;;
 
1823
esac
 
1824
done
 
1825
IFS=$as_save_IFS
 
1826
 
 
1827
 
 
1828
fi
 
1829
  if test "${ac_cv_path_install+set}" = set; then
 
1830
    INSTALL=$ac_cv_path_install
 
1831
  else
 
1832
    # As a last resort, use the slow shell script.  Don't cache a
 
1833
    # value for INSTALL within a source directory, because that will
 
1834
    # break other packages using the cache if that directory is
 
1835
    # removed, or if the value is a relative name.
 
1836
    INSTALL=$ac_install_sh
 
1837
  fi
 
1838
fi
 
1839
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1840
echo "${ECHO_T}$INSTALL" >&6; }
 
1841
 
 
1842
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
1843
# It thinks the first close brace ends the variable substitution.
 
1844
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
1845
 
 
1846
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1847
 
 
1848
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1849
 
 
1850
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1851
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
1852
# Just in case
 
1853
sleep 1
 
1854
echo timestamp > conftest.file
 
1855
# Do `set' in a subshell so we don't clobber the current shell's
 
1856
# arguments.  Must try -L first in case configure is actually a
 
1857
# symlink; some systems play weird games with the mod time of symlinks
 
1858
# (eg FreeBSD returns the mod time of the symlink's containing
 
1859
# directory).
 
1860
if (
 
1861
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1862
   if test "$*" = "X"; then
 
1863
      # -L didn't work.
 
1864
      set X `ls -t $srcdir/configure conftest.file`
 
1865
   fi
 
1866
   rm -f conftest.file
 
1867
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1868
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
1869
 
 
1870
      # If neither matched, then we have a broken ls.  This can happen
 
1871
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
1872
      # broken ls alias from the environment.  This has actually
 
1873
      # happened.  Such a system could not be considered "sane".
 
1874
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
1875
alias in your environment" >&5
 
1876
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
1877
alias in your environment" >&2;}
 
1878
   { (exit 1); exit 1; }; }
 
1879
   fi
 
1880
 
 
1881
   test "$2" = conftest.file
 
1882
   )
 
1883
then
 
1884
   # Ok.
 
1885
   :
 
1886
else
 
1887
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
1888
Check your system clock" >&5
 
1889
echo "$as_me: error: newly created file is older than distributed files!
 
1890
Check your system clock" >&2;}
 
1891
   { (exit 1); exit 1; }; }
 
1892
fi
 
1893
{ echo "$as_me:$LINENO: result: yes" >&5
 
1894
echo "${ECHO_T}yes" >&6; }
 
1895
test "$program_prefix" != NONE &&
 
1896
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
1897
# Use a double $ so make ignores it.
 
1898
test "$program_suffix" != NONE &&
 
1899
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
1900
# Double any \ or $.  echo might interpret backslashes.
 
1901
# By default was `s,x,x', remove it if useless.
 
1902
cat <<\_ACEOF >conftest.sed
 
1903
s/[\\$]/&&/g;s/;s,x,x,$//
 
1904
_ACEOF
 
1905
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
1906
rm -f conftest.sed
 
1907
 
 
1908
# expand $ac_aux_dir to an absolute path
 
1909
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1910
 
 
1911
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1912
# Use eval to expand $SHELL
 
1913
if eval "$MISSING --run true"; then
 
1914
  am_missing_run="$MISSING --run "
 
1915
else
 
1916
  am_missing_run=
 
1917
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1918
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1919
fi
 
1920
 
 
1921
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
1922
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
1923
if test -z "$MKDIR_P"; then
 
1924
  if test "${ac_cv_path_mkdir+set}" = set; then
 
1925
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1926
else
 
1927
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1928
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
1929
do
 
1930
  IFS=$as_save_IFS
 
1931
  test -z "$as_dir" && as_dir=.
 
1932
  for ac_prog in mkdir gmkdir; do
 
1933
         for ac_exec_ext in '' $ac_executable_extensions; do
 
1934
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
1935
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
1936
             'mkdir (GNU coreutils) '* | \
 
1937
             'mkdir (coreutils) '* | \
 
1938
             'mkdir (fileutils) '4.1*)
 
1939
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
1940
               break 3;;
 
1941
           esac
 
1942
         done
 
1943
       done
 
1944
done
 
1945
IFS=$as_save_IFS
 
1946
 
 
1947
fi
 
1948
 
 
1949
  if test "${ac_cv_path_mkdir+set}" = set; then
 
1950
    MKDIR_P="$ac_cv_path_mkdir -p"
 
1951
  else
 
1952
    # As a last resort, use the slow shell script.  Don't cache a
 
1953
    # value for MKDIR_P within a source directory, because that will
 
1954
    # break other packages using the cache if that directory is
 
1955
    # removed, or if the value is a relative name.
 
1956
    test -d ./--version && rmdir ./--version
 
1957
    MKDIR_P="$ac_install_sh -d"
 
1958
  fi
 
1959
fi
 
1960
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
1961
echo "${ECHO_T}$MKDIR_P" >&6; }
 
1962
 
 
1963
mkdir_p="$MKDIR_P"
 
1964
case $mkdir_p in
 
1965
  [\\/$]* | ?:[\\/]*) ;;
 
1966
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
1967
esac
 
1968
 
 
1969
for ac_prog in gawk mawk nawk awk
 
1970
do
 
1971
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1972
set dummy $ac_prog; ac_word=$2
 
1973
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1974
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1975
if test "${ac_cv_prog_AWK+set}" = set; then
 
1976
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1977
else
 
1978
  if test -n "$AWK"; then
 
1979
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1980
else
 
1981
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1982
for as_dir in $PATH
 
1983
do
 
1984
  IFS=$as_save_IFS
 
1985
  test -z "$as_dir" && as_dir=.
 
1986
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1987
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1988
    ac_cv_prog_AWK="$ac_prog"
 
1989
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1990
    break 2
 
1991
  fi
 
1992
done
 
1993
done
 
1994
IFS=$as_save_IFS
 
1995
 
 
1996
fi
 
1997
fi
 
1998
AWK=$ac_cv_prog_AWK
 
1999
if test -n "$AWK"; then
 
2000
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2001
echo "${ECHO_T}$AWK" >&6; }
 
2002
else
 
2003
  { echo "$as_me:$LINENO: result: no" >&5
 
2004
echo "${ECHO_T}no" >&6; }
 
2005
fi
 
2006
 
 
2007
 
 
2008
  test -n "$AWK" && break
 
2009
done
 
2010
 
 
2011
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2012
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2013
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2014
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2015
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2016
else
 
2017
  cat >conftest.make <<\_ACEOF
 
2018
SHELL = /bin/sh
 
2019
all:
 
2020
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2021
_ACEOF
 
2022
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2023
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2024
  *@@@%%%=?*=@@@%%%*)
 
2025
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2026
  *)
 
2027
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2028
esac
 
2029
rm -f conftest.make
 
2030
fi
 
2031
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2032
  { echo "$as_me:$LINENO: result: yes" >&5
 
2033
echo "${ECHO_T}yes" >&6; }
 
2034
  SET_MAKE=
 
2035
else
 
2036
  { echo "$as_me:$LINENO: result: no" >&5
 
2037
echo "${ECHO_T}no" >&6; }
 
2038
  SET_MAKE="MAKE=${MAKE-make}"
 
2039
fi
 
2040
 
 
2041
rm -rf .tst 2>/dev/null
 
2042
mkdir .tst 2>/dev/null
 
2043
if test -d .tst; then
 
2044
  am__leading_dot=.
 
2045
else
 
2046
  am__leading_dot=_
 
2047
fi
 
2048
rmdir .tst 2>/dev/null
 
2049
 
 
2050
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2051
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2052
  # is not polluted with repeated "-I."
 
2053
  am__isrc=' -I$(srcdir)'
 
2054
  # test to see if srcdir already configured
 
2055
  if test -f $srcdir/config.status; then
 
2056
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2057
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2058
   { (exit 1); exit 1; }; }
 
2059
  fi
 
2060
fi
 
2061
 
 
2062
# test whether we have cygpath
 
2063
if test -z "$CYGPATH_W"; then
 
2064
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2065
    CYGPATH_W='cygpath -w'
 
2066
  else
 
2067
    CYGPATH_W=echo
 
2068
  fi
 
2069
fi
 
2070
 
 
2071
 
 
2072
# Define the identity of the package.
 
2073
 PACKAGE='iceauth'
 
2074
 VERSION='1.0.2'
 
2075
 
 
2076
 
 
2077
cat >>confdefs.h <<_ACEOF
 
2078
#define PACKAGE "$PACKAGE"
 
2079
_ACEOF
 
2080
 
 
2081
 
 
2082
cat >>confdefs.h <<_ACEOF
 
2083
#define VERSION "$VERSION"
 
2084
_ACEOF
 
2085
 
 
2086
# Some tools Automake needs.
 
2087
 
 
2088
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2089
 
 
2090
 
 
2091
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2092
 
 
2093
 
 
2094
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2095
 
 
2096
 
 
2097
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2098
 
 
2099
 
 
2100
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2101
 
 
2102
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
2103
 
 
2104
# Installed binaries are usually stripped using `strip' when the user
 
2105
# run `make install-strip'.  However `strip' might not be the right
 
2106
# tool to use in cross-compilation environments, therefore Automake
 
2107
# will honor the `STRIP' environment variable to overrule this program.
 
2108
if test "$cross_compiling" != no; then
 
2109
  if test -n "$ac_tool_prefix"; then
 
2110
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2111
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2112
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2113
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2114
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2115
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2116
else
 
2117
  if test -n "$STRIP"; then
 
2118
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2119
else
 
2120
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2121
for as_dir in $PATH
 
2122
do
 
2123
  IFS=$as_save_IFS
 
2124
  test -z "$as_dir" && as_dir=.
 
2125
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2126
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2127
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2128
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2129
    break 2
 
2130
  fi
 
2131
done
 
2132
done
 
2133
IFS=$as_save_IFS
 
2134
 
 
2135
fi
 
2136
fi
 
2137
STRIP=$ac_cv_prog_STRIP
 
2138
if test -n "$STRIP"; then
 
2139
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2140
echo "${ECHO_T}$STRIP" >&6; }
 
2141
else
 
2142
  { echo "$as_me:$LINENO: result: no" >&5
 
2143
echo "${ECHO_T}no" >&6; }
 
2144
fi
 
2145
 
 
2146
 
 
2147
fi
 
2148
if test -z "$ac_cv_prog_STRIP"; then
 
2149
  ac_ct_STRIP=$STRIP
 
2150
  # Extract the first word of "strip", so it can be a program name with args.
 
2151
set dummy strip; ac_word=$2
 
2152
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2153
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2154
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2155
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2156
else
 
2157
  if test -n "$ac_ct_STRIP"; then
 
2158
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2159
else
 
2160
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2161
for as_dir in $PATH
 
2162
do
 
2163
  IFS=$as_save_IFS
 
2164
  test -z "$as_dir" && as_dir=.
 
2165
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2166
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2167
    ac_cv_prog_ac_ct_STRIP="strip"
 
2168
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2169
    break 2
 
2170
  fi
 
2171
done
 
2172
done
 
2173
IFS=$as_save_IFS
 
2174
 
 
2175
fi
 
2176
fi
 
2177
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2178
if test -n "$ac_ct_STRIP"; then
 
2179
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2180
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2181
else
 
2182
  { echo "$as_me:$LINENO: result: no" >&5
 
2183
echo "${ECHO_T}no" >&6; }
 
2184
fi
 
2185
 
 
2186
  if test "x$ac_ct_STRIP" = x; then
 
2187
    STRIP=":"
 
2188
  else
 
2189
    case $cross_compiling:$ac_tool_warned in
 
2190
yes:)
 
2191
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2192
whose name does not start with the host triplet.  If you think this
 
2193
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2194
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2195
whose name does not start with the host triplet.  If you think this
 
2196
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2197
ac_tool_warned=yes ;;
 
2198
esac
 
2199
    STRIP=$ac_ct_STRIP
 
2200
  fi
 
2201
else
 
2202
  STRIP="$ac_cv_prog_STRIP"
 
2203
fi
 
2204
 
 
2205
fi
 
2206
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2207
 
 
2208
# We need awk for the "check" target.  The system "awk" is bad on
 
2209
# some platforms.
 
2210
# Always define AMTAR for backward compatibility.
 
2211
 
 
2212
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2213
 
 
2214
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2215
 
 
2216
 
 
2217
 
 
2218
 
 
2219
 
 
2220
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2221
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2222
    # Check whether --enable-maintainer-mode was given.
 
2223
if test "${enable_maintainer_mode+set}" = set; then
 
2224
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
2225
else
 
2226
  USE_MAINTAINER_MODE=no
 
2227
fi
 
2228
 
 
2229
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2230
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
2231
   if test $USE_MAINTAINER_MODE = yes; then
 
2232
  MAINTAINER_MODE_TRUE=
 
2233
  MAINTAINER_MODE_FALSE='#'
 
2234
else
 
2235
  MAINTAINER_MODE_TRUE='#'
 
2236
  MAINTAINER_MODE_FALSE=
 
2237
fi
 
2238
 
 
2239
  MAINT=$MAINTAINER_MODE_TRUE
 
2240
 
 
2241
 
 
2242
 
 
2243
ac_config_headers="$ac_config_headers config.h"
 
2244
 
 
2245
 
 
2246
# Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro
 
2247
 
 
2248
 
 
2249
        XORG_MACROS_needed_version=1.1
 
2250
        XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
 
2251
        XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
 
2252
        { echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
 
2253
echo $ECHO_N "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... $ECHO_C" >&6; }
 
2254
        XORG_MACROS_version=1.1.5
 
2255
        XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
 
2256
        XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
 
2257
        if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
 
2258
                { { echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
 
2259
echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
 
2260
   { (exit 1); exit 1; }; }
 
2261
        fi
 
2262
        if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
 
2263
                { { echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5
 
2264
echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;}
 
2265
   { (exit 1); exit 1; }; }
 
2266
        fi
 
2267
        { echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
 
2268
echo "${ECHO_T}yes, $XORG_MACROS_version" >&6; }
 
2269
 
 
2270
 
 
2271
ac_ext=c
 
2272
ac_cpp='$CPP $CPPFLAGS'
 
2273
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2274
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2275
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2276
if test -n "$ac_tool_prefix"; then
 
2277
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2278
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2279
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2280
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2281
if test "${ac_cv_prog_CC+set}" = set; then
 
2282
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2283
else
 
2284
  if test -n "$CC"; then
 
2285
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2286
else
 
2287
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2288
for as_dir in $PATH
 
2289
do
 
2290
  IFS=$as_save_IFS
 
2291
  test -z "$as_dir" && as_dir=.
 
2292
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2293
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2294
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2295
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2296
    break 2
 
2297
  fi
 
2298
done
 
2299
done
 
2300
IFS=$as_save_IFS
 
2301
 
 
2302
fi
 
2303
fi
 
2304
CC=$ac_cv_prog_CC
 
2305
if test -n "$CC"; then
 
2306
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2307
echo "${ECHO_T}$CC" >&6; }
 
2308
else
 
2309
  { echo "$as_me:$LINENO: result: no" >&5
 
2310
echo "${ECHO_T}no" >&6; }
 
2311
fi
 
2312
 
 
2313
 
 
2314
fi
 
2315
if test -z "$ac_cv_prog_CC"; then
 
2316
  ac_ct_CC=$CC
 
2317
  # Extract the first word of "gcc", so it can be a program name with args.
 
2318
set dummy gcc; ac_word=$2
 
2319
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2320
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2321
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2322
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2323
else
 
2324
  if test -n "$ac_ct_CC"; then
 
2325
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2326
else
 
2327
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2328
for as_dir in $PATH
 
2329
do
 
2330
  IFS=$as_save_IFS
 
2331
  test -z "$as_dir" && as_dir=.
 
2332
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2333
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2334
    ac_cv_prog_ac_ct_CC="gcc"
 
2335
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2336
    break 2
 
2337
  fi
 
2338
done
 
2339
done
 
2340
IFS=$as_save_IFS
 
2341
 
 
2342
fi
 
2343
fi
 
2344
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2345
if test -n "$ac_ct_CC"; then
 
2346
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2347
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2348
else
 
2349
  { echo "$as_me:$LINENO: result: no" >&5
 
2350
echo "${ECHO_T}no" >&6; }
 
2351
fi
 
2352
 
 
2353
  if test "x$ac_ct_CC" = x; then
 
2354
    CC=""
 
2355
  else
 
2356
    case $cross_compiling:$ac_tool_warned in
 
2357
yes:)
 
2358
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2359
whose name does not start with the host triplet.  If you think this
 
2360
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2361
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2362
whose name does not start with the host triplet.  If you think this
 
2363
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2364
ac_tool_warned=yes ;;
 
2365
esac
 
2366
    CC=$ac_ct_CC
 
2367
  fi
 
2368
else
 
2369
  CC="$ac_cv_prog_CC"
 
2370
fi
 
2371
 
 
2372
if test -z "$CC"; then
 
2373
          if test -n "$ac_tool_prefix"; then
 
2374
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2375
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
2376
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2377
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2378
if test "${ac_cv_prog_CC+set}" = set; then
 
2379
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2380
else
 
2381
  if test -n "$CC"; then
 
2382
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2383
else
 
2384
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2385
for as_dir in $PATH
 
2386
do
 
2387
  IFS=$as_save_IFS
 
2388
  test -z "$as_dir" && as_dir=.
 
2389
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2390
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2391
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
2392
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2393
    break 2
 
2394
  fi
 
2395
done
 
2396
done
 
2397
IFS=$as_save_IFS
 
2398
 
 
2399
fi
 
2400
fi
 
2401
CC=$ac_cv_prog_CC
 
2402
if test -n "$CC"; then
 
2403
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2404
echo "${ECHO_T}$CC" >&6; }
 
2405
else
 
2406
  { echo "$as_me:$LINENO: result: no" >&5
 
2407
echo "${ECHO_T}no" >&6; }
 
2408
fi
 
2409
 
 
2410
 
 
2411
  fi
 
2412
fi
 
2413
if test -z "$CC"; then
 
2414
  # Extract the first word of "cc", so it can be a program name with args.
 
2415
set dummy cc; ac_word=$2
 
2416
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2417
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2418
if test "${ac_cv_prog_CC+set}" = set; then
 
2419
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2420
else
 
2421
  if test -n "$CC"; then
 
2422
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2423
else
 
2424
  ac_prog_rejected=no
 
2425
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2426
for as_dir in $PATH
 
2427
do
 
2428
  IFS=$as_save_IFS
 
2429
  test -z "$as_dir" && as_dir=.
 
2430
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2431
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2432
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
2433
       ac_prog_rejected=yes
 
2434
       continue
 
2435
     fi
 
2436
    ac_cv_prog_CC="cc"
 
2437
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2438
    break 2
 
2439
  fi
 
2440
done
 
2441
done
 
2442
IFS=$as_save_IFS
 
2443
 
 
2444
if test $ac_prog_rejected = yes; then
 
2445
  # We found a bogon in the path, so make sure we never use it.
 
2446
  set dummy $ac_cv_prog_CC
 
2447
  shift
 
2448
  if test $# != 0; then
 
2449
    # We chose a different compiler from the bogus one.
 
2450
    # However, it has the same basename, so the bogon will be chosen
 
2451
    # first if we set CC to just the basename; use the full file name.
 
2452
    shift
 
2453
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
2454
  fi
 
2455
fi
 
2456
fi
 
2457
fi
 
2458
CC=$ac_cv_prog_CC
 
2459
if test -n "$CC"; then
 
2460
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2461
echo "${ECHO_T}$CC" >&6; }
 
2462
else
 
2463
  { echo "$as_me:$LINENO: result: no" >&5
 
2464
echo "${ECHO_T}no" >&6; }
 
2465
fi
 
2466
 
 
2467
 
 
2468
fi
 
2469
if test -z "$CC"; then
 
2470
  if test -n "$ac_tool_prefix"; then
 
2471
  for ac_prog in cl.exe
 
2472
  do
 
2473
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2474
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2475
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2476
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2477
if test "${ac_cv_prog_CC+set}" = set; then
 
2478
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2479
else
 
2480
  if test -n "$CC"; then
 
2481
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2482
else
 
2483
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2484
for as_dir in $PATH
 
2485
do
 
2486
  IFS=$as_save_IFS
 
2487
  test -z "$as_dir" && as_dir=.
 
2488
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2489
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2490
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
2491
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2492
    break 2
 
2493
  fi
 
2494
done
 
2495
done
 
2496
IFS=$as_save_IFS
 
2497
 
 
2498
fi
 
2499
fi
 
2500
CC=$ac_cv_prog_CC
 
2501
if test -n "$CC"; then
 
2502
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2503
echo "${ECHO_T}$CC" >&6; }
 
2504
else
 
2505
  { echo "$as_me:$LINENO: result: no" >&5
 
2506
echo "${ECHO_T}no" >&6; }
 
2507
fi
 
2508
 
 
2509
 
 
2510
    test -n "$CC" && break
 
2511
  done
 
2512
fi
 
2513
if test -z "$CC"; then
 
2514
  ac_ct_CC=$CC
 
2515
  for ac_prog in cl.exe
 
2516
do
 
2517
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2518
set dummy $ac_prog; ac_word=$2
 
2519
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2520
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2521
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2522
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2523
else
 
2524
  if test -n "$ac_ct_CC"; then
 
2525
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2526
else
 
2527
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2528
for as_dir in $PATH
 
2529
do
 
2530
  IFS=$as_save_IFS
 
2531
  test -z "$as_dir" && as_dir=.
 
2532
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2533
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2534
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
2535
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2536
    break 2
 
2537
  fi
 
2538
done
 
2539
done
 
2540
IFS=$as_save_IFS
 
2541
 
 
2542
fi
 
2543
fi
 
2544
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2545
if test -n "$ac_ct_CC"; then
 
2546
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2547
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2548
else
 
2549
  { echo "$as_me:$LINENO: result: no" >&5
 
2550
echo "${ECHO_T}no" >&6; }
 
2551
fi
 
2552
 
 
2553
 
 
2554
  test -n "$ac_ct_CC" && break
 
2555
done
 
2556
 
 
2557
  if test "x$ac_ct_CC" = x; then
 
2558
    CC=""
 
2559
  else
 
2560
    case $cross_compiling:$ac_tool_warned in
 
2561
yes:)
 
2562
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2563
whose name does not start with the host triplet.  If you think this
 
2564
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2565
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2566
whose name does not start with the host triplet.  If you think this
 
2567
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2568
ac_tool_warned=yes ;;
 
2569
esac
 
2570
    CC=$ac_ct_CC
 
2571
  fi
 
2572
fi
 
2573
 
 
2574
fi
 
2575
 
 
2576
 
 
2577
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2578
See \`config.log' for more details." >&5
 
2579
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2580
See \`config.log' for more details." >&2;}
 
2581
   { (exit 1); exit 1; }; }
 
2582
 
 
2583
# Provide some information about the compiler.
 
2584
echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2585
ac_compiler=`set X $ac_compile; echo $2`
 
2586
{ (ac_try="$ac_compiler --version >&5"
 
2587
case "(($ac_try" in
 
2588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2589
  *) ac_try_echo=$ac_try;;
 
2590
esac
 
2591
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2592
  (eval "$ac_compiler --version >&5") 2>&5
 
2593
  ac_status=$?
 
2594
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2595
  (exit $ac_status); }
 
2596
{ (ac_try="$ac_compiler -v >&5"
 
2597
case "(($ac_try" in
 
2598
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2599
  *) ac_try_echo=$ac_try;;
 
2600
esac
 
2601
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2602
  (eval "$ac_compiler -v >&5") 2>&5
 
2603
  ac_status=$?
 
2604
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2605
  (exit $ac_status); }
 
2606
{ (ac_try="$ac_compiler -V >&5"
 
2607
case "(($ac_try" in
 
2608
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2609
  *) ac_try_echo=$ac_try;;
 
2610
esac
 
2611
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2612
  (eval "$ac_compiler -V >&5") 2>&5
 
2613
  ac_status=$?
 
2614
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2615
  (exit $ac_status); }
 
2616
 
 
2617
cat >conftest.$ac_ext <<_ACEOF
 
2618
/* confdefs.h.  */
 
2619
_ACEOF
 
2620
cat confdefs.h >>conftest.$ac_ext
 
2621
cat >>conftest.$ac_ext <<_ACEOF
 
2622
/* end confdefs.h.  */
 
2623
 
 
2624
int
 
2625
main ()
 
2626
{
 
2627
 
 
2628
  ;
 
2629
  return 0;
 
2630
}
 
2631
_ACEOF
 
2632
ac_clean_files_save=$ac_clean_files
 
2633
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2634
# Try to create an executable without -o first, disregard a.out.
 
2635
# It will help us diagnose broken compilers, and finding out an intuition
 
2636
# of exeext.
 
2637
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2638
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
 
2639
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2640
#
 
2641
# List of possible output files, starting from the most likely.
 
2642
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2643
# only as a last resort.  b.out is created by i960 compilers.
 
2644
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2645
#
 
2646
# The IRIX 6 linker writes into existing files which may not be
 
2647
# executable, retaining their permissions.  Remove them first so a
 
2648
# subsequent execution test works.
 
2649
ac_rmfiles=
 
2650
for ac_file in $ac_files
 
2651
do
 
2652
  case $ac_file in
 
2653
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2654
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2655
  esac
 
2656
done
 
2657
rm -f $ac_rmfiles
 
2658
 
 
2659
if { (ac_try="$ac_link_default"
 
2660
case "(($ac_try" in
 
2661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2662
  *) ac_try_echo=$ac_try;;
 
2663
esac
 
2664
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2665
  (eval "$ac_link_default") 2>&5
 
2666
  ac_status=$?
 
2667
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2668
  (exit $ac_status); }; then
 
2669
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2670
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2671
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2672
# so that the user can short-circuit this test for compilers unknown to
 
2673
# Autoconf.
 
2674
for ac_file in $ac_files ''
 
2675
do
 
2676
  test -f "$ac_file" || continue
 
2677
  case $ac_file in
 
2678
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2679
        ;;
 
2680
    [ab].out )
 
2681
        # We found the default executable, but exeext='' is most
 
2682
        # certainly right.
 
2683
        break;;
 
2684
    *.* )
 
2685
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2686
        then :; else
 
2687
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2688
        fi
 
2689
        # We set ac_cv_exeext here because the later test for it is not
 
2690
        # safe: cross compilers may not add the suffix if given an `-o'
 
2691
        # argument, so we may need to know it at that point already.
 
2692
        # Even if this section looks crufty: it has the advantage of
 
2693
        # actually working.
 
2694
        break;;
 
2695
    * )
 
2696
        break;;
 
2697
  esac
 
2698
done
 
2699
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2700
 
 
2701
else
 
2702
  ac_file=''
 
2703
fi
 
2704
 
 
2705
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2706
echo "${ECHO_T}$ac_file" >&6; }
 
2707
if test -z "$ac_file"; then
 
2708
  echo "$as_me: failed program was:" >&5
 
2709
sed 's/^/| /' conftest.$ac_ext >&5
 
2710
 
 
2711
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2712
See \`config.log' for more details." >&5
 
2713
echo "$as_me: error: C compiler cannot create executables
 
2714
See \`config.log' for more details." >&2;}
 
2715
   { (exit 77); exit 77; }; }
 
2716
fi
 
2717
 
 
2718
ac_exeext=$ac_cv_exeext
 
2719
 
 
2720
# Check that the compiler produces executables we can run.  If not, either
 
2721
# the compiler is broken, or we cross compile.
 
2722
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2723
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
2724
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
2725
# If not cross compiling, check that we can run a simple program.
 
2726
if test "$cross_compiling" != yes; then
 
2727
  if { ac_try='./$ac_file'
 
2728
  { (case "(($ac_try" in
 
2729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2730
  *) ac_try_echo=$ac_try;;
 
2731
esac
 
2732
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2733
  (eval "$ac_try") 2>&5
 
2734
  ac_status=$?
 
2735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2736
  (exit $ac_status); }; }; then
 
2737
    cross_compiling=no
 
2738
  else
 
2739
    if test "$cross_compiling" = maybe; then
 
2740
        cross_compiling=yes
 
2741
    else
 
2742
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2743
If you meant to cross compile, use \`--host'.
 
2744
See \`config.log' for more details." >&5
 
2745
echo "$as_me: error: cannot run C compiled programs.
 
2746
If you meant to cross compile, use \`--host'.
 
2747
See \`config.log' for more details." >&2;}
 
2748
   { (exit 1); exit 1; }; }
 
2749
    fi
 
2750
  fi
 
2751
fi
 
2752
{ echo "$as_me:$LINENO: result: yes" >&5
 
2753
echo "${ECHO_T}yes" >&6; }
 
2754
 
 
2755
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2756
ac_clean_files=$ac_clean_files_save
 
2757
# Check that the compiler produces executables we can run.  If not, either
 
2758
# the compiler is broken, or we cross compile.
 
2759
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2760
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2761
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2762
echo "${ECHO_T}$cross_compiling" >&6; }
 
2763
 
 
2764
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2765
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2766
if { (ac_try="$ac_link"
 
2767
case "(($ac_try" in
 
2768
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2769
  *) ac_try_echo=$ac_try;;
 
2770
esac
 
2771
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2772
  (eval "$ac_link") 2>&5
 
2773
  ac_status=$?
 
2774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2775
  (exit $ac_status); }; then
 
2776
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
2777
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2778
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
2779
# `rm'.
 
2780
for ac_file in conftest.exe conftest conftest.*; do
 
2781
  test -f "$ac_file" || continue
 
2782
  case $ac_file in
 
2783
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2784
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2785
          break;;
 
2786
    * ) break;;
 
2787
  esac
 
2788
done
 
2789
else
 
2790
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2791
See \`config.log' for more details." >&5
 
2792
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2793
See \`config.log' for more details." >&2;}
 
2794
   { (exit 1); exit 1; }; }
 
2795
fi
 
2796
 
 
2797
rm -f conftest$ac_cv_exeext
 
2798
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2799
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2800
 
 
2801
rm -f conftest.$ac_ext
 
2802
EXEEXT=$ac_cv_exeext
 
2803
ac_exeext=$EXEEXT
 
2804
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2805
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
2806
if test "${ac_cv_objext+set}" = set; then
 
2807
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2808
else
 
2809
  cat >conftest.$ac_ext <<_ACEOF
 
2810
/* confdefs.h.  */
 
2811
_ACEOF
 
2812
cat confdefs.h >>conftest.$ac_ext
 
2813
cat >>conftest.$ac_ext <<_ACEOF
 
2814
/* end confdefs.h.  */
 
2815
 
 
2816
int
 
2817
main ()
 
2818
{
 
2819
 
 
2820
  ;
 
2821
  return 0;
 
2822
}
 
2823
_ACEOF
 
2824
rm -f conftest.o conftest.obj
 
2825
if { (ac_try="$ac_compile"
 
2826
case "(($ac_try" in
 
2827
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2828
  *) ac_try_echo=$ac_try;;
 
2829
esac
 
2830
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2831
  (eval "$ac_compile") 2>&5
 
2832
  ac_status=$?
 
2833
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2834
  (exit $ac_status); }; then
 
2835
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2836
  test -f "$ac_file" || continue;
 
2837
  case $ac_file in
 
2838
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2839
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2840
       break;;
 
2841
  esac
 
2842
done
 
2843
else
 
2844
  echo "$as_me: failed program was:" >&5
 
2845
sed 's/^/| /' conftest.$ac_ext >&5
 
2846
 
 
2847
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2848
See \`config.log' for more details." >&5
 
2849
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2850
See \`config.log' for more details." >&2;}
 
2851
   { (exit 1); exit 1; }; }
 
2852
fi
 
2853
 
 
2854
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
2855
fi
 
2856
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2857
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2858
OBJEXT=$ac_cv_objext
 
2859
ac_objext=$OBJEXT
 
2860
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2861
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
2862
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
2863
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2864
else
 
2865
  cat >conftest.$ac_ext <<_ACEOF
 
2866
/* confdefs.h.  */
 
2867
_ACEOF
 
2868
cat confdefs.h >>conftest.$ac_ext
 
2869
cat >>conftest.$ac_ext <<_ACEOF
 
2870
/* end confdefs.h.  */
 
2871
 
 
2872
int
 
2873
main ()
 
2874
{
 
2875
#ifndef __GNUC__
 
2876
       choke me
 
2877
#endif
 
2878
 
 
2879
  ;
 
2880
  return 0;
 
2881
}
 
2882
_ACEOF
 
2883
rm -f conftest.$ac_objext
 
2884
if { (ac_try="$ac_compile"
 
2885
case "(($ac_try" in
 
2886
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2887
  *) ac_try_echo=$ac_try;;
 
2888
esac
 
2889
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2890
  (eval "$ac_compile") 2>conftest.er1
 
2891
  ac_status=$?
 
2892
  grep -v '^ *+' conftest.er1 >conftest.err
 
2893
  rm -f conftest.er1
 
2894
  cat conftest.err >&5
 
2895
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2896
  (exit $ac_status); } && {
 
2897
         test -z "$ac_c_werror_flag" ||
 
2898
         test ! -s conftest.err
 
2899
       } && test -s conftest.$ac_objext; then
 
2900
  ac_compiler_gnu=yes
 
2901
else
 
2902
  echo "$as_me: failed program was:" >&5
 
2903
sed 's/^/| /' conftest.$ac_ext >&5
 
2904
 
 
2905
        ac_compiler_gnu=no
 
2906
fi
 
2907
 
 
2908
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2909
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
2910
 
 
2911
fi
 
2912
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2913
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
2914
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2915
ac_test_CFLAGS=${CFLAGS+set}
 
2916
ac_save_CFLAGS=$CFLAGS
 
2917
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2918
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
2919
if test "${ac_cv_prog_cc_g+set}" = set; then
 
2920
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2921
else
 
2922
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2923
   ac_c_werror_flag=yes
 
2924
   ac_cv_prog_cc_g=no
 
2925
   CFLAGS="-g"
 
2926
   cat >conftest.$ac_ext <<_ACEOF
 
2927
/* confdefs.h.  */
 
2928
_ACEOF
 
2929
cat confdefs.h >>conftest.$ac_ext
 
2930
cat >>conftest.$ac_ext <<_ACEOF
 
2931
/* end confdefs.h.  */
 
2932
 
 
2933
int
 
2934
main ()
 
2935
{
 
2936
 
 
2937
  ;
 
2938
  return 0;
 
2939
}
 
2940
_ACEOF
 
2941
rm -f conftest.$ac_objext
 
2942
if { (ac_try="$ac_compile"
 
2943
case "(($ac_try" in
 
2944
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2945
  *) ac_try_echo=$ac_try;;
 
2946
esac
 
2947
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2948
  (eval "$ac_compile") 2>conftest.er1
 
2949
  ac_status=$?
 
2950
  grep -v '^ *+' conftest.er1 >conftest.err
 
2951
  rm -f conftest.er1
 
2952
  cat conftest.err >&5
 
2953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2954
  (exit $ac_status); } && {
 
2955
         test -z "$ac_c_werror_flag" ||
 
2956
         test ! -s conftest.err
 
2957
       } && test -s conftest.$ac_objext; then
 
2958
  ac_cv_prog_cc_g=yes
 
2959
else
 
2960
  echo "$as_me: failed program was:" >&5
 
2961
sed 's/^/| /' conftest.$ac_ext >&5
 
2962
 
 
2963
        CFLAGS=""
 
2964
      cat >conftest.$ac_ext <<_ACEOF
 
2965
/* confdefs.h.  */
 
2966
_ACEOF
 
2967
cat confdefs.h >>conftest.$ac_ext
 
2968
cat >>conftest.$ac_ext <<_ACEOF
 
2969
/* end confdefs.h.  */
 
2970
 
 
2971
int
 
2972
main ()
 
2973
{
 
2974
 
 
2975
  ;
 
2976
  return 0;
 
2977
}
 
2978
_ACEOF
 
2979
rm -f conftest.$ac_objext
 
2980
if { (ac_try="$ac_compile"
 
2981
case "(($ac_try" in
 
2982
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2983
  *) ac_try_echo=$ac_try;;
 
2984
esac
 
2985
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2986
  (eval "$ac_compile") 2>conftest.er1
 
2987
  ac_status=$?
 
2988
  grep -v '^ *+' conftest.er1 >conftest.err
 
2989
  rm -f conftest.er1
 
2990
  cat conftest.err >&5
 
2991
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2992
  (exit $ac_status); } && {
 
2993
         test -z "$ac_c_werror_flag" ||
 
2994
         test ! -s conftest.err
 
2995
       } && test -s conftest.$ac_objext; then
 
2996
  :
 
2997
else
 
2998
  echo "$as_me: failed program was:" >&5
 
2999
sed 's/^/| /' conftest.$ac_ext >&5
 
3000
 
 
3001
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3002
         CFLAGS="-g"
 
3003
         cat >conftest.$ac_ext <<_ACEOF
 
3004
/* confdefs.h.  */
 
3005
_ACEOF
 
3006
cat confdefs.h >>conftest.$ac_ext
 
3007
cat >>conftest.$ac_ext <<_ACEOF
 
3008
/* end confdefs.h.  */
 
3009
 
 
3010
int
 
3011
main ()
 
3012
{
 
3013
 
 
3014
  ;
 
3015
  return 0;
 
3016
}
 
3017
_ACEOF
 
3018
rm -f conftest.$ac_objext
 
3019
if { (ac_try="$ac_compile"
 
3020
case "(($ac_try" in
 
3021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3022
  *) ac_try_echo=$ac_try;;
 
3023
esac
 
3024
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3025
  (eval "$ac_compile") 2>conftest.er1
 
3026
  ac_status=$?
 
3027
  grep -v '^ *+' conftest.er1 >conftest.err
 
3028
  rm -f conftest.er1
 
3029
  cat conftest.err >&5
 
3030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3031
  (exit $ac_status); } && {
 
3032
         test -z "$ac_c_werror_flag" ||
 
3033
         test ! -s conftest.err
 
3034
       } && test -s conftest.$ac_objext; then
 
3035
  ac_cv_prog_cc_g=yes
 
3036
else
 
3037
  echo "$as_me: failed program was:" >&5
 
3038
sed 's/^/| /' conftest.$ac_ext >&5
 
3039
 
 
3040
 
 
3041
fi
 
3042
 
 
3043
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3044
fi
 
3045
 
 
3046
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3047
fi
 
3048
 
 
3049
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3050
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3051
fi
 
3052
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3053
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3054
if test "$ac_test_CFLAGS" = set; then
 
3055
  CFLAGS=$ac_save_CFLAGS
 
3056
elif test $ac_cv_prog_cc_g = yes; then
 
3057
  if test "$GCC" = yes; then
 
3058
    CFLAGS="-g -O2"
 
3059
  else
 
3060
    CFLAGS="-g"
 
3061
  fi
 
3062
else
 
3063
  if test "$GCC" = yes; then
 
3064
    CFLAGS="-O2"
 
3065
  else
 
3066
    CFLAGS=
 
3067
  fi
 
3068
fi
 
3069
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3070
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3071
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3072
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3073
else
 
3074
  ac_cv_prog_cc_c89=no
 
3075
ac_save_CC=$CC
 
3076
cat >conftest.$ac_ext <<_ACEOF
 
3077
/* confdefs.h.  */
 
3078
_ACEOF
 
3079
cat confdefs.h >>conftest.$ac_ext
 
3080
cat >>conftest.$ac_ext <<_ACEOF
 
3081
/* end confdefs.h.  */
 
3082
#include <stdarg.h>
 
3083
#include <stdio.h>
 
3084
#include <sys/types.h>
 
3085
#include <sys/stat.h>
 
3086
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3087
struct buf { int x; };
 
3088
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3089
static char *e (p, i)
 
3090
     char **p;
 
3091
     int i;
 
3092
{
 
3093
  return p[i];
 
3094
}
 
3095
static char *f (char * (*g) (char **, int), char **p, ...)
 
3096
{
 
3097
  char *s;
 
3098
  va_list v;
 
3099
  va_start (v,p);
 
3100
  s = g (p, va_arg (v,int));
 
3101
  va_end (v);
 
3102
  return s;
 
3103
}
 
3104
 
 
3105
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3106
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3107
   These don't provoke an error unfortunately, instead are silently treated
 
3108
   as 'x'.  The following induces an error, until -std is added to get
 
3109
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3110
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3111
   that's true only with -std.  */
 
3112
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3113
 
 
3114
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3115
   inside strings and character constants.  */
 
3116
#define FOO(x) 'x'
 
3117
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3118
 
 
3119
int test (int i, double x);
 
3120
struct s1 {int (*f) (int a);};
 
3121
struct s2 {int (*f) (double a);};
 
3122
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3123
int argc;
 
3124
char **argv;
 
3125
int
 
3126
main ()
 
3127
{
 
3128
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3129
  ;
 
3130
  return 0;
 
3131
}
 
3132
_ACEOF
 
3133
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3134
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3135
do
 
3136
  CC="$ac_save_CC $ac_arg"
 
3137
  rm -f conftest.$ac_objext
 
3138
if { (ac_try="$ac_compile"
 
3139
case "(($ac_try" in
 
3140
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3141
  *) ac_try_echo=$ac_try;;
 
3142
esac
 
3143
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3144
  (eval "$ac_compile") 2>conftest.er1
 
3145
  ac_status=$?
 
3146
  grep -v '^ *+' conftest.er1 >conftest.err
 
3147
  rm -f conftest.er1
 
3148
  cat conftest.err >&5
 
3149
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3150
  (exit $ac_status); } && {
 
3151
         test -z "$ac_c_werror_flag" ||
 
3152
         test ! -s conftest.err
 
3153
       } && test -s conftest.$ac_objext; then
 
3154
  ac_cv_prog_cc_c89=$ac_arg
 
3155
else
 
3156
  echo "$as_me: failed program was:" >&5
 
3157
sed 's/^/| /' conftest.$ac_ext >&5
 
3158
 
 
3159
 
 
3160
fi
 
3161
 
 
3162
rm -f core conftest.err conftest.$ac_objext
 
3163
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3164
done
 
3165
rm -f conftest.$ac_ext
 
3166
CC=$ac_save_CC
 
3167
 
 
3168
fi
 
3169
# AC_CACHE_VAL
 
3170
case "x$ac_cv_prog_cc_c89" in
 
3171
  x)
 
3172
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3173
echo "${ECHO_T}none needed" >&6; } ;;
 
3174
  xno)
 
3175
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3176
echo "${ECHO_T}unsupported" >&6; } ;;
 
3177
  *)
 
3178
    CC="$CC $ac_cv_prog_cc_c89"
 
3179
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3180
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3181
esac
 
3182
 
 
3183
 
 
3184
ac_ext=c
 
3185
ac_cpp='$CPP $CPPFLAGS'
 
3186
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3187
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3188
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3189
DEPDIR="${am__leading_dot}deps"
 
3190
 
 
3191
ac_config_commands="$ac_config_commands depfiles"
 
3192
 
 
3193
 
 
3194
am_make=${MAKE-make}
 
3195
cat > confinc << 'END'
 
3196
am__doit:
 
3197
        @echo done
 
3198
.PHONY: am__doit
 
3199
END
 
3200
# If we don't find an include directive, just comment out the code.
 
3201
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3202
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3203
am__include="#"
 
3204
am__quote=
 
3205
_am_result=none
 
3206
# First try GNU make style include.
 
3207
echo "include confinc" > confmf
 
3208
# We grep out `Entering directory' and `Leaving directory'
 
3209
# messages which can occur if `w' ends up in MAKEFLAGS.
 
3210
# In particular we don't look at `^make:' because GNU make might
 
3211
# be invoked under some other name (usually "gmake"), in which
 
3212
# case it prints its new name instead of `make'.
 
3213
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
3214
   am__include=include
 
3215
   am__quote=
 
3216
   _am_result=GNU
 
3217
fi
 
3218
# Now try BSD make style include.
 
3219
if test "$am__include" = "#"; then
 
3220
   echo '.include "confinc"' > confmf
 
3221
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
3222
      am__include=.include
 
3223
      am__quote="\""
 
3224
      _am_result=BSD
 
3225
   fi
 
3226
fi
 
3227
 
 
3228
 
 
3229
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3230
echo "${ECHO_T}$_am_result" >&6; }
 
3231
rm -f confinc confmf
 
3232
 
 
3233
# Check whether --enable-dependency-tracking was given.
 
3234
if test "${enable_dependency_tracking+set}" = set; then
 
3235
  enableval=$enable_dependency_tracking;
 
3236
fi
 
3237
 
 
3238
if test "x$enable_dependency_tracking" != xno; then
 
3239
  am_depcomp="$ac_aux_dir/depcomp"
 
3240
  AMDEPBACKSLASH='\'
 
3241
fi
 
3242
 if test "x$enable_dependency_tracking" != xno; then
 
3243
  AMDEP_TRUE=
 
3244
  AMDEP_FALSE='#'
 
3245
else
 
3246
  AMDEP_TRUE='#'
 
3247
  AMDEP_FALSE=
 
3248
fi
 
3249
 
 
3250
 
 
3251
 
 
3252
depcc="$CC"   am_compiler_list=
 
3253
 
 
3254
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3255
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3256
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3257
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3258
else
 
3259
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3260
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3261
  # making bogus files that we don't know about and never remove.  For
 
3262
  # instance it was reported that on HP-UX the gcc test will end up
 
3263
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3264
  # in D'.
 
3265
  mkdir conftest.dir
 
3266
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3267
  # using a relative directory.
 
3268
  cp "$am_depcomp" conftest.dir
 
3269
  cd conftest.dir
 
3270
  # We will build objects and dependencies in a subdirectory because
 
3271
  # it helps to detect inapplicable dependency modes.  For instance
 
3272
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3273
  # side effect of compilation, but ICC will put the dependencies in
 
3274
  # the current directory while Tru64 will put them in the object
 
3275
  # directory.
 
3276
  mkdir sub
 
3277
 
 
3278
  am_cv_CC_dependencies_compiler_type=none
 
3279
  if test "$am_compiler_list" = ""; then
 
3280
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3281
  fi
 
3282
  for depmode in $am_compiler_list; do
 
3283
    # Setup a source with many dependencies, because some compilers
 
3284
    # like to wrap large dependency lists on column 80 (with \), and
 
3285
    # we should not choose a depcomp mode which is confused by this.
 
3286
    #
 
3287
    # We need to recreate these files for each test, as the compiler may
 
3288
    # overwrite some of them when testing with obscure command lines.
 
3289
    # This happens at least with the AIX C compiler.
 
3290
    : > sub/conftest.c
 
3291
    for i in 1 2 3 4 5 6; do
 
3292
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3293
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3294
      # Solaris 8's {/usr,}/bin/sh.
 
3295
      touch sub/conftst$i.h
 
3296
    done
 
3297
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3298
 
 
3299
    case $depmode in
 
3300
    nosideeffect)
 
3301
      # after this tag, mechanisms are not by side-effect, so they'll
 
3302
      # only be used when explicitly requested
 
3303
      if test "x$enable_dependency_tracking" = xyes; then
 
3304
        continue
 
3305
      else
 
3306
        break
 
3307
      fi
 
3308
      ;;
 
3309
    none) break ;;
 
3310
    esac
 
3311
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3312
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3313
    # handle `-M -o', and we need to detect this.
 
3314
    if depmode=$depmode \
 
3315
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3316
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3317
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3318
         >/dev/null 2>conftest.err &&
 
3319
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3320
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3321
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3322
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3323
      # icc doesn't choke on unknown options, it will just issue warnings
 
3324
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3325
      # that says an option was ignored or not supported.
 
3326
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3327
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3328
      # The diagnosis changed in icc 8.0:
 
3329
      #   icc: Command line remark: option '-MP' not supported
 
3330
      if (grep 'ignoring option' conftest.err ||
 
3331
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3332
        am_cv_CC_dependencies_compiler_type=$depmode
 
3333
        break
 
3334
      fi
 
3335
    fi
 
3336
  done
 
3337
 
 
3338
  cd ..
 
3339
  rm -rf conftest.dir
 
3340
else
 
3341
  am_cv_CC_dependencies_compiler_type=none
 
3342
fi
 
3343
 
 
3344
fi
 
3345
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3346
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3347
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3348
 
 
3349
 if
 
3350
  test "x$enable_dependency_tracking" != xno \
 
3351
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3352
  am__fastdepCC_TRUE=
 
3353
  am__fastdepCC_FALSE='#'
 
3354
else
 
3355
  am__fastdepCC_TRUE='#'
 
3356
  am__fastdepCC_FALSE=
 
3357
fi
 
3358
 
 
3359
 
 
3360
# Find a good install program.  We prefer a C program (faster),
 
3361
# so one script is as good as another.  But avoid the broken or
 
3362
# incompatible versions:
 
3363
# SysV /etc/install, /usr/sbin/install
 
3364
# SunOS /usr/etc/install
 
3365
# IRIX /sbin/install
 
3366
# AIX /bin/install
 
3367
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
3368
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
3369
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
3370
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
3371
# OS/2's system install, which has a completely different semantic
 
3372
# ./install, which can be erroneously created by make from ./install.sh.
 
3373
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3374
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
3375
if test -z "$INSTALL"; then
 
3376
if test "${ac_cv_path_install+set}" = set; then
 
3377
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3378
else
 
3379
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3380
for as_dir in $PATH
 
3381
do
 
3382
  IFS=$as_save_IFS
 
3383
  test -z "$as_dir" && as_dir=.
 
3384
  # Account for people who put trailing slashes in PATH elements.
 
3385
case $as_dir/ in
 
3386
  ./ | .// | /cC/* | \
 
3387
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
3388
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
3389
  /usr/ucb/* ) ;;
 
3390
  *)
 
3391
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
3392
    # Don't use installbsd from OSF since it installs stuff as root
 
3393
    # by default.
 
3394
    for ac_prog in ginstall scoinst install; do
 
3395
      for ac_exec_ext in '' $ac_executable_extensions; do
 
3396
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
3397
          if test $ac_prog = install &&
 
3398
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
3399
            # AIX install.  It has an incompatible calling convention.
 
3400
            :
 
3401
          elif test $ac_prog = install &&
 
3402
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
3403
            # program-specific install script used by HP pwplus--don't use.
 
3404
            :
 
3405
          else
 
3406
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
3407
            break 3
 
3408
          fi
 
3409
        fi
 
3410
      done
 
3411
    done
 
3412
    ;;
 
3413
esac
 
3414
done
 
3415
IFS=$as_save_IFS
 
3416
 
 
3417
 
 
3418
fi
 
3419
  if test "${ac_cv_path_install+set}" = set; then
 
3420
    INSTALL=$ac_cv_path_install
 
3421
  else
 
3422
    # As a last resort, use the slow shell script.  Don't cache a
 
3423
    # value for INSTALL within a source directory, because that will
 
3424
    # break other packages using the cache if that directory is
 
3425
    # removed, or if the value is a relative name.
 
3426
    INSTALL=$ac_install_sh
 
3427
  fi
 
3428
fi
 
3429
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3430
echo "${ECHO_T}$INSTALL" >&6; }
 
3431
 
 
3432
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
3433
# It thinks the first close brace ends the variable substitution.
 
3434
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
3435
 
 
3436
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
3437
 
 
3438
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
3439
 
 
3440
 
 
3441
 
 
3442
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 
3443
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
 
3444
if test "${ac_cv_type_signal+set}" = set; then
 
3445
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3446
else
 
3447
  cat >conftest.$ac_ext <<_ACEOF
 
3448
/* confdefs.h.  */
 
3449
_ACEOF
 
3450
cat confdefs.h >>conftest.$ac_ext
 
3451
cat >>conftest.$ac_ext <<_ACEOF
 
3452
/* end confdefs.h.  */
 
3453
#include <sys/types.h>
 
3454
#include <signal.h>
 
3455
 
 
3456
int
 
3457
main ()
 
3458
{
 
3459
return *(signal (0, 0)) (0) == 1;
 
3460
  ;
 
3461
  return 0;
 
3462
}
 
3463
_ACEOF
 
3464
rm -f conftest.$ac_objext
 
3465
if { (ac_try="$ac_compile"
 
3466
case "(($ac_try" in
 
3467
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3468
  *) ac_try_echo=$ac_try;;
 
3469
esac
 
3470
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3471
  (eval "$ac_compile") 2>conftest.er1
 
3472
  ac_status=$?
 
3473
  grep -v '^ *+' conftest.er1 >conftest.err
 
3474
  rm -f conftest.er1
 
3475
  cat conftest.err >&5
 
3476
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3477
  (exit $ac_status); } && {
 
3478
         test -z "$ac_c_werror_flag" ||
 
3479
         test ! -s conftest.err
 
3480
       } && test -s conftest.$ac_objext; then
 
3481
  ac_cv_type_signal=int
 
3482
else
 
3483
  echo "$as_me: failed program was:" >&5
 
3484
sed 's/^/| /' conftest.$ac_ext >&5
 
3485
 
 
3486
        ac_cv_type_signal=void
 
3487
fi
 
3488
 
 
3489
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3490
fi
 
3491
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 
3492
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
 
3493
 
 
3494
cat >>confdefs.h <<_ACEOF
 
3495
#define RETSIGTYPE $ac_cv_type_signal
 
3496
_ACEOF
 
3497
 
 
3498
 
 
3499
 
 
3500
# Checks for pkg-config packages
 
3501
 
 
3502
 
 
3503
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
3504
        if test -n "$ac_tool_prefix"; then
 
3505
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
3506
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
3507
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3508
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3509
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
3510
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3511
else
 
3512
  case $PKG_CONFIG in
 
3513
  [\\/]* | ?:[\\/]*)
 
3514
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
3515
  ;;
 
3516
  *)
 
3517
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3518
for as_dir in $PATH
 
3519
do
 
3520
  IFS=$as_save_IFS
 
3521
  test -z "$as_dir" && as_dir=.
 
3522
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3523
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3524
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
3525
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3526
    break 2
 
3527
  fi
 
3528
done
 
3529
done
 
3530
IFS=$as_save_IFS
 
3531
 
 
3532
  ;;
 
3533
esac
 
3534
fi
 
3535
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
3536
if test -n "$PKG_CONFIG"; then
 
3537
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
3538
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
3539
else
 
3540
  { echo "$as_me:$LINENO: result: no" >&5
 
3541
echo "${ECHO_T}no" >&6; }
 
3542
fi
 
3543
 
 
3544
 
 
3545
fi
 
3546
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
3547
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
3548
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
3549
set dummy pkg-config; ac_word=$2
 
3550
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3551
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3552
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
3553
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3554
else
 
3555
  case $ac_pt_PKG_CONFIG in
 
3556
  [\\/]* | ?:[\\/]*)
 
3557
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
3558
  ;;
 
3559
  *)
 
3560
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3561
for as_dir in $PATH
 
3562
do
 
3563
  IFS=$as_save_IFS
 
3564
  test -z "$as_dir" && as_dir=.
 
3565
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3566
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3567
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
3568
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3569
    break 2
 
3570
  fi
 
3571
done
 
3572
done
 
3573
IFS=$as_save_IFS
 
3574
 
 
3575
  ;;
 
3576
esac
 
3577
fi
 
3578
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
3579
if test -n "$ac_pt_PKG_CONFIG"; then
 
3580
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
3581
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
3582
else
 
3583
  { echo "$as_me:$LINENO: result: no" >&5
 
3584
echo "${ECHO_T}no" >&6; }
 
3585
fi
 
3586
 
 
3587
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
3588
    PKG_CONFIG=""
 
3589
  else
 
3590
    case $cross_compiling:$ac_tool_warned in
 
3591
yes:)
 
3592
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3593
whose name does not start with the host triplet.  If you think this
 
3594
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3595
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3596
whose name does not start with the host triplet.  If you think this
 
3597
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3598
ac_tool_warned=yes ;;
 
3599
esac
 
3600
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
3601
  fi
 
3602
else
 
3603
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
3604
fi
 
3605
 
 
3606
fi
 
3607
if test -n "$PKG_CONFIG"; then
 
3608
        _pkg_min_version=0.9.0
 
3609
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
3610
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
3611
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
3612
                { echo "$as_me:$LINENO: result: yes" >&5
 
3613
echo "${ECHO_T}yes" >&6; }
 
3614
        else
 
3615
                { echo "$as_me:$LINENO: result: no" >&5
 
3616
echo "${ECHO_T}no" >&6; }
 
3617
                PKG_CONFIG=""
 
3618
        fi
 
3619
 
 
3620
fi
 
3621
 
 
3622
pkg_failed=no
 
3623
{ echo "$as_me:$LINENO: checking for ICEAUTH" >&5
 
3624
echo $ECHO_N "checking for ICEAUTH... $ECHO_C" >&6; }
 
3625
 
 
3626
if test -n "$PKG_CONFIG"; then
 
3627
        if test -n "$PKG_CONFIG" && \
 
3628
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto ice\"") >&5
 
3629
  ($PKG_CONFIG --exists --print-errors "xproto ice") 2>&5
 
3630
  ac_status=$?
 
3631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3632
  (exit $ac_status); }; then
 
3633
  pkg_cv_ICEAUTH_CFLAGS=`$PKG_CONFIG --cflags "xproto ice" 2>/dev/null`
 
3634
else
 
3635
  pkg_failed=yes
 
3636
fi
 
3637
else
 
3638
        pkg_failed=untried
 
3639
fi
 
3640
if test -n "$PKG_CONFIG"; then
 
3641
        if test -n "$PKG_CONFIG" && \
 
3642
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto ice\"") >&5
 
3643
  ($PKG_CONFIG --exists --print-errors "xproto ice") 2>&5
 
3644
  ac_status=$?
 
3645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3646
  (exit $ac_status); }; then
 
3647
  pkg_cv_ICEAUTH_LIBS=`$PKG_CONFIG --libs "xproto ice" 2>/dev/null`
 
3648
else
 
3649
  pkg_failed=yes
 
3650
fi
 
3651
else
 
3652
        pkg_failed=untried
 
3653
fi
 
3654
 
 
3655
if test $pkg_failed = yes; then
 
3656
        ICEAUTH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto ice"`
 
3657
        # Put the nasty error message in config.log where it belongs
 
3658
        echo "$ICEAUTH_PKG_ERRORS" 1>&5
 
3659
 
 
3660
        { { echo "$as_me:$LINENO: error: Package requirements (xproto ice) were not met.
 
3661
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
3662
installed software in a non-standard prefix.
 
3663
 
 
3664
Alternatively you may set the ICEAUTH_CFLAGS and ICEAUTH_LIBS environment variables
 
3665
to avoid the need to call pkg-config.  See the pkg-config man page for
 
3666
more details." >&5
 
3667
echo "$as_me: error: Package requirements (xproto ice) were not met.
 
3668
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
3669
installed software in a non-standard prefix.
 
3670
 
 
3671
Alternatively you may set the ICEAUTH_CFLAGS and ICEAUTH_LIBS environment variables
 
3672
to avoid the need to call pkg-config.  See the pkg-config man page for
 
3673
more details." >&2;}
 
3674
   { (exit 1); exit 1; }; }
 
3675
elif test $pkg_failed = untried; then
 
3676
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
3677
is in your PATH or set the PKG_CONFIG environment variable to the full
 
3678
path to pkg-config.
 
3679
 
 
3680
Alternatively you may set the ICEAUTH_CFLAGS and ICEAUTH_LIBS environment variables
 
3681
to avoid the need to call pkg-config.  See the pkg-config man page for
 
3682
more details.
 
3683
 
 
3684
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
3685
See \`config.log' for more details." >&5
 
3686
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
3687
is in your PATH or set the PKG_CONFIG environment variable to the full
 
3688
path to pkg-config.
 
3689
 
 
3690
Alternatively you may set the ICEAUTH_CFLAGS and ICEAUTH_LIBS environment variables
 
3691
to avoid the need to call pkg-config.  See the pkg-config man page for
 
3692
more details.
 
3693
 
 
3694
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
3695
See \`config.log' for more details." >&2;}
 
3696
   { (exit 1); exit 1; }; }
 
3697
else
 
3698
        ICEAUTH_CFLAGS=$pkg_cv_ICEAUTH_CFLAGS
 
3699
        ICEAUTH_LIBS=$pkg_cv_ICEAUTH_LIBS
 
3700
        { echo "$as_me:$LINENO: result: yes" >&5
 
3701
echo "${ECHO_T}yes" >&6; }
 
3702
        :
 
3703
fi
 
3704
 
 
3705
 
 
3706
 
 
3707
 
 
3708
 
 
3709
# Allow checking code with lint, sparse, etc.
 
3710
 
 
3711
# Check whether --with-lint was given.
 
3712
if test "${with_lint+set}" = set; then
 
3713
  withval=$with_lint; use_lint=$withval
 
3714
else
 
3715
  use_lint=no
 
3716
fi
 
3717
 
 
3718
if test "x$use_lint" = "xyes" ; then
 
3719
        LINT="lint"
 
3720
else
 
3721
        LINT="$use_lint"
 
3722
fi
 
3723
if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
 
3724
    case $LINT in
 
3725
        lint|*/lint)
 
3726
            case $host_os in
 
3727
                solaris*)
 
3728
                        LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
 
3729
                        ;;
 
3730
            esac
 
3731
            ;;
 
3732
    esac
 
3733
fi
 
3734
 
 
3735
 
 
3736
 
 
3737
 if test x$LINT != xno; then
 
3738
  LINT_TRUE=
 
3739
  LINT_FALSE='#'
 
3740
else
 
3741
  LINT_TRUE='#'
 
3742
  LINT_FALSE=
 
3743
fi
 
3744
 
 
3745
 
 
3746
 
 
3747
# Make sure we can run config.sub.
 
3748
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
3749
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
3750
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
3751
   { (exit 1); exit 1; }; }
 
3752
 
 
3753
{ echo "$as_me:$LINENO: checking build system type" >&5
 
3754
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
3755
if test "${ac_cv_build+set}" = set; then
 
3756
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3757
else
 
3758
  ac_build_alias=$build_alias
 
3759
test "x$ac_build_alias" = x &&
 
3760
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
3761
test "x$ac_build_alias" = x &&
 
3762
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
3763
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
3764
   { (exit 1); exit 1; }; }
 
3765
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
3766
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
3767
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
3768
   { (exit 1); exit 1; }; }
 
3769
 
 
3770
fi
 
3771
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3772
echo "${ECHO_T}$ac_cv_build" >&6; }
 
3773
case $ac_cv_build in
 
3774
*-*-*) ;;
 
3775
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
3776
echo "$as_me: error: invalid value of canonical build" >&2;}
 
3777
   { (exit 1); exit 1; }; };;
 
3778
esac
 
3779
build=$ac_cv_build
 
3780
ac_save_IFS=$IFS; IFS='-'
 
3781
set x $ac_cv_build
 
3782
shift
 
3783
build_cpu=$1
 
3784
build_vendor=$2
 
3785
shift; shift
 
3786
# Remember, the first character of IFS is used to create $*,
 
3787
# except with old shells:
 
3788
build_os=$*
 
3789
IFS=$ac_save_IFS
 
3790
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
3791
 
 
3792
 
 
3793
{ echo "$as_me:$LINENO: checking host system type" >&5
 
3794
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
3795
if test "${ac_cv_host+set}" = set; then
 
3796
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3797
else
 
3798
  if test "x$host_alias" = x; then
 
3799
  ac_cv_host=$ac_cv_build
 
3800
else
 
3801
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
3802
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
3803
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
3804
   { (exit 1); exit 1; }; }
 
3805
fi
 
3806
 
 
3807
fi
 
3808
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3809
echo "${ECHO_T}$ac_cv_host" >&6; }
 
3810
case $ac_cv_host in
 
3811
*-*-*) ;;
 
3812
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
3813
echo "$as_me: error: invalid value of canonical host" >&2;}
 
3814
   { (exit 1); exit 1; }; };;
 
3815
esac
 
3816
host=$ac_cv_host
 
3817
ac_save_IFS=$IFS; IFS='-'
 
3818
set x $ac_cv_host
 
3819
shift
 
3820
host_cpu=$1
 
3821
host_vendor=$2
 
3822
shift; shift
 
3823
# Remember, the first character of IFS is used to create $*,
 
3824
# except with old shells:
 
3825
host_os=$*
 
3826
IFS=$ac_save_IFS
 
3827
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3828
 
 
3829
 
 
3830
 
 
3831
 
 
3832
 
 
3833
if test x$APP_MAN_SUFFIX = x    ; then
 
3834
    APP_MAN_SUFFIX=1
 
3835
fi
 
3836
if test x$APP_MAN_DIR = x    ; then
 
3837
    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
 
3838
fi
 
3839
 
 
3840
if test x$LIB_MAN_SUFFIX = x    ; then
 
3841
    LIB_MAN_SUFFIX=3
 
3842
fi
 
3843
if test x$LIB_MAN_DIR = x    ; then
 
3844
    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
 
3845
fi
 
3846
 
 
3847
if test x$FILE_MAN_SUFFIX = x    ; then
 
3848
    case $host_os in
 
3849
        solaris*)       FILE_MAN_SUFFIX=4  ;;
 
3850
        *)              FILE_MAN_SUFFIX=5  ;;
 
3851
    esac
 
3852
fi
 
3853
if test x$FILE_MAN_DIR = x    ; then
 
3854
    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
 
3855
fi
 
3856
 
 
3857
if test x$MISC_MAN_SUFFIX = x    ; then
 
3858
    case $host_os in
 
3859
        solaris*)       MISC_MAN_SUFFIX=5  ;;
 
3860
        *)              MISC_MAN_SUFFIX=7  ;;
 
3861
    esac
 
3862
fi
 
3863
if test x$MISC_MAN_DIR = x    ; then
 
3864
    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
 
3865
fi
 
3866
 
 
3867
if test x$DRIVER_MAN_SUFFIX = x    ; then
 
3868
    case $host_os in
 
3869
        solaris*)       DRIVER_MAN_SUFFIX=7  ;;
 
3870
        *)              DRIVER_MAN_SUFFIX=4  ;;
 
3871
    esac
 
3872
fi
 
3873
if test x$DRIVER_MAN_DIR = x    ; then
 
3874
    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
 
3875
fi
 
3876
 
 
3877
if test x$ADMIN_MAN_SUFFIX = x    ; then
 
3878
    case $host_os in
 
3879
        solaris*)       ADMIN_MAN_SUFFIX=1m ;;
 
3880
        *)              ADMIN_MAN_SUFFIX=8  ;;
 
3881
    esac
 
3882
fi
 
3883
if test x$ADMIN_MAN_DIR = x    ; then
 
3884
    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
 
3885
fi
 
3886
 
 
3887
 
 
3888
 
 
3889
 
 
3890
 
 
3891
 
 
3892
 
 
3893
 
 
3894
 
 
3895
 
 
3896
 
 
3897
 
 
3898
 
 
3899
 
 
3900
 
 
3901
 
 
3902
 
 
3903
# Check whether --with-release-version was given.
 
3904
if test "${with_release_version+set}" = set; then
 
3905
  withval=$with_release_version; RELEASE_VERSION="$withval"
 
3906
else
 
3907
  RELEASE_VERSION=""
 
3908
fi
 
3909
 
 
3910
        if test "x$RELEASE_VERSION" != "x"; then
 
3911
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
 
3912
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
 
3913
                { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
 
3914
echo "$as_me: Building with package name set to $PACKAGE" >&6;}
 
3915
        fi
 
3916
 
 
3917
cat >>confdefs.h <<_ACEOF
 
3918
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
 
3919
_ACEOF
 
3920
 
 
3921
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
 
3922
        if test "x$PVM" = "x"; then
 
3923
                PVM="0"
 
3924
        fi
 
3925
 
 
3926
cat >>confdefs.h <<_ACEOF
 
3927
#define PACKAGE_VERSION_MINOR $PVM
 
3928
_ACEOF
 
3929
 
 
3930
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
 
3931
        if test "x$PVP" = "x"; then
 
3932
                PVP="0"
 
3933
        fi
 
3934
 
 
3935
cat >>confdefs.h <<_ACEOF
 
3936
#define PACKAGE_VERSION_PATCHLEVEL $PVP
 
3937
_ACEOF
 
3938
 
 
3939
 
 
3940
 
 
3941
ac_config_files="$ac_config_files Makefile"
 
3942
 
 
3943
cat >confcache <<\_ACEOF
 
3944
# This file is a shell script that caches the results of configure
 
3945
# tests run on this system so they can be shared between configure
 
3946
# scripts and configure runs, see configure's option --config-cache.
 
3947
# It is not useful on other systems.  If it contains results you don't
 
3948
# want to keep, you may remove or edit it.
 
3949
#
 
3950
# config.status only pays attention to the cache file if you give it
 
3951
# the --recheck option to rerun configure.
 
3952
#
 
3953
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
3954
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
3955
# following values.
 
3956
 
 
3957
_ACEOF
 
3958
 
 
3959
# The following way of writing the cache mishandles newlines in values,
 
3960
# but we know of no workaround that is simple, portable, and efficient.
 
3961
# So, we kill variables containing newlines.
 
3962
# Ultrix sh set writes to stderr and can't be redirected directly,
 
3963
# and sets the high bit in the cache file unless we assign to the vars.
 
3964
(
 
3965
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
3966
    eval ac_val=\$$ac_var
 
3967
    case $ac_val in #(
 
3968
    *${as_nl}*)
 
3969
      case $ac_var in #(
 
3970
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
3971
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
3972
      esac
 
3973
      case $ac_var in #(
 
3974
      _ | IFS | as_nl) ;; #(
 
3975
      *) $as_unset $ac_var ;;
 
3976
      esac ;;
 
3977
    esac
 
3978
  done
 
3979
 
 
3980
  (set) 2>&1 |
 
3981
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
3982
    *${as_nl}ac_space=\ *)
 
3983
      # `set' does not quote correctly, so add quotes (double-quote
 
3984
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
3985
      sed -n \
 
3986
        "s/'/'\\\\''/g;
 
3987
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
3988
      ;; #(
 
3989
    *)
 
3990
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
3991
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
3992
      ;;
 
3993
    esac |
 
3994
    sort
 
3995
) |
 
3996
  sed '
 
3997
     /^ac_cv_env_/b end
 
3998
     t clear
 
3999
     :clear
 
4000
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
4001
     t end
 
4002
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
4003
     :end' >>confcache
 
4004
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
4005
  if test -w "$cache_file"; then
 
4006
    test "x$cache_file" != "x/dev/null" &&
 
4007
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
4008
echo "$as_me: updating cache $cache_file" >&6;}
 
4009
    cat confcache >$cache_file
 
4010
  else
 
4011
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
4012
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
4013
  fi
 
4014
fi
 
4015
rm -f confcache
 
4016
 
 
4017
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
4018
# Let make expand exec_prefix.
 
4019
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
4020
 
 
4021
DEFS=-DHAVE_CONFIG_H
 
4022
 
 
4023
ac_libobjs=
 
4024
ac_ltlibobjs=
 
4025
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
4026
  # 1. Remove the extension, and $U if already installed.
 
4027
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
4028
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
4029
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
4030
  #    will be set to the directory where LIBOBJS objects are built.
 
4031
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
4032
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
4033
done
 
4034
LIBOBJS=$ac_libobjs
 
4035
 
 
4036
LTLIBOBJS=$ac_ltlibobjs
 
4037
 
 
4038
 
 
4039
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
4040
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
4041
Usually this means the macro was only invoked conditionally." >&5
 
4042
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
4043
Usually this means the macro was only invoked conditionally." >&2;}
 
4044
   { (exit 1); exit 1; }; }
 
4045
fi
 
4046
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
4047
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
4048
Usually this means the macro was only invoked conditionally." >&5
 
4049
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
4050
Usually this means the macro was only invoked conditionally." >&2;}
 
4051
   { (exit 1); exit 1; }; }
 
4052
fi
 
4053
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
4054
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
4055
Usually this means the macro was only invoked conditionally." >&5
 
4056
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
4057
Usually this means the macro was only invoked conditionally." >&2;}
 
4058
   { (exit 1); exit 1; }; }
 
4059
fi
 
4060
if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
 
4061
  { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
 
4062
Usually this means the macro was only invoked conditionally." >&5
 
4063
echo "$as_me: error: conditional \"LINT\" was never defined.
 
4064
Usually this means the macro was only invoked conditionally." >&2;}
 
4065
   { (exit 1); exit 1; }; }
 
4066
fi
 
4067
 
 
4068
: ${CONFIG_STATUS=./config.status}
 
4069
ac_clean_files_save=$ac_clean_files
 
4070
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
4071
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
4072
echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
4073
cat >$CONFIG_STATUS <<_ACEOF
 
4074
#! $SHELL
 
4075
# Generated by $as_me.
 
4076
# Run this file to recreate the current configuration.
 
4077
# Compiler output produced by configure, useful for debugging
 
4078
# configure, is in config.log if it exists.
 
4079
 
 
4080
debug=false
 
4081
ac_cs_recheck=false
 
4082
ac_cs_silent=false
 
4083
SHELL=\${CONFIG_SHELL-$SHELL}
 
4084
_ACEOF
 
4085
 
 
4086
cat >>$CONFIG_STATUS <<\_ACEOF
 
4087
## --------------------- ##
 
4088
## M4sh Initialization.  ##
 
4089
## --------------------- ##
 
4090
 
 
4091
# Be more Bourne compatible
 
4092
DUALCASE=1; export DUALCASE # for MKS sh
 
4093
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
4094
  emulate sh
 
4095
  NULLCMD=:
 
4096
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
4097
  # is contrary to our usage.  Disable this feature.
 
4098
  alias -g '${1+"$@"}'='"$@"'
 
4099
  setopt NO_GLOB_SUBST
 
4100
else
 
4101
  case `(set -o) 2>/dev/null` in
 
4102
  *posix*) set -o posix ;;
 
4103
esac
 
4104
 
 
4105
fi
 
4106
 
 
4107
 
 
4108
 
 
4109
 
 
4110
# PATH needs CR
 
4111
# Avoid depending upon Character Ranges.
 
4112
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
4113
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
4114
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
4115
as_cr_digits='0123456789'
 
4116
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
4117
 
 
4118
# The user is always right.
 
4119
if test "${PATH_SEPARATOR+set}" != set; then
 
4120
  echo "#! /bin/sh" >conf$$.sh
 
4121
  echo  "exit 0"   >>conf$$.sh
 
4122
  chmod +x conf$$.sh
 
4123
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
4124
    PATH_SEPARATOR=';'
 
4125
  else
 
4126
    PATH_SEPARATOR=:
 
4127
  fi
 
4128
  rm -f conf$$.sh
 
4129
fi
 
4130
 
 
4131
# Support unset when possible.
 
4132
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4133
  as_unset=unset
 
4134
else
 
4135
  as_unset=false
 
4136
fi
 
4137
 
 
4138
 
 
4139
# IFS
 
4140
# We need space, tab and new line, in precisely that order.  Quoting is
 
4141
# there to prevent editors from complaining about space-tab.
 
4142
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
4143
# splitting by setting IFS to empty value.)
 
4144
as_nl='
 
4145
'
 
4146
IFS=" ""        $as_nl"
 
4147
 
 
4148
# Find who we are.  Look in the path if we contain no directory separator.
 
4149
case $0 in
 
4150
  *[\\/]* ) as_myself=$0 ;;
 
4151
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4152
for as_dir in $PATH
 
4153
do
 
4154
  IFS=$as_save_IFS
 
4155
  test -z "$as_dir" && as_dir=.
 
4156
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
4157
done
 
4158
IFS=$as_save_IFS
 
4159
 
 
4160
     ;;
 
4161
esac
 
4162
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
4163
# in which case we are not to be found in the path.
 
4164
if test "x$as_myself" = x; then
 
4165
  as_myself=$0
 
4166
fi
 
4167
if test ! -f "$as_myself"; then
 
4168
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
4169
  { (exit 1); exit 1; }
 
4170
fi
 
4171
 
 
4172
# Work around bugs in pre-3.0 UWIN ksh.
 
4173
for as_var in ENV MAIL MAILPATH
 
4174
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
4175
done
 
4176
PS1='$ '
 
4177
PS2='> '
 
4178
PS4='+ '
 
4179
 
 
4180
# NLS nuisances.
 
4181
for as_var in \
 
4182
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
4183
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
4184
  LC_TELEPHONE LC_TIME
 
4185
do
 
4186
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
4187
    eval $as_var=C; export $as_var
 
4188
  else
 
4189
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
4190
  fi
 
4191
done
 
4192
 
 
4193
# Required to use basename.
 
4194
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
4195
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
4196
  as_expr=expr
 
4197
else
 
4198
  as_expr=false
 
4199
fi
 
4200
 
 
4201
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
4202
  as_basename=basename
 
4203
else
 
4204
  as_basename=false
 
4205
fi
 
4206
 
 
4207
 
 
4208
# Name of the executable.
 
4209
as_me=`$as_basename -- "$0" ||
 
4210
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
4211
         X"$0" : 'X\(//\)$' \| \
 
4212
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
4213
echo X/"$0" |
 
4214
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
4215
            s//\1/
 
4216
            q
 
4217
          }
 
4218
          /^X\/\(\/\/\)$/{
 
4219
            s//\1/
 
4220
            q
 
4221
          }
 
4222
          /^X\/\(\/\).*/{
 
4223
            s//\1/
 
4224
            q
 
4225
          }
 
4226
          s/.*/./; q'`
 
4227
 
 
4228
# CDPATH.
 
4229
$as_unset CDPATH
 
4230
 
 
4231
 
 
4232
 
 
4233
  as_lineno_1=$LINENO
 
4234
  as_lineno_2=$LINENO
 
4235
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
4236
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
4237
 
 
4238
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
4239
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
4240
  # line-number line after each line using $LINENO; the second 'sed'
 
4241
  # does the real work.  The second script uses 'N' to pair each
 
4242
  # line-number line with the line containing $LINENO, and appends
 
4243
  # trailing '-' during substitution so that $LINENO is not a special
 
4244
  # case at line end.
 
4245
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
4246
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
4247
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
4248
  sed -n '
 
4249
    p
 
4250
    /[$]LINENO/=
 
4251
  ' <$as_myself |
 
4252
    sed '
 
4253
      s/[$]LINENO.*/&-/
 
4254
      t lineno
 
4255
      b
 
4256
      :lineno
 
4257
      N
 
4258
      :loop
 
4259
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
4260
      t loop
 
4261
      s/-\n.*//
 
4262
    ' >$as_me.lineno &&
 
4263
  chmod +x "$as_me.lineno" ||
 
4264
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
4265
   { (exit 1); exit 1; }; }
 
4266
 
 
4267
  # Don't try to exec as it changes $[0], causing all sort of problems
 
4268
  # (the dirname of $[0] is not the place where we might find the
 
4269
  # original and so on.  Autoconf is especially sensitive to this).
 
4270
  . "./$as_me.lineno"
 
4271
  # Exit status is that of the last command.
 
4272
  exit
 
4273
}
 
4274
 
 
4275
 
 
4276
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
4277
  as_dirname=dirname
 
4278
else
 
4279
  as_dirname=false
 
4280
fi
 
4281
 
 
4282
ECHO_C= ECHO_N= ECHO_T=
 
4283
case `echo -n x` in
 
4284
-n*)
 
4285
  case `echo 'x\c'` in
 
4286
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
4287
  *)   ECHO_C='\c';;
 
4288
  esac;;
 
4289
*)
 
4290
  ECHO_N='-n';;
 
4291
esac
 
4292
 
 
4293
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
4294
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
4295
  as_expr=expr
 
4296
else
 
4297
  as_expr=false
 
4298
fi
 
4299
 
 
4300
rm -f conf$$ conf$$.exe conf$$.file
 
4301
if test -d conf$$.dir; then
 
4302
  rm -f conf$$.dir/conf$$.file
 
4303
else
 
4304
  rm -f conf$$.dir
 
4305
  mkdir conf$$.dir
 
4306
fi
 
4307
echo >conf$$.file
 
4308
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
4309
  as_ln_s='ln -s'
 
4310
  # ... but there are two gotchas:
 
4311
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
4312
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
4313
  # In both cases, we have to default to `cp -p'.
 
4314
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
4315
    as_ln_s='cp -p'
 
4316
elif ln conf$$.file conf$$ 2>/dev/null; then
 
4317
  as_ln_s=ln
 
4318
else
 
4319
  as_ln_s='cp -p'
 
4320
fi
 
4321
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
4322
rmdir conf$$.dir 2>/dev/null
 
4323
 
 
4324
if mkdir -p . 2>/dev/null; then
 
4325
  as_mkdir_p=:
 
4326
else
 
4327
  test -d ./-p && rmdir ./-p
 
4328
  as_mkdir_p=false
 
4329
fi
 
4330
 
 
4331
if test -x / >/dev/null 2>&1; then
 
4332
  as_test_x='test -x'
 
4333
else
 
4334
  if ls -dL / >/dev/null 2>&1; then
 
4335
    as_ls_L_option=L
 
4336
  else
 
4337
    as_ls_L_option=
 
4338
  fi
 
4339
  as_test_x='
 
4340
    eval sh -c '\''
 
4341
      if test -d "$1"; then
 
4342
        test -d "$1/.";
 
4343
      else
 
4344
        case $1 in
 
4345
        -*)set "./$1";;
 
4346
        esac;
 
4347
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
4348
        ???[sx]*):;;*)false;;esac;fi
 
4349
    '\'' sh
 
4350
  '
 
4351
fi
 
4352
as_executable_p=$as_test_x
 
4353
 
 
4354
# Sed expression to map a string onto a valid CPP name.
 
4355
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
4356
 
 
4357
# Sed expression to map a string onto a valid variable name.
 
4358
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
4359
 
 
4360
 
 
4361
exec 6>&1
 
4362
 
 
4363
# Save the log message, to keep $[0] and so on meaningful, and to
 
4364
# report actual input values of CONFIG_FILES etc. instead of their
 
4365
# values after options handling.
 
4366
ac_log="
 
4367
This file was extended by iceauth $as_me 1.0.2, which was
 
4368
generated by GNU Autoconf 2.61.  Invocation command line was
 
4369
 
 
4370
  CONFIG_FILES    = $CONFIG_FILES
 
4371
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
4372
  CONFIG_LINKS    = $CONFIG_LINKS
 
4373
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
4374
  $ $0 $@
 
4375
 
 
4376
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
4377
"
 
4378
 
 
4379
_ACEOF
 
4380
 
 
4381
cat >>$CONFIG_STATUS <<_ACEOF
 
4382
# Files that config.status was made for.
 
4383
config_files="$ac_config_files"
 
4384
config_headers="$ac_config_headers"
 
4385
config_commands="$ac_config_commands"
 
4386
 
 
4387
_ACEOF
 
4388
 
 
4389
cat >>$CONFIG_STATUS <<\_ACEOF
 
4390
ac_cs_usage="\
 
4391
\`$as_me' instantiates files from templates according to the
 
4392
current configuration.
 
4393
 
 
4394
Usage: $0 [OPTIONS] [FILE]...
 
4395
 
 
4396
  -h, --help       print this help, then exit
 
4397
  -V, --version    print version number and configuration settings, then exit
 
4398
  -q, --quiet      do not print progress messages
 
4399
  -d, --debug      don't remove temporary files
 
4400
      --recheck    update $as_me by reconfiguring in the same conditions
 
4401
  --file=FILE[:TEMPLATE]
 
4402
                   instantiate the configuration file FILE
 
4403
  --header=FILE[:TEMPLATE]
 
4404
                   instantiate the configuration header FILE
 
4405
 
 
4406
Configuration files:
 
4407
$config_files
 
4408
 
 
4409
Configuration headers:
 
4410
$config_headers
 
4411
 
 
4412
Configuration commands:
 
4413
$config_commands
 
4414
 
 
4415
Report bugs to <bug-autoconf@gnu.org>."
 
4416
 
 
4417
_ACEOF
 
4418
cat >>$CONFIG_STATUS <<_ACEOF
 
4419
ac_cs_version="\\
 
4420
iceauth config.status 1.0.2
 
4421
configured by $0, generated by GNU Autoconf 2.61,
 
4422
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
4423
 
 
4424
Copyright (C) 2006 Free Software Foundation, Inc.
 
4425
This config.status script is free software; the Free Software Foundation
 
4426
gives unlimited permission to copy, distribute and modify it."
 
4427
 
 
4428
ac_pwd='$ac_pwd'
 
4429
srcdir='$srcdir'
 
4430
INSTALL='$INSTALL'
 
4431
MKDIR_P='$MKDIR_P'
 
4432
_ACEOF
 
4433
 
 
4434
cat >>$CONFIG_STATUS <<\_ACEOF
 
4435
# If no file are specified by the user, then we need to provide default
 
4436
# value.  By we need to know if files were specified by the user.
 
4437
ac_need_defaults=:
 
4438
while test $# != 0
 
4439
do
 
4440
  case $1 in
 
4441
  --*=*)
 
4442
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
4443
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
4444
    ac_shift=:
 
4445
    ;;
 
4446
  *)
 
4447
    ac_option=$1
 
4448
    ac_optarg=$2
 
4449
    ac_shift=shift
 
4450
    ;;
 
4451
  esac
 
4452
 
 
4453
  case $ac_option in
 
4454
  # Handling of the options.
 
4455
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
4456
    ac_cs_recheck=: ;;
 
4457
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
4458
    echo "$ac_cs_version"; exit ;;
 
4459
  --debug | --debu | --deb | --de | --d | -d )
 
4460
    debug=: ;;
 
4461
  --file | --fil | --fi | --f )
 
4462
    $ac_shift
 
4463
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
4464
    ac_need_defaults=false;;
 
4465
  --header | --heade | --head | --hea )
 
4466
    $ac_shift
 
4467
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
4468
    ac_need_defaults=false;;
 
4469
  --he | --h)
 
4470
    # Conflict between --help and --header
 
4471
    { echo "$as_me: error: ambiguous option: $1
 
4472
Try \`$0 --help' for more information." >&2
 
4473
   { (exit 1); exit 1; }; };;
 
4474
  --help | --hel | -h )
 
4475
    echo "$ac_cs_usage"; exit ;;
 
4476
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
4477
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
4478
    ac_cs_silent=: ;;
 
4479
 
 
4480
  # This is an error.
 
4481
  -*) { echo "$as_me: error: unrecognized option: $1
 
4482
Try \`$0 --help' for more information." >&2
 
4483
   { (exit 1); exit 1; }; } ;;
 
4484
 
 
4485
  *) ac_config_targets="$ac_config_targets $1"
 
4486
     ac_need_defaults=false ;;
 
4487
 
 
4488
  esac
 
4489
  shift
 
4490
done
 
4491
 
 
4492
ac_configure_extra_args=
 
4493
 
 
4494
if $ac_cs_silent; then
 
4495
  exec 6>/dev/null
 
4496
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
4497
fi
 
4498
 
 
4499
_ACEOF
 
4500
cat >>$CONFIG_STATUS <<_ACEOF
 
4501
if \$ac_cs_recheck; then
 
4502
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
4503
  CONFIG_SHELL=$SHELL
 
4504
  export CONFIG_SHELL
 
4505
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
4506
fi
 
4507
 
 
4508
_ACEOF
 
4509
cat >>$CONFIG_STATUS <<\_ACEOF
 
4510
exec 5>>config.log
 
4511
{
 
4512
  echo
 
4513
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
4514
## Running $as_me. ##
 
4515
_ASBOX
 
4516
  echo "$ac_log"
 
4517
} >&5
 
4518
 
 
4519
_ACEOF
 
4520
cat >>$CONFIG_STATUS <<_ACEOF
 
4521
#
 
4522
# INIT-COMMANDS
 
4523
#
 
4524
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
4525
 
 
4526
_ACEOF
 
4527
 
 
4528
cat >>$CONFIG_STATUS <<\_ACEOF
 
4529
 
 
4530
# Handling of arguments.
 
4531
for ac_config_target in $ac_config_targets
 
4532
do
 
4533
  case $ac_config_target in
 
4534
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
4535
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
4536
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
4537
 
 
4538
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
4539
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
4540
   { (exit 1); exit 1; }; };;
 
4541
  esac
 
4542
done
 
4543
 
 
4544
 
 
4545
# If the user did not use the arguments to specify the items to instantiate,
 
4546
# then the envvar interface is used.  Set only those that are not.
 
4547
# We use the long form for the default assignment because of an extremely
 
4548
# bizarre bug on SunOS 4.1.3.
 
4549
if $ac_need_defaults; then
 
4550
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
4551
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
4552
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
4553
fi
 
4554
 
 
4555
# Have a temporary directory for convenience.  Make it in the build tree
 
4556
# simply because there is no reason against having it here, and in addition,
 
4557
# creating and moving files from /tmp can sometimes cause problems.
 
4558
# Hook for its removal unless debugging.
 
4559
# Note that there is a small window in which the directory will not be cleaned:
 
4560
# after its creation but before its name has been assigned to `$tmp'.
 
4561
$debug ||
 
4562
{
 
4563
  tmp=
 
4564
  trap 'exit_status=$?
 
4565
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
4566
' 0
 
4567
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
4568
}
 
4569
# Create a (secure) tmp directory for tmp files.
 
4570
 
 
4571
{
 
4572
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
4573
  test -n "$tmp" && test -d "$tmp"
 
4574
}  ||
 
4575
{
 
4576
  tmp=./conf$$-$RANDOM
 
4577
  (umask 077 && mkdir "$tmp")
 
4578
} ||
 
4579
{
 
4580
   echo "$me: cannot create a temporary directory in ." >&2
 
4581
   { (exit 1); exit 1; }
 
4582
}
 
4583
 
 
4584
#
 
4585
# Set up the sed scripts for CONFIG_FILES section.
 
4586
#
 
4587
 
 
4588
# No need to generate the scripts if there are no CONFIG_FILES.
 
4589
# This happens for instance when ./config.status config.h
 
4590
if test -n "$CONFIG_FILES"; then
 
4591
 
 
4592
_ACEOF
 
4593
 
 
4594
 
 
4595
 
 
4596
ac_delim='%!_!# '
 
4597
for ac_last_try in false false false false false :; do
 
4598
  cat >conf$$subs.sed <<_ACEOF
 
4599
SHELL!$SHELL$ac_delim
 
4600
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
4601
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
4602
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
4603
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
4604
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
4605
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
4606
exec_prefix!$exec_prefix$ac_delim
 
4607
prefix!$prefix$ac_delim
 
4608
program_transform_name!$program_transform_name$ac_delim
 
4609
bindir!$bindir$ac_delim
 
4610
sbindir!$sbindir$ac_delim
 
4611
libexecdir!$libexecdir$ac_delim
 
4612
datarootdir!$datarootdir$ac_delim
 
4613
datadir!$datadir$ac_delim
 
4614
sysconfdir!$sysconfdir$ac_delim
 
4615
sharedstatedir!$sharedstatedir$ac_delim
 
4616
localstatedir!$localstatedir$ac_delim
 
4617
includedir!$includedir$ac_delim
 
4618
oldincludedir!$oldincludedir$ac_delim
 
4619
docdir!$docdir$ac_delim
 
4620
infodir!$infodir$ac_delim
 
4621
htmldir!$htmldir$ac_delim
 
4622
dvidir!$dvidir$ac_delim
 
4623
pdfdir!$pdfdir$ac_delim
 
4624
psdir!$psdir$ac_delim
 
4625
libdir!$libdir$ac_delim
 
4626
localedir!$localedir$ac_delim
 
4627
mandir!$mandir$ac_delim
 
4628
DEFS!$DEFS$ac_delim
 
4629
ECHO_C!$ECHO_C$ac_delim
 
4630
ECHO_N!$ECHO_N$ac_delim
 
4631
ECHO_T!$ECHO_T$ac_delim
 
4632
LIBS!$LIBS$ac_delim
 
4633
build_alias!$build_alias$ac_delim
 
4634
host_alias!$host_alias$ac_delim
 
4635
target_alias!$target_alias$ac_delim
 
4636
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
4637
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
4638
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
4639
am__isrc!$am__isrc$ac_delim
 
4640
CYGPATH_W!$CYGPATH_W$ac_delim
 
4641
PACKAGE!$PACKAGE$ac_delim
 
4642
VERSION!$VERSION$ac_delim
 
4643
ACLOCAL!$ACLOCAL$ac_delim
 
4644
AUTOCONF!$AUTOCONF$ac_delim
 
4645
AUTOMAKE!$AUTOMAKE$ac_delim
 
4646
AUTOHEADER!$AUTOHEADER$ac_delim
 
4647
MAKEINFO!$MAKEINFO$ac_delim
 
4648
install_sh!$install_sh$ac_delim
 
4649
STRIP!$STRIP$ac_delim
 
4650
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
4651
mkdir_p!$mkdir_p$ac_delim
 
4652
AWK!$AWK$ac_delim
 
4653
SET_MAKE!$SET_MAKE$ac_delim
 
4654
am__leading_dot!$am__leading_dot$ac_delim
 
4655
AMTAR!$AMTAR$ac_delim
 
4656
am__tar!$am__tar$ac_delim
 
4657
am__untar!$am__untar$ac_delim
 
4658
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
4659
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
4660
MAINT!$MAINT$ac_delim
 
4661
CC!$CC$ac_delim
 
4662
CFLAGS!$CFLAGS$ac_delim
 
4663
LDFLAGS!$LDFLAGS$ac_delim
 
4664
CPPFLAGS!$CPPFLAGS$ac_delim
 
4665
ac_ct_CC!$ac_ct_CC$ac_delim
 
4666
EXEEXT!$EXEEXT$ac_delim
 
4667
OBJEXT!$OBJEXT$ac_delim
 
4668
DEPDIR!$DEPDIR$ac_delim
 
4669
am__include!$am__include$ac_delim
 
4670
am__quote!$am__quote$ac_delim
 
4671
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
4672
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
4673
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
4674
CCDEPMODE!$CCDEPMODE$ac_delim
 
4675
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
4676
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
4677
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
4678
ICEAUTH_CFLAGS!$ICEAUTH_CFLAGS$ac_delim
 
4679
ICEAUTH_LIBS!$ICEAUTH_LIBS$ac_delim
 
4680
LINT!$LINT$ac_delim
 
4681
LINT_FLAGS!$LINT_FLAGS$ac_delim
 
4682
LINT_TRUE!$LINT_TRUE$ac_delim
 
4683
LINT_FALSE!$LINT_FALSE$ac_delim
 
4684
build!$build$ac_delim
 
4685
build_cpu!$build_cpu$ac_delim
 
4686
build_vendor!$build_vendor$ac_delim
 
4687
build_os!$build_os$ac_delim
 
4688
host!$host$ac_delim
 
4689
host_cpu!$host_cpu$ac_delim
 
4690
host_vendor!$host_vendor$ac_delim
 
4691
host_os!$host_os$ac_delim
 
4692
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
 
4693
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
 
4694
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
 
4695
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
 
4696
_ACEOF
 
4697
 
 
4698
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
4699
    break
 
4700
  elif $ac_last_try; then
 
4701
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
4702
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
4703
   { (exit 1); exit 1; }; }
 
4704
  else
 
4705
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
4706
  fi
 
4707
done
 
4708
 
 
4709
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
4710
if test -n "$ac_eof"; then
 
4711
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
4712
  ac_eof=`expr $ac_eof + 1`
 
4713
fi
 
4714
 
 
4715
cat >>$CONFIG_STATUS <<_ACEOF
 
4716
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
4717
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
4718
_ACEOF
 
4719
sed '
 
4720
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
4721
s/^/s,@/; s/!/@,|#_!!_#|/
 
4722
:n
 
4723
t n
 
4724
s/'"$ac_delim"'$/,g/; t
 
4725
s/$/\\/; p
 
4726
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
4727
' >>$CONFIG_STATUS <conf$$subs.sed
 
4728
rm -f conf$$subs.sed
 
4729
cat >>$CONFIG_STATUS <<_ACEOF
 
4730
CEOF$ac_eof
 
4731
_ACEOF
 
4732
 
 
4733
 
 
4734
ac_delim='%!_!# '
 
4735
for ac_last_try in false false false false false :; do
 
4736
  cat >conf$$subs.sed <<_ACEOF
 
4737
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
 
4738
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
 
4739
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
 
4740
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
 
4741
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
 
4742
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
 
4743
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
 
4744
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
 
4745
LIBOBJS!$LIBOBJS$ac_delim
 
4746
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
4747
_ACEOF
 
4748
 
 
4749
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
 
4750
    break
 
4751
  elif $ac_last_try; then
 
4752
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
4753
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
4754
   { (exit 1); exit 1; }; }
 
4755
  else
 
4756
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
4757
  fi
 
4758
done
 
4759
 
 
4760
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
4761
if test -n "$ac_eof"; then
 
4762
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
4763
  ac_eof=`expr $ac_eof + 1`
 
4764
fi
 
4765
 
 
4766
cat >>$CONFIG_STATUS <<_ACEOF
 
4767
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
4768
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
4769
_ACEOF
 
4770
sed '
 
4771
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
4772
s/^/s,@/; s/!/@,|#_!!_#|/
 
4773
:n
 
4774
t n
 
4775
s/'"$ac_delim"'$/,g/; t
 
4776
s/$/\\/; p
 
4777
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
4778
' >>$CONFIG_STATUS <conf$$subs.sed
 
4779
rm -f conf$$subs.sed
 
4780
cat >>$CONFIG_STATUS <<_ACEOF
 
4781
:end
 
4782
s/|#_!!_#|//g
 
4783
CEOF$ac_eof
 
4784
_ACEOF
 
4785
 
 
4786
 
 
4787
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
4788
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
4789
# trailing colons and then remove the whole line if VPATH becomes empty
 
4790
# (actually we leave an empty line to preserve line numbers).
 
4791
if test "x$srcdir" = x.; then
 
4792
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
4793
s/:*\$(srcdir):*/:/
 
4794
s/:*\${srcdir}:*/:/
 
4795
s/:*@srcdir@:*/:/
 
4796
s/^\([^=]*=[     ]*\):*/\1/
 
4797
s/:*$//
 
4798
s/^[^=]*=[       ]*$//
 
4799
}'
 
4800
fi
 
4801
 
 
4802
cat >>$CONFIG_STATUS <<\_ACEOF
 
4803
fi # test -n "$CONFIG_FILES"
 
4804
 
 
4805
 
 
4806
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
4807
do
 
4808
  case $ac_tag in
 
4809
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
4810
  esac
 
4811
  case $ac_mode$ac_tag in
 
4812
  :[FHL]*:*);;
 
4813
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
4814
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
4815
   { (exit 1); exit 1; }; };;
 
4816
  :[FH]-) ac_tag=-:-;;
 
4817
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
4818
  esac
 
4819
  ac_save_IFS=$IFS
 
4820
  IFS=:
 
4821
  set x $ac_tag
 
4822
  IFS=$ac_save_IFS
 
4823
  shift
 
4824
  ac_file=$1
 
4825
  shift
 
4826
 
 
4827
  case $ac_mode in
 
4828
  :L) ac_source=$1;;
 
4829
  :[FH])
 
4830
    ac_file_inputs=
 
4831
    for ac_f
 
4832
    do
 
4833
      case $ac_f in
 
4834
      -) ac_f="$tmp/stdin";;
 
4835
      *) # Look for the file first in the build tree, then in the source tree
 
4836
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
4837
         # because $ac_f cannot contain `:'.
 
4838
         test -f "$ac_f" ||
 
4839
           case $ac_f in
 
4840
           [\\/$]*) false;;
 
4841
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
4842
           esac ||
 
4843
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
4844
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
4845
   { (exit 1); exit 1; }; };;
 
4846
      esac
 
4847
      ac_file_inputs="$ac_file_inputs $ac_f"
 
4848
    done
 
4849
 
 
4850
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
4851
    # use $as_me), people would be surprised to read:
 
4852
    #    /* config.h.  Generated by config.status.  */
 
4853
    configure_input="Generated from "`IFS=:
 
4854
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
4855
    if test x"$ac_file" != x-; then
 
4856
      configure_input="$ac_file.  $configure_input"
 
4857
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
4858
echo "$as_me: creating $ac_file" >&6;}
 
4859
    fi
 
4860
 
 
4861
    case $ac_tag in
 
4862
    *:-:* | *:-) cat >"$tmp/stdin";;
 
4863
    esac
 
4864
    ;;
 
4865
  esac
 
4866
 
 
4867
  ac_dir=`$as_dirname -- "$ac_file" ||
 
4868
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4869
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4870
         X"$ac_file" : 'X\(//\)$' \| \
 
4871
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
4872
echo X"$ac_file" |
 
4873
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
4874
            s//\1/
 
4875
            q
 
4876
          }
 
4877
          /^X\(\/\/\)[^/].*/{
 
4878
            s//\1/
 
4879
            q
 
4880
          }
 
4881
          /^X\(\/\/\)$/{
 
4882
            s//\1/
 
4883
            q
 
4884
          }
 
4885
          /^X\(\/\).*/{
 
4886
            s//\1/
 
4887
            q
 
4888
          }
 
4889
          s/.*/./; q'`
 
4890
  { as_dir="$ac_dir"
 
4891
  case $as_dir in #(
 
4892
  -*) as_dir=./$as_dir;;
 
4893
  esac
 
4894
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
4895
    as_dirs=
 
4896
    while :; do
 
4897
      case $as_dir in #(
 
4898
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
4899
      *) as_qdir=$as_dir;;
 
4900
      esac
 
4901
      as_dirs="'$as_qdir' $as_dirs"
 
4902
      as_dir=`$as_dirname -- "$as_dir" ||
 
4903
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4904
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4905
         X"$as_dir" : 'X\(//\)$' \| \
 
4906
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
4907
echo X"$as_dir" |
 
4908
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
4909
            s//\1/
 
4910
            q
 
4911
          }
 
4912
          /^X\(\/\/\)[^/].*/{
 
4913
            s//\1/
 
4914
            q
 
4915
          }
 
4916
          /^X\(\/\/\)$/{
 
4917
            s//\1/
 
4918
            q
 
4919
          }
 
4920
          /^X\(\/\).*/{
 
4921
            s//\1/
 
4922
            q
 
4923
          }
 
4924
          s/.*/./; q'`
 
4925
      test -d "$as_dir" && break
 
4926
    done
 
4927
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
4928
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
4929
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
4930
   { (exit 1); exit 1; }; }; }
 
4931
  ac_builddir=.
 
4932
 
 
4933
case "$ac_dir" in
 
4934
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
4935
*)
 
4936
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
4937
  # A ".." for each directory in $ac_dir_suffix.
 
4938
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
4939
  case $ac_top_builddir_sub in
 
4940
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
4941
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
4942
  esac ;;
 
4943
esac
 
4944
ac_abs_top_builddir=$ac_pwd
 
4945
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
4946
# for backward compatibility:
 
4947
ac_top_builddir=$ac_top_build_prefix
 
4948
 
 
4949
case $srcdir in
 
4950
  .)  # We are building in place.
 
4951
    ac_srcdir=.
 
4952
    ac_top_srcdir=$ac_top_builddir_sub
 
4953
    ac_abs_top_srcdir=$ac_pwd ;;
 
4954
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
4955
    ac_srcdir=$srcdir$ac_dir_suffix;
 
4956
    ac_top_srcdir=$srcdir
 
4957
    ac_abs_top_srcdir=$srcdir ;;
 
4958
  *) # Relative name.
 
4959
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
4960
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
4961
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
4962
esac
 
4963
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
4964
 
 
4965
 
 
4966
  case $ac_mode in
 
4967
  :F)
 
4968
  #
 
4969
  # CONFIG_FILE
 
4970
  #
 
4971
 
 
4972
  case $INSTALL in
 
4973
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
4974
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
4975
  esac
 
4976
  ac_MKDIR_P=$MKDIR_P
 
4977
  case $MKDIR_P in
 
4978
  [\\/$]* | ?:[\\/]* ) ;;
 
4979
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
4980
  esac
 
4981
_ACEOF
 
4982
 
 
4983
cat >>$CONFIG_STATUS <<\_ACEOF
 
4984
# If the template does not know about datarootdir, expand it.
 
4985
# FIXME: This hack should be removed a few years after 2.60.
 
4986
ac_datarootdir_hack=; ac_datarootdir_seen=
 
4987
 
 
4988
case `sed -n '/datarootdir/ {
 
4989
  p
 
4990
  q
 
4991
}
 
4992
/@datadir@/p
 
4993
/@docdir@/p
 
4994
/@infodir@/p
 
4995
/@localedir@/p
 
4996
/@mandir@/p
 
4997
' $ac_file_inputs` in
 
4998
*datarootdir*) ac_datarootdir_seen=yes;;
 
4999
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
5000
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
5001
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
5002
_ACEOF
 
5003
cat >>$CONFIG_STATUS <<_ACEOF
 
5004
  ac_datarootdir_hack='
 
5005
  s&@datadir@&$datadir&g
 
5006
  s&@docdir@&$docdir&g
 
5007
  s&@infodir@&$infodir&g
 
5008
  s&@localedir@&$localedir&g
 
5009
  s&@mandir@&$mandir&g
 
5010
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
5011
esac
 
5012
_ACEOF
 
5013
 
 
5014
# Neutralize VPATH when `$srcdir' = `.'.
 
5015
# Shell code in configure.ac might set extrasub.
 
5016
# FIXME: do we really want to maintain this feature?
 
5017
cat >>$CONFIG_STATUS <<_ACEOF
 
5018
  sed "$ac_vpsub
 
5019
$extrasub
 
5020
_ACEOF
 
5021
cat >>$CONFIG_STATUS <<\_ACEOF
 
5022
:t
 
5023
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
5024
s&@configure_input@&$configure_input&;t t
 
5025
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
5026
s&@srcdir@&$ac_srcdir&;t t
 
5027
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
5028
s&@top_srcdir@&$ac_top_srcdir&;t t
 
5029
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
5030
s&@builddir@&$ac_builddir&;t t
 
5031
s&@abs_builddir@&$ac_abs_builddir&;t t
 
5032
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
5033
s&@INSTALL@&$ac_INSTALL&;t t
 
5034
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
5035
$ac_datarootdir_hack
 
5036
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
5037
 
 
5038
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
5039
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
5040
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
5041
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5042
which seems to be undefined.  Please make sure it is defined." >&5
 
5043
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5044
which seems to be undefined.  Please make sure it is defined." >&2;}
 
5045
 
 
5046
  rm -f "$tmp/stdin"
 
5047
  case $ac_file in
 
5048
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
5049
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
5050
  esac
 
5051
 ;;
 
5052
  :H)
 
5053
  #
 
5054
  # CONFIG_HEADER
 
5055
  #
 
5056
_ACEOF
 
5057
 
 
5058
# Transform confdefs.h into a sed script `conftest.defines', that
 
5059
# substitutes the proper values into config.h.in to produce config.h.
 
5060
rm -f conftest.defines conftest.tail
 
5061
# First, append a space to every undef/define line, to ease matching.
 
5062
echo 's/$/ /' >conftest.defines
 
5063
# Then, protect against being on the right side of a sed subst, or in
 
5064
# an unquoted here document, in config.status.  If some macros were
 
5065
# called several times there might be several #defines for the same
 
5066
# symbol, which is useless.  But do not sort them, since the last
 
5067
# AC_DEFINE must be honored.
 
5068
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
5069
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
5070
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
5071
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
5072
# just an empty string.
 
5073
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
5074
ac_dB='\\)[      (].*,\\1define\\2'
 
5075
ac_dC=' '
 
5076
ac_dD=' ,'
 
5077
 
 
5078
uniq confdefs.h |
 
5079
  sed -n '
 
5080
        t rset
 
5081
        :rset
 
5082
        s/^[     ]*#[    ]*define[       ][      ]*//
 
5083
        t ok
 
5084
        d
 
5085
        :ok
 
5086
        s/[\\&,]/\\&/g
 
5087
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
5088
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
5089
  ' >>conftest.defines
 
5090
 
 
5091
# Remove the space that was appended to ease matching.
 
5092
# Then replace #undef with comments.  This is necessary, for
 
5093
# example, in the case of _POSIX_SOURCE, which is predefined and required
 
5094
# on some systems where configure will not decide to define it.
 
5095
# (The regexp can be short, since the line contains either #define or #undef.)
 
5096
echo 's/ $//
 
5097
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
5098
 
 
5099
# Break up conftest.defines:
 
5100
ac_max_sed_lines=50
 
5101
 
 
5102
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
5103
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
5104
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
5105
# et cetera.
 
5106
ac_in='$ac_file_inputs'
 
5107
ac_out='"$tmp/out1"'
 
5108
ac_nxt='"$tmp/out2"'
 
5109
 
 
5110
while :
 
5111
do
 
5112
  # Write a here document:
 
5113
    cat >>$CONFIG_STATUS <<_ACEOF
 
5114
    # First, check the format of the line:
 
5115
    cat >"\$tmp/defines.sed" <<\\CEOF
 
5116
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
5117
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
5118
b
 
5119
:def
 
5120
_ACEOF
 
5121
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
 
5122
  echo 'CEOF
 
5123
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
5124
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
5125
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
5126
  grep . conftest.tail >/dev/null || break
 
5127
  rm -f conftest.defines
 
5128
  mv conftest.tail conftest.defines
 
5129
done
 
5130
rm -f conftest.defines conftest.tail
 
5131
 
 
5132
echo "ac_result=$ac_in" >>$CONFIG_STATUS
 
5133
cat >>$CONFIG_STATUS <<\_ACEOF
 
5134
  if test x"$ac_file" != x-; then
 
5135
    echo "/* $configure_input  */" >"$tmp/config.h"
 
5136
    cat "$ac_result" >>"$tmp/config.h"
 
5137
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
 
5138
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
5139
echo "$as_me: $ac_file is unchanged" >&6;}
 
5140
    else
 
5141
      rm -f $ac_file
 
5142
      mv "$tmp/config.h" $ac_file
 
5143
    fi
 
5144
  else
 
5145
    echo "/* $configure_input  */"
 
5146
    cat "$ac_result"
 
5147
  fi
 
5148
  rm -f "$tmp/out12"
 
5149
# Compute $ac_file's index in $config_headers.
 
5150
_am_stamp_count=1
 
5151
for _am_header in $config_headers :; do
 
5152
  case $_am_header in
 
5153
    $ac_file | $ac_file:* )
 
5154
      break ;;
 
5155
    * )
 
5156
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
5157
  esac
 
5158
done
 
5159
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
 
5160
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5161
         X$ac_file : 'X\(//\)[^/]' \| \
 
5162
         X$ac_file : 'X\(//\)$' \| \
 
5163
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
 
5164
echo X$ac_file |
 
5165
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5166
            s//\1/
 
5167
            q
 
5168
          }
 
5169
          /^X\(\/\/\)[^/].*/{
 
5170
            s//\1/
 
5171
            q
 
5172
          }
 
5173
          /^X\(\/\/\)$/{
 
5174
            s//\1/
 
5175
            q
 
5176
          }
 
5177
          /^X\(\/\).*/{
 
5178
            s//\1/
 
5179
            q
 
5180
          }
 
5181
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
5182
 ;;
 
5183
 
 
5184
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
5185
echo "$as_me: executing $ac_file commands" >&6;}
 
5186
 ;;
 
5187
  esac
 
5188
 
 
5189
 
 
5190
  case $ac_file$ac_mode in
 
5191
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
5192
  # Strip MF so we end up with the name of the file.
 
5193
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
5194
  # Check whether this is an Automake generated Makefile or not.
 
5195
  # We used to match only the files named `Makefile.in', but
 
5196
  # some people rename them; so instead we look at the file content.
 
5197
  # Grep'ing the first line is not enough: some people post-process
 
5198
  # each Makefile.in and add a new line on top of each file to say so.
 
5199
  # Grep'ing the whole file is not good either: AIX grep has a line
 
5200
  # limit of 2048, but all sed's we know have understand at least 4000.
 
5201
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
5202
    dirpart=`$as_dirname -- "$mf" ||
 
5203
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5204
         X"$mf" : 'X\(//\)[^/]' \| \
 
5205
         X"$mf" : 'X\(//\)$' \| \
 
5206
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
5207
echo X"$mf" |
 
5208
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5209
            s//\1/
 
5210
            q
 
5211
          }
 
5212
          /^X\(\/\/\)[^/].*/{
 
5213
            s//\1/
 
5214
            q
 
5215
          }
 
5216
          /^X\(\/\/\)$/{
 
5217
            s//\1/
 
5218
            q
 
5219
          }
 
5220
          /^X\(\/\).*/{
 
5221
            s//\1/
 
5222
            q
 
5223
          }
 
5224
          s/.*/./; q'`
 
5225
  else
 
5226
    continue
 
5227
  fi
 
5228
  # Extract the definition of DEPDIR, am__include, and am__quote
 
5229
  # from the Makefile without running `make'.
 
5230
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
5231
  test -z "$DEPDIR" && continue
 
5232
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
5233
  test -z "am__include" && continue
 
5234
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
5235
  # When using ansi2knr, U may be empty or an underscore; expand it
 
5236
  U=`sed -n 's/^U = //p' < "$mf"`
 
5237
  # Find all dependency output files, they are included files with
 
5238
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
5239
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
5240
  # expansion.
 
5241
  for file in `sed -n "
 
5242
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
5243
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
5244
    # Make sure the directory exists.
 
5245
    test -f "$dirpart/$file" && continue
 
5246
    fdir=`$as_dirname -- "$file" ||
 
5247
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5248
         X"$file" : 'X\(//\)[^/]' \| \
 
5249
         X"$file" : 'X\(//\)$' \| \
 
5250
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
5251
echo X"$file" |
 
5252
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5253
            s//\1/
 
5254
            q
 
5255
          }
 
5256
          /^X\(\/\/\)[^/].*/{
 
5257
            s//\1/
 
5258
            q
 
5259
          }
 
5260
          /^X\(\/\/\)$/{
 
5261
            s//\1/
 
5262
            q
 
5263
          }
 
5264
          /^X\(\/\).*/{
 
5265
            s//\1/
 
5266
            q
 
5267
          }
 
5268
          s/.*/./; q'`
 
5269
    { as_dir=$dirpart/$fdir
 
5270
  case $as_dir in #(
 
5271
  -*) as_dir=./$as_dir;;
 
5272
  esac
 
5273
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
5274
    as_dirs=
 
5275
    while :; do
 
5276
      case $as_dir in #(
 
5277
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
5278
      *) as_qdir=$as_dir;;
 
5279
      esac
 
5280
      as_dirs="'$as_qdir' $as_dirs"
 
5281
      as_dir=`$as_dirname -- "$as_dir" ||
 
5282
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5283
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5284
         X"$as_dir" : 'X\(//\)$' \| \
 
5285
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
5286
echo X"$as_dir" |
 
5287
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5288
            s//\1/
 
5289
            q
 
5290
          }
 
5291
          /^X\(\/\/\)[^/].*/{
 
5292
            s//\1/
 
5293
            q
 
5294
          }
 
5295
          /^X\(\/\/\)$/{
 
5296
            s//\1/
 
5297
            q
 
5298
          }
 
5299
          /^X\(\/\).*/{
 
5300
            s//\1/
 
5301
            q
 
5302
          }
 
5303
          s/.*/./; q'`
 
5304
      test -d "$as_dir" && break
 
5305
    done
 
5306
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5307
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
5308
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
5309
   { (exit 1); exit 1; }; }; }
 
5310
    # echo "creating $dirpart/$file"
 
5311
    echo '# dummy' > "$dirpart/$file"
 
5312
  done
 
5313
done
 
5314
 ;;
 
5315
 
 
5316
  esac
 
5317
done # for ac_tag
 
5318
 
 
5319
 
 
5320
{ (exit 0); exit 0; }
 
5321
_ACEOF
 
5322
chmod +x $CONFIG_STATUS
 
5323
ac_clean_files=$ac_clean_files_save
 
5324
 
 
5325
 
 
5326
# configure is writing to config.log, and then calls config.status.
 
5327
# config.status does its own redirection, appending to config.log.
 
5328
# Unfortunately, on DOS this fails, as config.log is still kept open
 
5329
# by configure, so config.status won't be able to write to it; its
 
5330
# output is simply discarded.  So we exec the FD to /dev/null,
 
5331
# effectively closing config.log, so it can be properly (re)opened and
 
5332
# appended to by config.status.  When coming back to configure, we
 
5333
# need to make the FD available again.
 
5334
if test "$no_create" != yes; then
 
5335
  ac_cs_success=:
 
5336
  ac_config_status_args=
 
5337
  test "$silent" = yes &&
 
5338
    ac_config_status_args="$ac_config_status_args --quiet"
 
5339
  exec 5>/dev/null
 
5340
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
5341
  exec 5>>config.log
 
5342
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
5343
  # would make configure fail if this is the last instruction.
 
5344
  $ac_cs_success || { (exit 1); exit 1; }
 
5345
fi
 
5346