~ubuntu-branches/ubuntu/vivid/isight-firmware-tools/vivid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Nobuhiro Iwamatsu
  • Date: 2008-04-21 19:27:40 UTC
  • Revision ID: james.westby@ubuntu.com-20080421192740-mg6nj8hsml7btyaw
Tags: upstream-1.2
ImportĀ upstreamĀ versionĀ 1.2

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