Subversion Repositories alertlog

Rev

Details | Last modification | View Log | RSS feed

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