~ubuntu-branches/ubuntu/intrepid/gtk-recordmydesktop/intrepid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): José L. Redrejo Rodríguez
  • Date: 2006-12-16 12:47:32 UTC
  • Revision ID: james.westby@ubuntu.com-20061216124732-46qh18djx3g2hfvx
Tags: upstream-0.3.0r2
Import upstream version 0.3.0r2

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