~ubuntu-branches/debian/sid/me-tv/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2012-05-30 10:46:20 UTC
  • mfrom: (1.1.19)
  • Revision ID: package-import@ubuntu.com-20120530104620-x0bxxeb0m4rnen5e
Tags: 1.3.7-0.1
* Non-maintainer upload.
* New upstream release
* Fixes crash on startup (Closes: #672243)
* Add a patch to restore po/Makefile.in.in to build
* Add dh_autoreconf because of different kind of upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.67 for Me TV 1.3.6.
4
 
#
5
 
# Report bugs to <http://launchpad.net/me-tv>.
6
 
#
7
 
#
8
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
 
# Foundation, Inc.
11
 
#
12
 
#
13
 
# This configure script is free software; the Free Software Foundation
14
 
# gives unlimited permission to copy, distribute and modify it.
15
 
#
16
 
# Michael Lamothe <michael.lamothe@gmail.com>
17
 
## -------------------- ##
18
 
## M4sh Initialization. ##
19
 
## -------------------- ##
20
 
 
21
 
# Be more Bourne compatible
22
 
DUALCASE=1; export DUALCASE # for MKS sh
23
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
 
  emulate sh
25
 
  NULLCMD=:
26
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27
 
  # is contrary to our usage.  Disable this feature.
28
 
  alias -g '${1+"$@"}'='"$@"'
29
 
  setopt NO_GLOB_SUBST
30
 
else
31
 
  case `(set -o) 2>/dev/null` in #(
32
 
  *posix*) :
33
 
    set -o posix ;; #(
34
 
  *) :
35
 
     ;;
36
 
esac
37
 
fi
38
 
 
39
 
 
40
 
as_nl='
41
 
'
42
 
export as_nl
43
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
48
 
# but without wasting forks for bash or zsh.
49
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
50
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51
 
  as_echo='print -r --'
52
 
  as_echo_n='print -rn --'
53
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54
 
  as_echo='printf %s\n'
55
 
  as_echo_n='printf %s'
56
 
else
57
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
58
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59
 
    as_echo_n='/usr/ucb/echo -n'
60
 
  else
61
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
 
    as_echo_n_body='eval
63
 
      arg=$1;
64
 
      case $arg in #(
65
 
      *"$as_nl"*)
66
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
67
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68
 
      esac;
69
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
 
    '
71
 
    export as_echo_n_body
72
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
73
 
  fi
74
 
  export as_echo_body
75
 
  as_echo='sh -c $as_echo_body as_echo'
76
 
fi
77
 
 
78
 
# The user is always right.
79
 
if test "${PATH_SEPARATOR+set}" != set; then
80
 
  PATH_SEPARATOR=:
81
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83
 
      PATH_SEPARATOR=';'
84
 
  }
85
 
fi
86
 
 
87
 
 
88
 
# IFS
89
 
# We need space, tab and new line, in precisely that order.  Quoting is
90
 
# there to prevent editors from complaining about space-tab.
91
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
92
 
# splitting by setting IFS to empty value.)
93
 
IFS=" ""        $as_nl"
94
 
 
95
 
# Find who we are.  Look in the path if we contain no directory separator.
96
 
case $0 in #((
97
 
  *[\\/]* ) as_myself=$0 ;;
98
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
 
for as_dir in $PATH
100
 
do
101
 
  IFS=$as_save_IFS
102
 
  test -z "$as_dir" && as_dir=.
103
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104
 
  done
105
 
IFS=$as_save_IFS
106
 
 
107
 
     ;;
108
 
esac
109
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
110
 
# in which case we are not to be found in the path.
111
 
if test "x$as_myself" = x; then
112
 
  as_myself=$0
113
 
fi
114
 
if test ! -f "$as_myself"; then
115
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
 
  exit 1
117
 
fi
118
 
 
119
 
# Unset variables that we do not need and which cause bugs (e.g. in
120
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
121
 
# suppresses any "Segmentation fault" message there.  '((' could
122
 
# trigger a bug in pdksh 5.2.14.
123
 
for as_var in BASH_ENV ENV MAIL MAILPATH
124
 
do eval test x\${$as_var+set} = xset \
125
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
126
 
done
127
 
PS1='$ '
128
 
PS2='> '
129
 
PS4='+ '
130
 
 
131
 
# NLS nuisances.
132
 
LC_ALL=C
133
 
export LC_ALL
134
 
LANGUAGE=C
135
 
export LANGUAGE
136
 
 
137
 
# CDPATH.
138
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
 
 
140
 
if test "x$CONFIG_SHELL" = x; then
141
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
 
  emulate sh
143
 
  NULLCMD=:
144
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145
 
  # is contrary to our usage.  Disable this feature.
146
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
 
  setopt NO_GLOB_SUBST
148
 
else
149
 
  case \`(set -o) 2>/dev/null\` in #(
150
 
  *posix*) :
151
 
    set -o posix ;; #(
152
 
  *) :
153
 
     ;;
154
 
esac
155
 
fi
156
 
"
157
 
  as_required="as_fn_return () { (exit \$1); }
158
 
as_fn_success () { as_fn_return 0; }
159
 
as_fn_failure () { as_fn_return 1; }
160
 
as_fn_ret_success () { return 0; }
161
 
as_fn_ret_failure () { return 1; }
162
 
 
163
 
exitcode=0
164
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
 
 
170
 
else
171
 
  exitcode=1; echo positional parameters were not saved.
172
 
fi
173
 
test x\$exitcode = x0 || exit 1"
174
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178
 
test \$(( 1 + 1 )) = 2 || exit 1"
179
 
  if (eval "$as_required") 2>/dev/null; then :
180
 
  as_have_required=yes
181
 
else
182
 
  as_have_required=no
183
 
fi
184
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
 
 
186
 
else
187
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188
 
as_found=false
189
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190
 
do
191
 
  IFS=$as_save_IFS
192
 
  test -z "$as_dir" && as_dir=.
193
 
  as_found=:
194
 
  case $as_dir in #(
195
 
         /*)
196
 
           for as_base in sh bash ksh sh5; do
197
 
             # Try only shells that exist, to save several forks.
198
 
             as_shell=$as_dir/$as_base
199
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
200
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
201
 
  CONFIG_SHELL=$as_shell as_have_required=yes
202
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
203
 
  break 2
204
 
fi
205
 
fi
206
 
           done;;
207
 
       esac
208
 
  as_found=false
209
 
done
210
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
211
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
212
 
  CONFIG_SHELL=$SHELL as_have_required=yes
213
 
fi; }
214
 
IFS=$as_save_IFS
215
 
 
216
 
 
217
 
      if test "x$CONFIG_SHELL" != x; then :
218
 
  # We cannot yet assume a decent shell, so we have to provide a
219
 
        # neutralization value for shells without unset; and this also
220
 
        # works around shells that cannot unset nonexistent variables.
221
 
        BASH_ENV=/dev/null
222
 
        ENV=/dev/null
223
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224
 
        export CONFIG_SHELL
225
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
 
fi
227
 
 
228
 
    if test x$as_have_required = xno; then :
229
 
  $as_echo "$0: This script requires a shell more modern than all"
230
 
  $as_echo "$0: the shells that I found on your system."
231
 
  if test x${ZSH_VERSION+set} = xset ; then
232
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
233
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
234
 
  else
235
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
236
 
$0: http://launchpad.net/me-tv about your system, including
237
 
$0: any error possibly output before this message. Then
238
 
$0: install a modern shell, or manually run the script
239
 
$0: under such a shell if you do have one."
240
 
  fi
241
 
  exit 1
242
 
fi
243
 
fi
244
 
fi
245
 
SHELL=${CONFIG_SHELL-/bin/sh}
246
 
export SHELL
247
 
# Unset more variables known to interfere with behavior of common tools.
248
 
CLICOLOR_FORCE= GREP_OPTIONS=
249
 
unset CLICOLOR_FORCE GREP_OPTIONS
250
 
 
251
 
## --------------------- ##
252
 
## M4sh Shell Functions. ##
253
 
## --------------------- ##
254
 
# as_fn_unset VAR
255
 
# ---------------
256
 
# Portably unset VAR.
257
 
as_fn_unset ()
258
 
{
259
 
  { eval $1=; unset $1;}
260
 
}
261
 
as_unset=as_fn_unset
262
 
 
263
 
# as_fn_set_status STATUS
264
 
# -----------------------
265
 
# Set $? to STATUS, without forking.
266
 
as_fn_set_status ()
267
 
{
268
 
  return $1
269
 
} # as_fn_set_status
270
 
 
271
 
# as_fn_exit STATUS
272
 
# -----------------
273
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
274
 
as_fn_exit ()
275
 
{
276
 
  set +e
277
 
  as_fn_set_status $1
278
 
  exit $1
279
 
} # as_fn_exit
280
 
 
281
 
# as_fn_mkdir_p
282
 
# -------------
283
 
# Create "$as_dir" as a directory, including parents if necessary.
284
 
as_fn_mkdir_p ()
285
 
{
286
 
 
287
 
  case $as_dir in #(
288
 
  -*) as_dir=./$as_dir;;
289
 
  esac
290
 
  test -d "$as_dir" || eval $as_mkdir_p || {
291
 
    as_dirs=
292
 
    while :; do
293
 
      case $as_dir in #(
294
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
 
      *) as_qdir=$as_dir;;
296
 
      esac
297
 
      as_dirs="'$as_qdir' $as_dirs"
298
 
      as_dir=`$as_dirname -- "$as_dir" ||
299
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
300
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
301
 
         X"$as_dir" : 'X\(//\)$' \| \
302
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
303
 
$as_echo X"$as_dir" |
304
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
305
 
            s//\1/
306
 
            q
307
 
          }
308
 
          /^X\(\/\/\)[^/].*/{
309
 
            s//\1/
310
 
            q
311
 
          }
312
 
          /^X\(\/\/\)$/{
313
 
            s//\1/
314
 
            q
315
 
          }
316
 
          /^X\(\/\).*/{
317
 
            s//\1/
318
 
            q
319
 
          }
320
 
          s/.*/./; q'`
321
 
      test -d "$as_dir" && break
322
 
    done
323
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
324
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
325
 
 
326
 
 
327
 
} # as_fn_mkdir_p
328
 
# as_fn_append VAR VALUE
329
 
# ----------------------
330
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
331
 
# advantage of any shell optimizations that allow amortized linear growth over
332
 
# repeated appends, instead of the typical quadratic growth present in naive
333
 
# implementations.
334
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
335
 
  eval 'as_fn_append ()
336
 
  {
337
 
    eval $1+=\$2
338
 
  }'
339
 
else
340
 
  as_fn_append ()
341
 
  {
342
 
    eval $1=\$$1\$2
343
 
  }
344
 
fi # as_fn_append
345
 
 
346
 
# as_fn_arith ARG...
347
 
# ------------------
348
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
349
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
350
 
# must be portable across $(()) and expr.
351
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352
 
  eval 'as_fn_arith ()
353
 
  {
354
 
    as_val=$(( $* ))
355
 
  }'
356
 
else
357
 
  as_fn_arith ()
358
 
  {
359
 
    as_val=`expr "$@" || test $? -eq 1`
360
 
  }
361
 
fi # as_fn_arith
362
 
 
363
 
 
364
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
365
 
# ----------------------------------------
366
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
367
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
368
 
# script with STATUS, using 1 if that was 0.
369
 
as_fn_error ()
370
 
{
371
 
  as_status=$1; test $as_status -eq 0 && as_status=1
372
 
  if test "$4"; then
373
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
374
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375
 
  fi
376
 
  $as_echo "$as_me: error: $2" >&2
377
 
  as_fn_exit $as_status
378
 
} # as_fn_error
379
 
 
380
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
381
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
 
  as_expr=expr
383
 
else
384
 
  as_expr=false
385
 
fi
386
 
 
387
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
 
  as_basename=basename
389
 
else
390
 
  as_basename=false
391
 
fi
392
 
 
393
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
 
  as_dirname=dirname
395
 
else
396
 
  as_dirname=false
397
 
fi
398
 
 
399
 
as_me=`$as_basename -- "$0" ||
400
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
401
 
         X"$0" : 'X\(//\)$' \| \
402
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403
 
$as_echo X/"$0" |
404
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
405
 
            s//\1/
406
 
            q
407
 
          }
408
 
          /^X\/\(\/\/\)$/{
409
 
            s//\1/
410
 
            q
411
 
          }
412
 
          /^X\/\(\/\).*/{
413
 
            s//\1/
414
 
            q
415
 
          }
416
 
          s/.*/./; q'`
417
 
 
418
 
# Avoid depending upon Character Ranges.
419
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
420
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
421
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
422
 
as_cr_digits='0123456789'
423
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
 
 
425
 
 
426
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
427
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
428
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
429
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
430
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
431
 
  sed -n '
432
 
    p
433
 
    /[$]LINENO/=
434
 
  ' <$as_myself |
435
 
    sed '
436
 
      s/[$]LINENO.*/&-/
437
 
      t lineno
438
 
      b
439
 
      :lineno
440
 
      N
441
 
      :loop
442
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
443
 
      t loop
444
 
      s/-\n.*//
445
 
    ' >$as_me.lineno &&
446
 
  chmod +x "$as_me.lineno" ||
447
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448
 
 
449
 
  # Don't try to exec as it changes $[0], causing all sort of problems
450
 
  # (the dirname of $[0] is not the place where we might find the
451
 
  # original and so on.  Autoconf is especially sensitive to this).
452
 
  . "./$as_me.lineno"
453
 
  # Exit status is that of the last command.
454
 
  exit
455
 
}
456
 
 
457
 
ECHO_C= ECHO_N= ECHO_T=
458
 
case `echo -n x` in #(((((
459
 
-n*)
460
 
  case `echo 'xy\c'` in
461
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
462
 
  xy)  ECHO_C='\c';;
463
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
464
 
       ECHO_T=' ';;
465
 
  esac;;
466
 
*)
467
 
  ECHO_N='-n';;
468
 
esac
469
 
 
470
 
rm -f conf$$ conf$$.exe conf$$.file
471
 
if test -d conf$$.dir; then
472
 
  rm -f conf$$.dir/conf$$.file
473
 
else
474
 
  rm -f conf$$.dir
475
 
  mkdir conf$$.dir 2>/dev/null
476
 
fi
477
 
if (echo >conf$$.file) 2>/dev/null; then
478
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
479
 
    as_ln_s='ln -s'
480
 
    # ... but there are two gotchas:
481
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
482
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
483
 
    # In both cases, we have to default to `cp -p'.
484
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485
 
      as_ln_s='cp -p'
486
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
487
 
    as_ln_s=ln
488
 
  else
489
 
    as_ln_s='cp -p'
490
 
  fi
491
 
else
492
 
  as_ln_s='cp -p'
493
 
fi
494
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
495
 
rmdir conf$$.dir 2>/dev/null
496
 
 
497
 
if mkdir -p . 2>/dev/null; then
498
 
  as_mkdir_p='mkdir -p "$as_dir"'
499
 
else
500
 
  test -d ./-p && rmdir ./-p
501
 
  as_mkdir_p=false
502
 
fi
503
 
 
504
 
if test -x / >/dev/null 2>&1; then
505
 
  as_test_x='test -x'
506
 
else
507
 
  if ls -dL / >/dev/null 2>&1; then
508
 
    as_ls_L_option=L
509
 
  else
510
 
    as_ls_L_option=
511
 
  fi
512
 
  as_test_x='
513
 
    eval sh -c '\''
514
 
      if test -d "$1"; then
515
 
        test -d "$1/.";
516
 
      else
517
 
        case $1 in #(
518
 
        -*)set "./$1";;
519
 
        esac;
520
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
521
 
        ???[sx]*):;;*)false;;esac;fi
522
 
    '\'' sh
523
 
  '
524
 
fi
525
 
as_executable_p=$as_test_x
526
 
 
527
 
# Sed expression to map a string onto a valid CPP name.
528
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529
 
 
530
 
# Sed expression to map a string onto a valid variable name.
531
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532
 
 
533
 
 
534
 
test -n "$DJDIR" || exec 7<&0 </dev/null
535
 
exec 6>&1
536
 
 
537
 
# Name of the host.
538
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
539
 
# so uname gets run too.
540
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
541
 
 
542
 
#
543
 
# Initializations.
544
 
#
545
 
ac_default_prefix=/usr/local
546
 
ac_clean_files=
547
 
ac_config_libobj_dir=.
548
 
LIBOBJS=
549
 
cross_compiling=no
550
 
subdirs=
551
 
MFLAGS=
552
 
MAKEFLAGS=
553
 
 
554
 
# Identity of this package.
555
 
PACKAGE_NAME='Me TV'
556
 
PACKAGE_TARNAME='me-tv'
557
 
PACKAGE_VERSION='1.3.6'
558
 
PACKAGE_STRING='Me TV 1.3.6'
559
 
PACKAGE_BUGREPORT='http://launchpad.net/me-tv'
560
 
PACKAGE_URL=''
561
 
 
562
 
ac_unique_file="src/main.cc"
563
 
# Factoring default headers for most tests.
564
 
ac_includes_default="\
565
 
#include <stdio.h>
566
 
#ifdef HAVE_SYS_TYPES_H
567
 
# include <sys/types.h>
568
 
#endif
569
 
#ifdef HAVE_SYS_STAT_H
570
 
# include <sys/stat.h>
571
 
#endif
572
 
#ifdef STDC_HEADERS
573
 
# include <stdlib.h>
574
 
# include <stddef.h>
575
 
#else
576
 
# ifdef HAVE_STDLIB_H
577
 
#  include <stdlib.h>
578
 
# endif
579
 
#endif
580
 
#ifdef HAVE_STRING_H
581
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
582
 
#  include <memory.h>
583
 
# endif
584
 
# include <string.h>
585
 
#endif
586
 
#ifdef HAVE_STRINGS_H
587
 
# include <strings.h>
588
 
#endif
589
 
#ifdef HAVE_INTTYPES_H
590
 
# include <inttypes.h>
591
 
#endif
592
 
#ifdef HAVE_STDINT_H
593
 
# include <stdint.h>
594
 
#endif
595
 
#ifdef HAVE_UNISTD_H
596
 
# include <unistd.h>
597
 
#endif"
598
 
 
599
 
ac_header_list=
600
 
ac_func_list=
601
 
ac_subst_vars='am__EXEEXT_FALSE
602
 
am__EXEEXT_TRUE
603
 
LTLIBOBJS
604
 
ME_TV_PLAYER_LIBS
605
 
ME_TV_PLAYER_CFLAGS
606
 
ENABLE_GTK_DOC_FALSE
607
 
ENABLE_GTK_DOC_TRUE
608
 
HTML_DIR
609
 
GCONF_SCHEMAS_INSTALL_FALSE
610
 
GCONF_SCHEMAS_INSTALL_TRUE
611
 
GCONF_SCHEMA_FILE_DIR
612
 
GCONF_SCHEMA_CONFIG_SOURCE
613
 
GCONFTOOL
614
 
ME_TV_LIBS
615
 
ME_TV_CFLAGS
616
 
SQLITE_LIBS
617
 
SQLITE_CFLAGS
618
 
PKG_CONFIG_LIBDIR
619
 
PKG_CONFIG_PATH
620
 
PKG_CONFIG
621
 
LIBXINE_REQUIRED
622
 
GNET_REQUIRED
623
 
GTHREAD_REQUIRED
624
 
GCONF_REQUIRED
625
 
GIOMM_REQUIRED
626
 
LIBGTKMM_REQUIRED
627
 
SQLITE_REQUIRED
628
 
ALL_LINGUAS
629
 
INTLTOOL_PERL
630
 
MSGMERGE
631
 
INTLTOOL_POLICY_RULE
632
 
INTLTOOL_SERVICE_RULE
633
 
INTLTOOL_THEME_RULE
634
 
INTLTOOL_SCHEMAS_RULE
635
 
INTLTOOL_CAVES_RULE
636
 
INTLTOOL_XML_NOMERGE_RULE
637
 
INTLTOOL_XML_RULE
638
 
INTLTOOL_KBD_RULE
639
 
INTLTOOL_XAM_RULE
640
 
INTLTOOL_UI_RULE
641
 
INTLTOOL_SOUNDLIST_RULE
642
 
INTLTOOL_SHEET_RULE
643
 
INTLTOOL_SERVER_RULE
644
 
INTLTOOL_PONG_RULE
645
 
INTLTOOL_OAF_RULE
646
 
INTLTOOL_PROP_RULE
647
 
INTLTOOL_KEYS_RULE
648
 
INTLTOOL_DIRECTORY_RULE
649
 
INTLTOOL_DESKTOP_RULE
650
 
INTLTOOL_EXTRACT
651
 
INTLTOOL_MERGE
652
 
INTLTOOL_UPDATE
653
 
MKINSTALLDIRS
654
 
POSUB
655
 
POFILES
656
 
PO_IN_DATADIR_FALSE
657
 
PO_IN_DATADIR_TRUE
658
 
INTLLIBS
659
 
INSTOBJEXT
660
 
GMOFILES
661
 
DATADIRNAME
662
 
CATOBJEXT
663
 
CATALOGS
664
 
XGETTEXT
665
 
GMSGFMT
666
 
MSGFMT_OPTS
667
 
MSGFMT
668
 
USE_NLS
669
 
GETTEXT_PACKAGE
670
 
LIBOBJS
671
 
XMKMF
672
 
WARN_CXXFLAGS
673
 
DISABLE_DEPRECATED
674
 
ACLOCAL_AMFLAGS
675
 
RANLIB
676
 
LN_S
677
 
am__fastdepCXX_FALSE
678
 
am__fastdepCXX_TRUE
679
 
CXXDEPMODE
680
 
ac_ct_CXX
681
 
CXXFLAGS
682
 
CXX
683
 
MAINT
684
 
MAINTAINER_MODE_FALSE
685
 
MAINTAINER_MODE_TRUE
686
 
EGREP
687
 
GREP
688
 
CPP
689
 
am__fastdepCC_FALSE
690
 
am__fastdepCC_TRUE
691
 
CCDEPMODE
692
 
AMDEPBACKSLASH
693
 
AMDEP_FALSE
694
 
AMDEP_TRUE
695
 
am__quote
696
 
am__include
697
 
DEPDIR
698
 
OBJEXT
699
 
EXEEXT
700
 
ac_ct_CC
701
 
CPPFLAGS
702
 
LDFLAGS
703
 
CFLAGS
704
 
CC
705
 
am__untar
706
 
am__tar
707
 
AMTAR
708
 
am__leading_dot
709
 
SET_MAKE
710
 
AWK
711
 
mkdir_p
712
 
MKDIR_P
713
 
INSTALL_STRIP_PROGRAM
714
 
STRIP
715
 
install_sh
716
 
MAKEINFO
717
 
AUTOHEADER
718
 
AUTOMAKE
719
 
AUTOCONF
720
 
ACLOCAL
721
 
VERSION
722
 
PACKAGE
723
 
CYGPATH_W
724
 
am__isrc
725
 
INSTALL_DATA
726
 
INSTALL_SCRIPT
727
 
INSTALL_PROGRAM
728
 
target_alias
729
 
host_alias
730
 
build_alias
731
 
LIBS
732
 
ECHO_T
733
 
ECHO_N
734
 
ECHO_C
735
 
DEFS
736
 
mandir
737
 
localedir
738
 
libdir
739
 
psdir
740
 
pdfdir
741
 
dvidir
742
 
htmldir
743
 
infodir
744
 
docdir
745
 
oldincludedir
746
 
includedir
747
 
localstatedir
748
 
sharedstatedir
749
 
sysconfdir
750
 
datadir
751
 
datarootdir
752
 
libexecdir
753
 
sbindir
754
 
bindir
755
 
program_transform_name
756
 
prefix
757
 
exec_prefix
758
 
PACKAGE_URL
759
 
PACKAGE_BUGREPORT
760
 
PACKAGE_STRING
761
 
PACKAGE_VERSION
762
 
PACKAGE_TARNAME
763
 
PACKAGE_NAME
764
 
PATH_SEPARATOR
765
 
SHELL'
766
 
ac_subst_files=''
767
 
ac_user_opts='
768
 
enable_option_checking
769
 
enable_dependency_tracking
770
 
enable_maintainer_mode
771
 
enable_debug
772
 
enable_cxx_warnings
773
 
enable_iso_cxx
774
 
enable_more_warnings
775
 
with_x
776
 
enable_nls
777
 
with_gconf_source
778
 
with_gconf_schema_file_dir
779
 
enable_schemas_install
780
 
with_html_dir
781
 
enable_gtk_doc
782
 
'
783
 
      ac_precious_vars='build_alias
784
 
host_alias
785
 
target_alias
786
 
CC
787
 
CFLAGS
788
 
LDFLAGS
789
 
LIBS
790
 
CPPFLAGS
791
 
CPP
792
 
CXX
793
 
CXXFLAGS
794
 
CCC
795
 
XMKMF
796
 
PKG_CONFIG
797
 
PKG_CONFIG_PATH
798
 
PKG_CONFIG_LIBDIR
799
 
SQLITE_CFLAGS
800
 
SQLITE_LIBS
801
 
ME_TV_CFLAGS
802
 
ME_TV_LIBS
803
 
ME_TV_PLAYER_CFLAGS
804
 
ME_TV_PLAYER_LIBS'
805
 
 
806
 
 
807
 
# Initialize some variables set by options.
808
 
ac_init_help=
809
 
ac_init_version=false
810
 
ac_unrecognized_opts=
811
 
ac_unrecognized_sep=
812
 
# The variables have the same names as the options, with
813
 
# dashes changed to underlines.
814
 
cache_file=/dev/null
815
 
exec_prefix=NONE
816
 
no_create=
817
 
no_recursion=
818
 
prefix=NONE
819
 
program_prefix=NONE
820
 
program_suffix=NONE
821
 
program_transform_name=s,x,x,
822
 
silent=
823
 
site=
824
 
srcdir=
825
 
verbose=
826
 
x_includes=NONE
827
 
x_libraries=NONE
828
 
 
829
 
# Installation directory options.
830
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
831
 
# and all the variables that are supposed to be based on exec_prefix
832
 
# by default will actually change.
833
 
# Use braces instead of parens because sh, perl, etc. also accept them.
834
 
# (The list follows the same order as the GNU Coding Standards.)
835
 
bindir='${exec_prefix}/bin'
836
 
sbindir='${exec_prefix}/sbin'
837
 
libexecdir='${exec_prefix}/libexec'
838
 
datarootdir='${prefix}/share'
839
 
datadir='${datarootdir}'
840
 
sysconfdir='${prefix}/etc'
841
 
sharedstatedir='${prefix}/com'
842
 
localstatedir='${prefix}/var'
843
 
includedir='${prefix}/include'
844
 
oldincludedir='/usr/include'
845
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
846
 
infodir='${datarootdir}/info'
847
 
htmldir='${docdir}'
848
 
dvidir='${docdir}'
849
 
pdfdir='${docdir}'
850
 
psdir='${docdir}'
851
 
libdir='${exec_prefix}/lib'
852
 
localedir='${datarootdir}/locale'
853
 
mandir='${datarootdir}/man'
854
 
 
855
 
ac_prev=
856
 
ac_dashdash=
857
 
for ac_option
858
 
do
859
 
  # If the previous option needs an argument, assign it.
860
 
  if test -n "$ac_prev"; then
861
 
    eval $ac_prev=\$ac_option
862
 
    ac_prev=
863
 
    continue
864
 
  fi
865
 
 
866
 
  case $ac_option in
867
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
868
 
  *=)   ac_optarg= ;;
869
 
  *)    ac_optarg=yes ;;
870
 
  esac
871
 
 
872
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
873
 
 
874
 
  case $ac_dashdash$ac_option in
875
 
  --)
876
 
    ac_dashdash=yes ;;
877
 
 
878
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
879
 
    ac_prev=bindir ;;
880
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
881
 
    bindir=$ac_optarg ;;
882
 
 
883
 
  -build | --build | --buil | --bui | --bu)
884
 
    ac_prev=build_alias ;;
885
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
886
 
    build_alias=$ac_optarg ;;
887
 
 
888
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
889
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
890
 
    ac_prev=cache_file ;;
891
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
892
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
893
 
    cache_file=$ac_optarg ;;
894
 
 
895
 
  --config-cache | -C)
896
 
    cache_file=config.cache ;;
897
 
 
898
 
  -datadir | --datadir | --datadi | --datad)
899
 
    ac_prev=datadir ;;
900
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
901
 
    datadir=$ac_optarg ;;
902
 
 
903
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
904
 
  | --dataroo | --dataro | --datar)
905
 
    ac_prev=datarootdir ;;
906
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
907
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
908
 
    datarootdir=$ac_optarg ;;
909
 
 
910
 
  -disable-* | --disable-*)
911
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
912
 
    # Reject names that are not valid shell variable names.
913
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914
 
      as_fn_error $? "invalid feature name: $ac_useropt"
915
 
    ac_useropt_orig=$ac_useropt
916
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917
 
    case $ac_user_opts in
918
 
      *"
919
 
"enable_$ac_useropt"
920
 
"*) ;;
921
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
922
 
         ac_unrecognized_sep=', ';;
923
 
    esac
924
 
    eval enable_$ac_useropt=no ;;
925
 
 
926
 
  -docdir | --docdir | --docdi | --doc | --do)
927
 
    ac_prev=docdir ;;
928
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
929
 
    docdir=$ac_optarg ;;
930
 
 
931
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
932
 
    ac_prev=dvidir ;;
933
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
934
 
    dvidir=$ac_optarg ;;
935
 
 
936
 
  -enable-* | --enable-*)
937
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
938
 
    # Reject names that are not valid shell variable names.
939
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940
 
      as_fn_error $? "invalid feature name: $ac_useropt"
941
 
    ac_useropt_orig=$ac_useropt
942
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943
 
    case $ac_user_opts in
944
 
      *"
945
 
"enable_$ac_useropt"
946
 
"*) ;;
947
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
948
 
         ac_unrecognized_sep=', ';;
949
 
    esac
950
 
    eval enable_$ac_useropt=\$ac_optarg ;;
951
 
 
952
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
953
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
954
 
  | --exec | --exe | --ex)
955
 
    ac_prev=exec_prefix ;;
956
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
957
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
958
 
  | --exec=* | --exe=* | --ex=*)
959
 
    exec_prefix=$ac_optarg ;;
960
 
 
961
 
  -gas | --gas | --ga | --g)
962
 
    # Obsolete; use --with-gas.
963
 
    with_gas=yes ;;
964
 
 
965
 
  -help | --help | --hel | --he | -h)
966
 
    ac_init_help=long ;;
967
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
968
 
    ac_init_help=recursive ;;
969
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
970
 
    ac_init_help=short ;;
971
 
 
972
 
  -host | --host | --hos | --ho)
973
 
    ac_prev=host_alias ;;
974
 
  -host=* | --host=* | --hos=* | --ho=*)
975
 
    host_alias=$ac_optarg ;;
976
 
 
977
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
978
 
    ac_prev=htmldir ;;
979
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
980
 
  | --ht=*)
981
 
    htmldir=$ac_optarg ;;
982
 
 
983
 
  -includedir | --includedir | --includedi | --included | --include \
984
 
  | --includ | --inclu | --incl | --inc)
985
 
    ac_prev=includedir ;;
986
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
987
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
988
 
    includedir=$ac_optarg ;;
989
 
 
990
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
991
 
    ac_prev=infodir ;;
992
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
993
 
    infodir=$ac_optarg ;;
994
 
 
995
 
  -libdir | --libdir | --libdi | --libd)
996
 
    ac_prev=libdir ;;
997
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
998
 
    libdir=$ac_optarg ;;
999
 
 
1000
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1001
 
  | --libexe | --libex | --libe)
1002
 
    ac_prev=libexecdir ;;
1003
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1004
 
  | --libexe=* | --libex=* | --libe=*)
1005
 
    libexecdir=$ac_optarg ;;
1006
 
 
1007
 
  -localedir | --localedir | --localedi | --localed | --locale)
1008
 
    ac_prev=localedir ;;
1009
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1010
 
    localedir=$ac_optarg ;;
1011
 
 
1012
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1013
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1014
 
    ac_prev=localstatedir ;;
1015
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1016
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1017
 
    localstatedir=$ac_optarg ;;
1018
 
 
1019
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1020
 
    ac_prev=mandir ;;
1021
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1022
 
    mandir=$ac_optarg ;;
1023
 
 
1024
 
  -nfp | --nfp | --nf)
1025
 
    # Obsolete; use --without-fp.
1026
 
    with_fp=no ;;
1027
 
 
1028
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1029
 
  | --no-cr | --no-c | -n)
1030
 
    no_create=yes ;;
1031
 
 
1032
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1033
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1034
 
    no_recursion=yes ;;
1035
 
 
1036
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1037
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1038
 
  | --oldin | --oldi | --old | --ol | --o)
1039
 
    ac_prev=oldincludedir ;;
1040
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1041
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1042
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1043
 
    oldincludedir=$ac_optarg ;;
1044
 
 
1045
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1046
 
    ac_prev=prefix ;;
1047
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1048
 
    prefix=$ac_optarg ;;
1049
 
 
1050
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1051
 
  | --program-pre | --program-pr | --program-p)
1052
 
    ac_prev=program_prefix ;;
1053
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1054
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1055
 
    program_prefix=$ac_optarg ;;
1056
 
 
1057
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1058
 
  | --program-suf | --program-su | --program-s)
1059
 
    ac_prev=program_suffix ;;
1060
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1061
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1062
 
    program_suffix=$ac_optarg ;;
1063
 
 
1064
 
  -program-transform-name | --program-transform-name \
1065
 
  | --program-transform-nam | --program-transform-na \
1066
 
  | --program-transform-n | --program-transform- \
1067
 
  | --program-transform | --program-transfor \
1068
 
  | --program-transfo | --program-transf \
1069
 
  | --program-trans | --program-tran \
1070
 
  | --progr-tra | --program-tr | --program-t)
1071
 
    ac_prev=program_transform_name ;;
1072
 
  -program-transform-name=* | --program-transform-name=* \
1073
 
  | --program-transform-nam=* | --program-transform-na=* \
1074
 
  | --program-transform-n=* | --program-transform-=* \
1075
 
  | --program-transform=* | --program-transfor=* \
1076
 
  | --program-transfo=* | --program-transf=* \
1077
 
  | --program-trans=* | --program-tran=* \
1078
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1079
 
    program_transform_name=$ac_optarg ;;
1080
 
 
1081
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1082
 
    ac_prev=pdfdir ;;
1083
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1084
 
    pdfdir=$ac_optarg ;;
1085
 
 
1086
 
  -psdir | --psdir | --psdi | --psd | --ps)
1087
 
    ac_prev=psdir ;;
1088
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1089
 
    psdir=$ac_optarg ;;
1090
 
 
1091
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1092
 
  | -silent | --silent | --silen | --sile | --sil)
1093
 
    silent=yes ;;
1094
 
 
1095
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1096
 
    ac_prev=sbindir ;;
1097
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1098
 
  | --sbi=* | --sb=*)
1099
 
    sbindir=$ac_optarg ;;
1100
 
 
1101
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1102
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1103
 
  | --sharedst | --shareds | --shared | --share | --shar \
1104
 
  | --sha | --sh)
1105
 
    ac_prev=sharedstatedir ;;
1106
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1107
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1108
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1109
 
  | --sha=* | --sh=*)
1110
 
    sharedstatedir=$ac_optarg ;;
1111
 
 
1112
 
  -site | --site | --sit)
1113
 
    ac_prev=site ;;
1114
 
  -site=* | --site=* | --sit=*)
1115
 
    site=$ac_optarg ;;
1116
 
 
1117
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1118
 
    ac_prev=srcdir ;;
1119
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1120
 
    srcdir=$ac_optarg ;;
1121
 
 
1122
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1123
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1124
 
    ac_prev=sysconfdir ;;
1125
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1126
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1127
 
    sysconfdir=$ac_optarg ;;
1128
 
 
1129
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1130
 
    ac_prev=target_alias ;;
1131
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1132
 
    target_alias=$ac_optarg ;;
1133
 
 
1134
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1135
 
    verbose=yes ;;
1136
 
 
1137
 
  -version | --version | --versio | --versi | --vers | -V)
1138
 
    ac_init_version=: ;;
1139
 
 
1140
 
  -with-* | --with-*)
1141
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1142
 
    # Reject names that are not valid shell variable names.
1143
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144
 
      as_fn_error $? "invalid package name: $ac_useropt"
1145
 
    ac_useropt_orig=$ac_useropt
1146
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147
 
    case $ac_user_opts in
1148
 
      *"
1149
 
"with_$ac_useropt"
1150
 
"*) ;;
1151
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1152
 
         ac_unrecognized_sep=', ';;
1153
 
    esac
1154
 
    eval with_$ac_useropt=\$ac_optarg ;;
1155
 
 
1156
 
  -without-* | --without-*)
1157
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1158
 
    # Reject names that are not valid shell variable names.
1159
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160
 
      as_fn_error $? "invalid package name: $ac_useropt"
1161
 
    ac_useropt_orig=$ac_useropt
1162
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163
 
    case $ac_user_opts in
1164
 
      *"
1165
 
"with_$ac_useropt"
1166
 
"*) ;;
1167
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1168
 
         ac_unrecognized_sep=', ';;
1169
 
    esac
1170
 
    eval with_$ac_useropt=no ;;
1171
 
 
1172
 
  --x)
1173
 
    # Obsolete; use --with-x.
1174
 
    with_x=yes ;;
1175
 
 
1176
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1177
 
  | --x-incl | --x-inc | --x-in | --x-i)
1178
 
    ac_prev=x_includes ;;
1179
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1180
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1181
 
    x_includes=$ac_optarg ;;
1182
 
 
1183
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1184
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1185
 
    ac_prev=x_libraries ;;
1186
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1187
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1188
 
    x_libraries=$ac_optarg ;;
1189
 
 
1190
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1191
 
Try \`$0 --help' for more information"
1192
 
    ;;
1193
 
 
1194
 
  *=*)
1195
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1196
 
    # Reject names that are not valid shell variable names.
1197
 
    case $ac_envvar in #(
1198
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1199
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1200
 
    esac
1201
 
    eval $ac_envvar=\$ac_optarg
1202
 
    export $ac_envvar ;;
1203
 
 
1204
 
  *)
1205
 
    # FIXME: should be removed in autoconf 3.0.
1206
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1207
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1208
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1209
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1210
 
    ;;
1211
 
 
1212
 
  esac
1213
 
done
1214
 
 
1215
 
if test -n "$ac_prev"; then
1216
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1217
 
  as_fn_error $? "missing argument to $ac_option"
1218
 
fi
1219
 
 
1220
 
if test -n "$ac_unrecognized_opts"; then
1221
 
  case $enable_option_checking in
1222
 
    no) ;;
1223
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1224
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1225
 
  esac
1226
 
fi
1227
 
 
1228
 
# Check all directory arguments for consistency.
1229
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1230
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1231
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1232
 
                libdir localedir mandir
1233
 
do
1234
 
  eval ac_val=\$$ac_var
1235
 
  # Remove trailing slashes.
1236
 
  case $ac_val in
1237
 
    */ )
1238
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1239
 
      eval $ac_var=\$ac_val;;
1240
 
  esac
1241
 
  # Be sure to have absolute directory names.
1242
 
  case $ac_val in
1243
 
    [\\/$]* | ?:[\\/]* )  continue;;
1244
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1245
 
  esac
1246
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1247
 
done
1248
 
 
1249
 
# There might be people who depend on the old broken behavior: `$host'
1250
 
# used to hold the argument of --host etc.
1251
 
# FIXME: To remove some day.
1252
 
build=$build_alias
1253
 
host=$host_alias
1254
 
target=$target_alias
1255
 
 
1256
 
# FIXME: To remove some day.
1257
 
if test "x$host_alias" != x; then
1258
 
  if test "x$build_alias" = x; then
1259
 
    cross_compiling=maybe
1260
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1261
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1262
 
  elif test "x$build_alias" != "x$host_alias"; then
1263
 
    cross_compiling=yes
1264
 
  fi
1265
 
fi
1266
 
 
1267
 
ac_tool_prefix=
1268
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1269
 
 
1270
 
test "$silent" = yes && exec 6>/dev/null
1271
 
 
1272
 
 
1273
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1274
 
ac_ls_di=`ls -di .` &&
1275
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1276
 
  as_fn_error $? "working directory cannot be determined"
1277
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1278
 
  as_fn_error $? "pwd does not report name of working directory"
1279
 
 
1280
 
 
1281
 
# Find the source files, if location was not specified.
1282
 
if test -z "$srcdir"; then
1283
 
  ac_srcdir_defaulted=yes
1284
 
  # Try the directory containing this script, then the parent directory.
1285
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1286
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1288
 
         X"$as_myself" : 'X\(//\)$' \| \
1289
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1290
 
$as_echo X"$as_myself" |
1291
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292
 
            s//\1/
1293
 
            q
1294
 
          }
1295
 
          /^X\(\/\/\)[^/].*/{
1296
 
            s//\1/
1297
 
            q
1298
 
          }
1299
 
          /^X\(\/\/\)$/{
1300
 
            s//\1/
1301
 
            q
1302
 
          }
1303
 
          /^X\(\/\).*/{
1304
 
            s//\1/
1305
 
            q
1306
 
          }
1307
 
          s/.*/./; q'`
1308
 
  srcdir=$ac_confdir
1309
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1310
 
    srcdir=..
1311
 
  fi
1312
 
else
1313
 
  ac_srcdir_defaulted=no
1314
 
fi
1315
 
if test ! -r "$srcdir/$ac_unique_file"; then
1316
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1317
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1318
 
fi
1319
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1320
 
ac_abs_confdir=`(
1321
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1322
 
        pwd)`
1323
 
# When building in place, set srcdir=.
1324
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1325
 
  srcdir=.
1326
 
fi
1327
 
# Remove unnecessary trailing slashes from srcdir.
1328
 
# Double slashes in file names in object file debugging info
1329
 
# mess up M-x gdb in Emacs.
1330
 
case $srcdir in
1331
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1332
 
esac
1333
 
for ac_var in $ac_precious_vars; do
1334
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1335
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1336
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1337
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1338
 
done
1339
 
 
1340
 
#
1341
 
# Report the --help message.
1342
 
#
1343
 
if test "$ac_init_help" = "long"; then
1344
 
  # Omit some internal or obsolete options to make the list less imposing.
1345
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1346
 
  cat <<_ACEOF
1347
 
\`configure' configures Me TV 1.3.6 to adapt to many kinds of systems.
1348
 
 
1349
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1350
 
 
1351
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1352
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1353
 
 
1354
 
Defaults for the options are specified in brackets.
1355
 
 
1356
 
Configuration:
1357
 
  -h, --help              display this help and exit
1358
 
      --help=short        display options specific to this package
1359
 
      --help=recursive    display the short help of all the included packages
1360
 
  -V, --version           display version information and exit
1361
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1362
 
      --cache-file=FILE   cache test results in FILE [disabled]
1363
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1364
 
  -n, --no-create         do not create output files
1365
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1366
 
 
1367
 
Installation directories:
1368
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1369
 
                          [$ac_default_prefix]
1370
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1371
 
                          [PREFIX]
1372
 
 
1373
 
By default, \`make install' will install all the files in
1374
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1375
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1376
 
for instance \`--prefix=\$HOME'.
1377
 
 
1378
 
For better control, use the options below.
1379
 
 
1380
 
Fine tuning of the installation directories:
1381
 
  --bindir=DIR            user executables [EPREFIX/bin]
1382
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1383
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1384
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1385
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1386
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1387
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1388
 
  --includedir=DIR        C header files [PREFIX/include]
1389
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1390
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1391
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1392
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1393
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1394
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1395
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/me-tv]
1396
 
  --htmldir=DIR           html documentation [DOCDIR]
1397
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1398
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1399
 
  --psdir=DIR             ps documentation [DOCDIR]
1400
 
_ACEOF
1401
 
 
1402
 
  cat <<\_ACEOF
1403
 
 
1404
 
Program names:
1405
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1406
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1407
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1408
 
 
1409
 
X features:
1410
 
  --x-includes=DIR    X include files are in DIR
1411
 
  --x-libraries=DIR   X library files are in DIR
1412
 
_ACEOF
1413
 
fi
1414
 
 
1415
 
if test -n "$ac_init_help"; then
1416
 
  case $ac_init_help in
1417
 
     short | recursive ) echo "Configuration of Me TV 1.3.6:";;
1418
 
   esac
1419
 
  cat <<\_ACEOF
1420
 
 
1421
 
Optional Features:
1422
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1423
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1424
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1425
 
  --disable-dependency-tracking  speeds up one-time build
1426
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1427
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
1428
 
                          (and sometimes confusing) to the casual installer
1429
 
  --enable-debug          turn on debugging
1430
 
  --enable-cxx-warnings=[no/minimum/yes]
1431
 
                               Turn on compiler warnings.
1432
 
 
1433
 
  --enable-iso-cxx        Try to warn if code is not ISO C++
1434
 
  --enable-more-warnings  enable more compiler warnings (default=no)
1435
 
  --disable-nls           do not use Native Language Support
1436
 
  --disable-schemas-install
1437
 
                          Disable the schemas installation
1438
 
  --enable-gtk-doc  Use gtk-doc to build documentation default=auto
1439
 
 
1440
 
Optional Packages:
1441
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1442
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1443
 
  --with-x                use the X Window System
1444
 
  --with-gconf-source=sourceaddress
1445
 
                          Config database for installing schema files.
1446
 
  --with-gconf-schema-file-dir=dir
1447
 
                          Directory for installing schema files.
1448
 
  --with-html-dir=PATH path to installed docs
1449
 
 
1450
 
Some influential environment variables:
1451
 
  CC          C compiler command
1452
 
  CFLAGS      C compiler flags
1453
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1454
 
              nonstandard directory <lib dir>
1455
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1456
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1457
 
              you have headers in a nonstandard directory <include dir>
1458
 
  CPP         C preprocessor
1459
 
  CXX         C++ compiler command
1460
 
  CXXFLAGS    C++ compiler flags
1461
 
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1462
 
  PKG_CONFIG  path to pkg-config utility
1463
 
  PKG_CONFIG_PATH
1464
 
              directories to add to pkg-config's search path
1465
 
  PKG_CONFIG_LIBDIR
1466
 
              path overriding pkg-config's built-in search path
1467
 
  SQLITE_CFLAGS
1468
 
              C compiler flags for SQLITE, overriding pkg-config
1469
 
  SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
1470
 
  ME_TV_CFLAGS
1471
 
              C compiler flags for ME_TV, overriding pkg-config
1472
 
  ME_TV_LIBS  linker flags for ME_TV, overriding pkg-config
1473
 
  ME_TV_PLAYER_CFLAGS
1474
 
              C compiler flags for ME_TV_PLAYER, overriding pkg-config
1475
 
  ME_TV_PLAYER_LIBS
1476
 
              linker flags for ME_TV_PLAYER, overriding pkg-config
1477
 
 
1478
 
Use these variables to override the choices made by `configure' or to help
1479
 
it to find libraries and programs with nonstandard names/locations.
1480
 
 
1481
 
Report bugs to <http://launchpad.net/me-tv>.
1482
 
_ACEOF
1483
 
ac_status=$?
1484
 
fi
1485
 
 
1486
 
if test "$ac_init_help" = "recursive"; then
1487
 
  # If there are subdirs, report their specific --help.
1488
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1489
 
    test -d "$ac_dir" ||
1490
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1491
 
      continue
1492
 
    ac_builddir=.
1493
 
 
1494
 
case "$ac_dir" in
1495
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1496
 
*)
1497
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1498
 
  # A ".." for each directory in $ac_dir_suffix.
1499
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1500
 
  case $ac_top_builddir_sub in
1501
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1502
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1503
 
  esac ;;
1504
 
esac
1505
 
ac_abs_top_builddir=$ac_pwd
1506
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1507
 
# for backward compatibility:
1508
 
ac_top_builddir=$ac_top_build_prefix
1509
 
 
1510
 
case $srcdir in
1511
 
  .)  # We are building in place.
1512
 
    ac_srcdir=.
1513
 
    ac_top_srcdir=$ac_top_builddir_sub
1514
 
    ac_abs_top_srcdir=$ac_pwd ;;
1515
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1516
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1517
 
    ac_top_srcdir=$srcdir
1518
 
    ac_abs_top_srcdir=$srcdir ;;
1519
 
  *) # Relative name.
1520
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1521
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1522
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1523
 
esac
1524
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1525
 
 
1526
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1527
 
    # Check for guested configure.
1528
 
    if test -f "$ac_srcdir/configure.gnu"; then
1529
 
      echo &&
1530
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1531
 
    elif test -f "$ac_srcdir/configure"; then
1532
 
      echo &&
1533
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1534
 
    else
1535
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1536
 
    fi || ac_status=$?
1537
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1538
 
  done
1539
 
fi
1540
 
 
1541
 
test -n "$ac_init_help" && exit $ac_status
1542
 
if $ac_init_version; then
1543
 
  cat <<\_ACEOF
1544
 
Me TV configure 1.3.6
1545
 
generated by GNU Autoconf 2.67
1546
 
 
1547
 
Copyright (C) 2010 Free Software Foundation, Inc.
1548
 
This configure script is free software; the Free Software Foundation
1549
 
gives unlimited permission to copy, distribute and modify it.
1550
 
 
1551
 
Michael Lamothe <michael.lamothe@gmail.com>
1552
 
_ACEOF
1553
 
  exit
1554
 
fi
1555
 
 
1556
 
## ------------------------ ##
1557
 
## Autoconf initialization. ##
1558
 
## ------------------------ ##
1559
 
 
1560
 
# ac_fn_c_try_compile LINENO
1561
 
# --------------------------
1562
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1563
 
ac_fn_c_try_compile ()
1564
 
{
1565
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566
 
  rm -f conftest.$ac_objext
1567
 
  if { { ac_try="$ac_compile"
1568
 
case "(($ac_try" in
1569
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1570
 
  *) ac_try_echo=$ac_try;;
1571
 
esac
1572
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573
 
$as_echo "$ac_try_echo"; } >&5
1574
 
  (eval "$ac_compile") 2>conftest.err
1575
 
  ac_status=$?
1576
 
  if test -s conftest.err; then
1577
 
    grep -v '^ *+' conftest.err >conftest.er1
1578
 
    cat conftest.er1 >&5
1579
 
    mv -f conftest.er1 conftest.err
1580
 
  fi
1581
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582
 
  test $ac_status = 0; } && {
1583
 
         test -z "$ac_c_werror_flag" ||
1584
 
         test ! -s conftest.err
1585
 
       } && test -s conftest.$ac_objext; then :
1586
 
  ac_retval=0
1587
 
else
1588
 
  $as_echo "$as_me: failed program was:" >&5
1589
 
sed 's/^/| /' conftest.$ac_ext >&5
1590
 
 
1591
 
        ac_retval=1
1592
 
fi
1593
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1594
 
  as_fn_set_status $ac_retval
1595
 
 
1596
 
} # ac_fn_c_try_compile
1597
 
 
1598
 
# ac_fn_c_try_cpp LINENO
1599
 
# ----------------------
1600
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1601
 
ac_fn_c_try_cpp ()
1602
 
{
1603
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1605
 
case "(($ac_try" in
1606
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607
 
  *) ac_try_echo=$ac_try;;
1608
 
esac
1609
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610
 
$as_echo "$ac_try_echo"; } >&5
1611
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1612
 
  ac_status=$?
1613
 
  if test -s conftest.err; then
1614
 
    grep -v '^ *+' conftest.err >conftest.er1
1615
 
    cat conftest.er1 >&5
1616
 
    mv -f conftest.er1 conftest.err
1617
 
  fi
1618
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619
 
  test $ac_status = 0; } > conftest.i && {
1620
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1621
 
         test ! -s conftest.err
1622
 
       }; then :
1623
 
  ac_retval=0
1624
 
else
1625
 
  $as_echo "$as_me: failed program was:" >&5
1626
 
sed 's/^/| /' conftest.$ac_ext >&5
1627
 
 
1628
 
    ac_retval=1
1629
 
fi
1630
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1631
 
  as_fn_set_status $ac_retval
1632
 
 
1633
 
} # ac_fn_c_try_cpp
1634
 
 
1635
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1636
 
# -------------------------------------------------------
1637
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1638
 
# the include files in INCLUDES and setting the cache variable VAR
1639
 
# accordingly.
1640
 
ac_fn_c_check_header_mongrel ()
1641
 
{
1642
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643
 
  if eval "test \"\${$3+set}\"" = set; then :
1644
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645
 
$as_echo_n "checking for $2... " >&6; }
1646
 
if eval "test \"\${$3+set}\"" = set; then :
1647
 
  $as_echo_n "(cached) " >&6
1648
 
fi
1649
 
eval ac_res=\$$3
1650
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1651
 
$as_echo "$ac_res" >&6; }
1652
 
else
1653
 
  # Is the header compilable?
1654
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1655
 
$as_echo_n "checking $2 usability... " >&6; }
1656
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1657
 
/* end confdefs.h.  */
1658
 
$4
1659
 
#include <$2>
1660
 
_ACEOF
1661
 
if ac_fn_c_try_compile "$LINENO"; then :
1662
 
  ac_header_compiler=yes
1663
 
else
1664
 
  ac_header_compiler=no
1665
 
fi
1666
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1668
 
$as_echo "$ac_header_compiler" >&6; }
1669
 
 
1670
 
# Is the header present?
1671
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1672
 
$as_echo_n "checking $2 presence... " >&6; }
1673
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1674
 
/* end confdefs.h.  */
1675
 
#include <$2>
1676
 
_ACEOF
1677
 
if ac_fn_c_try_cpp "$LINENO"; then :
1678
 
  ac_header_preproc=yes
1679
 
else
1680
 
  ac_header_preproc=no
1681
 
fi
1682
 
rm -f conftest.err conftest.i conftest.$ac_ext
1683
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1684
 
$as_echo "$ac_header_preproc" >&6; }
1685
 
 
1686
 
# So?  What about this header?
1687
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1688
 
  yes:no: )
1689
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1690
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1691
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1692
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1693
 
    ;;
1694
 
  no:yes:* )
1695
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1696
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1697
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1698
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1699
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1700
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1701
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1702
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1703
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1704
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1705
 
( $as_echo "## ----------------------------------------- ##
1706
 
## Report this to http://launchpad.net/me-tv ##
1707
 
## ----------------------------------------- ##"
1708
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1709
 
    ;;
1710
 
esac
1711
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712
 
$as_echo_n "checking for $2... " >&6; }
1713
 
if eval "test \"\${$3+set}\"" = set; then :
1714
 
  $as_echo_n "(cached) " >&6
1715
 
else
1716
 
  eval "$3=\$ac_header_compiler"
1717
 
fi
1718
 
eval ac_res=\$$3
1719
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720
 
$as_echo "$ac_res" >&6; }
1721
 
fi
1722
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1723
 
 
1724
 
} # ac_fn_c_check_header_mongrel
1725
 
 
1726
 
# ac_fn_c_try_run LINENO
1727
 
# ----------------------
1728
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1729
 
# that executables *can* be run.
1730
 
ac_fn_c_try_run ()
1731
 
{
1732
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733
 
  if { { ac_try="$ac_link"
1734
 
case "(($ac_try" in
1735
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736
 
  *) ac_try_echo=$ac_try;;
1737
 
esac
1738
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739
 
$as_echo "$ac_try_echo"; } >&5
1740
 
  (eval "$ac_link") 2>&5
1741
 
  ac_status=$?
1742
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1744
 
  { { case "(($ac_try" in
1745
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746
 
  *) ac_try_echo=$ac_try;;
1747
 
esac
1748
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749
 
$as_echo "$ac_try_echo"; } >&5
1750
 
  (eval "$ac_try") 2>&5
1751
 
  ac_status=$?
1752
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753
 
  test $ac_status = 0; }; }; then :
1754
 
  ac_retval=0
1755
 
else
1756
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1757
 
       $as_echo "$as_me: failed program was:" >&5
1758
 
sed 's/^/| /' conftest.$ac_ext >&5
1759
 
 
1760
 
       ac_retval=$ac_status
1761
 
fi
1762
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1763
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1764
 
  as_fn_set_status $ac_retval
1765
 
 
1766
 
} # ac_fn_c_try_run
1767
 
 
1768
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1769
 
# -------------------------------------------------------
1770
 
# Tests whether HEADER exists and can be compiled using the include files in
1771
 
# INCLUDES, setting the cache variable VAR accordingly.
1772
 
ac_fn_c_check_header_compile ()
1773
 
{
1774
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776
 
$as_echo_n "checking for $2... " >&6; }
1777
 
if eval "test \"\${$3+set}\"" = set; then :
1778
 
  $as_echo_n "(cached) " >&6
1779
 
else
1780
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781
 
/* end confdefs.h.  */
1782
 
$4
1783
 
#include <$2>
1784
 
_ACEOF
1785
 
if ac_fn_c_try_compile "$LINENO"; then :
1786
 
  eval "$3=yes"
1787
 
else
1788
 
  eval "$3=no"
1789
 
fi
1790
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1791
 
fi
1792
 
eval ac_res=\$$3
1793
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794
 
$as_echo "$ac_res" >&6; }
1795
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796
 
 
1797
 
} # ac_fn_c_check_header_compile
1798
 
 
1799
 
# ac_fn_cxx_try_compile LINENO
1800
 
# ----------------------------
1801
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1802
 
ac_fn_cxx_try_compile ()
1803
 
{
1804
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805
 
  rm -f conftest.$ac_objext
1806
 
  if { { ac_try="$ac_compile"
1807
 
case "(($ac_try" in
1808
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809
 
  *) ac_try_echo=$ac_try;;
1810
 
esac
1811
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812
 
$as_echo "$ac_try_echo"; } >&5
1813
 
  (eval "$ac_compile") 2>conftest.err
1814
 
  ac_status=$?
1815
 
  if test -s conftest.err; then
1816
 
    grep -v '^ *+' conftest.err >conftest.er1
1817
 
    cat conftest.er1 >&5
1818
 
    mv -f conftest.er1 conftest.err
1819
 
  fi
1820
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821
 
  test $ac_status = 0; } && {
1822
 
         test -z "$ac_cxx_werror_flag" ||
1823
 
         test ! -s conftest.err
1824
 
       } && test -s conftest.$ac_objext; then :
1825
 
  ac_retval=0
1826
 
else
1827
 
  $as_echo "$as_me: failed program was:" >&5
1828
 
sed 's/^/| /' conftest.$ac_ext >&5
1829
 
 
1830
 
        ac_retval=1
1831
 
fi
1832
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1833
 
  as_fn_set_status $ac_retval
1834
 
 
1835
 
} # ac_fn_cxx_try_compile
1836
 
 
1837
 
# ac_fn_c_try_link LINENO
1838
 
# -----------------------
1839
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1840
 
ac_fn_c_try_link ()
1841
 
{
1842
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1844
 
  if { { ac_try="$ac_link"
1845
 
case "(($ac_try" in
1846
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847
 
  *) ac_try_echo=$ac_try;;
1848
 
esac
1849
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850
 
$as_echo "$ac_try_echo"; } >&5
1851
 
  (eval "$ac_link") 2>conftest.err
1852
 
  ac_status=$?
1853
 
  if test -s conftest.err; then
1854
 
    grep -v '^ *+' conftest.err >conftest.er1
1855
 
    cat conftest.er1 >&5
1856
 
    mv -f conftest.er1 conftest.err
1857
 
  fi
1858
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859
 
  test $ac_status = 0; } && {
1860
 
         test -z "$ac_c_werror_flag" ||
1861
 
         test ! -s conftest.err
1862
 
       } && test -s conftest$ac_exeext && {
1863
 
         test "$cross_compiling" = yes ||
1864
 
         $as_test_x conftest$ac_exeext
1865
 
       }; then :
1866
 
  ac_retval=0
1867
 
else
1868
 
  $as_echo "$as_me: failed program was:" >&5
1869
 
sed 's/^/| /' conftest.$ac_ext >&5
1870
 
 
1871
 
        ac_retval=1
1872
 
fi
1873
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1874
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1875
 
  # interfere with the next link command; also delete a directory that is
1876
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1877
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879
 
  as_fn_set_status $ac_retval
1880
 
 
1881
 
} # ac_fn_c_try_link
1882
 
 
1883
 
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1884
 
# -------------------------------------------
1885
 
# Tests whether TYPE exists after having included INCLUDES, setting cache
1886
 
# variable VAR accordingly.
1887
 
ac_fn_c_check_type ()
1888
 
{
1889
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891
 
$as_echo_n "checking for $2... " >&6; }
1892
 
if eval "test \"\${$3+set}\"" = set; then :
1893
 
  $as_echo_n "(cached) " >&6
1894
 
else
1895
 
  eval "$3=no"
1896
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897
 
/* end confdefs.h.  */
1898
 
$4
1899
 
int
1900
 
main ()
1901
 
{
1902
 
if (sizeof ($2))
1903
 
         return 0;
1904
 
  ;
1905
 
  return 0;
1906
 
}
1907
 
_ACEOF
1908
 
if ac_fn_c_try_compile "$LINENO"; then :
1909
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910
 
/* end confdefs.h.  */
1911
 
$4
1912
 
int
1913
 
main ()
1914
 
{
1915
 
if (sizeof (($2)))
1916
 
            return 0;
1917
 
  ;
1918
 
  return 0;
1919
 
}
1920
 
_ACEOF
1921
 
if ac_fn_c_try_compile "$LINENO"; then :
1922
 
 
1923
 
else
1924
 
  eval "$3=yes"
1925
 
fi
1926
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1927
 
fi
1928
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1929
 
fi
1930
 
eval ac_res=\$$3
1931
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932
 
$as_echo "$ac_res" >&6; }
1933
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1934
 
 
1935
 
} # ac_fn_c_check_type
1936
 
 
1937
 
# ac_fn_c_find_uintX_t LINENO BITS VAR
1938
 
# ------------------------------------
1939
 
# Finds an unsigned integer type with width BITS, setting cache variable VAR
1940
 
# accordingly.
1941
 
ac_fn_c_find_uintX_t ()
1942
 
{
1943
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1944
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1945
 
$as_echo_n "checking for uint$2_t... " >&6; }
1946
 
if eval "test \"\${$3+set}\"" = set; then :
1947
 
  $as_echo_n "(cached) " >&6
1948
 
else
1949
 
  eval "$3=no"
1950
 
     # Order is important - never check a type that is potentially smaller
1951
 
     # than half of the expected target width.
1952
 
     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1953
 
         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1954
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955
 
/* end confdefs.h.  */
1956
 
$ac_includes_default
1957
 
int
1958
 
main ()
1959
 
{
1960
 
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1961
 
test_array [0] = 0
1962
 
 
1963
 
  ;
1964
 
  return 0;
1965
 
}
1966
 
_ACEOF
1967
 
if ac_fn_c_try_compile "$LINENO"; then :
1968
 
  case $ac_type in #(
1969
 
  uint$2_t) :
1970
 
    eval "$3=yes" ;; #(
1971
 
  *) :
1972
 
    eval "$3=\$ac_type" ;;
1973
 
esac
1974
 
fi
1975
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1976
 
       if eval test \"x\$"$3"\" = x"no"; then :
1977
 
 
1978
 
else
1979
 
  break
1980
 
fi
1981
 
     done
1982
 
fi
1983
 
eval ac_res=\$$3
1984
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985
 
$as_echo "$ac_res" >&6; }
1986
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1987
 
 
1988
 
} # ac_fn_c_find_uintX_t
1989
 
 
1990
 
# ac_fn_c_check_func LINENO FUNC VAR
1991
 
# ----------------------------------
1992
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1993
 
ac_fn_c_check_func ()
1994
 
{
1995
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997
 
$as_echo_n "checking for $2... " >&6; }
1998
 
if eval "test \"\${$3+set}\"" = set; then :
1999
 
  $as_echo_n "(cached) " >&6
2000
 
else
2001
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002
 
/* end confdefs.h.  */
2003
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2004
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2005
 
#define $2 innocuous_$2
2006
 
 
2007
 
/* System header to define __stub macros and hopefully few prototypes,
2008
 
    which can conflict with char $2 (); below.
2009
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2010
 
    <limits.h> exists even on freestanding compilers.  */
2011
 
 
2012
 
#ifdef __STDC__
2013
 
# include <limits.h>
2014
 
#else
2015
 
# include <assert.h>
2016
 
#endif
2017
 
 
2018
 
#undef $2
2019
 
 
2020
 
/* Override any GCC internal prototype to avoid an error.
2021
 
   Use char because int might match the return type of a GCC
2022
 
   builtin and then its argument prototype would still apply.  */
2023
 
#ifdef __cplusplus
2024
 
extern "C"
2025
 
#endif
2026
 
char $2 ();
2027
 
/* The GNU C library defines this for functions which it implements
2028
 
    to always fail with ENOSYS.  Some functions are actually named
2029
 
    something starting with __ and the normal name is an alias.  */
2030
 
#if defined __stub_$2 || defined __stub___$2
2031
 
choke me
2032
 
#endif
2033
 
 
2034
 
int
2035
 
main ()
2036
 
{
2037
 
return $2 ();
2038
 
  ;
2039
 
  return 0;
2040
 
}
2041
 
_ACEOF
2042
 
if ac_fn_c_try_link "$LINENO"; then :
2043
 
  eval "$3=yes"
2044
 
else
2045
 
  eval "$3=no"
2046
 
fi
2047
 
rm -f core conftest.err conftest.$ac_objext \
2048
 
    conftest$ac_exeext conftest.$ac_ext
2049
 
fi
2050
 
eval ac_res=\$$3
2051
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2052
 
$as_echo "$ac_res" >&6; }
2053
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2054
 
 
2055
 
} # ac_fn_c_check_func
2056
 
cat >config.log <<_ACEOF
2057
 
This file contains any messages produced by compilers while
2058
 
running configure, to aid debugging if configure makes a mistake.
2059
 
 
2060
 
It was created by Me TV $as_me 1.3.6, which was
2061
 
generated by GNU Autoconf 2.67.  Invocation command line was
2062
 
 
2063
 
  $ $0 $@
2064
 
 
2065
 
_ACEOF
2066
 
exec 5>>config.log
2067
 
{
2068
 
cat <<_ASUNAME
2069
 
## --------- ##
2070
 
## Platform. ##
2071
 
## --------- ##
2072
 
 
2073
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2074
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2075
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2076
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2077
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2078
 
 
2079
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2080
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2081
 
 
2082
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2083
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2084
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2085
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2086
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2087
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2088
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2089
 
 
2090
 
_ASUNAME
2091
 
 
2092
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2093
 
for as_dir in $PATH
2094
 
do
2095
 
  IFS=$as_save_IFS
2096
 
  test -z "$as_dir" && as_dir=.
2097
 
    $as_echo "PATH: $as_dir"
2098
 
  done
2099
 
IFS=$as_save_IFS
2100
 
 
2101
 
} >&5
2102
 
 
2103
 
cat >&5 <<_ACEOF
2104
 
 
2105
 
 
2106
 
## ----------- ##
2107
 
## Core tests. ##
2108
 
## ----------- ##
2109
 
 
2110
 
_ACEOF
2111
 
 
2112
 
 
2113
 
# Keep a trace of the command line.
2114
 
# Strip out --no-create and --no-recursion so they do not pile up.
2115
 
# Strip out --silent because we don't want to record it for future runs.
2116
 
# Also quote any args containing shell meta-characters.
2117
 
# Make two passes to allow for proper duplicate-argument suppression.
2118
 
ac_configure_args=
2119
 
ac_configure_args0=
2120
 
ac_configure_args1=
2121
 
ac_must_keep_next=false
2122
 
for ac_pass in 1 2
2123
 
do
2124
 
  for ac_arg
2125
 
  do
2126
 
    case $ac_arg in
2127
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2128
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2129
 
    | -silent | --silent | --silen | --sile | --sil)
2130
 
      continue ;;
2131
 
    *\'*)
2132
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2133
 
    esac
2134
 
    case $ac_pass in
2135
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2136
 
    2)
2137
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2138
 
      if test $ac_must_keep_next = true; then
2139
 
        ac_must_keep_next=false # Got value, back to normal.
2140
 
      else
2141
 
        case $ac_arg in
2142
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2143
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2144
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2145
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2146
 
            case "$ac_configure_args0 " in
2147
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2148
 
            esac
2149
 
            ;;
2150
 
          -* ) ac_must_keep_next=true ;;
2151
 
        esac
2152
 
      fi
2153
 
      as_fn_append ac_configure_args " '$ac_arg'"
2154
 
      ;;
2155
 
    esac
2156
 
  done
2157
 
done
2158
 
{ ac_configure_args0=; unset ac_configure_args0;}
2159
 
{ ac_configure_args1=; unset ac_configure_args1;}
2160
 
 
2161
 
# When interrupted or exit'd, cleanup temporary files, and complete
2162
 
# config.log.  We remove comments because anyway the quotes in there
2163
 
# would cause problems or look ugly.
2164
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2165
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2166
 
trap 'exit_status=$?
2167
 
  # Save into config.log some information that might help in debugging.
2168
 
  {
2169
 
    echo
2170
 
 
2171
 
    $as_echo "## ---------------- ##
2172
 
## Cache variables. ##
2173
 
## ---------------- ##"
2174
 
    echo
2175
 
    # The following way of writing the cache mishandles newlines in values,
2176
 
(
2177
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2178
 
    eval ac_val=\$$ac_var
2179
 
    case $ac_val in #(
2180
 
    *${as_nl}*)
2181
 
      case $ac_var in #(
2182
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2183
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2184
 
      esac
2185
 
      case $ac_var in #(
2186
 
      _ | IFS | as_nl) ;; #(
2187
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2188
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2189
 
      esac ;;
2190
 
    esac
2191
 
  done
2192
 
  (set) 2>&1 |
2193
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2194
 
    *${as_nl}ac_space=\ *)
2195
 
      sed -n \
2196
 
        "s/'\''/'\''\\\\'\'''\''/g;
2197
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2198
 
      ;; #(
2199
 
    *)
2200
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2201
 
      ;;
2202
 
    esac |
2203
 
    sort
2204
 
)
2205
 
    echo
2206
 
 
2207
 
    $as_echo "## ----------------- ##
2208
 
## Output variables. ##
2209
 
## ----------------- ##"
2210
 
    echo
2211
 
    for ac_var in $ac_subst_vars
2212
 
    do
2213
 
      eval ac_val=\$$ac_var
2214
 
      case $ac_val in
2215
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2216
 
      esac
2217
 
      $as_echo "$ac_var='\''$ac_val'\''"
2218
 
    done | sort
2219
 
    echo
2220
 
 
2221
 
    if test -n "$ac_subst_files"; then
2222
 
      $as_echo "## ------------------- ##
2223
 
## File substitutions. ##
2224
 
## ------------------- ##"
2225
 
      echo
2226
 
      for ac_var in $ac_subst_files
2227
 
      do
2228
 
        eval ac_val=\$$ac_var
2229
 
        case $ac_val in
2230
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2231
 
        esac
2232
 
        $as_echo "$ac_var='\''$ac_val'\''"
2233
 
      done | sort
2234
 
      echo
2235
 
    fi
2236
 
 
2237
 
    if test -s confdefs.h; then
2238
 
      $as_echo "## ----------- ##
2239
 
## confdefs.h. ##
2240
 
## ----------- ##"
2241
 
      echo
2242
 
      cat confdefs.h
2243
 
      echo
2244
 
    fi
2245
 
    test "$ac_signal" != 0 &&
2246
 
      $as_echo "$as_me: caught signal $ac_signal"
2247
 
    $as_echo "$as_me: exit $exit_status"
2248
 
  } >&5
2249
 
  rm -f core *.core core.conftest.* &&
2250
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2251
 
    exit $exit_status
2252
 
' 0
2253
 
for ac_signal in 1 2 13 15; do
2254
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2255
 
done
2256
 
ac_signal=0
2257
 
 
2258
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2259
 
rm -f -r conftest* confdefs.h
2260
 
 
2261
 
$as_echo "/* confdefs.h */" > confdefs.h
2262
 
 
2263
 
# Predefined preprocessor variables.
2264
 
 
2265
 
cat >>confdefs.h <<_ACEOF
2266
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2267
 
_ACEOF
2268
 
 
2269
 
cat >>confdefs.h <<_ACEOF
2270
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2271
 
_ACEOF
2272
 
 
2273
 
cat >>confdefs.h <<_ACEOF
2274
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2275
 
_ACEOF
2276
 
 
2277
 
cat >>confdefs.h <<_ACEOF
2278
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2279
 
_ACEOF
2280
 
 
2281
 
cat >>confdefs.h <<_ACEOF
2282
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2283
 
_ACEOF
2284
 
 
2285
 
cat >>confdefs.h <<_ACEOF
2286
 
#define PACKAGE_URL "$PACKAGE_URL"
2287
 
_ACEOF
2288
 
 
2289
 
 
2290
 
# Let the site file select an alternate cache file if it wants to.
2291
 
# Prefer an explicitly selected file to automatically selected ones.
2292
 
ac_site_file1=NONE
2293
 
ac_site_file2=NONE
2294
 
if test -n "$CONFIG_SITE"; then
2295
 
  # We do not want a PATH search for config.site.
2296
 
  case $CONFIG_SITE in #((
2297
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2298
 
    */*) ac_site_file1=$CONFIG_SITE;;
2299
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2300
 
  esac
2301
 
elif test "x$prefix" != xNONE; then
2302
 
  ac_site_file1=$prefix/share/config.site
2303
 
  ac_site_file2=$prefix/etc/config.site
2304
 
else
2305
 
  ac_site_file1=$ac_default_prefix/share/config.site
2306
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2307
 
fi
2308
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2309
 
do
2310
 
  test "x$ac_site_file" = xNONE && continue
2311
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2312
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2313
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2314
 
    sed 's/^/| /' "$ac_site_file" >&5
2315
 
    . "$ac_site_file" \
2316
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2317
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2318
 
as_fn_error $? "failed to load site script $ac_site_file
2319
 
See \`config.log' for more details" "$LINENO" 5 ; }
2320
 
  fi
2321
 
done
2322
 
 
2323
 
if test -r "$cache_file"; then
2324
 
  # Some versions of bash will fail to source /dev/null (special files
2325
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2326
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2327
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2328
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2329
 
    case $cache_file in
2330
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2331
 
      *)                      . "./$cache_file";;
2332
 
    esac
2333
 
  fi
2334
 
else
2335
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2336
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2337
 
  >$cache_file
2338
 
fi
2339
 
 
2340
 
as_fn_append ac_header_list " sys/time.h"
2341
 
as_fn_append ac_header_list " unistd.h"
2342
 
as_fn_append ac_func_list " alarm"
2343
 
# Check that the precious variables saved in the cache have kept the same
2344
 
# value.
2345
 
ac_cache_corrupted=false
2346
 
for ac_var in $ac_precious_vars; do
2347
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2348
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2349
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2350
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2351
 
  case $ac_old_set,$ac_new_set in
2352
 
    set,)
2353
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2354
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2355
 
      ac_cache_corrupted=: ;;
2356
 
    ,set)
2357
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2358
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2359
 
      ac_cache_corrupted=: ;;
2360
 
    ,);;
2361
 
    *)
2362
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2363
 
        # differences in whitespace do not lead to failure.
2364
 
        ac_old_val_w=`echo x $ac_old_val`
2365
 
        ac_new_val_w=`echo x $ac_new_val`
2366
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2367
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2368
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2369
 
          ac_cache_corrupted=:
2370
 
        else
2371
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2372
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2373
 
          eval $ac_var=\$ac_old_val
2374
 
        fi
2375
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2376
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2377
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2378
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2379
 
      fi;;
2380
 
  esac
2381
 
  # Pass precious variables to config.status.
2382
 
  if test "$ac_new_set" = set; then
2383
 
    case $ac_new_val in
2384
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2385
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2386
 
    esac
2387
 
    case " $ac_configure_args " in
2388
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2389
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2390
 
    esac
2391
 
  fi
2392
 
done
2393
 
if $ac_cache_corrupted; then
2394
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2395
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2396
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2397
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2398
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2399
 
fi
2400
 
## -------------------- ##
2401
 
## Main body of script. ##
2402
 
## -------------------- ##
2403
 
 
2404
 
ac_ext=c
2405
 
ac_cpp='$CPP $CPPFLAGS'
2406
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2407
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2408
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2409
 
 
2410
 
 
2411
 
 
2412
 
 
2413
 
am__api_version='1.11'
2414
 
 
2415
 
ac_aux_dir=
2416
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2417
 
  if test -f "$ac_dir/install-sh"; then
2418
 
    ac_aux_dir=$ac_dir
2419
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2420
 
    break
2421
 
  elif test -f "$ac_dir/install.sh"; then
2422
 
    ac_aux_dir=$ac_dir
2423
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2424
 
    break
2425
 
  elif test -f "$ac_dir/shtool"; then
2426
 
    ac_aux_dir=$ac_dir
2427
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2428
 
    break
2429
 
  fi
2430
 
done
2431
 
if test -z "$ac_aux_dir"; then
2432
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2433
 
fi
2434
 
 
2435
 
# These three variables are undocumented and unsupported,
2436
 
# and are intended to be withdrawn in a future Autoconf release.
2437
 
# They can cause serious problems if a builder's source tree is in a directory
2438
 
# whose full name contains unusual characters.
2439
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2440
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2441
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2442
 
 
2443
 
 
2444
 
# Find a good install program.  We prefer a C program (faster),
2445
 
# so one script is as good as another.  But avoid the broken or
2446
 
# incompatible versions:
2447
 
# SysV /etc/install, /usr/sbin/install
2448
 
# SunOS /usr/etc/install
2449
 
# IRIX /sbin/install
2450
 
# AIX /bin/install
2451
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2452
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2453
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2454
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2455
 
# OS/2's system install, which has a completely different semantic
2456
 
# ./install, which can be erroneously created by make from ./install.sh.
2457
 
# Reject install programs that cannot install multiple files.
2458
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2459
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2460
 
if test -z "$INSTALL"; then
2461
 
if test "${ac_cv_path_install+set}" = set; then :
2462
 
  $as_echo_n "(cached) " >&6
2463
 
else
2464
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465
 
for as_dir in $PATH
2466
 
do
2467
 
  IFS=$as_save_IFS
2468
 
  test -z "$as_dir" && as_dir=.
2469
 
    # Account for people who put trailing slashes in PATH elements.
2470
 
case $as_dir/ in #((
2471
 
  ./ | .// | /[cC]/* | \
2472
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2473
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2474
 
  /usr/ucb/* ) ;;
2475
 
  *)
2476
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2477
 
    # Don't use installbsd from OSF since it installs stuff as root
2478
 
    # by default.
2479
 
    for ac_prog in ginstall scoinst install; do
2480
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2481
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2482
 
          if test $ac_prog = install &&
2483
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2484
 
            # AIX install.  It has an incompatible calling convention.
2485
 
            :
2486
 
          elif test $ac_prog = install &&
2487
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488
 
            # program-specific install script used by HP pwplus--don't use.
2489
 
            :
2490
 
          else
2491
 
            rm -rf conftest.one conftest.two conftest.dir
2492
 
            echo one > conftest.one
2493
 
            echo two > conftest.two
2494
 
            mkdir conftest.dir
2495
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2496
 
              test -s conftest.one && test -s conftest.two &&
2497
 
              test -s conftest.dir/conftest.one &&
2498
 
              test -s conftest.dir/conftest.two
2499
 
            then
2500
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2501
 
              break 3
2502
 
            fi
2503
 
          fi
2504
 
        fi
2505
 
      done
2506
 
    done
2507
 
    ;;
2508
 
esac
2509
 
 
2510
 
  done
2511
 
IFS=$as_save_IFS
2512
 
 
2513
 
rm -rf conftest.one conftest.two conftest.dir
2514
 
 
2515
 
fi
2516
 
  if test "${ac_cv_path_install+set}" = set; then
2517
 
    INSTALL=$ac_cv_path_install
2518
 
  else
2519
 
    # As a last resort, use the slow shell script.  Don't cache a
2520
 
    # value for INSTALL within a source directory, because that will
2521
 
    # break other packages using the cache if that directory is
2522
 
    # removed, or if the value is a relative name.
2523
 
    INSTALL=$ac_install_sh
2524
 
  fi
2525
 
fi
2526
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2527
 
$as_echo "$INSTALL" >&6; }
2528
 
 
2529
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2530
 
# It thinks the first close brace ends the variable substitution.
2531
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2532
 
 
2533
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2534
 
 
2535
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2536
 
 
2537
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2538
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2539
 
# Just in case
2540
 
sleep 1
2541
 
echo timestamp > conftest.file
2542
 
# Reject unsafe characters in $srcdir or the absolute working directory
2543
 
# name.  Accept space and tab only in the latter.
2544
 
am_lf='
2545
 
'
2546
 
case `pwd` in
2547
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2548
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2549
 
esac
2550
 
case $srcdir in
2551
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2552
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2553
 
esac
2554
 
 
2555
 
# Do `set' in a subshell so we don't clobber the current shell's
2556
 
# arguments.  Must try -L first in case configure is actually a
2557
 
# symlink; some systems play weird games with the mod time of symlinks
2558
 
# (eg FreeBSD returns the mod time of the symlink's containing
2559
 
# directory).
2560
 
if (
2561
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2562
 
   if test "$*" = "X"; then
2563
 
      # -L didn't work.
2564
 
      set X `ls -t "$srcdir/configure" conftest.file`
2565
 
   fi
2566
 
   rm -f conftest.file
2567
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2568
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2569
 
 
2570
 
      # If neither matched, then we have a broken ls.  This can happen
2571
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2572
 
      # broken ls alias from the environment.  This has actually
2573
 
      # happened.  Such a system could not be considered "sane".
2574
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2575
 
alias in your environment" "$LINENO" 5
2576
 
   fi
2577
 
 
2578
 
   test "$2" = conftest.file
2579
 
   )
2580
 
then
2581
 
   # Ok.
2582
 
   :
2583
 
else
2584
 
   as_fn_error $? "newly created file is older than distributed files!
2585
 
Check your system clock" "$LINENO" 5
2586
 
fi
2587
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2588
 
$as_echo "yes" >&6; }
2589
 
test "$program_prefix" != NONE &&
2590
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2591
 
# Use a double $ so make ignores it.
2592
 
test "$program_suffix" != NONE &&
2593
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2594
 
# Double any \ or $.
2595
 
# By default was `s,x,x', remove it if useless.
2596
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2597
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2598
 
 
2599
 
# expand $ac_aux_dir to an absolute path
2600
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2601
 
 
2602
 
if test x"${MISSING+set}" != xset; then
2603
 
  case $am_aux_dir in
2604
 
  *\ * | *\     *)
2605
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2606
 
  *)
2607
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2608
 
  esac
2609
 
fi
2610
 
# Use eval to expand $SHELL
2611
 
if eval "$MISSING --run true"; then
2612
 
  am_missing_run="$MISSING --run "
2613
 
else
2614
 
  am_missing_run=
2615
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2616
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2617
 
fi
2618
 
 
2619
 
if test x"${install_sh}" != xset; then
2620
 
  case $am_aux_dir in
2621
 
  *\ * | *\     *)
2622
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2623
 
  *)
2624
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2625
 
  esac
2626
 
fi
2627
 
 
2628
 
# Installed binaries are usually stripped using `strip' when the user
2629
 
# run `make install-strip'.  However `strip' might not be the right
2630
 
# tool to use in cross-compilation environments, therefore Automake
2631
 
# will honor the `STRIP' environment variable to overrule this program.
2632
 
if test "$cross_compiling" != no; then
2633
 
  if test -n "$ac_tool_prefix"; then
2634
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2635
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2636
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2637
 
$as_echo_n "checking for $ac_word... " >&6; }
2638
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2639
 
  $as_echo_n "(cached) " >&6
2640
 
else
2641
 
  if test -n "$STRIP"; then
2642
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2643
 
else
2644
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2645
 
for as_dir in $PATH
2646
 
do
2647
 
  IFS=$as_save_IFS
2648
 
  test -z "$as_dir" && as_dir=.
2649
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2650
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2651
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2652
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653
 
    break 2
2654
 
  fi
2655
 
done
2656
 
  done
2657
 
IFS=$as_save_IFS
2658
 
 
2659
 
fi
2660
 
fi
2661
 
STRIP=$ac_cv_prog_STRIP
2662
 
if test -n "$STRIP"; then
2663
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2664
 
$as_echo "$STRIP" >&6; }
2665
 
else
2666
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2667
 
$as_echo "no" >&6; }
2668
 
fi
2669
 
 
2670
 
 
2671
 
fi
2672
 
if test -z "$ac_cv_prog_STRIP"; then
2673
 
  ac_ct_STRIP=$STRIP
2674
 
  # Extract the first word of "strip", so it can be a program name with args.
2675
 
set dummy strip; ac_word=$2
2676
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2677
 
$as_echo_n "checking for $ac_word... " >&6; }
2678
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2679
 
  $as_echo_n "(cached) " >&6
2680
 
else
2681
 
  if test -n "$ac_ct_STRIP"; then
2682
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2683
 
else
2684
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685
 
for as_dir in $PATH
2686
 
do
2687
 
  IFS=$as_save_IFS
2688
 
  test -z "$as_dir" && as_dir=.
2689
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2690
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691
 
    ac_cv_prog_ac_ct_STRIP="strip"
2692
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2693
 
    break 2
2694
 
  fi
2695
 
done
2696
 
  done
2697
 
IFS=$as_save_IFS
2698
 
 
2699
 
fi
2700
 
fi
2701
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2702
 
if test -n "$ac_ct_STRIP"; then
2703
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2704
 
$as_echo "$ac_ct_STRIP" >&6; }
2705
 
else
2706
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707
 
$as_echo "no" >&6; }
2708
 
fi
2709
 
 
2710
 
  if test "x$ac_ct_STRIP" = x; then
2711
 
    STRIP=":"
2712
 
  else
2713
 
    case $cross_compiling:$ac_tool_warned in
2714
 
yes:)
2715
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2716
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2717
 
ac_tool_warned=yes ;;
2718
 
esac
2719
 
    STRIP=$ac_ct_STRIP
2720
 
  fi
2721
 
else
2722
 
  STRIP="$ac_cv_prog_STRIP"
2723
 
fi
2724
 
 
2725
 
fi
2726
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2727
 
 
2728
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2729
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2730
 
if test -z "$MKDIR_P"; then
2731
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
2732
 
  $as_echo_n "(cached) " >&6
2733
 
else
2734
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2736
 
do
2737
 
  IFS=$as_save_IFS
2738
 
  test -z "$as_dir" && as_dir=.
2739
 
    for ac_prog in mkdir gmkdir; do
2740
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2741
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2742
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2743
 
             'mkdir (GNU coreutils) '* | \
2744
 
             'mkdir (coreutils) '* | \
2745
 
             'mkdir (fileutils) '4.1*)
2746
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2747
 
               break 3;;
2748
 
           esac
2749
 
         done
2750
 
       done
2751
 
  done
2752
 
IFS=$as_save_IFS
2753
 
 
2754
 
fi
2755
 
 
2756
 
  test -d ./--version && rmdir ./--version
2757
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2758
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2759
 
  else
2760
 
    # As a last resort, use the slow shell script.  Don't cache a
2761
 
    # value for MKDIR_P within a source directory, because that will
2762
 
    # break other packages using the cache if that directory is
2763
 
    # removed, or if the value is a relative name.
2764
 
    MKDIR_P="$ac_install_sh -d"
2765
 
  fi
2766
 
fi
2767
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2768
 
$as_echo "$MKDIR_P" >&6; }
2769
 
 
2770
 
mkdir_p="$MKDIR_P"
2771
 
case $mkdir_p in
2772
 
  [\\/$]* | ?:[\\/]*) ;;
2773
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2774
 
esac
2775
 
 
2776
 
for ac_prog in gawk mawk nawk awk
2777
 
do
2778
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2779
 
set dummy $ac_prog; ac_word=$2
2780
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781
 
$as_echo_n "checking for $ac_word... " >&6; }
2782
 
if test "${ac_cv_prog_AWK+set}" = set; then :
2783
 
  $as_echo_n "(cached) " >&6
2784
 
else
2785
 
  if test -n "$AWK"; then
2786
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2787
 
else
2788
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789
 
for as_dir in $PATH
2790
 
do
2791
 
  IFS=$as_save_IFS
2792
 
  test -z "$as_dir" && as_dir=.
2793
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2794
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795
 
    ac_cv_prog_AWK="$ac_prog"
2796
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797
 
    break 2
2798
 
  fi
2799
 
done
2800
 
  done
2801
 
IFS=$as_save_IFS
2802
 
 
2803
 
fi
2804
 
fi
2805
 
AWK=$ac_cv_prog_AWK
2806
 
if test -n "$AWK"; then
2807
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2808
 
$as_echo "$AWK" >&6; }
2809
 
else
2810
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811
 
$as_echo "no" >&6; }
2812
 
fi
2813
 
 
2814
 
 
2815
 
  test -n "$AWK" && break
2816
 
done
2817
 
 
2818
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2819
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2820
 
set x ${MAKE-make}
2821
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2822
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2823
 
  $as_echo_n "(cached) " >&6
2824
 
else
2825
 
  cat >conftest.make <<\_ACEOF
2826
 
SHELL = /bin/sh
2827
 
all:
2828
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2829
 
_ACEOF
2830
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2831
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2832
 
  *@@@%%%=?*=@@@%%%*)
2833
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2834
 
  *)
2835
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2836
 
esac
2837
 
rm -f conftest.make
2838
 
fi
2839
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2840
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2841
 
$as_echo "yes" >&6; }
2842
 
  SET_MAKE=
2843
 
else
2844
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2845
 
$as_echo "no" >&6; }
2846
 
  SET_MAKE="MAKE=${MAKE-make}"
2847
 
fi
2848
 
 
2849
 
rm -rf .tst 2>/dev/null
2850
 
mkdir .tst 2>/dev/null
2851
 
if test -d .tst; then
2852
 
  am__leading_dot=.
2853
 
else
2854
 
  am__leading_dot=_
2855
 
fi
2856
 
rmdir .tst 2>/dev/null
2857
 
 
2858
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2859
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2860
 
  # is not polluted with repeated "-I."
2861
 
  am__isrc=' -I$(srcdir)'
2862
 
  # test to see if srcdir already configured
2863
 
  if test -f $srcdir/config.status; then
2864
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2865
 
  fi
2866
 
fi
2867
 
 
2868
 
# test whether we have cygpath
2869
 
if test -z "$CYGPATH_W"; then
2870
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2871
 
    CYGPATH_W='cygpath -w'
2872
 
  else
2873
 
    CYGPATH_W=echo
2874
 
  fi
2875
 
fi
2876
 
 
2877
 
 
2878
 
# Define the identity of the package.
2879
 
 PACKAGE='me-tv'
2880
 
 VERSION='1.3.6'
2881
 
 
2882
 
 
2883
 
cat >>confdefs.h <<_ACEOF
2884
 
#define PACKAGE "$PACKAGE"
2885
 
_ACEOF
2886
 
 
2887
 
 
2888
 
cat >>confdefs.h <<_ACEOF
2889
 
#define VERSION "$VERSION"
2890
 
_ACEOF
2891
 
 
2892
 
# Some tools Automake needs.
2893
 
 
2894
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2895
 
 
2896
 
 
2897
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2898
 
 
2899
 
 
2900
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2901
 
 
2902
 
 
2903
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2904
 
 
2905
 
 
2906
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2907
 
 
2908
 
# We need awk for the "check" target.  The system "awk" is bad on
2909
 
# some platforms.
2910
 
# Always define AMTAR for backward compatibility.
2911
 
 
2912
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2913
 
 
2914
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2915
 
 
2916
 
 
2917
 
 
2918
 
 
2919
 
 
2920
 
DEPDIR="${am__leading_dot}deps"
2921
 
 
2922
 
ac_config_commands="$ac_config_commands depfiles"
2923
 
 
2924
 
 
2925
 
am_make=${MAKE-make}
2926
 
cat > confinc << 'END'
2927
 
am__doit:
2928
 
        @echo this is the am__doit target
2929
 
.PHONY: am__doit
2930
 
END
2931
 
# If we don't find an include directive, just comment out the code.
2932
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2933
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2934
 
am__include="#"
2935
 
am__quote=
2936
 
_am_result=none
2937
 
# First try GNU make style include.
2938
 
echo "include confinc" > confmf
2939
 
# Ignore all kinds of additional output from `make'.
2940
 
case `$am_make -s -f confmf 2> /dev/null` in #(
2941
 
*the\ am__doit\ target*)
2942
 
  am__include=include
2943
 
  am__quote=
2944
 
  _am_result=GNU
2945
 
  ;;
2946
 
esac
2947
 
# Now try BSD make style include.
2948
 
if test "$am__include" = "#"; then
2949
 
   echo '.include "confinc"' > confmf
2950
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
2951
 
   *the\ am__doit\ target*)
2952
 
     am__include=.include
2953
 
     am__quote="\""
2954
 
     _am_result=BSD
2955
 
     ;;
2956
 
   esac
2957
 
fi
2958
 
 
2959
 
 
2960
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2961
 
$as_echo "$_am_result" >&6; }
2962
 
rm -f confinc confmf
2963
 
 
2964
 
# Check whether --enable-dependency-tracking was given.
2965
 
if test "${enable_dependency_tracking+set}" = set; then :
2966
 
  enableval=$enable_dependency_tracking;
2967
 
fi
2968
 
 
2969
 
if test "x$enable_dependency_tracking" != xno; then
2970
 
  am_depcomp="$ac_aux_dir/depcomp"
2971
 
  AMDEPBACKSLASH='\'
2972
 
fi
2973
 
 if test "x$enable_dependency_tracking" != xno; then
2974
 
  AMDEP_TRUE=
2975
 
  AMDEP_FALSE='#'
2976
 
else
2977
 
  AMDEP_TRUE='#'
2978
 
  AMDEP_FALSE=
2979
 
fi
2980
 
 
2981
 
 
2982
 
ac_ext=c
2983
 
ac_cpp='$CPP $CPPFLAGS'
2984
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2985
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2986
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2987
 
if test -n "$ac_tool_prefix"; then
2988
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2989
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2990
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991
 
$as_echo_n "checking for $ac_word... " >&6; }
2992
 
if test "${ac_cv_prog_CC+set}" = set; then :
2993
 
  $as_echo_n "(cached) " >&6
2994
 
else
2995
 
  if test -n "$CC"; then
2996
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2997
 
else
2998
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999
 
for as_dir in $PATH
3000
 
do
3001
 
  IFS=$as_save_IFS
3002
 
  test -z "$as_dir" && as_dir=.
3003
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3004
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3006
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007
 
    break 2
3008
 
  fi
3009
 
done
3010
 
  done
3011
 
IFS=$as_save_IFS
3012
 
 
3013
 
fi
3014
 
fi
3015
 
CC=$ac_cv_prog_CC
3016
 
if test -n "$CC"; then
3017
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3018
 
$as_echo "$CC" >&6; }
3019
 
else
3020
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021
 
$as_echo "no" >&6; }
3022
 
fi
3023
 
 
3024
 
 
3025
 
fi
3026
 
if test -z "$ac_cv_prog_CC"; then
3027
 
  ac_ct_CC=$CC
3028
 
  # Extract the first word of "gcc", so it can be a program name with args.
3029
 
set dummy gcc; ac_word=$2
3030
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031
 
$as_echo_n "checking for $ac_word... " >&6; }
3032
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3033
 
  $as_echo_n "(cached) " >&6
3034
 
else
3035
 
  if test -n "$ac_ct_CC"; then
3036
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3037
 
else
3038
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039
 
for as_dir in $PATH
3040
 
do
3041
 
  IFS=$as_save_IFS
3042
 
  test -z "$as_dir" && as_dir=.
3043
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3044
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3045
 
    ac_cv_prog_ac_ct_CC="gcc"
3046
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047
 
    break 2
3048
 
  fi
3049
 
done
3050
 
  done
3051
 
IFS=$as_save_IFS
3052
 
 
3053
 
fi
3054
 
fi
3055
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3056
 
if test -n "$ac_ct_CC"; then
3057
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3058
 
$as_echo "$ac_ct_CC" >&6; }
3059
 
else
3060
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061
 
$as_echo "no" >&6; }
3062
 
fi
3063
 
 
3064
 
  if test "x$ac_ct_CC" = x; then
3065
 
    CC=""
3066
 
  else
3067
 
    case $cross_compiling:$ac_tool_warned in
3068
 
yes:)
3069
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3070
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3071
 
ac_tool_warned=yes ;;
3072
 
esac
3073
 
    CC=$ac_ct_CC
3074
 
  fi
3075
 
else
3076
 
  CC="$ac_cv_prog_CC"
3077
 
fi
3078
 
 
3079
 
if test -z "$CC"; then
3080
 
          if test -n "$ac_tool_prefix"; then
3081
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3082
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084
 
$as_echo_n "checking for $ac_word... " >&6; }
3085
 
if test "${ac_cv_prog_CC+set}" = set; then :
3086
 
  $as_echo_n "(cached) " >&6
3087
 
else
3088
 
  if test -n "$CC"; then
3089
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3090
 
else
3091
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092
 
for as_dir in $PATH
3093
 
do
3094
 
  IFS=$as_save_IFS
3095
 
  test -z "$as_dir" && as_dir=.
3096
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3097
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3098
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3099
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100
 
    break 2
3101
 
  fi
3102
 
done
3103
 
  done
3104
 
IFS=$as_save_IFS
3105
 
 
3106
 
fi
3107
 
fi
3108
 
CC=$ac_cv_prog_CC
3109
 
if test -n "$CC"; then
3110
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111
 
$as_echo "$CC" >&6; }
3112
 
else
3113
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114
 
$as_echo "no" >&6; }
3115
 
fi
3116
 
 
3117
 
 
3118
 
  fi
3119
 
fi
3120
 
if test -z "$CC"; then
3121
 
  # Extract the first word of "cc", so it can be a program name with args.
3122
 
set dummy cc; ac_word=$2
3123
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124
 
$as_echo_n "checking for $ac_word... " >&6; }
3125
 
if test "${ac_cv_prog_CC+set}" = set; then :
3126
 
  $as_echo_n "(cached) " >&6
3127
 
else
3128
 
  if test -n "$CC"; then
3129
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3130
 
else
3131
 
  ac_prog_rejected=no
3132
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3133
 
for as_dir in $PATH
3134
 
do
3135
 
  IFS=$as_save_IFS
3136
 
  test -z "$as_dir" && as_dir=.
3137
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3138
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3139
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3140
 
       ac_prog_rejected=yes
3141
 
       continue
3142
 
     fi
3143
 
    ac_cv_prog_CC="cc"
3144
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3145
 
    break 2
3146
 
  fi
3147
 
done
3148
 
  done
3149
 
IFS=$as_save_IFS
3150
 
 
3151
 
if test $ac_prog_rejected = yes; then
3152
 
  # We found a bogon in the path, so make sure we never use it.
3153
 
  set dummy $ac_cv_prog_CC
3154
 
  shift
3155
 
  if test $# != 0; then
3156
 
    # We chose a different compiler from the bogus one.
3157
 
    # However, it has the same basename, so the bogon will be chosen
3158
 
    # first if we set CC to just the basename; use the full file name.
3159
 
    shift
3160
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3161
 
  fi
3162
 
fi
3163
 
fi
3164
 
fi
3165
 
CC=$ac_cv_prog_CC
3166
 
if test -n "$CC"; then
3167
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3168
 
$as_echo "$CC" >&6; }
3169
 
else
3170
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171
 
$as_echo "no" >&6; }
3172
 
fi
3173
 
 
3174
 
 
3175
 
fi
3176
 
if test -z "$CC"; then
3177
 
  if test -n "$ac_tool_prefix"; then
3178
 
  for ac_prog in cl.exe
3179
 
  do
3180
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3181
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3182
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183
 
$as_echo_n "checking for $ac_word... " >&6; }
3184
 
if test "${ac_cv_prog_CC+set}" = set; then :
3185
 
  $as_echo_n "(cached) " >&6
3186
 
else
3187
 
  if test -n "$CC"; then
3188
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3189
 
else
3190
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191
 
for as_dir in $PATH
3192
 
do
3193
 
  IFS=$as_save_IFS
3194
 
  test -z "$as_dir" && as_dir=.
3195
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3196
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3198
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199
 
    break 2
3200
 
  fi
3201
 
done
3202
 
  done
3203
 
IFS=$as_save_IFS
3204
 
 
3205
 
fi
3206
 
fi
3207
 
CC=$ac_cv_prog_CC
3208
 
if test -n "$CC"; then
3209
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3210
 
$as_echo "$CC" >&6; }
3211
 
else
3212
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213
 
$as_echo "no" >&6; }
3214
 
fi
3215
 
 
3216
 
 
3217
 
    test -n "$CC" && break
3218
 
  done
3219
 
fi
3220
 
if test -z "$CC"; then
3221
 
  ac_ct_CC=$CC
3222
 
  for ac_prog in cl.exe
3223
 
do
3224
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3225
 
set dummy $ac_prog; ac_word=$2
3226
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227
 
$as_echo_n "checking for $ac_word... " >&6; }
3228
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3229
 
  $as_echo_n "(cached) " >&6
3230
 
else
3231
 
  if test -n "$ac_ct_CC"; then
3232
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3233
 
else
3234
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235
 
for as_dir in $PATH
3236
 
do
3237
 
  IFS=$as_save_IFS
3238
 
  test -z "$as_dir" && as_dir=.
3239
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3240
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3242
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243
 
    break 2
3244
 
  fi
3245
 
done
3246
 
  done
3247
 
IFS=$as_save_IFS
3248
 
 
3249
 
fi
3250
 
fi
3251
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3252
 
if test -n "$ac_ct_CC"; then
3253
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3254
 
$as_echo "$ac_ct_CC" >&6; }
3255
 
else
3256
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257
 
$as_echo "no" >&6; }
3258
 
fi
3259
 
 
3260
 
 
3261
 
  test -n "$ac_ct_CC" && break
3262
 
done
3263
 
 
3264
 
  if test "x$ac_ct_CC" = x; then
3265
 
    CC=""
3266
 
  else
3267
 
    case $cross_compiling:$ac_tool_warned in
3268
 
yes:)
3269
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3270
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3271
 
ac_tool_warned=yes ;;
3272
 
esac
3273
 
    CC=$ac_ct_CC
3274
 
  fi
3275
 
fi
3276
 
 
3277
 
fi
3278
 
 
3279
 
 
3280
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3281
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3282
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3283
 
See \`config.log' for more details" "$LINENO" 5 ; }
3284
 
 
3285
 
# Provide some information about the compiler.
3286
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3287
 
set X $ac_compile
3288
 
ac_compiler=$2
3289
 
for ac_option in --version -v -V -qversion; do
3290
 
  { { ac_try="$ac_compiler $ac_option >&5"
3291
 
case "(($ac_try" in
3292
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293
 
  *) ac_try_echo=$ac_try;;
3294
 
esac
3295
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296
 
$as_echo "$ac_try_echo"; } >&5
3297
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3298
 
  ac_status=$?
3299
 
  if test -s conftest.err; then
3300
 
    sed '10a\
3301
 
... rest of stderr output deleted ...
3302
 
         10q' conftest.err >conftest.er1
3303
 
    cat conftest.er1 >&5
3304
 
  fi
3305
 
  rm -f conftest.er1 conftest.err
3306
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307
 
  test $ac_status = 0; }
3308
 
done
3309
 
 
3310
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311
 
/* end confdefs.h.  */
3312
 
 
3313
 
int
3314
 
main ()
3315
 
{
3316
 
 
3317
 
  ;
3318
 
  return 0;
3319
 
}
3320
 
_ACEOF
3321
 
ac_clean_files_save=$ac_clean_files
3322
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3323
 
# Try to create an executable without -o first, disregard a.out.
3324
 
# It will help us diagnose broken compilers, and finding out an intuition
3325
 
# of exeext.
3326
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3327
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3328
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3329
 
 
3330
 
# The possible output files:
3331
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3332
 
 
3333
 
ac_rmfiles=
3334
 
for ac_file in $ac_files
3335
 
do
3336
 
  case $ac_file in
3337
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3338
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3339
 
  esac
3340
 
done
3341
 
rm -f $ac_rmfiles
3342
 
 
3343
 
if { { ac_try="$ac_link_default"
3344
 
case "(($ac_try" in
3345
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346
 
  *) ac_try_echo=$ac_try;;
3347
 
esac
3348
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3349
 
$as_echo "$ac_try_echo"; } >&5
3350
 
  (eval "$ac_link_default") 2>&5
3351
 
  ac_status=$?
3352
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3353
 
  test $ac_status = 0; }; then :
3354
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3355
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3356
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3357
 
# so that the user can short-circuit this test for compilers unknown to
3358
 
# Autoconf.
3359
 
for ac_file in $ac_files ''
3360
 
do
3361
 
  test -f "$ac_file" || continue
3362
 
  case $ac_file in
3363
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3364
 
        ;;
3365
 
    [ab].out )
3366
 
        # We found the default executable, but exeext='' is most
3367
 
        # certainly right.
3368
 
        break;;
3369
 
    *.* )
3370
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3371
 
        then :; else
3372
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3373
 
        fi
3374
 
        # We set ac_cv_exeext here because the later test for it is not
3375
 
        # safe: cross compilers may not add the suffix if given an `-o'
3376
 
        # argument, so we may need to know it at that point already.
3377
 
        # Even if this section looks crufty: it has the advantage of
3378
 
        # actually working.
3379
 
        break;;
3380
 
    * )
3381
 
        break;;
3382
 
  esac
3383
 
done
3384
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3385
 
 
3386
 
else
3387
 
  ac_file=''
3388
 
fi
3389
 
if test -z "$ac_file"; then :
3390
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3391
 
$as_echo "no" >&6; }
3392
 
$as_echo "$as_me: failed program was:" >&5
3393
 
sed 's/^/| /' conftest.$ac_ext >&5
3394
 
 
3395
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3396
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3397
 
as_fn_error 77 "C compiler cannot create executables
3398
 
See \`config.log' for more details" "$LINENO" 5 ; }
3399
 
else
3400
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3401
 
$as_echo "yes" >&6; }
3402
 
fi
3403
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3404
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3405
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3406
 
$as_echo "$ac_file" >&6; }
3407
 
ac_exeext=$ac_cv_exeext
3408
 
 
3409
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3410
 
ac_clean_files=$ac_clean_files_save
3411
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3412
 
$as_echo_n "checking for suffix of executables... " >&6; }
3413
 
if { { ac_try="$ac_link"
3414
 
case "(($ac_try" in
3415
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416
 
  *) ac_try_echo=$ac_try;;
3417
 
esac
3418
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419
 
$as_echo "$ac_try_echo"; } >&5
3420
 
  (eval "$ac_link") 2>&5
3421
 
  ac_status=$?
3422
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423
 
  test $ac_status = 0; }; then :
3424
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3425
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3426
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3427
 
# `rm'.
3428
 
for ac_file in conftest.exe conftest conftest.*; do
3429
 
  test -f "$ac_file" || continue
3430
 
  case $ac_file in
3431
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3432
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3433
 
          break;;
3434
 
    * ) break;;
3435
 
  esac
3436
 
done
3437
 
else
3438
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3439
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3440
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3441
 
See \`config.log' for more details" "$LINENO" 5 ; }
3442
 
fi
3443
 
rm -f conftest conftest$ac_cv_exeext
3444
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3445
 
$as_echo "$ac_cv_exeext" >&6; }
3446
 
 
3447
 
rm -f conftest.$ac_ext
3448
 
EXEEXT=$ac_cv_exeext
3449
 
ac_exeext=$EXEEXT
3450
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451
 
/* end confdefs.h.  */
3452
 
#include <stdio.h>
3453
 
int
3454
 
main ()
3455
 
{
3456
 
FILE *f = fopen ("conftest.out", "w");
3457
 
 return ferror (f) || fclose (f) != 0;
3458
 
 
3459
 
  ;
3460
 
  return 0;
3461
 
}
3462
 
_ACEOF
3463
 
ac_clean_files="$ac_clean_files conftest.out"
3464
 
# Check that the compiler produces executables we can run.  If not, either
3465
 
# the compiler is broken, or we cross compile.
3466
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3467
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3468
 
if test "$cross_compiling" != yes; then
3469
 
  { { ac_try="$ac_link"
3470
 
case "(($ac_try" in
3471
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3472
 
  *) ac_try_echo=$ac_try;;
3473
 
esac
3474
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3475
 
$as_echo "$ac_try_echo"; } >&5
3476
 
  (eval "$ac_link") 2>&5
3477
 
  ac_status=$?
3478
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479
 
  test $ac_status = 0; }
3480
 
  if { ac_try='./conftest$ac_cv_exeext'
3481
 
  { { case "(($ac_try" in
3482
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3483
 
  *) ac_try_echo=$ac_try;;
3484
 
esac
3485
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486
 
$as_echo "$ac_try_echo"; } >&5
3487
 
  (eval "$ac_try") 2>&5
3488
 
  ac_status=$?
3489
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490
 
  test $ac_status = 0; }; }; then
3491
 
    cross_compiling=no
3492
 
  else
3493
 
    if test "$cross_compiling" = maybe; then
3494
 
        cross_compiling=yes
3495
 
    else
3496
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3497
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3498
 
as_fn_error $? "cannot run C compiled programs.
3499
 
If you meant to cross compile, use \`--host'.
3500
 
See \`config.log' for more details" "$LINENO" 5 ; }
3501
 
    fi
3502
 
  fi
3503
 
fi
3504
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3505
 
$as_echo "$cross_compiling" >&6; }
3506
 
 
3507
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3508
 
ac_clean_files=$ac_clean_files_save
3509
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3510
 
$as_echo_n "checking for suffix of object files... " >&6; }
3511
 
if test "${ac_cv_objext+set}" = set; then :
3512
 
  $as_echo_n "(cached) " >&6
3513
 
else
3514
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515
 
/* end confdefs.h.  */
3516
 
 
3517
 
int
3518
 
main ()
3519
 
{
3520
 
 
3521
 
  ;
3522
 
  return 0;
3523
 
}
3524
 
_ACEOF
3525
 
rm -f conftest.o conftest.obj
3526
 
if { { ac_try="$ac_compile"
3527
 
case "(($ac_try" in
3528
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529
 
  *) ac_try_echo=$ac_try;;
3530
 
esac
3531
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3532
 
$as_echo "$ac_try_echo"; } >&5
3533
 
  (eval "$ac_compile") 2>&5
3534
 
  ac_status=$?
3535
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536
 
  test $ac_status = 0; }; then :
3537
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3538
 
  test -f "$ac_file" || continue;
3539
 
  case $ac_file in
3540
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3541
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3542
 
       break;;
3543
 
  esac
3544
 
done
3545
 
else
3546
 
  $as_echo "$as_me: failed program was:" >&5
3547
 
sed 's/^/| /' conftest.$ac_ext >&5
3548
 
 
3549
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3550
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3551
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3552
 
See \`config.log' for more details" "$LINENO" 5 ; }
3553
 
fi
3554
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3555
 
fi
3556
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3557
 
$as_echo "$ac_cv_objext" >&6; }
3558
 
OBJEXT=$ac_cv_objext
3559
 
ac_objext=$OBJEXT
3560
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3561
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3562
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3563
 
  $as_echo_n "(cached) " >&6
3564
 
else
3565
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566
 
/* end confdefs.h.  */
3567
 
 
3568
 
int
3569
 
main ()
3570
 
{
3571
 
#ifndef __GNUC__
3572
 
       choke me
3573
 
#endif
3574
 
 
3575
 
  ;
3576
 
  return 0;
3577
 
}
3578
 
_ACEOF
3579
 
if ac_fn_c_try_compile "$LINENO"; then :
3580
 
  ac_compiler_gnu=yes
3581
 
else
3582
 
  ac_compiler_gnu=no
3583
 
fi
3584
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3586
 
 
3587
 
fi
3588
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3589
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3590
 
if test $ac_compiler_gnu = yes; then
3591
 
  GCC=yes
3592
 
else
3593
 
  GCC=
3594
 
fi
3595
 
ac_test_CFLAGS=${CFLAGS+set}
3596
 
ac_save_CFLAGS=$CFLAGS
3597
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3598
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3599
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
3600
 
  $as_echo_n "(cached) " >&6
3601
 
else
3602
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3603
 
   ac_c_werror_flag=yes
3604
 
   ac_cv_prog_cc_g=no
3605
 
   CFLAGS="-g"
3606
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607
 
/* end confdefs.h.  */
3608
 
 
3609
 
int
3610
 
main ()
3611
 
{
3612
 
 
3613
 
  ;
3614
 
  return 0;
3615
 
}
3616
 
_ACEOF
3617
 
if ac_fn_c_try_compile "$LINENO"; then :
3618
 
  ac_cv_prog_cc_g=yes
3619
 
else
3620
 
  CFLAGS=""
3621
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622
 
/* end confdefs.h.  */
3623
 
 
3624
 
int
3625
 
main ()
3626
 
{
3627
 
 
3628
 
  ;
3629
 
  return 0;
3630
 
}
3631
 
_ACEOF
3632
 
if ac_fn_c_try_compile "$LINENO"; then :
3633
 
 
3634
 
else
3635
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3636
 
         CFLAGS="-g"
3637
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638
 
/* end confdefs.h.  */
3639
 
 
3640
 
int
3641
 
main ()
3642
 
{
3643
 
 
3644
 
  ;
3645
 
  return 0;
3646
 
}
3647
 
_ACEOF
3648
 
if ac_fn_c_try_compile "$LINENO"; then :
3649
 
  ac_cv_prog_cc_g=yes
3650
 
fi
3651
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652
 
fi
3653
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654
 
fi
3655
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3657
 
fi
3658
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3659
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3660
 
if test "$ac_test_CFLAGS" = set; then
3661
 
  CFLAGS=$ac_save_CFLAGS
3662
 
elif test $ac_cv_prog_cc_g = yes; then
3663
 
  if test "$GCC" = yes; then
3664
 
    CFLAGS="-g -O2"
3665
 
  else
3666
 
    CFLAGS="-g"
3667
 
  fi
3668
 
else
3669
 
  if test "$GCC" = yes; then
3670
 
    CFLAGS="-O2"
3671
 
  else
3672
 
    CFLAGS=
3673
 
  fi
3674
 
fi
3675
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3676
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3677
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3678
 
  $as_echo_n "(cached) " >&6
3679
 
else
3680
 
  ac_cv_prog_cc_c89=no
3681
 
ac_save_CC=$CC
3682
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683
 
/* end confdefs.h.  */
3684
 
#include <stdarg.h>
3685
 
#include <stdio.h>
3686
 
#include <sys/types.h>
3687
 
#include <sys/stat.h>
3688
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3689
 
struct buf { int x; };
3690
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3691
 
static char *e (p, i)
3692
 
     char **p;
3693
 
     int i;
3694
 
{
3695
 
  return p[i];
3696
 
}
3697
 
static char *f (char * (*g) (char **, int), char **p, ...)
3698
 
{
3699
 
  char *s;
3700
 
  va_list v;
3701
 
  va_start (v,p);
3702
 
  s = g (p, va_arg (v,int));
3703
 
  va_end (v);
3704
 
  return s;
3705
 
}
3706
 
 
3707
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3708
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3709
 
   These don't provoke an error unfortunately, instead are silently treated
3710
 
   as 'x'.  The following induces an error, until -std is added to get
3711
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3712
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3713
 
   that's true only with -std.  */
3714
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3715
 
 
3716
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3717
 
   inside strings and character constants.  */
3718
 
#define FOO(x) 'x'
3719
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3720
 
 
3721
 
int test (int i, double x);
3722
 
struct s1 {int (*f) (int a);};
3723
 
struct s2 {int (*f) (double a);};
3724
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3725
 
int argc;
3726
 
char **argv;
3727
 
int
3728
 
main ()
3729
 
{
3730
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3731
 
  ;
3732
 
  return 0;
3733
 
}
3734
 
_ACEOF
3735
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3736
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3737
 
do
3738
 
  CC="$ac_save_CC $ac_arg"
3739
 
  if ac_fn_c_try_compile "$LINENO"; then :
3740
 
  ac_cv_prog_cc_c89=$ac_arg
3741
 
fi
3742
 
rm -f core conftest.err conftest.$ac_objext
3743
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3744
 
done
3745
 
rm -f conftest.$ac_ext
3746
 
CC=$ac_save_CC
3747
 
 
3748
 
fi
3749
 
# AC_CACHE_VAL
3750
 
case "x$ac_cv_prog_cc_c89" in
3751
 
  x)
3752
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3753
 
$as_echo "none needed" >&6; } ;;
3754
 
  xno)
3755
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3756
 
$as_echo "unsupported" >&6; } ;;
3757
 
  *)
3758
 
    CC="$CC $ac_cv_prog_cc_c89"
3759
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3760
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3761
 
esac
3762
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3763
 
 
3764
 
fi
3765
 
 
3766
 
ac_ext=c
3767
 
ac_cpp='$CPP $CPPFLAGS'
3768
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3769
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3770
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3771
 
 
3772
 
depcc="$CC"   am_compiler_list=
3773
 
 
3774
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3775
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3776
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3777
 
  $as_echo_n "(cached) " >&6
3778
 
else
3779
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3780
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3781
 
  # making bogus files that we don't know about and never remove.  For
3782
 
  # instance it was reported that on HP-UX the gcc test will end up
3783
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3784
 
  # in D'.
3785
 
  mkdir conftest.dir
3786
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3787
 
  # using a relative directory.
3788
 
  cp "$am_depcomp" conftest.dir
3789
 
  cd conftest.dir
3790
 
  # We will build objects and dependencies in a subdirectory because
3791
 
  # it helps to detect inapplicable dependency modes.  For instance
3792
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3793
 
  # side effect of compilation, but ICC will put the dependencies in
3794
 
  # the current directory while Tru64 will put them in the object
3795
 
  # directory.
3796
 
  mkdir sub
3797
 
 
3798
 
  am_cv_CC_dependencies_compiler_type=none
3799
 
  if test "$am_compiler_list" = ""; then
3800
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3801
 
  fi
3802
 
  am__universal=false
3803
 
  case " $depcc " in #(
3804
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3805
 
     esac
3806
 
 
3807
 
  for depmode in $am_compiler_list; do
3808
 
    # Setup a source with many dependencies, because some compilers
3809
 
    # like to wrap large dependency lists on column 80 (with \), and
3810
 
    # we should not choose a depcomp mode which is confused by this.
3811
 
    #
3812
 
    # We need to recreate these files for each test, as the compiler may
3813
 
    # overwrite some of them when testing with obscure command lines.
3814
 
    # This happens at least with the AIX C compiler.
3815
 
    : > sub/conftest.c
3816
 
    for i in 1 2 3 4 5 6; do
3817
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3818
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3819
 
      # Solaris 8's {/usr,}/bin/sh.
3820
 
      touch sub/conftst$i.h
3821
 
    done
3822
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3823
 
 
3824
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3825
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3826
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3827
 
    # versions had trouble with output in subdirs
3828
 
    am__obj=sub/conftest.${OBJEXT-o}
3829
 
    am__minus_obj="-o $am__obj"
3830
 
    case $depmode in
3831
 
    gcc)
3832
 
      # This depmode causes a compiler race in universal mode.
3833
 
      test "$am__universal" = false || continue
3834
 
      ;;
3835
 
    nosideeffect)
3836
 
      # after this tag, mechanisms are not by side-effect, so they'll
3837
 
      # only be used when explicitly requested
3838
 
      if test "x$enable_dependency_tracking" = xyes; then
3839
 
        continue
3840
 
      else
3841
 
        break
3842
 
      fi
3843
 
      ;;
3844
 
    msvisualcpp | msvcmsys)
3845
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3846
 
      # not run yet.  These depmodes are late enough in the game, and
3847
 
      # so weak that their functioning should not be impacted.
3848
 
      am__obj=conftest.${OBJEXT-o}
3849
 
      am__minus_obj=
3850
 
      ;;
3851
 
    none) break ;;
3852
 
    esac
3853
 
    if depmode=$depmode \
3854
 
       source=sub/conftest.c object=$am__obj \
3855
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3856
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3857
 
         >/dev/null 2>conftest.err &&
3858
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3859
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3860
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3861
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3862
 
      # icc doesn't choke on unknown options, it will just issue warnings
3863
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3864
 
      # that says an option was ignored or not supported.
3865
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3866
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3867
 
      # The diagnosis changed in icc 8.0:
3868
 
      #   icc: Command line remark: option '-MP' not supported
3869
 
      if (grep 'ignoring option' conftest.err ||
3870
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3871
 
        am_cv_CC_dependencies_compiler_type=$depmode
3872
 
        break
3873
 
      fi
3874
 
    fi
3875
 
  done
3876
 
 
3877
 
  cd ..
3878
 
  rm -rf conftest.dir
3879
 
else
3880
 
  am_cv_CC_dependencies_compiler_type=none
3881
 
fi
3882
 
 
3883
 
fi
3884
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3885
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3886
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3887
 
 
3888
 
 if
3889
 
  test "x$enable_dependency_tracking" != xno \
3890
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3891
 
  am__fastdepCC_TRUE=
3892
 
  am__fastdepCC_FALSE='#'
3893
 
else
3894
 
  am__fastdepCC_TRUE='#'
3895
 
  am__fastdepCC_FALSE=
3896
 
fi
3897
 
 
3898
 
 
3899
 
 
3900
 
ac_ext=c
3901
 
ac_cpp='$CPP $CPPFLAGS'
3902
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3905
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3906
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3907
 
# On Suns, sometimes $CPP names a directory.
3908
 
if test -n "$CPP" && test -d "$CPP"; then
3909
 
  CPP=
3910
 
fi
3911
 
if test -z "$CPP"; then
3912
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
3913
 
  $as_echo_n "(cached) " >&6
3914
 
else
3915
 
      # Double quotes because CPP needs to be expanded
3916
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3917
 
    do
3918
 
      ac_preproc_ok=false
3919
 
for ac_c_preproc_warn_flag in '' yes
3920
 
do
3921
 
  # Use a header file that comes with gcc, so configuring glibc
3922
 
  # with a fresh cross-compiler works.
3923
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3924
 
  # <limits.h> exists even on freestanding compilers.
3925
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3926
 
  # not just through cpp. "Syntax error" is here to catch this case.
3927
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928
 
/* end confdefs.h.  */
3929
 
#ifdef __STDC__
3930
 
# include <limits.h>
3931
 
#else
3932
 
# include <assert.h>
3933
 
#endif
3934
 
                     Syntax error
3935
 
_ACEOF
3936
 
if ac_fn_c_try_cpp "$LINENO"; then :
3937
 
 
3938
 
else
3939
 
  # Broken: fails on valid input.
3940
 
continue
3941
 
fi
3942
 
rm -f conftest.err conftest.i conftest.$ac_ext
3943
 
 
3944
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3945
 
  # can be detected and how.
3946
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3947
 
/* end confdefs.h.  */
3948
 
#include <ac_nonexistent.h>
3949
 
_ACEOF
3950
 
if ac_fn_c_try_cpp "$LINENO"; then :
3951
 
  # Broken: success on invalid input.
3952
 
continue
3953
 
else
3954
 
  # Passes both tests.
3955
 
ac_preproc_ok=:
3956
 
break
3957
 
fi
3958
 
rm -f conftest.err conftest.i conftest.$ac_ext
3959
 
 
3960
 
done
3961
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3962
 
rm -f conftest.i conftest.err conftest.$ac_ext
3963
 
if $ac_preproc_ok; then :
3964
 
  break
3965
 
fi
3966
 
 
3967
 
    done
3968
 
    ac_cv_prog_CPP=$CPP
3969
 
 
3970
 
fi
3971
 
  CPP=$ac_cv_prog_CPP
3972
 
else
3973
 
  ac_cv_prog_CPP=$CPP
3974
 
fi
3975
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3976
 
$as_echo "$CPP" >&6; }
3977
 
ac_preproc_ok=false
3978
 
for ac_c_preproc_warn_flag in '' yes
3979
 
do
3980
 
  # Use a header file that comes with gcc, so configuring glibc
3981
 
  # with a fresh cross-compiler works.
3982
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3983
 
  # <limits.h> exists even on freestanding compilers.
3984
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3985
 
  # not just through cpp. "Syntax error" is here to catch this case.
3986
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987
 
/* end confdefs.h.  */
3988
 
#ifdef __STDC__
3989
 
# include <limits.h>
3990
 
#else
3991
 
# include <assert.h>
3992
 
#endif
3993
 
                     Syntax error
3994
 
_ACEOF
3995
 
if ac_fn_c_try_cpp "$LINENO"; then :
3996
 
 
3997
 
else
3998
 
  # Broken: fails on valid input.
3999
 
continue
4000
 
fi
4001
 
rm -f conftest.err conftest.i conftest.$ac_ext
4002
 
 
4003
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4004
 
  # can be detected and how.
4005
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006
 
/* end confdefs.h.  */
4007
 
#include <ac_nonexistent.h>
4008
 
_ACEOF
4009
 
if ac_fn_c_try_cpp "$LINENO"; then :
4010
 
  # Broken: success on invalid input.
4011
 
continue
4012
 
else
4013
 
  # Passes both tests.
4014
 
ac_preproc_ok=:
4015
 
break
4016
 
fi
4017
 
rm -f conftest.err conftest.i conftest.$ac_ext
4018
 
 
4019
 
done
4020
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4021
 
rm -f conftest.i conftest.err conftest.$ac_ext
4022
 
if $ac_preproc_ok; then :
4023
 
 
4024
 
else
4025
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4026
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4027
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4028
 
See \`config.log' for more details" "$LINENO" 5 ; }
4029
 
fi
4030
 
 
4031
 
ac_ext=c
4032
 
ac_cpp='$CPP $CPPFLAGS'
4033
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4034
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4035
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4036
 
 
4037
 
 
4038
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4039
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4040
 
if test "${ac_cv_path_GREP+set}" = set; then :
4041
 
  $as_echo_n "(cached) " >&6
4042
 
else
4043
 
  if test -z "$GREP"; then
4044
 
  ac_path_GREP_found=false
4045
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4046
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4048
 
do
4049
 
  IFS=$as_save_IFS
4050
 
  test -z "$as_dir" && as_dir=.
4051
 
    for ac_prog in grep ggrep; do
4052
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4053
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4054
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4055
 
# Check for GNU ac_path_GREP and select it if it is found.
4056
 
  # Check for GNU $ac_path_GREP
4057
 
case `"$ac_path_GREP" --version 2>&1` in
4058
 
*GNU*)
4059
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4060
 
*)
4061
 
  ac_count=0
4062
 
  $as_echo_n 0123456789 >"conftest.in"
4063
 
  while :
4064
 
  do
4065
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4066
 
    mv "conftest.tmp" "conftest.in"
4067
 
    cp "conftest.in" "conftest.nl"
4068
 
    $as_echo 'GREP' >> "conftest.nl"
4069
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4070
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4071
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4072
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4073
 
      # Best one so far, save it but keep looking for a better one
4074
 
      ac_cv_path_GREP="$ac_path_GREP"
4075
 
      ac_path_GREP_max=$ac_count
4076
 
    fi
4077
 
    # 10*(2^10) chars as input seems more than enough
4078
 
    test $ac_count -gt 10 && break
4079
 
  done
4080
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4081
 
esac
4082
 
 
4083
 
      $ac_path_GREP_found && break 3
4084
 
    done
4085
 
  done
4086
 
  done
4087
 
IFS=$as_save_IFS
4088
 
  if test -z "$ac_cv_path_GREP"; then
4089
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4090
 
  fi
4091
 
else
4092
 
  ac_cv_path_GREP=$GREP
4093
 
fi
4094
 
 
4095
 
fi
4096
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4097
 
$as_echo "$ac_cv_path_GREP" >&6; }
4098
 
 GREP="$ac_cv_path_GREP"
4099
 
 
4100
 
 
4101
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4102
 
$as_echo_n "checking for egrep... " >&6; }
4103
 
if test "${ac_cv_path_EGREP+set}" = set; then :
4104
 
  $as_echo_n "(cached) " >&6
4105
 
else
4106
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4107
 
   then ac_cv_path_EGREP="$GREP -E"
4108
 
   else
4109
 
     if test -z "$EGREP"; then
4110
 
  ac_path_EGREP_found=false
4111
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4112
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4114
 
do
4115
 
  IFS=$as_save_IFS
4116
 
  test -z "$as_dir" && as_dir=.
4117
 
    for ac_prog in egrep; do
4118
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4119
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4120
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4121
 
# Check for GNU ac_path_EGREP and select it if it is found.
4122
 
  # Check for GNU $ac_path_EGREP
4123
 
case `"$ac_path_EGREP" --version 2>&1` in
4124
 
*GNU*)
4125
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4126
 
*)
4127
 
  ac_count=0
4128
 
  $as_echo_n 0123456789 >"conftest.in"
4129
 
  while :
4130
 
  do
4131
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4132
 
    mv "conftest.tmp" "conftest.in"
4133
 
    cp "conftest.in" "conftest.nl"
4134
 
    $as_echo 'EGREP' >> "conftest.nl"
4135
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4136
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4137
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4138
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4139
 
      # Best one so far, save it but keep looking for a better one
4140
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4141
 
      ac_path_EGREP_max=$ac_count
4142
 
    fi
4143
 
    # 10*(2^10) chars as input seems more than enough
4144
 
    test $ac_count -gt 10 && break
4145
 
  done
4146
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4147
 
esac
4148
 
 
4149
 
      $ac_path_EGREP_found && break 3
4150
 
    done
4151
 
  done
4152
 
  done
4153
 
IFS=$as_save_IFS
4154
 
  if test -z "$ac_cv_path_EGREP"; then
4155
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4156
 
  fi
4157
 
else
4158
 
  ac_cv_path_EGREP=$EGREP
4159
 
fi
4160
 
 
4161
 
   fi
4162
 
fi
4163
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4164
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4165
 
 EGREP="$ac_cv_path_EGREP"
4166
 
 
4167
 
 
4168
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4169
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4170
 
if test "${ac_cv_header_stdc+set}" = set; then :
4171
 
  $as_echo_n "(cached) " >&6
4172
 
else
4173
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174
 
/* end confdefs.h.  */
4175
 
#include <stdlib.h>
4176
 
#include <stdarg.h>
4177
 
#include <string.h>
4178
 
#include <float.h>
4179
 
 
4180
 
int
4181
 
main ()
4182
 
{
4183
 
 
4184
 
  ;
4185
 
  return 0;
4186
 
}
4187
 
_ACEOF
4188
 
if ac_fn_c_try_compile "$LINENO"; then :
4189
 
  ac_cv_header_stdc=yes
4190
 
else
4191
 
  ac_cv_header_stdc=no
4192
 
fi
4193
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4194
 
 
4195
 
if test $ac_cv_header_stdc = yes; then
4196
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4197
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198
 
/* end confdefs.h.  */
4199
 
#include <string.h>
4200
 
 
4201
 
_ACEOF
4202
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4203
 
  $EGREP "memchr" >/dev/null 2>&1; then :
4204
 
 
4205
 
else
4206
 
  ac_cv_header_stdc=no
4207
 
fi
4208
 
rm -f conftest*
4209
 
 
4210
 
fi
4211
 
 
4212
 
if test $ac_cv_header_stdc = yes; then
4213
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4214
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215
 
/* end confdefs.h.  */
4216
 
#include <stdlib.h>
4217
 
 
4218
 
_ACEOF
4219
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4220
 
  $EGREP "free" >/dev/null 2>&1; then :
4221
 
 
4222
 
else
4223
 
  ac_cv_header_stdc=no
4224
 
fi
4225
 
rm -f conftest*
4226
 
 
4227
 
fi
4228
 
 
4229
 
if test $ac_cv_header_stdc = yes; then
4230
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4231
 
  if test "$cross_compiling" = yes; then :
4232
 
  :
4233
 
else
4234
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235
 
/* end confdefs.h.  */
4236
 
#include <ctype.h>
4237
 
#include <stdlib.h>
4238
 
#if ((' ' & 0x0FF) == 0x020)
4239
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4240
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4241
 
#else
4242
 
# define ISLOWER(c) \
4243
 
                   (('a' <= (c) && (c) <= 'i') \
4244
 
                     || ('j' <= (c) && (c) <= 'r') \
4245
 
                     || ('s' <= (c) && (c) <= 'z'))
4246
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4247
 
#endif
4248
 
 
4249
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4250
 
int
4251
 
main ()
4252
 
{
4253
 
  int i;
4254
 
  for (i = 0; i < 256; i++)
4255
 
    if (XOR (islower (i), ISLOWER (i))
4256
 
        || toupper (i) != TOUPPER (i))
4257
 
      return 2;
4258
 
  return 0;
4259
 
}
4260
 
_ACEOF
4261
 
if ac_fn_c_try_run "$LINENO"; then :
4262
 
 
4263
 
else
4264
 
  ac_cv_header_stdc=no
4265
 
fi
4266
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4267
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4268
 
fi
4269
 
 
4270
 
fi
4271
 
fi
4272
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4273
 
$as_echo "$ac_cv_header_stdc" >&6; }
4274
 
if test $ac_cv_header_stdc = yes; then
4275
 
 
4276
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4277
 
 
4278
 
fi
4279
 
 
4280
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4281
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4282
 
                  inttypes.h stdint.h unistd.h
4283
 
do :
4284
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4285
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4286
 
"
4287
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4288
 
  cat >>confdefs.h <<_ACEOF
4289
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4290
 
_ACEOF
4291
 
 
4292
 
fi
4293
 
 
4294
 
done
4295
 
 
4296
 
 
4297
 
 
4298
 
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4299
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4300
 
  MINIX=yes
4301
 
else
4302
 
  MINIX=
4303
 
fi
4304
 
 
4305
 
 
4306
 
  if test "$MINIX" = yes; then
4307
 
 
4308
 
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4309
 
 
4310
 
 
4311
 
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4312
 
 
4313
 
 
4314
 
$as_echo "#define _MINIX 1" >>confdefs.h
4315
 
 
4316
 
  fi
4317
 
 
4318
 
 
4319
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4320
 
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4321
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4322
 
  $as_echo_n "(cached) " >&6
4323
 
else
4324
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325
 
/* end confdefs.h.  */
4326
 
 
4327
 
#         define __EXTENSIONS__ 1
4328
 
          $ac_includes_default
4329
 
int
4330
 
main ()
4331
 
{
4332
 
 
4333
 
  ;
4334
 
  return 0;
4335
 
}
4336
 
_ACEOF
4337
 
if ac_fn_c_try_compile "$LINENO"; then :
4338
 
  ac_cv_safe_to_define___extensions__=yes
4339
 
else
4340
 
  ac_cv_safe_to_define___extensions__=no
4341
 
fi
4342
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4343
 
fi
4344
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4345
 
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4346
 
  test $ac_cv_safe_to_define___extensions__ = yes &&
4347
 
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4348
 
 
4349
 
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4350
 
 
4351
 
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4352
 
 
4353
 
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4354
 
 
4355
 
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4356
 
 
4357
 
 
4358
 
 
4359
 
 
4360
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4361
 
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4362
 
    # Check whether --enable-maintainer-mode was given.
4363
 
if test "${enable_maintainer_mode+set}" = set; then :
4364
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4365
 
else
4366
 
  USE_MAINTAINER_MODE=no
4367
 
fi
4368
 
 
4369
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4370
 
$as_echo "$USE_MAINTAINER_MODE" >&6; }
4371
 
   if test $USE_MAINTAINER_MODE = yes; then
4372
 
  MAINTAINER_MODE_TRUE=
4373
 
  MAINTAINER_MODE_FALSE='#'
4374
 
else
4375
 
  MAINTAINER_MODE_TRUE='#'
4376
 
  MAINTAINER_MODE_FALSE=
4377
 
fi
4378
 
 
4379
 
  MAINT=$MAINTAINER_MODE_TRUE
4380
 
 
4381
 
 
4382
 
 
4383
 
# Checks for programs.
4384
 
ac_ext=cpp
4385
 
ac_cpp='$CXXCPP $CPPFLAGS'
4386
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4389
 
if test -z "$CXX"; then
4390
 
  if test -n "$CCC"; then
4391
 
    CXX=$CCC
4392
 
  else
4393
 
    if test -n "$ac_tool_prefix"; then
4394
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4395
 
  do
4396
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4397
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4398
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399
 
$as_echo_n "checking for $ac_word... " >&6; }
4400
 
if test "${ac_cv_prog_CXX+set}" = set; then :
4401
 
  $as_echo_n "(cached) " >&6
4402
 
else
4403
 
  if test -n "$CXX"; then
4404
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4405
 
else
4406
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407
 
for as_dir in $PATH
4408
 
do
4409
 
  IFS=$as_save_IFS
4410
 
  test -z "$as_dir" && as_dir=.
4411
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4412
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4414
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415
 
    break 2
4416
 
  fi
4417
 
done
4418
 
  done
4419
 
IFS=$as_save_IFS
4420
 
 
4421
 
fi
4422
 
fi
4423
 
CXX=$ac_cv_prog_CXX
4424
 
if test -n "$CXX"; then
4425
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4426
 
$as_echo "$CXX" >&6; }
4427
 
else
4428
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429
 
$as_echo "no" >&6; }
4430
 
fi
4431
 
 
4432
 
 
4433
 
    test -n "$CXX" && break
4434
 
  done
4435
 
fi
4436
 
if test -z "$CXX"; then
4437
 
  ac_ct_CXX=$CXX
4438
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4439
 
do
4440
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4441
 
set dummy $ac_prog; ac_word=$2
4442
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4443
 
$as_echo_n "checking for $ac_word... " >&6; }
4444
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4445
 
  $as_echo_n "(cached) " >&6
4446
 
else
4447
 
  if test -n "$ac_ct_CXX"; then
4448
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4449
 
else
4450
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451
 
for as_dir in $PATH
4452
 
do
4453
 
  IFS=$as_save_IFS
4454
 
  test -z "$as_dir" && as_dir=.
4455
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4456
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4457
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4458
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4459
 
    break 2
4460
 
  fi
4461
 
done
4462
 
  done
4463
 
IFS=$as_save_IFS
4464
 
 
4465
 
fi
4466
 
fi
4467
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4468
 
if test -n "$ac_ct_CXX"; then
4469
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4470
 
$as_echo "$ac_ct_CXX" >&6; }
4471
 
else
4472
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473
 
$as_echo "no" >&6; }
4474
 
fi
4475
 
 
4476
 
 
4477
 
  test -n "$ac_ct_CXX" && break
4478
 
done
4479
 
 
4480
 
  if test "x$ac_ct_CXX" = x; then
4481
 
    CXX="g++"
4482
 
  else
4483
 
    case $cross_compiling:$ac_tool_warned in
4484
 
yes:)
4485
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4486
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4487
 
ac_tool_warned=yes ;;
4488
 
esac
4489
 
    CXX=$ac_ct_CXX
4490
 
  fi
4491
 
fi
4492
 
 
4493
 
  fi
4494
 
fi
4495
 
# Provide some information about the compiler.
4496
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4497
 
set X $ac_compile
4498
 
ac_compiler=$2
4499
 
for ac_option in --version -v -V -qversion; do
4500
 
  { { ac_try="$ac_compiler $ac_option >&5"
4501
 
case "(($ac_try" in
4502
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4503
 
  *) ac_try_echo=$ac_try;;
4504
 
esac
4505
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4506
 
$as_echo "$ac_try_echo"; } >&5
4507
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4508
 
  ac_status=$?
4509
 
  if test -s conftest.err; then
4510
 
    sed '10a\
4511
 
... rest of stderr output deleted ...
4512
 
         10q' conftest.err >conftest.er1
4513
 
    cat conftest.er1 >&5
4514
 
  fi
4515
 
  rm -f conftest.er1 conftest.err
4516
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4517
 
  test $ac_status = 0; }
4518
 
done
4519
 
 
4520
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4521
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4522
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4523
 
  $as_echo_n "(cached) " >&6
4524
 
else
4525
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526
 
/* end confdefs.h.  */
4527
 
 
4528
 
int
4529
 
main ()
4530
 
{
4531
 
#ifndef __GNUC__
4532
 
       choke me
4533
 
#endif
4534
 
 
4535
 
  ;
4536
 
  return 0;
4537
 
}
4538
 
_ACEOF
4539
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4540
 
  ac_compiler_gnu=yes
4541
 
else
4542
 
  ac_compiler_gnu=no
4543
 
fi
4544
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4546
 
 
4547
 
fi
4548
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4549
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4550
 
if test $ac_compiler_gnu = yes; then
4551
 
  GXX=yes
4552
 
else
4553
 
  GXX=
4554
 
fi
4555
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
4556
 
ac_save_CXXFLAGS=$CXXFLAGS
4557
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4558
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4559
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
4560
 
  $as_echo_n "(cached) " >&6
4561
 
else
4562
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4563
 
   ac_cxx_werror_flag=yes
4564
 
   ac_cv_prog_cxx_g=no
4565
 
   CXXFLAGS="-g"
4566
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567
 
/* end confdefs.h.  */
4568
 
 
4569
 
int
4570
 
main ()
4571
 
{
4572
 
 
4573
 
  ;
4574
 
  return 0;
4575
 
}
4576
 
_ACEOF
4577
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4578
 
  ac_cv_prog_cxx_g=yes
4579
 
else
4580
 
  CXXFLAGS=""
4581
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582
 
/* end confdefs.h.  */
4583
 
 
4584
 
int
4585
 
main ()
4586
 
{
4587
 
 
4588
 
  ;
4589
 
  return 0;
4590
 
}
4591
 
_ACEOF
4592
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4593
 
 
4594
 
else
4595
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4596
 
         CXXFLAGS="-g"
4597
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598
 
/* end confdefs.h.  */
4599
 
 
4600
 
int
4601
 
main ()
4602
 
{
4603
 
 
4604
 
  ;
4605
 
  return 0;
4606
 
}
4607
 
_ACEOF
4608
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4609
 
  ac_cv_prog_cxx_g=yes
4610
 
fi
4611
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4612
 
fi
4613
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4614
 
fi
4615
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4617
 
fi
4618
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4619
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4620
 
if test "$ac_test_CXXFLAGS" = set; then
4621
 
  CXXFLAGS=$ac_save_CXXFLAGS
4622
 
elif test $ac_cv_prog_cxx_g = yes; then
4623
 
  if test "$GXX" = yes; then
4624
 
    CXXFLAGS="-g -O2"
4625
 
  else
4626
 
    CXXFLAGS="-g"
4627
 
  fi
4628
 
else
4629
 
  if test "$GXX" = yes; then
4630
 
    CXXFLAGS="-O2"
4631
 
  else
4632
 
    CXXFLAGS=
4633
 
  fi
4634
 
fi
4635
 
ac_ext=c
4636
 
ac_cpp='$CPP $CPPFLAGS'
4637
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4638
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4639
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4640
 
 
4641
 
depcc="$CXX"  am_compiler_list=
4642
 
 
4643
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4644
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4645
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4646
 
  $as_echo_n "(cached) " >&6
4647
 
else
4648
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4649
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4650
 
  # making bogus files that we don't know about and never remove.  For
4651
 
  # instance it was reported that on HP-UX the gcc test will end up
4652
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4653
 
  # in D'.
4654
 
  mkdir conftest.dir
4655
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4656
 
  # using a relative directory.
4657
 
  cp "$am_depcomp" conftest.dir
4658
 
  cd conftest.dir
4659
 
  # We will build objects and dependencies in a subdirectory because
4660
 
  # it helps to detect inapplicable dependency modes.  For instance
4661
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4662
 
  # side effect of compilation, but ICC will put the dependencies in
4663
 
  # the current directory while Tru64 will put them in the object
4664
 
  # directory.
4665
 
  mkdir sub
4666
 
 
4667
 
  am_cv_CXX_dependencies_compiler_type=none
4668
 
  if test "$am_compiler_list" = ""; then
4669
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4670
 
  fi
4671
 
  am__universal=false
4672
 
  case " $depcc " in #(
4673
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4674
 
     esac
4675
 
 
4676
 
  for depmode in $am_compiler_list; do
4677
 
    # Setup a source with many dependencies, because some compilers
4678
 
    # like to wrap large dependency lists on column 80 (with \), and
4679
 
    # we should not choose a depcomp mode which is confused by this.
4680
 
    #
4681
 
    # We need to recreate these files for each test, as the compiler may
4682
 
    # overwrite some of them when testing with obscure command lines.
4683
 
    # This happens at least with the AIX C compiler.
4684
 
    : > sub/conftest.c
4685
 
    for i in 1 2 3 4 5 6; do
4686
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4687
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4688
 
      # Solaris 8's {/usr,}/bin/sh.
4689
 
      touch sub/conftst$i.h
4690
 
    done
4691
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4692
 
 
4693
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4694
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4695
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4696
 
    # versions had trouble with output in subdirs
4697
 
    am__obj=sub/conftest.${OBJEXT-o}
4698
 
    am__minus_obj="-o $am__obj"
4699
 
    case $depmode in
4700
 
    gcc)
4701
 
      # This depmode causes a compiler race in universal mode.
4702
 
      test "$am__universal" = false || continue
4703
 
      ;;
4704
 
    nosideeffect)
4705
 
      # after this tag, mechanisms are not by side-effect, so they'll
4706
 
      # only be used when explicitly requested
4707
 
      if test "x$enable_dependency_tracking" = xyes; then
4708
 
        continue
4709
 
      else
4710
 
        break
4711
 
      fi
4712
 
      ;;
4713
 
    msvisualcpp | msvcmsys)
4714
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4715
 
      # not run yet.  These depmodes are late enough in the game, and
4716
 
      # so weak that their functioning should not be impacted.
4717
 
      am__obj=conftest.${OBJEXT-o}
4718
 
      am__minus_obj=
4719
 
      ;;
4720
 
    none) break ;;
4721
 
    esac
4722
 
    if depmode=$depmode \
4723
 
       source=sub/conftest.c object=$am__obj \
4724
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4725
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4726
 
         >/dev/null 2>conftest.err &&
4727
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4728
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4729
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4730
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4731
 
      # icc doesn't choke on unknown options, it will just issue warnings
4732
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4733
 
      # that says an option was ignored or not supported.
4734
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4735
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4736
 
      # The diagnosis changed in icc 8.0:
4737
 
      #   icc: Command line remark: option '-MP' not supported
4738
 
      if (grep 'ignoring option' conftest.err ||
4739
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4740
 
        am_cv_CXX_dependencies_compiler_type=$depmode
4741
 
        break
4742
 
      fi
4743
 
    fi
4744
 
  done
4745
 
 
4746
 
  cd ..
4747
 
  rm -rf conftest.dir
4748
 
else
4749
 
  am_cv_CXX_dependencies_compiler_type=none
4750
 
fi
4751
 
 
4752
 
fi
4753
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4754
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4755
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4756
 
 
4757
 
 if
4758
 
  test "x$enable_dependency_tracking" != xno \
4759
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4760
 
  am__fastdepCXX_TRUE=
4761
 
  am__fastdepCXX_FALSE='#'
4762
 
else
4763
 
  am__fastdepCXX_TRUE='#'
4764
 
  am__fastdepCXX_FALSE=
4765
 
fi
4766
 
 
4767
 
 
4768
 
ac_ext=c
4769
 
ac_cpp='$CPP $CPPFLAGS'
4770
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4771
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4772
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4773
 
if test -n "$ac_tool_prefix"; then
4774
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4775
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4776
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4777
 
$as_echo_n "checking for $ac_word... " >&6; }
4778
 
if test "${ac_cv_prog_CC+set}" = set; then :
4779
 
  $as_echo_n "(cached) " >&6
4780
 
else
4781
 
  if test -n "$CC"; then
4782
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4783
 
else
4784
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4785
 
for as_dir in $PATH
4786
 
do
4787
 
  IFS=$as_save_IFS
4788
 
  test -z "$as_dir" && as_dir=.
4789
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4790
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4791
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4792
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4793
 
    break 2
4794
 
  fi
4795
 
done
4796
 
  done
4797
 
IFS=$as_save_IFS
4798
 
 
4799
 
fi
4800
 
fi
4801
 
CC=$ac_cv_prog_CC
4802
 
if test -n "$CC"; then
4803
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4804
 
$as_echo "$CC" >&6; }
4805
 
else
4806
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807
 
$as_echo "no" >&6; }
4808
 
fi
4809
 
 
4810
 
 
4811
 
fi
4812
 
if test -z "$ac_cv_prog_CC"; then
4813
 
  ac_ct_CC=$CC
4814
 
  # Extract the first word of "gcc", so it can be a program name with args.
4815
 
set dummy gcc; ac_word=$2
4816
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4817
 
$as_echo_n "checking for $ac_word... " >&6; }
4818
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4819
 
  $as_echo_n "(cached) " >&6
4820
 
else
4821
 
  if test -n "$ac_ct_CC"; then
4822
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4823
 
else
4824
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825
 
for as_dir in $PATH
4826
 
do
4827
 
  IFS=$as_save_IFS
4828
 
  test -z "$as_dir" && as_dir=.
4829
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4830
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4831
 
    ac_cv_prog_ac_ct_CC="gcc"
4832
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4833
 
    break 2
4834
 
  fi
4835
 
done
4836
 
  done
4837
 
IFS=$as_save_IFS
4838
 
 
4839
 
fi
4840
 
fi
4841
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4842
 
if test -n "$ac_ct_CC"; then
4843
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4844
 
$as_echo "$ac_ct_CC" >&6; }
4845
 
else
4846
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847
 
$as_echo "no" >&6; }
4848
 
fi
4849
 
 
4850
 
  if test "x$ac_ct_CC" = x; then
4851
 
    CC=""
4852
 
  else
4853
 
    case $cross_compiling:$ac_tool_warned in
4854
 
yes:)
4855
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4856
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4857
 
ac_tool_warned=yes ;;
4858
 
esac
4859
 
    CC=$ac_ct_CC
4860
 
  fi
4861
 
else
4862
 
  CC="$ac_cv_prog_CC"
4863
 
fi
4864
 
 
4865
 
if test -z "$CC"; then
4866
 
          if test -n "$ac_tool_prefix"; then
4867
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4868
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4869
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870
 
$as_echo_n "checking for $ac_word... " >&6; }
4871
 
if test "${ac_cv_prog_CC+set}" = set; then :
4872
 
  $as_echo_n "(cached) " >&6
4873
 
else
4874
 
  if test -n "$CC"; then
4875
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4876
 
else
4877
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878
 
for as_dir in $PATH
4879
 
do
4880
 
  IFS=$as_save_IFS
4881
 
  test -z "$as_dir" && as_dir=.
4882
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4883
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4884
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4885
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4886
 
    break 2
4887
 
  fi
4888
 
done
4889
 
  done
4890
 
IFS=$as_save_IFS
4891
 
 
4892
 
fi
4893
 
fi
4894
 
CC=$ac_cv_prog_CC
4895
 
if test -n "$CC"; then
4896
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4897
 
$as_echo "$CC" >&6; }
4898
 
else
4899
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4900
 
$as_echo "no" >&6; }
4901
 
fi
4902
 
 
4903
 
 
4904
 
  fi
4905
 
fi
4906
 
if test -z "$CC"; then
4907
 
  # Extract the first word of "cc", so it can be a program name with args.
4908
 
set dummy cc; ac_word=$2
4909
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4910
 
$as_echo_n "checking for $ac_word... " >&6; }
4911
 
if test "${ac_cv_prog_CC+set}" = set; then :
4912
 
  $as_echo_n "(cached) " >&6
4913
 
else
4914
 
  if test -n "$CC"; then
4915
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4916
 
else
4917
 
  ac_prog_rejected=no
4918
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4919
 
for as_dir in $PATH
4920
 
do
4921
 
  IFS=$as_save_IFS
4922
 
  test -z "$as_dir" && as_dir=.
4923
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4924
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4925
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4926
 
       ac_prog_rejected=yes
4927
 
       continue
4928
 
     fi
4929
 
    ac_cv_prog_CC="cc"
4930
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4931
 
    break 2
4932
 
  fi
4933
 
done
4934
 
  done
4935
 
IFS=$as_save_IFS
4936
 
 
4937
 
if test $ac_prog_rejected = yes; then
4938
 
  # We found a bogon in the path, so make sure we never use it.
4939
 
  set dummy $ac_cv_prog_CC
4940
 
  shift
4941
 
  if test $# != 0; then
4942
 
    # We chose a different compiler from the bogus one.
4943
 
    # However, it has the same basename, so the bogon will be chosen
4944
 
    # first if we set CC to just the basename; use the full file name.
4945
 
    shift
4946
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4947
 
  fi
4948
 
fi
4949
 
fi
4950
 
fi
4951
 
CC=$ac_cv_prog_CC
4952
 
if test -n "$CC"; then
4953
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4954
 
$as_echo "$CC" >&6; }
4955
 
else
4956
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957
 
$as_echo "no" >&6; }
4958
 
fi
4959
 
 
4960
 
 
4961
 
fi
4962
 
if test -z "$CC"; then
4963
 
  if test -n "$ac_tool_prefix"; then
4964
 
  for ac_prog in cl.exe
4965
 
  do
4966
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4967
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4968
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969
 
$as_echo_n "checking for $ac_word... " >&6; }
4970
 
if test "${ac_cv_prog_CC+set}" = set; then :
4971
 
  $as_echo_n "(cached) " >&6
4972
 
else
4973
 
  if test -n "$CC"; then
4974
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4975
 
else
4976
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977
 
for as_dir in $PATH
4978
 
do
4979
 
  IFS=$as_save_IFS
4980
 
  test -z "$as_dir" && as_dir=.
4981
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4982
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4983
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4984
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985
 
    break 2
4986
 
  fi
4987
 
done
4988
 
  done
4989
 
IFS=$as_save_IFS
4990
 
 
4991
 
fi
4992
 
fi
4993
 
CC=$ac_cv_prog_CC
4994
 
if test -n "$CC"; then
4995
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4996
 
$as_echo "$CC" >&6; }
4997
 
else
4998
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999
 
$as_echo "no" >&6; }
5000
 
fi
5001
 
 
5002
 
 
5003
 
    test -n "$CC" && break
5004
 
  done
5005
 
fi
5006
 
if test -z "$CC"; then
5007
 
  ac_ct_CC=$CC
5008
 
  for ac_prog in cl.exe
5009
 
do
5010
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5011
 
set dummy $ac_prog; ac_word=$2
5012
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013
 
$as_echo_n "checking for $ac_word... " >&6; }
5014
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5015
 
  $as_echo_n "(cached) " >&6
5016
 
else
5017
 
  if test -n "$ac_ct_CC"; then
5018
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5019
 
else
5020
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021
 
for as_dir in $PATH
5022
 
do
5023
 
  IFS=$as_save_IFS
5024
 
  test -z "$as_dir" && as_dir=.
5025
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5026
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5027
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
5028
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029
 
    break 2
5030
 
  fi
5031
 
done
5032
 
  done
5033
 
IFS=$as_save_IFS
5034
 
 
5035
 
fi
5036
 
fi
5037
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5038
 
if test -n "$ac_ct_CC"; then
5039
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5040
 
$as_echo "$ac_ct_CC" >&6; }
5041
 
else
5042
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043
 
$as_echo "no" >&6; }
5044
 
fi
5045
 
 
5046
 
 
5047
 
  test -n "$ac_ct_CC" && break
5048
 
done
5049
 
 
5050
 
  if test "x$ac_ct_CC" = x; then
5051
 
    CC=""
5052
 
  else
5053
 
    case $cross_compiling:$ac_tool_warned in
5054
 
yes:)
5055
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5056
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5057
 
ac_tool_warned=yes ;;
5058
 
esac
5059
 
    CC=$ac_ct_CC
5060
 
  fi
5061
 
fi
5062
 
 
5063
 
fi
5064
 
 
5065
 
 
5066
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5067
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5068
 
as_fn_error $? "no acceptable C compiler found in \$PATH
5069
 
See \`config.log' for more details" "$LINENO" 5 ; }
5070
 
 
5071
 
# Provide some information about the compiler.
5072
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5073
 
set X $ac_compile
5074
 
ac_compiler=$2
5075
 
for ac_option in --version -v -V -qversion; do
5076
 
  { { ac_try="$ac_compiler $ac_option >&5"
5077
 
case "(($ac_try" in
5078
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5079
 
  *) ac_try_echo=$ac_try;;
5080
 
esac
5081
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5082
 
$as_echo "$ac_try_echo"; } >&5
5083
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5084
 
  ac_status=$?
5085
 
  if test -s conftest.err; then
5086
 
    sed '10a\
5087
 
... rest of stderr output deleted ...
5088
 
         10q' conftest.err >conftest.er1
5089
 
    cat conftest.er1 >&5
5090
 
  fi
5091
 
  rm -f conftest.er1 conftest.err
5092
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5093
 
  test $ac_status = 0; }
5094
 
done
5095
 
 
5096
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5097
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5098
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5099
 
  $as_echo_n "(cached) " >&6
5100
 
else
5101
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5102
 
/* end confdefs.h.  */
5103
 
 
5104
 
int
5105
 
main ()
5106
 
{
5107
 
#ifndef __GNUC__
5108
 
       choke me
5109
 
#endif
5110
 
 
5111
 
  ;
5112
 
  return 0;
5113
 
}
5114
 
_ACEOF
5115
 
if ac_fn_c_try_compile "$LINENO"; then :
5116
 
  ac_compiler_gnu=yes
5117
 
else
5118
 
  ac_compiler_gnu=no
5119
 
fi
5120
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5121
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5122
 
 
5123
 
fi
5124
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5125
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5126
 
if test $ac_compiler_gnu = yes; then
5127
 
  GCC=yes
5128
 
else
5129
 
  GCC=
5130
 
fi
5131
 
ac_test_CFLAGS=${CFLAGS+set}
5132
 
ac_save_CFLAGS=$CFLAGS
5133
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5134
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5135
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
5136
 
  $as_echo_n "(cached) " >&6
5137
 
else
5138
 
  ac_save_c_werror_flag=$ac_c_werror_flag
5139
 
   ac_c_werror_flag=yes
5140
 
   ac_cv_prog_cc_g=no
5141
 
   CFLAGS="-g"
5142
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5143
 
/* end confdefs.h.  */
5144
 
 
5145
 
int
5146
 
main ()
5147
 
{
5148
 
 
5149
 
  ;
5150
 
  return 0;
5151
 
}
5152
 
_ACEOF
5153
 
if ac_fn_c_try_compile "$LINENO"; then :
5154
 
  ac_cv_prog_cc_g=yes
5155
 
else
5156
 
  CFLAGS=""
5157
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158
 
/* end confdefs.h.  */
5159
 
 
5160
 
int
5161
 
main ()
5162
 
{
5163
 
 
5164
 
  ;
5165
 
  return 0;
5166
 
}
5167
 
_ACEOF
5168
 
if ac_fn_c_try_compile "$LINENO"; then :
5169
 
 
5170
 
else
5171
 
  ac_c_werror_flag=$ac_save_c_werror_flag
5172
 
         CFLAGS="-g"
5173
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5174
 
/* end confdefs.h.  */
5175
 
 
5176
 
int
5177
 
main ()
5178
 
{
5179
 
 
5180
 
  ;
5181
 
  return 0;
5182
 
}
5183
 
_ACEOF
5184
 
if ac_fn_c_try_compile "$LINENO"; then :
5185
 
  ac_cv_prog_cc_g=yes
5186
 
fi
5187
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5188
 
fi
5189
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5190
 
fi
5191
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5192
 
   ac_c_werror_flag=$ac_save_c_werror_flag
5193
 
fi
5194
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5195
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
5196
 
if test "$ac_test_CFLAGS" = set; then
5197
 
  CFLAGS=$ac_save_CFLAGS
5198
 
elif test $ac_cv_prog_cc_g = yes; then
5199
 
  if test "$GCC" = yes; then
5200
 
    CFLAGS="-g -O2"
5201
 
  else
5202
 
    CFLAGS="-g"
5203
 
  fi
5204
 
else
5205
 
  if test "$GCC" = yes; then
5206
 
    CFLAGS="-O2"
5207
 
  else
5208
 
    CFLAGS=
5209
 
  fi
5210
 
fi
5211
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5212
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5213
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
5214
 
  $as_echo_n "(cached) " >&6
5215
 
else
5216
 
  ac_cv_prog_cc_c89=no
5217
 
ac_save_CC=$CC
5218
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219
 
/* end confdefs.h.  */
5220
 
#include <stdarg.h>
5221
 
#include <stdio.h>
5222
 
#include <sys/types.h>
5223
 
#include <sys/stat.h>
5224
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5225
 
struct buf { int x; };
5226
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5227
 
static char *e (p, i)
5228
 
     char **p;
5229
 
     int i;
5230
 
{
5231
 
  return p[i];
5232
 
}
5233
 
static char *f (char * (*g) (char **, int), char **p, ...)
5234
 
{
5235
 
  char *s;
5236
 
  va_list v;
5237
 
  va_start (v,p);
5238
 
  s = g (p, va_arg (v,int));
5239
 
  va_end (v);
5240
 
  return s;
5241
 
}
5242
 
 
5243
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5244
 
   function prototypes and stuff, but not '\xHH' hex character constants.
5245
 
   These don't provoke an error unfortunately, instead are silently treated
5246
 
   as 'x'.  The following induces an error, until -std is added to get
5247
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5248
 
   array size at least.  It's necessary to write '\x00'==0 to get something
5249
 
   that's true only with -std.  */
5250
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5251
 
 
5252
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5253
 
   inside strings and character constants.  */
5254
 
#define FOO(x) 'x'
5255
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5256
 
 
5257
 
int test (int i, double x);
5258
 
struct s1 {int (*f) (int a);};
5259
 
struct s2 {int (*f) (double a);};
5260
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5261
 
int argc;
5262
 
char **argv;
5263
 
int
5264
 
main ()
5265
 
{
5266
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5267
 
  ;
5268
 
  return 0;
5269
 
}
5270
 
_ACEOF
5271
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5272
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5273
 
do
5274
 
  CC="$ac_save_CC $ac_arg"
5275
 
  if ac_fn_c_try_compile "$LINENO"; then :
5276
 
  ac_cv_prog_cc_c89=$ac_arg
5277
 
fi
5278
 
rm -f core conftest.err conftest.$ac_objext
5279
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5280
 
done
5281
 
rm -f conftest.$ac_ext
5282
 
CC=$ac_save_CC
5283
 
 
5284
 
fi
5285
 
# AC_CACHE_VAL
5286
 
case "x$ac_cv_prog_cc_c89" in
5287
 
  x)
5288
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5289
 
$as_echo "none needed" >&6; } ;;
5290
 
  xno)
5291
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5292
 
$as_echo "unsupported" >&6; } ;;
5293
 
  *)
5294
 
    CC="$CC $ac_cv_prog_cc_c89"
5295
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5296
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5297
 
esac
5298
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
5299
 
 
5300
 
fi
5301
 
 
5302
 
ac_ext=c
5303
 
ac_cpp='$CPP $CPPFLAGS'
5304
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5305
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5306
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5307
 
 
5308
 
depcc="$CC"   am_compiler_list=
5309
 
 
5310
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5311
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
5312
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5313
 
  $as_echo_n "(cached) " >&6
5314
 
else
5315
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5316
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5317
 
  # making bogus files that we don't know about and never remove.  For
5318
 
  # instance it was reported that on HP-UX the gcc test will end up
5319
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5320
 
  # in D'.
5321
 
  mkdir conftest.dir
5322
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5323
 
  # using a relative directory.
5324
 
  cp "$am_depcomp" conftest.dir
5325
 
  cd conftest.dir
5326
 
  # We will build objects and dependencies in a subdirectory because
5327
 
  # it helps to detect inapplicable dependency modes.  For instance
5328
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5329
 
  # side effect of compilation, but ICC will put the dependencies in
5330
 
  # the current directory while Tru64 will put them in the object
5331
 
  # directory.
5332
 
  mkdir sub
5333
 
 
5334
 
  am_cv_CC_dependencies_compiler_type=none
5335
 
  if test "$am_compiler_list" = ""; then
5336
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5337
 
  fi
5338
 
  am__universal=false
5339
 
  case " $depcc " in #(
5340
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5341
 
     esac
5342
 
 
5343
 
  for depmode in $am_compiler_list; do
5344
 
    # Setup a source with many dependencies, because some compilers
5345
 
    # like to wrap large dependency lists on column 80 (with \), and
5346
 
    # we should not choose a depcomp mode which is confused by this.
5347
 
    #
5348
 
    # We need to recreate these files for each test, as the compiler may
5349
 
    # overwrite some of them when testing with obscure command lines.
5350
 
    # This happens at least with the AIX C compiler.
5351
 
    : > sub/conftest.c
5352
 
    for i in 1 2 3 4 5 6; do
5353
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5354
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5355
 
      # Solaris 8's {/usr,}/bin/sh.
5356
 
      touch sub/conftst$i.h
5357
 
    done
5358
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5359
 
 
5360
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5361
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5362
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5363
 
    # versions had trouble with output in subdirs
5364
 
    am__obj=sub/conftest.${OBJEXT-o}
5365
 
    am__minus_obj="-o $am__obj"
5366
 
    case $depmode in
5367
 
    gcc)
5368
 
      # This depmode causes a compiler race in universal mode.
5369
 
      test "$am__universal" = false || continue
5370
 
      ;;
5371
 
    nosideeffect)
5372
 
      # after this tag, mechanisms are not by side-effect, so they'll
5373
 
      # only be used when explicitly requested
5374
 
      if test "x$enable_dependency_tracking" = xyes; then
5375
 
        continue
5376
 
      else
5377
 
        break
5378
 
      fi
5379
 
      ;;
5380
 
    msvisualcpp | msvcmsys)
5381
 
      # This compiler won't grok `-c -o', but also, the minuso test has
5382
 
      # not run yet.  These depmodes are late enough in the game, and
5383
 
      # so weak that their functioning should not be impacted.
5384
 
      am__obj=conftest.${OBJEXT-o}
5385
 
      am__minus_obj=
5386
 
      ;;
5387
 
    none) break ;;
5388
 
    esac
5389
 
    if depmode=$depmode \
5390
 
       source=sub/conftest.c object=$am__obj \
5391
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5392
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5393
 
         >/dev/null 2>conftest.err &&
5394
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5395
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5396
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5397
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5398
 
      # icc doesn't choke on unknown options, it will just issue warnings
5399
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5400
 
      # that says an option was ignored or not supported.
5401
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5402
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5403
 
      # The diagnosis changed in icc 8.0:
5404
 
      #   icc: Command line remark: option '-MP' not supported
5405
 
      if (grep 'ignoring option' conftest.err ||
5406
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5407
 
        am_cv_CC_dependencies_compiler_type=$depmode
5408
 
        break
5409
 
      fi
5410
 
    fi
5411
 
  done
5412
 
 
5413
 
  cd ..
5414
 
  rm -rf conftest.dir
5415
 
else
5416
 
  am_cv_CC_dependencies_compiler_type=none
5417
 
fi
5418
 
 
5419
 
fi
5420
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5421
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5422
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5423
 
 
5424
 
 if
5425
 
  test "x$enable_dependency_tracking" != xno \
5426
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5427
 
  am__fastdepCC_TRUE=
5428
 
  am__fastdepCC_FALSE='#'
5429
 
else
5430
 
  am__fastdepCC_TRUE='#'
5431
 
  am__fastdepCC_FALSE=
5432
 
fi
5433
 
 
5434
 
 
5435
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5436
 
$as_echo_n "checking for library containing strerror... " >&6; }
5437
 
if test "${ac_cv_search_strerror+set}" = set; then :
5438
 
  $as_echo_n "(cached) " >&6
5439
 
else
5440
 
  ac_func_search_save_LIBS=$LIBS
5441
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5442
 
/* end confdefs.h.  */
5443
 
 
5444
 
/* Override any GCC internal prototype to avoid an error.
5445
 
   Use char because int might match the return type of a GCC
5446
 
   builtin and then its argument prototype would still apply.  */
5447
 
#ifdef __cplusplus
5448
 
extern "C"
5449
 
#endif
5450
 
char strerror ();
5451
 
int
5452
 
main ()
5453
 
{
5454
 
return strerror ();
5455
 
  ;
5456
 
  return 0;
5457
 
}
5458
 
_ACEOF
5459
 
for ac_lib in '' cposix; do
5460
 
  if test -z "$ac_lib"; then
5461
 
    ac_res="none required"
5462
 
  else
5463
 
    ac_res=-l$ac_lib
5464
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5465
 
  fi
5466
 
  if ac_fn_c_try_link "$LINENO"; then :
5467
 
  ac_cv_search_strerror=$ac_res
5468
 
fi
5469
 
rm -f core conftest.err conftest.$ac_objext \
5470
 
    conftest$ac_exeext
5471
 
  if test "${ac_cv_search_strerror+set}" = set; then :
5472
 
  break
5473
 
fi
5474
 
done
5475
 
if test "${ac_cv_search_strerror+set}" = set; then :
5476
 
 
5477
 
else
5478
 
  ac_cv_search_strerror=no
5479
 
fi
5480
 
rm conftest.$ac_ext
5481
 
LIBS=$ac_func_search_save_LIBS
5482
 
fi
5483
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5484
 
$as_echo "$ac_cv_search_strerror" >&6; }
5485
 
ac_res=$ac_cv_search_strerror
5486
 
if test "$ac_res" != no; then :
5487
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5488
 
 
5489
 
fi
5490
 
 
5491
 
ac_ext=c
5492
 
ac_cpp='$CPP $CPPFLAGS'
5493
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5494
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5495
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5496
 
if test -n "$ac_tool_prefix"; then
5497
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5498
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5499
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500
 
$as_echo_n "checking for $ac_word... " >&6; }
5501
 
if test "${ac_cv_prog_CC+set}" = set; then :
5502
 
  $as_echo_n "(cached) " >&6
5503
 
else
5504
 
  if test -n "$CC"; then
5505
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5506
 
else
5507
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508
 
for as_dir in $PATH
5509
 
do
5510
 
  IFS=$as_save_IFS
5511
 
  test -z "$as_dir" && as_dir=.
5512
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5513
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5514
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5515
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516
 
    break 2
5517
 
  fi
5518
 
done
5519
 
  done
5520
 
IFS=$as_save_IFS
5521
 
 
5522
 
fi
5523
 
fi
5524
 
CC=$ac_cv_prog_CC
5525
 
if test -n "$CC"; then
5526
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5527
 
$as_echo "$CC" >&6; }
5528
 
else
5529
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530
 
$as_echo "no" >&6; }
5531
 
fi
5532
 
 
5533
 
 
5534
 
fi
5535
 
if test -z "$ac_cv_prog_CC"; then
5536
 
  ac_ct_CC=$CC
5537
 
  # Extract the first word of "gcc", so it can be a program name with args.
5538
 
set dummy gcc; ac_word=$2
5539
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540
 
$as_echo_n "checking for $ac_word... " >&6; }
5541
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5542
 
  $as_echo_n "(cached) " >&6
5543
 
else
5544
 
  if test -n "$ac_ct_CC"; then
5545
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5546
 
else
5547
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548
 
for as_dir in $PATH
5549
 
do
5550
 
  IFS=$as_save_IFS
5551
 
  test -z "$as_dir" && as_dir=.
5552
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5553
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5554
 
    ac_cv_prog_ac_ct_CC="gcc"
5555
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556
 
    break 2
5557
 
  fi
5558
 
done
5559
 
  done
5560
 
IFS=$as_save_IFS
5561
 
 
5562
 
fi
5563
 
fi
5564
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5565
 
if test -n "$ac_ct_CC"; then
5566
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5567
 
$as_echo "$ac_ct_CC" >&6; }
5568
 
else
5569
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570
 
$as_echo "no" >&6; }
5571
 
fi
5572
 
 
5573
 
  if test "x$ac_ct_CC" = x; then
5574
 
    CC=""
5575
 
  else
5576
 
    case $cross_compiling:$ac_tool_warned in
5577
 
yes:)
5578
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5579
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5580
 
ac_tool_warned=yes ;;
5581
 
esac
5582
 
    CC=$ac_ct_CC
5583
 
  fi
5584
 
else
5585
 
  CC="$ac_cv_prog_CC"
5586
 
fi
5587
 
 
5588
 
if test -z "$CC"; then
5589
 
          if test -n "$ac_tool_prefix"; then
5590
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5591
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
5592
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593
 
$as_echo_n "checking for $ac_word... " >&6; }
5594
 
if test "${ac_cv_prog_CC+set}" = set; then :
5595
 
  $as_echo_n "(cached) " >&6
5596
 
else
5597
 
  if test -n "$CC"; then
5598
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5599
 
else
5600
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601
 
for as_dir in $PATH
5602
 
do
5603
 
  IFS=$as_save_IFS
5604
 
  test -z "$as_dir" && as_dir=.
5605
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5606
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5607
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
5608
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609
 
    break 2
5610
 
  fi
5611
 
done
5612
 
  done
5613
 
IFS=$as_save_IFS
5614
 
 
5615
 
fi
5616
 
fi
5617
 
CC=$ac_cv_prog_CC
5618
 
if test -n "$CC"; then
5619
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5620
 
$as_echo "$CC" >&6; }
5621
 
else
5622
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623
 
$as_echo "no" >&6; }
5624
 
fi
5625
 
 
5626
 
 
5627
 
  fi
5628
 
fi
5629
 
if test -z "$CC"; then
5630
 
  # Extract the first word of "cc", so it can be a program name with args.
5631
 
set dummy cc; ac_word=$2
5632
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633
 
$as_echo_n "checking for $ac_word... " >&6; }
5634
 
if test "${ac_cv_prog_CC+set}" = set; then :
5635
 
  $as_echo_n "(cached) " >&6
5636
 
else
5637
 
  if test -n "$CC"; then
5638
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5639
 
else
5640
 
  ac_prog_rejected=no
5641
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642
 
for as_dir in $PATH
5643
 
do
5644
 
  IFS=$as_save_IFS
5645
 
  test -z "$as_dir" && as_dir=.
5646
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5647
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5648
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5649
 
       ac_prog_rejected=yes
5650
 
       continue
5651
 
     fi
5652
 
    ac_cv_prog_CC="cc"
5653
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5654
 
    break 2
5655
 
  fi
5656
 
done
5657
 
  done
5658
 
IFS=$as_save_IFS
5659
 
 
5660
 
if test $ac_prog_rejected = yes; then
5661
 
  # We found a bogon in the path, so make sure we never use it.
5662
 
  set dummy $ac_cv_prog_CC
5663
 
  shift
5664
 
  if test $# != 0; then
5665
 
    # We chose a different compiler from the bogus one.
5666
 
    # However, it has the same basename, so the bogon will be chosen
5667
 
    # first if we set CC to just the basename; use the full file name.
5668
 
    shift
5669
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5670
 
  fi
5671
 
fi
5672
 
fi
5673
 
fi
5674
 
CC=$ac_cv_prog_CC
5675
 
if test -n "$CC"; then
5676
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5677
 
$as_echo "$CC" >&6; }
5678
 
else
5679
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680
 
$as_echo "no" >&6; }
5681
 
fi
5682
 
 
5683
 
 
5684
 
fi
5685
 
if test -z "$CC"; then
5686
 
  if test -n "$ac_tool_prefix"; then
5687
 
  for ac_prog in cl.exe
5688
 
  do
5689
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5690
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5691
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692
 
$as_echo_n "checking for $ac_word... " >&6; }
5693
 
if test "${ac_cv_prog_CC+set}" = set; then :
5694
 
  $as_echo_n "(cached) " >&6
5695
 
else
5696
 
  if test -n "$CC"; then
5697
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5698
 
else
5699
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700
 
for as_dir in $PATH
5701
 
do
5702
 
  IFS=$as_save_IFS
5703
 
  test -z "$as_dir" && as_dir=.
5704
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5705
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5706
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5707
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708
 
    break 2
5709
 
  fi
5710
 
done
5711
 
  done
5712
 
IFS=$as_save_IFS
5713
 
 
5714
 
fi
5715
 
fi
5716
 
CC=$ac_cv_prog_CC
5717
 
if test -n "$CC"; then
5718
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5719
 
$as_echo "$CC" >&6; }
5720
 
else
5721
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722
 
$as_echo "no" >&6; }
5723
 
fi
5724
 
 
5725
 
 
5726
 
    test -n "$CC" && break
5727
 
  done
5728
 
fi
5729
 
if test -z "$CC"; then
5730
 
  ac_ct_CC=$CC
5731
 
  for ac_prog in cl.exe
5732
 
do
5733
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5734
 
set dummy $ac_prog; ac_word=$2
5735
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736
 
$as_echo_n "checking for $ac_word... " >&6; }
5737
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5738
 
  $as_echo_n "(cached) " >&6
5739
 
else
5740
 
  if test -n "$ac_ct_CC"; then
5741
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5742
 
else
5743
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744
 
for as_dir in $PATH
5745
 
do
5746
 
  IFS=$as_save_IFS
5747
 
  test -z "$as_dir" && as_dir=.
5748
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5749
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5750
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
5751
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752
 
    break 2
5753
 
  fi
5754
 
done
5755
 
  done
5756
 
IFS=$as_save_IFS
5757
 
 
5758
 
fi
5759
 
fi
5760
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5761
 
if test -n "$ac_ct_CC"; then
5762
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5763
 
$as_echo "$ac_ct_CC" >&6; }
5764
 
else
5765
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766
 
$as_echo "no" >&6; }
5767
 
fi
5768
 
 
5769
 
 
5770
 
  test -n "$ac_ct_CC" && break
5771
 
done
5772
 
 
5773
 
  if test "x$ac_ct_CC" = x; then
5774
 
    CC=""
5775
 
  else
5776
 
    case $cross_compiling:$ac_tool_warned in
5777
 
yes:)
5778
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5779
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5780
 
ac_tool_warned=yes ;;
5781
 
esac
5782
 
    CC=$ac_ct_CC
5783
 
  fi
5784
 
fi
5785
 
 
5786
 
fi
5787
 
 
5788
 
 
5789
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5790
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5791
 
as_fn_error $? "no acceptable C compiler found in \$PATH
5792
 
See \`config.log' for more details" "$LINENO" 5 ; }
5793
 
 
5794
 
# Provide some information about the compiler.
5795
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5796
 
set X $ac_compile
5797
 
ac_compiler=$2
5798
 
for ac_option in --version -v -V -qversion; do
5799
 
  { { ac_try="$ac_compiler $ac_option >&5"
5800
 
case "(($ac_try" in
5801
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5802
 
  *) ac_try_echo=$ac_try;;
5803
 
esac
5804
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5805
 
$as_echo "$ac_try_echo"; } >&5
5806
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5807
 
  ac_status=$?
5808
 
  if test -s conftest.err; then
5809
 
    sed '10a\
5810
 
... rest of stderr output deleted ...
5811
 
         10q' conftest.err >conftest.er1
5812
 
    cat conftest.er1 >&5
5813
 
  fi
5814
 
  rm -f conftest.er1 conftest.err
5815
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5816
 
  test $ac_status = 0; }
5817
 
done
5818
 
 
5819
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5820
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5821
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5822
 
  $as_echo_n "(cached) " >&6
5823
 
else
5824
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825
 
/* end confdefs.h.  */
5826
 
 
5827
 
int
5828
 
main ()
5829
 
{
5830
 
#ifndef __GNUC__
5831
 
       choke me
5832
 
#endif
5833
 
 
5834
 
  ;
5835
 
  return 0;
5836
 
}
5837
 
_ACEOF
5838
 
if ac_fn_c_try_compile "$LINENO"; then :
5839
 
  ac_compiler_gnu=yes
5840
 
else
5841
 
  ac_compiler_gnu=no
5842
 
fi
5843
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5844
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5845
 
 
5846
 
fi
5847
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5848
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5849
 
if test $ac_compiler_gnu = yes; then
5850
 
  GCC=yes
5851
 
else
5852
 
  GCC=
5853
 
fi
5854
 
ac_test_CFLAGS=${CFLAGS+set}
5855
 
ac_save_CFLAGS=$CFLAGS
5856
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5857
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5858
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
5859
 
  $as_echo_n "(cached) " >&6
5860
 
else
5861
 
  ac_save_c_werror_flag=$ac_c_werror_flag
5862
 
   ac_c_werror_flag=yes
5863
 
   ac_cv_prog_cc_g=no
5864
 
   CFLAGS="-g"
5865
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5866
 
/* end confdefs.h.  */
5867
 
 
5868
 
int
5869
 
main ()
5870
 
{
5871
 
 
5872
 
  ;
5873
 
  return 0;
5874
 
}
5875
 
_ACEOF
5876
 
if ac_fn_c_try_compile "$LINENO"; then :
5877
 
  ac_cv_prog_cc_g=yes
5878
 
else
5879
 
  CFLAGS=""
5880
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5881
 
/* end confdefs.h.  */
5882
 
 
5883
 
int
5884
 
main ()
5885
 
{
5886
 
 
5887
 
  ;
5888
 
  return 0;
5889
 
}
5890
 
_ACEOF
5891
 
if ac_fn_c_try_compile "$LINENO"; then :
5892
 
 
5893
 
else
5894
 
  ac_c_werror_flag=$ac_save_c_werror_flag
5895
 
         CFLAGS="-g"
5896
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5897
 
/* end confdefs.h.  */
5898
 
 
5899
 
int
5900
 
main ()
5901
 
{
5902
 
 
5903
 
  ;
5904
 
  return 0;
5905
 
}
5906
 
_ACEOF
5907
 
if ac_fn_c_try_compile "$LINENO"; then :
5908
 
  ac_cv_prog_cc_g=yes
5909
 
fi
5910
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5911
 
fi
5912
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5913
 
fi
5914
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5915
 
   ac_c_werror_flag=$ac_save_c_werror_flag
5916
 
fi
5917
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5918
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
5919
 
if test "$ac_test_CFLAGS" = set; then
5920
 
  CFLAGS=$ac_save_CFLAGS
5921
 
elif test $ac_cv_prog_cc_g = yes; then
5922
 
  if test "$GCC" = yes; then
5923
 
    CFLAGS="-g -O2"
5924
 
  else
5925
 
    CFLAGS="-g"
5926
 
  fi
5927
 
else
5928
 
  if test "$GCC" = yes; then
5929
 
    CFLAGS="-O2"
5930
 
  else
5931
 
    CFLAGS=
5932
 
  fi
5933
 
fi
5934
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5935
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5936
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
5937
 
  $as_echo_n "(cached) " >&6
5938
 
else
5939
 
  ac_cv_prog_cc_c89=no
5940
 
ac_save_CC=$CC
5941
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5942
 
/* end confdefs.h.  */
5943
 
#include <stdarg.h>
5944
 
#include <stdio.h>
5945
 
#include <sys/types.h>
5946
 
#include <sys/stat.h>
5947
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5948
 
struct buf { int x; };
5949
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5950
 
static char *e (p, i)
5951
 
     char **p;
5952
 
     int i;
5953
 
{
5954
 
  return p[i];
5955
 
}
5956
 
static char *f (char * (*g) (char **, int), char **p, ...)
5957
 
{
5958
 
  char *s;
5959
 
  va_list v;
5960
 
  va_start (v,p);
5961
 
  s = g (p, va_arg (v,int));
5962
 
  va_end (v);
5963
 
  return s;
5964
 
}
5965
 
 
5966
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5967
 
   function prototypes and stuff, but not '\xHH' hex character constants.
5968
 
   These don't provoke an error unfortunately, instead are silently treated
5969
 
   as 'x'.  The following induces an error, until -std is added to get
5970
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5971
 
   array size at least.  It's necessary to write '\x00'==0 to get something
5972
 
   that's true only with -std.  */
5973
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5974
 
 
5975
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5976
 
   inside strings and character constants.  */
5977
 
#define FOO(x) 'x'
5978
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5979
 
 
5980
 
int test (int i, double x);
5981
 
struct s1 {int (*f) (int a);};
5982
 
struct s2 {int (*f) (double a);};
5983
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5984
 
int argc;
5985
 
char **argv;
5986
 
int
5987
 
main ()
5988
 
{
5989
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5990
 
  ;
5991
 
  return 0;
5992
 
}
5993
 
_ACEOF
5994
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5995
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5996
 
do
5997
 
  CC="$ac_save_CC $ac_arg"
5998
 
  if ac_fn_c_try_compile "$LINENO"; then :
5999
 
  ac_cv_prog_cc_c89=$ac_arg
6000
 
fi
6001
 
rm -f core conftest.err conftest.$ac_objext
6002
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
6003
 
done
6004
 
rm -f conftest.$ac_ext
6005
 
CC=$ac_save_CC
6006
 
 
6007
 
fi
6008
 
# AC_CACHE_VAL
6009
 
case "x$ac_cv_prog_cc_c89" in
6010
 
  x)
6011
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6012
 
$as_echo "none needed" >&6; } ;;
6013
 
  xno)
6014
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6015
 
$as_echo "unsupported" >&6; } ;;
6016
 
  *)
6017
 
    CC="$CC $ac_cv_prog_cc_c89"
6018
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6019
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6020
 
esac
6021
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
6022
 
 
6023
 
fi
6024
 
 
6025
 
ac_ext=c
6026
 
ac_cpp='$CPP $CPPFLAGS'
6027
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6028
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6029
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6030
 
 
6031
 
depcc="$CC"   am_compiler_list=
6032
 
 
6033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6034
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
6035
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
6036
 
  $as_echo_n "(cached) " >&6
6037
 
else
6038
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6039
 
  # We make a subdir and do the tests there.  Otherwise we can end up
6040
 
  # making bogus files that we don't know about and never remove.  For
6041
 
  # instance it was reported that on HP-UX the gcc test will end up
6042
 
  # making a dummy file named `D' -- because `-MD' means `put the output
6043
 
  # in D'.
6044
 
  mkdir conftest.dir
6045
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
6046
 
  # using a relative directory.
6047
 
  cp "$am_depcomp" conftest.dir
6048
 
  cd conftest.dir
6049
 
  # We will build objects and dependencies in a subdirectory because
6050
 
  # it helps to detect inapplicable dependency modes.  For instance
6051
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
6052
 
  # side effect of compilation, but ICC will put the dependencies in
6053
 
  # the current directory while Tru64 will put them in the object
6054
 
  # directory.
6055
 
  mkdir sub
6056
 
 
6057
 
  am_cv_CC_dependencies_compiler_type=none
6058
 
  if test "$am_compiler_list" = ""; then
6059
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6060
 
  fi
6061
 
  am__universal=false
6062
 
  case " $depcc " in #(
6063
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
6064
 
     esac
6065
 
 
6066
 
  for depmode in $am_compiler_list; do
6067
 
    # Setup a source with many dependencies, because some compilers
6068
 
    # like to wrap large dependency lists on column 80 (with \), and
6069
 
    # we should not choose a depcomp mode which is confused by this.
6070
 
    #
6071
 
    # We need to recreate these files for each test, as the compiler may
6072
 
    # overwrite some of them when testing with obscure command lines.
6073
 
    # This happens at least with the AIX C compiler.
6074
 
    : > sub/conftest.c
6075
 
    for i in 1 2 3 4 5 6; do
6076
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6077
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6078
 
      # Solaris 8's {/usr,}/bin/sh.
6079
 
      touch sub/conftst$i.h
6080
 
    done
6081
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6082
 
 
6083
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6084
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6085
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
6086
 
    # versions had trouble with output in subdirs
6087
 
    am__obj=sub/conftest.${OBJEXT-o}
6088
 
    am__minus_obj="-o $am__obj"
6089
 
    case $depmode in
6090
 
    gcc)
6091
 
      # This depmode causes a compiler race in universal mode.
6092
 
      test "$am__universal" = false || continue
6093
 
      ;;
6094
 
    nosideeffect)
6095
 
      # after this tag, mechanisms are not by side-effect, so they'll
6096
 
      # only be used when explicitly requested
6097
 
      if test "x$enable_dependency_tracking" = xyes; then
6098
 
        continue
6099
 
      else
6100
 
        break
6101
 
      fi
6102
 
      ;;
6103
 
    msvisualcpp | msvcmsys)
6104
 
      # This compiler won't grok `-c -o', but also, the minuso test has
6105
 
      # not run yet.  These depmodes are late enough in the game, and
6106
 
      # so weak that their functioning should not be impacted.
6107
 
      am__obj=conftest.${OBJEXT-o}
6108
 
      am__minus_obj=
6109
 
      ;;
6110
 
    none) break ;;
6111
 
    esac
6112
 
    if depmode=$depmode \
6113
 
       source=sub/conftest.c object=$am__obj \
6114
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6115
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6116
 
         >/dev/null 2>conftest.err &&
6117
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6118
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6119
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6120
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6121
 
      # icc doesn't choke on unknown options, it will just issue warnings
6122
 
      # or remarks (even with -Werror).  So we grep stderr for any message
6123
 
      # that says an option was ignored or not supported.
6124
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6125
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
6126
 
      # The diagnosis changed in icc 8.0:
6127
 
      #   icc: Command line remark: option '-MP' not supported
6128
 
      if (grep 'ignoring option' conftest.err ||
6129
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6130
 
        am_cv_CC_dependencies_compiler_type=$depmode
6131
 
        break
6132
 
      fi
6133
 
    fi
6134
 
  done
6135
 
 
6136
 
  cd ..
6137
 
  rm -rf conftest.dir
6138
 
else
6139
 
  am_cv_CC_dependencies_compiler_type=none
6140
 
fi
6141
 
 
6142
 
fi
6143
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6144
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6145
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6146
 
 
6147
 
 if
6148
 
  test "x$enable_dependency_tracking" != xno \
6149
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6150
 
  am__fastdepCC_TRUE=
6151
 
  am__fastdepCC_FALSE='#'
6152
 
else
6153
 
  am__fastdepCC_TRUE='#'
6154
 
  am__fastdepCC_FALSE=
6155
 
fi
6156
 
 
6157
 
 
6158
 
 
6159
 
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
6160
 
 
6161
 
ac_ext=c
6162
 
ac_cpp='$CPP $CPPFLAGS'
6163
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6164
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6165
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6166
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6167
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6168
 
# On Suns, sometimes $CPP names a directory.
6169
 
if test -n "$CPP" && test -d "$CPP"; then
6170
 
  CPP=
6171
 
fi
6172
 
if test -z "$CPP"; then
6173
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
6174
 
  $as_echo_n "(cached) " >&6
6175
 
else
6176
 
      # Double quotes because CPP needs to be expanded
6177
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6178
 
    do
6179
 
      ac_preproc_ok=false
6180
 
for ac_c_preproc_warn_flag in '' yes
6181
 
do
6182
 
  # Use a header file that comes with gcc, so configuring glibc
6183
 
  # with a fresh cross-compiler works.
6184
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6185
 
  # <limits.h> exists even on freestanding compilers.
6186
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6187
 
  # not just through cpp. "Syntax error" is here to catch this case.
6188
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189
 
/* end confdefs.h.  */
6190
 
#ifdef __STDC__
6191
 
# include <limits.h>
6192
 
#else
6193
 
# include <assert.h>
6194
 
#endif
6195
 
                     Syntax error
6196
 
_ACEOF
6197
 
if ac_fn_c_try_cpp "$LINENO"; then :
6198
 
 
6199
 
else
6200
 
  # Broken: fails on valid input.
6201
 
continue
6202
 
fi
6203
 
rm -f conftest.err conftest.i conftest.$ac_ext
6204
 
 
6205
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6206
 
  # can be detected and how.
6207
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6208
 
/* end confdefs.h.  */
6209
 
#include <ac_nonexistent.h>
6210
 
_ACEOF
6211
 
if ac_fn_c_try_cpp "$LINENO"; then :
6212
 
  # Broken: success on invalid input.
6213
 
continue
6214
 
else
6215
 
  # Passes both tests.
6216
 
ac_preproc_ok=:
6217
 
break
6218
 
fi
6219
 
rm -f conftest.err conftest.i conftest.$ac_ext
6220
 
 
6221
 
done
6222
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6223
 
rm -f conftest.i conftest.err conftest.$ac_ext
6224
 
if $ac_preproc_ok; then :
6225
 
  break
6226
 
fi
6227
 
 
6228
 
    done
6229
 
    ac_cv_prog_CPP=$CPP
6230
 
 
6231
 
fi
6232
 
  CPP=$ac_cv_prog_CPP
6233
 
else
6234
 
  ac_cv_prog_CPP=$CPP
6235
 
fi
6236
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6237
 
$as_echo "$CPP" >&6; }
6238
 
ac_preproc_ok=false
6239
 
for ac_c_preproc_warn_flag in '' yes
6240
 
do
6241
 
  # Use a header file that comes with gcc, so configuring glibc
6242
 
  # with a fresh cross-compiler works.
6243
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6244
 
  # <limits.h> exists even on freestanding compilers.
6245
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6246
 
  # not just through cpp. "Syntax error" is here to catch this case.
6247
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248
 
/* end confdefs.h.  */
6249
 
#ifdef __STDC__
6250
 
# include <limits.h>
6251
 
#else
6252
 
# include <assert.h>
6253
 
#endif
6254
 
                     Syntax error
6255
 
_ACEOF
6256
 
if ac_fn_c_try_cpp "$LINENO"; then :
6257
 
 
6258
 
else
6259
 
  # Broken: fails on valid input.
6260
 
continue
6261
 
fi
6262
 
rm -f conftest.err conftest.i conftest.$ac_ext
6263
 
 
6264
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6265
 
  # can be detected and how.
6266
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267
 
/* end confdefs.h.  */
6268
 
#include <ac_nonexistent.h>
6269
 
_ACEOF
6270
 
if ac_fn_c_try_cpp "$LINENO"; then :
6271
 
  # Broken: success on invalid input.
6272
 
continue
6273
 
else
6274
 
  # Passes both tests.
6275
 
ac_preproc_ok=:
6276
 
break
6277
 
fi
6278
 
rm -f conftest.err conftest.i conftest.$ac_ext
6279
 
 
6280
 
done
6281
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6282
 
rm -f conftest.i conftest.err conftest.$ac_ext
6283
 
if $ac_preproc_ok; then :
6284
 
 
6285
 
else
6286
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6287
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6288
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6289
 
See \`config.log' for more details" "$LINENO" 5 ; }
6290
 
fi
6291
 
 
6292
 
ac_ext=c
6293
 
ac_cpp='$CPP $CPPFLAGS'
6294
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6295
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6296
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6297
 
 
6298
 
 
6299
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6300
 
$as_echo_n "checking whether ln -s works... " >&6; }
6301
 
LN_S=$as_ln_s
6302
 
if test "$LN_S" = "ln -s"; then
6303
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6304
 
$as_echo "yes" >&6; }
6305
 
else
6306
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6307
 
$as_echo "no, using $LN_S" >&6; }
6308
 
fi
6309
 
 
6310
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6311
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6312
 
set x ${MAKE-make}
6313
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6314
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
6315
 
  $as_echo_n "(cached) " >&6
6316
 
else
6317
 
  cat >conftest.make <<\_ACEOF
6318
 
SHELL = /bin/sh
6319
 
all:
6320
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
6321
 
_ACEOF
6322
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6323
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
6324
 
  *@@@%%%=?*=@@@%%%*)
6325
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
6326
 
  *)
6327
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
6328
 
esac
6329
 
rm -f conftest.make
6330
 
fi
6331
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6332
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6333
 
$as_echo "yes" >&6; }
6334
 
  SET_MAKE=
6335
 
else
6336
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6337
 
$as_echo "no" >&6; }
6338
 
  SET_MAKE="MAKE=${MAKE-make}"
6339
 
fi
6340
 
 
6341
 
if test -n "$ac_tool_prefix"; then
6342
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6343
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6344
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6345
 
$as_echo_n "checking for $ac_word... " >&6; }
6346
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6347
 
  $as_echo_n "(cached) " >&6
6348
 
else
6349
 
  if test -n "$RANLIB"; then
6350
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6351
 
else
6352
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353
 
for as_dir in $PATH
6354
 
do
6355
 
  IFS=$as_save_IFS
6356
 
  test -z "$as_dir" && as_dir=.
6357
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6358
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6359
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6360
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6361
 
    break 2
6362
 
  fi
6363
 
done
6364
 
  done
6365
 
IFS=$as_save_IFS
6366
 
 
6367
 
fi
6368
 
fi
6369
 
RANLIB=$ac_cv_prog_RANLIB
6370
 
if test -n "$RANLIB"; then
6371
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6372
 
$as_echo "$RANLIB" >&6; }
6373
 
else
6374
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6375
 
$as_echo "no" >&6; }
6376
 
fi
6377
 
 
6378
 
 
6379
 
fi
6380
 
if test -z "$ac_cv_prog_RANLIB"; then
6381
 
  ac_ct_RANLIB=$RANLIB
6382
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6383
 
set dummy ranlib; ac_word=$2
6384
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6385
 
$as_echo_n "checking for $ac_word... " >&6; }
6386
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6387
 
  $as_echo_n "(cached) " >&6
6388
 
else
6389
 
  if test -n "$ac_ct_RANLIB"; then
6390
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6391
 
else
6392
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393
 
for as_dir in $PATH
6394
 
do
6395
 
  IFS=$as_save_IFS
6396
 
  test -z "$as_dir" && as_dir=.
6397
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6398
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6399
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6400
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6401
 
    break 2
6402
 
  fi
6403
 
done
6404
 
  done
6405
 
IFS=$as_save_IFS
6406
 
 
6407
 
fi
6408
 
fi
6409
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6410
 
if test -n "$ac_ct_RANLIB"; then
6411
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6412
 
$as_echo "$ac_ct_RANLIB" >&6; }
6413
 
else
6414
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415
 
$as_echo "no" >&6; }
6416
 
fi
6417
 
 
6418
 
  if test "x$ac_ct_RANLIB" = x; then
6419
 
    RANLIB=":"
6420
 
  else
6421
 
    case $cross_compiling:$ac_tool_warned in
6422
 
yes:)
6423
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6424
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6425
 
ac_tool_warned=yes ;;
6426
 
esac
6427
 
    RANLIB=$ac_ct_RANLIB
6428
 
  fi
6429
 
else
6430
 
  RANLIB="$ac_cv_prog_RANLIB"
6431
 
fi
6432
 
 
6433
 
 
6434
 
# GNOME aclocal, debug and maintainer flags
6435
 
 
6436
 
 
6437
 
 
6438
 
      ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
6439
 
  if test -n "$ac_macro_dir"; then
6440
 
    ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
6441
 
  fi
6442
 
 
6443
 
 
6444
 
 
6445
 
# debug, warnings, deprecated
6446
 
if test x"$enable_more_warnings" = xyes ; then
6447
 
        enable_cxx_warnings=yes
6448
 
fi
6449
 
if test x"$USE_MAINTAINER_MODE" != xno; then
6450
 
        enable_debug=yes
6451
 
        CFLAGS=""
6452
 
fi
6453
 
if test x"$enable_debug" = xyes ; then
6454
 
#       enable_cxx_warnings=yes
6455
 
        enable_more_warnings=yes
6456
 
        CFLAGS="$CFLAGS -O0 -g"
6457
 
fi
6458
 
 
6459
 
        # Check whether --enable-debug was given.
6460
 
if test "${enable_debug+set}" = set; then :
6461
 
  enableval=$enable_debug;
6462
 
else
6463
 
  enable_debug=no
6464
 
fi
6465
 
 
6466
 
 
6467
 
        if test x$enable_debug = xyes ; then
6468
 
 
6469
 
$as_echo "#define GNOME_ENABLE_DEBUG 1" >>confdefs.h
6470
 
 
6471
 
        fi
6472
 
 
6473
 
 
6474
 
 
6475
 
 
6476
 
        DISABLE_DEPRECATED=""
6477
 
        if test $USE_MAINTAINER_MODE = yes; then
6478
 
                DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
6479
 
                for DOMAIN in $DOMAINS; do
6480
 
                       DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
6481
 
                done
6482
 
        fi
6483
 
 
6484
 
 
6485
 
 
6486
 
 
6487
 
  # Check whether --enable-cxx-warnings was given.
6488
 
if test "${enable_cxx_warnings+set}" = set; then :
6489
 
  enableval=$enable_cxx_warnings;
6490
 
else
6491
 
  enable_cxx_warnings="minimum"
6492
 
fi
6493
 
 
6494
 
 
6495
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
6496
 
$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
6497
 
  warnCXXFLAGS=
6498
 
  if test "x$GXX" != xyes; then
6499
 
    enable_cxx_warnings=no
6500
 
  fi
6501
 
  if test "x$enable_cxx_warnings" != "xno"; then
6502
 
    if test "x$GXX" = "xyes"; then
6503
 
      case " $CXXFLAGS " in
6504
 
      *\ \      -Wall\ \        *) ;;
6505
 
      *) warnCXXFLAGS="-Wall -Wno-unused" ;;
6506
 
      esac
6507
 
 
6508
 
      ## -W is not all that useful.  And it cannot be controlled
6509
 
      ## with individual -Wno-xxx flags, unlike -Wall
6510
 
      if test "x$enable_cxx_warnings" = "xyes"; then
6511
 
        warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
6512
 
      fi
6513
 
    fi
6514
 
  fi
6515
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warnCXXFLAGS" >&5
6516
 
$as_echo "$warnCXXFLAGS" >&6; }
6517
 
 
6518
 
   # Check whether --enable-iso-cxx was given.
6519
 
if test "${enable_iso_cxx+set}" = set; then :
6520
 
  enableval=$enable_iso_cxx;
6521
 
else
6522
 
  enable_iso_cxx=no
6523
 
fi
6524
 
 
6525
 
 
6526
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C++ compiler" >&5
6527
 
$as_echo_n "checking what language compliance flags to pass to the C++ compiler... " >&6; }
6528
 
   complCXXFLAGS=
6529
 
   if test "x$enable_iso_cxx" != "xno"; then
6530
 
     if test "x$GXX" = "xyes"; then
6531
 
      case " $CXXFLAGS " in
6532
 
      *\ \      -ansi\ \        *) ;;
6533
 
      *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
6534
 
      esac
6535
 
 
6536
 
      case " $CXXFLAGS " in
6537
 
      *\ \      -pedantic\ \    *) ;;
6538
 
      *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
6539
 
      esac
6540
 
     fi
6541
 
   fi
6542
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCXXFLAGS" >&5
6543
 
$as_echo "$complCXXFLAGS" >&6; }
6544
 
 
6545
 
  WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
6546
 
 
6547
 
 
6548
 
# Check whether --enable-more-warnings was given.
6549
 
if test "${enable_more_warnings+set}" = set; then :
6550
 
  enableval=$enable_more_warnings; enable_more_warnings="$enableval"
6551
 
else
6552
 
  enable_more_warnings=no
6553
 
fi
6554
 
 
6555
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what more warning flags to pass to the C compiler" >&5
6556
 
$as_echo_n "checking what more warning flags to pass to the C compiler... " >&6; }
6557
 
if test x"$enable_more_warnings" != xno ; then
6558
 
        more_options=" \
6559
 
-Wextra \
6560
 
-Wcast-align \
6561
 
-Wcast-qual \
6562
 
-Wcomment \
6563
 
-Wformat \
6564
 
-Wimplicit \
6565
 
-Wmissing-braces \
6566
 
-Wpacked \
6567
 
-Wparentheses \
6568
 
-Wpointer-arith \
6569
 
-Wreturn-type \
6570
 
-Wsequence-point \
6571
 
-Wstrict-aliasing \
6572
 
-Wstrict-aliasing=2 \
6573
 
-Wswitch-default \
6574
 
-Wundef \
6575
 
"
6576
 
        previous_CXXFLAGS="$CXXFLAGS"
6577
 
        CXXFLAGS="${WARN_CXXFLAGS}"
6578
 
        for option in ${more_options} ; do
6579
 
                SAVE_CXXFLAGS="$CXXFLAGS"
6580
 
                CXXFLAGS="$CXXFLAGS $option"
6581
 
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6582
 
/* end confdefs.h.  */
6583
 
 
6584
 
int
6585
 
main ()
6586
 
{
6587
 
 
6588
 
  ;
6589
 
  return 0;
6590
 
}
6591
 
_ACEOF
6592
 
if ac_fn_c_try_compile "$LINENO"; then :
6593
 
  has_option=yes
6594
 
else
6595
 
  has_option=no
6596
 
fi
6597
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6598
 
                if test $has_option = no; then
6599
 
                        CXXFLAGS="$SAVE_CXXFLAGS"
6600
 
                fi
6601
 
                unset has_option
6602
 
                unset SAVE_CXXFLAGS
6603
 
        done
6604
 
        unset option more_options
6605
 
        WARN_CXXFLAGS="$CXXFLAGS"
6606
 
        CXXFLAGS="${previous_CXXFLAGS}"
6607
 
        unset previous_CXXFLAGS
6608
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WARN_CXXFLAGS" >&5
6609
 
$as_echo "$WARN_CXXFLAGS" >&6; }
6610
 
else
6611
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6612
 
$as_echo "none" >&6; }
6613
 
fi
6614
 
 
6615
 
# Checks for header files.
6616
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
6617
 
$as_echo_n "checking for X... " >&6; }
6618
 
 
6619
 
 
6620
 
# Check whether --with-x was given.
6621
 
if test "${with_x+set}" = set; then :
6622
 
  withval=$with_x;
6623
 
fi
6624
 
 
6625
 
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6626
 
if test "x$with_x" = xno; then
6627
 
  # The user explicitly disabled X.
6628
 
  have_x=disabled
6629
 
else
6630
 
  case $x_includes,$x_libraries in #(
6631
 
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
6632
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
6633
 
  $as_echo_n "(cached) " >&6
6634
 
else
6635
 
  # One or both of the vars are not set, and there is no cached value.
6636
 
ac_x_includes=no ac_x_libraries=no
6637
 
rm -f -r conftest.dir
6638
 
if mkdir conftest.dir; then
6639
 
  cd conftest.dir
6640
 
  cat >Imakefile <<'_ACEOF'
6641
 
incroot:
6642
 
        @echo incroot='${INCROOT}'
6643
 
usrlibdir:
6644
 
        @echo usrlibdir='${USRLIBDIR}'
6645
 
libdir:
6646
 
        @echo libdir='${LIBDIR}'
6647
 
_ACEOF
6648
 
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
6649
 
    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6650
 
    for ac_var in incroot usrlibdir libdir; do
6651
 
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
6652
 
    done
6653
 
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6654
 
    for ac_extension in a so sl dylib la dll; do
6655
 
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
6656
 
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
6657
 
        ac_im_usrlibdir=$ac_im_libdir; break
6658
 
      fi
6659
 
    done
6660
 
    # Screen out bogus values from the imake configuration.  They are
6661
 
    # bogus both because they are the default anyway, and because
6662
 
    # using them would break gcc on systems where it needs fixed includes.
6663
 
    case $ac_im_incroot in
6664
 
        /usr/include) ac_x_includes= ;;
6665
 
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
6666
 
    esac
6667
 
    case $ac_im_usrlibdir in
6668
 
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
6669
 
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
6670
 
    esac
6671
 
  fi
6672
 
  cd ..
6673
 
  rm -f -r conftest.dir
6674
 
fi
6675
 
 
6676
 
# Standard set of common directories for X headers.
6677
 
# Check X11 before X11Rn because it is often a symlink to the current release.
6678
 
ac_x_header_dirs='
6679
 
/usr/X11/include
6680
 
/usr/X11R7/include
6681
 
/usr/X11R6/include
6682
 
/usr/X11R5/include
6683
 
/usr/X11R4/include
6684
 
 
6685
 
/usr/include/X11
6686
 
/usr/include/X11R7
6687
 
/usr/include/X11R6
6688
 
/usr/include/X11R5
6689
 
/usr/include/X11R4
6690
 
 
6691
 
/usr/local/X11/include
6692
 
/usr/local/X11R7/include
6693
 
/usr/local/X11R6/include
6694
 
/usr/local/X11R5/include
6695
 
/usr/local/X11R4/include
6696
 
 
6697
 
/usr/local/include/X11
6698
 
/usr/local/include/X11R7
6699
 
/usr/local/include/X11R6
6700
 
/usr/local/include/X11R5
6701
 
/usr/local/include/X11R4
6702
 
 
6703
 
/usr/X386/include
6704
 
/usr/x386/include
6705
 
/usr/XFree86/include/X11
6706
 
 
6707
 
/usr/include
6708
 
/usr/local/include
6709
 
/usr/unsupported/include
6710
 
/usr/athena/include
6711
 
/usr/local/x11r5/include
6712
 
/usr/lpp/Xamples/include
6713
 
 
6714
 
/usr/openwin/include
6715
 
/usr/openwin/share/include'
6716
 
 
6717
 
if test "$ac_x_includes" = no; then
6718
 
  # Guess where to find include files, by looking for Xlib.h.
6719
 
  # First, try using that file with no special directory specified.
6720
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721
 
/* end confdefs.h.  */
6722
 
#include <X11/Xlib.h>
6723
 
_ACEOF
6724
 
if ac_fn_c_try_cpp "$LINENO"; then :
6725
 
  # We can compile using X headers with no special include directory.
6726
 
ac_x_includes=
6727
 
else
6728
 
  for ac_dir in $ac_x_header_dirs; do
6729
 
  if test -r "$ac_dir/X11/Xlib.h"; then
6730
 
    ac_x_includes=$ac_dir
6731
 
    break
6732
 
  fi
6733
 
done
6734
 
fi
6735
 
rm -f conftest.err conftest.i conftest.$ac_ext
6736
 
fi # $ac_x_includes = no
6737
 
 
6738
 
if test "$ac_x_libraries" = no; then
6739
 
  # Check for the libraries.
6740
 
  # See if we find them without any special options.
6741
 
  # Don't add to $LIBS permanently.
6742
 
  ac_save_LIBS=$LIBS
6743
 
  LIBS="-lX11 $LIBS"
6744
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6745
 
/* end confdefs.h.  */
6746
 
#include <X11/Xlib.h>
6747
 
int
6748
 
main ()
6749
 
{
6750
 
XrmInitialize ()
6751
 
  ;
6752
 
  return 0;
6753
 
}
6754
 
_ACEOF
6755
 
if ac_fn_c_try_link "$LINENO"; then :
6756
 
  LIBS=$ac_save_LIBS
6757
 
# We can link X programs with no special library path.
6758
 
ac_x_libraries=
6759
 
else
6760
 
  LIBS=$ac_save_LIBS
6761
 
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6762
 
do
6763
 
  # Don't even attempt the hair of trying to link an X program!
6764
 
  for ac_extension in a so sl dylib la dll; do
6765
 
    if test -r "$ac_dir/libX11.$ac_extension"; then
6766
 
      ac_x_libraries=$ac_dir
6767
 
      break 2
6768
 
    fi
6769
 
  done
6770
 
done
6771
 
fi
6772
 
rm -f core conftest.err conftest.$ac_objext \
6773
 
    conftest$ac_exeext conftest.$ac_ext
6774
 
fi # $ac_x_libraries = no
6775
 
 
6776
 
case $ac_x_includes,$ac_x_libraries in #(
6777
 
  no,* | *,no | *\'*)
6778
 
    # Didn't find X, or a directory has "'" in its name.
6779
 
    ac_cv_have_x="have_x=no";; #(
6780
 
  *)
6781
 
    # Record where we found X for the cache.
6782
 
    ac_cv_have_x="have_x=yes\
6783
 
        ac_x_includes='$ac_x_includes'\
6784
 
        ac_x_libraries='$ac_x_libraries'"
6785
 
esac
6786
 
fi
6787
 
;; #(
6788
 
    *) have_x=yes;;
6789
 
  esac
6790
 
  eval "$ac_cv_have_x"
6791
 
fi # $with_x != no
6792
 
 
6793
 
if test "$have_x" != yes; then
6794
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
6795
 
$as_echo "$have_x" >&6; }
6796
 
  no_x=yes
6797
 
else
6798
 
  # If each of the values was on the command line, it overrides each guess.
6799
 
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
6800
 
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
6801
 
  # Update the cache value to reflect the command line values.
6802
 
  ac_cv_have_x="have_x=yes\
6803
 
        ac_x_includes='$x_includes'\
6804
 
        ac_x_libraries='$x_libraries'"
6805
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
6806
 
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
6807
 
fi
6808
 
 
6809
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6810
 
$as_echo_n "checking for ANSI C header files... " >&6; }
6811
 
if test "${ac_cv_header_stdc+set}" = set; then :
6812
 
  $as_echo_n "(cached) " >&6
6813
 
else
6814
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6815
 
/* end confdefs.h.  */
6816
 
#include <stdlib.h>
6817
 
#include <stdarg.h>
6818
 
#include <string.h>
6819
 
#include <float.h>
6820
 
 
6821
 
int
6822
 
main ()
6823
 
{
6824
 
 
6825
 
  ;
6826
 
  return 0;
6827
 
}
6828
 
_ACEOF
6829
 
if ac_fn_c_try_compile "$LINENO"; then :
6830
 
  ac_cv_header_stdc=yes
6831
 
else
6832
 
  ac_cv_header_stdc=no
6833
 
fi
6834
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6835
 
 
6836
 
if test $ac_cv_header_stdc = yes; then
6837
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6838
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839
 
/* end confdefs.h.  */
6840
 
#include <string.h>
6841
 
 
6842
 
_ACEOF
6843
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6844
 
  $EGREP "memchr" >/dev/null 2>&1; then :
6845
 
 
6846
 
else
6847
 
  ac_cv_header_stdc=no
6848
 
fi
6849
 
rm -f conftest*
6850
 
 
6851
 
fi
6852
 
 
6853
 
if test $ac_cv_header_stdc = yes; then
6854
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6855
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6856
 
/* end confdefs.h.  */
6857
 
#include <stdlib.h>
6858
 
 
6859
 
_ACEOF
6860
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6861
 
  $EGREP "free" >/dev/null 2>&1; then :
6862
 
 
6863
 
else
6864
 
  ac_cv_header_stdc=no
6865
 
fi
6866
 
rm -f conftest*
6867
 
 
6868
 
fi
6869
 
 
6870
 
if test $ac_cv_header_stdc = yes; then
6871
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6872
 
  if test "$cross_compiling" = yes; then :
6873
 
  :
6874
 
else
6875
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6876
 
/* end confdefs.h.  */
6877
 
#include <ctype.h>
6878
 
#include <stdlib.h>
6879
 
#if ((' ' & 0x0FF) == 0x020)
6880
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6881
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6882
 
#else
6883
 
# define ISLOWER(c) \
6884
 
                   (('a' <= (c) && (c) <= 'i') \
6885
 
                     || ('j' <= (c) && (c) <= 'r') \
6886
 
                     || ('s' <= (c) && (c) <= 'z'))
6887
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6888
 
#endif
6889
 
 
6890
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6891
 
int
6892
 
main ()
6893
 
{
6894
 
  int i;
6895
 
  for (i = 0; i < 256; i++)
6896
 
    if (XOR (islower (i), ISLOWER (i))
6897
 
        || toupper (i) != TOUPPER (i))
6898
 
      return 2;
6899
 
  return 0;
6900
 
}
6901
 
_ACEOF
6902
 
if ac_fn_c_try_run "$LINENO"; then :
6903
 
 
6904
 
else
6905
 
  ac_cv_header_stdc=no
6906
 
fi
6907
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6908
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
6909
 
fi
6910
 
 
6911
 
fi
6912
 
fi
6913
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6914
 
$as_echo "$ac_cv_header_stdc" >&6; }
6915
 
if test $ac_cv_header_stdc = yes; then
6916
 
 
6917
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6918
 
 
6919
 
fi
6920
 
 
6921
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6922
 
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6923
 
if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6924
 
  $as_echo_n "(cached) " >&6
6925
 
else
6926
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6927
 
/* end confdefs.h.  */
6928
 
#include <sys/types.h>
6929
 
#include <sys/wait.h>
6930
 
#ifndef WEXITSTATUS
6931
 
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6932
 
#endif
6933
 
#ifndef WIFEXITED
6934
 
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6935
 
#endif
6936
 
 
6937
 
int
6938
 
main ()
6939
 
{
6940
 
  int s;
6941
 
  wait (&s);
6942
 
  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6943
 
  ;
6944
 
  return 0;
6945
 
}
6946
 
_ACEOF
6947
 
if ac_fn_c_try_compile "$LINENO"; then :
6948
 
  ac_cv_header_sys_wait_h=yes
6949
 
else
6950
 
  ac_cv_header_sys_wait_h=no
6951
 
fi
6952
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6953
 
fi
6954
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6955
 
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
6956
 
if test $ac_cv_header_sys_wait_h = yes; then
6957
 
 
6958
 
$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6959
 
 
6960
 
fi
6961
 
 
6962
 
for ac_header in fcntl.h stdint.h stdlib.h string.h sys/ioctl.h unistd.h
6963
 
do :
6964
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6965
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6966
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6967
 
  cat >>confdefs.h <<_ACEOF
6968
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6969
 
_ACEOF
6970
 
 
6971
 
fi
6972
 
 
6973
 
done
6974
 
 
6975
 
 
6976
 
# Checks for typedefs, structures, and compiler characteristics.
6977
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
6978
 
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
6979
 
if test "${ac_cv_header_stdbool_h+set}" = set; then :
6980
 
  $as_echo_n "(cached) " >&6
6981
 
else
6982
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6983
 
/* end confdefs.h.  */
6984
 
 
6985
 
#include <stdbool.h>
6986
 
#ifndef bool
6987
 
 "error: bool is not defined"
6988
 
#endif
6989
 
#ifndef false
6990
 
 "error: false is not defined"
6991
 
#endif
6992
 
#if false
6993
 
 "error: false is not 0"
6994
 
#endif
6995
 
#ifndef true
6996
 
 "error: true is not defined"
6997
 
#endif
6998
 
#if true != 1
6999
 
 "error: true is not 1"
7000
 
#endif
7001
 
#ifndef __bool_true_false_are_defined
7002
 
 "error: __bool_true_false_are_defined is not defined"
7003
 
#endif
7004
 
 
7005
 
        struct s { _Bool s: 1; _Bool t; } s;
7006
 
 
7007
 
        char a[true == 1 ? 1 : -1];
7008
 
        char b[false == 0 ? 1 : -1];
7009
 
        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
7010
 
        char d[(bool) 0.5 == true ? 1 : -1];
7011
 
        bool e = &s;
7012
 
        char f[(_Bool) 0.0 == false ? 1 : -1];
7013
 
        char g[true];
7014
 
        char h[sizeof (_Bool)];
7015
 
        char i[sizeof s.t];
7016
 
        enum { j = false, k = true, l = false * true, m = true * 256 };
7017
 
        /* The following fails for
7018
 
           HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
7019
 
        _Bool n[m];
7020
 
        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
7021
 
        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
7022
 
#       if defined __xlc__ || defined __GNUC__
7023
 
         /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
7024
 
            reported by James Lemley on 2005-10-05; see
7025
 
            http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
7026
 
            This test is not quite right, since xlc is allowed to
7027
 
            reject this program, as the initializer for xlcbug is
7028
 
            not one of the forms that C requires support for.
7029
 
            However, doing the test right would require a runtime
7030
 
            test, and that would make cross-compilation harder.
7031
 
            Let us hope that IBM fixes the xlc bug, and also adds
7032
 
            support for this kind of constant expression.  In the
7033
 
            meantime, this test will reject xlc, which is OK, since
7034
 
            our stdbool.h substitute should suffice.  We also test
7035
 
            this with GCC, where it should work, to detect more
7036
 
            quickly whether someone messes up the test in the
7037
 
            future.  */
7038
 
         char digs[] = "0123456789";
7039
 
         int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
7040
 
#       endif
7041
 
        /* Catch a bug in an HP-UX C compiler.  See
7042
 
           http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
7043
 
           http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
7044
 
         */
7045
 
        _Bool q = true;
7046
 
        _Bool *pq = &q;
7047
 
 
7048
 
int
7049
 
main ()
7050
 
{
7051
 
 
7052
 
        *pq |= q;
7053
 
        *pq |= ! q;
7054
 
        /* Refer to every declared value, to avoid compiler optimizations.  */
7055
 
        return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
7056
 
                + !m + !n + !o + !p + !q + !pq);
7057
 
 
7058
 
  ;
7059
 
  return 0;
7060
 
}
7061
 
_ACEOF
7062
 
if ac_fn_c_try_compile "$LINENO"; then :
7063
 
  ac_cv_header_stdbool_h=yes
7064
 
else
7065
 
  ac_cv_header_stdbool_h=no
7066
 
fi
7067
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7068
 
fi
7069
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
7070
 
$as_echo "$ac_cv_header_stdbool_h" >&6; }
7071
 
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
7072
 
if test "x$ac_cv_type__Bool" = x""yes; then :
7073
 
 
7074
 
cat >>confdefs.h <<_ACEOF
7075
 
#define HAVE__BOOL 1
7076
 
_ACEOF
7077
 
 
7078
 
 
7079
 
fi
7080
 
 
7081
 
if test $ac_cv_header_stdbool_h = yes; then
7082
 
 
7083
 
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
7084
 
 
7085
 
fi
7086
 
 
7087
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7088
 
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7089
 
if test "${ac_cv_c_const+set}" = set; then :
7090
 
  $as_echo_n "(cached) " >&6
7091
 
else
7092
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7093
 
/* end confdefs.h.  */
7094
 
 
7095
 
int
7096
 
main ()
7097
 
{
7098
 
/* FIXME: Include the comments suggested by Paul. */
7099
 
#ifndef __cplusplus
7100
 
  /* Ultrix mips cc rejects this.  */
7101
 
  typedef int charset[2];
7102
 
  const charset cs;
7103
 
  /* SunOS 4.1.1 cc rejects this.  */
7104
 
  char const *const *pcpcc;
7105
 
  char **ppc;
7106
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
7107
 
  struct point {int x, y;};
7108
 
  static struct point const zero = {0,0};
7109
 
  /* AIX XL C 1.02.0.0 rejects this.
7110
 
     It does not let you subtract one const X* pointer from another in
7111
 
     an arm of an if-expression whose if-part is not a constant
7112
 
     expression */
7113
 
  const char *g = "string";
7114
 
  pcpcc = &g + (g ? g-g : 0);
7115
 
  /* HPUX 7.0 cc rejects these. */
7116
 
  ++pcpcc;
7117
 
  ppc = (char**) pcpcc;
7118
 
  pcpcc = (char const *const *) ppc;
7119
 
  { /* SCO 3.2v4 cc rejects this.  */
7120
 
    char *t;
7121
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
7122
 
 
7123
 
    *t++ = 0;
7124
 
    if (s) return 0;
7125
 
  }
7126
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
7127
 
    int x[] = {25, 17};
7128
 
    const int *foo = &x[0];
7129
 
    ++foo;
7130
 
  }
7131
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7132
 
    typedef const int *iptr;
7133
 
    iptr p = 0;
7134
 
    ++p;
7135
 
  }
7136
 
  { /* AIX XL C 1.02.0.0 rejects this saying
7137
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7138
 
    struct s { int j; const int *ap[3]; };
7139
 
    struct s *b; b->j = 5;
7140
 
  }
7141
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7142
 
    const int foo = 10;
7143
 
    if (!foo) return 0;
7144
 
  }
7145
 
  return !cs[0] && !zero.x;
7146
 
#endif
7147
 
 
7148
 
  ;
7149
 
  return 0;
7150
 
}
7151
 
_ACEOF
7152
 
if ac_fn_c_try_compile "$LINENO"; then :
7153
 
  ac_cv_c_const=yes
7154
 
else
7155
 
  ac_cv_c_const=no
7156
 
fi
7157
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7158
 
fi
7159
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7160
 
$as_echo "$ac_cv_c_const" >&6; }
7161
 
if test $ac_cv_c_const = no; then
7162
 
 
7163
 
$as_echo "#define const /**/" >>confdefs.h
7164
 
 
7165
 
fi
7166
 
 
7167
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
7168
 
$as_echo_n "checking for inline... " >&6; }
7169
 
if test "${ac_cv_c_inline+set}" = set; then :
7170
 
  $as_echo_n "(cached) " >&6
7171
 
else
7172
 
  ac_cv_c_inline=no
7173
 
for ac_kw in inline __inline__ __inline; do
7174
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175
 
/* end confdefs.h.  */
7176
 
#ifndef __cplusplus
7177
 
typedef int foo_t;
7178
 
static $ac_kw foo_t static_foo () {return 0; }
7179
 
$ac_kw foo_t foo () {return 0; }
7180
 
#endif
7181
 
 
7182
 
_ACEOF
7183
 
if ac_fn_c_try_compile "$LINENO"; then :
7184
 
  ac_cv_c_inline=$ac_kw
7185
 
fi
7186
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7187
 
  test "$ac_cv_c_inline" != no && break
7188
 
done
7189
 
 
7190
 
fi
7191
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
7192
 
$as_echo "$ac_cv_c_inline" >&6; }
7193
 
 
7194
 
case $ac_cv_c_inline in
7195
 
  inline | yes) ;;
7196
 
  *)
7197
 
    case $ac_cv_c_inline in
7198
 
      no) ac_val=;;
7199
 
      *) ac_val=$ac_cv_c_inline;;
7200
 
    esac
7201
 
    cat >>confdefs.h <<_ACEOF
7202
 
#ifndef __cplusplus
7203
 
#define inline $ac_val
7204
 
#endif
7205
 
_ACEOF
7206
 
    ;;
7207
 
esac
7208
 
 
7209
 
ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
7210
 
if test "x$ac_cv_type_mode_t" = x""yes; then :
7211
 
 
7212
 
else
7213
 
 
7214
 
cat >>confdefs.h <<_ACEOF
7215
 
#define mode_t int
7216
 
_ACEOF
7217
 
 
7218
 
fi
7219
 
 
7220
 
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7221
 
if test "x$ac_cv_type_size_t" = x""yes; then :
7222
 
 
7223
 
else
7224
 
 
7225
 
cat >>confdefs.h <<_ACEOF
7226
 
#define size_t unsigned int
7227
 
_ACEOF
7228
 
 
7229
 
fi
7230
 
 
7231
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7232
 
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7233
 
if test "${ac_cv_struct_tm+set}" = set; then :
7234
 
  $as_echo_n "(cached) " >&6
7235
 
else
7236
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237
 
/* end confdefs.h.  */
7238
 
#include <sys/types.h>
7239
 
#include <time.h>
7240
 
 
7241
 
int
7242
 
main ()
7243
 
{
7244
 
struct tm tm;
7245
 
                                     int *p = &tm.tm_sec;
7246
 
                                     return !p;
7247
 
  ;
7248
 
  return 0;
7249
 
}
7250
 
_ACEOF
7251
 
if ac_fn_c_try_compile "$LINENO"; then :
7252
 
  ac_cv_struct_tm=time.h
7253
 
else
7254
 
  ac_cv_struct_tm=sys/time.h
7255
 
fi
7256
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7257
 
fi
7258
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
7259
 
$as_echo "$ac_cv_struct_tm" >&6; }
7260
 
if test $ac_cv_struct_tm = sys/time.h; then
7261
 
 
7262
 
$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
7263
 
 
7264
 
fi
7265
 
 
7266
 
ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
7267
 
case $ac_cv_c_uint16_t in #(
7268
 
  no|yes) ;; #(
7269
 
  *)
7270
 
 
7271
 
 
7272
 
cat >>confdefs.h <<_ACEOF
7273
 
#define uint16_t $ac_cv_c_uint16_t
7274
 
_ACEOF
7275
 
;;
7276
 
  esac
7277
 
 
7278
 
ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
7279
 
case $ac_cv_c_uint32_t in #(
7280
 
  no|yes) ;; #(
7281
 
  *)
7282
 
 
7283
 
$as_echo "#define _UINT32_T 1" >>confdefs.h
7284
 
 
7285
 
 
7286
 
cat >>confdefs.h <<_ACEOF
7287
 
#define uint32_t $ac_cv_c_uint32_t
7288
 
_ACEOF
7289
 
;;
7290
 
  esac
7291
 
 
7292
 
ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
7293
 
case $ac_cv_c_uint8_t in #(
7294
 
  no|yes) ;; #(
7295
 
  *)
7296
 
 
7297
 
$as_echo "#define _UINT8_T 1" >>confdefs.h
7298
 
 
7299
 
 
7300
 
cat >>confdefs.h <<_ACEOF
7301
 
#define uint8_t $ac_cv_c_uint8_t
7302
 
_ACEOF
7303
 
;;
7304
 
  esac
7305
 
 
7306
 
 
7307
 
# Checks for library functions.
7308
 
if test $ac_cv_c_compiler_gnu = yes; then
7309
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
7310
 
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
7311
 
if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
7312
 
  $as_echo_n "(cached) " >&6
7313
 
else
7314
 
    ac_pattern="Autoconf.*'x'"
7315
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7316
 
/* end confdefs.h.  */
7317
 
#include <sgtty.h>
7318
 
Autoconf TIOCGETP
7319
 
_ACEOF
7320
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7321
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
7322
 
  ac_cv_prog_gcc_traditional=yes
7323
 
else
7324
 
  ac_cv_prog_gcc_traditional=no
7325
 
fi
7326
 
rm -f conftest*
7327
 
 
7328
 
 
7329
 
  if test $ac_cv_prog_gcc_traditional = no; then
7330
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331
 
/* end confdefs.h.  */
7332
 
#include <termio.h>
7333
 
Autoconf TCGETA
7334
 
_ACEOF
7335
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7336
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
7337
 
  ac_cv_prog_gcc_traditional=yes
7338
 
fi
7339
 
rm -f conftest*
7340
 
 
7341
 
  fi
7342
 
fi
7343
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
7344
 
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
7345
 
  if test $ac_cv_prog_gcc_traditional = yes; then
7346
 
    CC="$CC -traditional"
7347
 
  fi
7348
 
fi
7349
 
 
7350
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7351
 
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7352
 
if test "${ac_cv_header_time+set}" = set; then :
7353
 
  $as_echo_n "(cached) " >&6
7354
 
else
7355
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7356
 
/* end confdefs.h.  */
7357
 
#include <sys/types.h>
7358
 
#include <sys/time.h>
7359
 
#include <time.h>
7360
 
 
7361
 
int
7362
 
main ()
7363
 
{
7364
 
if ((struct tm *) 0)
7365
 
return 0;
7366
 
  ;
7367
 
  return 0;
7368
 
}
7369
 
_ACEOF
7370
 
if ac_fn_c_try_compile "$LINENO"; then :
7371
 
  ac_cv_header_time=yes
7372
 
else
7373
 
  ac_cv_header_time=no
7374
 
fi
7375
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7376
 
fi
7377
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
7378
 
$as_echo "$ac_cv_header_time" >&6; }
7379
 
if test $ac_cv_header_time = yes; then
7380
 
 
7381
 
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
7382
 
 
7383
 
fi
7384
 
 
7385
 
 
7386
 
 
7387
 
 
7388
 
  for ac_header in $ac_header_list
7389
 
do :
7390
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7391
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7392
 
"
7393
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7394
 
  cat >>confdefs.h <<_ACEOF
7395
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7396
 
_ACEOF
7397
 
 
7398
 
fi
7399
 
 
7400
 
done
7401
 
 
7402
 
 
7403
 
 
7404
 
 
7405
 
 
7406
 
 
7407
 
 
7408
 
 
7409
 
  for ac_func in $ac_func_list
7410
 
do :
7411
 
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7412
 
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7413
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7414
 
  cat >>confdefs.h <<_ACEOF
7415
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7416
 
_ACEOF
7417
 
 
7418
 
fi
7419
 
done
7420
 
 
7421
 
 
7422
 
 
7423
 
 
7424
 
 
7425
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
7426
 
$as_echo_n "checking for working mktime... " >&6; }
7427
 
if test "${ac_cv_func_working_mktime+set}" = set; then :
7428
 
  $as_echo_n "(cached) " >&6
7429
 
else
7430
 
  if test "$cross_compiling" = yes; then :
7431
 
  ac_cv_func_working_mktime=no
7432
 
else
7433
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7434
 
/* end confdefs.h.  */
7435
 
/* Test program from Paul Eggert and Tony Leneis.  */
7436
 
#ifdef TIME_WITH_SYS_TIME
7437
 
# include <sys/time.h>
7438
 
# include <time.h>
7439
 
#else
7440
 
# ifdef HAVE_SYS_TIME_H
7441
 
#  include <sys/time.h>
7442
 
# else
7443
 
#  include <time.h>
7444
 
# endif
7445
 
#endif
7446
 
 
7447
 
#include <limits.h>
7448
 
#include <stdlib.h>
7449
 
 
7450
 
#ifdef HAVE_UNISTD_H
7451
 
# include <unistd.h>
7452
 
#endif
7453
 
 
7454
 
#ifndef HAVE_ALARM
7455
 
# define alarm(X) /* empty */
7456
 
#endif
7457
 
 
7458
 
/* Work around redefinition to rpl_putenv by other config tests.  */
7459
 
#undef putenv
7460
 
 
7461
 
static time_t time_t_max;
7462
 
static time_t time_t_min;
7463
 
 
7464
 
/* Values we'll use to set the TZ environment variable.  */
7465
 
static const char *tz_strings[] = {
7466
 
  (const char *) 0, "TZ=GMT0", "TZ=JST-9",
7467
 
  "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
7468
 
};
7469
 
#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
7470
 
 
7471
 
/* Return 0 if mktime fails to convert a date in the spring-forward gap.
7472
 
   Based on a problem report from Andreas Jaeger.  */
7473
 
static int
7474
 
spring_forward_gap ()
7475
 
{
7476
 
  /* glibc (up to about 1998-10-07) failed this test. */
7477
 
  struct tm tm;
7478
 
 
7479
 
  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
7480
 
     instead of "TZ=America/Vancouver" in order to detect the bug even
7481
 
     on systems that don't support the Olson extension, or don't have the
7482
 
     full zoneinfo tables installed.  */
7483
 
  putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
7484
 
 
7485
 
  tm.tm_year = 98;
7486
 
  tm.tm_mon = 3;
7487
 
  tm.tm_mday = 5;
7488
 
  tm.tm_hour = 2;
7489
 
  tm.tm_min = 0;
7490
 
  tm.tm_sec = 0;
7491
 
  tm.tm_isdst = -1;
7492
 
  return mktime (&tm) != (time_t) -1;
7493
 
}
7494
 
 
7495
 
static int
7496
 
mktime_test1 (time_t now)
7497
 
{
7498
 
  struct tm *lt;
7499
 
  return ! (lt = localtime (&now)) || mktime (lt) == now;
7500
 
}
7501
 
 
7502
 
static int
7503
 
mktime_test (time_t now)
7504
 
{
7505
 
  return (mktime_test1 (now)
7506
 
          && mktime_test1 ((time_t) (time_t_max - now))
7507
 
          && mktime_test1 ((time_t) (time_t_min + now)));
7508
 
}
7509
 
 
7510
 
static int
7511
 
irix_6_4_bug ()
7512
 
{
7513
 
  /* Based on code from Ariel Faigon.  */
7514
 
  struct tm tm;
7515
 
  tm.tm_year = 96;
7516
 
  tm.tm_mon = 3;
7517
 
  tm.tm_mday = 0;
7518
 
  tm.tm_hour = 0;
7519
 
  tm.tm_min = 0;
7520
 
  tm.tm_sec = 0;
7521
 
  tm.tm_isdst = -1;
7522
 
  mktime (&tm);
7523
 
  return tm.tm_mon == 2 && tm.tm_mday == 31;
7524
 
}
7525
 
 
7526
 
static int
7527
 
bigtime_test (int j)
7528
 
{
7529
 
  struct tm tm;
7530
 
  time_t now;
7531
 
  tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
7532
 
  now = mktime (&tm);
7533
 
  if (now != (time_t) -1)
7534
 
    {
7535
 
      struct tm *lt = localtime (&now);
7536
 
      if (! (lt
7537
 
             && lt->tm_year == tm.tm_year
7538
 
             && lt->tm_mon == tm.tm_mon
7539
 
             && lt->tm_mday == tm.tm_mday
7540
 
             && lt->tm_hour == tm.tm_hour
7541
 
             && lt->tm_min == tm.tm_min
7542
 
             && lt->tm_sec == tm.tm_sec
7543
 
             && lt->tm_yday == tm.tm_yday
7544
 
             && lt->tm_wday == tm.tm_wday
7545
 
             && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
7546
 
                  == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
7547
 
        return 0;
7548
 
    }
7549
 
  return 1;
7550
 
}
7551
 
 
7552
 
static int
7553
 
year_2050_test ()
7554
 
{
7555
 
  /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
7556
 
     ignoring leap seconds.  */
7557
 
  unsigned long int answer = 2527315200UL;
7558
 
 
7559
 
  struct tm tm;
7560
 
  time_t t;
7561
 
  tm.tm_year = 2050 - 1900;
7562
 
  tm.tm_mon = 2 - 1;
7563
 
  tm.tm_mday = 1;
7564
 
  tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
7565
 
  tm.tm_isdst = -1;
7566
 
 
7567
 
  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
7568
 
     instead of "TZ=America/Vancouver" in order to detect the bug even
7569
 
     on systems that don't support the Olson extension, or don't have the
7570
 
     full zoneinfo tables installed.  */
7571
 
  putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
7572
 
 
7573
 
  t = mktime (&tm);
7574
 
 
7575
 
  /* Check that the result is either a failure, or close enough
7576
 
     to the correct answer that we can assume the discrepancy is
7577
 
     due to leap seconds.  */
7578
 
  return (t == (time_t) -1
7579
 
          || (0 < t && answer - 120 <= t && t <= answer + 120));
7580
 
}
7581
 
 
7582
 
int
7583
 
main ()
7584
 
{
7585
 
  time_t t, delta;
7586
 
  int i, j;
7587
 
 
7588
 
  /* This test makes some buggy mktime implementations loop.
7589
 
     Give up after 60 seconds; a mktime slower than that
7590
 
     isn't worth using anyway.  */
7591
 
  alarm (60);
7592
 
 
7593
 
  for (;;)
7594
 
    {
7595
 
      t = (time_t_max << 1) + 1;
7596
 
      if (t <= time_t_max)
7597
 
        break;
7598
 
      time_t_max = t;
7599
 
    }
7600
 
  time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
7601
 
 
7602
 
  delta = time_t_max / 997; /* a suitable prime number */
7603
 
  for (i = 0; i < N_STRINGS; i++)
7604
 
    {
7605
 
      if (tz_strings[i])
7606
 
        putenv ((char*) tz_strings[i]);
7607
 
 
7608
 
      for (t = 0; t <= time_t_max - delta; t += delta)
7609
 
        if (! mktime_test (t))
7610
 
          return 1;
7611
 
      if (! (mktime_test ((time_t) 1)
7612
 
             && mktime_test ((time_t) (60 * 60))
7613
 
             && mktime_test ((time_t) (60 * 60 * 24))))
7614
 
        return 1;
7615
 
 
7616
 
      for (j = 1; ; j <<= 1)
7617
 
        if (! bigtime_test (j))
7618
 
          return 1;
7619
 
        else if (INT_MAX / 2 < j)
7620
 
          break;
7621
 
      if (! bigtime_test (INT_MAX))
7622
 
        return 1;
7623
 
    }
7624
 
  return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
7625
 
}
7626
 
_ACEOF
7627
 
if ac_fn_c_try_run "$LINENO"; then :
7628
 
  ac_cv_func_working_mktime=yes
7629
 
else
7630
 
  ac_cv_func_working_mktime=no
7631
 
fi
7632
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7633
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7634
 
fi
7635
 
 
7636
 
fi
7637
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
7638
 
$as_echo "$ac_cv_func_working_mktime" >&6; }
7639
 
if test $ac_cv_func_working_mktime = no; then
7640
 
  case " $LIBOBJS " in
7641
 
  *" mktime.$ac_objext "* ) ;;
7642
 
  *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
7643
 
 ;;
7644
 
esac
7645
 
 
7646
 
fi
7647
 
 
7648
 
for ac_header in stdlib.h
7649
 
do :
7650
 
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
7651
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
7652
 
  cat >>confdefs.h <<_ACEOF
7653
 
#define HAVE_STDLIB_H 1
7654
 
_ACEOF
7655
 
 
7656
 
fi
7657
 
 
7658
 
done
7659
 
 
7660
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
7661
 
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
7662
 
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
7663
 
  $as_echo_n "(cached) " >&6
7664
 
else
7665
 
  if test "$cross_compiling" = yes; then :
7666
 
  ac_cv_func_realloc_0_nonnull=no
7667
 
else
7668
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7669
 
/* end confdefs.h.  */
7670
 
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
7671
 
# include <stdlib.h>
7672
 
#else
7673
 
char *realloc ();
7674
 
#endif
7675
 
 
7676
 
int
7677
 
main ()
7678
 
{
7679
 
return ! realloc (0, 0);
7680
 
  ;
7681
 
  return 0;
7682
 
}
7683
 
_ACEOF
7684
 
if ac_fn_c_try_run "$LINENO"; then :
7685
 
  ac_cv_func_realloc_0_nonnull=yes
7686
 
else
7687
 
  ac_cv_func_realloc_0_nonnull=no
7688
 
fi
7689
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7690
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7691
 
fi
7692
 
 
7693
 
fi
7694
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
7695
 
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
7696
 
if test $ac_cv_func_realloc_0_nonnull = yes; then :
7697
 
 
7698
 
$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
7699
 
 
7700
 
else
7701
 
  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
7702
 
 
7703
 
   case " $LIBOBJS " in
7704
 
  *" realloc.$ac_objext "* ) ;;
7705
 
  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
7706
 
 ;;
7707
 
esac
7708
 
 
7709
 
 
7710
 
$as_echo "#define realloc rpl_realloc" >>confdefs.h
7711
 
 
7712
 
fi
7713
 
 
7714
 
 
7715
 
for ac_header in sys/select.h sys/socket.h
7716
 
do :
7717
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7718
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7719
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7720
 
  cat >>confdefs.h <<_ACEOF
7721
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7722
 
_ACEOF
7723
 
 
7724
 
fi
7725
 
 
7726
 
done
7727
 
 
7728
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
7729
 
$as_echo_n "checking types of arguments for select... " >&6; }
7730
 
if test "${ac_cv_func_select_args+set}" = set; then :
7731
 
  $as_echo_n "(cached) " >&6
7732
 
else
7733
 
  for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
7734
 
 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
7735
 
  for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
7736
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7737
 
/* end confdefs.h.  */
7738
 
$ac_includes_default
7739
 
#ifdef HAVE_SYS_SELECT_H
7740
 
# include <sys/select.h>
7741
 
#endif
7742
 
#ifdef HAVE_SYS_SOCKET_H
7743
 
# include <sys/socket.h>
7744
 
#endif
7745
 
 
7746
 
int
7747
 
main ()
7748
 
{
7749
 
extern int select ($ac_arg1,
7750
 
                                            $ac_arg234, $ac_arg234, $ac_arg234,
7751
 
                                            $ac_arg5);
7752
 
  ;
7753
 
  return 0;
7754
 
}
7755
 
_ACEOF
7756
 
if ac_fn_c_try_compile "$LINENO"; then :
7757
 
  ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
7758
 
fi
7759
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7760
 
  done
7761
 
 done
7762
 
done
7763
 
# Provide a safe default value.
7764
 
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
7765
 
 
7766
 
fi
7767
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
7768
 
$as_echo "$ac_cv_func_select_args" >&6; }
7769
 
ac_save_IFS=$IFS; IFS=','
7770
 
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
7771
 
IFS=$ac_save_IFS
7772
 
shift
7773
 
 
7774
 
cat >>confdefs.h <<_ACEOF
7775
 
#define SELECT_TYPE_ARG1 $1
7776
 
_ACEOF
7777
 
 
7778
 
 
7779
 
cat >>confdefs.h <<_ACEOF
7780
 
#define SELECT_TYPE_ARG234 ($2)
7781
 
_ACEOF
7782
 
 
7783
 
 
7784
 
cat >>confdefs.h <<_ACEOF
7785
 
#define SELECT_TYPE_ARG5 ($3)
7786
 
_ACEOF
7787
 
 
7788
 
rm -f conftest*
7789
 
 
7790
 
for ac_func in strftime
7791
 
do :
7792
 
  ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
7793
 
if test "x$ac_cv_func_strftime" = x""yes; then :
7794
 
  cat >>confdefs.h <<_ACEOF
7795
 
#define HAVE_STRFTIME 1
7796
 
_ACEOF
7797
 
 
7798
 
else
7799
 
  # strftime is in -lintl on SCO UNIX.
7800
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
7801
 
$as_echo_n "checking for strftime in -lintl... " >&6; }
7802
 
if test "${ac_cv_lib_intl_strftime+set}" = set; then :
7803
 
  $as_echo_n "(cached) " >&6
7804
 
else
7805
 
  ac_check_lib_save_LIBS=$LIBS
7806
 
LIBS="-lintl  $LIBS"
7807
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808
 
/* end confdefs.h.  */
7809
 
 
7810
 
/* Override any GCC internal prototype to avoid an error.
7811
 
   Use char because int might match the return type of a GCC
7812
 
   builtin and then its argument prototype would still apply.  */
7813
 
#ifdef __cplusplus
7814
 
extern "C"
7815
 
#endif
7816
 
char strftime ();
7817
 
int
7818
 
main ()
7819
 
{
7820
 
return strftime ();
7821
 
  ;
7822
 
  return 0;
7823
 
}
7824
 
_ACEOF
7825
 
if ac_fn_c_try_link "$LINENO"; then :
7826
 
  ac_cv_lib_intl_strftime=yes
7827
 
else
7828
 
  ac_cv_lib_intl_strftime=no
7829
 
fi
7830
 
rm -f core conftest.err conftest.$ac_objext \
7831
 
    conftest$ac_exeext conftest.$ac_ext
7832
 
LIBS=$ac_check_lib_save_LIBS
7833
 
fi
7834
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
7835
 
$as_echo "$ac_cv_lib_intl_strftime" >&6; }
7836
 
if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
7837
 
  $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
7838
 
 
7839
 
LIBS="-lintl $LIBS"
7840
 
fi
7841
 
 
7842
 
fi
7843
 
done
7844
 
 
7845
 
for ac_func in localtime_r mempcpy memset mkfifo select strerror tzset
7846
 
do :
7847
 
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7848
 
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7849
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7850
 
  cat >>confdefs.h <<_ACEOF
7851
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7852
 
_ACEOF
7853
 
 
7854
 
fi
7855
 
done
7856
 
 
7857
 
 
7858
 
# Checks for libraries.
7859
 
 
7860
 
# gettext support
7861
 
GETTEXT_PACKAGE=${PACKAGE}
7862
 
 
7863
 
 
7864
 
cat >>confdefs.h <<_ACEOF
7865
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
7866
 
_ACEOF
7867
 
 
7868
 
 
7869
 
   for ac_header in locale.h
7870
 
do :
7871
 
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
7872
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
7873
 
  cat >>confdefs.h <<_ACEOF
7874
 
#define HAVE_LOCALE_H 1
7875
 
_ACEOF
7876
 
 
7877
 
fi
7878
 
 
7879
 
done
7880
 
 
7881
 
    if test $ac_cv_header_locale_h = yes; then
7882
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
7883
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
7884
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
7885
 
  $as_echo_n "(cached) " >&6
7886
 
else
7887
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888
 
/* end confdefs.h.  */
7889
 
#include <locale.h>
7890
 
int
7891
 
main ()
7892
 
{
7893
 
return LC_MESSAGES
7894
 
  ;
7895
 
  return 0;
7896
 
}
7897
 
_ACEOF
7898
 
if ac_fn_c_try_link "$LINENO"; then :
7899
 
  am_cv_val_LC_MESSAGES=yes
7900
 
else
7901
 
  am_cv_val_LC_MESSAGES=no
7902
 
fi
7903
 
rm -f core conftest.err conftest.$ac_objext \
7904
 
    conftest$ac_exeext conftest.$ac_ext
7905
 
fi
7906
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
7907
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
7908
 
    if test $am_cv_val_LC_MESSAGES = yes; then
7909
 
 
7910
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
7911
 
 
7912
 
    fi
7913
 
  fi
7914
 
     USE_NLS=yes
7915
 
 
7916
 
 
7917
 
    gt_cv_have_gettext=no
7918
 
 
7919
 
    CATOBJEXT=NONE
7920
 
    XGETTEXT=:
7921
 
    INTLLIBS=
7922
 
 
7923
 
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
7924
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
7925
 
  gt_cv_func_dgettext_libintl="no"
7926
 
      libintl_extra_libs=""
7927
 
 
7928
 
      #
7929
 
      # First check in libc
7930
 
      #
7931
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
7932
 
$as_echo_n "checking for ngettext in libc... " >&6; }
7933
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
7934
 
  $as_echo_n "(cached) " >&6
7935
 
else
7936
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7937
 
/* end confdefs.h.  */
7938
 
 
7939
 
#include <libintl.h>
7940
 
 
7941
 
int
7942
 
main ()
7943
 
{
7944
 
return !ngettext ("","", 1)
7945
 
  ;
7946
 
  return 0;
7947
 
}
7948
 
_ACEOF
7949
 
if ac_fn_c_try_link "$LINENO"; then :
7950
 
  gt_cv_func_ngettext_libc=yes
7951
 
else
7952
 
  gt_cv_func_ngettext_libc=no
7953
 
fi
7954
 
rm -f core conftest.err conftest.$ac_objext \
7955
 
    conftest$ac_exeext conftest.$ac_ext
7956
 
 
7957
 
fi
7958
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
7959
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
7960
 
 
7961
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
7962
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
7963
 
$as_echo_n "checking for dgettext in libc... " >&6; }
7964
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
7965
 
  $as_echo_n "(cached) " >&6
7966
 
else
7967
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7968
 
/* end confdefs.h.  */
7969
 
 
7970
 
#include <libintl.h>
7971
 
 
7972
 
int
7973
 
main ()
7974
 
{
7975
 
return !dgettext ("","")
7976
 
  ;
7977
 
  return 0;
7978
 
}
7979
 
_ACEOF
7980
 
if ac_fn_c_try_link "$LINENO"; then :
7981
 
  gt_cv_func_dgettext_libc=yes
7982
 
else
7983
 
  gt_cv_func_dgettext_libc=no
7984
 
fi
7985
 
rm -f core conftest.err conftest.$ac_objext \
7986
 
    conftest$ac_exeext conftest.$ac_ext
7987
 
 
7988
 
fi
7989
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
7990
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
7991
 
      fi
7992
 
 
7993
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
7994
 
        for ac_func in bind_textdomain_codeset
7995
 
do :
7996
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
7997
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
7998
 
  cat >>confdefs.h <<_ACEOF
7999
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
8000
 
_ACEOF
8001
 
 
8002
 
fi
8003
 
done
8004
 
 
8005
 
      fi
8006
 
 
8007
 
      #
8008
 
      # If we don't have everything we want, check in libintl
8009
 
      #
8010
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
8011
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
8012
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
8013
 
 
8014
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
8015
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
8016
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
8017
 
  $as_echo_n "(cached) " >&6
8018
 
else
8019
 
  ac_check_lib_save_LIBS=$LIBS
8020
 
LIBS="-lintl  $LIBS"
8021
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8022
 
/* end confdefs.h.  */
8023
 
 
8024
 
/* Override any GCC internal prototype to avoid an error.
8025
 
   Use char because int might match the return type of a GCC
8026
 
   builtin and then its argument prototype would still apply.  */
8027
 
#ifdef __cplusplus
8028
 
extern "C"
8029
 
#endif
8030
 
char bindtextdomain ();
8031
 
int
8032
 
main ()
8033
 
{
8034
 
return bindtextdomain ();
8035
 
  ;
8036
 
  return 0;
8037
 
}
8038
 
_ACEOF
8039
 
if ac_fn_c_try_link "$LINENO"; then :
8040
 
  ac_cv_lib_intl_bindtextdomain=yes
8041
 
else
8042
 
  ac_cv_lib_intl_bindtextdomain=no
8043
 
fi
8044
 
rm -f core conftest.err conftest.$ac_objext \
8045
 
    conftest$ac_exeext conftest.$ac_ext
8046
 
LIBS=$ac_check_lib_save_LIBS
8047
 
fi
8048
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
8049
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
8050
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
8051
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
8052
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
8053
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
8054
 
  $as_echo_n "(cached) " >&6
8055
 
else
8056
 
  ac_check_lib_save_LIBS=$LIBS
8057
 
LIBS="-lintl  $LIBS"
8058
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8059
 
/* end confdefs.h.  */
8060
 
 
8061
 
/* Override any GCC internal prototype to avoid an error.
8062
 
   Use char because int might match the return type of a GCC
8063
 
   builtin and then its argument prototype would still apply.  */
8064
 
#ifdef __cplusplus
8065
 
extern "C"
8066
 
#endif
8067
 
char ngettext ();
8068
 
int
8069
 
main ()
8070
 
{
8071
 
return ngettext ();
8072
 
  ;
8073
 
  return 0;
8074
 
}
8075
 
_ACEOF
8076
 
if ac_fn_c_try_link "$LINENO"; then :
8077
 
  ac_cv_lib_intl_ngettext=yes
8078
 
else
8079
 
  ac_cv_lib_intl_ngettext=no
8080
 
fi
8081
 
rm -f core conftest.err conftest.$ac_objext \
8082
 
    conftest$ac_exeext conftest.$ac_ext
8083
 
LIBS=$ac_check_lib_save_LIBS
8084
 
fi
8085
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
8086
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
8087
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
8088
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
8089
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
8090
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
8091
 
  $as_echo_n "(cached) " >&6
8092
 
else
8093
 
  ac_check_lib_save_LIBS=$LIBS
8094
 
LIBS="-lintl  $LIBS"
8095
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8096
 
/* end confdefs.h.  */
8097
 
 
8098
 
/* Override any GCC internal prototype to avoid an error.
8099
 
   Use char because int might match the return type of a GCC
8100
 
   builtin and then its argument prototype would still apply.  */
8101
 
#ifdef __cplusplus
8102
 
extern "C"
8103
 
#endif
8104
 
char dgettext ();
8105
 
int
8106
 
main ()
8107
 
{
8108
 
return dgettext ();
8109
 
  ;
8110
 
  return 0;
8111
 
}
8112
 
_ACEOF
8113
 
if ac_fn_c_try_link "$LINENO"; then :
8114
 
  ac_cv_lib_intl_dgettext=yes
8115
 
else
8116
 
  ac_cv_lib_intl_dgettext=no
8117
 
fi
8118
 
rm -f core conftest.err conftest.$ac_objext \
8119
 
    conftest$ac_exeext conftest.$ac_ext
8120
 
LIBS=$ac_check_lib_save_LIBS
8121
 
fi
8122
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
8123
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
8124
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
8125
 
  gt_cv_func_dgettext_libintl=yes
8126
 
fi
8127
 
 
8128
 
fi
8129
 
 
8130
 
fi
8131
 
 
8132
 
 
8133
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
8134
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
8135
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
8136
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
8137
 
$as_echo "" >&6; }
8138
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
8139
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
8140
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
8141
 
  $as_echo_n "(cached) " >&6
8142
 
else
8143
 
  ac_check_lib_save_LIBS=$LIBS
8144
 
LIBS="-lintl -liconv $LIBS"
8145
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8146
 
/* end confdefs.h.  */
8147
 
 
8148
 
/* Override any GCC internal prototype to avoid an error.
8149
 
   Use char because int might match the return type of a GCC
8150
 
   builtin and then its argument prototype would still apply.  */
8151
 
#ifdef __cplusplus
8152
 
extern "C"
8153
 
#endif
8154
 
char ngettext ();
8155
 
int
8156
 
main ()
8157
 
{
8158
 
return ngettext ();
8159
 
  ;
8160
 
  return 0;
8161
 
}
8162
 
_ACEOF
8163
 
if ac_fn_c_try_link "$LINENO"; then :
8164
 
  ac_cv_lib_intl_ngettext=yes
8165
 
else
8166
 
  ac_cv_lib_intl_ngettext=no
8167
 
fi
8168
 
rm -f core conftest.err conftest.$ac_objext \
8169
 
    conftest$ac_exeext conftest.$ac_ext
8170
 
LIBS=$ac_check_lib_save_LIBS
8171
 
fi
8172
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
8173
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
8174
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
8175
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
8176
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
8177
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
8178
 
  $as_echo_n "(cached) " >&6
8179
 
else
8180
 
  ac_check_lib_save_LIBS=$LIBS
8181
 
LIBS="-lintl -liconv $LIBS"
8182
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183
 
/* end confdefs.h.  */
8184
 
 
8185
 
/* Override any GCC internal prototype to avoid an error.
8186
 
   Use char because int might match the return type of a GCC
8187
 
   builtin and then its argument prototype would still apply.  */
8188
 
#ifdef __cplusplus
8189
 
extern "C"
8190
 
#endif
8191
 
char dcgettext ();
8192
 
int
8193
 
main ()
8194
 
{
8195
 
return dcgettext ();
8196
 
  ;
8197
 
  return 0;
8198
 
}
8199
 
_ACEOF
8200
 
if ac_fn_c_try_link "$LINENO"; then :
8201
 
  ac_cv_lib_intl_dcgettext=yes
8202
 
else
8203
 
  ac_cv_lib_intl_dcgettext=no
8204
 
fi
8205
 
rm -f core conftest.err conftest.$ac_objext \
8206
 
    conftest$ac_exeext conftest.$ac_ext
8207
 
LIBS=$ac_check_lib_save_LIBS
8208
 
fi
8209
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
8210
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
8211
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
8212
 
  gt_cv_func_dgettext_libintl=yes
8213
 
                        libintl_extra_libs=-liconv
8214
 
else
8215
 
  :
8216
 
fi
8217
 
 
8218
 
else
8219
 
  :
8220
 
fi
8221
 
 
8222
 
        fi
8223
 
 
8224
 
        #
8225
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
8226
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
8227
 
        # and both have dgettext and ngettext
8228
 
        #
8229
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
8230
 
          glib_save_LIBS="$LIBS"
8231
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
8232
 
          unset ac_cv_func_bind_textdomain_codeset
8233
 
          for ac_func in bind_textdomain_codeset
8234
 
do :
8235
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
8236
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
8237
 
  cat >>confdefs.h <<_ACEOF
8238
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
8239
 
_ACEOF
8240
 
 
8241
 
fi
8242
 
done
8243
 
 
8244
 
          LIBS="$glib_save_LIBS"
8245
 
 
8246
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
8247
 
            gt_cv_func_dgettext_libc=no
8248
 
          else
8249
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
8250
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
8251
 
              gt_cv_func_dgettext_libintl=no
8252
 
            fi
8253
 
          fi
8254
 
        fi
8255
 
      fi
8256
 
 
8257
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
8258
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
8259
 
        gt_cv_have_gettext=yes
8260
 
      fi
8261
 
 
8262
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
8263
 
        INTLLIBS="-lintl $libintl_extra_libs"
8264
 
      fi
8265
 
 
8266
 
      if test "$gt_cv_have_gettext" = "yes"; then
8267
 
 
8268
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
8269
 
 
8270
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
8271
 
set dummy msgfmt; ac_word=$2
8272
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8273
 
$as_echo_n "checking for $ac_word... " >&6; }
8274
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
8275
 
  $as_echo_n "(cached) " >&6
8276
 
else
8277
 
  case "$MSGFMT" in
8278
 
  /*)
8279
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
8280
 
  ;;
8281
 
  *)
8282
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8283
 
  for ac_dir in $PATH; do
8284
 
    test -z "$ac_dir" && ac_dir=.
8285
 
    if test -f $ac_dir/$ac_word; then
8286
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8287
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
8288
 
        break
8289
 
      fi
8290
 
    fi
8291
 
  done
8292
 
  IFS="$ac_save_ifs"
8293
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
8294
 
  ;;
8295
 
esac
8296
 
fi
8297
 
MSGFMT="$ac_cv_path_MSGFMT"
8298
 
if test "$MSGFMT" != "no"; then
8299
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
8300
 
$as_echo "$MSGFMT" >&6; }
8301
 
else
8302
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303
 
$as_echo "no" >&6; }
8304
 
fi
8305
 
        if test "$MSGFMT" != "no"; then
8306
 
          glib_save_LIBS="$LIBS"
8307
 
          LIBS="$LIBS $INTLLIBS"
8308
 
          for ac_func in dcgettext
8309
 
do :
8310
 
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
8311
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
8312
 
  cat >>confdefs.h <<_ACEOF
8313
 
#define HAVE_DCGETTEXT 1
8314
 
_ACEOF
8315
 
 
8316
 
fi
8317
 
done
8318
 
 
8319
 
          MSGFMT_OPTS=
8320
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
8321
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
8322
 
          cat >conftest.foo <<_ACEOF
8323
 
 
8324
 
msgid ""
8325
 
msgstr ""
8326
 
"Content-Type: text/plain; charset=UTF-8\n"
8327
 
"Project-Id-Version: test 1.0\n"
8328
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
8329
 
"Last-Translator: test <foo@bar.xx>\n"
8330
 
"Language-Team: C <LL@li.org>\n"
8331
 
"MIME-Version: 1.0\n"
8332
 
"Content-Transfer-Encoding: 8bit\n"
8333
 
 
8334
 
_ACEOF
8335
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
8336
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
8337
 
  ac_status=$?
8338
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8339
 
  test $ac_status = 0; }; then
8340
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8341
 
$as_echo "yes" >&6; }
8342
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343
 
$as_echo "no" >&6; }
8344
 
echo "$as_me: failed input was:" >&5
8345
 
sed 's/^/| /' conftest.foo >&5
8346
 
fi
8347
 
 
8348
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
8349
 
set dummy gmsgfmt; ac_word=$2
8350
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8351
 
$as_echo_n "checking for $ac_word... " >&6; }
8352
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
8353
 
  $as_echo_n "(cached) " >&6
8354
 
else
8355
 
  case $GMSGFMT in
8356
 
  [\\/]* | ?:[\\/]*)
8357
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
8358
 
  ;;
8359
 
  *)
8360
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8361
 
for as_dir in $PATH
8362
 
do
8363
 
  IFS=$as_save_IFS
8364
 
  test -z "$as_dir" && as_dir=.
8365
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8366
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8367
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8368
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8369
 
    break 2
8370
 
  fi
8371
 
done
8372
 
  done
8373
 
IFS=$as_save_IFS
8374
 
 
8375
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8376
 
  ;;
8377
 
esac
8378
 
fi
8379
 
GMSGFMT=$ac_cv_path_GMSGFMT
8380
 
if test -n "$GMSGFMT"; then
8381
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
8382
 
$as_echo "$GMSGFMT" >&6; }
8383
 
else
8384
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8385
 
$as_echo "no" >&6; }
8386
 
fi
8387
 
 
8388
 
 
8389
 
          # Extract the first word of "xgettext", so it can be a program name with args.
8390
 
set dummy xgettext; ac_word=$2
8391
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8392
 
$as_echo_n "checking for $ac_word... " >&6; }
8393
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
8394
 
  $as_echo_n "(cached) " >&6
8395
 
else
8396
 
  case "$XGETTEXT" in
8397
 
  /*)
8398
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
8399
 
  ;;
8400
 
  *)
8401
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8402
 
  for ac_dir in $PATH; do
8403
 
    test -z "$ac_dir" && ac_dir=.
8404
 
    if test -f $ac_dir/$ac_word; then
8405
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8406
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
8407
 
        break
8408
 
      fi
8409
 
    fi
8410
 
  done
8411
 
  IFS="$ac_save_ifs"
8412
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
8413
 
  ;;
8414
 
esac
8415
 
fi
8416
 
XGETTEXT="$ac_cv_path_XGETTEXT"
8417
 
if test "$XGETTEXT" != ":"; then
8418
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
8419
 
$as_echo "$XGETTEXT" >&6; }
8420
 
else
8421
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8422
 
$as_echo "no" >&6; }
8423
 
fi
8424
 
 
8425
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426
 
/* end confdefs.h.  */
8427
 
 
8428
 
int
8429
 
main ()
8430
 
{
8431
 
extern int _nl_msg_cat_cntr;
8432
 
                         return _nl_msg_cat_cntr
8433
 
  ;
8434
 
  return 0;
8435
 
}
8436
 
_ACEOF
8437
 
if ac_fn_c_try_link "$LINENO"; then :
8438
 
  CATOBJEXT=.gmo
8439
 
             DATADIRNAME=share
8440
 
else
8441
 
  case $host in
8442
 
            *-*-solaris*)
8443
 
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
8444
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
8445
 
  CATOBJEXT=.gmo
8446
 
               DATADIRNAME=share
8447
 
else
8448
 
  CATOBJEXT=.mo
8449
 
               DATADIRNAME=lib
8450
 
fi
8451
 
 
8452
 
            ;;
8453
 
            *)
8454
 
            CATOBJEXT=.mo
8455
 
            DATADIRNAME=lib
8456
 
            ;;
8457
 
            esac
8458
 
fi
8459
 
rm -f core conftest.err conftest.$ac_objext \
8460
 
    conftest$ac_exeext conftest.$ac_ext
8461
 
          LIBS="$glib_save_LIBS"
8462
 
          INSTOBJEXT=.mo
8463
 
        else
8464
 
          gt_cv_have_gettext=no
8465
 
        fi
8466
 
      fi
8467
 
 
8468
 
fi
8469
 
 
8470
 
 
8471
 
 
8472
 
    if test "$gt_cv_have_gettext" = "yes" ; then
8473
 
 
8474
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
8475
 
 
8476
 
    fi
8477
 
 
8478
 
        if test "$XGETTEXT" != ":"; then
8479
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
8480
 
        : ;
8481
 
      else
8482
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
8483
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
8484
 
        XGETTEXT=":"
8485
 
      fi
8486
 
    fi
8487
 
 
8488
 
    # We need to process the po/ directory.
8489
 
    POSUB=po
8490
 
 
8491
 
    ac_config_commands="$ac_config_commands default-1"
8492
 
 
8493
 
 
8494
 
                for lang in $ALL_LINGUAS; do
8495
 
      GMOFILES="$GMOFILES $lang.gmo"
8496
 
      POFILES="$POFILES $lang.po"
8497
 
    done
8498
 
 
8499
 
 
8500
 
 
8501
 
 
8502
 
 
8503
 
 
8504
 
 
8505
 
 
8506
 
 
8507
 
 
8508
 
 
8509
 
 
8510
 
 
8511
 
   if test "$gt_cv_have_gettext" = "yes"; then
8512
 
     if test "x$ALL_LINGUAS" = "x"; then
8513
 
       LINGUAS=
8514
 
     else
8515
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
8516
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
8517
 
       NEW_LINGUAS=
8518
 
       for presentlang in $ALL_LINGUAS; do
8519
 
         useit=no
8520
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
8521
 
           desiredlanguages="$LINGUAS"
8522
 
         else
8523
 
           desiredlanguages="$ALL_LINGUAS"
8524
 
         fi
8525
 
         for desiredlang in $desiredlanguages; do
8526
 
           # Use the presentlang catalog if desiredlang is
8527
 
           #   a. equal to presentlang, or
8528
 
           #   b. a variant of presentlang (because in this case,
8529
 
           #      presentlang can be used as a fallback for messages
8530
 
           #      which are not translated in the desiredlang catalog).
8531
 
           case "$desiredlang" in
8532
 
             "$presentlang"*) useit=yes;;
8533
 
           esac
8534
 
         done
8535
 
         if test $useit = yes; then
8536
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
8537
 
         fi
8538
 
       done
8539
 
       LINGUAS=$NEW_LINGUAS
8540
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
8541
 
$as_echo "$LINGUAS" >&6; }
8542
 
     fi
8543
 
 
8544
 
          if test -n "$LINGUAS"; then
8545
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
8546
 
     fi
8547
 
   fi
8548
 
 
8549
 
            MKINSTALLDIRS=
8550
 
   if test -n "$ac_aux_dir"; then
8551
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
8552
 
   fi
8553
 
   if test -z "$MKINSTALLDIRS"; then
8554
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
8555
 
   fi
8556
 
 
8557
 
 
8558
 
         test -d po || mkdir po
8559
 
   if test "x$srcdir" != "x."; then
8560
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8561
 
       posrcprefix="$srcdir/"
8562
 
     else
8563
 
       posrcprefix="../$srcdir/"
8564
 
     fi
8565
 
   else
8566
 
     posrcprefix="../"
8567
 
   fi
8568
 
   rm -f po/POTFILES
8569
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8570
 
        < $srcdir/po/POTFILES.in > po/POTFILES
8571
 
 
8572
 
glib_save_prefix="$prefix"
8573
 
glib_save_exec_prefix="$exec_prefix"
8574
 
glib_save_datarootdir="$datarootdir"
8575
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8576
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
8577
 
datarootdir=`eval echo "${datarootdir}"`
8578
 
if test "x$CATOBJEXT" = "x.mo" ; then
8579
 
  localedir=`eval echo "${libdir}/locale"`
8580
 
else
8581
 
  localedir=`eval echo "${datadir}/locale"`
8582
 
fi
8583
 
prefix="$glib_save_prefix"
8584
 
exec_prefix="$glib_save_exec_prefix"
8585
 
datarootdir="$glib_save_datarootdir"
8586
 
 
8587
 
cat >>confdefs.h <<_ACEOF
8588
 
#define PACKAGE_LOCALE_DIR "$localedir"
8589
 
_ACEOF
8590
 
 
8591
 
 
8592
 
 
8593
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8594
 
$as_echo_n "checking whether NLS is requested... " >&6; }
8595
 
    # Check whether --enable-nls was given.
8596
 
if test "${enable_nls+set}" = set; then :
8597
 
  enableval=$enable_nls; USE_NLS=$enableval
8598
 
else
8599
 
  USE_NLS=yes
8600
 
fi
8601
 
 
8602
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8603
 
$as_echo "$USE_NLS" >&6; }
8604
 
 
8605
 
 
8606
 
 
8607
 
 
8608
 
case "$am__api_version" in
8609
 
    1.01234)
8610
 
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
8611
 
    ;;
8612
 
    *)
8613
 
    ;;
8614
 
esac
8615
 
 
8616
 
if test -n "0.35.0"; then
8617
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
8618
 
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
8619
 
 
8620
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8621
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
8622
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8623
 
 
8624
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
8625
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
8626
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
8627
 
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
8628
 
fi
8629
 
 
8630
 
# Extract the first word of "intltool-update", so it can be a program name with args.
8631
 
set dummy intltool-update; ac_word=$2
8632
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8633
 
$as_echo_n "checking for $ac_word... " >&6; }
8634
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
8635
 
  $as_echo_n "(cached) " >&6
8636
 
else
8637
 
  case $INTLTOOL_UPDATE in
8638
 
  [\\/]* | ?:[\\/]*)
8639
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
8640
 
  ;;
8641
 
  *)
8642
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8643
 
for as_dir in $PATH
8644
 
do
8645
 
  IFS=$as_save_IFS
8646
 
  test -z "$as_dir" && as_dir=.
8647
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8648
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8649
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
8650
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8651
 
    break 2
8652
 
  fi
8653
 
done
8654
 
  done
8655
 
IFS=$as_save_IFS
8656
 
 
8657
 
  ;;
8658
 
esac
8659
 
fi
8660
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
8661
 
if test -n "$INTLTOOL_UPDATE"; then
8662
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
8663
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
8664
 
else
8665
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8666
 
$as_echo "no" >&6; }
8667
 
fi
8668
 
 
8669
 
 
8670
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
8671
 
set dummy intltool-merge; ac_word=$2
8672
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8673
 
$as_echo_n "checking for $ac_word... " >&6; }
8674
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
8675
 
  $as_echo_n "(cached) " >&6
8676
 
else
8677
 
  case $INTLTOOL_MERGE in
8678
 
  [\\/]* | ?:[\\/]*)
8679
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
8680
 
  ;;
8681
 
  *)
8682
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8683
 
for as_dir in $PATH
8684
 
do
8685
 
  IFS=$as_save_IFS
8686
 
  test -z "$as_dir" && as_dir=.
8687
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8688
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8689
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
8690
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8691
 
    break 2
8692
 
  fi
8693
 
done
8694
 
  done
8695
 
IFS=$as_save_IFS
8696
 
 
8697
 
  ;;
8698
 
esac
8699
 
fi
8700
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
8701
 
if test -n "$INTLTOOL_MERGE"; then
8702
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
8703
 
$as_echo "$INTLTOOL_MERGE" >&6; }
8704
 
else
8705
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706
 
$as_echo "no" >&6; }
8707
 
fi
8708
 
 
8709
 
 
8710
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
8711
 
set dummy intltool-extract; ac_word=$2
8712
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8713
 
$as_echo_n "checking for $ac_word... " >&6; }
8714
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
8715
 
  $as_echo_n "(cached) " >&6
8716
 
else
8717
 
  case $INTLTOOL_EXTRACT in
8718
 
  [\\/]* | ?:[\\/]*)
8719
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
8720
 
  ;;
8721
 
  *)
8722
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8723
 
for as_dir in $PATH
8724
 
do
8725
 
  IFS=$as_save_IFS
8726
 
  test -z "$as_dir" && as_dir=.
8727
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8728
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8729
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
8730
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8731
 
    break 2
8732
 
  fi
8733
 
done
8734
 
  done
8735
 
IFS=$as_save_IFS
8736
 
 
8737
 
  ;;
8738
 
esac
8739
 
fi
8740
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
8741
 
if test -n "$INTLTOOL_EXTRACT"; then
8742
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
8743
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
8744
 
else
8745
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746
 
$as_echo "no" >&6; }
8747
 
fi
8748
 
 
8749
 
 
8750
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
8751
 
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
8752
 
fi
8753
 
 
8754
 
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8755
 
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8756
 
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8757
 
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8758
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
8759
 
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8760
 
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8761
 
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8762
 
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8763
 
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8764
 
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8765
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
8766
 
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8767
 
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8768
 
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8769
 
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8770
 
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8771
 
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8772
 
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8773
 
 
8774
 
 
8775
 
 
8776
 
 
8777
 
 
8778
 
 
8779
 
 
8780
 
 
8781
 
 
8782
 
 
8783
 
 
8784
 
 
8785
 
 
8786
 
 
8787
 
 
8788
 
 
8789
 
 
8790
 
 
8791
 
 
8792
 
 
8793
 
 
8794
 
 
8795
 
 
8796
 
 
8797
 
 
8798
 
 
8799
 
 
8800
 
 
8801
 
 
8802
 
 
8803
 
 
8804
 
 
8805
 
 
8806
 
 
8807
 
 
8808
 
 
8809
 
 
8810
 
 
8811
 
 
8812
 
 
8813
 
 
8814
 
 
8815
 
 
8816
 
 
8817
 
 
8818
 
 
8819
 
 
8820
 
 
8821
 
 
8822
 
 
8823
 
 
8824
 
 
8825
 
 
8826
 
 
8827
 
 
8828
 
 
8829
 
 
8830
 
 
8831
 
 
8832
 
 
8833
 
 
8834
 
 
8835
 
 
8836
 
 
8837
 
 
8838
 
 
8839
 
 
8840
 
 
8841
 
 
8842
 
 
8843
 
 
8844
 
 
8845
 
 
8846
 
 
8847
 
 
8848
 
 
8849
 
 
8850
 
 
8851
 
 
8852
 
 
8853
 
 
8854
 
 
8855
 
 
8856
 
 
8857
 
 
8858
 
 
8859
 
 
8860
 
 
8861
 
 
8862
 
 
8863
 
 
8864
 
 
8865
 
 
8866
 
 
8867
 
 
8868
 
 
8869
 
 
8870
 
# Check the gettext tools to make sure they are GNU
8871
 
# Extract the first word of "xgettext", so it can be a program name with args.
8872
 
set dummy xgettext; ac_word=$2
8873
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8874
 
$as_echo_n "checking for $ac_word... " >&6; }
8875
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
8876
 
  $as_echo_n "(cached) " >&6
8877
 
else
8878
 
  case $XGETTEXT in
8879
 
  [\\/]* | ?:[\\/]*)
8880
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
8881
 
  ;;
8882
 
  *)
8883
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8884
 
for as_dir in $PATH
8885
 
do
8886
 
  IFS=$as_save_IFS
8887
 
  test -z "$as_dir" && as_dir=.
8888
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8889
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8890
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
8891
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8892
 
    break 2
8893
 
  fi
8894
 
done
8895
 
  done
8896
 
IFS=$as_save_IFS
8897
 
 
8898
 
  ;;
8899
 
esac
8900
 
fi
8901
 
XGETTEXT=$ac_cv_path_XGETTEXT
8902
 
if test -n "$XGETTEXT"; then
8903
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
8904
 
$as_echo "$XGETTEXT" >&6; }
8905
 
else
8906
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8907
 
$as_echo "no" >&6; }
8908
 
fi
8909
 
 
8910
 
 
8911
 
# Extract the first word of "msgmerge", so it can be a program name with args.
8912
 
set dummy msgmerge; ac_word=$2
8913
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8914
 
$as_echo_n "checking for $ac_word... " >&6; }
8915
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
8916
 
  $as_echo_n "(cached) " >&6
8917
 
else
8918
 
  case $MSGMERGE in
8919
 
  [\\/]* | ?:[\\/]*)
8920
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
8921
 
  ;;
8922
 
  *)
8923
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8924
 
for as_dir in $PATH
8925
 
do
8926
 
  IFS=$as_save_IFS
8927
 
  test -z "$as_dir" && as_dir=.
8928
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8929
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8930
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
8931
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8932
 
    break 2
8933
 
  fi
8934
 
done
8935
 
  done
8936
 
IFS=$as_save_IFS
8937
 
 
8938
 
  ;;
8939
 
esac
8940
 
fi
8941
 
MSGMERGE=$ac_cv_path_MSGMERGE
8942
 
if test -n "$MSGMERGE"; then
8943
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
8944
 
$as_echo "$MSGMERGE" >&6; }
8945
 
else
8946
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8947
 
$as_echo "no" >&6; }
8948
 
fi
8949
 
 
8950
 
 
8951
 
# Extract the first word of "msgfmt", so it can be a program name with args.
8952
 
set dummy msgfmt; ac_word=$2
8953
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8954
 
$as_echo_n "checking for $ac_word... " >&6; }
8955
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
8956
 
  $as_echo_n "(cached) " >&6
8957
 
else
8958
 
  case $MSGFMT in
8959
 
  [\\/]* | ?:[\\/]*)
8960
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
8961
 
  ;;
8962
 
  *)
8963
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8964
 
for as_dir in $PATH
8965
 
do
8966
 
  IFS=$as_save_IFS
8967
 
  test -z "$as_dir" && as_dir=.
8968
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8969
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8970
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
8971
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8972
 
    break 2
8973
 
  fi
8974
 
done
8975
 
  done
8976
 
IFS=$as_save_IFS
8977
 
 
8978
 
  ;;
8979
 
esac
8980
 
fi
8981
 
MSGFMT=$ac_cv_path_MSGFMT
8982
 
if test -n "$MSGFMT"; then
8983
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
8984
 
$as_echo "$MSGFMT" >&6; }
8985
 
else
8986
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8987
 
$as_echo "no" >&6; }
8988
 
fi
8989
 
 
8990
 
 
8991
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
8992
 
set dummy gmsgfmt; ac_word=$2
8993
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8994
 
$as_echo_n "checking for $ac_word... " >&6; }
8995
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
8996
 
  $as_echo_n "(cached) " >&6
8997
 
else
8998
 
  case $GMSGFMT in
8999
 
  [\\/]* | ?:[\\/]*)
9000
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
9001
 
  ;;
9002
 
  *)
9003
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9004
 
for as_dir in $PATH
9005
 
do
9006
 
  IFS=$as_save_IFS
9007
 
  test -z "$as_dir" && as_dir=.
9008
 
    for ac_exec_ext in '' $ac_executable_extensions; do
9009
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9010
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
9011
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9012
 
    break 2
9013
 
  fi
9014
 
done
9015
 
  done
9016
 
IFS=$as_save_IFS
9017
 
 
9018
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
9019
 
  ;;
9020
 
esac
9021
 
fi
9022
 
GMSGFMT=$ac_cv_path_GMSGFMT
9023
 
if test -n "$GMSGFMT"; then
9024
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
9025
 
$as_echo "$GMSGFMT" >&6; }
9026
 
else
9027
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9028
 
$as_echo "no" >&6; }
9029
 
fi
9030
 
 
9031
 
 
9032
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
9033
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
9034
 
fi
9035
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
9036
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
9037
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
9038
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
9039
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
9040
 
fi
9041
 
 
9042
 
# Extract the first word of "perl", so it can be a program name with args.
9043
 
set dummy perl; ac_word=$2
9044
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9045
 
$as_echo_n "checking for $ac_word... " >&6; }
9046
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
9047
 
  $as_echo_n "(cached) " >&6
9048
 
else
9049
 
  case $INTLTOOL_PERL in
9050
 
  [\\/]* | ?:[\\/]*)
9051
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
9052
 
  ;;
9053
 
  *)
9054
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9055
 
for as_dir in $PATH
9056
 
do
9057
 
  IFS=$as_save_IFS
9058
 
  test -z "$as_dir" && as_dir=.
9059
 
    for ac_exec_ext in '' $ac_executable_extensions; do
9060
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9061
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
9062
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9063
 
    break 2
9064
 
  fi
9065
 
done
9066
 
  done
9067
 
IFS=$as_save_IFS
9068
 
 
9069
 
  ;;
9070
 
esac
9071
 
fi
9072
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
9073
 
if test -n "$INTLTOOL_PERL"; then
9074
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
9075
 
$as_echo "$INTLTOOL_PERL" >&6; }
9076
 
else
9077
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9078
 
$as_echo "no" >&6; }
9079
 
fi
9080
 
 
9081
 
 
9082
 
if test -z "$INTLTOOL_PERL"; then
9083
 
   as_fn_error $? "perl not found" "$LINENO" 5
9084
 
fi
9085
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
9086
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
9087
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
9088
 
if test $? -ne 0; then
9089
 
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
9090
 
else
9091
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
9092
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
9093
 
$as_echo "$IT_PERL_VERSION" >&6; }
9094
 
fi
9095
 
if test "x" != "xno-xml"; then
9096
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
9097
 
$as_echo_n "checking for XML::Parser... " >&6; }
9098
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
9099
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9100
 
$as_echo "ok" >&6; }
9101
 
   else
9102
 
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
9103
 
   fi
9104
 
fi
9105
 
 
9106
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
9107
 
 
9108
 
 
9109
 
# Set DATADIRNAME correctly if it is not set yet
9110
 
# (copied from glib-gettext.m4)
9111
 
if test -z "$DATADIRNAME"; then
9112
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113
 
/* end confdefs.h.  */
9114
 
 
9115
 
int
9116
 
main ()
9117
 
{
9118
 
extern int _nl_msg_cat_cntr;
9119
 
                       return _nl_msg_cat_cntr
9120
 
  ;
9121
 
  return 0;
9122
 
}
9123
 
_ACEOF
9124
 
if ac_fn_c_try_link "$LINENO"; then :
9125
 
  DATADIRNAME=share
9126
 
else
9127
 
  case $host in
9128
 
    *-*-solaris*)
9129
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
9130
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
9131
 
  DATADIRNAME=share
9132
 
else
9133
 
  DATADIRNAME=lib
9134
 
fi
9135
 
 
9136
 
    ;;
9137
 
    *)
9138
 
    DATADIRNAME=lib
9139
 
    ;;
9140
 
    esac
9141
 
fi
9142
 
rm -f core conftest.err conftest.$ac_objext \
9143
 
    conftest$ac_exeext conftest.$ac_ext
9144
 
fi
9145
 
 
9146
 
 
9147
 
 
9148
 
 
9149
 
 
9150
 
 
9151
 
# required versions
9152
 
SQLITE_REQUIRED=3.0
9153
 
GTKMM_REQUIRED=2.12.0
9154
 
GIOMM_REQUIRED=2.10.0
9155
 
GCONF_REQUIRED=2.0
9156
 
GTHREAD_REQUIRED=2.10.0
9157
 
GNET_REQUIRED=2.0.0
9158
 
LIBXINE_REQUIRED=1.1.7
9159
 
 
9160
 
 
9161
 
 
9162
 
 
9163
 
 
9164
 
 
9165
 
 
9166
 
 
9167
 
# check for sqlite
9168
 
 
9169
 
 
9170
 
 
9171
 
 
9172
 
 
9173
 
 
9174
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9175
 
        if test -n "$ac_tool_prefix"; then
9176
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9177
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9178
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9179
 
$as_echo_n "checking for $ac_word... " >&6; }
9180
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
9181
 
  $as_echo_n "(cached) " >&6
9182
 
else
9183
 
  case $PKG_CONFIG in
9184
 
  [\\/]* | ?:[\\/]*)
9185
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9186
 
  ;;
9187
 
  *)
9188
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9189
 
for as_dir in $PATH
9190
 
do
9191
 
  IFS=$as_save_IFS
9192
 
  test -z "$as_dir" && as_dir=.
9193
 
    for ac_exec_ext in '' $ac_executable_extensions; do
9194
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9195
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9196
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9197
 
    break 2
9198
 
  fi
9199
 
done
9200
 
  done
9201
 
IFS=$as_save_IFS
9202
 
 
9203
 
  ;;
9204
 
esac
9205
 
fi
9206
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9207
 
if test -n "$PKG_CONFIG"; then
9208
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9209
 
$as_echo "$PKG_CONFIG" >&6; }
9210
 
else
9211
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9212
 
$as_echo "no" >&6; }
9213
 
fi
9214
 
 
9215
 
 
9216
 
fi
9217
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
9218
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
9219
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
9220
 
set dummy pkg-config; ac_word=$2
9221
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9222
 
$as_echo_n "checking for $ac_word... " >&6; }
9223
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
9224
 
  $as_echo_n "(cached) " >&6
9225
 
else
9226
 
  case $ac_pt_PKG_CONFIG in
9227
 
  [\\/]* | ?:[\\/]*)
9228
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9229
 
  ;;
9230
 
  *)
9231
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9232
 
for as_dir in $PATH
9233
 
do
9234
 
  IFS=$as_save_IFS
9235
 
  test -z "$as_dir" && as_dir=.
9236
 
    for ac_exec_ext in '' $ac_executable_extensions; do
9237
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9238
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9239
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9240
 
    break 2
9241
 
  fi
9242
 
done
9243
 
  done
9244
 
IFS=$as_save_IFS
9245
 
 
9246
 
  ;;
9247
 
esac
9248
 
fi
9249
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9250
 
if test -n "$ac_pt_PKG_CONFIG"; then
9251
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9252
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
9253
 
else
9254
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255
 
$as_echo "no" >&6; }
9256
 
fi
9257
 
 
9258
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
9259
 
    PKG_CONFIG=""
9260
 
  else
9261
 
    case $cross_compiling:$ac_tool_warned in
9262
 
yes:)
9263
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9264
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9265
 
ac_tool_warned=yes ;;
9266
 
esac
9267
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
9268
 
  fi
9269
 
else
9270
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9271
 
fi
9272
 
 
9273
 
fi
9274
 
if test -n "$PKG_CONFIG"; then
9275
 
        _pkg_min_version=0.9.0
9276
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9277
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9278
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9279
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9280
 
$as_echo "yes" >&6; }
9281
 
        else
9282
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9283
 
$as_echo "no" >&6; }
9284
 
                PKG_CONFIG=""
9285
 
        fi
9286
 
fi
9287
 
 
9288
 
pkg_failed=no
9289
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
9290
 
$as_echo_n "checking for SQLITE... " >&6; }
9291
 
 
9292
 
if test -n "$SQLITE_CFLAGS"; then
9293
 
    pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
9294
 
 elif test -n "$PKG_CONFIG"; then
9295
 
    if test -n "$PKG_CONFIG" && \
9296
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$SQLITE_REQUIRED\""; } >&5
9297
 
  ($PKG_CONFIG --exists --print-errors "sqlite3 >= $SQLITE_REQUIRED") 2>&5
9298
 
  ac_status=$?
9299
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9300
 
  test $ac_status = 0; }; then
9301
 
  pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= $SQLITE_REQUIRED" 2>/dev/null`
9302
 
else
9303
 
  pkg_failed=yes
9304
 
fi
9305
 
 else
9306
 
    pkg_failed=untried
9307
 
fi
9308
 
if test -n "$SQLITE_LIBS"; then
9309
 
    pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
9310
 
 elif test -n "$PKG_CONFIG"; then
9311
 
    if test -n "$PKG_CONFIG" && \
9312
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$SQLITE_REQUIRED\""; } >&5
9313
 
  ($PKG_CONFIG --exists --print-errors "sqlite3 >= $SQLITE_REQUIRED") 2>&5
9314
 
  ac_status=$?
9315
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9316
 
  test $ac_status = 0; }; then
9317
 
  pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3 >= $SQLITE_REQUIRED" 2>/dev/null`
9318
 
else
9319
 
  pkg_failed=yes
9320
 
fi
9321
 
 else
9322
 
    pkg_failed=untried
9323
 
fi
9324
 
 
9325
 
 
9326
 
 
9327
 
if test $pkg_failed = yes; then
9328
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9329
 
$as_echo "no" >&6; }
9330
 
 
9331
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9332
 
        _pkg_short_errors_supported=yes
9333
 
else
9334
 
        _pkg_short_errors_supported=no
9335
 
fi
9336
 
        if test $_pkg_short_errors_supported = yes; then
9337
 
                SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sqlite3 >= $SQLITE_REQUIRED" 2>&1`
9338
 
        else
9339
 
                SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors "sqlite3 >= $SQLITE_REQUIRED" 2>&1`
9340
 
        fi
9341
 
        # Put the nasty error message in config.log where it belongs
9342
 
        echo "$SQLITE_PKG_ERRORS" >&5
9343
 
 
9344
 
        as_fn_error $? "Package requirements (sqlite3 >= $SQLITE_REQUIRED) were not met:
9345
 
 
9346
 
$SQLITE_PKG_ERRORS
9347
 
 
9348
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
9349
 
installed software in a non-standard prefix.
9350
 
 
9351
 
Alternatively, you may set the environment variables SQLITE_CFLAGS
9352
 
and SQLITE_LIBS to avoid the need to call pkg-config.
9353
 
See the pkg-config man page for more details." "$LINENO" 5
9354
 
elif test $pkg_failed = untried; then
9355
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9356
 
$as_echo "no" >&6; }
9357
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9358
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9359
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
9360
 
is in your PATH or set the PKG_CONFIG environment variable to the full
9361
 
path to pkg-config.
9362
 
 
9363
 
Alternatively, you may set the environment variables SQLITE_CFLAGS
9364
 
and SQLITE_LIBS to avoid the need to call pkg-config.
9365
 
See the pkg-config man page for more details.
9366
 
 
9367
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9368
 
See \`config.log' for more details" "$LINENO" 5 ; }
9369
 
else
9370
 
        SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
9371
 
        SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
9372
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9373
 
$as_echo "yes" >&6; }
9374
 
 
9375
 
fi
9376
 
 
9377
 
 
9378
 
pkg_failed=no
9379
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ME_TV" >&5
9380
 
$as_echo_n "checking for ME_TV... " >&6; }
9381
 
 
9382
 
if test -n "$ME_TV_CFLAGS"; then
9383
 
    pkg_cv_ME_TV_CFLAGS="$ME_TV_CFLAGS"
9384
 
 elif test -n "$PKG_CONFIG"; then
9385
 
    if test -n "$PKG_CONFIG" && \
9386
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
9387
 
        gtkmm-2.4 >= \$GTKMM_REQUIRED
9388
 
        giomm-2.4 >= \$GIOMM_REQUIRED
9389
 
        gthread-2.0 >= \$GTHREAD_REQUIRED
9390
 
        gconfmm-2.6 >= \$GCONF_REQUIRED
9391
 
        unique-1.0
9392
 
        x11
9393
 
        dbus-1 dbus-glib-1\""; } >&5
9394
 
  ($PKG_CONFIG --exists --print-errors "
9395
 
        gtkmm-2.4 >= $GTKMM_REQUIRED
9396
 
        giomm-2.4 >= $GIOMM_REQUIRED
9397
 
        gthread-2.0 >= $GTHREAD_REQUIRED
9398
 
        gconfmm-2.6 >= $GCONF_REQUIRED
9399
 
        unique-1.0
9400
 
        x11
9401
 
        dbus-1 dbus-glib-1") 2>&5
9402
 
  ac_status=$?
9403
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9404
 
  test $ac_status = 0; }; then
9405
 
  pkg_cv_ME_TV_CFLAGS=`$PKG_CONFIG --cflags "
9406
 
        gtkmm-2.4 >= $GTKMM_REQUIRED
9407
 
        giomm-2.4 >= $GIOMM_REQUIRED
9408
 
        gthread-2.0 >= $GTHREAD_REQUIRED
9409
 
        gconfmm-2.6 >= $GCONF_REQUIRED
9410
 
        unique-1.0
9411
 
        x11
9412
 
        dbus-1 dbus-glib-1" 2>/dev/null`
9413
 
else
9414
 
  pkg_failed=yes
9415
 
fi
9416
 
 else
9417
 
    pkg_failed=untried
9418
 
fi
9419
 
if test -n "$ME_TV_LIBS"; then
9420
 
    pkg_cv_ME_TV_LIBS="$ME_TV_LIBS"
9421
 
 elif test -n "$PKG_CONFIG"; then
9422
 
    if test -n "$PKG_CONFIG" && \
9423
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
9424
 
        gtkmm-2.4 >= \$GTKMM_REQUIRED
9425
 
        giomm-2.4 >= \$GIOMM_REQUIRED
9426
 
        gthread-2.0 >= \$GTHREAD_REQUIRED
9427
 
        gconfmm-2.6 >= \$GCONF_REQUIRED
9428
 
        unique-1.0
9429
 
        x11
9430
 
        dbus-1 dbus-glib-1\""; } >&5
9431
 
  ($PKG_CONFIG --exists --print-errors "
9432
 
        gtkmm-2.4 >= $GTKMM_REQUIRED
9433
 
        giomm-2.4 >= $GIOMM_REQUIRED
9434
 
        gthread-2.0 >= $GTHREAD_REQUIRED
9435
 
        gconfmm-2.6 >= $GCONF_REQUIRED
9436
 
        unique-1.0
9437
 
        x11
9438
 
        dbus-1 dbus-glib-1") 2>&5
9439
 
  ac_status=$?
9440
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9441
 
  test $ac_status = 0; }; then
9442
 
  pkg_cv_ME_TV_LIBS=`$PKG_CONFIG --libs "
9443
 
        gtkmm-2.4 >= $GTKMM_REQUIRED
9444
 
        giomm-2.4 >= $GIOMM_REQUIRED
9445
 
        gthread-2.0 >= $GTHREAD_REQUIRED
9446
 
        gconfmm-2.6 >= $GCONF_REQUIRED
9447
 
        unique-1.0
9448
 
        x11
9449
 
        dbus-1 dbus-glib-1" 2>/dev/null`
9450
 
else
9451
 
  pkg_failed=yes
9452
 
fi
9453
 
 else
9454
 
    pkg_failed=untried
9455
 
fi
9456
 
 
9457
 
 
9458
 
 
9459
 
if test $pkg_failed = yes; then
9460
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9461
 
$as_echo "no" >&6; }
9462
 
 
9463
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9464
 
        _pkg_short_errors_supported=yes
9465
 
else
9466
 
        _pkg_short_errors_supported=no
9467
 
fi
9468
 
        if test $_pkg_short_errors_supported = yes; then
9469
 
                ME_TV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
9470
 
        gtkmm-2.4 >= $GTKMM_REQUIRED
9471
 
        giomm-2.4 >= $GIOMM_REQUIRED
9472
 
        gthread-2.0 >= $GTHREAD_REQUIRED
9473
 
        gconfmm-2.6 >= $GCONF_REQUIRED
9474
 
        unique-1.0
9475
 
        x11
9476
 
        dbus-1 dbus-glib-1" 2>&1`
9477
 
        else
9478
 
                ME_TV_PKG_ERRORS=`$PKG_CONFIG --print-errors "
9479
 
        gtkmm-2.4 >= $GTKMM_REQUIRED
9480
 
        giomm-2.4 >= $GIOMM_REQUIRED
9481
 
        gthread-2.0 >= $GTHREAD_REQUIRED
9482
 
        gconfmm-2.6 >= $GCONF_REQUIRED
9483
 
        unique-1.0
9484
 
        x11
9485
 
        dbus-1 dbus-glib-1" 2>&1`
9486
 
        fi
9487
 
        # Put the nasty error message in config.log where it belongs
9488
 
        echo "$ME_TV_PKG_ERRORS" >&5
9489
 
 
9490
 
        as_fn_error $? "Package requirements (
9491
 
        gtkmm-2.4 >= $GTKMM_REQUIRED
9492
 
        giomm-2.4 >= $GIOMM_REQUIRED
9493
 
        gthread-2.0 >= $GTHREAD_REQUIRED
9494
 
        gconfmm-2.6 >= $GCONF_REQUIRED
9495
 
        unique-1.0
9496
 
        x11
9497
 
        dbus-1 dbus-glib-1) were not met:
9498
 
 
9499
 
$ME_TV_PKG_ERRORS
9500
 
 
9501
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
9502
 
installed software in a non-standard prefix.
9503
 
 
9504
 
Alternatively, you may set the environment variables ME_TV_CFLAGS
9505
 
and ME_TV_LIBS to avoid the need to call pkg-config.
9506
 
See the pkg-config man page for more details." "$LINENO" 5
9507
 
elif test $pkg_failed = untried; then
9508
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9509
 
$as_echo "no" >&6; }
9510
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9511
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9512
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
9513
 
is in your PATH or set the PKG_CONFIG environment variable to the full
9514
 
path to pkg-config.
9515
 
 
9516
 
Alternatively, you may set the environment variables ME_TV_CFLAGS
9517
 
and ME_TV_LIBS to avoid the need to call pkg-config.
9518
 
See the pkg-config man page for more details.
9519
 
 
9520
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9521
 
See \`config.log' for more details" "$LINENO" 5 ; }
9522
 
else
9523
 
        ME_TV_CFLAGS=$pkg_cv_ME_TV_CFLAGS
9524
 
        ME_TV_LIBS=$pkg_cv_ME_TV_LIBS
9525
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9526
 
$as_echo "yes" >&6; }
9527
 
 
9528
 
fi
9529
 
 
9530
 
 
9531
 
 
9532
 
# GConf
9533
 
# Extract the first word of "gconftool-2", so it can be a program name with args.
9534
 
set dummy gconftool-2; ac_word=$2
9535
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9536
 
$as_echo_n "checking for $ac_word... " >&6; }
9537
 
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
9538
 
  $as_echo_n "(cached) " >&6
9539
 
else
9540
 
  case $GCONFTOOL in
9541
 
  [\\/]* | ?:[\\/]*)
9542
 
  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
9543
 
  ;;
9544
 
  *)
9545
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9546
 
for as_dir in $PATH
9547
 
do
9548
 
  IFS=$as_save_IFS
9549
 
  test -z "$as_dir" && as_dir=.
9550
 
    for ac_exec_ext in '' $ac_executable_extensions; do
9551
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9552
 
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
9553
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9554
 
    break 2
9555
 
  fi
9556
 
done
9557
 
  done
9558
 
IFS=$as_save_IFS
9559
 
 
9560
 
  test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
9561
 
  ;;
9562
 
esac
9563
 
fi
9564
 
GCONFTOOL=$ac_cv_path_GCONFTOOL
9565
 
if test -n "$GCONFTOOL"; then
9566
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
9567
 
$as_echo "$GCONFTOOL" >&6; }
9568
 
else
9569
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9570
 
$as_echo "no" >&6; }
9571
 
fi
9572
 
 
9573
 
 
9574
 
 
9575
 
if test x"$GCONFTOOL" = xno; then
9576
 
  as_fn_error $? "gconftool-2 executable not found in your path - should be installed with GConf" "$LINENO" 5
9577
 
fi
9578
 
 
9579
 
 
9580
 
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
9581
 
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
9582
 
  else
9583
 
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
9584
 
  fi
9585
 
 
9586
 
 
9587
 
# Check whether --with-gconf-source was given.
9588
 
if test "${with_gconf_source+set}" = set; then :
9589
 
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
9590
 
fi
9591
 
 
9592
 
 
9593
 
 
9594
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
9595
 
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
9596
 
 
9597
 
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
9598
 
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
9599
 
  fi
9600
 
 
9601
 
 
9602
 
# Check whether --with-gconf-schema-file-dir was given.
9603
 
if test "${with_gconf_schema_file_dir+set}" = set; then :
9604
 
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
9605
 
fi
9606
 
 
9607
 
 
9608
 
 
9609
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
9610
 
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
9611
 
 
9612
 
  # Check whether --enable-schemas-install was given.
9613
 
if test "${enable_schemas_install+set}" = set; then :
9614
 
  enableval=$enable_schemas_install; case ${enableval} in
9615
 
       yes|no) ;;
9616
 
       *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5  ;;
9617
 
      esac
9618
 
fi
9619
 
 
9620
 
   if test "$enable_schemas_install" != no; then
9621
 
  GCONF_SCHEMAS_INSTALL_TRUE=
9622
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
9623
 
else
9624
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
9625
 
  GCONF_SCHEMAS_INSTALL_FALSE=
9626
 
fi
9627
 
 
9628
 
 
9629
 
 
9630
 
##################################################
9631
 
# Check for gtk-doc.
9632
 
##################################################
9633
 
 
9634
 
# Check whether --with-html-dir was given.
9635
 
if test "${with_html_dir+set}" = set; then :
9636
 
  withval=$with_html_dir;
9637
 
fi
9638
 
 
9639
 
if test "x$with_html_dir" = "x" ; then
9640
 
  HTML_DIR='${datadir}/gtk-doc/html'
9641
 
else
9642
 
  HTML_DIR=$with_html_dir
9643
 
fi
9644
 
 
9645
 
 
9646
 
gtk_doc_min_version=1.0
9647
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gtk-doc version >= $gtk_doc_min_version" >&5
9648
 
$as_echo_n "checking gtk-doc version >= $gtk_doc_min_version... " >&6; }
9649
 
if pkg-config --atleast-version=$gtk_doc_min_version gtk-doc; then
9650
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9651
 
$as_echo "yes" >&6; }
9652
 
  GTKDOC=true
9653
 
else
9654
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9655
 
$as_echo "no" >&6; }
9656
 
  GTKDOC=false
9657
 
fi
9658
 
# Check whether --enable-gtk-doc was given.
9659
 
if test "${enable_gtk_doc+set}" = set; then :
9660
 
  enableval=$enable_gtk_doc; enable_gtk_doc="$enableval"
9661
 
else
9662
 
  enable_gtk_doc=auto
9663
 
fi
9664
 
 
9665
 
if test x$enable_gtk_doc = xauto ; then
9666
 
  if test x$GTKDOC = xtrue ; then
9667
 
    enable_gtk_doc=yes
9668
 
  else
9669
 
    enable_gtk_doc=no
9670
 
  fi
9671
 
fi
9672
 
 if test x$enable_gtk_doc = xyes; then
9673
 
  ENABLE_GTK_DOC_TRUE=
9674
 
  ENABLE_GTK_DOC_FALSE='#'
9675
 
else
9676
 
  ENABLE_GTK_DOC_TRUE='#'
9677
 
  ENABLE_GTK_DOC_FALSE=
9678
 
fi
9679
 
 
9680
 
 
9681
 
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
9682
 
 
9683
 
ac_config_headers="$ac_config_headers config.h:config.h.in"
9684
 
 
9685
 
 
9686
 
pkg_failed=no
9687
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ME_TV_PLAYER" >&5
9688
 
$as_echo_n "checking for ME_TV_PLAYER... " >&6; }
9689
 
 
9690
 
if test -n "$ME_TV_PLAYER_CFLAGS"; then
9691
 
    pkg_cv_ME_TV_PLAYER_CFLAGS="$ME_TV_PLAYER_CFLAGS"
9692
 
 elif test -n "$PKG_CONFIG"; then
9693
 
    if test -n "$PKG_CONFIG" && \
9694
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= \$LIBXINE_REQUIRED dbus-glib-1\""; } >&5
9695
 
  ($PKG_CONFIG --exists --print-errors "libxine >= $LIBXINE_REQUIRED dbus-glib-1") 2>&5
9696
 
  ac_status=$?
9697
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9698
 
  test $ac_status = 0; }; then
9699
 
  pkg_cv_ME_TV_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "libxine >= $LIBXINE_REQUIRED dbus-glib-1" 2>/dev/null`
9700
 
else
9701
 
  pkg_failed=yes
9702
 
fi
9703
 
 else
9704
 
    pkg_failed=untried
9705
 
fi
9706
 
if test -n "$ME_TV_PLAYER_LIBS"; then
9707
 
    pkg_cv_ME_TV_PLAYER_LIBS="$ME_TV_PLAYER_LIBS"
9708
 
 elif test -n "$PKG_CONFIG"; then
9709
 
    if test -n "$PKG_CONFIG" && \
9710
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= \$LIBXINE_REQUIRED dbus-glib-1\""; } >&5
9711
 
  ($PKG_CONFIG --exists --print-errors "libxine >= $LIBXINE_REQUIRED dbus-glib-1") 2>&5
9712
 
  ac_status=$?
9713
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9714
 
  test $ac_status = 0; }; then
9715
 
  pkg_cv_ME_TV_PLAYER_LIBS=`$PKG_CONFIG --libs "libxine >= $LIBXINE_REQUIRED dbus-glib-1" 2>/dev/null`
9716
 
else
9717
 
  pkg_failed=yes
9718
 
fi
9719
 
 else
9720
 
    pkg_failed=untried
9721
 
fi
9722
 
 
9723
 
 
9724
 
 
9725
 
if test $pkg_failed = yes; then
9726
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9727
 
$as_echo "no" >&6; }
9728
 
 
9729
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9730
 
        _pkg_short_errors_supported=yes
9731
 
else
9732
 
        _pkg_short_errors_supported=no
9733
 
fi
9734
 
        if test $_pkg_short_errors_supported = yes; then
9735
 
                ME_TV_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxine >= $LIBXINE_REQUIRED dbus-glib-1" 2>&1`
9736
 
        else
9737
 
                ME_TV_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxine >= $LIBXINE_REQUIRED dbus-glib-1" 2>&1`
9738
 
        fi
9739
 
        # Put the nasty error message in config.log where it belongs
9740
 
        echo "$ME_TV_PLAYER_PKG_ERRORS" >&5
9741
 
 
9742
 
        as_fn_error $? "Package requirements (libxine >= $LIBXINE_REQUIRED dbus-glib-1) were not met:
9743
 
 
9744
 
$ME_TV_PLAYER_PKG_ERRORS
9745
 
 
9746
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
9747
 
installed software in a non-standard prefix.
9748
 
 
9749
 
Alternatively, you may set the environment variables ME_TV_PLAYER_CFLAGS
9750
 
and ME_TV_PLAYER_LIBS to avoid the need to call pkg-config.
9751
 
See the pkg-config man page for more details." "$LINENO" 5
9752
 
elif test $pkg_failed = untried; then
9753
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9754
 
$as_echo "no" >&6; }
9755
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9756
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9757
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
9758
 
is in your PATH or set the PKG_CONFIG environment variable to the full
9759
 
path to pkg-config.
9760
 
 
9761
 
Alternatively, you may set the environment variables ME_TV_PLAYER_CFLAGS
9762
 
and ME_TV_PLAYER_LIBS to avoid the need to call pkg-config.
9763
 
See the pkg-config man page for more details.
9764
 
 
9765
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9766
 
See \`config.log' for more details" "$LINENO" 5 ; }
9767
 
else
9768
 
        ME_TV_PLAYER_CFLAGS=$pkg_cv_ME_TV_PLAYER_CFLAGS
9769
 
        ME_TV_PLAYER_LIBS=$pkg_cv_ME_TV_PLAYER_LIBS
9770
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9771
 
$as_echo "yes" >&6; }
9772
 
 
9773
 
fi
9774
 
cat >confcache <<\_ACEOF
9775
 
# This file is a shell script that caches the results of configure
9776
 
# tests run on this system so they can be shared between configure
9777
 
# scripts and configure runs, see configure's option --config-cache.
9778
 
# It is not useful on other systems.  If it contains results you don't
9779
 
# want to keep, you may remove or edit it.
9780
 
#
9781
 
# config.status only pays attention to the cache file if you give it
9782
 
# the --recheck option to rerun configure.
9783
 
#
9784
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
9785
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
9786
 
# following values.
9787
 
 
9788
 
_ACEOF
9789
 
 
9790
 
# The following way of writing the cache mishandles newlines in values,
9791
 
# but we know of no workaround that is simple, portable, and efficient.
9792
 
# So, we kill variables containing newlines.
9793
 
# Ultrix sh set writes to stderr and can't be redirected directly,
9794
 
# and sets the high bit in the cache file unless we assign to the vars.
9795
 
(
9796
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9797
 
    eval ac_val=\$$ac_var
9798
 
    case $ac_val in #(
9799
 
    *${as_nl}*)
9800
 
      case $ac_var in #(
9801
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9802
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9803
 
      esac
9804
 
      case $ac_var in #(
9805
 
      _ | IFS | as_nl) ;; #(
9806
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9807
 
      *) { eval $ac_var=; unset $ac_var;} ;;
9808
 
      esac ;;
9809
 
    esac
9810
 
  done
9811
 
 
9812
 
  (set) 2>&1 |
9813
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
9814
 
    *${as_nl}ac_space=\ *)
9815
 
      # `set' does not quote correctly, so add quotes: double-quote
9816
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
9817
 
      sed -n \
9818
 
        "s/'/'\\\\''/g;
9819
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9820
 
      ;; #(
9821
 
    *)
9822
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
9823
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9824
 
      ;;
9825
 
    esac |
9826
 
    sort
9827
 
) |
9828
 
  sed '
9829
 
     /^ac_cv_env_/b end
9830
 
     t clear
9831
 
     :clear
9832
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9833
 
     t end
9834
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9835
 
     :end' >>confcache
9836
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9837
 
  if test -w "$cache_file"; then
9838
 
    test "x$cache_file" != "x/dev/null" &&
9839
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9840
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
9841
 
    cat confcache >$cache_file
9842
 
  else
9843
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9844
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9845
 
  fi
9846
 
fi
9847
 
rm -f confcache
9848
 
 
9849
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
9850
 
# Let make expand exec_prefix.
9851
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9852
 
 
9853
 
DEFS=-DHAVE_CONFIG_H
9854
 
 
9855
 
ac_libobjs=
9856
 
ac_ltlibobjs=
9857
 
U=
9858
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9859
 
  # 1. Remove the extension, and $U if already installed.
9860
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9861
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9862
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9863
 
  #    will be set to the directory where LIBOBJS objects are built.
9864
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9865
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9866
 
done
9867
 
LIBOBJS=$ac_libobjs
9868
 
 
9869
 
LTLIBOBJS=$ac_ltlibobjs
9870
 
 
9871
 
 
9872
 
 if test -n "$EXEEXT"; then
9873
 
  am__EXEEXT_TRUE=
9874
 
  am__EXEEXT_FALSE='#'
9875
 
else
9876
 
  am__EXEEXT_TRUE='#'
9877
 
  am__EXEEXT_FALSE=
9878
 
fi
9879
 
 
9880
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9881
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
9882
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9883
 
fi
9884
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9885
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9886
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9887
 
fi
9888
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9889
 
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
9890
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9891
 
fi
9892
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9893
 
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
9894
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9895
 
fi
9896
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9897
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9898
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9899
 
fi
9900
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9901
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9902
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9903
 
fi
9904
 
 
9905
 
  ac_config_commands="$ac_config_commands po/stamp-it"
9906
 
 
9907
 
 
9908
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
9909
 
  as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9910
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9911
 
fi
9912
 
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
9913
 
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
9914
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9915
 
fi
9916
 
 
9917
 
: ${CONFIG_STATUS=./config.status}
9918
 
ac_write_fail=0
9919
 
ac_clean_files_save=$ac_clean_files
9920
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9921
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9922
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9923
 
as_write_fail=0
9924
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9925
 
#! $SHELL
9926
 
# Generated by $as_me.
9927
 
# Run this file to recreate the current configuration.
9928
 
# Compiler output produced by configure, useful for debugging
9929
 
# configure, is in config.log if it exists.
9930
 
 
9931
 
debug=false
9932
 
ac_cs_recheck=false
9933
 
ac_cs_silent=false
9934
 
 
9935
 
SHELL=\${CONFIG_SHELL-$SHELL}
9936
 
export SHELL
9937
 
_ASEOF
9938
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9939
 
## -------------------- ##
9940
 
## M4sh Initialization. ##
9941
 
## -------------------- ##
9942
 
 
9943
 
# Be more Bourne compatible
9944
 
DUALCASE=1; export DUALCASE # for MKS sh
9945
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9946
 
  emulate sh
9947
 
  NULLCMD=:
9948
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9949
 
  # is contrary to our usage.  Disable this feature.
9950
 
  alias -g '${1+"$@"}'='"$@"'
9951
 
  setopt NO_GLOB_SUBST
9952
 
else
9953
 
  case `(set -o) 2>/dev/null` in #(
9954
 
  *posix*) :
9955
 
    set -o posix ;; #(
9956
 
  *) :
9957
 
     ;;
9958
 
esac
9959
 
fi
9960
 
 
9961
 
 
9962
 
as_nl='
9963
 
'
9964
 
export as_nl
9965
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
9966
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9967
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9968
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9969
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
9970
 
# but without wasting forks for bash or zsh.
9971
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
9972
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9973
 
  as_echo='print -r --'
9974
 
  as_echo_n='print -rn --'
9975
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9976
 
  as_echo='printf %s\n'
9977
 
  as_echo_n='printf %s'
9978
 
else
9979
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9980
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9981
 
    as_echo_n='/usr/ucb/echo -n'
9982
 
  else
9983
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9984
 
    as_echo_n_body='eval
9985
 
      arg=$1;
9986
 
      case $arg in #(
9987
 
      *"$as_nl"*)
9988
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
9989
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9990
 
      esac;
9991
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9992
 
    '
9993
 
    export as_echo_n_body
9994
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
9995
 
  fi
9996
 
  export as_echo_body
9997
 
  as_echo='sh -c $as_echo_body as_echo'
9998
 
fi
9999
 
 
10000
 
# The user is always right.
10001
 
if test "${PATH_SEPARATOR+set}" != set; then
10002
 
  PATH_SEPARATOR=:
10003
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10004
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10005
 
      PATH_SEPARATOR=';'
10006
 
  }
10007
 
fi
10008
 
 
10009
 
 
10010
 
# IFS
10011
 
# We need space, tab and new line, in precisely that order.  Quoting is
10012
 
# there to prevent editors from complaining about space-tab.
10013
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
10014
 
# splitting by setting IFS to empty value.)
10015
 
IFS=" ""        $as_nl"
10016
 
 
10017
 
# Find who we are.  Look in the path if we contain no directory separator.
10018
 
case $0 in #((
10019
 
  *[\\/]* ) as_myself=$0 ;;
10020
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10021
 
for as_dir in $PATH
10022
 
do
10023
 
  IFS=$as_save_IFS
10024
 
  test -z "$as_dir" && as_dir=.
10025
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10026
 
  done
10027
 
IFS=$as_save_IFS
10028
 
 
10029
 
     ;;
10030
 
esac
10031
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
10032
 
# in which case we are not to be found in the path.
10033
 
if test "x$as_myself" = x; then
10034
 
  as_myself=$0
10035
 
fi
10036
 
if test ! -f "$as_myself"; then
10037
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10038
 
  exit 1
10039
 
fi
10040
 
 
10041
 
# Unset variables that we do not need and which cause bugs (e.g. in
10042
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
10043
 
# suppresses any "Segmentation fault" message there.  '((' could
10044
 
# trigger a bug in pdksh 5.2.14.
10045
 
for as_var in BASH_ENV ENV MAIL MAILPATH
10046
 
do eval test x\${$as_var+set} = xset \
10047
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
10048
 
done
10049
 
PS1='$ '
10050
 
PS2='> '
10051
 
PS4='+ '
10052
 
 
10053
 
# NLS nuisances.
10054
 
LC_ALL=C
10055
 
export LC_ALL
10056
 
LANGUAGE=C
10057
 
export LANGUAGE
10058
 
 
10059
 
# CDPATH.
10060
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10061
 
 
10062
 
 
10063
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
10064
 
# ----------------------------------------
10065
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10066
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10067
 
# script with STATUS, using 1 if that was 0.
10068
 
as_fn_error ()
10069
 
{
10070
 
  as_status=$1; test $as_status -eq 0 && as_status=1
10071
 
  if test "$4"; then
10072
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
10073
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
10074
 
  fi
10075
 
  $as_echo "$as_me: error: $2" >&2
10076
 
  as_fn_exit $as_status
10077
 
} # as_fn_error
10078
 
 
10079
 
 
10080
 
# as_fn_set_status STATUS
10081
 
# -----------------------
10082
 
# Set $? to STATUS, without forking.
10083
 
as_fn_set_status ()
10084
 
{
10085
 
  return $1
10086
 
} # as_fn_set_status
10087
 
 
10088
 
# as_fn_exit STATUS
10089
 
# -----------------
10090
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10091
 
as_fn_exit ()
10092
 
{
10093
 
  set +e
10094
 
  as_fn_set_status $1
10095
 
  exit $1
10096
 
} # as_fn_exit
10097
 
 
10098
 
# as_fn_unset VAR
10099
 
# ---------------
10100
 
# Portably unset VAR.
10101
 
as_fn_unset ()
10102
 
{
10103
 
  { eval $1=; unset $1;}
10104
 
}
10105
 
as_unset=as_fn_unset
10106
 
# as_fn_append VAR VALUE
10107
 
# ----------------------
10108
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
10109
 
# advantage of any shell optimizations that allow amortized linear growth over
10110
 
# repeated appends, instead of the typical quadratic growth present in naive
10111
 
# implementations.
10112
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
10113
 
  eval 'as_fn_append ()
10114
 
  {
10115
 
    eval $1+=\$2
10116
 
  }'
10117
 
else
10118
 
  as_fn_append ()
10119
 
  {
10120
 
    eval $1=\$$1\$2
10121
 
  }
10122
 
fi # as_fn_append
10123
 
 
10124
 
# as_fn_arith ARG...
10125
 
# ------------------
10126
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
10127
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
10128
 
# must be portable across $(()) and expr.
10129
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
10130
 
  eval 'as_fn_arith ()
10131
 
  {
10132
 
    as_val=$(( $* ))
10133
 
  }'
10134
 
else
10135
 
  as_fn_arith ()
10136
 
  {
10137
 
    as_val=`expr "$@" || test $? -eq 1`
10138
 
  }
10139
 
fi # as_fn_arith
10140
 
 
10141
 
 
10142
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
10143
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10144
 
  as_expr=expr
10145
 
else
10146
 
  as_expr=false
10147
 
fi
10148
 
 
10149
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10150
 
  as_basename=basename
10151
 
else
10152
 
  as_basename=false
10153
 
fi
10154
 
 
10155
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10156
 
  as_dirname=dirname
10157
 
else
10158
 
  as_dirname=false
10159
 
fi
10160
 
 
10161
 
as_me=`$as_basename -- "$0" ||
10162
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10163
 
         X"$0" : 'X\(//\)$' \| \
10164
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10165
 
$as_echo X/"$0" |
10166
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
10167
 
            s//\1/
10168
 
            q
10169
 
          }
10170
 
          /^X\/\(\/\/\)$/{
10171
 
            s//\1/
10172
 
            q
10173
 
          }
10174
 
          /^X\/\(\/\).*/{
10175
 
            s//\1/
10176
 
            q
10177
 
          }
10178
 
          s/.*/./; q'`
10179
 
 
10180
 
# Avoid depending upon Character Ranges.
10181
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10182
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10183
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10184
 
as_cr_digits='0123456789'
10185
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
10186
 
 
10187
 
ECHO_C= ECHO_N= ECHO_T=
10188
 
case `echo -n x` in #(((((
10189
 
-n*)
10190
 
  case `echo 'xy\c'` in
10191
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
10192
 
  xy)  ECHO_C='\c';;
10193
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
10194
 
       ECHO_T=' ';;
10195
 
  esac;;
10196
 
*)
10197
 
  ECHO_N='-n';;
10198
 
esac
10199
 
 
10200
 
rm -f conf$$ conf$$.exe conf$$.file
10201
 
if test -d conf$$.dir; then
10202
 
  rm -f conf$$.dir/conf$$.file
10203
 
else
10204
 
  rm -f conf$$.dir
10205
 
  mkdir conf$$.dir 2>/dev/null
10206
 
fi
10207
 
if (echo >conf$$.file) 2>/dev/null; then
10208
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
10209
 
    as_ln_s='ln -s'
10210
 
    # ... but there are two gotchas:
10211
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10212
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10213
 
    # In both cases, we have to default to `cp -p'.
10214
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10215
 
      as_ln_s='cp -p'
10216
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
10217
 
    as_ln_s=ln
10218
 
  else
10219
 
    as_ln_s='cp -p'
10220
 
  fi
10221
 
else
10222
 
  as_ln_s='cp -p'
10223
 
fi
10224
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10225
 
rmdir conf$$.dir 2>/dev/null
10226
 
 
10227
 
 
10228
 
# as_fn_mkdir_p
10229
 
# -------------
10230
 
# Create "$as_dir" as a directory, including parents if necessary.
10231
 
as_fn_mkdir_p ()
10232
 
{
10233
 
 
10234
 
  case $as_dir in #(
10235
 
  -*) as_dir=./$as_dir;;
10236
 
  esac
10237
 
  test -d "$as_dir" || eval $as_mkdir_p || {
10238
 
    as_dirs=
10239
 
    while :; do
10240
 
      case $as_dir in #(
10241
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10242
 
      *) as_qdir=$as_dir;;
10243
 
      esac
10244
 
      as_dirs="'$as_qdir' $as_dirs"
10245
 
      as_dir=`$as_dirname -- "$as_dir" ||
10246
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10247
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
10248
 
         X"$as_dir" : 'X\(//\)$' \| \
10249
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10250
 
$as_echo X"$as_dir" |
10251
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10252
 
            s//\1/
10253
 
            q
10254
 
          }
10255
 
          /^X\(\/\/\)[^/].*/{
10256
 
            s//\1/
10257
 
            q
10258
 
          }
10259
 
          /^X\(\/\/\)$/{
10260
 
            s//\1/
10261
 
            q
10262
 
          }
10263
 
          /^X\(\/\).*/{
10264
 
            s//\1/
10265
 
            q
10266
 
          }
10267
 
          s/.*/./; q'`
10268
 
      test -d "$as_dir" && break
10269
 
    done
10270
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
10271
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10272
 
 
10273
 
 
10274
 
} # as_fn_mkdir_p
10275
 
if mkdir -p . 2>/dev/null; then
10276
 
  as_mkdir_p='mkdir -p "$as_dir"'
10277
 
else
10278
 
  test -d ./-p && rmdir ./-p
10279
 
  as_mkdir_p=false
10280
 
fi
10281
 
 
10282
 
if test -x / >/dev/null 2>&1; then
10283
 
  as_test_x='test -x'
10284
 
else
10285
 
  if ls -dL / >/dev/null 2>&1; then
10286
 
    as_ls_L_option=L
10287
 
  else
10288
 
    as_ls_L_option=
10289
 
  fi
10290
 
  as_test_x='
10291
 
    eval sh -c '\''
10292
 
      if test -d "$1"; then
10293
 
        test -d "$1/.";
10294
 
      else
10295
 
        case $1 in #(
10296
 
        -*)set "./$1";;
10297
 
        esac;
10298
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10299
 
        ???[sx]*):;;*)false;;esac;fi
10300
 
    '\'' sh
10301
 
  '
10302
 
fi
10303
 
as_executable_p=$as_test_x
10304
 
 
10305
 
# Sed expression to map a string onto a valid CPP name.
10306
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10307
 
 
10308
 
# Sed expression to map a string onto a valid variable name.
10309
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10310
 
 
10311
 
 
10312
 
exec 6>&1
10313
 
## ----------------------------------- ##
10314
 
## Main body of $CONFIG_STATUS script. ##
10315
 
## ----------------------------------- ##
10316
 
_ASEOF
10317
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10318
 
 
10319
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10320
 
# Save the log message, to keep $0 and so on meaningful, and to
10321
 
# report actual input values of CONFIG_FILES etc. instead of their
10322
 
# values after options handling.
10323
 
ac_log="
10324
 
This file was extended by Me TV $as_me 1.3.6, which was
10325
 
generated by GNU Autoconf 2.67.  Invocation command line was
10326
 
 
10327
 
  CONFIG_FILES    = $CONFIG_FILES
10328
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
10329
 
  CONFIG_LINKS    = $CONFIG_LINKS
10330
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
10331
 
  $ $0 $@
10332
 
 
10333
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
10334
 
"
10335
 
 
10336
 
_ACEOF
10337
 
 
10338
 
case $ac_config_files in *"
10339
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
10340
 
esac
10341
 
 
10342
 
case $ac_config_headers in *"
10343
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
10344
 
esac
10345
 
 
10346
 
 
10347
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10348
 
# Files that config.status was made for.
10349
 
config_files="$ac_config_files"
10350
 
config_headers="$ac_config_headers"
10351
 
config_commands="$ac_config_commands"
10352
 
 
10353
 
_ACEOF
10354
 
 
10355
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10356
 
ac_cs_usage="\
10357
 
\`$as_me' instantiates files and other configuration actions
10358
 
from templates according to the current configuration.  Unless the files
10359
 
and actions are specified as TAGs, all are instantiated by default.
10360
 
 
10361
 
Usage: $0 [OPTION]... [TAG]...
10362
 
 
10363
 
  -h, --help       print this help, then exit
10364
 
  -V, --version    print version number and configuration settings, then exit
10365
 
      --config     print configuration, then exit
10366
 
  -q, --quiet, --silent
10367
 
                   do not print progress messages
10368
 
  -d, --debug      don't remove temporary files
10369
 
      --recheck    update $as_me by reconfiguring in the same conditions
10370
 
      --file=FILE[:TEMPLATE]
10371
 
                   instantiate the configuration file FILE
10372
 
      --header=FILE[:TEMPLATE]
10373
 
                   instantiate the configuration header FILE
10374
 
 
10375
 
Configuration files:
10376
 
$config_files
10377
 
 
10378
 
Configuration headers:
10379
 
$config_headers
10380
 
 
10381
 
Configuration commands:
10382
 
$config_commands
10383
 
 
10384
 
Report bugs to <http://launchpad.net/me-tv>."
10385
 
 
10386
 
_ACEOF
10387
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10388
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10389
 
ac_cs_version="\\
10390
 
Me TV config.status 1.3.6
10391
 
configured by $0, generated by GNU Autoconf 2.67,
10392
 
  with options \\"\$ac_cs_config\\"
10393
 
 
10394
 
Copyright (C) 2010 Free Software Foundation, Inc.
10395
 
This config.status script is free software; the Free Software Foundation
10396
 
gives unlimited permission to copy, distribute and modify it."
10397
 
 
10398
 
ac_pwd='$ac_pwd'
10399
 
srcdir='$srcdir'
10400
 
INSTALL='$INSTALL'
10401
 
MKDIR_P='$MKDIR_P'
10402
 
AWK='$AWK'
10403
 
test -n "\$AWK" || AWK=awk
10404
 
_ACEOF
10405
 
 
10406
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10407
 
# The default lists apply if the user does not specify any file.
10408
 
ac_need_defaults=:
10409
 
while test $# != 0
10410
 
do
10411
 
  case $1 in
10412
 
  --*=?*)
10413
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10414
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10415
 
    ac_shift=:
10416
 
    ;;
10417
 
  --*=)
10418
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10419
 
    ac_optarg=
10420
 
    ac_shift=:
10421
 
    ;;
10422
 
  *)
10423
 
    ac_option=$1
10424
 
    ac_optarg=$2
10425
 
    ac_shift=shift
10426
 
    ;;
10427
 
  esac
10428
 
 
10429
 
  case $ac_option in
10430
 
  # Handling of the options.
10431
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10432
 
    ac_cs_recheck=: ;;
10433
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10434
 
    $as_echo "$ac_cs_version"; exit ;;
10435
 
  --config | --confi | --conf | --con | --co | --c )
10436
 
    $as_echo "$ac_cs_config"; exit ;;
10437
 
  --debug | --debu | --deb | --de | --d | -d )
10438
 
    debug=: ;;
10439
 
  --file | --fil | --fi | --f )
10440
 
    $ac_shift
10441
 
    case $ac_optarg in
10442
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10443
 
    '') as_fn_error $? "missing file argument" ;;
10444
 
    esac
10445
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
10446
 
    ac_need_defaults=false;;
10447
 
  --header | --heade | --head | --hea )
10448
 
    $ac_shift
10449
 
    case $ac_optarg in
10450
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10451
 
    esac
10452
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10453
 
    ac_need_defaults=false;;
10454
 
  --he | --h)
10455
 
    # Conflict between --help and --header
10456
 
    as_fn_error $? "ambiguous option: \`$1'
10457
 
Try \`$0 --help' for more information.";;
10458
 
  --help | --hel | -h )
10459
 
    $as_echo "$ac_cs_usage"; exit ;;
10460
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10461
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
10462
 
    ac_cs_silent=: ;;
10463
 
 
10464
 
  # This is an error.
10465
 
  -*) as_fn_error $? "unrecognized option: \`$1'
10466
 
Try \`$0 --help' for more information." ;;
10467
 
 
10468
 
  *) as_fn_append ac_config_targets " $1"
10469
 
     ac_need_defaults=false ;;
10470
 
 
10471
 
  esac
10472
 
  shift
10473
 
done
10474
 
 
10475
 
ac_configure_extra_args=
10476
 
 
10477
 
if $ac_cs_silent; then
10478
 
  exec 6>/dev/null
10479
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
10480
 
fi
10481
 
 
10482
 
_ACEOF
10483
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10484
 
if \$ac_cs_recheck; then
10485
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10486
 
  shift
10487
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10488
 
  CONFIG_SHELL='$SHELL'
10489
 
  export CONFIG_SHELL
10490
 
  exec "\$@"
10491
 
fi
10492
 
 
10493
 
_ACEOF
10494
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10495
 
exec 5>>config.log
10496
 
{
10497
 
  echo
10498
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10499
 
## Running $as_me. ##
10500
 
_ASBOX
10501
 
  $as_echo "$ac_log"
10502
 
} >&5
10503
 
 
10504
 
_ACEOF
10505
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10506
 
#
10507
 
# INIT-COMMANDS
10508
 
#
10509
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10510
 
 
10511
 
 
10512
 
_ACEOF
10513
 
 
10514
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10515
 
 
10516
 
# Handling of arguments.
10517
 
for ac_config_target in $ac_config_targets
10518
 
do
10519
 
  case $ac_config_target in
10520
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10521
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
10522
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10523
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10524
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
10525
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
10526
 
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
10527
 
 
10528
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
10529
 
  esac
10530
 
done
10531
 
 
10532
 
 
10533
 
# If the user did not use the arguments to specify the items to instantiate,
10534
 
# then the envvar interface is used.  Set only those that are not.
10535
 
# We use the long form for the default assignment because of an extremely
10536
 
# bizarre bug on SunOS 4.1.3.
10537
 
if $ac_need_defaults; then
10538
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10539
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10540
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10541
 
fi
10542
 
 
10543
 
# Have a temporary directory for convenience.  Make it in the build tree
10544
 
# simply because there is no reason against having it here, and in addition,
10545
 
# creating and moving files from /tmp can sometimes cause problems.
10546
 
# Hook for its removal unless debugging.
10547
 
# Note that there is a small window in which the directory will not be cleaned:
10548
 
# after its creation but before its name has been assigned to `$tmp'.
10549
 
$debug ||
10550
 
{
10551
 
  tmp=
10552
 
  trap 'exit_status=$?
10553
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10554
 
' 0
10555
 
  trap 'as_fn_exit 1' 1 2 13 15
10556
 
}
10557
 
# Create a (secure) tmp directory for tmp files.
10558
 
 
10559
 
{
10560
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10561
 
  test -n "$tmp" && test -d "$tmp"
10562
 
}  ||
10563
 
{
10564
 
  tmp=./conf$$-$RANDOM
10565
 
  (umask 077 && mkdir "$tmp")
10566
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10567
 
 
10568
 
# Set up the scripts for CONFIG_FILES section.
10569
 
# No need to generate them if there are no CONFIG_FILES.
10570
 
# This happens for instance with `./config.status config.h'.
10571
 
if test -n "$CONFIG_FILES"; then
10572
 
 
10573
 
 
10574
 
ac_cr=`echo X | tr X '\015'`
10575
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
10576
 
# But we know of no other shell where ac_cr would be empty at this
10577
 
# point, so we can use a bashism as a fallback.
10578
 
if test "x$ac_cr" = x; then
10579
 
  eval ac_cr=\$\'\\r\'
10580
 
fi
10581
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10582
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10583
 
  ac_cs_awk_cr='\\r'
10584
 
else
10585
 
  ac_cs_awk_cr=$ac_cr
10586
 
fi
10587
 
 
10588
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
10589
 
_ACEOF
10590
 
 
10591
 
 
10592
 
{
10593
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
10594
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10595
 
  echo "_ACEOF"
10596
 
} >conf$$subs.sh ||
10597
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10598
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10599
 
ac_delim='%!_!# '
10600
 
for ac_last_try in false false false false false :; do
10601
 
  . ./conf$$subs.sh ||
10602
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10603
 
 
10604
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10605
 
  if test $ac_delim_n = $ac_delim_num; then
10606
 
    break
10607
 
  elif $ac_last_try; then
10608
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10609
 
  else
10610
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10611
 
  fi
10612
 
done
10613
 
rm -f conf$$subs.sh
10614
 
 
10615
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10616
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
10617
 
_ACEOF
10618
 
sed -n '
10619
 
h
10620
 
s/^/S["/; s/!.*/"]=/
10621
 
p
10622
 
g
10623
 
s/^[^!]*!//
10624
 
:repl
10625
 
t repl
10626
 
s/'"$ac_delim"'$//
10627
 
t delim
10628
 
:nl
10629
 
h
10630
 
s/\(.\{148\}\)..*/\1/
10631
 
t more1
10632
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10633
 
p
10634
 
n
10635
 
b repl
10636
 
:more1
10637
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10638
 
p
10639
 
g
10640
 
s/.\{148\}//
10641
 
t nl
10642
 
:delim
10643
 
h
10644
 
s/\(.\{148\}\)..*/\1/
10645
 
t more2
10646
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
10647
 
p
10648
 
b
10649
 
:more2
10650
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10651
 
p
10652
 
g
10653
 
s/.\{148\}//
10654
 
t delim
10655
 
' <conf$$subs.awk | sed '
10656
 
/^[^""]/{
10657
 
  N
10658
 
  s/\n//
10659
 
}
10660
 
' >>$CONFIG_STATUS || ac_write_fail=1
10661
 
rm -f conf$$subs.awk
10662
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10663
 
_ACAWK
10664
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10665
 
  for (key in S) S_is_set[key] = 1
10666
 
  FS = ""
10667
 
 
10668
 
}
10669
 
{
10670
 
  line = $ 0
10671
 
  nfields = split(line, field, "@")
10672
 
  substed = 0
10673
 
  len = length(field[1])
10674
 
  for (i = 2; i < nfields; i++) {
10675
 
    key = field[i]
10676
 
    keylen = length(key)
10677
 
    if (S_is_set[key]) {
10678
 
      value = S[key]
10679
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10680
 
      len += length(value) + length(field[++i])
10681
 
      substed = 1
10682
 
    } else
10683
 
      len += 1 + keylen
10684
 
  }
10685
 
 
10686
 
  print line
10687
 
}
10688
 
 
10689
 
_ACAWK
10690
 
_ACEOF
10691
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10692
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10693
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10694
 
else
10695
 
  cat
10696
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10697
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10698
 
_ACEOF
10699
 
 
10700
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10701
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10702
 
# trailing colons and then remove the whole line if VPATH becomes empty
10703
 
# (actually we leave an empty line to preserve line numbers).
10704
 
if test "x$srcdir" = x.; then
10705
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
10706
 
h
10707
 
s///
10708
 
s/^/:/
10709
 
s/[      ]*$/:/
10710
 
s/:\$(srcdir):/:/g
10711
 
s/:\${srcdir}:/:/g
10712
 
s/:@srcdir@:/:/g
10713
 
s/^:*//
10714
 
s/:*$//
10715
 
x
10716
 
s/\(=[   ]*\).*/\1/
10717
 
G
10718
 
s/\n//
10719
 
s/^[^=]*=[       ]*$//
10720
 
}'
10721
 
fi
10722
 
 
10723
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10724
 
fi # test -n "$CONFIG_FILES"
10725
 
 
10726
 
# Set up the scripts for CONFIG_HEADERS section.
10727
 
# No need to generate them if there are no CONFIG_HEADERS.
10728
 
# This happens for instance with `./config.status Makefile'.
10729
 
if test -n "$CONFIG_HEADERS"; then
10730
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
10731
 
BEGIN {
10732
 
_ACEOF
10733
 
 
10734
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
10735
 
# here-document in config.status, that substitutes the proper values into
10736
 
# config.h.in to produce config.h.
10737
 
 
10738
 
# Create a delimiter string that does not exist in confdefs.h, to ease
10739
 
# handling of long lines.
10740
 
ac_delim='%!_!# '
10741
 
for ac_last_try in false false :; do
10742
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10743
 
  if test -z "$ac_t"; then
10744
 
    break
10745
 
  elif $ac_last_try; then
10746
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10747
 
  else
10748
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10749
 
  fi
10750
 
done
10751
 
 
10752
 
# For the awk script, D is an array of macro values keyed by name,
10753
 
# likewise P contains macro parameters if any.  Preserve backslash
10754
 
# newline sequences.
10755
 
 
10756
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10757
 
sed -n '
10758
 
s/.\{148\}/&'"$ac_delim"'/g
10759
 
t rset
10760
 
:rset
10761
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
10762
 
t def
10763
 
d
10764
 
:def
10765
 
s/\\$//
10766
 
t bsnl
10767
 
s/["\\]/\\&/g
10768
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10769
 
D["\1"]=" \3"/p
10770
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
10771
 
d
10772
 
:bsnl
10773
 
s/["\\]/\\&/g
10774
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10775
 
D["\1"]=" \3\\\\\\n"\\/p
10776
 
t cont
10777
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10778
 
t cont
10779
 
d
10780
 
:cont
10781
 
n
10782
 
s/.\{148\}/&'"$ac_delim"'/g
10783
 
t clear
10784
 
:clear
10785
 
s/\\$//
10786
 
t bsnlc
10787
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
10788
 
d
10789
 
:bsnlc
10790
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10791
 
b cont
10792
 
' <confdefs.h | sed '
10793
 
s/'"$ac_delim"'/"\\\
10794
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
10795
 
 
10796
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10797
 
  for (key in D) D_is_set[key] = 1
10798
 
  FS = ""
10799
 
}
10800
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10801
 
  line = \$ 0
10802
 
  split(line, arg, " ")
10803
 
  if (arg[1] == "#") {
10804
 
    defundef = arg[2]
10805
 
    mac1 = arg[3]
10806
 
  } else {
10807
 
    defundef = substr(arg[1], 2)
10808
 
    mac1 = arg[2]
10809
 
  }
10810
 
  split(mac1, mac2, "(") #)
10811
 
  macro = mac2[1]
10812
 
  prefix = substr(line, 1, index(line, defundef) - 1)
10813
 
  if (D_is_set[macro]) {
10814
 
    # Preserve the white space surrounding the "#".
10815
 
    print prefix "define", macro P[macro] D[macro]
10816
 
    next
10817
 
  } else {
10818
 
    # Replace #undef with comments.  This is necessary, for example,
10819
 
    # in the case of _POSIX_SOURCE, which is predefined and required
10820
 
    # on some systems where configure will not decide to define it.
10821
 
    if (defundef == "undef") {
10822
 
      print "/*", prefix defundef, macro, "*/"
10823
 
      next
10824
 
    }
10825
 
  }
10826
 
}
10827
 
{ print }
10828
 
_ACAWK
10829
 
_ACEOF
10830
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10831
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10832
 
fi # test -n "$CONFIG_HEADERS"
10833
 
 
10834
 
 
10835
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10836
 
shift
10837
 
for ac_tag
10838
 
do
10839
 
  case $ac_tag in
10840
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
10841
 
  esac
10842
 
  case $ac_mode$ac_tag in
10843
 
  :[FHL]*:*);;
10844
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
10845
 
  :[FH]-) ac_tag=-:-;;
10846
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10847
 
  esac
10848
 
  ac_save_IFS=$IFS
10849
 
  IFS=:
10850
 
  set x $ac_tag
10851
 
  IFS=$ac_save_IFS
10852
 
  shift
10853
 
  ac_file=$1
10854
 
  shift
10855
 
 
10856
 
  case $ac_mode in
10857
 
  :L) ac_source=$1;;
10858
 
  :[FH])
10859
 
    ac_file_inputs=
10860
 
    for ac_f
10861
 
    do
10862
 
      case $ac_f in
10863
 
      -) ac_f="$tmp/stdin";;
10864
 
      *) # Look for the file first in the build tree, then in the source tree
10865
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
10866
 
         # because $ac_f cannot contain `:'.
10867
 
         test -f "$ac_f" ||
10868
 
           case $ac_f in
10869
 
           [\\/$]*) false;;
10870
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10871
 
           esac ||
10872
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
10873
 
      esac
10874
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10875
 
      as_fn_append ac_file_inputs " '$ac_f'"
10876
 
    done
10877
 
 
10878
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
10879
 
    # use $as_me), people would be surprised to read:
10880
 
    #    /* config.h.  Generated by config.status.  */
10881
 
    configure_input='Generated from '`
10882
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10883
 
        `' by configure.'
10884
 
    if test x"$ac_file" != x-; then
10885
 
      configure_input="$ac_file.  $configure_input"
10886
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10887
 
$as_echo "$as_me: creating $ac_file" >&6;}
10888
 
    fi
10889
 
    # Neutralize special characters interpreted by sed in replacement strings.
10890
 
    case $configure_input in #(
10891
 
    *\&* | *\|* | *\\* )
10892
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
10893
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
10894
 
    *) ac_sed_conf_input=$configure_input;;
10895
 
    esac
10896
 
 
10897
 
    case $ac_tag in
10898
 
    *:-:* | *:-) cat >"$tmp/stdin" \
10899
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
10900
 
    esac
10901
 
    ;;
10902
 
  esac
10903
 
 
10904
 
  ac_dir=`$as_dirname -- "$ac_file" ||
10905
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10906
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
10907
 
         X"$ac_file" : 'X\(//\)$' \| \
10908
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10909
 
$as_echo X"$ac_file" |
10910
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10911
 
            s//\1/
10912
 
            q
10913
 
          }
10914
 
          /^X\(\/\/\)[^/].*/{
10915
 
            s//\1/
10916
 
            q
10917
 
          }
10918
 
          /^X\(\/\/\)$/{
10919
 
            s//\1/
10920
 
            q
10921
 
          }
10922
 
          /^X\(\/\).*/{
10923
 
            s//\1/
10924
 
            q
10925
 
          }
10926
 
          s/.*/./; q'`
10927
 
  as_dir="$ac_dir"; as_fn_mkdir_p
10928
 
  ac_builddir=.
10929
 
 
10930
 
case "$ac_dir" in
10931
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10932
 
*)
10933
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10934
 
  # A ".." for each directory in $ac_dir_suffix.
10935
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10936
 
  case $ac_top_builddir_sub in
10937
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10938
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10939
 
  esac ;;
10940
 
esac
10941
 
ac_abs_top_builddir=$ac_pwd
10942
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
10943
 
# for backward compatibility:
10944
 
ac_top_builddir=$ac_top_build_prefix
10945
 
 
10946
 
case $srcdir in
10947
 
  .)  # We are building in place.
10948
 
    ac_srcdir=.
10949
 
    ac_top_srcdir=$ac_top_builddir_sub
10950
 
    ac_abs_top_srcdir=$ac_pwd ;;
10951
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
10952
 
    ac_srcdir=$srcdir$ac_dir_suffix;
10953
 
    ac_top_srcdir=$srcdir
10954
 
    ac_abs_top_srcdir=$srcdir ;;
10955
 
  *) # Relative name.
10956
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10957
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
10958
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10959
 
esac
10960
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10961
 
 
10962
 
 
10963
 
  case $ac_mode in
10964
 
  :F)
10965
 
  #
10966
 
  # CONFIG_FILE
10967
 
  #
10968
 
 
10969
 
  case $INSTALL in
10970
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10971
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10972
 
  esac
10973
 
  ac_MKDIR_P=$MKDIR_P
10974
 
  case $MKDIR_P in
10975
 
  [\\/$]* | ?:[\\/]* ) ;;
10976
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10977
 
  esac
10978
 
_ACEOF
10979
 
 
10980
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10981
 
# If the template does not know about datarootdir, expand it.
10982
 
# FIXME: This hack should be removed a few years after 2.60.
10983
 
ac_datarootdir_hack=; ac_datarootdir_seen=
10984
 
ac_sed_dataroot='
10985
 
/datarootdir/ {
10986
 
  p
10987
 
  q
10988
 
}
10989
 
/@datadir@/p
10990
 
/@docdir@/p
10991
 
/@infodir@/p
10992
 
/@localedir@/p
10993
 
/@mandir@/p'
10994
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10995
 
*datarootdir*) ac_datarootdir_seen=yes;;
10996
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10997
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10998
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10999
 
_ACEOF
11000
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11001
 
  ac_datarootdir_hack='
11002
 
  s&@datadir@&$datadir&g
11003
 
  s&@docdir@&$docdir&g
11004
 
  s&@infodir@&$infodir&g
11005
 
  s&@localedir@&$localedir&g
11006
 
  s&@mandir@&$mandir&g
11007
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
11008
 
esac
11009
 
_ACEOF
11010
 
 
11011
 
# Neutralize VPATH when `$srcdir' = `.'.
11012
 
# Shell code in configure.ac might set extrasub.
11013
 
# FIXME: do we really want to maintain this feature?
11014
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11015
 
ac_sed_extra="$ac_vpsub
11016
 
$extrasub
11017
 
_ACEOF
11018
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11019
 
:t
11020
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11021
 
s|@configure_input@|$ac_sed_conf_input|;t t
11022
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
11023
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
11024
 
s&@srcdir@&$ac_srcdir&;t t
11025
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
11026
 
s&@top_srcdir@&$ac_top_srcdir&;t t
11027
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11028
 
s&@builddir@&$ac_builddir&;t t
11029
 
s&@abs_builddir@&$ac_abs_builddir&;t t
11030
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11031
 
s&@INSTALL@&$ac_INSTALL&;t t
11032
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
11033
 
$ac_datarootdir_hack
11034
 
"
11035
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
11036
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11037
 
 
11038
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11039
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11040
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11041
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11042
 
which seems to be undefined.  Please make sure it is defined" >&5
11043
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11044
 
which seems to be undefined.  Please make sure it is defined" >&2;}
11045
 
 
11046
 
  rm -f "$tmp/stdin"
11047
 
  case $ac_file in
11048
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
11049
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11050
 
  esac \
11051
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11052
 
 ;;
11053
 
  :H)
11054
 
  #
11055
 
  # CONFIG_HEADER
11056
 
  #
11057
 
  if test x"$ac_file" != x-; then
11058
 
    {
11059
 
      $as_echo "/* $configure_input  */" \
11060
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11061
 
    } >"$tmp/config.h" \
11062
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11063
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11064
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11065
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
11066
 
    else
11067
 
      rm -f "$ac_file"
11068
 
      mv "$tmp/config.h" "$ac_file" \
11069
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11070
 
    fi
11071
 
  else
11072
 
    $as_echo "/* $configure_input  */" \
11073
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11074
 
      || as_fn_error $? "could not create -" "$LINENO" 5
11075
 
  fi
11076
 
# Compute "$ac_file"'s index in $config_headers.
11077
 
_am_arg="$ac_file"
11078
 
_am_stamp_count=1
11079
 
for _am_header in $config_headers :; do
11080
 
  case $_am_header in
11081
 
    $_am_arg | $_am_arg:* )
11082
 
      break ;;
11083
 
    * )
11084
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11085
 
  esac
11086
 
done
11087
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
11088
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11089
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
11090
 
         X"$_am_arg" : 'X\(//\)$' \| \
11091
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
11092
 
$as_echo X"$_am_arg" |
11093
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11094
 
            s//\1/
11095
 
            q
11096
 
          }
11097
 
          /^X\(\/\/\)[^/].*/{
11098
 
            s//\1/
11099
 
            q
11100
 
          }
11101
 
          /^X\(\/\/\)$/{
11102
 
            s//\1/
11103
 
            q
11104
 
          }
11105
 
          /^X\(\/\).*/{
11106
 
            s//\1/
11107
 
            q
11108
 
          }
11109
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
11110
 
 ;;
11111
 
 
11112
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
11113
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
11114
 
 ;;
11115
 
  esac
11116
 
 
11117
 
 
11118
 
  case $ac_file$ac_mode in
11119
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
11120
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
11121
 
  # are listed without --file.  Let's play safe and only enable the eval
11122
 
  # if we detect the quoting.
11123
 
  case $CONFIG_FILES in
11124
 
  *\'*) eval set x "$CONFIG_FILES" ;;
11125
 
  *)   set x $CONFIG_FILES ;;
11126
 
  esac
11127
 
  shift
11128
 
  for mf
11129
 
  do
11130
 
    # Strip MF so we end up with the name of the file.
11131
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
11132
 
    # Check whether this is an Automake generated Makefile or not.
11133
 
    # We used to match only the files named `Makefile.in', but
11134
 
    # some people rename them; so instead we look at the file content.
11135
 
    # Grep'ing the first line is not enough: some people post-process
11136
 
    # each Makefile.in and add a new line on top of each file to say so.
11137
 
    # Grep'ing the whole file is not good either: AIX grep has a line
11138
 
    # limit of 2048, but all sed's we know have understand at least 4000.
11139
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
11140
 
      dirpart=`$as_dirname -- "$mf" ||
11141
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11142
 
         X"$mf" : 'X\(//\)[^/]' \| \
11143
 
         X"$mf" : 'X\(//\)$' \| \
11144
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11145
 
$as_echo X"$mf" |
11146
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11147
 
            s//\1/
11148
 
            q
11149
 
          }
11150
 
          /^X\(\/\/\)[^/].*/{
11151
 
            s//\1/
11152
 
            q
11153
 
          }
11154
 
          /^X\(\/\/\)$/{
11155
 
            s//\1/
11156
 
            q
11157
 
          }
11158
 
          /^X\(\/\).*/{
11159
 
            s//\1/
11160
 
            q
11161
 
          }
11162
 
          s/.*/./; q'`
11163
 
    else
11164
 
      continue
11165
 
    fi
11166
 
    # Extract the definition of DEPDIR, am__include, and am__quote
11167
 
    # from the Makefile without running `make'.
11168
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11169
 
    test -z "$DEPDIR" && continue
11170
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
11171
 
    test -z "am__include" && continue
11172
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11173
 
    # When using ansi2knr, U may be empty or an underscore; expand it
11174
 
    U=`sed -n 's/^U = //p' < "$mf"`
11175
 
    # Find all dependency output files, they are included files with
11176
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
11177
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
11178
 
    # expansion.
11179
 
    for file in `sed -n "
11180
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11181
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11182
 
      # Make sure the directory exists.
11183
 
      test -f "$dirpart/$file" && continue
11184
 
      fdir=`$as_dirname -- "$file" ||
11185
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11186
 
         X"$file" : 'X\(//\)[^/]' \| \
11187
 
         X"$file" : 'X\(//\)$' \| \
11188
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11189
 
$as_echo X"$file" |
11190
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11191
 
            s//\1/
11192
 
            q
11193
 
          }
11194
 
          /^X\(\/\/\)[^/].*/{
11195
 
            s//\1/
11196
 
            q
11197
 
          }
11198
 
          /^X\(\/\/\)$/{
11199
 
            s//\1/
11200
 
            q
11201
 
          }
11202
 
          /^X\(\/\).*/{
11203
 
            s//\1/
11204
 
            q
11205
 
          }
11206
 
          s/.*/./; q'`
11207
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
11208
 
      # echo "creating $dirpart/$file"
11209
 
      echo '# dummy' > "$dirpart/$file"
11210
 
    done
11211
 
  done
11212
 
}
11213
 
 ;;
11214
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
11215
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
11216
 
      esac ;;
11217
 
    "po/stamp-it":C)
11218
 
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
11219
 
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
11220
 
    fi
11221
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
11222
 
    >"po/stamp-it.tmp"
11223
 
    sed '/^#/d
11224
 
         s/^[[].*] *//
11225
 
         /^[    ]*$/d
11226
 
        '"s|^|  $ac_top_srcdir/|" \
11227
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
11228
 
 
11229
 
    sed '/^POTFILES =/,/[^\\]$/ {
11230
 
                /^POTFILES =/!d
11231
 
                r po/POTFILES
11232
 
          }
11233
 
         ' "po/Makefile.in" >"po/Makefile"
11234
 
    rm -f "po/Makefile.tmp"
11235
 
    mv "po/stamp-it.tmp" "po/stamp-it"
11236
 
   ;;
11237
 
 
11238
 
  esac
11239
 
done # for ac_tag
11240
 
 
11241
 
 
11242
 
as_fn_exit 0
11243
 
_ACEOF
11244
 
ac_clean_files=$ac_clean_files_save
11245
 
 
11246
 
test $ac_write_fail = 0 ||
11247
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
11248
 
 
11249
 
 
11250
 
# configure is writing to config.log, and then calls config.status.
11251
 
# config.status does its own redirection, appending to config.log.
11252
 
# Unfortunately, on DOS this fails, as config.log is still kept open
11253
 
# by configure, so config.status won't be able to write to it; its
11254
 
# output is simply discarded.  So we exec the FD to /dev/null,
11255
 
# effectively closing config.log, so it can be properly (re)opened and
11256
 
# appended to by config.status.  When coming back to configure, we
11257
 
# need to make the FD available again.
11258
 
if test "$no_create" != yes; then
11259
 
  ac_cs_success=:
11260
 
  ac_config_status_args=
11261
 
  test "$silent" = yes &&
11262
 
    ac_config_status_args="$ac_config_status_args --quiet"
11263
 
  exec 5>/dev/null
11264
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11265
 
  exec 5>>config.log
11266
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11267
 
  # would make configure fail if this is the last instruction.
11268
 
  $ac_cs_success || as_fn_exit 1
11269
 
fi
11270
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11271
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11272
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11273
 
fi
11274
 
 
11275
 
 
11276
 
 
11277
 
echo "
11278
 
 
11279
 
Configure summary:
11280
 
 
11281
 
        Source code location .......: ${srcdir}
11282
 
        Compiler ...................: ${CC}
11283
 
        Compiler flags .............: ${CFLAGS}
11284
 
        Enable compile warnings ....: ${enable_cxx_warnings}
11285
 
        Enable more warnings .......: ${enable_more_warnings}
11286
 
        Extra Compiler Warnings ....: ${WARN_CXXFLAGS}
11287
 
        Debug support ..............: ${enable_debug}
11288
 
        Installing into prefix .....: ${prefix}
11289
 
 
11290
 
Type make to build ${PACKAGE_STRING}
11291
 
 
11292
 
"