~wattazoum/python-schedule/devel

« back to all changes in this revision

Viewing changes to autom4te.cache/output.2

  • Committer: Oumar Aziz OUATTARA (alias wattazoum)
  • Date: 2007-10-20 10:50:15 UTC
  • Revision ID: wattazoum@gmail.com-20071020105015-ptv7f2bx7ujsg1zu
Packaging done

Show diffs side-by-side

added added

removed removed

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