~ubuntu-branches/debian/sid/transmageddon/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-12-03 22:27:04 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20111203222704-g2apuhsw1szmx1p2
Tags: 0.20-1
* New upstream release:
  - Port to new plugins-base discoverer and encodebin
  - Replace radiobutton lists with a combobox instead
  - add support for audio only transcoding
  - add support for outputting audio only from video+audio files
  - Add deinterlacing
  - Support container free audio formats such as FLAC, mp3 and AAC
  - Add HTML5 and Nokia 900 profile
  - add support for video only transcoding
  -  add support for mpeg1 video and mpeg2 audio
* Update gbp.conf file.
* Update licensing information.
* Remove debian/patches, all patches have been accepted upstream.
* Replace autotools-dev with dh-autoreconf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.63 for transmageddon 0.16.
4
 
#
5
 
# Report bugs to <http://www.linuxrising.org/transmageddon>.
 
3
# Generated by GNU Autoconf 2.68 for transmageddon 0.20.
 
4
#
 
5
# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=transmageddon>.
 
6
#
6
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
as_myself=
 
95
case $0 in #((
100
96
  *[\\/]* ) as_myself=$0 ;;
101
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
98
for as_dir in $PATH
103
99
do
104
100
  IFS=$as_save_IFS
105
101
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
103
  done
108
104
IFS=$as_save_IFS
109
105
 
110
106
     ;;
116
112
fi
117
113
if test ! -f "$as_myself"; then
118
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
115
  exit 1
120
116
fi
121
117
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
121
# trigger a bug in pdksh 5.2.14.
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
123
do eval test x\${$as_var+set} = xset \
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
125
done
126
126
PS1='$ '
127
127
PS2='> '
133
133
LANGUAGE=C
134
134
export LANGUAGE
135
135
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
136
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
138
 
175
139
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1"
 
178
  if (eval "$as_required") 2>/dev/null; then :
177
179
  as_have_required=yes
178
180
else
179
181
  as_have_required=no
180
182
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
183
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
184
 
 
185
else
 
186
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
187
as_found=false
243
188
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
189
do
245
190
  IFS=$as_save_IFS
246
191
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
192
  as_found=:
 
193
  case $as_dir in #(
248
194
         /*)
249
195
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
196
             # Try only shells that exist, to save several forks.
 
197
             as_shell=$as_dir/$as_base
 
198
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
199
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
200
  CONFIG_SHELL=$as_shell as_have_required=yes
 
201
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
202
  break 2
 
203
fi
 
204
fi
251
205
           done;;
252
206
       esac
 
207
  as_found=false
253
208
done
 
209
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
210
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
211
  CONFIG_SHELL=$SHELL as_have_required=yes
 
212
fi; }
254
213
IFS=$as_save_IFS
255
214
 
256
215
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
216
      if test "x$CONFIG_SHELL" != x; then :
 
217
  # We cannot yet assume a decent shell, so we have to provide a
 
218
        # neutralization value for shells without unset; and this also
 
219
        # works around shells that cannot unset nonexistent variables.
 
220
        # Preserve -v and -x to the replacement shell.
 
221
        BASH_ENV=/dev/null
 
222
        ENV=/dev/null
 
223
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
224
        export CONFIG_SHELL
368
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
 
fi
370
 
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
225
        case $- in # ((((
 
226
          *v*x* | *x*v* ) as_opts=-vx ;;
 
227
          *v* ) as_opts=-v ;;
 
228
          *x* ) as_opts=-x ;;
 
229
          * ) as_opts= ;;
 
230
        esac
 
231
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
232
fi
 
233
 
 
234
    if test x$as_have_required = xno; then :
 
235
  $as_echo "$0: This script requires a shell more modern than all"
 
236
  $as_echo "$0: the shells that I found on your system."
 
237
  if test x${ZSH_VERSION+set} = xset ; then
 
238
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
239
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
240
  else
 
241
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
242
$0: https://bugzilla.gnome.org/enter_bug.cgi?product=transmageddon
 
243
$0: about your system, including any error possibly output
 
244
$0: before this message. Then install a modern shell, or
 
245
$0: manually run the script under such a shell if you do
 
246
$0: have one."
 
247
  fi
 
248
  exit 1
 
249
fi
 
250
fi
 
251
fi
 
252
SHELL=${CONFIG_SHELL-/bin/sh}
 
253
export SHELL
 
254
# Unset more variables known to interfere with behavior of common tools.
 
255
CLICOLOR_FORCE= GREP_OPTIONS=
 
256
unset CLICOLOR_FORCE GREP_OPTIONS
 
257
 
 
258
## --------------------- ##
 
259
## M4sh Shell Functions. ##
 
260
## --------------------- ##
 
261
# as_fn_unset VAR
 
262
# ---------------
 
263
# Portably unset VAR.
 
264
as_fn_unset ()
 
265
{
 
266
  { eval $1=; unset $1;}
 
267
}
 
268
as_unset=as_fn_unset
 
269
 
 
270
# as_fn_set_status STATUS
 
271
# -----------------------
 
272
# Set $? to STATUS, without forking.
 
273
as_fn_set_status ()
 
274
{
 
275
  return $1
 
276
} # as_fn_set_status
 
277
 
 
278
# as_fn_exit STATUS
 
279
# -----------------
 
280
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
281
as_fn_exit ()
 
282
{
 
283
  set +e
 
284
  as_fn_set_status $1
 
285
  exit $1
 
286
} # as_fn_exit
 
287
 
 
288
# as_fn_mkdir_p
 
289
# -------------
 
290
# Create "$as_dir" as a directory, including parents if necessary.
 
291
as_fn_mkdir_p ()
 
292
{
 
293
 
 
294
  case $as_dir in #(
 
295
  -*) as_dir=./$as_dir;;
 
296
  esac
 
297
  test -d "$as_dir" || eval $as_mkdir_p || {
 
298
    as_dirs=
 
299
    while :; do
 
300
      case $as_dir in #(
 
301
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
302
      *) as_qdir=$as_dir;;
 
303
      esac
 
304
      as_dirs="'$as_qdir' $as_dirs"
 
305
      as_dir=`$as_dirname -- "$as_dir" ||
 
306
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
307
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
308
         X"$as_dir" : 'X\(//\)$' \| \
 
309
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
310
$as_echo X"$as_dir" |
 
311
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          /^X\(\/\/\)[^/].*/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          /^X\(\/\/\)$/{
 
320
            s//\1/
 
321
            q
 
322
          }
 
323
          /^X\(\/\).*/{
 
324
            s//\1/
 
325
            q
 
326
          }
 
327
          s/.*/./; q'`
 
328
      test -d "$as_dir" && break
 
329
    done
 
330
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
331
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
332
 
 
333
 
 
334
} # as_fn_mkdir_p
 
335
# as_fn_append VAR VALUE
 
336
# ----------------------
 
337
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
338
# advantage of any shell optimizations that allow amortized linear growth over
 
339
# repeated appends, instead of the typical quadratic growth present in naive
 
340
# implementations.
 
341
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
342
  eval 'as_fn_append ()
 
343
  {
 
344
    eval $1+=\$2
 
345
  }'
 
346
else
 
347
  as_fn_append ()
 
348
  {
 
349
    eval $1=\$$1\$2
 
350
  }
 
351
fi # as_fn_append
 
352
 
 
353
# as_fn_arith ARG...
 
354
# ------------------
 
355
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
356
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
357
# must be portable across $(()) and expr.
 
358
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
359
  eval 'as_fn_arith ()
 
360
  {
 
361
    as_val=$(( $* ))
 
362
  }'
 
363
else
 
364
  as_fn_arith ()
 
365
  {
 
366
    as_val=`expr "$@" || test $? -eq 1`
 
367
  }
 
368
fi # as_fn_arith
 
369
 
 
370
 
 
371
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
372
# ----------------------------------------
 
373
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
374
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
375
# script with STATUS, using 1 if that was 0.
 
376
as_fn_error ()
 
377
{
 
378
  as_status=$1; test $as_status -eq 0 && as_status=1
 
379
  if test "$4"; then
 
380
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
381
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
382
  fi
 
383
  $as_echo "$as_me: error: $2" >&2
 
384
  as_fn_exit $as_status
 
385
} # as_fn_error
 
386
 
 
387
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
388
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
389
  as_expr=expr
 
390
else
 
391
  as_expr=false
 
392
fi
 
393
 
 
394
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
395
  as_basename=basename
 
396
else
 
397
  as_basename=false
 
398
fi
 
399
 
 
400
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
401
  as_dirname=dirname
 
402
else
 
403
  as_dirname=false
 
404
fi
 
405
 
 
406
as_me=`$as_basename -- "$0" ||
 
407
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
408
         X"$0" : 'X\(//\)$' \| \
 
409
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
410
$as_echo X/"$0" |
 
411
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
412
            s//\1/
 
413
            q
 
414
          }
 
415
          /^X\/\(\/\/\)$/{
 
416
            s//\1/
 
417
            q
 
418
          }
 
419
          /^X\/\(\/\).*/{
 
420
            s//\1/
 
421
            q
 
422
          }
 
423
          s/.*/./; q'`
 
424
 
 
425
# Avoid depending upon Character Ranges.
 
426
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
427
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
428
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
429
as_cr_digits='0123456789'
 
430
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
431
 
 
432
 
 
433
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
434
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
435
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
436
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
437
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
438
  sed -n '
461
439
    p
462
440
    /[$]LINENO/=
473
451
      s/-\n.*//
474
452
    ' >$as_me.lineno &&
475
453
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
454
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
455
 
479
456
  # Don't try to exec as it changes $[0], causing all sort of problems
480
457
  # (the dirname of $[0] is not the place where we might find the
484
461
  exit
485
462
}
486
463
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
464
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
465
case `echo -n x` in #(((((
496
466
-n*)
497
 
  case `echo 'x\c'` in
 
467
  case `echo 'xy\c'` in
498
468
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
469
  xy)  ECHO_C='\c';;
 
470
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
471
       ECHO_T=' ';;
500
472
  esac;;
501
473
*)
502
474
  ECHO_N='-n';;
503
475
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
476
 
511
477
rm -f conf$$ conf$$.exe conf$$.file
512
478
if test -d conf$$.dir; then
536
502
rmdir conf$$.dir 2>/dev/null
537
503
 
538
504
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
505
  as_mkdir_p='mkdir -p "$as_dir"'
540
506
else
541
507
  test -d ./-p && rmdir ./-p
542
508
  as_mkdir_p=false
555
521
      if test -d "$1"; then
556
522
        test -d "$1/.";
557
523
      else
558
 
        case $1 in
 
524
        case $1 in #(
559
525
        -*)set "./$1";;
560
526
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
527
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
528
        ???[sx]*):;;*)false;;esac;fi
563
529
    '\'' sh
564
530
  '
572
538
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
539
 
574
540
 
575
 
 
576
 
exec 7<&0 </dev/null 6>&1
 
541
test -n "$DJDIR" || exec 7<&0 </dev/null
 
542
exec 6>&1
577
543
 
578
544
# Name of the host.
579
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
545
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
580
546
# so uname gets run too.
581
547
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
548
 
591
557
subdirs=
592
558
MFLAGS=
593
559
MAKEFLAGS=
594
 
SHELL=${CONFIG_SHELL-/bin/sh}
595
560
 
596
561
# Identity of this package.
597
562
PACKAGE_NAME='transmageddon'
598
563
PACKAGE_TARNAME='transmageddon'
599
 
PACKAGE_VERSION='0.16'
600
 
PACKAGE_STRING='transmageddon 0.16'
601
 
PACKAGE_BUGREPORT='http://www.linuxrising.org/transmageddon'
 
564
PACKAGE_VERSION='0.20'
 
565
PACKAGE_STRING='transmageddon 0.20'
 
566
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=transmageddon'
 
567
PACKAGE_URL='http://www.linuxrising.org/transmageddon'
602
568
 
603
569
ac_unique_file="src/transmageddon.py"
604
570
# Factoring default headers for most tests.
716
682
SYSCONFDIR
717
683
DATADIR
718
684
LIBDIR
719
 
ACLOCAL_AMFLAGS
720
685
GST_REQ
721
686
PYGST_REQ
722
687
PYGTK_REQ
723
 
PACKAGE_VERSION_MICRO
724
 
PACKAGE_VERSION_MINOR
725
 
PACKAGE_VERSION_MAJOR
726
688
MAINT
727
689
MAINTAINER_MODE_FALSE
728
690
MAINTAINER_MODE_TRUE
779
741
program_transform_name
780
742
prefix
781
743
exec_prefix
 
744
PACKAGE_URL
782
745
PACKAGE_BUGREPORT
783
746
PACKAGE_STRING
784
747
PACKAGE_VERSION
864
827
  fi
865
828
 
866
829
  case $ac_option in
867
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
868
 
  *)    ac_optarg=yes ;;
 
830
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
831
  *=)   ac_optarg= ;;
 
832
  *)    ac_optarg=yes ;;
869
833
  esac
870
834
 
871
835
  # Accept the important Cygnus configure options, so we can diagnose typos.
910
874
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
911
875
    # Reject names that are not valid shell variable names.
912
876
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
913
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
914
 
   { (exit 1); exit 1; }; }
 
877
      as_fn_error $? "invalid feature name: $ac_useropt"
915
878
    ac_useropt_orig=$ac_useropt
916
879
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917
880
    case $ac_user_opts in
937
900
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
938
901
    # Reject names that are not valid shell variable names.
939
902
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
941
 
   { (exit 1); exit 1; }; }
 
903
      as_fn_error $? "invalid feature name: $ac_useropt"
942
904
    ac_useropt_orig=$ac_useropt
943
905
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
944
906
    case $ac_user_opts in
1142
1104
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1143
1105
    # Reject names that are not valid shell variable names.
1144
1106
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1146
 
   { (exit 1); exit 1; }; }
 
1107
      as_fn_error $? "invalid package name: $ac_useropt"
1147
1108
    ac_useropt_orig=$ac_useropt
1148
1109
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149
1110
    case $ac_user_opts in
1159
1120
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1160
1121
    # Reject names that are not valid shell variable names.
1161
1122
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1162
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1163
 
   { (exit 1); exit 1; }; }
 
1123
      as_fn_error $? "invalid package name: $ac_useropt"
1164
1124
    ac_useropt_orig=$ac_useropt
1165
1125
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166
1126
    case $ac_user_opts in
1190
1150
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1191
1151
    x_libraries=$ac_optarg ;;
1192
1152
 
1193
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1194
 
Try \`$0 --help' for more information." >&2
1195
 
   { (exit 1); exit 1; }; }
 
1153
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1154
Try \`$0 --help' for more information"
1196
1155
    ;;
1197
1156
 
1198
1157
  *=*)
1199
1158
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1200
1159
    # Reject names that are not valid shell variable names.
1201
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1202
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1203
 
   { (exit 1); exit 1; }; }
 
1160
    case $ac_envvar in #(
 
1161
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1162
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1163
    esac
1204
1164
    eval $ac_envvar=\$ac_optarg
1205
1165
    export $ac_envvar ;;
1206
1166
 
1209
1169
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1210
1170
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1211
1171
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1212
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1172
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1213
1173
    ;;
1214
1174
 
1215
1175
  esac
1217
1177
 
1218
1178
if test -n "$ac_prev"; then
1219
1179
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1220
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1221
 
   { (exit 1); exit 1; }; }
 
1180
  as_fn_error $? "missing argument to $ac_option"
1222
1181
fi
1223
1182
 
1224
1183
if test -n "$ac_unrecognized_opts"; then
1225
1184
  case $enable_option_checking in
1226
1185
    no) ;;
1227
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1228
 
   { (exit 1); exit 1; }; } ;;
 
1186
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1229
1187
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1230
1188
  esac
1231
1189
fi
1248
1206
    [\\/$]* | ?:[\\/]* )  continue;;
1249
1207
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1250
1208
  esac
1251
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1252
 
   { (exit 1); exit 1; }; }
 
1209
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1253
1210
done
1254
1211
 
1255
1212
# There might be people who depend on the old broken behavior: `$host'
1263
1220
if test "x$host_alias" != x; then
1264
1221
  if test "x$build_alias" = x; then
1265
1222
    cross_compiling=maybe
1266
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1267
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1223
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1224
    If a cross compiler is detected then cross compile mode will be used" >&2
1268
1225
  elif test "x$build_alias" != "x$host_alias"; then
1269
1226
    cross_compiling=yes
1270
1227
  fi
1279
1236
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1280
1237
ac_ls_di=`ls -di .` &&
1281
1238
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1282
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1283
 
   { (exit 1); exit 1; }; }
 
1239
  as_fn_error $? "working directory cannot be determined"
1284
1240
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1285
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1286
 
   { (exit 1); exit 1; }; }
 
1241
  as_fn_error $? "pwd does not report name of working directory"
1287
1242
 
1288
1243
 
1289
1244
# Find the source files, if location was not specified.
1322
1277
fi
1323
1278
if test ! -r "$srcdir/$ac_unique_file"; then
1324
1279
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1325
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1326
 
   { (exit 1); exit 1; }; }
 
1280
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1327
1281
fi
1328
1282
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1329
1283
ac_abs_confdir=`(
1330
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1331
 
   { (exit 1); exit 1; }; }
 
1284
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1332
1285
        pwd)`
1333
1286
# When building in place, set srcdir=.
1334
1287
if test "$ac_abs_confdir" = "$ac_pwd"; then
1354
1307
  # Omit some internal or obsolete options to make the list less imposing.
1355
1308
  # This message is too long to be a string in the A/UX 3.1 sh.
1356
1309
  cat <<_ACEOF
1357
 
\`configure' configures transmageddon 0.16 to adapt to many kinds of systems.
 
1310
\`configure' configures transmageddon 0.20 to adapt to many kinds of systems.
1358
1311
 
1359
1312
Usage: $0 [OPTION]... [VAR=VALUE]...
1360
1313
 
1368
1321
      --help=short        display options specific to this package
1369
1322
      --help=recursive    display the short help of all the included packages
1370
1323
  -V, --version           display version information and exit
1371
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1324
  -q, --quiet, --silent   do not print \`checking ...' messages
1372
1325
      --cache-file=FILE   cache test results in FILE [disabled]
1373
1326
  -C, --config-cache      alias for \`--cache-file=config.cache'
1374
1327
  -n, --no-create         do not create output files
1420
1373
 
1421
1374
if test -n "$ac_init_help"; then
1422
1375
  case $ac_init_help in
1423
 
     short | recursive ) echo "Configuration of transmageddon 0.16:";;
 
1376
     short | recursive ) echo "Configuration of transmageddon 0.20:";;
1424
1377
   esac
1425
1378
  cat <<\_ACEOF
1426
1379
 
1428
1381
  --disable-option-checking  ignore unrecognized --enable/--with options
1429
1382
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1430
1383
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1431
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1384
  --disable-maintainer-mode  disable make rules and dependencies not useful
1432
1385
                          (and sometimes confusing) to the casual installer
1433
1386
  --disable-dependency-tracking  speeds up one-time build
1434
1387
  --enable-dependency-tracking   do not reject slow dependency extractors
1440
1393
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1441
1394
              nonstandard directory <lib dir>
1442
1395
  LIBS        libraries to pass to the linker, e.g. -l<library>
1443
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1396
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1444
1397
              you have headers in a nonstandard directory <include dir>
1445
1398
  CPP         C preprocessor
1446
1399
 
1447
1400
Use these variables to override the choices made by `configure' or to help
1448
1401
it to find libraries and programs with nonstandard names/locations.
1449
1402
 
1450
 
Report bugs to <http://www.linuxrising.org/transmageddon>.
 
1403
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=transmageddon>.
 
1404
transmageddon home page: <http://www.linuxrising.org/transmageddon>.
1451
1405
_ACEOF
1452
1406
ac_status=$?
1453
1407
fi
1510
1464
test -n "$ac_init_help" && exit $ac_status
1511
1465
if $ac_init_version; then
1512
1466
  cat <<\_ACEOF
1513
 
transmageddon configure 0.16
1514
 
generated by GNU Autoconf 2.63
 
1467
transmageddon configure 0.20
 
1468
generated by GNU Autoconf 2.68
1515
1469
 
1516
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1517
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1470
Copyright (C) 2010 Free Software Foundation, Inc.
1518
1471
This configure script is free software; the Free Software Foundation
1519
1472
gives unlimited permission to copy, distribute and modify it.
1520
1473
_ACEOF
1521
1474
  exit
1522
1475
fi
 
1476
 
 
1477
## ------------------------ ##
 
1478
## Autoconf initialization. ##
 
1479
## ------------------------ ##
 
1480
 
 
1481
# ac_fn_c_try_compile LINENO
 
1482
# --------------------------
 
1483
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1484
ac_fn_c_try_compile ()
 
1485
{
 
1486
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1487
  rm -f conftest.$ac_objext
 
1488
  if { { ac_try="$ac_compile"
 
1489
case "(($ac_try" in
 
1490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1491
  *) ac_try_echo=$ac_try;;
 
1492
esac
 
1493
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1494
$as_echo "$ac_try_echo"; } >&5
 
1495
  (eval "$ac_compile") 2>conftest.err
 
1496
  ac_status=$?
 
1497
  if test -s conftest.err; then
 
1498
    grep -v '^ *+' conftest.err >conftest.er1
 
1499
    cat conftest.er1 >&5
 
1500
    mv -f conftest.er1 conftest.err
 
1501
  fi
 
1502
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1503
  test $ac_status = 0; } && {
 
1504
         test -z "$ac_c_werror_flag" ||
 
1505
         test ! -s conftest.err
 
1506
       } && test -s conftest.$ac_objext; then :
 
1507
  ac_retval=0
 
1508
else
 
1509
  $as_echo "$as_me: failed program was:" >&5
 
1510
sed 's/^/| /' conftest.$ac_ext >&5
 
1511
 
 
1512
        ac_retval=1
 
1513
fi
 
1514
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1515
  as_fn_set_status $ac_retval
 
1516
 
 
1517
} # ac_fn_c_try_compile
 
1518
 
 
1519
# ac_fn_c_try_cpp LINENO
 
1520
# ----------------------
 
1521
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1522
ac_fn_c_try_cpp ()
 
1523
{
 
1524
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1525
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1526
case "(($ac_try" in
 
1527
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1528
  *) ac_try_echo=$ac_try;;
 
1529
esac
 
1530
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1531
$as_echo "$ac_try_echo"; } >&5
 
1532
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1533
  ac_status=$?
 
1534
  if test -s conftest.err; then
 
1535
    grep -v '^ *+' conftest.err >conftest.er1
 
1536
    cat conftest.er1 >&5
 
1537
    mv -f conftest.er1 conftest.err
 
1538
  fi
 
1539
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1540
  test $ac_status = 0; } > conftest.i && {
 
1541
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1542
         test ! -s conftest.err
 
1543
       }; then :
 
1544
  ac_retval=0
 
1545
else
 
1546
  $as_echo "$as_me: failed program was:" >&5
 
1547
sed 's/^/| /' conftest.$ac_ext >&5
 
1548
 
 
1549
    ac_retval=1
 
1550
fi
 
1551
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1552
  as_fn_set_status $ac_retval
 
1553
 
 
1554
} # ac_fn_c_try_cpp
 
1555
 
 
1556
# ac_fn_c_try_run LINENO
 
1557
# ----------------------
 
1558
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1559
# that executables *can* be run.
 
1560
ac_fn_c_try_run ()
 
1561
{
 
1562
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1563
  if { { ac_try="$ac_link"
 
1564
case "(($ac_try" in
 
1565
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1566
  *) ac_try_echo=$ac_try;;
 
1567
esac
 
1568
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1569
$as_echo "$ac_try_echo"; } >&5
 
1570
  (eval "$ac_link") 2>&5
 
1571
  ac_status=$?
 
1572
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1573
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1574
  { { case "(($ac_try" in
 
1575
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1576
  *) ac_try_echo=$ac_try;;
 
1577
esac
 
1578
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1579
$as_echo "$ac_try_echo"; } >&5
 
1580
  (eval "$ac_try") 2>&5
 
1581
  ac_status=$?
 
1582
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1583
  test $ac_status = 0; }; }; then :
 
1584
  ac_retval=0
 
1585
else
 
1586
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1587
       $as_echo "$as_me: failed program was:" >&5
 
1588
sed 's/^/| /' conftest.$ac_ext >&5
 
1589
 
 
1590
       ac_retval=$ac_status
 
1591
fi
 
1592
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1593
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1594
  as_fn_set_status $ac_retval
 
1595
 
 
1596
} # ac_fn_c_try_run
 
1597
 
 
1598
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1599
# -------------------------------------------------------
 
1600
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1601
# the include files in INCLUDES and setting the cache variable VAR
 
1602
# accordingly.
 
1603
ac_fn_c_check_header_mongrel ()
 
1604
{
 
1605
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1606
  if eval \${$3+:} false; then :
 
1607
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1608
$as_echo_n "checking for $2... " >&6; }
 
1609
if eval \${$3+:} false; then :
 
1610
  $as_echo_n "(cached) " >&6
 
1611
fi
 
1612
eval ac_res=\$$3
 
1613
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1614
$as_echo "$ac_res" >&6; }
 
1615
else
 
1616
  # Is the header compilable?
 
1617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1618
$as_echo_n "checking $2 usability... " >&6; }
 
1619
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1620
/* end confdefs.h.  */
 
1621
$4
 
1622
#include <$2>
 
1623
_ACEOF
 
1624
if ac_fn_c_try_compile "$LINENO"; then :
 
1625
  ac_header_compiler=yes
 
1626
else
 
1627
  ac_header_compiler=no
 
1628
fi
 
1629
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1631
$as_echo "$ac_header_compiler" >&6; }
 
1632
 
 
1633
# Is the header present?
 
1634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1635
$as_echo_n "checking $2 presence... " >&6; }
 
1636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1637
/* end confdefs.h.  */
 
1638
#include <$2>
 
1639
_ACEOF
 
1640
if ac_fn_c_try_cpp "$LINENO"; then :
 
1641
  ac_header_preproc=yes
 
1642
else
 
1643
  ac_header_preproc=no
 
1644
fi
 
1645
rm -f conftest.err conftest.i conftest.$ac_ext
 
1646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1647
$as_echo "$ac_header_preproc" >&6; }
 
1648
 
 
1649
# So?  What about this header?
 
1650
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1651
  yes:no: )
 
1652
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1653
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1654
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1655
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1656
    ;;
 
1657
  no:yes:* )
 
1658
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1659
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1660
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1661
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1662
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1663
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1664
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1665
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1666
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1667
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1668
( $as_echo "## ----------------------------------------------------------------------------- ##
 
1669
## Report this to https://bugzilla.gnome.org/enter_bug.cgi?product=transmageddon ##
 
1670
## ----------------------------------------------------------------------------- ##"
 
1671
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1672
    ;;
 
1673
esac
 
1674
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1675
$as_echo_n "checking for $2... " >&6; }
 
1676
if eval \${$3+:} false; then :
 
1677
  $as_echo_n "(cached) " >&6
 
1678
else
 
1679
  eval "$3=\$ac_header_compiler"
 
1680
fi
 
1681
eval ac_res=\$$3
 
1682
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1683
$as_echo "$ac_res" >&6; }
 
1684
fi
 
1685
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1686
 
 
1687
} # ac_fn_c_check_header_mongrel
 
1688
 
 
1689
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1690
# -------------------------------------------------------
 
1691
# Tests whether HEADER exists and can be compiled using the include files in
 
1692
# INCLUDES, setting the cache variable VAR accordingly.
 
1693
ac_fn_c_check_header_compile ()
 
1694
{
 
1695
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1696
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1697
$as_echo_n "checking for $2... " >&6; }
 
1698
if eval \${$3+:} false; then :
 
1699
  $as_echo_n "(cached) " >&6
 
1700
else
 
1701
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1702
/* end confdefs.h.  */
 
1703
$4
 
1704
#include <$2>
 
1705
_ACEOF
 
1706
if ac_fn_c_try_compile "$LINENO"; then :
 
1707
  eval "$3=yes"
 
1708
else
 
1709
  eval "$3=no"
 
1710
fi
 
1711
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1712
fi
 
1713
eval ac_res=\$$3
 
1714
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1715
$as_echo "$ac_res" >&6; }
 
1716
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1717
 
 
1718
} # ac_fn_c_check_header_compile
 
1719
 
 
1720
# ac_fn_c_try_link LINENO
 
1721
# -----------------------
 
1722
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1723
ac_fn_c_try_link ()
 
1724
{
 
1725
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1726
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1727
  if { { ac_try="$ac_link"
 
1728
case "(($ac_try" in
 
1729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1730
  *) ac_try_echo=$ac_try;;
 
1731
esac
 
1732
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1733
$as_echo "$ac_try_echo"; } >&5
 
1734
  (eval "$ac_link") 2>conftest.err
 
1735
  ac_status=$?
 
1736
  if test -s conftest.err; then
 
1737
    grep -v '^ *+' conftest.err >conftest.er1
 
1738
    cat conftest.er1 >&5
 
1739
    mv -f conftest.er1 conftest.err
 
1740
  fi
 
1741
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1742
  test $ac_status = 0; } && {
 
1743
         test -z "$ac_c_werror_flag" ||
 
1744
         test ! -s conftest.err
 
1745
       } && test -s conftest$ac_exeext && {
 
1746
         test "$cross_compiling" = yes ||
 
1747
         $as_test_x conftest$ac_exeext
 
1748
       }; then :
 
1749
  ac_retval=0
 
1750
else
 
1751
  $as_echo "$as_me: failed program was:" >&5
 
1752
sed 's/^/| /' conftest.$ac_ext >&5
 
1753
 
 
1754
        ac_retval=1
 
1755
fi
 
1756
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1757
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1758
  # interfere with the next link command; also delete a directory that is
 
1759
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1760
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1761
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1762
  as_fn_set_status $ac_retval
 
1763
 
 
1764
} # ac_fn_c_try_link
 
1765
 
 
1766
# ac_fn_c_check_func LINENO FUNC VAR
 
1767
# ----------------------------------
 
1768
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1769
ac_fn_c_check_func ()
 
1770
{
 
1771
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1772
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1773
$as_echo_n "checking for $2... " >&6; }
 
1774
if eval \${$3+:} false; then :
 
1775
  $as_echo_n "(cached) " >&6
 
1776
else
 
1777
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1778
/* end confdefs.h.  */
 
1779
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1780
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1781
#define $2 innocuous_$2
 
1782
 
 
1783
/* System header to define __stub macros and hopefully few prototypes,
 
1784
    which can conflict with char $2 (); below.
 
1785
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1786
    <limits.h> exists even on freestanding compilers.  */
 
1787
 
 
1788
#ifdef __STDC__
 
1789
# include <limits.h>
 
1790
#else
 
1791
# include <assert.h>
 
1792
#endif
 
1793
 
 
1794
#undef $2
 
1795
 
 
1796
/* Override any GCC internal prototype to avoid an error.
 
1797
   Use char because int might match the return type of a GCC
 
1798
   builtin and then its argument prototype would still apply.  */
 
1799
#ifdef __cplusplus
 
1800
extern "C"
 
1801
#endif
 
1802
char $2 ();
 
1803
/* The GNU C library defines this for functions which it implements
 
1804
    to always fail with ENOSYS.  Some functions are actually named
 
1805
    something starting with __ and the normal name is an alias.  */
 
1806
#if defined __stub_$2 || defined __stub___$2
 
1807
choke me
 
1808
#endif
 
1809
 
 
1810
int
 
1811
main ()
 
1812
{
 
1813
return $2 ();
 
1814
  ;
 
1815
  return 0;
 
1816
}
 
1817
_ACEOF
 
1818
if ac_fn_c_try_link "$LINENO"; then :
 
1819
  eval "$3=yes"
 
1820
else
 
1821
  eval "$3=no"
 
1822
fi
 
1823
rm -f core conftest.err conftest.$ac_objext \
 
1824
    conftest$ac_exeext conftest.$ac_ext
 
1825
fi
 
1826
eval ac_res=\$$3
 
1827
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1828
$as_echo "$ac_res" >&6; }
 
1829
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1830
 
 
1831
} # ac_fn_c_check_func
1523
1832
cat >config.log <<_ACEOF
1524
1833
This file contains any messages produced by compilers while
1525
1834
running configure, to aid debugging if configure makes a mistake.
1526
1835
 
1527
 
It was created by transmageddon $as_me 0.16, which was
1528
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1836
It was created by transmageddon $as_me 0.20, which was
 
1837
generated by GNU Autoconf 2.68.  Invocation command line was
1529
1838
 
1530
1839
  $ $0 $@
1531
1840
 
1561
1870
do
1562
1871
  IFS=$as_save_IFS
1563
1872
  test -z "$as_dir" && as_dir=.
1564
 
  $as_echo "PATH: $as_dir"
1565
 
done
 
1873
    $as_echo "PATH: $as_dir"
 
1874
  done
1566
1875
IFS=$as_save_IFS
1567
1876
 
1568
1877
} >&5
1599
1908
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1600
1909
    esac
1601
1910
    case $ac_pass in
1602
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1911
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1603
1912
    2)
1604
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1913
      as_fn_append ac_configure_args1 " '$ac_arg'"
1605
1914
      if test $ac_must_keep_next = true; then
1606
1915
        ac_must_keep_next=false # Got value, back to normal.
1607
1916
      else
1617
1926
          -* ) ac_must_keep_next=true ;;
1618
1927
        esac
1619
1928
      fi
1620
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1929
      as_fn_append ac_configure_args " '$ac_arg'"
1621
1930
      ;;
1622
1931
    esac
1623
1932
  done
1624
1933
done
1625
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1626
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1934
{ ac_configure_args0=; unset ac_configure_args0;}
 
1935
{ ac_configure_args1=; unset ac_configure_args1;}
1627
1936
 
1628
1937
# When interrupted or exit'd, cleanup temporary files, and complete
1629
1938
# config.log.  We remove comments because anyway the quotes in there
1635
1944
  {
1636
1945
    echo
1637
1946
 
1638
 
    cat <<\_ASBOX
1639
 
## ---------------- ##
 
1947
    $as_echo "## ---------------- ##
1640
1948
## Cache variables. ##
1641
 
## ---------------- ##
1642
 
_ASBOX
 
1949
## ---------------- ##"
1643
1950
    echo
1644
1951
    # The following way of writing the cache mishandles newlines in values,
1645
1952
(
1648
1955
    case $ac_val in #(
1649
1956
    *${as_nl}*)
1650
1957
      case $ac_var in #(
1651
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1958
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1652
1959
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1653
1960
      esac
1654
1961
      case $ac_var in #(
1655
1962
      _ | IFS | as_nl) ;; #(
1656
1963
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1657
 
      *) $as_unset $ac_var ;;
 
1964
      *) { eval $ac_var=; unset $ac_var;} ;;
1658
1965
      esac ;;
1659
1966
    esac
1660
1967
  done
1673
1980
)
1674
1981
    echo
1675
1982
 
1676
 
    cat <<\_ASBOX
1677
 
## ----------------- ##
 
1983
    $as_echo "## ----------------- ##
1678
1984
## Output variables. ##
1679
 
## ----------------- ##
1680
 
_ASBOX
 
1985
## ----------------- ##"
1681
1986
    echo
1682
1987
    for ac_var in $ac_subst_vars
1683
1988
    do
1690
1995
    echo
1691
1996
 
1692
1997
    if test -n "$ac_subst_files"; then
1693
 
      cat <<\_ASBOX
1694
 
## ------------------- ##
 
1998
      $as_echo "## ------------------- ##
1695
1999
## File substitutions. ##
1696
 
## ------------------- ##
1697
 
_ASBOX
 
2000
## ------------------- ##"
1698
2001
      echo
1699
2002
      for ac_var in $ac_subst_files
1700
2003
      do
1708
2011
    fi
1709
2012
 
1710
2013
    if test -s confdefs.h; then
1711
 
      cat <<\_ASBOX
1712
 
## ----------- ##
 
2014
      $as_echo "## ----------- ##
1713
2015
## confdefs.h. ##
1714
 
## ----------- ##
1715
 
_ASBOX
 
2016
## ----------- ##"
1716
2017
      echo
1717
2018
      cat confdefs.h
1718
2019
      echo
1726
2027
    exit $exit_status
1727
2028
' 0
1728
2029
for ac_signal in 1 2 13 15; do
1729
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2030
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1730
2031
done
1731
2032
ac_signal=0
1732
2033
 
1733
2034
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1734
2035
rm -f -r conftest* confdefs.h
1735
2036
 
 
2037
$as_echo "/* confdefs.h */" > confdefs.h
 
2038
 
1736
2039
# Predefined preprocessor variables.
1737
2040
 
1738
2041
cat >>confdefs.h <<_ACEOF
1739
2042
#define PACKAGE_NAME "$PACKAGE_NAME"
1740
2043
_ACEOF
1741
2044
 
1742
 
 
1743
2045
cat >>confdefs.h <<_ACEOF
1744
2046
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1745
2047
_ACEOF
1746
2048
 
1747
 
 
1748
2049
cat >>confdefs.h <<_ACEOF
1749
2050
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1750
2051
_ACEOF
1751
2052
 
1752
 
 
1753
2053
cat >>confdefs.h <<_ACEOF
1754
2054
#define PACKAGE_STRING "$PACKAGE_STRING"
1755
2055
_ACEOF
1756
2056
 
1757
 
 
1758
2057
cat >>confdefs.h <<_ACEOF
1759
2058
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1760
2059
_ACEOF
1761
2060
 
 
2061
cat >>confdefs.h <<_ACEOF
 
2062
#define PACKAGE_URL "$PACKAGE_URL"
 
2063
_ACEOF
 
2064
 
1762
2065
 
1763
2066
# Let the site file select an alternate cache file if it wants to.
1764
2067
# Prefer an explicitly selected file to automatically selected ones.
1765
2068
ac_site_file1=NONE
1766
2069
ac_site_file2=NONE
1767
2070
if test -n "$CONFIG_SITE"; then
1768
 
  ac_site_file1=$CONFIG_SITE
 
2071
  # We do not want a PATH search for config.site.
 
2072
  case $CONFIG_SITE in #((
 
2073
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2074
    */*) ac_site_file1=$CONFIG_SITE;;
 
2075
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2076
  esac
1769
2077
elif test "x$prefix" != xNONE; then
1770
2078
  ac_site_file1=$prefix/share/config.site
1771
2079
  ac_site_file2=$prefix/etc/config.site
1776
2084
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1777
2085
do
1778
2086
  test "x$ac_site_file" = xNONE && continue
1779
 
  if test -r "$ac_site_file"; then
1780
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2087
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2088
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1781
2089
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1782
2090
    sed 's/^/| /' "$ac_site_file" >&5
1783
 
    . "$ac_site_file"
 
2091
    . "$ac_site_file" \
 
2092
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2093
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2094
as_fn_error $? "failed to load site script $ac_site_file
 
2095
See \`config.log' for more details" "$LINENO" 5; }
1784
2096
  fi
1785
2097
done
1786
2098
 
1787
2099
if test -r "$cache_file"; then
1788
 
  # Some versions of bash will fail to source /dev/null (special
1789
 
  # files actually), so we avoid doing that.
1790
 
  if test -f "$cache_file"; then
1791
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2100
  # Some versions of bash will fail to source /dev/null (special files
 
2101
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2102
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2103
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1792
2104
$as_echo "$as_me: loading cache $cache_file" >&6;}
1793
2105
    case $cache_file in
1794
2106
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1796
2108
    esac
1797
2109
  fi
1798
2110
else
1799
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2111
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1800
2112
$as_echo "$as_me: creating cache $cache_file" >&6;}
1801
2113
  >$cache_file
1802
2114
fi
1811
2123
  eval ac_new_val=\$ac_env_${ac_var}_value
1812
2124
  case $ac_old_set,$ac_new_set in
1813
2125
    set,)
1814
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2126
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1815
2127
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1816
2128
      ac_cache_corrupted=: ;;
1817
2129
    ,set)
1818
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2130
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1819
2131
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1820
2132
      ac_cache_corrupted=: ;;
1821
2133
    ,);;
1825
2137
        ac_old_val_w=`echo x $ac_old_val`
1826
2138
        ac_new_val_w=`echo x $ac_new_val`
1827
2139
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1828
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2140
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1829
2141
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1830
2142
          ac_cache_corrupted=:
1831
2143
        else
1832
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2144
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1833
2145
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1834
2146
          eval $ac_var=\$ac_old_val
1835
2147
        fi
1836
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2148
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1837
2149
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1838
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2150
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1839
2151
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1840
2152
      fi;;
1841
2153
  esac
1847
2159
    esac
1848
2160
    case " $ac_configure_args " in
1849
2161
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1850
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2162
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1851
2163
    esac
1852
2164
  fi
1853
2165
done
1854
2166
if $ac_cache_corrupted; then
1855
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2167
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1856
2168
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1857
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2169
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1858
2170
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1859
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1860
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1861
 
   { (exit 1); exit 1; }; }
 
2171
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1862
2172
fi
1863
 
 
1864
 
 
1865
 
 
1866
 
 
1867
 
 
1868
 
 
1869
 
 
1870
 
 
1871
 
 
1872
 
 
1873
 
 
1874
 
 
1875
 
 
1876
 
 
1877
 
 
1878
 
 
1879
 
 
1880
 
 
1881
 
 
1882
 
 
1883
 
 
1884
 
 
1885
 
 
1886
 
 
 
2173
## -------------------- ##
 
2174
## Main body of script. ##
 
2175
## -------------------- ##
1887
2176
 
1888
2177
ac_ext=c
1889
2178
ac_cpp='$CPP $CPPFLAGS'
1893
2182
 
1894
2183
 
1895
2184
 
 
2185
 
 
2186
 
 
2187
 
1896
2188
am__api_version='1.11'
1897
2189
 
1898
2190
ac_aux_dir=
1912
2204
  fi
1913
2205
done
1914
2206
if test -z "$ac_aux_dir"; then
1915
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1916
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1917
 
   { (exit 1); exit 1; }; }
 
2207
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1918
2208
fi
1919
2209
 
1920
2210
# These three variables are undocumented and unsupported,
1940
2230
# OS/2's system install, which has a completely different semantic
1941
2231
# ./install, which can be erroneously created by make from ./install.sh.
1942
2232
# Reject install programs that cannot install multiple files.
1943
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1944
2234
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1945
2235
if test -z "$INSTALL"; then
1946
 
if test "${ac_cv_path_install+set}" = set; then
 
2236
if ${ac_cv_path_install+:} false; then :
1947
2237
  $as_echo_n "(cached) " >&6
1948
2238
else
1949
2239
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1951
2241
do
1952
2242
  IFS=$as_save_IFS
1953
2243
  test -z "$as_dir" && as_dir=.
1954
 
  # Account for people who put trailing slashes in PATH elements.
1955
 
case $as_dir/ in
1956
 
  ./ | .// | /cC/* | \
 
2244
    # Account for people who put trailing slashes in PATH elements.
 
2245
case $as_dir/ in #((
 
2246
  ./ | .// | /[cC]/* | \
1957
2247
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1958
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2248
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1959
2249
  /usr/ucb/* ) ;;
1960
2250
  *)
1961
2251
    # OSF1 and SCO ODT 3.0 have their own names for install.
1992
2282
    ;;
1993
2283
esac
1994
2284
 
1995
 
done
 
2285
  done
1996
2286
IFS=$as_save_IFS
1997
2287
 
1998
2288
rm -rf conftest.one conftest.two conftest.dir
2008
2298
    INSTALL=$ac_install_sh
2009
2299
  fi
2010
2300
fi
2011
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2012
2302
$as_echo "$INSTALL" >&6; }
2013
2303
 
2014
2304
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2019
2309
 
2020
2310
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2021
2311
 
2022
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2023
2313
$as_echo_n "checking whether build environment is sane... " >&6; }
2024
2314
# Just in case
2025
2315
sleep 1
2030
2320
'
2031
2321
case `pwd` in
2032
2322
  *[\\\"\#\$\&\'\`$am_lf]*)
2033
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2034
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2035
 
   { (exit 1); exit 1; }; };;
 
2323
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2036
2324
esac
2037
2325
case $srcdir in
2038
2326
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2039
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2040
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2041
 
   { (exit 1); exit 1; }; };;
 
2327
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2042
2328
esac
2043
2329
 
2044
2330
# Do `set' in a subshell so we don't clobber the current shell's
2060
2346
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2061
2347
      # broken ls alias from the environment.  This has actually
2062
2348
      # happened.  Such a system could not be considered "sane".
2063
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2064
 
alias in your environment" >&5
2065
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2066
 
alias in your environment" >&2;}
2067
 
   { (exit 1); exit 1; }; }
 
2349
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2350
alias in your environment" "$LINENO" 5
2068
2351
   fi
2069
2352
 
2070
2353
   test "$2" = conftest.file
2073
2356
   # Ok.
2074
2357
   :
2075
2358
else
2076
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2077
 
Check your system clock" >&5
2078
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2079
 
Check your system clock" >&2;}
2080
 
   { (exit 1); exit 1; }; }
 
2359
   as_fn_error $? "newly created file is older than distributed files!
 
2360
Check your system clock" "$LINENO" 5
2081
2361
fi
2082
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2083
2363
$as_echo "yes" >&6; }
2084
2364
test "$program_prefix" != NONE &&
2085
2365
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2107
2387
  am_missing_run="$MISSING --run "
2108
2388
else
2109
2389
  am_missing_run=
2110
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2390
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2111
2391
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2112
2392
fi
2113
2393
 
2128
2408
  if test -n "$ac_tool_prefix"; then
2129
2409
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2130
2410
set dummy ${ac_tool_prefix}strip; ac_word=$2
2131
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2132
2412
$as_echo_n "checking for $ac_word... " >&6; }
2133
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2413
if ${ac_cv_prog_STRIP+:} false; then :
2134
2414
  $as_echo_n "(cached) " >&6
2135
2415
else
2136
2416
  if test -n "$STRIP"; then
2141
2421
do
2142
2422
  IFS=$as_save_IFS
2143
2423
  test -z "$as_dir" && as_dir=.
2144
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2424
    for ac_exec_ext in '' $ac_executable_extensions; do
2145
2425
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2146
2426
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2147
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2427
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2148
2428
    break 2
2149
2429
  fi
2150
2430
done
2151
 
done
 
2431
  done
2152
2432
IFS=$as_save_IFS
2153
2433
 
2154
2434
fi
2155
2435
fi
2156
2436
STRIP=$ac_cv_prog_STRIP
2157
2437
if test -n "$STRIP"; then
2158
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2438
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2159
2439
$as_echo "$STRIP" >&6; }
2160
2440
else
2161
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2441
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2162
2442
$as_echo "no" >&6; }
2163
2443
fi
2164
2444
 
2168
2448
  ac_ct_STRIP=$STRIP
2169
2449
  # Extract the first word of "strip", so it can be a program name with args.
2170
2450
set dummy strip; ac_word=$2
2171
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2172
2452
$as_echo_n "checking for $ac_word... " >&6; }
2173
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2453
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2174
2454
  $as_echo_n "(cached) " >&6
2175
2455
else
2176
2456
  if test -n "$ac_ct_STRIP"; then
2181
2461
do
2182
2462
  IFS=$as_save_IFS
2183
2463
  test -z "$as_dir" && as_dir=.
2184
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2464
    for ac_exec_ext in '' $ac_executable_extensions; do
2185
2465
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2186
2466
    ac_cv_prog_ac_ct_STRIP="strip"
2187
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2467
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2188
2468
    break 2
2189
2469
  fi
2190
2470
done
2191
 
done
 
2471
  done
2192
2472
IFS=$as_save_IFS
2193
2473
 
2194
2474
fi
2195
2475
fi
2196
2476
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2197
2477
if test -n "$ac_ct_STRIP"; then
2198
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2478
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2199
2479
$as_echo "$ac_ct_STRIP" >&6; }
2200
2480
else
2201
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2481
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2202
2482
$as_echo "no" >&6; }
2203
2483
fi
2204
2484
 
2207
2487
  else
2208
2488
    case $cross_compiling:$ac_tool_warned in
2209
2489
yes:)
2210
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2490
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2211
2491
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2212
2492
ac_tool_warned=yes ;;
2213
2493
esac
2220
2500
fi
2221
2501
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2222
2502
 
2223
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2224
2504
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2225
2505
if test -z "$MKDIR_P"; then
2226
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2506
  if ${ac_cv_path_mkdir+:} false; then :
2227
2507
  $as_echo_n "(cached) " >&6
2228
2508
else
2229
2509
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2231
2511
do
2232
2512
  IFS=$as_save_IFS
2233
2513
  test -z "$as_dir" && as_dir=.
2234
 
  for ac_prog in mkdir gmkdir; do
 
2514
    for ac_prog in mkdir gmkdir; do
2235
2515
         for ac_exec_ext in '' $ac_executable_extensions; do
2236
2516
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2237
2517
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2243
2523
           esac
2244
2524
         done
2245
2525
       done
2246
 
done
 
2526
  done
2247
2527
IFS=$as_save_IFS
2248
2528
 
2249
2529
fi
2250
2530
 
 
2531
  test -d ./--version && rmdir ./--version
2251
2532
  if test "${ac_cv_path_mkdir+set}" = set; then
2252
2533
    MKDIR_P="$ac_cv_path_mkdir -p"
2253
2534
  else
2255
2536
    # value for MKDIR_P within a source directory, because that will
2256
2537
    # break other packages using the cache if that directory is
2257
2538
    # removed, or if the value is a relative name.
2258
 
    test -d ./--version && rmdir ./--version
2259
2539
    MKDIR_P="$ac_install_sh -d"
2260
2540
  fi
2261
2541
fi
2262
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2263
2543
$as_echo "$MKDIR_P" >&6; }
2264
2544
 
2265
2545
mkdir_p="$MKDIR_P"
2272
2552
do
2273
2553
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2274
2554
set dummy $ac_prog; ac_word=$2
2275
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2276
2556
$as_echo_n "checking for $ac_word... " >&6; }
2277
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2557
if ${ac_cv_prog_AWK+:} false; then :
2278
2558
  $as_echo_n "(cached) " >&6
2279
2559
else
2280
2560
  if test -n "$AWK"; then
2285
2565
do
2286
2566
  IFS=$as_save_IFS
2287
2567
  test -z "$as_dir" && as_dir=.
2288
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2568
    for ac_exec_ext in '' $ac_executable_extensions; do
2289
2569
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2290
2570
    ac_cv_prog_AWK="$ac_prog"
2291
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2571
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2292
2572
    break 2
2293
2573
  fi
2294
2574
done
2295
 
done
 
2575
  done
2296
2576
IFS=$as_save_IFS
2297
2577
 
2298
2578
fi
2299
2579
fi
2300
2580
AWK=$ac_cv_prog_AWK
2301
2581
if test -n "$AWK"; then
2302
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2582
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2303
2583
$as_echo "$AWK" >&6; }
2304
2584
else
2305
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2585
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2306
2586
$as_echo "no" >&6; }
2307
2587
fi
2308
2588
 
2310
2590
  test -n "$AWK" && break
2311
2591
done
2312
2592
 
2313
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2314
2594
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2315
2595
set x ${MAKE-make}
2316
2596
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2317
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2597
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2318
2598
  $as_echo_n "(cached) " >&6
2319
2599
else
2320
2600
  cat >conftest.make <<\_ACEOF
2322
2602
all:
2323
2603
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2324
2604
_ACEOF
2325
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2605
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2326
2606
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2327
2607
  *@@@%%%=?*=@@@%%%*)
2328
2608
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2332
2612
rm -f conftest.make
2333
2613
fi
2334
2614
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2335
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2615
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2336
2616
$as_echo "yes" >&6; }
2337
2617
  SET_MAKE=
2338
2618
else
2339
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2619
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2340
2620
$as_echo "no" >&6; }
2341
2621
  SET_MAKE="MAKE=${MAKE-make}"
2342
2622
fi
2356
2636
  am__isrc=' -I$(srcdir)'
2357
2637
  # test to see if srcdir already configured
2358
2638
  if test -f $srcdir/config.status; then
2359
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2360
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2361
 
   { (exit 1); exit 1; }; }
 
2639
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2362
2640
  fi
2363
2641
fi
2364
2642
 
2374
2652
 
2375
2653
# Define the identity of the package.
2376
2654
 PACKAGE='transmageddon'
2377
 
 VERSION='0.16'
 
2655
 VERSION='0.20'
2378
2656
 
2379
2657
 
2380
2658
cat >>confdefs.h <<_ACEOF
2416
2694
 
2417
2695
 
2418
2696
 
2419
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2420
 
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
2697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
 
2698
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2421
2699
    # Check whether --enable-maintainer-mode was given.
2422
 
if test "${enable_maintainer_mode+set}" = set; then
 
2700
if test "${enable_maintainer_mode+set}" = set; then :
2423
2701
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2424
2702
else
2425
 
  USE_MAINTAINER_MODE=no
 
2703
  USE_MAINTAINER_MODE=yes
2426
2704
fi
2427
2705
 
2428
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2706
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2429
2707
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2430
2708
   if test $USE_MAINTAINER_MODE = yes; then
2431
2709
  MAINTAINER_MODE_TRUE=
2440
2718
 
2441
2719
 
2442
2720
 
2443
 
  PACKAGE_VERSION_MAJOR=$(echo 0.16 | cut -d'.' -f1)
2444
 
  PACKAGE_VERSION_MINOR=$(echo 0.16 | cut -d'.' -f2)
2445
 
  PACKAGE_VERSION_MICRO=$(echo 0.16 | cut -d'.' -f3)
2446
 
 
2447
 
 
2448
 
 
2449
 
 
2450
 
 
2451
 
 
2452
 
 
2453
 
 
2454
 
 
2455
 
 
2456
2721
AUTHORS=$srcdir/AUTHORS
2457
2722
 
2458
2723
 
2463
2728
GST_REQ=0.10.13.1
2464
2729
 
2465
2730
 
2466
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2467
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2468
 
  # is not polluted with repeated "-I."
2469
 
  am__isrc=' -I$(srcdir)'
2470
 
  # test to see if srcdir already configured
2471
 
  if test -f $srcdir/config.status; then
2472
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2473
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2474
 
   { (exit 1); exit 1; }; }
2475
 
  fi
2476
 
fi
2477
 
 
2478
 
# test whether we have cygpath
2479
 
if test -z "$CYGPATH_W"; then
2480
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2481
 
    CYGPATH_W='cygpath -w'
2482
 
  else
2483
 
    CYGPATH_W=echo
2484
 
  fi
2485
 
fi
2486
 
 
2487
 
 
2488
 
# Define the identity of the package.
2489
 
 PACKAGE=$PACKAGE
2490
 
 VERSION=$VERSION
2491
 
 
2492
 
 
2493
 
cat >>confdefs.h <<_ACEOF
2494
 
#define PACKAGE "$PACKAGE"
2495
 
_ACEOF
2496
 
 
2497
 
 
2498
 
cat >>confdefs.h <<_ACEOF
2499
 
#define VERSION "$VERSION"
2500
 
_ACEOF
2501
 
 
2502
 
# Some tools Automake needs.
2503
 
 
2504
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2505
 
 
2506
 
 
2507
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2508
 
 
2509
 
 
2510
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2511
 
 
2512
 
 
2513
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2514
 
 
2515
 
 
2516
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2517
 
 
2518
 
# We need awk for the "check" target.  The system "awk" is bad on
2519
 
# some platforms.
2520
 
# Always define AMTAR for backward compatibility.
2521
 
 
2522
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2523
 
 
2524
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2525
 
 
2526
 
 
2527
 
 
2528
 
 
2529
 
 
2530
 
ACLOCAL_AMFLAGS="-I common/m4"
2531
 
 
2532
 
 
2533
2731
 
2534
2732
  EXP_VAR=LIBDIR
2535
2733
  FROM_VAR=$libdir
2558
2756
    prefix=$prefix_save
2559
2757
  exec_prefix=$exec_prefix_save
2560
2758
 
2561
 
{ $as_echo "$as_me:$LINENO: Storing library files in $LIBDIR" >&5
 
2759
{ $as_echo "$as_me:${as_lineno-$LINENO}: Storing library files in $LIBDIR" >&5
2562
2760
$as_echo "$as_me: Storing library files in $LIBDIR" >&6;}
2563
2761
 
2564
2762
 
2589
2787
    prefix=$prefix_save
2590
2788
  exec_prefix=$exec_prefix_save
2591
2789
 
2592
 
{ $as_echo "$as_me:$LINENO: Storing data files in $DATADIR" >&5
 
2790
{ $as_echo "$as_me:${as_lineno-$LINENO}: Storing data files in $DATADIR" >&5
2593
2791
$as_echo "$as_me: Storing data files in $DATADIR" >&6;}
2594
2792
 
2595
2793
 
2620
2818
    prefix=$prefix_save
2621
2819
  exec_prefix=$exec_prefix_save
2622
2820
 
2623
 
{ $as_echo "$as_me:$LINENO: Storing configuration files in $SYSCONFDIR" >&5
 
2821
{ $as_echo "$as_me:${as_lineno-$LINENO}: Storing configuration files in $SYSCONFDIR" >&5
2624
2822
$as_echo "$as_me: Storing configuration files in $SYSCONFDIR" >&6;}
2625
2823
 
2626
2824
 
2651
2849
    prefix=$prefix_save
2652
2850
  exec_prefix=$exec_prefix_save
2653
2851
 
2654
 
{ $as_echo "$as_me:$LINENO: Using localstatedir $LOCALSTATEDIR" >&5
 
2852
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using localstatedir $LOCALSTATEDIR" >&5
2655
2853
$as_echo "$as_me: Using localstatedir $LOCALSTATEDIR" >&6;}
2656
2854
 
2657
2855
 
2659
2857
    PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
2660
2858
                     python1.6 python1.5"
2661
2859
 
2662
 
     { $as_echo "$as_me:$LINENO: Looking for Python version >= 2.5" >&5
 
2860
     { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.5" >&5
2663
2861
$as_echo "$as_me: Looking for Python version >= 2.5" >&6;}
2664
2862
        prog="
2665
2863
import sys, string
2677
2875
      unset PYTHON
2678
2876
      # Extract the first word of "$python_candidate", so it can be a program name with args.
2679
2877
set dummy $python_candidate; ac_word=$2
2680
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681
2879
$as_echo_n "checking for $ac_word... " >&6; }
2682
 
if test "${ac_cv_path_PYTHON+set}" = set; then
 
2880
if ${ac_cv_path_PYTHON+:} false; then :
2683
2881
  $as_echo_n "(cached) " >&6
2684
2882
else
2685
2883
  case $PYTHON in
2692
2890
do
2693
2891
  IFS=$as_save_IFS
2694
2892
  test -z "$as_dir" && as_dir=.
2695
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2893
    for ac_exec_ext in '' $ac_executable_extensions; do
2696
2894
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2697
2895
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
2698
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2896
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2699
2897
    break 2
2700
2898
  fi
2701
2899
done
2702
 
done
 
2900
  done
2703
2901
IFS=$as_save_IFS
2704
2902
 
2705
2903
  ;;
2707
2905
fi
2708
2906
PYTHON=$ac_cv_path_PYTHON
2709
2907
if test -n "$PYTHON"; then
2710
 
  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
 
2908
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
2711
2909
$as_echo "$PYTHON" >&6; }
2712
2910
else
2713
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2911
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714
2912
$as_echo "no" >&6; }
2715
2913
fi
2716
2914
 
2719
2917
      if test "x$PYTHON" = "x"; then continue; fi
2720
2918
 
2721
2919
      if $PYTHON -c "$prog" 1>&5 2>&5; then
2722
 
        { $as_echo "$as_me:$LINENO: checking \"$PYTHON\":" >&5
 
2920
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
2723
2921
$as_echo_n "checking \"$PYTHON\":... " >&6; }
2724
 
        { $as_echo "$as_me:$LINENO: result: okay" >&5
 
2922
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
2725
2923
$as_echo "okay" >&6; }
2726
2924
        python_good=true
2727
2925
        break;
2732
2930
 
2733
2931
 
2734
2932
  if test "$python_good" != "true"; then
2735
 
    { $as_echo "$as_me:$LINENO: WARNING: No suitable version of python found" >&5
 
2933
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
2736
2934
$as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
2737
2935
    PYTHON=
2738
2936
  else
2739
2937
 
2740
 
  { $as_echo "$as_me:$LINENO: checking local Python configuration" >&5
 
2938
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
2741
2939
$as_echo_n "checking local Python configuration... " >&6; }
2742
2940
 
2743
2941
 
2774
2972
 
2775
2973
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
2776
2974
 
2777
 
  { $as_echo "$as_me:$LINENO: result: looks good" >&5
 
2975
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
2778
2976
$as_echo "looks good" >&6; }
2779
2977
 
2780
2978
  fi
2800
2998
.PHONY: am__doit
2801
2999
END
2802
3000
# If we don't find an include directive, just comment out the code.
2803
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2804
3002
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2805
3003
am__include="#"
2806
3004
am__quote=
2828
3026
fi
2829
3027
 
2830
3028
 
2831
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2832
3030
$as_echo "$_am_result" >&6; }
2833
3031
rm -f confinc confmf
2834
3032
 
2835
3033
# Check whether --enable-dependency-tracking was given.
2836
 
if test "${enable_dependency_tracking+set}" = set; then
 
3034
if test "${enable_dependency_tracking+set}" = set; then :
2837
3035
  enableval=$enable_dependency_tracking;
2838
3036
fi
2839
3037
 
2858
3056
if test -n "$ac_tool_prefix"; then
2859
3057
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2860
3058
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2861
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862
3060
$as_echo_n "checking for $ac_word... " >&6; }
2863
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3061
if ${ac_cv_prog_CC+:} false; then :
2864
3062
  $as_echo_n "(cached) " >&6
2865
3063
else
2866
3064
  if test -n "$CC"; then
2871
3069
do
2872
3070
  IFS=$as_save_IFS
2873
3071
  test -z "$as_dir" && as_dir=.
2874
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3072
    for ac_exec_ext in '' $ac_executable_extensions; do
2875
3073
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2876
3074
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2877
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3075
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878
3076
    break 2
2879
3077
  fi
2880
3078
done
2881
 
done
 
3079
  done
2882
3080
IFS=$as_save_IFS
2883
3081
 
2884
3082
fi
2885
3083
fi
2886
3084
CC=$ac_cv_prog_CC
2887
3085
if test -n "$CC"; then
2888
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3086
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2889
3087
$as_echo "$CC" >&6; }
2890
3088
else
2891
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3089
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892
3090
$as_echo "no" >&6; }
2893
3091
fi
2894
3092
 
2898
3096
  ac_ct_CC=$CC
2899
3097
  # Extract the first word of "gcc", so it can be a program name with args.
2900
3098
set dummy gcc; ac_word=$2
2901
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902
3100
$as_echo_n "checking for $ac_word... " >&6; }
2903
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3101
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2904
3102
  $as_echo_n "(cached) " >&6
2905
3103
else
2906
3104
  if test -n "$ac_ct_CC"; then
2911
3109
do
2912
3110
  IFS=$as_save_IFS
2913
3111
  test -z "$as_dir" && as_dir=.
2914
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3112
    for ac_exec_ext in '' $ac_executable_extensions; do
2915
3113
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2916
3114
    ac_cv_prog_ac_ct_CC="gcc"
2917
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3115
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2918
3116
    break 2
2919
3117
  fi
2920
3118
done
2921
 
done
 
3119
  done
2922
3120
IFS=$as_save_IFS
2923
3121
 
2924
3122
fi
2925
3123
fi
2926
3124
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2927
3125
if test -n "$ac_ct_CC"; then
2928
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3126
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2929
3127
$as_echo "$ac_ct_CC" >&6; }
2930
3128
else
2931
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2932
3130
$as_echo "no" >&6; }
2933
3131
fi
2934
3132
 
2937
3135
  else
2938
3136
    case $cross_compiling:$ac_tool_warned in
2939
3137
yes:)
2940
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3138
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2941
3139
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2942
3140
ac_tool_warned=yes ;;
2943
3141
esac
2951
3149
          if test -n "$ac_tool_prefix"; then
2952
3150
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2953
3151
set dummy ${ac_tool_prefix}cc; ac_word=$2
2954
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2955
3153
$as_echo_n "checking for $ac_word... " >&6; }
2956
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3154
if ${ac_cv_prog_CC+:} false; then :
2957
3155
  $as_echo_n "(cached) " >&6
2958
3156
else
2959
3157
  if test -n "$CC"; then
2964
3162
do
2965
3163
  IFS=$as_save_IFS
2966
3164
  test -z "$as_dir" && as_dir=.
2967
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3165
    for ac_exec_ext in '' $ac_executable_extensions; do
2968
3166
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2969
3167
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2970
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3168
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2971
3169
    break 2
2972
3170
  fi
2973
3171
done
2974
 
done
 
3172
  done
2975
3173
IFS=$as_save_IFS
2976
3174
 
2977
3175
fi
2978
3176
fi
2979
3177
CC=$ac_cv_prog_CC
2980
3178
if test -n "$CC"; then
2981
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3179
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2982
3180
$as_echo "$CC" >&6; }
2983
3181
else
2984
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3182
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2985
3183
$as_echo "no" >&6; }
2986
3184
fi
2987
3185
 
2991
3189
if test -z "$CC"; then
2992
3190
  # Extract the first word of "cc", so it can be a program name with args.
2993
3191
set dummy cc; ac_word=$2
2994
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995
3193
$as_echo_n "checking for $ac_word... " >&6; }
2996
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3194
if ${ac_cv_prog_CC+:} false; then :
2997
3195
  $as_echo_n "(cached) " >&6
2998
3196
else
2999
3197
  if test -n "$CC"; then
3005
3203
do
3006
3204
  IFS=$as_save_IFS
3007
3205
  test -z "$as_dir" && as_dir=.
3008
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3206
    for ac_exec_ext in '' $ac_executable_extensions; do
3009
3207
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3010
3208
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3011
3209
       ac_prog_rejected=yes
3012
3210
       continue
3013
3211
     fi
3014
3212
    ac_cv_prog_CC="cc"
3015
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3213
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3016
3214
    break 2
3017
3215
  fi
3018
3216
done
3019
 
done
 
3217
  done
3020
3218
IFS=$as_save_IFS
3021
3219
 
3022
3220
if test $ac_prog_rejected = yes; then
3035
3233
fi
3036
3234
CC=$ac_cv_prog_CC
3037
3235
if test -n "$CC"; then
3038
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3236
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3039
3237
$as_echo "$CC" >&6; }
3040
3238
else
3041
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3239
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042
3240
$as_echo "no" >&6; }
3043
3241
fi
3044
3242
 
3050
3248
  do
3051
3249
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3052
3250
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3053
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3054
3252
$as_echo_n "checking for $ac_word... " >&6; }
3055
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3253
if ${ac_cv_prog_CC+:} false; then :
3056
3254
  $as_echo_n "(cached) " >&6
3057
3255
else
3058
3256
  if test -n "$CC"; then
3063
3261
do
3064
3262
  IFS=$as_save_IFS
3065
3263
  test -z "$as_dir" && as_dir=.
3066
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3264
    for ac_exec_ext in '' $ac_executable_extensions; do
3067
3265
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3068
3266
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3069
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3267
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3070
3268
    break 2
3071
3269
  fi
3072
3270
done
3073
 
done
 
3271
  done
3074
3272
IFS=$as_save_IFS
3075
3273
 
3076
3274
fi
3077
3275
fi
3078
3276
CC=$ac_cv_prog_CC
3079
3277
if test -n "$CC"; then
3080
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3278
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3081
3279
$as_echo "$CC" >&6; }
3082
3280
else
3083
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3281
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3084
3282
$as_echo "no" >&6; }
3085
3283
fi
3086
3284
 
3094
3292
do
3095
3293
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3096
3294
set dummy $ac_prog; ac_word=$2
3097
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098
3296
$as_echo_n "checking for $ac_word... " >&6; }
3099
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3297
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3100
3298
  $as_echo_n "(cached) " >&6
3101
3299
else
3102
3300
  if test -n "$ac_ct_CC"; then
3107
3305
do
3108
3306
  IFS=$as_save_IFS
3109
3307
  test -z "$as_dir" && as_dir=.
3110
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3308
    for ac_exec_ext in '' $ac_executable_extensions; do
3111
3309
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3112
3310
    ac_cv_prog_ac_ct_CC="$ac_prog"
3113
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3311
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3114
3312
    break 2
3115
3313
  fi
3116
3314
done
3117
 
done
 
3315
  done
3118
3316
IFS=$as_save_IFS
3119
3317
 
3120
3318
fi
3121
3319
fi
3122
3320
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3123
3321
if test -n "$ac_ct_CC"; then
3124
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3322
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3125
3323
$as_echo "$ac_ct_CC" >&6; }
3126
3324
else
3127
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3325
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128
3326
$as_echo "no" >&6; }
3129
3327
fi
3130
3328
 
3137
3335
  else
3138
3336
    case $cross_compiling:$ac_tool_warned in
3139
3337
yes:)
3140
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3338
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3141
3339
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3142
3340
ac_tool_warned=yes ;;
3143
3341
esac
3148
3346
fi
3149
3347
 
3150
3348
 
3151
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3349
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152
3350
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3154
 
See \`config.log' for more details." >&5
3155
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3156
 
See \`config.log' for more details." >&2;}
3157
 
   { (exit 1); exit 1; }; }; }
 
3351
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3352
See \`config.log' for more details" "$LINENO" 5; }
3158
3353
 
3159
3354
# Provide some information about the compiler.
3160
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3355
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3161
3356
set X $ac_compile
3162
3357
ac_compiler=$2
3163
 
{ (ac_try="$ac_compiler --version >&5"
3164
 
case "(($ac_try" in
3165
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166
 
  *) ac_try_echo=$ac_try;;
3167
 
esac
3168
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3169
 
$as_echo "$ac_try_echo") >&5
3170
 
  (eval "$ac_compiler --version >&5") 2>&5
3171
 
  ac_status=$?
3172
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173
 
  (exit $ac_status); }
3174
 
{ (ac_try="$ac_compiler -v >&5"
3175
 
case "(($ac_try" in
3176
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177
 
  *) ac_try_echo=$ac_try;;
3178
 
esac
3179
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3180
 
$as_echo "$ac_try_echo") >&5
3181
 
  (eval "$ac_compiler -v >&5") 2>&5
3182
 
  ac_status=$?
3183
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184
 
  (exit $ac_status); }
3185
 
{ (ac_try="$ac_compiler -V >&5"
3186
 
case "(($ac_try" in
3187
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3188
 
  *) ac_try_echo=$ac_try;;
3189
 
esac
3190
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3191
 
$as_echo "$ac_try_echo") >&5
3192
 
  (eval "$ac_compiler -V >&5") 2>&5
3193
 
  ac_status=$?
3194
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195
 
  (exit $ac_status); }
 
3358
for ac_option in --version -v -V -qversion; do
 
3359
  { { ac_try="$ac_compiler $ac_option >&5"
 
3360
case "(($ac_try" in
 
3361
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3362
  *) ac_try_echo=$ac_try;;
 
3363
esac
 
3364
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3365
$as_echo "$ac_try_echo"; } >&5
 
3366
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3367
  ac_status=$?
 
3368
  if test -s conftest.err; then
 
3369
    sed '10a\
 
3370
... rest of stderr output deleted ...
 
3371
         10q' conftest.err >conftest.er1
 
3372
    cat conftest.er1 >&5
 
3373
  fi
 
3374
  rm -f conftest.er1 conftest.err
 
3375
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3376
  test $ac_status = 0; }
 
3377
done
3196
3378
 
3197
 
cat >conftest.$ac_ext <<_ACEOF
3198
 
/* confdefs.h.  */
3199
 
_ACEOF
3200
 
cat confdefs.h >>conftest.$ac_ext
3201
 
cat >>conftest.$ac_ext <<_ACEOF
 
3379
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202
3380
/* end confdefs.h.  */
3203
3381
 
3204
3382
int
3214
3392
# Try to create an executable without -o first, disregard a.out.
3215
3393
# It will help us diagnose broken compilers, and finding out an intuition
3216
3394
# of exeext.
3217
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3218
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3396
$as_echo_n "checking whether the C compiler works... " >&6; }
3219
3397
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3220
3398
 
3221
3399
# The possible output files:
3231
3409
done
3232
3410
rm -f $ac_rmfiles
3233
3411
 
3234
 
if { (ac_try="$ac_link_default"
 
3412
if { { ac_try="$ac_link_default"
3235
3413
case "(($ac_try" in
3236
3414
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237
3415
  *) ac_try_echo=$ac_try;;
3238
3416
esac
3239
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3240
 
$as_echo "$ac_try_echo") >&5
 
3417
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3418
$as_echo "$ac_try_echo"; } >&5
3241
3419
  (eval "$ac_link_default") 2>&5
3242
3420
  ac_status=$?
3243
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244
 
  (exit $ac_status); }; then
 
3421
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3422
  test $ac_status = 0; }; then :
3245
3423
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3246
3424
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3247
3425
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3258
3436
        # certainly right.
3259
3437
        break;;
3260
3438
    *.* )
3261
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3439
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3262
3440
        then :; else
3263
3441
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3264
3442
        fi
3277
3455
else
3278
3456
  ac_file=''
3279
3457
fi
 
3458
if test -z "$ac_file"; then :
 
3459
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3460
$as_echo "no" >&6; }
 
3461
$as_echo "$as_me: failed program was:" >&5
 
3462
sed 's/^/| /' conftest.$ac_ext >&5
3280
3463
 
3281
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3464
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3465
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3466
as_fn_error 77 "C compiler cannot create executables
 
3467
See \`config.log' for more details" "$LINENO" 5; }
 
3468
else
 
3469
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3470
$as_echo "yes" >&6; }
 
3471
fi
 
3472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3473
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3282
3475
$as_echo "$ac_file" >&6; }
3283
 
if test -z "$ac_file"; then
3284
 
  $as_echo "$as_me: failed program was:" >&5
3285
 
sed 's/^/| /' conftest.$ac_ext >&5
3286
 
 
3287
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3288
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3289
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3290
 
See \`config.log' for more details." >&5
3291
 
$as_echo "$as_me: error: C compiler cannot create executables
3292
 
See \`config.log' for more details." >&2;}
3293
 
   { (exit 77); exit 77; }; }; }
3294
 
fi
3295
 
 
3296
3476
ac_exeext=$ac_cv_exeext
3297
3477
 
3298
 
# Check that the compiler produces executables we can run.  If not, either
3299
 
# the compiler is broken, or we cross compile.
3300
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3301
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3302
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3303
 
# If not cross compiling, check that we can run a simple program.
3304
 
if test "$cross_compiling" != yes; then
3305
 
  if { ac_try='./$ac_file'
3306
 
  { (case "(($ac_try" in
3307
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308
 
  *) ac_try_echo=$ac_try;;
3309
 
esac
3310
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3311
 
$as_echo "$ac_try_echo") >&5
3312
 
  (eval "$ac_try") 2>&5
3313
 
  ac_status=$?
3314
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315
 
  (exit $ac_status); }; }; then
3316
 
    cross_compiling=no
3317
 
  else
3318
 
    if test "$cross_compiling" = maybe; then
3319
 
        cross_compiling=yes
3320
 
    else
3321
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3322
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3324
 
If you meant to cross compile, use \`--host'.
3325
 
See \`config.log' for more details." >&5
3326
 
$as_echo "$as_me: error: cannot run C compiled programs.
3327
 
If you meant to cross compile, use \`--host'.
3328
 
See \`config.log' for more details." >&2;}
3329
 
   { (exit 1); exit 1; }; }; }
3330
 
    fi
3331
 
  fi
3332
 
fi
3333
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3334
 
$as_echo "yes" >&6; }
3335
 
 
3336
3478
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3337
3479
ac_clean_files=$ac_clean_files_save
3338
 
# Check that the compiler produces executables we can run.  If not, either
3339
 
# the compiler is broken, or we cross compile.
3340
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3341
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3342
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3343
 
$as_echo "$cross_compiling" >&6; }
3344
 
 
3345
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3346
3481
$as_echo_n "checking for suffix of executables... " >&6; }
3347
 
if { (ac_try="$ac_link"
 
3482
if { { ac_try="$ac_link"
3348
3483
case "(($ac_try" in
3349
3484
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3350
3485
  *) ac_try_echo=$ac_try;;
3351
3486
esac
3352
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3353
 
$as_echo "$ac_try_echo") >&5
 
3487
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3488
$as_echo "$ac_try_echo"; } >&5
3354
3489
  (eval "$ac_link") 2>&5
3355
3490
  ac_status=$?
3356
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357
 
  (exit $ac_status); }; then
 
3491
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3492
  test $ac_status = 0; }; then :
3358
3493
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3359
3494
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3360
3495
# work properly (i.e., refer to `conftest.exe'), while it won't with
3369
3504
  esac
3370
3505
done
3371
3506
else
3372
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3507
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3373
3508
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3374
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3375
 
See \`config.log' for more details." >&5
3376
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3377
 
See \`config.log' for more details." >&2;}
3378
 
   { (exit 1); exit 1; }; }; }
 
3509
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3510
See \`config.log' for more details" "$LINENO" 5; }
3379
3511
fi
3380
 
 
3381
 
rm -f conftest$ac_cv_exeext
3382
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3512
rm -f conftest conftest$ac_cv_exeext
 
3513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3383
3514
$as_echo "$ac_cv_exeext" >&6; }
3384
3515
 
3385
3516
rm -f conftest.$ac_ext
3386
3517
EXEEXT=$ac_cv_exeext
3387
3518
ac_exeext=$EXEEXT
3388
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3519
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3520
/* end confdefs.h.  */
 
3521
#include <stdio.h>
 
3522
int
 
3523
main ()
 
3524
{
 
3525
FILE *f = fopen ("conftest.out", "w");
 
3526
 return ferror (f) || fclose (f) != 0;
 
3527
 
 
3528
  ;
 
3529
  return 0;
 
3530
}
 
3531
_ACEOF
 
3532
ac_clean_files="$ac_clean_files conftest.out"
 
3533
# Check that the compiler produces executables we can run.  If not, either
 
3534
# the compiler is broken, or we cross compile.
 
3535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3536
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3537
if test "$cross_compiling" != yes; then
 
3538
  { { ac_try="$ac_link"
 
3539
case "(($ac_try" in
 
3540
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3541
  *) ac_try_echo=$ac_try;;
 
3542
esac
 
3543
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3544
$as_echo "$ac_try_echo"; } >&5
 
3545
  (eval "$ac_link") 2>&5
 
3546
  ac_status=$?
 
3547
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3548
  test $ac_status = 0; }
 
3549
  if { ac_try='./conftest$ac_cv_exeext'
 
3550
  { { case "(($ac_try" in
 
3551
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3552
  *) ac_try_echo=$ac_try;;
 
3553
esac
 
3554
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3555
$as_echo "$ac_try_echo"; } >&5
 
3556
  (eval "$ac_try") 2>&5
 
3557
  ac_status=$?
 
3558
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3559
  test $ac_status = 0; }; }; then
 
3560
    cross_compiling=no
 
3561
  else
 
3562
    if test "$cross_compiling" = maybe; then
 
3563
        cross_compiling=yes
 
3564
    else
 
3565
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3566
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3567
as_fn_error $? "cannot run C compiled programs.
 
3568
If you meant to cross compile, use \`--host'.
 
3569
See \`config.log' for more details" "$LINENO" 5; }
 
3570
    fi
 
3571
  fi
 
3572
fi
 
3573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3574
$as_echo "$cross_compiling" >&6; }
 
3575
 
 
3576
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3577
ac_clean_files=$ac_clean_files_save
 
3578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3389
3579
$as_echo_n "checking for suffix of object files... " >&6; }
3390
 
if test "${ac_cv_objext+set}" = set; then
 
3580
if ${ac_cv_objext+:} false; then :
3391
3581
  $as_echo_n "(cached) " >&6
3392
3582
else
3393
 
  cat >conftest.$ac_ext <<_ACEOF
3394
 
/* confdefs.h.  */
3395
 
_ACEOF
3396
 
cat confdefs.h >>conftest.$ac_ext
3397
 
cat >>conftest.$ac_ext <<_ACEOF
 
3583
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398
3584
/* end confdefs.h.  */
3399
3585
 
3400
3586
int
3406
3592
}
3407
3593
_ACEOF
3408
3594
rm -f conftest.o conftest.obj
3409
 
if { (ac_try="$ac_compile"
 
3595
if { { ac_try="$ac_compile"
3410
3596
case "(($ac_try" in
3411
3597
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412
3598
  *) ac_try_echo=$ac_try;;
3413
3599
esac
3414
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3415
 
$as_echo "$ac_try_echo") >&5
 
3600
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3601
$as_echo "$ac_try_echo"; } >&5
3416
3602
  (eval "$ac_compile") 2>&5
3417
3603
  ac_status=$?
3418
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419
 
  (exit $ac_status); }; then
 
3604
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3605
  test $ac_status = 0; }; then :
3420
3606
  for ac_file in conftest.o conftest.obj conftest.*; do
3421
3607
  test -f "$ac_file" || continue;
3422
3608
  case $ac_file in
3429
3615
  $as_echo "$as_me: failed program was:" >&5
3430
3616
sed 's/^/| /' conftest.$ac_ext >&5
3431
3617
 
3432
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3618
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3433
3619
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3434
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3435
 
See \`config.log' for more details." >&5
3436
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3437
 
See \`config.log' for more details." >&2;}
3438
 
   { (exit 1); exit 1; }; }; }
 
3620
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3621
See \`config.log' for more details" "$LINENO" 5; }
3439
3622
fi
3440
 
 
3441
3623
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3442
3624
fi
3443
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3444
3626
$as_echo "$ac_cv_objext" >&6; }
3445
3627
OBJEXT=$ac_cv_objext
3446
3628
ac_objext=$OBJEXT
3447
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3448
3630
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3449
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3631
if ${ac_cv_c_compiler_gnu+:} false; then :
3450
3632
  $as_echo_n "(cached) " >&6
3451
3633
else
3452
 
  cat >conftest.$ac_ext <<_ACEOF
3453
 
/* confdefs.h.  */
3454
 
_ACEOF
3455
 
cat confdefs.h >>conftest.$ac_ext
3456
 
cat >>conftest.$ac_ext <<_ACEOF
 
3634
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457
3635
/* end confdefs.h.  */
3458
3636
 
3459
3637
int
3467
3645
  return 0;
3468
3646
}
3469
3647
_ACEOF
3470
 
rm -f conftest.$ac_objext
3471
 
if { (ac_try="$ac_compile"
3472
 
case "(($ac_try" in
3473
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474
 
  *) ac_try_echo=$ac_try;;
3475
 
esac
3476
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3477
 
$as_echo "$ac_try_echo") >&5
3478
 
  (eval "$ac_compile") 2>conftest.er1
3479
 
  ac_status=$?
3480
 
  grep -v '^ *+' conftest.er1 >conftest.err
3481
 
  rm -f conftest.er1
3482
 
  cat conftest.err >&5
3483
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484
 
  (exit $ac_status); } && {
3485
 
         test -z "$ac_c_werror_flag" ||
3486
 
         test ! -s conftest.err
3487
 
       } && test -s conftest.$ac_objext; then
 
3648
if ac_fn_c_try_compile "$LINENO"; then :
3488
3649
  ac_compiler_gnu=yes
3489
3650
else
3490
 
  $as_echo "$as_me: failed program was:" >&5
3491
 
sed 's/^/| /' conftest.$ac_ext >&5
3492
 
 
3493
 
        ac_compiler_gnu=no
 
3651
  ac_compiler_gnu=no
3494
3652
fi
3495
 
 
3496
3653
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3497
3654
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3498
3655
 
3499
3656
fi
3500
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3657
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3501
3658
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3502
3659
if test $ac_compiler_gnu = yes; then
3503
3660
  GCC=yes
3506
3663
fi
3507
3664
ac_test_CFLAGS=${CFLAGS+set}
3508
3665
ac_save_CFLAGS=$CFLAGS
3509
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3510
3667
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3511
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3668
if ${ac_cv_prog_cc_g+:} false; then :
3512
3669
  $as_echo_n "(cached) " >&6
3513
3670
else
3514
3671
  ac_save_c_werror_flag=$ac_c_werror_flag
3515
3672
   ac_c_werror_flag=yes
3516
3673
   ac_cv_prog_cc_g=no
3517
3674
   CFLAGS="-g"
3518
 
   cat >conftest.$ac_ext <<_ACEOF
3519
 
/* confdefs.h.  */
3520
 
_ACEOF
3521
 
cat confdefs.h >>conftest.$ac_ext
3522
 
cat >>conftest.$ac_ext <<_ACEOF
 
3675
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523
3676
/* end confdefs.h.  */
3524
3677
 
3525
3678
int
3530
3683
  return 0;
3531
3684
}
3532
3685
_ACEOF
3533
 
rm -f conftest.$ac_objext
3534
 
if { (ac_try="$ac_compile"
3535
 
case "(($ac_try" in
3536
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3537
 
  *) ac_try_echo=$ac_try;;
3538
 
esac
3539
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3540
 
$as_echo "$ac_try_echo") >&5
3541
 
  (eval "$ac_compile") 2>conftest.er1
3542
 
  ac_status=$?
3543
 
  grep -v '^ *+' conftest.er1 >conftest.err
3544
 
  rm -f conftest.er1
3545
 
  cat conftest.err >&5
3546
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547
 
  (exit $ac_status); } && {
3548
 
         test -z "$ac_c_werror_flag" ||
3549
 
         test ! -s conftest.err
3550
 
       } && test -s conftest.$ac_objext; then
 
3686
if ac_fn_c_try_compile "$LINENO"; then :
3551
3687
  ac_cv_prog_cc_g=yes
3552
3688
else
3553
 
  $as_echo "$as_me: failed program was:" >&5
3554
 
sed 's/^/| /' conftest.$ac_ext >&5
3555
 
 
3556
 
        CFLAGS=""
3557
 
      cat >conftest.$ac_ext <<_ACEOF
3558
 
/* confdefs.h.  */
3559
 
_ACEOF
3560
 
cat confdefs.h >>conftest.$ac_ext
3561
 
cat >>conftest.$ac_ext <<_ACEOF
 
3689
  CFLAGS=""
 
3690
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562
3691
/* end confdefs.h.  */
3563
3692
 
3564
3693
int
3569
3698
  return 0;
3570
3699
}
3571
3700
_ACEOF
3572
 
rm -f conftest.$ac_objext
3573
 
if { (ac_try="$ac_compile"
3574
 
case "(($ac_try" in
3575
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3576
 
  *) ac_try_echo=$ac_try;;
3577
 
esac
3578
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3579
 
$as_echo "$ac_try_echo") >&5
3580
 
  (eval "$ac_compile") 2>conftest.er1
3581
 
  ac_status=$?
3582
 
  grep -v '^ *+' conftest.er1 >conftest.err
3583
 
  rm -f conftest.er1
3584
 
  cat conftest.err >&5
3585
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586
 
  (exit $ac_status); } && {
3587
 
         test -z "$ac_c_werror_flag" ||
3588
 
         test ! -s conftest.err
3589
 
       } && test -s conftest.$ac_objext; then
3590
 
  :
 
3701
if ac_fn_c_try_compile "$LINENO"; then :
 
3702
 
3591
3703
else
3592
 
  $as_echo "$as_me: failed program was:" >&5
3593
 
sed 's/^/| /' conftest.$ac_ext >&5
3594
 
 
3595
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3704
  ac_c_werror_flag=$ac_save_c_werror_flag
3596
3705
         CFLAGS="-g"
3597
 
         cat >conftest.$ac_ext <<_ACEOF
3598
 
/* confdefs.h.  */
3599
 
_ACEOF
3600
 
cat confdefs.h >>conftest.$ac_ext
3601
 
cat >>conftest.$ac_ext <<_ACEOF
 
3706
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602
3707
/* end confdefs.h.  */
3603
3708
 
3604
3709
int
3609
3714
  return 0;
3610
3715
}
3611
3716
_ACEOF
3612
 
rm -f conftest.$ac_objext
3613
 
if { (ac_try="$ac_compile"
3614
 
case "(($ac_try" in
3615
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3616
 
  *) ac_try_echo=$ac_try;;
3617
 
esac
3618
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3619
 
$as_echo "$ac_try_echo") >&5
3620
 
  (eval "$ac_compile") 2>conftest.er1
3621
 
  ac_status=$?
3622
 
  grep -v '^ *+' conftest.er1 >conftest.err
3623
 
  rm -f conftest.er1
3624
 
  cat conftest.err >&5
3625
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626
 
  (exit $ac_status); } && {
3627
 
         test -z "$ac_c_werror_flag" ||
3628
 
         test ! -s conftest.err
3629
 
       } && test -s conftest.$ac_objext; then
 
3717
if ac_fn_c_try_compile "$LINENO"; then :
3630
3718
  ac_cv_prog_cc_g=yes
3631
 
else
3632
 
  $as_echo "$as_me: failed program was:" >&5
3633
 
sed 's/^/| /' conftest.$ac_ext >&5
3634
 
 
3635
 
 
3636
 
fi
3637
 
 
3638
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639
 
fi
3640
 
 
3641
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642
 
fi
3643
 
 
 
3719
fi
 
3720
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3721
fi
 
3722
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3723
fi
3644
3724
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645
3725
   ac_c_werror_flag=$ac_save_c_werror_flag
3646
3726
fi
3647
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3648
3728
$as_echo "$ac_cv_prog_cc_g" >&6; }
3649
3729
if test "$ac_test_CFLAGS" = set; then
3650
3730
  CFLAGS=$ac_save_CFLAGS
3661
3741
    CFLAGS=
3662
3742
  fi
3663
3743
fi
3664
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3665
3745
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3666
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3746
if ${ac_cv_prog_cc_c89+:} false; then :
3667
3747
  $as_echo_n "(cached) " >&6
3668
3748
else
3669
3749
  ac_cv_prog_cc_c89=no
3670
3750
ac_save_CC=$CC
3671
 
cat >conftest.$ac_ext <<_ACEOF
3672
 
/* confdefs.h.  */
3673
 
_ACEOF
3674
 
cat confdefs.h >>conftest.$ac_ext
3675
 
cat >>conftest.$ac_ext <<_ACEOF
 
3751
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676
3752
/* end confdefs.h.  */
3677
3753
#include <stdarg.h>
3678
3754
#include <stdio.h>
3729
3805
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3730
3806
do
3731
3807
  CC="$ac_save_CC $ac_arg"
3732
 
  rm -f conftest.$ac_objext
3733
 
if { (ac_try="$ac_compile"
3734
 
case "(($ac_try" in
3735
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3736
 
  *) ac_try_echo=$ac_try;;
3737
 
esac
3738
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3739
 
$as_echo "$ac_try_echo") >&5
3740
 
  (eval "$ac_compile") 2>conftest.er1
3741
 
  ac_status=$?
3742
 
  grep -v '^ *+' conftest.er1 >conftest.err
3743
 
  rm -f conftest.er1
3744
 
  cat conftest.err >&5
3745
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746
 
  (exit $ac_status); } && {
3747
 
         test -z "$ac_c_werror_flag" ||
3748
 
         test ! -s conftest.err
3749
 
       } && test -s conftest.$ac_objext; then
 
3808
  if ac_fn_c_try_compile "$LINENO"; then :
3750
3809
  ac_cv_prog_cc_c89=$ac_arg
3751
 
else
3752
 
  $as_echo "$as_me: failed program was:" >&5
3753
 
sed 's/^/| /' conftest.$ac_ext >&5
3754
 
 
3755
 
 
3756
3810
fi
3757
 
 
3758
3811
rm -f core conftest.err conftest.$ac_objext
3759
3812
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3760
3813
done
3765
3818
# AC_CACHE_VAL
3766
3819
case "x$ac_cv_prog_cc_c89" in
3767
3820
  x)
3768
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3821
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3769
3822
$as_echo "none needed" >&6; } ;;
3770
3823
  xno)
3771
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3824
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3772
3825
$as_echo "unsupported" >&6; } ;;
3773
3826
  *)
3774
3827
    CC="$CC $ac_cv_prog_cc_c89"
3775
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3828
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3776
3829
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3777
3830
esac
3778
 
 
3779
 
 
3780
 
ac_ext=c
3781
 
ac_cpp='$CPP $CPPFLAGS'
3782
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3783
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3784
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3785
 
 
3786
 
depcc="$CC"   am_compiler_list=
3787
 
 
3788
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3789
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3790
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3791
 
  $as_echo_n "(cached) " >&6
3792
 
else
3793
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3794
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3795
 
  # making bogus files that we don't know about and never remove.  For
3796
 
  # instance it was reported that on HP-UX the gcc test will end up
3797
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3798
 
  # in D'.
3799
 
  mkdir conftest.dir
3800
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3801
 
  # using a relative directory.
3802
 
  cp "$am_depcomp" conftest.dir
3803
 
  cd conftest.dir
3804
 
  # We will build objects and dependencies in a subdirectory because
3805
 
  # it helps to detect inapplicable dependency modes.  For instance
3806
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3807
 
  # side effect of compilation, but ICC will put the dependencies in
3808
 
  # the current directory while Tru64 will put them in the object
3809
 
  # directory.
3810
 
  mkdir sub
3811
 
 
3812
 
  am_cv_CC_dependencies_compiler_type=none
3813
 
  if test "$am_compiler_list" = ""; then
3814
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3815
 
  fi
3816
 
  am__universal=false
3817
 
  case " $depcc " in #(
3818
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3819
 
     esac
3820
 
 
3821
 
  for depmode in $am_compiler_list; do
3822
 
    # Setup a source with many dependencies, because some compilers
3823
 
    # like to wrap large dependency lists on column 80 (with \), and
3824
 
    # we should not choose a depcomp mode which is confused by this.
3825
 
    #
3826
 
    # We need to recreate these files for each test, as the compiler may
3827
 
    # overwrite some of them when testing with obscure command lines.
3828
 
    # This happens at least with the AIX C compiler.
3829
 
    : > sub/conftest.c
3830
 
    for i in 1 2 3 4 5 6; do
3831
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3832
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3833
 
      # Solaris 8's {/usr,}/bin/sh.
3834
 
      touch sub/conftst$i.h
3835
 
    done
3836
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3837
 
 
3838
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3839
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3840
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3841
 
    # versions had trouble with output in subdirs
3842
 
    am__obj=sub/conftest.${OBJEXT-o}
3843
 
    am__minus_obj="-o $am__obj"
3844
 
    case $depmode in
3845
 
    gcc)
3846
 
      # This depmode causes a compiler race in universal mode.
3847
 
      test "$am__universal" = false || continue
3848
 
      ;;
3849
 
    nosideeffect)
3850
 
      # after this tag, mechanisms are not by side-effect, so they'll
3851
 
      # only be used when explicitly requested
3852
 
      if test "x$enable_dependency_tracking" = xyes; then
3853
 
        continue
3854
 
      else
3855
 
        break
3856
 
      fi
3857
 
      ;;
3858
 
    msvisualcpp | msvcmsys)
3859
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3860
 
      # not run yet.  These depmodes are late enough in the game, and
3861
 
      # so weak that their functioning should not be impacted.
3862
 
      am__obj=conftest.${OBJEXT-o}
3863
 
      am__minus_obj=
3864
 
      ;;
3865
 
    none) break ;;
3866
 
    esac
3867
 
    if depmode=$depmode \
3868
 
       source=sub/conftest.c object=$am__obj \
3869
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3870
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3871
 
         >/dev/null 2>conftest.err &&
3872
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3873
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3874
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3875
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3876
 
      # icc doesn't choke on unknown options, it will just issue warnings
3877
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3878
 
      # that says an option was ignored or not supported.
3879
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3880
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3881
 
      # The diagnosis changed in icc 8.0:
3882
 
      #   icc: Command line remark: option '-MP' not supported
3883
 
      if (grep 'ignoring option' conftest.err ||
3884
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3885
 
        am_cv_CC_dependencies_compiler_type=$depmode
3886
 
        break
3887
 
      fi
3888
 
    fi
3889
 
  done
3890
 
 
3891
 
  cd ..
3892
 
  rm -rf conftest.dir
3893
 
else
3894
 
  am_cv_CC_dependencies_compiler_type=none
3895
 
fi
3896
 
 
3897
 
fi
3898
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3899
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3900
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3901
 
 
3902
 
 if
3903
 
  test "x$enable_dependency_tracking" != xno \
3904
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3905
 
  am__fastdepCC_TRUE=
3906
 
  am__fastdepCC_FALSE='#'
3907
 
else
3908
 
  am__fastdepCC_TRUE='#'
3909
 
  am__fastdepCC_FALSE=
3910
 
fi
3911
 
 
3912
 
 
3913
 
depcc="$CC"   am_compiler_list=
3914
 
 
3915
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3916
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3917
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3918
 
  $as_echo_n "(cached) " >&6
3919
 
else
3920
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3921
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3922
 
  # making bogus files that we don't know about and never remove.  For
3923
 
  # instance it was reported that on HP-UX the gcc test will end up
3924
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3925
 
  # in D'.
3926
 
  mkdir conftest.dir
3927
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3928
 
  # using a relative directory.
3929
 
  cp "$am_depcomp" conftest.dir
3930
 
  cd conftest.dir
3931
 
  # We will build objects and dependencies in a subdirectory because
3932
 
  # it helps to detect inapplicable dependency modes.  For instance
3933
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3934
 
  # side effect of compilation, but ICC will put the dependencies in
3935
 
  # the current directory while Tru64 will put them in the object
3936
 
  # directory.
3937
 
  mkdir sub
3938
 
 
3939
 
  am_cv_CC_dependencies_compiler_type=none
3940
 
  if test "$am_compiler_list" = ""; then
3941
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3942
 
  fi
3943
 
  am__universal=false
3944
 
  case " $depcc " in #(
3945
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3946
 
     esac
3947
 
 
3948
 
  for depmode in $am_compiler_list; do
3949
 
    # Setup a source with many dependencies, because some compilers
3950
 
    # like to wrap large dependency lists on column 80 (with \), and
3951
 
    # we should not choose a depcomp mode which is confused by this.
3952
 
    #
3953
 
    # We need to recreate these files for each test, as the compiler may
3954
 
    # overwrite some of them when testing with obscure command lines.
3955
 
    # This happens at least with the AIX C compiler.
3956
 
    : > sub/conftest.c
3957
 
    for i in 1 2 3 4 5 6; do
3958
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3959
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3960
 
      # Solaris 8's {/usr,}/bin/sh.
3961
 
      touch sub/conftst$i.h
3962
 
    done
3963
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3964
 
 
3965
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3966
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3967
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3968
 
    # versions had trouble with output in subdirs
3969
 
    am__obj=sub/conftest.${OBJEXT-o}
3970
 
    am__minus_obj="-o $am__obj"
3971
 
    case $depmode in
3972
 
    gcc)
3973
 
      # This depmode causes a compiler race in universal mode.
3974
 
      test "$am__universal" = false || continue
3975
 
      ;;
3976
 
    nosideeffect)
3977
 
      # after this tag, mechanisms are not by side-effect, so they'll
3978
 
      # only be used when explicitly requested
3979
 
      if test "x$enable_dependency_tracking" = xyes; then
3980
 
        continue
3981
 
      else
3982
 
        break
3983
 
      fi
3984
 
      ;;
3985
 
    msvisualcpp | msvcmsys)
3986
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3987
 
      # not run yet.  These depmodes are late enough in the game, and
3988
 
      # so weak that their functioning should not be impacted.
3989
 
      am__obj=conftest.${OBJEXT-o}
3990
 
      am__minus_obj=
3991
 
      ;;
3992
 
    none) break ;;
3993
 
    esac
3994
 
    if depmode=$depmode \
3995
 
       source=sub/conftest.c object=$am__obj \
3996
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3997
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3998
 
         >/dev/null 2>conftest.err &&
3999
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4000
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4001
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4002
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4003
 
      # icc doesn't choke on unknown options, it will just issue warnings
4004
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4005
 
      # that says an option was ignored or not supported.
4006
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4007
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4008
 
      # The diagnosis changed in icc 8.0:
4009
 
      #   icc: Command line remark: option '-MP' not supported
4010
 
      if (grep 'ignoring option' conftest.err ||
4011
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4012
 
        am_cv_CC_dependencies_compiler_type=$depmode
4013
 
        break
4014
 
      fi
4015
 
    fi
4016
 
  done
4017
 
 
4018
 
  cd ..
4019
 
  rm -rf conftest.dir
4020
 
else
4021
 
  am_cv_CC_dependencies_compiler_type=none
4022
 
fi
4023
 
 
4024
 
fi
4025
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4026
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4027
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4028
 
 
4029
 
 if
4030
 
  test "x$enable_dependency_tracking" != xno \
4031
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4032
 
  am__fastdepCC_TRUE=
4033
 
  am__fastdepCC_FALSE='#'
4034
 
else
4035
 
  am__fastdepCC_TRUE='#'
4036
 
  am__fastdepCC_FALSE=
4037
 
fi
4038
 
 
4039
 
 
4040
 
 
4041
 
ac_ext=c
4042
 
ac_cpp='$CPP $CPPFLAGS'
4043
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4044
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4045
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4046
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3831
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3832
 
 
3833
fi
 
3834
 
 
3835
ac_ext=c
 
3836
ac_cpp='$CPP $CPPFLAGS'
 
3837
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3838
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3839
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3840
 
 
3841
depcc="$CC"   am_compiler_list=
 
3842
 
 
3843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3844
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3845
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3846
  $as_echo_n "(cached) " >&6
 
3847
else
 
3848
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3849
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3850
  # making bogus files that we don't know about and never remove.  For
 
3851
  # instance it was reported that on HP-UX the gcc test will end up
 
3852
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3853
  # in D'.
 
3854
  mkdir conftest.dir
 
3855
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3856
  # using a relative directory.
 
3857
  cp "$am_depcomp" conftest.dir
 
3858
  cd conftest.dir
 
3859
  # We will build objects and dependencies in a subdirectory because
 
3860
  # it helps to detect inapplicable dependency modes.  For instance
 
3861
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3862
  # side effect of compilation, but ICC will put the dependencies in
 
3863
  # the current directory while Tru64 will put them in the object
 
3864
  # directory.
 
3865
  mkdir sub
 
3866
 
 
3867
  am_cv_CC_dependencies_compiler_type=none
 
3868
  if test "$am_compiler_list" = ""; then
 
3869
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3870
  fi
 
3871
  am__universal=false
 
3872
  case " $depcc " in #(
 
3873
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3874
     esac
 
3875
 
 
3876
  for depmode in $am_compiler_list; do
 
3877
    # Setup a source with many dependencies, because some compilers
 
3878
    # like to wrap large dependency lists on column 80 (with \), and
 
3879
    # we should not choose a depcomp mode which is confused by this.
 
3880
    #
 
3881
    # We need to recreate these files for each test, as the compiler may
 
3882
    # overwrite some of them when testing with obscure command lines.
 
3883
    # This happens at least with the AIX C compiler.
 
3884
    : > sub/conftest.c
 
3885
    for i in 1 2 3 4 5 6; do
 
3886
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3887
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3888
      # Solaris 8's {/usr,}/bin/sh.
 
3889
      touch sub/conftst$i.h
 
3890
    done
 
3891
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3892
 
 
3893
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3894
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3895
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3896
    # versions had trouble with output in subdirs
 
3897
    am__obj=sub/conftest.${OBJEXT-o}
 
3898
    am__minus_obj="-o $am__obj"
 
3899
    case $depmode in
 
3900
    gcc)
 
3901
      # This depmode causes a compiler race in universal mode.
 
3902
      test "$am__universal" = false || continue
 
3903
      ;;
 
3904
    nosideeffect)
 
3905
      # after this tag, mechanisms are not by side-effect, so they'll
 
3906
      # only be used when explicitly requested
 
3907
      if test "x$enable_dependency_tracking" = xyes; then
 
3908
        continue
 
3909
      else
 
3910
        break
 
3911
      fi
 
3912
      ;;
 
3913
    msvisualcpp | msvcmsys)
 
3914
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3915
      # not run yet.  These depmodes are late enough in the game, and
 
3916
      # so weak that their functioning should not be impacted.
 
3917
      am__obj=conftest.${OBJEXT-o}
 
3918
      am__minus_obj=
 
3919
      ;;
 
3920
    none) break ;;
 
3921
    esac
 
3922
    if depmode=$depmode \
 
3923
       source=sub/conftest.c object=$am__obj \
 
3924
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3925
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3926
         >/dev/null 2>conftest.err &&
 
3927
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3928
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3929
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
3930
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3931
      # icc doesn't choke on unknown options, it will just issue warnings
 
3932
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3933
      # that says an option was ignored or not supported.
 
3934
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3935
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3936
      # The diagnosis changed in icc 8.0:
 
3937
      #   icc: Command line remark: option '-MP' not supported
 
3938
      if (grep 'ignoring option' conftest.err ||
 
3939
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3940
        am_cv_CC_dependencies_compiler_type=$depmode
 
3941
        break
 
3942
      fi
 
3943
    fi
 
3944
  done
 
3945
 
 
3946
  cd ..
 
3947
  rm -rf conftest.dir
 
3948
else
 
3949
  am_cv_CC_dependencies_compiler_type=none
 
3950
fi
 
3951
 
 
3952
fi
 
3953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3954
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3955
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3956
 
 
3957
 if
 
3958
  test "x$enable_dependency_tracking" != xno \
 
3959
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3960
  am__fastdepCC_TRUE=
 
3961
  am__fastdepCC_FALSE='#'
 
3962
else
 
3963
  am__fastdepCC_TRUE='#'
 
3964
  am__fastdepCC_FALSE=
 
3965
fi
 
3966
 
 
3967
 
 
3968
 
 
3969
ac_ext=c
 
3970
ac_cpp='$CPP $CPPFLAGS'
 
3971
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3972
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3973
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4047
3975
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4048
3976
# On Suns, sometimes $CPP names a directory.
4049
3977
if test -n "$CPP" && test -d "$CPP"; then
4050
3978
  CPP=
4051
3979
fi
4052
3980
if test -z "$CPP"; then
4053
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3981
  if ${ac_cv_prog_CPP+:} false; then :
4054
3982
  $as_echo_n "(cached) " >&6
4055
3983
else
4056
3984
      # Double quotes because CPP needs to be expanded
4065
3993
  # <limits.h> exists even on freestanding compilers.
4066
3994
  # On the NeXT, cc -E runs the code through the compiler's parser,
4067
3995
  # not just through cpp. "Syntax error" is here to catch this case.
4068
 
  cat >conftest.$ac_ext <<_ACEOF
4069
 
/* confdefs.h.  */
4070
 
_ACEOF
4071
 
cat confdefs.h >>conftest.$ac_ext
4072
 
cat >>conftest.$ac_ext <<_ACEOF
 
3996
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073
3997
/* end confdefs.h.  */
4074
3998
#ifdef __STDC__
4075
3999
# include <limits.h>
4078
4002
#endif
4079
4003
                     Syntax error
4080
4004
_ACEOF
4081
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4082
 
case "(($ac_try" in
4083
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084
 
  *) ac_try_echo=$ac_try;;
4085
 
esac
4086
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4087
 
$as_echo "$ac_try_echo") >&5
4088
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4089
 
  ac_status=$?
4090
 
  grep -v '^ *+' conftest.er1 >conftest.err
4091
 
  rm -f conftest.er1
4092
 
  cat conftest.err >&5
4093
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094
 
  (exit $ac_status); } >/dev/null && {
4095
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4096
 
         test ! -s conftest.err
4097
 
       }; then
4098
 
  :
 
4005
if ac_fn_c_try_cpp "$LINENO"; then :
 
4006
 
4099
4007
else
4100
 
  $as_echo "$as_me: failed program was:" >&5
4101
 
sed 's/^/| /' conftest.$ac_ext >&5
4102
 
 
4103
4008
  # Broken: fails on valid input.
4104
4009
continue
4105
4010
fi
4106
 
 
4107
 
rm -f conftest.err conftest.$ac_ext
 
4011
rm -f conftest.err conftest.i conftest.$ac_ext
4108
4012
 
4109
4013
  # OK, works on sane cases.  Now check whether nonexistent headers
4110
4014
  # can be detected and how.
4111
 
  cat >conftest.$ac_ext <<_ACEOF
4112
 
/* confdefs.h.  */
4113
 
_ACEOF
4114
 
cat confdefs.h >>conftest.$ac_ext
4115
 
cat >>conftest.$ac_ext <<_ACEOF
 
4015
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116
4016
/* end confdefs.h.  */
4117
4017
#include <ac_nonexistent.h>
4118
4018
_ACEOF
4119
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4120
 
case "(($ac_try" in
4121
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122
 
  *) ac_try_echo=$ac_try;;
4123
 
esac
4124
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4125
 
$as_echo "$ac_try_echo") >&5
4126
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4127
 
  ac_status=$?
4128
 
  grep -v '^ *+' conftest.er1 >conftest.err
4129
 
  rm -f conftest.er1
4130
 
  cat conftest.err >&5
4131
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132
 
  (exit $ac_status); } >/dev/null && {
4133
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4134
 
         test ! -s conftest.err
4135
 
       }; then
 
4019
if ac_fn_c_try_cpp "$LINENO"; then :
4136
4020
  # Broken: success on invalid input.
4137
4021
continue
4138
4022
else
4139
 
  $as_echo "$as_me: failed program was:" >&5
4140
 
sed 's/^/| /' conftest.$ac_ext >&5
4141
 
 
4142
4023
  # Passes both tests.
4143
4024
ac_preproc_ok=:
4144
4025
break
4145
4026
fi
4146
 
 
4147
 
rm -f conftest.err conftest.$ac_ext
 
4027
rm -f conftest.err conftest.i conftest.$ac_ext
4148
4028
 
4149
4029
done
4150
4030
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4151
 
rm -f conftest.err conftest.$ac_ext
4152
 
if $ac_preproc_ok; then
 
4031
rm -f conftest.i conftest.err conftest.$ac_ext
 
4032
if $ac_preproc_ok; then :
4153
4033
  break
4154
4034
fi
4155
4035
 
4161
4041
else
4162
4042
  ac_cv_prog_CPP=$CPP
4163
4043
fi
4164
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4165
4045
$as_echo "$CPP" >&6; }
4166
4046
ac_preproc_ok=false
4167
4047
for ac_c_preproc_warn_flag in '' yes
4172
4052
  # <limits.h> exists even on freestanding compilers.
4173
4053
  # On the NeXT, cc -E runs the code through the compiler's parser,
4174
4054
  # not just through cpp. "Syntax error" is here to catch this case.
4175
 
  cat >conftest.$ac_ext <<_ACEOF
4176
 
/* confdefs.h.  */
4177
 
_ACEOF
4178
 
cat confdefs.h >>conftest.$ac_ext
4179
 
cat >>conftest.$ac_ext <<_ACEOF
 
4055
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180
4056
/* end confdefs.h.  */
4181
4057
#ifdef __STDC__
4182
4058
# include <limits.h>
4185
4061
#endif
4186
4062
                     Syntax error
4187
4063
_ACEOF
4188
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4189
 
case "(($ac_try" in
4190
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191
 
  *) ac_try_echo=$ac_try;;
4192
 
esac
4193
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4194
 
$as_echo "$ac_try_echo") >&5
4195
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4196
 
  ac_status=$?
4197
 
  grep -v '^ *+' conftest.er1 >conftest.err
4198
 
  rm -f conftest.er1
4199
 
  cat conftest.err >&5
4200
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201
 
  (exit $ac_status); } >/dev/null && {
4202
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4203
 
         test ! -s conftest.err
4204
 
       }; then
4205
 
  :
 
4064
if ac_fn_c_try_cpp "$LINENO"; then :
 
4065
 
4206
4066
else
4207
 
  $as_echo "$as_me: failed program was:" >&5
4208
 
sed 's/^/| /' conftest.$ac_ext >&5
4209
 
 
4210
4067
  # Broken: fails on valid input.
4211
4068
continue
4212
4069
fi
4213
 
 
4214
 
rm -f conftest.err conftest.$ac_ext
 
4070
rm -f conftest.err conftest.i conftest.$ac_ext
4215
4071
 
4216
4072
  # OK, works on sane cases.  Now check whether nonexistent headers
4217
4073
  # can be detected and how.
4218
 
  cat >conftest.$ac_ext <<_ACEOF
4219
 
/* confdefs.h.  */
4220
 
_ACEOF
4221
 
cat confdefs.h >>conftest.$ac_ext
4222
 
cat >>conftest.$ac_ext <<_ACEOF
 
4074
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223
4075
/* end confdefs.h.  */
4224
4076
#include <ac_nonexistent.h>
4225
4077
_ACEOF
4226
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4227
 
case "(($ac_try" in
4228
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229
 
  *) ac_try_echo=$ac_try;;
4230
 
esac
4231
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4232
 
$as_echo "$ac_try_echo") >&5
4233
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4234
 
  ac_status=$?
4235
 
  grep -v '^ *+' conftest.er1 >conftest.err
4236
 
  rm -f conftest.er1
4237
 
  cat conftest.err >&5
4238
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239
 
  (exit $ac_status); } >/dev/null && {
4240
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4241
 
         test ! -s conftest.err
4242
 
       }; then
 
4078
if ac_fn_c_try_cpp "$LINENO"; then :
4243
4079
  # Broken: success on invalid input.
4244
4080
continue
4245
4081
else
4246
 
  $as_echo "$as_me: failed program was:" >&5
4247
 
sed 's/^/| /' conftest.$ac_ext >&5
4248
 
 
4249
4082
  # Passes both tests.
4250
4083
ac_preproc_ok=:
4251
4084
break
4252
4085
fi
4253
 
 
4254
 
rm -f conftest.err conftest.$ac_ext
 
4086
rm -f conftest.err conftest.i conftest.$ac_ext
4255
4087
 
4256
4088
done
4257
4089
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4258
 
rm -f conftest.err conftest.$ac_ext
4259
 
if $ac_preproc_ok; then
4260
 
  :
 
4090
rm -f conftest.i conftest.err conftest.$ac_ext
 
4091
if $ac_preproc_ok; then :
 
4092
 
4261
4093
else
4262
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4094
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4263
4095
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4264
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4265
 
See \`config.log' for more details." >&5
4266
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4267
 
See \`config.log' for more details." >&2;}
4268
 
   { (exit 1); exit 1; }; }; }
 
4096
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4097
See \`config.log' for more details" "$LINENO" 5; }
4269
4098
fi
4270
4099
 
4271
4100
ac_ext=c
4275
4104
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4276
4105
 
4277
4106
 
4278
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4279
4108
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4280
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4109
if ${ac_cv_path_GREP+:} false; then :
4281
4110
  $as_echo_n "(cached) " >&6
4282
4111
else
4283
4112
  if test -z "$GREP"; then
4288
4117
do
4289
4118
  IFS=$as_save_IFS
4290
4119
  test -z "$as_dir" && as_dir=.
4291
 
  for ac_prog in grep ggrep; do
 
4120
    for ac_prog in grep ggrep; do
4292
4121
    for ac_exec_ext in '' $ac_executable_extensions; do
4293
4122
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4294
4123
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4308
4137
    $as_echo 'GREP' >> "conftest.nl"
4309
4138
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4310
4139
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4311
 
    ac_count=`expr $ac_count + 1`
 
4140
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4312
4141
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4313
4142
      # Best one so far, save it but keep looking for a better one
4314
4143
      ac_cv_path_GREP="$ac_path_GREP"
4323
4152
      $ac_path_GREP_found && break 3
4324
4153
    done
4325
4154
  done
4326
 
done
 
4155
  done
4327
4156
IFS=$as_save_IFS
4328
4157
  if test -z "$ac_cv_path_GREP"; then
4329
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4330
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4331
 
   { (exit 1); exit 1; }; }
 
4158
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4332
4159
  fi
4333
4160
else
4334
4161
  ac_cv_path_GREP=$GREP
4335
4162
fi
4336
4163
 
4337
4164
fi
4338
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4339
4166
$as_echo "$ac_cv_path_GREP" >&6; }
4340
4167
 GREP="$ac_cv_path_GREP"
4341
4168
 
4342
4169
 
4343
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4344
4171
$as_echo_n "checking for egrep... " >&6; }
4345
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4172
if ${ac_cv_path_EGREP+:} false; then :
4346
4173
  $as_echo_n "(cached) " >&6
4347
4174
else
4348
4175
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4356
4183
do
4357
4184
  IFS=$as_save_IFS
4358
4185
  test -z "$as_dir" && as_dir=.
4359
 
  for ac_prog in egrep; do
 
4186
    for ac_prog in egrep; do
4360
4187
    for ac_exec_ext in '' $ac_executable_extensions; do
4361
4188
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4362
4189
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4376
4203
    $as_echo 'EGREP' >> "conftest.nl"
4377
4204
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4378
4205
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4379
 
    ac_count=`expr $ac_count + 1`
 
4206
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4380
4207
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4381
4208
      # Best one so far, save it but keep looking for a better one
4382
4209
      ac_cv_path_EGREP="$ac_path_EGREP"
4391
4218
      $ac_path_EGREP_found && break 3
4392
4219
    done
4393
4220
  done
4394
 
done
 
4221
  done
4395
4222
IFS=$as_save_IFS
4396
4223
  if test -z "$ac_cv_path_EGREP"; then
4397
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4398
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4399
 
   { (exit 1); exit 1; }; }
 
4224
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4400
4225
  fi
4401
4226
else
4402
4227
  ac_cv_path_EGREP=$EGREP
4404
4229
 
4405
4230
   fi
4406
4231
fi
4407
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4408
4233
$as_echo "$ac_cv_path_EGREP" >&6; }
4409
4234
 EGREP="$ac_cv_path_EGREP"
4410
4235
 
4411
4236
 
4412
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4413
4238
$as_echo_n "checking for ANSI C header files... " >&6; }
4414
 
if test "${ac_cv_header_stdc+set}" = set; then
 
4239
if ${ac_cv_header_stdc+:} false; then :
4415
4240
  $as_echo_n "(cached) " >&6
4416
4241
else
4417
 
  cat >conftest.$ac_ext <<_ACEOF
4418
 
/* confdefs.h.  */
4419
 
_ACEOF
4420
 
cat confdefs.h >>conftest.$ac_ext
4421
 
cat >>conftest.$ac_ext <<_ACEOF
 
4242
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422
4243
/* end confdefs.h.  */
4423
4244
#include <stdlib.h>
4424
4245
#include <stdarg.h>
4433
4254
  return 0;
4434
4255
}
4435
4256
_ACEOF
4436
 
rm -f conftest.$ac_objext
4437
 
if { (ac_try="$ac_compile"
4438
 
case "(($ac_try" in
4439
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440
 
  *) ac_try_echo=$ac_try;;
4441
 
esac
4442
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4443
 
$as_echo "$ac_try_echo") >&5
4444
 
  (eval "$ac_compile") 2>conftest.er1
4445
 
  ac_status=$?
4446
 
  grep -v '^ *+' conftest.er1 >conftest.err
4447
 
  rm -f conftest.er1
4448
 
  cat conftest.err >&5
4449
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450
 
  (exit $ac_status); } && {
4451
 
         test -z "$ac_c_werror_flag" ||
4452
 
         test ! -s conftest.err
4453
 
       } && test -s conftest.$ac_objext; then
 
4257
if ac_fn_c_try_compile "$LINENO"; then :
4454
4258
  ac_cv_header_stdc=yes
4455
4259
else
4456
 
  $as_echo "$as_me: failed program was:" >&5
4457
 
sed 's/^/| /' conftest.$ac_ext >&5
4458
 
 
4459
 
        ac_cv_header_stdc=no
 
4260
  ac_cv_header_stdc=no
4460
4261
fi
4461
 
 
4462
4262
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4463
4263
 
4464
4264
if test $ac_cv_header_stdc = yes; then
4465
4265
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4466
 
  cat >conftest.$ac_ext <<_ACEOF
4467
 
/* confdefs.h.  */
4468
 
_ACEOF
4469
 
cat confdefs.h >>conftest.$ac_ext
4470
 
cat >>conftest.$ac_ext <<_ACEOF
 
4266
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471
4267
/* end confdefs.h.  */
4472
4268
#include <string.h>
4473
4269
 
4474
4270
_ACEOF
4475
4271
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4476
 
  $EGREP "memchr" >/dev/null 2>&1; then
4477
 
  :
 
4272
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4273
 
4478
4274
else
4479
4275
  ac_cv_header_stdc=no
4480
4276
fi
4484
4280
 
4485
4281
if test $ac_cv_header_stdc = yes; then
4486
4282
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4487
 
  cat >conftest.$ac_ext <<_ACEOF
4488
 
/* confdefs.h.  */
4489
 
_ACEOF
4490
 
cat confdefs.h >>conftest.$ac_ext
4491
 
cat >>conftest.$ac_ext <<_ACEOF
 
4283
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492
4284
/* end confdefs.h.  */
4493
4285
#include <stdlib.h>
4494
4286
 
4495
4287
_ACEOF
4496
4288
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4497
 
  $EGREP "free" >/dev/null 2>&1; then
4498
 
  :
 
4289
  $EGREP "free" >/dev/null 2>&1; then :
 
4290
 
4499
4291
else
4500
4292
  ac_cv_header_stdc=no
4501
4293
fi
4505
4297
 
4506
4298
if test $ac_cv_header_stdc = yes; then
4507
4299
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4508
 
  if test "$cross_compiling" = yes; then
 
4300
  if test "$cross_compiling" = yes; then :
4509
4301
  :
4510
4302
else
4511
 
  cat >conftest.$ac_ext <<_ACEOF
4512
 
/* confdefs.h.  */
4513
 
_ACEOF
4514
 
cat confdefs.h >>conftest.$ac_ext
4515
 
cat >>conftest.$ac_ext <<_ACEOF
 
4303
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516
4304
/* end confdefs.h.  */
4517
4305
#include <ctype.h>
4518
4306
#include <stdlib.h>
4539
4327
  return 0;
4540
4328
}
4541
4329
_ACEOF
4542
 
rm -f conftest$ac_exeext
4543
 
if { (ac_try="$ac_link"
4544
 
case "(($ac_try" in
4545
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4546
 
  *) ac_try_echo=$ac_try;;
4547
 
esac
4548
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4549
 
$as_echo "$ac_try_echo") >&5
4550
 
  (eval "$ac_link") 2>&5
4551
 
  ac_status=$?
4552
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4554
 
  { (case "(($ac_try" in
4555
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556
 
  *) ac_try_echo=$ac_try;;
4557
 
esac
4558
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4559
 
$as_echo "$ac_try_echo") >&5
4560
 
  (eval "$ac_try") 2>&5
4561
 
  ac_status=$?
4562
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563
 
  (exit $ac_status); }; }; then
4564
 
  :
 
4330
if ac_fn_c_try_run "$LINENO"; then :
 
4331
 
4565
4332
else
4566
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4567
 
$as_echo "$as_me: failed program was:" >&5
4568
 
sed 's/^/| /' conftest.$ac_ext >&5
4569
 
 
4570
 
( exit $ac_status )
4571
 
ac_cv_header_stdc=no
4572
 
fi
4573
 
rm -rf conftest.dSYM
4574
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4575
 
fi
4576
 
 
4577
 
 
4578
 
fi
4579
 
fi
4580
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4333
  ac_cv_header_stdc=no
 
4334
fi
 
4335
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4336
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4337
fi
 
4338
 
 
4339
fi
 
4340
fi
 
4341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4581
4342
$as_echo "$ac_cv_header_stdc" >&6; }
4582
4343
if test $ac_cv_header_stdc = yes; then
4583
4344
 
4584
 
cat >>confdefs.h <<\_ACEOF
4585
 
#define STDC_HEADERS 1
4586
 
_ACEOF
 
4345
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4587
4346
 
4588
4347
fi
4589
4348
 
4590
4349
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4591
 
 
4592
 
 
4593
 
 
4594
 
 
4595
 
 
4596
 
 
4597
 
 
4598
 
 
4599
 
 
4600
4350
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4601
4351
                  inttypes.h stdint.h unistd.h
4602
 
do
4603
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4604
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4605
 
$as_echo_n "checking for $ac_header... " >&6; }
4606
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4607
 
  $as_echo_n "(cached) " >&6
4608
 
else
4609
 
  cat >conftest.$ac_ext <<_ACEOF
4610
 
/* confdefs.h.  */
4611
 
_ACEOF
4612
 
cat confdefs.h >>conftest.$ac_ext
4613
 
cat >>conftest.$ac_ext <<_ACEOF
4614
 
/* end confdefs.h.  */
4615
 
$ac_includes_default
4616
 
 
4617
 
#include <$ac_header>
4618
 
_ACEOF
4619
 
rm -f conftest.$ac_objext
4620
 
if { (ac_try="$ac_compile"
4621
 
case "(($ac_try" in
4622
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4623
 
  *) ac_try_echo=$ac_try;;
4624
 
esac
4625
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4626
 
$as_echo "$ac_try_echo") >&5
4627
 
  (eval "$ac_compile") 2>conftest.er1
4628
 
  ac_status=$?
4629
 
  grep -v '^ *+' conftest.er1 >conftest.err
4630
 
  rm -f conftest.er1
4631
 
  cat conftest.err >&5
4632
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633
 
  (exit $ac_status); } && {
4634
 
         test -z "$ac_c_werror_flag" ||
4635
 
         test ! -s conftest.err
4636
 
       } && test -s conftest.$ac_objext; then
4637
 
  eval "$as_ac_Header=yes"
4638
 
else
4639
 
  $as_echo "$as_me: failed program was:" >&5
4640
 
sed 's/^/| /' conftest.$ac_ext >&5
4641
 
 
4642
 
        eval "$as_ac_Header=no"
4643
 
fi
4644
 
 
4645
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646
 
fi
4647
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4648
 
                 $as_echo "$as_val"'`
4649
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4650
 
$as_echo "$ac_res" >&6; }
4651
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4652
 
                 $as_echo "$as_val"'`
4653
 
   if test "x$as_val" = x""yes; then
 
4352
do :
 
4353
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4354
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4355
"
 
4356
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4654
4357
  cat >>confdefs.h <<_ACEOF
4655
4358
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4656
4359
_ACEOF
4661
4364
 
4662
4365
 
4663
4366
 
4664
 
 
4665
 
for ac_header in locale.h
4666
 
do
4667
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4668
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4669
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4670
 
$as_echo_n "checking for $ac_header... " >&6; }
4671
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4672
 
  $as_echo_n "(cached) " >&6
4673
 
fi
4674
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4675
 
                 $as_echo "$as_val"'`
4676
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4677
 
$as_echo "$ac_res" >&6; }
4678
 
else
4679
 
  # Is the header compilable?
4680
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4681
 
$as_echo_n "checking $ac_header usability... " >&6; }
4682
 
cat >conftest.$ac_ext <<_ACEOF
4683
 
/* confdefs.h.  */
4684
 
_ACEOF
4685
 
cat confdefs.h >>conftest.$ac_ext
4686
 
cat >>conftest.$ac_ext <<_ACEOF
4687
 
/* end confdefs.h.  */
4688
 
$ac_includes_default
4689
 
#include <$ac_header>
4690
 
_ACEOF
4691
 
rm -f conftest.$ac_objext
4692
 
if { (ac_try="$ac_compile"
4693
 
case "(($ac_try" in
4694
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695
 
  *) ac_try_echo=$ac_try;;
4696
 
esac
4697
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4698
 
$as_echo "$ac_try_echo") >&5
4699
 
  (eval "$ac_compile") 2>conftest.er1
4700
 
  ac_status=$?
4701
 
  grep -v '^ *+' conftest.er1 >conftest.err
4702
 
  rm -f conftest.er1
4703
 
  cat conftest.err >&5
4704
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705
 
  (exit $ac_status); } && {
4706
 
         test -z "$ac_c_werror_flag" ||
4707
 
         test ! -s conftest.err
4708
 
       } && test -s conftest.$ac_objext; then
4709
 
  ac_header_compiler=yes
4710
 
else
4711
 
  $as_echo "$as_me: failed program was:" >&5
4712
 
sed 's/^/| /' conftest.$ac_ext >&5
4713
 
 
4714
 
        ac_header_compiler=no
4715
 
fi
4716
 
 
4717
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4718
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4719
 
$as_echo "$ac_header_compiler" >&6; }
4720
 
 
4721
 
# Is the header present?
4722
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4723
 
$as_echo_n "checking $ac_header presence... " >&6; }
4724
 
cat >conftest.$ac_ext <<_ACEOF
4725
 
/* confdefs.h.  */
4726
 
_ACEOF
4727
 
cat confdefs.h >>conftest.$ac_ext
4728
 
cat >>conftest.$ac_ext <<_ACEOF
4729
 
/* end confdefs.h.  */
4730
 
#include <$ac_header>
4731
 
_ACEOF
4732
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4733
 
case "(($ac_try" in
4734
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735
 
  *) ac_try_echo=$ac_try;;
4736
 
esac
4737
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4738
 
$as_echo "$ac_try_echo") >&5
4739
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4740
 
  ac_status=$?
4741
 
  grep -v '^ *+' conftest.er1 >conftest.err
4742
 
  rm -f conftest.er1
4743
 
  cat conftest.err >&5
4744
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745
 
  (exit $ac_status); } >/dev/null && {
4746
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4747
 
         test ! -s conftest.err
4748
 
       }; then
4749
 
  ac_header_preproc=yes
4750
 
else
4751
 
  $as_echo "$as_me: failed program was:" >&5
4752
 
sed 's/^/| /' conftest.$ac_ext >&5
4753
 
 
4754
 
  ac_header_preproc=no
4755
 
fi
4756
 
 
4757
 
rm -f conftest.err conftest.$ac_ext
4758
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4759
 
$as_echo "$ac_header_preproc" >&6; }
4760
 
 
4761
 
# So?  What about this header?
4762
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4763
 
  yes:no: )
4764
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4765
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4766
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4767
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4768
 
    ac_header_preproc=yes
4769
 
    ;;
4770
 
  no:yes:* )
4771
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4772
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4773
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4774
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4775
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4776
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4777
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4778
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4779
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4780
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4781
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4782
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4783
 
    ( cat <<\_ASBOX
4784
 
## ------------------------------------------------------- ##
4785
 
## Report this to http://www.linuxrising.org/transmageddon ##
4786
 
## ------------------------------------------------------- ##
4787
 
_ASBOX
4788
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4789
 
    ;;
4790
 
esac
4791
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4792
 
$as_echo_n "checking for $ac_header... " >&6; }
4793
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4794
 
  $as_echo_n "(cached) " >&6
4795
 
else
4796
 
  eval "$as_ac_Header=\$ac_header_preproc"
4797
 
fi
4798
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4799
 
                 $as_echo "$as_val"'`
4800
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4801
 
$as_echo "$ac_res" >&6; }
4802
 
 
4803
 
fi
4804
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4805
 
                 $as_echo "$as_val"'`
4806
 
   if test "x$as_val" = x""yes; then
 
4367
   for ac_header in locale.h
 
4368
do :
 
4369
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
4370
if test "x$ac_cv_header_locale_h" = xyes; then :
4807
4371
  cat >>confdefs.h <<_ACEOF
4808
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4372
#define HAVE_LOCALE_H 1
4809
4373
_ACEOF
4810
4374
 
4811
4375
fi
4813
4377
done
4814
4378
 
4815
4379
    if test $ac_cv_header_locale_h = yes; then
4816
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
4380
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
4817
4381
$as_echo_n "checking for LC_MESSAGES... " >&6; }
4818
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
4382
if ${am_cv_val_LC_MESSAGES+:} false; then :
4819
4383
  $as_echo_n "(cached) " >&6
4820
4384
else
4821
 
  cat >conftest.$ac_ext <<_ACEOF
4822
 
/* confdefs.h.  */
4823
 
_ACEOF
4824
 
cat confdefs.h >>conftest.$ac_ext
4825
 
cat >>conftest.$ac_ext <<_ACEOF
 
4385
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826
4386
/* end confdefs.h.  */
4827
4387
#include <locale.h>
4828
4388
int
4833
4393
  return 0;
4834
4394
}
4835
4395
_ACEOF
4836
 
rm -f conftest.$ac_objext conftest$ac_exeext
4837
 
if { (ac_try="$ac_link"
4838
 
case "(($ac_try" in
4839
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840
 
  *) ac_try_echo=$ac_try;;
4841
 
esac
4842
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4843
 
$as_echo "$ac_try_echo") >&5
4844
 
  (eval "$ac_link") 2>conftest.er1
4845
 
  ac_status=$?
4846
 
  grep -v '^ *+' conftest.er1 >conftest.err
4847
 
  rm -f conftest.er1
4848
 
  cat conftest.err >&5
4849
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850
 
  (exit $ac_status); } && {
4851
 
         test -z "$ac_c_werror_flag" ||
4852
 
         test ! -s conftest.err
4853
 
       } && test -s conftest$ac_exeext && {
4854
 
         test "$cross_compiling" = yes ||
4855
 
         $as_test_x conftest$ac_exeext
4856
 
       }; then
 
4396
if ac_fn_c_try_link "$LINENO"; then :
4857
4397
  am_cv_val_LC_MESSAGES=yes
4858
4398
else
4859
 
  $as_echo "$as_me: failed program was:" >&5
4860
 
sed 's/^/| /' conftest.$ac_ext >&5
4861
 
 
4862
 
        am_cv_val_LC_MESSAGES=no
4863
 
fi
4864
 
 
4865
 
rm -rf conftest.dSYM
4866
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4867
 
      conftest$ac_exeext conftest.$ac_ext
4868
 
fi
4869
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
4399
  am_cv_val_LC_MESSAGES=no
 
4400
fi
 
4401
rm -f core conftest.err conftest.$ac_objext \
 
4402
    conftest$ac_exeext conftest.$ac_ext
 
4403
fi
 
4404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
4870
4405
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
4871
4406
    if test $am_cv_val_LC_MESSAGES = yes; then
4872
4407
 
4873
 
cat >>confdefs.h <<\_ACEOF
4874
 
#define HAVE_LC_MESSAGES 1
4875
 
_ACEOF
 
4408
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
4876
4409
 
4877
4410
    fi
4878
4411
  fi
4885
4418
    XGETTEXT=:
4886
4419
    INTLLIBS=
4887
4420
 
4888
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
4889
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
4890
 
$as_echo_n "checking for libintl.h... " >&6; }
4891
 
if test "${ac_cv_header_libintl_h+set}" = set; then
4892
 
  $as_echo_n "(cached) " >&6
4893
 
fi
4894
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4895
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
4896
 
else
4897
 
  # Is the header compilable?
4898
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
4899
 
$as_echo_n "checking libintl.h usability... " >&6; }
4900
 
cat >conftest.$ac_ext <<_ACEOF
4901
 
/* confdefs.h.  */
4902
 
_ACEOF
4903
 
cat confdefs.h >>conftest.$ac_ext
4904
 
cat >>conftest.$ac_ext <<_ACEOF
4905
 
/* end confdefs.h.  */
4906
 
$ac_includes_default
4907
 
#include <libintl.h>
4908
 
_ACEOF
4909
 
rm -f conftest.$ac_objext
4910
 
if { (ac_try="$ac_compile"
4911
 
case "(($ac_try" in
4912
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913
 
  *) ac_try_echo=$ac_try;;
4914
 
esac
4915
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4916
 
$as_echo "$ac_try_echo") >&5
4917
 
  (eval "$ac_compile") 2>conftest.er1
4918
 
  ac_status=$?
4919
 
  grep -v '^ *+' conftest.er1 >conftest.err
4920
 
  rm -f conftest.er1
4921
 
  cat conftest.err >&5
4922
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923
 
  (exit $ac_status); } && {
4924
 
         test -z "$ac_c_werror_flag" ||
4925
 
         test ! -s conftest.err
4926
 
       } && test -s conftest.$ac_objext; then
4927
 
  ac_header_compiler=yes
4928
 
else
4929
 
  $as_echo "$as_me: failed program was:" >&5
4930
 
sed 's/^/| /' conftest.$ac_ext >&5
4931
 
 
4932
 
        ac_header_compiler=no
4933
 
fi
4934
 
 
4935
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4936
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4937
 
$as_echo "$ac_header_compiler" >&6; }
4938
 
 
4939
 
# Is the header present?
4940
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
4941
 
$as_echo_n "checking libintl.h presence... " >&6; }
4942
 
cat >conftest.$ac_ext <<_ACEOF
4943
 
/* confdefs.h.  */
4944
 
_ACEOF
4945
 
cat confdefs.h >>conftest.$ac_ext
4946
 
cat >>conftest.$ac_ext <<_ACEOF
4947
 
/* end confdefs.h.  */
4948
 
#include <libintl.h>
4949
 
_ACEOF
4950
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4951
 
case "(($ac_try" in
4952
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4953
 
  *) ac_try_echo=$ac_try;;
4954
 
esac
4955
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4956
 
$as_echo "$ac_try_echo") >&5
4957
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4958
 
  ac_status=$?
4959
 
  grep -v '^ *+' conftest.er1 >conftest.err
4960
 
  rm -f conftest.er1
4961
 
  cat conftest.err >&5
4962
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963
 
  (exit $ac_status); } >/dev/null && {
4964
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4965
 
         test ! -s conftest.err
4966
 
       }; then
4967
 
  ac_header_preproc=yes
4968
 
else
4969
 
  $as_echo "$as_me: failed program was:" >&5
4970
 
sed 's/^/| /' conftest.$ac_ext >&5
4971
 
 
4972
 
  ac_header_preproc=no
4973
 
fi
4974
 
 
4975
 
rm -f conftest.err conftest.$ac_ext
4976
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4977
 
$as_echo "$ac_header_preproc" >&6; }
4978
 
 
4979
 
# So?  What about this header?
4980
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4981
 
  yes:no: )
4982
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4983
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4984
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4985
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4986
 
    ac_header_preproc=yes
4987
 
    ;;
4988
 
  no:yes:* )
4989
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4990
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4991
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
4992
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
4993
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4994
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4995
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
4996
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4997
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4998
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4999
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5000
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5001
 
    ( cat <<\_ASBOX
5002
 
## ------------------------------------------------------- ##
5003
 
## Report this to http://www.linuxrising.org/transmageddon ##
5004
 
## ------------------------------------------------------- ##
5005
 
_ASBOX
5006
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5007
 
    ;;
5008
 
esac
5009
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
5010
 
$as_echo_n "checking for libintl.h... " >&6; }
5011
 
if test "${ac_cv_header_libintl_h+set}" = set; then
5012
 
  $as_echo_n "(cached) " >&6
5013
 
else
5014
 
  ac_cv_header_libintl_h=$ac_header_preproc
5015
 
fi
5016
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5017
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
5018
 
 
5019
 
fi
5020
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
4421
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
4422
if test "x$ac_cv_header_libintl_h" = xyes; then :
5021
4423
  gt_cv_func_dgettext_libintl="no"
5022
4424
      libintl_extra_libs=""
5023
4425
 
5024
4426
      #
5025
4427
      # First check in libc
5026
4428
      #
5027
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
4429
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5028
4430
$as_echo_n "checking for ngettext in libc... " >&6; }
5029
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
4431
if ${gt_cv_func_ngettext_libc+:} false; then :
5030
4432
  $as_echo_n "(cached) " >&6
5031
4433
else
5032
 
  cat >conftest.$ac_ext <<_ACEOF
5033
 
/* confdefs.h.  */
5034
 
_ACEOF
5035
 
cat confdefs.h >>conftest.$ac_ext
5036
 
cat >>conftest.$ac_ext <<_ACEOF
 
4434
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037
4435
/* end confdefs.h.  */
5038
4436
 
5039
4437
#include <libintl.h>
5046
4444
  return 0;
5047
4445
}
5048
4446
_ACEOF
5049
 
rm -f conftest.$ac_objext conftest$ac_exeext
5050
 
if { (ac_try="$ac_link"
5051
 
case "(($ac_try" in
5052
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5053
 
  *) ac_try_echo=$ac_try;;
5054
 
esac
5055
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5056
 
$as_echo "$ac_try_echo") >&5
5057
 
  (eval "$ac_link") 2>conftest.er1
5058
 
  ac_status=$?
5059
 
  grep -v '^ *+' conftest.er1 >conftest.err
5060
 
  rm -f conftest.er1
5061
 
  cat conftest.err >&5
5062
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063
 
  (exit $ac_status); } && {
5064
 
         test -z "$ac_c_werror_flag" ||
5065
 
         test ! -s conftest.err
5066
 
       } && test -s conftest$ac_exeext && {
5067
 
         test "$cross_compiling" = yes ||
5068
 
         $as_test_x conftest$ac_exeext
5069
 
       }; then
 
4447
if ac_fn_c_try_link "$LINENO"; then :
5070
4448
  gt_cv_func_ngettext_libc=yes
5071
4449
else
5072
 
  $as_echo "$as_me: failed program was:" >&5
5073
 
sed 's/^/| /' conftest.$ac_ext >&5
5074
 
 
5075
 
        gt_cv_func_ngettext_libc=no
5076
 
fi
5077
 
 
5078
 
rm -rf conftest.dSYM
5079
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5080
 
      conftest$ac_exeext conftest.$ac_ext
5081
 
 
5082
 
fi
5083
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
4450
  gt_cv_func_ngettext_libc=no
 
4451
fi
 
4452
rm -f core conftest.err conftest.$ac_objext \
 
4453
    conftest$ac_exeext conftest.$ac_ext
 
4454
 
 
4455
fi
 
4456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5084
4457
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
5085
4458
 
5086
4459
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5087
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
4460
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5088
4461
$as_echo_n "checking for dgettext in libc... " >&6; }
5089
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
4462
if ${gt_cv_func_dgettext_libc+:} false; then :
5090
4463
  $as_echo_n "(cached) " >&6
5091
4464
else
5092
 
  cat >conftest.$ac_ext <<_ACEOF
5093
 
/* confdefs.h.  */
5094
 
_ACEOF
5095
 
cat confdefs.h >>conftest.$ac_ext
5096
 
cat >>conftest.$ac_ext <<_ACEOF
 
4465
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097
4466
/* end confdefs.h.  */
5098
4467
 
5099
4468
#include <libintl.h>
5106
4475
  return 0;
5107
4476
}
5108
4477
_ACEOF
5109
 
rm -f conftest.$ac_objext conftest$ac_exeext
5110
 
if { (ac_try="$ac_link"
5111
 
case "(($ac_try" in
5112
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5113
 
  *) ac_try_echo=$ac_try;;
5114
 
esac
5115
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5116
 
$as_echo "$ac_try_echo") >&5
5117
 
  (eval "$ac_link") 2>conftest.er1
5118
 
  ac_status=$?
5119
 
  grep -v '^ *+' conftest.er1 >conftest.err
5120
 
  rm -f conftest.er1
5121
 
  cat conftest.err >&5
5122
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123
 
  (exit $ac_status); } && {
5124
 
         test -z "$ac_c_werror_flag" ||
5125
 
         test ! -s conftest.err
5126
 
       } && test -s conftest$ac_exeext && {
5127
 
         test "$cross_compiling" = yes ||
5128
 
         $as_test_x conftest$ac_exeext
5129
 
       }; then
 
4478
if ac_fn_c_try_link "$LINENO"; then :
5130
4479
  gt_cv_func_dgettext_libc=yes
5131
4480
else
5132
 
  $as_echo "$as_me: failed program was:" >&5
5133
 
sed 's/^/| /' conftest.$ac_ext >&5
5134
 
 
5135
 
        gt_cv_func_dgettext_libc=no
5136
 
fi
5137
 
 
5138
 
rm -rf conftest.dSYM
5139
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5140
 
      conftest$ac_exeext conftest.$ac_ext
5141
 
 
5142
 
fi
5143
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
4481
  gt_cv_func_dgettext_libc=no
 
4482
fi
 
4483
rm -f core conftest.err conftest.$ac_objext \
 
4484
    conftest$ac_exeext conftest.$ac_ext
 
4485
 
 
4486
fi
 
4487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5144
4488
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5145
4489
      fi
5146
4490
 
5147
4491
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5148
 
 
5149
 
for ac_func in bind_textdomain_codeset
5150
 
do
5151
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5152
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5153
 
$as_echo_n "checking for $ac_func... " >&6; }
5154
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5155
 
  $as_echo_n "(cached) " >&6
5156
 
else
5157
 
  cat >conftest.$ac_ext <<_ACEOF
5158
 
/* confdefs.h.  */
5159
 
_ACEOF
5160
 
cat confdefs.h >>conftest.$ac_ext
5161
 
cat >>conftest.$ac_ext <<_ACEOF
5162
 
/* end confdefs.h.  */
5163
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5164
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5165
 
#define $ac_func innocuous_$ac_func
5166
 
 
5167
 
/* System header to define __stub macros and hopefully few prototypes,
5168
 
    which can conflict with char $ac_func (); below.
5169
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5170
 
    <limits.h> exists even on freestanding compilers.  */
5171
 
 
5172
 
#ifdef __STDC__
5173
 
# include <limits.h>
5174
 
#else
5175
 
# include <assert.h>
5176
 
#endif
5177
 
 
5178
 
#undef $ac_func
5179
 
 
5180
 
/* Override any GCC internal prototype to avoid an error.
5181
 
   Use char because int might match the return type of a GCC
5182
 
   builtin and then its argument prototype would still apply.  */
5183
 
#ifdef __cplusplus
5184
 
extern "C"
5185
 
#endif
5186
 
char $ac_func ();
5187
 
/* The GNU C library defines this for functions which it implements
5188
 
    to always fail with ENOSYS.  Some functions are actually named
5189
 
    something starting with __ and the normal name is an alias.  */
5190
 
#if defined __stub_$ac_func || defined __stub___$ac_func
5191
 
choke me
5192
 
#endif
5193
 
 
5194
 
int
5195
 
main ()
5196
 
{
5197
 
return $ac_func ();
5198
 
  ;
5199
 
  return 0;
5200
 
}
5201
 
_ACEOF
5202
 
rm -f conftest.$ac_objext conftest$ac_exeext
5203
 
if { (ac_try="$ac_link"
5204
 
case "(($ac_try" in
5205
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5206
 
  *) ac_try_echo=$ac_try;;
5207
 
esac
5208
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5209
 
$as_echo "$ac_try_echo") >&5
5210
 
  (eval "$ac_link") 2>conftest.er1
5211
 
  ac_status=$?
5212
 
  grep -v '^ *+' conftest.er1 >conftest.err
5213
 
  rm -f conftest.er1
5214
 
  cat conftest.err >&5
5215
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216
 
  (exit $ac_status); } && {
5217
 
         test -z "$ac_c_werror_flag" ||
5218
 
         test ! -s conftest.err
5219
 
       } && test -s conftest$ac_exeext && {
5220
 
         test "$cross_compiling" = yes ||
5221
 
         $as_test_x conftest$ac_exeext
5222
 
       }; then
5223
 
  eval "$as_ac_var=yes"
5224
 
else
5225
 
  $as_echo "$as_me: failed program was:" >&5
5226
 
sed 's/^/| /' conftest.$ac_ext >&5
5227
 
 
5228
 
        eval "$as_ac_var=no"
5229
 
fi
5230
 
 
5231
 
rm -rf conftest.dSYM
5232
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5233
 
      conftest$ac_exeext conftest.$ac_ext
5234
 
fi
5235
 
ac_res=`eval 'as_val=${'$as_ac_var'}
5236
 
                 $as_echo "$as_val"'`
5237
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5238
 
$as_echo "$ac_res" >&6; }
5239
 
as_val=`eval 'as_val=${'$as_ac_var'}
5240
 
                 $as_echo "$as_val"'`
5241
 
   if test "x$as_val" = x""yes; then
 
4492
        for ac_func in bind_textdomain_codeset
 
4493
do :
 
4494
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4495
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5242
4496
  cat >>confdefs.h <<_ACEOF
5243
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4497
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5244
4498
_ACEOF
5245
4499
 
5246
4500
fi
5255
4509
         || test "$gt_cv_func_ngettext_libc" != "yes" \
5256
4510
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5257
4511
 
5258
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
4512
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5259
4513
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5260
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
4514
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
5261
4515
  $as_echo_n "(cached) " >&6
5262
4516
else
5263
4517
  ac_check_lib_save_LIBS=$LIBS
5264
4518
LIBS="-lintl  $LIBS"
5265
 
cat >conftest.$ac_ext <<_ACEOF
5266
 
/* confdefs.h.  */
5267
 
_ACEOF
5268
 
cat confdefs.h >>conftest.$ac_ext
5269
 
cat >>conftest.$ac_ext <<_ACEOF
 
4519
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5270
4520
/* end confdefs.h.  */
5271
4521
 
5272
4522
/* Override any GCC internal prototype to avoid an error.
5284
4534
  return 0;
5285
4535
}
5286
4536
_ACEOF
5287
 
rm -f conftest.$ac_objext conftest$ac_exeext
5288
 
if { (ac_try="$ac_link"
5289
 
case "(($ac_try" in
5290
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5291
 
  *) ac_try_echo=$ac_try;;
5292
 
esac
5293
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5294
 
$as_echo "$ac_try_echo") >&5
5295
 
  (eval "$ac_link") 2>conftest.er1
5296
 
  ac_status=$?
5297
 
  grep -v '^ *+' conftest.er1 >conftest.err
5298
 
  rm -f conftest.er1
5299
 
  cat conftest.err >&5
5300
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301
 
  (exit $ac_status); } && {
5302
 
         test -z "$ac_c_werror_flag" ||
5303
 
         test ! -s conftest.err
5304
 
       } && test -s conftest$ac_exeext && {
5305
 
         test "$cross_compiling" = yes ||
5306
 
         $as_test_x conftest$ac_exeext
5307
 
       }; then
 
4537
if ac_fn_c_try_link "$LINENO"; then :
5308
4538
  ac_cv_lib_intl_bindtextdomain=yes
5309
4539
else
5310
 
  $as_echo "$as_me: failed program was:" >&5
5311
 
sed 's/^/| /' conftest.$ac_ext >&5
5312
 
 
5313
 
        ac_cv_lib_intl_bindtextdomain=no
 
4540
  ac_cv_lib_intl_bindtextdomain=no
5314
4541
fi
5315
 
 
5316
 
rm -rf conftest.dSYM
5317
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5318
 
      conftest$ac_exeext conftest.$ac_ext
 
4542
rm -f core conftest.err conftest.$ac_objext \
 
4543
    conftest$ac_exeext conftest.$ac_ext
5319
4544
LIBS=$ac_check_lib_save_LIBS
5320
4545
fi
5321
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
4546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5322
4547
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5323
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
5324
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
4548
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
 
4549
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5325
4550
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5326
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
4551
if ${ac_cv_lib_intl_ngettext+:} false; then :
5327
4552
  $as_echo_n "(cached) " >&6
5328
4553
else
5329
4554
  ac_check_lib_save_LIBS=$LIBS
5330
4555
LIBS="-lintl  $LIBS"
5331
 
cat >conftest.$ac_ext <<_ACEOF
5332
 
/* confdefs.h.  */
5333
 
_ACEOF
5334
 
cat confdefs.h >>conftest.$ac_ext
5335
 
cat >>conftest.$ac_ext <<_ACEOF
 
4556
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5336
4557
/* end confdefs.h.  */
5337
4558
 
5338
4559
/* Override any GCC internal prototype to avoid an error.
5350
4571
  return 0;
5351
4572
}
5352
4573
_ACEOF
5353
 
rm -f conftest.$ac_objext conftest$ac_exeext
5354
 
if { (ac_try="$ac_link"
5355
 
case "(($ac_try" in
5356
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5357
 
  *) ac_try_echo=$ac_try;;
5358
 
esac
5359
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5360
 
$as_echo "$ac_try_echo") >&5
5361
 
  (eval "$ac_link") 2>conftest.er1
5362
 
  ac_status=$?
5363
 
  grep -v '^ *+' conftest.er1 >conftest.err
5364
 
  rm -f conftest.er1
5365
 
  cat conftest.err >&5
5366
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367
 
  (exit $ac_status); } && {
5368
 
         test -z "$ac_c_werror_flag" ||
5369
 
         test ! -s conftest.err
5370
 
       } && test -s conftest$ac_exeext && {
5371
 
         test "$cross_compiling" = yes ||
5372
 
         $as_test_x conftest$ac_exeext
5373
 
       }; then
 
4574
if ac_fn_c_try_link "$LINENO"; then :
5374
4575
  ac_cv_lib_intl_ngettext=yes
5375
4576
else
5376
 
  $as_echo "$as_me: failed program was:" >&5
5377
 
sed 's/^/| /' conftest.$ac_ext >&5
5378
 
 
5379
 
        ac_cv_lib_intl_ngettext=no
 
4577
  ac_cv_lib_intl_ngettext=no
5380
4578
fi
5381
 
 
5382
 
rm -rf conftest.dSYM
5383
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5384
 
      conftest$ac_exeext conftest.$ac_ext
 
4579
rm -f core conftest.err conftest.$ac_objext \
 
4580
    conftest$ac_exeext conftest.$ac_ext
5385
4581
LIBS=$ac_check_lib_save_LIBS
5386
4582
fi
5387
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
4583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5388
4584
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5389
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
5390
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
4585
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
4586
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5391
4587
$as_echo_n "checking for dgettext in -lintl... " >&6; }
5392
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
4588
if ${ac_cv_lib_intl_dgettext+:} false; then :
5393
4589
  $as_echo_n "(cached) " >&6
5394
4590
else
5395
4591
  ac_check_lib_save_LIBS=$LIBS
5396
4592
LIBS="-lintl  $LIBS"
5397
 
cat >conftest.$ac_ext <<_ACEOF
5398
 
/* confdefs.h.  */
5399
 
_ACEOF
5400
 
cat confdefs.h >>conftest.$ac_ext
5401
 
cat >>conftest.$ac_ext <<_ACEOF
 
4593
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402
4594
/* end confdefs.h.  */
5403
4595
 
5404
4596
/* Override any GCC internal prototype to avoid an error.
5416
4608
  return 0;
5417
4609
}
5418
4610
_ACEOF
5419
 
rm -f conftest.$ac_objext conftest$ac_exeext
5420
 
if { (ac_try="$ac_link"
5421
 
case "(($ac_try" in
5422
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5423
 
  *) ac_try_echo=$ac_try;;
5424
 
esac
5425
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5426
 
$as_echo "$ac_try_echo") >&5
5427
 
  (eval "$ac_link") 2>conftest.er1
5428
 
  ac_status=$?
5429
 
  grep -v '^ *+' conftest.er1 >conftest.err
5430
 
  rm -f conftest.er1
5431
 
  cat conftest.err >&5
5432
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433
 
  (exit $ac_status); } && {
5434
 
         test -z "$ac_c_werror_flag" ||
5435
 
         test ! -s conftest.err
5436
 
       } && test -s conftest$ac_exeext && {
5437
 
         test "$cross_compiling" = yes ||
5438
 
         $as_test_x conftest$ac_exeext
5439
 
       }; then
 
4611
if ac_fn_c_try_link "$LINENO"; then :
5440
4612
  ac_cv_lib_intl_dgettext=yes
5441
4613
else
5442
 
  $as_echo "$as_me: failed program was:" >&5
5443
 
sed 's/^/| /' conftest.$ac_ext >&5
5444
 
 
5445
 
        ac_cv_lib_intl_dgettext=no
 
4614
  ac_cv_lib_intl_dgettext=no
5446
4615
fi
5447
 
 
5448
 
rm -rf conftest.dSYM
5449
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5450
 
      conftest$ac_exeext conftest.$ac_ext
 
4616
rm -f core conftest.err conftest.$ac_objext \
 
4617
    conftest$ac_exeext conftest.$ac_ext
5451
4618
LIBS=$ac_check_lib_save_LIBS
5452
4619
fi
5453
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
4620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5454
4621
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5455
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
4622
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
5456
4623
  gt_cv_func_dgettext_libintl=yes
5457
4624
fi
5458
4625
 
5462
4629
 
5463
4630
 
5464
4631
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5465
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
4632
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5466
4633
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5467
 
          { $as_echo "$as_me:$LINENO: result: " >&5
 
4634
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5468
4635
$as_echo "" >&6; }
5469
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
4636
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5470
4637
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5471
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
4638
if ${ac_cv_lib_intl_ngettext+:} false; then :
5472
4639
  $as_echo_n "(cached) " >&6
5473
4640
else
5474
4641
  ac_check_lib_save_LIBS=$LIBS
5475
4642
LIBS="-lintl -liconv $LIBS"
5476
 
cat >conftest.$ac_ext <<_ACEOF
5477
 
/* confdefs.h.  */
5478
 
_ACEOF
5479
 
cat confdefs.h >>conftest.$ac_ext
5480
 
cat >>conftest.$ac_ext <<_ACEOF
 
4643
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5481
4644
/* end confdefs.h.  */
5482
4645
 
5483
4646
/* Override any GCC internal prototype to avoid an error.
5495
4658
  return 0;
5496
4659
}
5497
4660
_ACEOF
5498
 
rm -f conftest.$ac_objext conftest$ac_exeext
5499
 
if { (ac_try="$ac_link"
5500
 
case "(($ac_try" in
5501
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5502
 
  *) ac_try_echo=$ac_try;;
5503
 
esac
5504
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5505
 
$as_echo "$ac_try_echo") >&5
5506
 
  (eval "$ac_link") 2>conftest.er1
5507
 
  ac_status=$?
5508
 
  grep -v '^ *+' conftest.er1 >conftest.err
5509
 
  rm -f conftest.er1
5510
 
  cat conftest.err >&5
5511
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512
 
  (exit $ac_status); } && {
5513
 
         test -z "$ac_c_werror_flag" ||
5514
 
         test ! -s conftest.err
5515
 
       } && test -s conftest$ac_exeext && {
5516
 
         test "$cross_compiling" = yes ||
5517
 
         $as_test_x conftest$ac_exeext
5518
 
       }; then
 
4661
if ac_fn_c_try_link "$LINENO"; then :
5519
4662
  ac_cv_lib_intl_ngettext=yes
5520
4663
else
5521
 
  $as_echo "$as_me: failed program was:" >&5
5522
 
sed 's/^/| /' conftest.$ac_ext >&5
5523
 
 
5524
 
        ac_cv_lib_intl_ngettext=no
 
4664
  ac_cv_lib_intl_ngettext=no
5525
4665
fi
5526
 
 
5527
 
rm -rf conftest.dSYM
5528
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5529
 
      conftest$ac_exeext conftest.$ac_ext
 
4666
rm -f core conftest.err conftest.$ac_objext \
 
4667
    conftest$ac_exeext conftest.$ac_ext
5530
4668
LIBS=$ac_check_lib_save_LIBS
5531
4669
fi
5532
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
4670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5533
4671
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5534
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
5535
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
4672
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
4673
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5536
4674
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
5537
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
4675
if ${ac_cv_lib_intl_dcgettext+:} false; then :
5538
4676
  $as_echo_n "(cached) " >&6
5539
4677
else
5540
4678
  ac_check_lib_save_LIBS=$LIBS
5541
4679
LIBS="-lintl -liconv $LIBS"
5542
 
cat >conftest.$ac_ext <<_ACEOF
5543
 
/* confdefs.h.  */
5544
 
_ACEOF
5545
 
cat confdefs.h >>conftest.$ac_ext
5546
 
cat >>conftest.$ac_ext <<_ACEOF
 
4680
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547
4681
/* end confdefs.h.  */
5548
4682
 
5549
4683
/* Override any GCC internal prototype to avoid an error.
5561
4695
  return 0;
5562
4696
}
5563
4697
_ACEOF
5564
 
rm -f conftest.$ac_objext conftest$ac_exeext
5565
 
if { (ac_try="$ac_link"
5566
 
case "(($ac_try" in
5567
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5568
 
  *) ac_try_echo=$ac_try;;
5569
 
esac
5570
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5571
 
$as_echo "$ac_try_echo") >&5
5572
 
  (eval "$ac_link") 2>conftest.er1
5573
 
  ac_status=$?
5574
 
  grep -v '^ *+' conftest.er1 >conftest.err
5575
 
  rm -f conftest.er1
5576
 
  cat conftest.err >&5
5577
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578
 
  (exit $ac_status); } && {
5579
 
         test -z "$ac_c_werror_flag" ||
5580
 
         test ! -s conftest.err
5581
 
       } && test -s conftest$ac_exeext && {
5582
 
         test "$cross_compiling" = yes ||
5583
 
         $as_test_x conftest$ac_exeext
5584
 
       }; then
 
4698
if ac_fn_c_try_link "$LINENO"; then :
5585
4699
  ac_cv_lib_intl_dcgettext=yes
5586
4700
else
5587
 
  $as_echo "$as_me: failed program was:" >&5
5588
 
sed 's/^/| /' conftest.$ac_ext >&5
5589
 
 
5590
 
        ac_cv_lib_intl_dcgettext=no
 
4701
  ac_cv_lib_intl_dcgettext=no
5591
4702
fi
5592
 
 
5593
 
rm -rf conftest.dSYM
5594
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5595
 
      conftest$ac_exeext conftest.$ac_ext
 
4703
rm -f core conftest.err conftest.$ac_objext \
 
4704
    conftest$ac_exeext conftest.$ac_ext
5596
4705
LIBS=$ac_check_lib_save_LIBS
5597
4706
fi
5598
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
4707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5599
4708
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5600
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
4709
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
5601
4710
  gt_cv_func_dgettext_libintl=yes
5602
4711
                        libintl_extra_libs=-liconv
5603
4712
else
5619
4728
          glib_save_LIBS="$LIBS"
5620
4729
          LIBS="$LIBS -lintl $libintl_extra_libs"
5621
4730
          unset ac_cv_func_bind_textdomain_codeset
5622
 
 
5623
 
for ac_func in bind_textdomain_codeset
5624
 
do
5625
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5626
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5627
 
$as_echo_n "checking for $ac_func... " >&6; }
5628
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5629
 
  $as_echo_n "(cached) " >&6
5630
 
else
5631
 
  cat >conftest.$ac_ext <<_ACEOF
5632
 
/* confdefs.h.  */
5633
 
_ACEOF
5634
 
cat confdefs.h >>conftest.$ac_ext
5635
 
cat >>conftest.$ac_ext <<_ACEOF
5636
 
/* end confdefs.h.  */
5637
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5638
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5639
 
#define $ac_func innocuous_$ac_func
5640
 
 
5641
 
/* System header to define __stub macros and hopefully few prototypes,
5642
 
    which can conflict with char $ac_func (); below.
5643
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5644
 
    <limits.h> exists even on freestanding compilers.  */
5645
 
 
5646
 
#ifdef __STDC__
5647
 
# include <limits.h>
5648
 
#else
5649
 
# include <assert.h>
5650
 
#endif
5651
 
 
5652
 
#undef $ac_func
5653
 
 
5654
 
/* Override any GCC internal prototype to avoid an error.
5655
 
   Use char because int might match the return type of a GCC
5656
 
   builtin and then its argument prototype would still apply.  */
5657
 
#ifdef __cplusplus
5658
 
extern "C"
5659
 
#endif
5660
 
char $ac_func ();
5661
 
/* The GNU C library defines this for functions which it implements
5662
 
    to always fail with ENOSYS.  Some functions are actually named
5663
 
    something starting with __ and the normal name is an alias.  */
5664
 
#if defined __stub_$ac_func || defined __stub___$ac_func
5665
 
choke me
5666
 
#endif
5667
 
 
5668
 
int
5669
 
main ()
5670
 
{
5671
 
return $ac_func ();
5672
 
  ;
5673
 
  return 0;
5674
 
}
5675
 
_ACEOF
5676
 
rm -f conftest.$ac_objext conftest$ac_exeext
5677
 
if { (ac_try="$ac_link"
5678
 
case "(($ac_try" in
5679
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5680
 
  *) ac_try_echo=$ac_try;;
5681
 
esac
5682
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5683
 
$as_echo "$ac_try_echo") >&5
5684
 
  (eval "$ac_link") 2>conftest.er1
5685
 
  ac_status=$?
5686
 
  grep -v '^ *+' conftest.er1 >conftest.err
5687
 
  rm -f conftest.er1
5688
 
  cat conftest.err >&5
5689
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690
 
  (exit $ac_status); } && {
5691
 
         test -z "$ac_c_werror_flag" ||
5692
 
         test ! -s conftest.err
5693
 
       } && test -s conftest$ac_exeext && {
5694
 
         test "$cross_compiling" = yes ||
5695
 
         $as_test_x conftest$ac_exeext
5696
 
       }; then
5697
 
  eval "$as_ac_var=yes"
5698
 
else
5699
 
  $as_echo "$as_me: failed program was:" >&5
5700
 
sed 's/^/| /' conftest.$ac_ext >&5
5701
 
 
5702
 
        eval "$as_ac_var=no"
5703
 
fi
5704
 
 
5705
 
rm -rf conftest.dSYM
5706
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5707
 
      conftest$ac_exeext conftest.$ac_ext
5708
 
fi
5709
 
ac_res=`eval 'as_val=${'$as_ac_var'}
5710
 
                 $as_echo "$as_val"'`
5711
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5712
 
$as_echo "$ac_res" >&6; }
5713
 
as_val=`eval 'as_val=${'$as_ac_var'}
5714
 
                 $as_echo "$as_val"'`
5715
 
   if test "x$as_val" = x""yes; then
 
4731
          for ac_func in bind_textdomain_codeset
 
4732
do :
 
4733
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4734
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5716
4735
  cat >>confdefs.h <<_ACEOF
5717
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4736
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5718
4737
_ACEOF
5719
4738
 
5720
4739
fi
5744
4763
 
5745
4764
      if test "$gt_cv_have_gettext" = "yes"; then
5746
4765
 
5747
 
cat >>confdefs.h <<\_ACEOF
5748
 
#define HAVE_GETTEXT 1
5749
 
_ACEOF
 
4766
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5750
4767
 
5751
4768
        # Extract the first word of "msgfmt", so it can be a program name with args.
5752
4769
set dummy msgfmt; ac_word=$2
5753
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754
4771
$as_echo_n "checking for $ac_word... " >&6; }
5755
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
4772
if ${ac_cv_path_MSGFMT+:} false; then :
5756
4773
  $as_echo_n "(cached) " >&6
5757
4774
else
5758
4775
  case "$MSGFMT" in
5777
4794
fi
5778
4795
MSGFMT="$ac_cv_path_MSGFMT"
5779
4796
if test "$MSGFMT" != "no"; then
5780
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
4797
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5781
4798
$as_echo "$MSGFMT" >&6; }
5782
4799
else
5783
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4800
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784
4801
$as_echo "no" >&6; }
5785
4802
fi
5786
4803
        if test "$MSGFMT" != "no"; then
5787
4804
          glib_save_LIBS="$LIBS"
5788
4805
          LIBS="$LIBS $INTLLIBS"
5789
 
 
5790
 
for ac_func in dcgettext
5791
 
do
5792
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5793
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5794
 
$as_echo_n "checking for $ac_func... " >&6; }
5795
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5796
 
  $as_echo_n "(cached) " >&6
5797
 
else
5798
 
  cat >conftest.$ac_ext <<_ACEOF
5799
 
/* confdefs.h.  */
5800
 
_ACEOF
5801
 
cat confdefs.h >>conftest.$ac_ext
5802
 
cat >>conftest.$ac_ext <<_ACEOF
5803
 
/* end confdefs.h.  */
5804
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5805
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5806
 
#define $ac_func innocuous_$ac_func
5807
 
 
5808
 
/* System header to define __stub macros and hopefully few prototypes,
5809
 
    which can conflict with char $ac_func (); below.
5810
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5811
 
    <limits.h> exists even on freestanding compilers.  */
5812
 
 
5813
 
#ifdef __STDC__
5814
 
# include <limits.h>
5815
 
#else
5816
 
# include <assert.h>
5817
 
#endif
5818
 
 
5819
 
#undef $ac_func
5820
 
 
5821
 
/* Override any GCC internal prototype to avoid an error.
5822
 
   Use char because int might match the return type of a GCC
5823
 
   builtin and then its argument prototype would still apply.  */
5824
 
#ifdef __cplusplus
5825
 
extern "C"
5826
 
#endif
5827
 
char $ac_func ();
5828
 
/* The GNU C library defines this for functions which it implements
5829
 
    to always fail with ENOSYS.  Some functions are actually named
5830
 
    something starting with __ and the normal name is an alias.  */
5831
 
#if defined __stub_$ac_func || defined __stub___$ac_func
5832
 
choke me
5833
 
#endif
5834
 
 
5835
 
int
5836
 
main ()
5837
 
{
5838
 
return $ac_func ();
5839
 
  ;
5840
 
  return 0;
5841
 
}
5842
 
_ACEOF
5843
 
rm -f conftest.$ac_objext conftest$ac_exeext
5844
 
if { (ac_try="$ac_link"
5845
 
case "(($ac_try" in
5846
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5847
 
  *) ac_try_echo=$ac_try;;
5848
 
esac
5849
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5850
 
$as_echo "$ac_try_echo") >&5
5851
 
  (eval "$ac_link") 2>conftest.er1
5852
 
  ac_status=$?
5853
 
  grep -v '^ *+' conftest.er1 >conftest.err
5854
 
  rm -f conftest.er1
5855
 
  cat conftest.err >&5
5856
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857
 
  (exit $ac_status); } && {
5858
 
         test -z "$ac_c_werror_flag" ||
5859
 
         test ! -s conftest.err
5860
 
       } && test -s conftest$ac_exeext && {
5861
 
         test "$cross_compiling" = yes ||
5862
 
         $as_test_x conftest$ac_exeext
5863
 
       }; then
5864
 
  eval "$as_ac_var=yes"
5865
 
else
5866
 
  $as_echo "$as_me: failed program was:" >&5
5867
 
sed 's/^/| /' conftest.$ac_ext >&5
5868
 
 
5869
 
        eval "$as_ac_var=no"
5870
 
fi
5871
 
 
5872
 
rm -rf conftest.dSYM
5873
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5874
 
      conftest$ac_exeext conftest.$ac_ext
5875
 
fi
5876
 
ac_res=`eval 'as_val=${'$as_ac_var'}
5877
 
                 $as_echo "$as_val"'`
5878
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5879
 
$as_echo "$ac_res" >&6; }
5880
 
as_val=`eval 'as_val=${'$as_ac_var'}
5881
 
                 $as_echo "$as_val"'`
5882
 
   if test "x$as_val" = x""yes; then
 
4806
          for ac_func in dcgettext
 
4807
do :
 
4808
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
4809
if test "x$ac_cv_func_dcgettext" = xyes; then :
5883
4810
  cat >>confdefs.h <<_ACEOF
5884
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4811
#define HAVE_DCGETTEXT 1
5885
4812
_ACEOF
5886
4813
 
5887
4814
fi
5888
4815
done
5889
4816
 
5890
4817
          MSGFMT_OPTS=
5891
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
4818
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
5892
4819
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
5893
4820
          cat >conftest.foo <<_ACEOF
5894
4821
 
5903
4830
"Content-Transfer-Encoding: 8bit\n"
5904
4831
 
5905
4832
_ACEOF
5906
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
4833
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
5907
4834
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
5908
4835
  ac_status=$?
5909
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910
 
  (exit $ac_status); }; then
5911
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4836
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4837
  test $ac_status = 0; }; then
 
4838
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5912
4839
$as_echo "yes" >&6; }
5913
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
4840
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914
4841
$as_echo "no" >&6; }
5915
4842
echo "$as_me: failed input was:" >&5
5916
4843
sed 's/^/| /' conftest.foo >&5
5918
4845
 
5919
4846
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
5920
4847
set dummy gmsgfmt; ac_word=$2
5921
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922
4849
$as_echo_n "checking for $ac_word... " >&6; }
5923
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
4850
if ${ac_cv_path_GMSGFMT+:} false; then :
5924
4851
  $as_echo_n "(cached) " >&6
5925
4852
else
5926
4853
  case $GMSGFMT in
5933
4860
do
5934
4861
  IFS=$as_save_IFS
5935
4862
  test -z "$as_dir" && as_dir=.
5936
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4863
    for ac_exec_ext in '' $ac_executable_extensions; do
5937
4864
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5938
4865
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5939
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4866
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5940
4867
    break 2
5941
4868
  fi
5942
4869
done
5943
 
done
 
4870
  done
5944
4871
IFS=$as_save_IFS
5945
4872
 
5946
4873
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5949
4876
fi
5950
4877
GMSGFMT=$ac_cv_path_GMSGFMT
5951
4878
if test -n "$GMSGFMT"; then
5952
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
4879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5953
4880
$as_echo "$GMSGFMT" >&6; }
5954
4881
else
5955
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4882
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956
4883
$as_echo "no" >&6; }
5957
4884
fi
5958
4885
 
5959
4886
 
5960
4887
          # Extract the first word of "xgettext", so it can be a program name with args.
5961
4888
set dummy xgettext; ac_word=$2
5962
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963
4890
$as_echo_n "checking for $ac_word... " >&6; }
5964
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
4891
if ${ac_cv_path_XGETTEXT+:} false; then :
5965
4892
  $as_echo_n "(cached) " >&6
5966
4893
else
5967
4894
  case "$XGETTEXT" in
5986
4913
fi
5987
4914
XGETTEXT="$ac_cv_path_XGETTEXT"
5988
4915
if test "$XGETTEXT" != ":"; then
5989
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
4916
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5990
4917
$as_echo "$XGETTEXT" >&6; }
5991
4918
else
5992
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4919
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993
4920
$as_echo "no" >&6; }
5994
4921
fi
5995
4922
 
5996
 
          cat >conftest.$ac_ext <<_ACEOF
5997
 
/* confdefs.h.  */
5998
 
_ACEOF
5999
 
cat confdefs.h >>conftest.$ac_ext
6000
 
cat >>conftest.$ac_ext <<_ACEOF
 
4923
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6001
4924
/* end confdefs.h.  */
6002
4925
 
6003
4926
int
6009
4932
  return 0;
6010
4933
}
6011
4934
_ACEOF
6012
 
rm -f conftest.$ac_objext conftest$ac_exeext
6013
 
if { (ac_try="$ac_link"
6014
 
case "(($ac_try" in
6015
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6016
 
  *) ac_try_echo=$ac_try;;
6017
 
esac
6018
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6019
 
$as_echo "$ac_try_echo") >&5
6020
 
  (eval "$ac_link") 2>conftest.er1
6021
 
  ac_status=$?
6022
 
  grep -v '^ *+' conftest.er1 >conftest.err
6023
 
  rm -f conftest.er1
6024
 
  cat conftest.err >&5
6025
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026
 
  (exit $ac_status); } && {
6027
 
         test -z "$ac_c_werror_flag" ||
6028
 
         test ! -s conftest.err
6029
 
       } && test -s conftest$ac_exeext && {
6030
 
         test "$cross_compiling" = yes ||
6031
 
         $as_test_x conftest$ac_exeext
6032
 
       }; then
 
4935
if ac_fn_c_try_link "$LINENO"; then :
6033
4936
  CATOBJEXT=.gmo
6034
4937
             DATADIRNAME=share
6035
4938
else
6036
 
  $as_echo "$as_me: failed program was:" >&5
6037
 
sed 's/^/| /' conftest.$ac_ext >&5
6038
 
 
6039
 
        case $host in
 
4939
  case $host in
6040
4940
            *-*-solaris*)
6041
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6042
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
6043
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6044
 
  $as_echo_n "(cached) " >&6
6045
 
else
6046
 
  cat >conftest.$ac_ext <<_ACEOF
6047
 
/* confdefs.h.  */
6048
 
_ACEOF
6049
 
cat confdefs.h >>conftest.$ac_ext
6050
 
cat >>conftest.$ac_ext <<_ACEOF
6051
 
/* end confdefs.h.  */
6052
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6053
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6054
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6055
 
 
6056
 
/* System header to define __stub macros and hopefully few prototypes,
6057
 
    which can conflict with char bind_textdomain_codeset (); below.
6058
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6059
 
    <limits.h> exists even on freestanding compilers.  */
6060
 
 
6061
 
#ifdef __STDC__
6062
 
# include <limits.h>
6063
 
#else
6064
 
# include <assert.h>
6065
 
#endif
6066
 
 
6067
 
#undef bind_textdomain_codeset
6068
 
 
6069
 
/* Override any GCC internal prototype to avoid an error.
6070
 
   Use char because int might match the return type of a GCC
6071
 
   builtin and then its argument prototype would still apply.  */
6072
 
#ifdef __cplusplus
6073
 
extern "C"
6074
 
#endif
6075
 
char bind_textdomain_codeset ();
6076
 
/* The GNU C library defines this for functions which it implements
6077
 
    to always fail with ENOSYS.  Some functions are actually named
6078
 
    something starting with __ and the normal name is an alias.  */
6079
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6080
 
choke me
6081
 
#endif
6082
 
 
6083
 
int
6084
 
main ()
6085
 
{
6086
 
return bind_textdomain_codeset ();
6087
 
  ;
6088
 
  return 0;
6089
 
}
6090
 
_ACEOF
6091
 
rm -f conftest.$ac_objext conftest$ac_exeext
6092
 
if { (ac_try="$ac_link"
6093
 
case "(($ac_try" in
6094
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6095
 
  *) ac_try_echo=$ac_try;;
6096
 
esac
6097
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6098
 
$as_echo "$ac_try_echo") >&5
6099
 
  (eval "$ac_link") 2>conftest.er1
6100
 
  ac_status=$?
6101
 
  grep -v '^ *+' conftest.er1 >conftest.err
6102
 
  rm -f conftest.er1
6103
 
  cat conftest.err >&5
6104
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105
 
  (exit $ac_status); } && {
6106
 
         test -z "$ac_c_werror_flag" ||
6107
 
         test ! -s conftest.err
6108
 
       } && test -s conftest$ac_exeext && {
6109
 
         test "$cross_compiling" = yes ||
6110
 
         $as_test_x conftest$ac_exeext
6111
 
       }; then
6112
 
  ac_cv_func_bind_textdomain_codeset=yes
6113
 
else
6114
 
  $as_echo "$as_me: failed program was:" >&5
6115
 
sed 's/^/| /' conftest.$ac_ext >&5
6116
 
 
6117
 
        ac_cv_func_bind_textdomain_codeset=no
6118
 
fi
6119
 
 
6120
 
rm -rf conftest.dSYM
6121
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6122
 
      conftest$ac_exeext conftest.$ac_ext
6123
 
fi
6124
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6125
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
6126
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
4941
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4942
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6127
4943
  CATOBJEXT=.gmo
6128
4944
               DATADIRNAME=share
6129
4945
else
6138
4954
            ;;
6139
4955
            esac
6140
4956
fi
6141
 
 
6142
 
rm -rf conftest.dSYM
6143
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6144
 
      conftest$ac_exeext conftest.$ac_ext
 
4957
rm -f core conftest.err conftest.$ac_objext \
 
4958
    conftest$ac_exeext conftest.$ac_ext
6145
4959
          LIBS="$glib_save_LIBS"
6146
4960
          INSTOBJEXT=.mo
6147
4961
        else
6155
4969
 
6156
4970
    if test "$gt_cv_have_gettext" = "yes" ; then
6157
4971
 
6158
 
cat >>confdefs.h <<\_ACEOF
6159
 
#define ENABLE_NLS 1
6160
 
_ACEOF
 
4972
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6161
4973
 
6162
4974
    fi
6163
4975
 
6165
4977
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6166
4978
        : ;
6167
4979
      else
6168
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
4980
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6169
4981
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6170
4982
        XGETTEXT=":"
6171
4983
      fi
6198
5010
     if test "x$ALL_LINGUAS" = "x"; then
6199
5011
       LINGUAS=
6200
5012
     else
6201
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
5013
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6202
5014
$as_echo_n "checking for catalogs to be installed... " >&6; }
6203
5015
       NEW_LINGUAS=
6204
5016
       for presentlang in $ALL_LINGUAS; do
6223
5035
         fi
6224
5036
       done
6225
5037
       LINGUAS=$NEW_LINGUAS
6226
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
5038
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6227
5039
$as_echo "$LINGUAS" >&6; }
6228
5040
     fi
6229
5041
 
6256
5068
        < $srcdir/po/POTFILES.in > po/POTFILES
6257
5069
 
6258
5070
 
6259
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
5071
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6260
5072
$as_echo_n "checking whether NLS is requested... " >&6; }
6261
5073
    # Check whether --enable-nls was given.
6262
 
if test "${enable_nls+set}" = set; then
 
5074
if test "${enable_nls+set}" = set; then :
6263
5075
  enableval=$enable_nls; USE_NLS=$enableval
6264
5076
else
6265
5077
  USE_NLS=yes
6266
5078
fi
6267
5079
 
6268
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
5080
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6269
5081
$as_echo "$USE_NLS" >&6; }
6270
5082
 
6271
5083
 
6273
5085
 
6274
5086
case "$am__api_version" in
6275
5087
    1.01234)
6276
 
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
6277
 
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
6278
 
   { (exit 1); exit 1; }; }
 
5088
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
6279
5089
    ;;
6280
5090
    *)
6281
5091
    ;;
6282
5092
esac
6283
5093
 
6284
5094
if test -n "0.35.0"; then
6285
 
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
 
5095
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
6286
5096
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
6287
5097
 
6288
5098
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6289
5099
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
6290
5100
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6291
5101
 
6292
 
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
5102
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
6293
5103
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
6294
5104
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
6295
 
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
6296
 
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
6297
 
   { (exit 1); exit 1; }; }
 
5105
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
6298
5106
fi
6299
5107
 
6300
5108
# Extract the first word of "intltool-update", so it can be a program name with args.
6301
5109
set dummy intltool-update; ac_word=$2
6302
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6303
5111
$as_echo_n "checking for $ac_word... " >&6; }
6304
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
5112
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
6305
5113
  $as_echo_n "(cached) " >&6
6306
5114
else
6307
5115
  case $INTLTOOL_UPDATE in
6314
5122
do
6315
5123
  IFS=$as_save_IFS
6316
5124
  test -z "$as_dir" && as_dir=.
6317
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5125
    for ac_exec_ext in '' $ac_executable_extensions; do
6318
5126
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6319
5127
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
6320
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5128
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6321
5129
    break 2
6322
5130
  fi
6323
5131
done
6324
 
done
 
5132
  done
6325
5133
IFS=$as_save_IFS
6326
5134
 
6327
5135
  ;;
6329
5137
fi
6330
5138
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
6331
5139
if test -n "$INTLTOOL_UPDATE"; then
6332
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
5140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
6333
5141
$as_echo "$INTLTOOL_UPDATE" >&6; }
6334
5142
else
6335
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5143
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6336
5144
$as_echo "no" >&6; }
6337
5145
fi
6338
5146
 
6339
5147
 
6340
5148
# Extract the first word of "intltool-merge", so it can be a program name with args.
6341
5149
set dummy intltool-merge; ac_word=$2
6342
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6343
5151
$as_echo_n "checking for $ac_word... " >&6; }
6344
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
5152
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
6345
5153
  $as_echo_n "(cached) " >&6
6346
5154
else
6347
5155
  case $INTLTOOL_MERGE in
6354
5162
do
6355
5163
  IFS=$as_save_IFS
6356
5164
  test -z "$as_dir" && as_dir=.
6357
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5165
    for ac_exec_ext in '' $ac_executable_extensions; do
6358
5166
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6359
5167
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
6360
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5168
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6361
5169
    break 2
6362
5170
  fi
6363
5171
done
6364
 
done
 
5172
  done
6365
5173
IFS=$as_save_IFS
6366
5174
 
6367
5175
  ;;
6369
5177
fi
6370
5178
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
6371
5179
if test -n "$INTLTOOL_MERGE"; then
6372
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
5180
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
6373
5181
$as_echo "$INTLTOOL_MERGE" >&6; }
6374
5182
else
6375
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6376
5184
$as_echo "no" >&6; }
6377
5185
fi
6378
5186
 
6379
5187
 
6380
5188
# Extract the first word of "intltool-extract", so it can be a program name with args.
6381
5189
set dummy intltool-extract; ac_word=$2
6382
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383
5191
$as_echo_n "checking for $ac_word... " >&6; }
6384
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
5192
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
6385
5193
  $as_echo_n "(cached) " >&6
6386
5194
else
6387
5195
  case $INTLTOOL_EXTRACT in
6394
5202
do
6395
5203
  IFS=$as_save_IFS
6396
5204
  test -z "$as_dir" && as_dir=.
6397
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5205
    for ac_exec_ext in '' $ac_executable_extensions; do
6398
5206
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6399
5207
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
6400
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5208
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6401
5209
    break 2
6402
5210
  fi
6403
5211
done
6404
 
done
 
5212
  done
6405
5213
IFS=$as_save_IFS
6406
5214
 
6407
5215
  ;;
6409
5217
fi
6410
5218
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
6411
5219
if test -n "$INTLTOOL_EXTRACT"; then
6412
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
5220
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
6413
5221
$as_echo "$INTLTOOL_EXTRACT" >&6; }
6414
5222
else
6415
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5223
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6416
5224
$as_echo "no" >&6; }
6417
5225
fi
6418
5226
 
6419
5227
 
6420
5228
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
6421
 
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
6422
 
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
6423
 
   { (exit 1); exit 1; }; }
 
5229
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
6424
5230
fi
6425
5231
 
6426
5232
  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 $< $@'
6542
5348
# Check the gettext tools to make sure they are GNU
6543
5349
# Extract the first word of "xgettext", so it can be a program name with args.
6544
5350
set dummy xgettext; ac_word=$2
6545
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546
5352
$as_echo_n "checking for $ac_word... " >&6; }
6547
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
5353
if ${ac_cv_path_XGETTEXT+:} false; then :
6548
5354
  $as_echo_n "(cached) " >&6
6549
5355
else
6550
5356
  case $XGETTEXT in
6557
5363
do
6558
5364
  IFS=$as_save_IFS
6559
5365
  test -z "$as_dir" && as_dir=.
6560
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5366
    for ac_exec_ext in '' $ac_executable_extensions; do
6561
5367
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6562
5368
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
6563
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5369
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6564
5370
    break 2
6565
5371
  fi
6566
5372
done
6567
 
done
 
5373
  done
6568
5374
IFS=$as_save_IFS
6569
5375
 
6570
5376
  ;;
6572
5378
fi
6573
5379
XGETTEXT=$ac_cv_path_XGETTEXT
6574
5380
if test -n "$XGETTEXT"; then
6575
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
5381
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6576
5382
$as_echo "$XGETTEXT" >&6; }
6577
5383
else
6578
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5384
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579
5385
$as_echo "no" >&6; }
6580
5386
fi
6581
5387
 
6582
5388
 
6583
5389
# Extract the first word of "msgmerge", so it can be a program name with args.
6584
5390
set dummy msgmerge; ac_word=$2
6585
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586
5392
$as_echo_n "checking for $ac_word... " >&6; }
6587
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
5393
if ${ac_cv_path_MSGMERGE+:} false; then :
6588
5394
  $as_echo_n "(cached) " >&6
6589
5395
else
6590
5396
  case $MSGMERGE in
6597
5403
do
6598
5404
  IFS=$as_save_IFS
6599
5405
  test -z "$as_dir" && as_dir=.
6600
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5406
    for ac_exec_ext in '' $ac_executable_extensions; do
6601
5407
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6602
5408
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
6603
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5409
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604
5410
    break 2
6605
5411
  fi
6606
5412
done
6607
 
done
 
5413
  done
6608
5414
IFS=$as_save_IFS
6609
5415
 
6610
5416
  ;;
6612
5418
fi
6613
5419
MSGMERGE=$ac_cv_path_MSGMERGE
6614
5420
if test -n "$MSGMERGE"; then
6615
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
5421
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6616
5422
$as_echo "$MSGMERGE" >&6; }
6617
5423
else
6618
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5424
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619
5425
$as_echo "no" >&6; }
6620
5426
fi
6621
5427
 
6622
5428
 
6623
5429
# Extract the first word of "msgfmt", so it can be a program name with args.
6624
5430
set dummy msgfmt; ac_word=$2
6625
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626
5432
$as_echo_n "checking for $ac_word... " >&6; }
6627
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
5433
if ${ac_cv_path_MSGFMT+:} false; then :
6628
5434
  $as_echo_n "(cached) " >&6
6629
5435
else
6630
5436
  case $MSGFMT in
6637
5443
do
6638
5444
  IFS=$as_save_IFS
6639
5445
  test -z "$as_dir" && as_dir=.
6640
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5446
    for ac_exec_ext in '' $ac_executable_extensions; do
6641
5447
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6642
5448
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
6643
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5449
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6644
5450
    break 2
6645
5451
  fi
6646
5452
done
6647
 
done
 
5453
  done
6648
5454
IFS=$as_save_IFS
6649
5455
 
6650
5456
  ;;
6652
5458
fi
6653
5459
MSGFMT=$ac_cv_path_MSGFMT
6654
5460
if test -n "$MSGFMT"; then
6655
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
5461
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6656
5462
$as_echo "$MSGFMT" >&6; }
6657
5463
else
6658
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5464
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659
5465
$as_echo "no" >&6; }
6660
5466
fi
6661
5467
 
6662
5468
 
6663
5469
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6664
5470
set dummy gmsgfmt; ac_word=$2
6665
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666
5472
$as_echo_n "checking for $ac_word... " >&6; }
6667
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
5473
if ${ac_cv_path_GMSGFMT+:} false; then :
6668
5474
  $as_echo_n "(cached) " >&6
6669
5475
else
6670
5476
  case $GMSGFMT in
6677
5483
do
6678
5484
  IFS=$as_save_IFS
6679
5485
  test -z "$as_dir" && as_dir=.
6680
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5486
    for ac_exec_ext in '' $ac_executable_extensions; do
6681
5487
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6682
5488
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6683
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5489
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6684
5490
    break 2
6685
5491
  fi
6686
5492
done
6687
 
done
 
5493
  done
6688
5494
IFS=$as_save_IFS
6689
5495
 
6690
5496
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6693
5499
fi
6694
5500
GMSGFMT=$ac_cv_path_GMSGFMT
6695
5501
if test -n "$GMSGFMT"; then
6696
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
5502
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6697
5503
$as_echo "$GMSGFMT" >&6; }
6698
5504
else
6699
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5505
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700
5506
$as_echo "no" >&6; }
6701
5507
fi
6702
5508
 
6703
5509
 
6704
5510
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6705
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
6706
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
6707
 
   { (exit 1); exit 1; }; }
 
5511
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
6708
5512
fi
6709
5513
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6710
5514
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6711
5515
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6712
5516
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6713
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
6714
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
6715
 
   { (exit 1); exit 1; }; }
 
5517
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
6716
5518
fi
6717
5519
 
6718
5520
# Extract the first word of "perl", so it can be a program name with args.
6719
5521
set dummy perl; ac_word=$2
6720
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6721
5523
$as_echo_n "checking for $ac_word... " >&6; }
6722
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
5524
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
6723
5525
  $as_echo_n "(cached) " >&6
6724
5526
else
6725
5527
  case $INTLTOOL_PERL in
6732
5534
do
6733
5535
  IFS=$as_save_IFS
6734
5536
  test -z "$as_dir" && as_dir=.
6735
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5537
    for ac_exec_ext in '' $ac_executable_extensions; do
6736
5538
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6737
5539
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
6738
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5540
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739
5541
    break 2
6740
5542
  fi
6741
5543
done
6742
 
done
 
5544
  done
6743
5545
IFS=$as_save_IFS
6744
5546
 
6745
5547
  ;;
6747
5549
fi
6748
5550
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
6749
5551
if test -n "$INTLTOOL_PERL"; then
6750
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
5552
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
6751
5553
$as_echo "$INTLTOOL_PERL" >&6; }
6752
5554
else
6753
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5555
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6754
5556
$as_echo "no" >&6; }
6755
5557
fi
6756
5558
 
6757
5559
 
6758
5560
if test -z "$INTLTOOL_PERL"; then
6759
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
6760
 
$as_echo "$as_me: error: perl not found" >&2;}
6761
 
   { (exit 1); exit 1; }; }
 
5561
   as_fn_error $? "perl not found" "$LINENO" 5
6762
5562
fi
6763
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
5563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
6764
5564
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
6765
5565
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
6766
5566
if test $? -ne 0; then
6767
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
6768
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
6769
 
   { (exit 1); exit 1; }; }
 
5567
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
6770
5568
else
6771
5569
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
6772
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
5570
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
6773
5571
$as_echo "$IT_PERL_VERSION" >&6; }
6774
5572
fi
6775
5573
if test "x" != "xno-xml"; then
6776
 
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
5574
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
6777
5575
$as_echo_n "checking for XML::Parser... " >&6; }
6778
5576
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6779
 
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
5577
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6780
5578
$as_echo "ok" >&6; }
6781
5579
   else
6782
 
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
6783
 
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
6784
 
   { (exit 1); exit 1; }; }
 
5580
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
6785
5581
   fi
6786
5582
fi
6787
5583
 
6791
5587
# Set DATADIRNAME correctly if it is not set yet
6792
5588
# (copied from glib-gettext.m4)
6793
5589
if test -z "$DATADIRNAME"; then
6794
 
  cat >conftest.$ac_ext <<_ACEOF
6795
 
/* confdefs.h.  */
6796
 
_ACEOF
6797
 
cat confdefs.h >>conftest.$ac_ext
6798
 
cat >>conftest.$ac_ext <<_ACEOF
 
5590
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6799
5591
/* end confdefs.h.  */
6800
5592
 
6801
5593
int
6807
5599
  return 0;
6808
5600
}
6809
5601
_ACEOF
6810
 
rm -f conftest.$ac_objext conftest$ac_exeext
6811
 
if { (ac_try="$ac_link"
6812
 
case "(($ac_try" in
6813
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6814
 
  *) ac_try_echo=$ac_try;;
6815
 
esac
6816
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6817
 
$as_echo "$ac_try_echo") >&5
6818
 
  (eval "$ac_link") 2>conftest.er1
6819
 
  ac_status=$?
6820
 
  grep -v '^ *+' conftest.er1 >conftest.err
6821
 
  rm -f conftest.er1
6822
 
  cat conftest.err >&5
6823
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824
 
  (exit $ac_status); } && {
6825
 
         test -z "$ac_c_werror_flag" ||
6826
 
         test ! -s conftest.err
6827
 
       } && test -s conftest$ac_exeext && {
6828
 
         test "$cross_compiling" = yes ||
6829
 
         $as_test_x conftest$ac_exeext
6830
 
       }; then
 
5602
if ac_fn_c_try_link "$LINENO"; then :
6831
5603
  DATADIRNAME=share
6832
5604
else
6833
 
  $as_echo "$as_me: failed program was:" >&5
6834
 
sed 's/^/| /' conftest.$ac_ext >&5
6835
 
 
6836
 
        case $host in
 
5605
  case $host in
6837
5606
    *-*-solaris*)
6838
 
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6839
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
6840
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6841
 
  $as_echo_n "(cached) " >&6
6842
 
else
6843
 
  cat >conftest.$ac_ext <<_ACEOF
6844
 
/* confdefs.h.  */
6845
 
_ACEOF
6846
 
cat confdefs.h >>conftest.$ac_ext
6847
 
cat >>conftest.$ac_ext <<_ACEOF
6848
 
/* end confdefs.h.  */
6849
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6850
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6851
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6852
 
 
6853
 
/* System header to define __stub macros and hopefully few prototypes,
6854
 
    which can conflict with char bind_textdomain_codeset (); below.
6855
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6856
 
    <limits.h> exists even on freestanding compilers.  */
6857
 
 
6858
 
#ifdef __STDC__
6859
 
# include <limits.h>
6860
 
#else
6861
 
# include <assert.h>
6862
 
#endif
6863
 
 
6864
 
#undef bind_textdomain_codeset
6865
 
 
6866
 
/* Override any GCC internal prototype to avoid an error.
6867
 
   Use char because int might match the return type of a GCC
6868
 
   builtin and then its argument prototype would still apply.  */
6869
 
#ifdef __cplusplus
6870
 
extern "C"
6871
 
#endif
6872
 
char bind_textdomain_codeset ();
6873
 
/* The GNU C library defines this for functions which it implements
6874
 
    to always fail with ENOSYS.  Some functions are actually named
6875
 
    something starting with __ and the normal name is an alias.  */
6876
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6877
 
choke me
6878
 
#endif
6879
 
 
6880
 
int
6881
 
main ()
6882
 
{
6883
 
return bind_textdomain_codeset ();
6884
 
  ;
6885
 
  return 0;
6886
 
}
6887
 
_ACEOF
6888
 
rm -f conftest.$ac_objext conftest$ac_exeext
6889
 
if { (ac_try="$ac_link"
6890
 
case "(($ac_try" in
6891
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6892
 
  *) ac_try_echo=$ac_try;;
6893
 
esac
6894
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6895
 
$as_echo "$ac_try_echo") >&5
6896
 
  (eval "$ac_link") 2>conftest.er1
6897
 
  ac_status=$?
6898
 
  grep -v '^ *+' conftest.er1 >conftest.err
6899
 
  rm -f conftest.er1
6900
 
  cat conftest.err >&5
6901
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902
 
  (exit $ac_status); } && {
6903
 
         test -z "$ac_c_werror_flag" ||
6904
 
         test ! -s conftest.err
6905
 
       } && test -s conftest$ac_exeext && {
6906
 
         test "$cross_compiling" = yes ||
6907
 
         $as_test_x conftest$ac_exeext
6908
 
       }; then
6909
 
  ac_cv_func_bind_textdomain_codeset=yes
6910
 
else
6911
 
  $as_echo "$as_me: failed program was:" >&5
6912
 
sed 's/^/| /' conftest.$ac_ext >&5
6913
 
 
6914
 
        ac_cv_func_bind_textdomain_codeset=no
6915
 
fi
6916
 
 
6917
 
rm -rf conftest.dSYM
6918
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6919
 
      conftest$ac_exeext conftest.$ac_ext
6920
 
fi
6921
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6922
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
6923
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
5607
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5608
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6924
5609
  DATADIRNAME=share
6925
5610
else
6926
5611
  DATADIRNAME=lib
6932
5617
    ;;
6933
5618
    esac
6934
5619
fi
6935
 
 
6936
 
rm -rf conftest.dSYM
6937
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6938
 
      conftest$ac_exeext conftest.$ac_ext
 
5620
rm -f core conftest.err conftest.$ac_objext \
 
5621
    conftest$ac_exeext conftest.$ac_ext
6939
5622
fi
6940
5623
 
6941
5624
 
6949
5632
ac_config_files="$ac_config_files bin/transmageddon"
6950
5633
 
6951
5634
 
6952
 
ac_config_files="$ac_config_files Makefile bin/Makefile common/Makefile common/m4/Makefile src/about.py src/Makefile presets/Makefile profiles/Makefile po/Makefile.in transmageddon.spec transmageddon.desktop.in"
 
5635
ac_config_files="$ac_config_files Makefile bin/Makefile common/Makefile common/m4/Makefile src/about.py src/Makefile profiles/Makefile presets/Makefile po/Makefile.in transmageddon.spec transmageddon.desktop.in"
6953
5636
 
6954
5637
cat >confcache <<\_ACEOF
6955
5638
# This file is a shell script that caches the results of configure
6978
5661
    case $ac_val in #(
6979
5662
    *${as_nl}*)
6980
5663
      case $ac_var in #(
6981
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
5664
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6982
5665
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6983
5666
      esac
6984
5667
      case $ac_var in #(
6985
5668
      _ | IFS | as_nl) ;; #(
6986
5669
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6987
 
      *) $as_unset $ac_var ;;
 
5670
      *) { eval $ac_var=; unset $ac_var;} ;;
6988
5671
      esac ;;
6989
5672
    esac
6990
5673
  done
6992
5675
  (set) 2>&1 |
6993
5676
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
6994
5677
    *${as_nl}ac_space=\ *)
6995
 
      # `set' does not quote correctly, so add quotes (double-quote
6996
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
5678
      # `set' does not quote correctly, so add quotes: double-quote
 
5679
      # substitution turns \\\\ into \\, and sed turns \\ into \.
6997
5680
      sed -n \
6998
5681
        "s/'/'\\\\''/g;
6999
5682
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7015
5698
     :end' >>confcache
7016
5699
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7017
5700
  if test -w "$cache_file"; then
7018
 
    test "x$cache_file" != "x/dev/null" &&
7019
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
5701
    if test "x$cache_file" != "x/dev/null"; then
 
5702
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7020
5703
$as_echo "$as_me: updating cache $cache_file" >&6;}
7021
 
    cat confcache >$cache_file
 
5704
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
5705
        cat confcache >"$cache_file"
 
5706
      else
 
5707
        case $cache_file in #(
 
5708
        */* | ?:*)
 
5709
          mv -f confcache "$cache_file"$$ &&
 
5710
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
5711
        *)
 
5712
          mv -f confcache "$cache_file" ;;
 
5713
        esac
 
5714
      fi
 
5715
    fi
7022
5716
  else
7023
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
5717
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7024
5718
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7025
5719
  fi
7026
5720
fi
7070
5764
 
7071
5765
ac_libobjs=
7072
5766
ac_ltlibobjs=
 
5767
U=
7073
5768
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7074
5769
  # 1. Remove the extension, and $U if already installed.
7075
5770
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7076
5771
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7077
5772
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7078
5773
  #    will be set to the directory where LIBOBJS objects are built.
7079
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7080
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
5774
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
5775
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7081
5776
done
7082
5777
LIBOBJS=$ac_libobjs
7083
5778
 
7093
5788
fi
7094
5789
 
7095
5790
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7096
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7097
 
Usually this means the macro was only invoked conditionally." >&5
7098
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7099
 
Usually this means the macro was only invoked conditionally." >&2;}
7100
 
   { (exit 1); exit 1; }; }
7101
 
fi
7102
 
 if test -n "$EXEEXT"; then
7103
 
  am__EXEEXT_TRUE=
7104
 
  am__EXEEXT_FALSE='#'
7105
 
else
7106
 
  am__EXEEXT_TRUE='#'
7107
 
  am__EXEEXT_FALSE=
7108
 
fi
7109
 
 
 
5791
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
5792
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
5793
fi
7110
5794
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7111
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7112
 
Usually this means the macro was only invoked conditionally." >&5
7113
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
7114
 
Usually this means the macro was only invoked conditionally." >&2;}
7115
 
   { (exit 1); exit 1; }; }
7116
 
fi
7117
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7118
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7119
 
Usually this means the macro was only invoked conditionally." >&5
7120
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7121
 
Usually this means the macro was only invoked conditionally." >&2;}
7122
 
   { (exit 1); exit 1; }; }
7123
 
fi
7124
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7125
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7126
 
Usually this means the macro was only invoked conditionally." >&5
7127
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7128
 
Usually this means the macro was only invoked conditionally." >&2;}
7129
 
   { (exit 1); exit 1; }; }
 
5795
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
5796
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
5797
fi
 
5798
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
5799
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
5800
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7130
5801
fi
7131
5802
 
7132
5803
  ac_config_commands="$ac_config_commands po/stamp-it"
7133
5804
 
7134
5805
 
7135
5806
 
7136
 
: ${CONFIG_STATUS=./config.status}
 
5807
: "${CONFIG_STATUS=./config.status}"
7137
5808
ac_write_fail=0
7138
5809
ac_clean_files_save=$ac_clean_files
7139
5810
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7140
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
5811
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7141
5812
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7142
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5813
as_write_fail=0
 
5814
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7143
5815
#! $SHELL
7144
5816
# Generated by $as_me.
7145
5817
# Run this file to recreate the current configuration.
7149
5821
debug=false
7150
5822
ac_cs_recheck=false
7151
5823
ac_cs_silent=false
 
5824
 
7152
5825
SHELL=\${CONFIG_SHELL-$SHELL}
7153
 
_ACEOF
7154
 
 
7155
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7156
 
## --------------------- ##
7157
 
## M4sh Initialization.  ##
7158
 
## --------------------- ##
 
5826
export SHELL
 
5827
_ASEOF
 
5828
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
5829
## -------------------- ##
 
5830
## M4sh Initialization. ##
 
5831
## -------------------- ##
7159
5832
 
7160
5833
# Be more Bourne compatible
7161
5834
DUALCASE=1; export DUALCASE # for MKS sh
7162
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
5835
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7163
5836
  emulate sh
7164
5837
  NULLCMD=:
7165
5838
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7167
5840
  alias -g '${1+"$@"}'='"$@"'
7168
5841
  setopt NO_GLOB_SUBST
7169
5842
else
7170
 
  case `(set -o) 2>/dev/null` in
7171
 
  *posix*) set -o posix ;;
 
5843
  case `(set -o) 2>/dev/null` in #(
 
5844
  *posix*) :
 
5845
    set -o posix ;; #(
 
5846
  *) :
 
5847
     ;;
7172
5848
esac
7173
 
 
7174
5849
fi
7175
5850
 
7176
5851
 
7177
 
 
7178
 
 
7179
 
# PATH needs CR
7180
 
# Avoid depending upon Character Ranges.
7181
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7182
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7183
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7184
 
as_cr_digits='0123456789'
7185
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
7186
 
 
7187
5852
as_nl='
7188
5853
'
7189
5854
export as_nl
7191
5856
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7192
5857
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7193
5858
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7194
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
5859
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
5860
# but without wasting forks for bash or zsh.
 
5861
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
5862
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
5863
  as_echo='print -r --'
 
5864
  as_echo_n='print -rn --'
 
5865
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7195
5866
  as_echo='printf %s\n'
7196
5867
  as_echo_n='printf %s'
7197
5868
else
7202
5873
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7203
5874
    as_echo_n_body='eval
7204
5875
      arg=$1;
7205
 
      case $arg in
 
5876
      case $arg in #(
7206
5877
      *"$as_nl"*)
7207
5878
        expr "X$arg" : "X\\(.*\\)$as_nl";
7208
5879
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7225
5896
  }
7226
5897
fi
7227
5898
 
7228
 
# Support unset when possible.
7229
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7230
 
  as_unset=unset
7231
 
else
7232
 
  as_unset=false
7233
 
fi
7234
 
 
7235
5899
 
7236
5900
# IFS
7237
5901
# We need space, tab and new line, in precisely that order.  Quoting is
7241
5905
IFS=" ""        $as_nl"
7242
5906
 
7243
5907
# Find who we are.  Look in the path if we contain no directory separator.
7244
 
case $0 in
 
5908
as_myself=
 
5909
case $0 in #((
7245
5910
  *[\\/]* ) as_myself=$0 ;;
7246
5911
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247
5912
for as_dir in $PATH
7248
5913
do
7249
5914
  IFS=$as_save_IFS
7250
5915
  test -z "$as_dir" && as_dir=.
7251
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7252
 
done
 
5916
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
5917
  done
7253
5918
IFS=$as_save_IFS
7254
5919
 
7255
5920
     ;;
7261
5926
fi
7262
5927
if test ! -f "$as_myself"; then
7263
5928
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7264
 
  { (exit 1); exit 1; }
 
5929
  exit 1
7265
5930
fi
7266
5931
 
7267
 
# Work around bugs in pre-3.0 UWIN ksh.
7268
 
for as_var in ENV MAIL MAILPATH
7269
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
5932
# Unset variables that we do not need and which cause bugs (e.g. in
 
5933
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
5934
# suppresses any "Segmentation fault" message there.  '((' could
 
5935
# trigger a bug in pdksh 5.2.14.
 
5936
for as_var in BASH_ENV ENV MAIL MAILPATH
 
5937
do eval test x\${$as_var+set} = xset \
 
5938
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7270
5939
done
7271
5940
PS1='$ '
7272
5941
PS2='> '
7278
5947
LANGUAGE=C
7279
5948
export LANGUAGE
7280
5949
 
7281
 
# Required to use basename.
 
5950
# CDPATH.
 
5951
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
5952
 
 
5953
 
 
5954
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
5955
# ----------------------------------------
 
5956
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
5957
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
5958
# script with STATUS, using 1 if that was 0.
 
5959
as_fn_error ()
 
5960
{
 
5961
  as_status=$1; test $as_status -eq 0 && as_status=1
 
5962
  if test "$4"; then
 
5963
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
5964
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
5965
  fi
 
5966
  $as_echo "$as_me: error: $2" >&2
 
5967
  as_fn_exit $as_status
 
5968
} # as_fn_error
 
5969
 
 
5970
 
 
5971
# as_fn_set_status STATUS
 
5972
# -----------------------
 
5973
# Set $? to STATUS, without forking.
 
5974
as_fn_set_status ()
 
5975
{
 
5976
  return $1
 
5977
} # as_fn_set_status
 
5978
 
 
5979
# as_fn_exit STATUS
 
5980
# -----------------
 
5981
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
5982
as_fn_exit ()
 
5983
{
 
5984
  set +e
 
5985
  as_fn_set_status $1
 
5986
  exit $1
 
5987
} # as_fn_exit
 
5988
 
 
5989
# as_fn_unset VAR
 
5990
# ---------------
 
5991
# Portably unset VAR.
 
5992
as_fn_unset ()
 
5993
{
 
5994
  { eval $1=; unset $1;}
 
5995
}
 
5996
as_unset=as_fn_unset
 
5997
# as_fn_append VAR VALUE
 
5998
# ----------------------
 
5999
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
6000
# advantage of any shell optimizations that allow amortized linear growth over
 
6001
# repeated appends, instead of the typical quadratic growth present in naive
 
6002
# implementations.
 
6003
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
6004
  eval 'as_fn_append ()
 
6005
  {
 
6006
    eval $1+=\$2
 
6007
  }'
 
6008
else
 
6009
  as_fn_append ()
 
6010
  {
 
6011
    eval $1=\$$1\$2
 
6012
  }
 
6013
fi # as_fn_append
 
6014
 
 
6015
# as_fn_arith ARG...
 
6016
# ------------------
 
6017
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
6018
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
6019
# must be portable across $(()) and expr.
 
6020
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
6021
  eval 'as_fn_arith ()
 
6022
  {
 
6023
    as_val=$(( $* ))
 
6024
  }'
 
6025
else
 
6026
  as_fn_arith ()
 
6027
  {
 
6028
    as_val=`expr "$@" || test $? -eq 1`
 
6029
  }
 
6030
fi # as_fn_arith
 
6031
 
 
6032
 
7282
6033
if expr a : '\(a\)' >/dev/null 2>&1 &&
7283
6034
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7284
6035
  as_expr=expr
7292
6043
  as_basename=false
7293
6044
fi
7294
6045
 
 
6046
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
6047
  as_dirname=dirname
 
6048
else
 
6049
  as_dirname=false
 
6050
fi
7295
6051
 
7296
 
# Name of the executable.
7297
6052
as_me=`$as_basename -- "$0" ||
7298
6053
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7299
6054
         X"$0" : 'X\(//\)$' \| \
7313
6068
          }
7314
6069
          s/.*/./; q'`
7315
6070
 
7316
 
# CDPATH.
7317
 
$as_unset CDPATH
7318
 
 
7319
 
 
7320
 
 
7321
 
  as_lineno_1=$LINENO
7322
 
  as_lineno_2=$LINENO
7323
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
7324
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7325
 
 
7326
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7327
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
7328
 
  # line-number line after each line using $LINENO; the second 'sed'
7329
 
  # does the real work.  The second script uses 'N' to pair each
7330
 
  # line-number line with the line containing $LINENO, and appends
7331
 
  # trailing '-' during substitution so that $LINENO is not a special
7332
 
  # case at line end.
7333
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7334
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
7335
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
7336
 
  sed -n '
7337
 
    p
7338
 
    /[$]LINENO/=
7339
 
  ' <$as_myself |
7340
 
    sed '
7341
 
      s/[$]LINENO.*/&-/
7342
 
      t lineno
7343
 
      b
7344
 
      :lineno
7345
 
      N
7346
 
      :loop
7347
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7348
 
      t loop
7349
 
      s/-\n.*//
7350
 
    ' >$as_me.lineno &&
7351
 
  chmod +x "$as_me.lineno" ||
7352
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7353
 
   { (exit 1); exit 1; }; }
7354
 
 
7355
 
  # Don't try to exec as it changes $[0], causing all sort of problems
7356
 
  # (the dirname of $[0] is not the place where we might find the
7357
 
  # original and so on.  Autoconf is especially sensitive to this).
7358
 
  . "./$as_me.lineno"
7359
 
  # Exit status is that of the last command.
7360
 
  exit
7361
 
}
7362
 
 
7363
 
 
7364
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7365
 
  as_dirname=dirname
7366
 
else
7367
 
  as_dirname=false
7368
 
fi
 
6071
# Avoid depending upon Character Ranges.
 
6072
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
6073
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
6074
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
6075
as_cr_digits='0123456789'
 
6076
as_cr_alnum=$as_cr_Letters$as_cr_digits
7369
6077
 
7370
6078
ECHO_C= ECHO_N= ECHO_T=
7371
 
case `echo -n x` in
 
6079
case `echo -n x` in #(((((
7372
6080
-n*)
7373
 
  case `echo 'x\c'` in
 
6081
  case `echo 'xy\c'` in
7374
6082
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
7375
 
  *)   ECHO_C='\c';;
 
6083
  xy)  ECHO_C='\c';;
 
6084
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
6085
       ECHO_T=' ';;
7376
6086
  esac;;
7377
6087
*)
7378
6088
  ECHO_N='-n';;
7379
6089
esac
7380
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
7381
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7382
 
  as_expr=expr
7383
 
else
7384
 
  as_expr=false
7385
 
fi
7386
6090
 
7387
6091
rm -f conf$$ conf$$.exe conf$$.file
7388
6092
if test -d conf$$.dir; then
7411
6115
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7412
6116
rmdir conf$$.dir 2>/dev/null
7413
6117
 
 
6118
 
 
6119
# as_fn_mkdir_p
 
6120
# -------------
 
6121
# Create "$as_dir" as a directory, including parents if necessary.
 
6122
as_fn_mkdir_p ()
 
6123
{
 
6124
 
 
6125
  case $as_dir in #(
 
6126
  -*) as_dir=./$as_dir;;
 
6127
  esac
 
6128
  test -d "$as_dir" || eval $as_mkdir_p || {
 
6129
    as_dirs=
 
6130
    while :; do
 
6131
      case $as_dir in #(
 
6132
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
6133
      *) as_qdir=$as_dir;;
 
6134
      esac
 
6135
      as_dirs="'$as_qdir' $as_dirs"
 
6136
      as_dir=`$as_dirname -- "$as_dir" ||
 
6137
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6138
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6139
         X"$as_dir" : 'X\(//\)$' \| \
 
6140
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
6141
$as_echo X"$as_dir" |
 
6142
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6143
            s//\1/
 
6144
            q
 
6145
          }
 
6146
          /^X\(\/\/\)[^/].*/{
 
6147
            s//\1/
 
6148
            q
 
6149
          }
 
6150
          /^X\(\/\/\)$/{
 
6151
            s//\1/
 
6152
            q
 
6153
          }
 
6154
          /^X\(\/\).*/{
 
6155
            s//\1/
 
6156
            q
 
6157
          }
 
6158
          s/.*/./; q'`
 
6159
      test -d "$as_dir" && break
 
6160
    done
 
6161
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
6162
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
6163
 
 
6164
 
 
6165
} # as_fn_mkdir_p
7414
6166
if mkdir -p . 2>/dev/null; then
7415
 
  as_mkdir_p=:
 
6167
  as_mkdir_p='mkdir -p "$as_dir"'
7416
6168
else
7417
6169
  test -d ./-p && rmdir ./-p
7418
6170
  as_mkdir_p=false
7431
6183
      if test -d "$1"; then
7432
6184
        test -d "$1/.";
7433
6185
      else
7434
 
        case $1 in
 
6186
        case $1 in #(
7435
6187
        -*)set "./$1";;
7436
6188
        esac;
7437
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
6189
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7438
6190
        ???[sx]*):;;*)false;;esac;fi
7439
6191
    '\'' sh
7440
6192
  '
7449
6201
 
7450
6202
 
7451
6203
exec 6>&1
 
6204
## ----------------------------------- ##
 
6205
## Main body of $CONFIG_STATUS script. ##
 
6206
## ----------------------------------- ##
 
6207
_ASEOF
 
6208
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7452
6209
 
7453
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
6210
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6211
# Save the log message, to keep $0 and so on meaningful, and to
7454
6212
# report actual input values of CONFIG_FILES etc. instead of their
7455
6213
# values after options handling.
7456
6214
ac_log="
7457
 
This file was extended by transmageddon $as_me 0.16, which was
7458
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
6215
This file was extended by transmageddon $as_me 0.20, which was
 
6216
generated by GNU Autoconf 2.68.  Invocation command line was
7459
6217
 
7460
6218
  CONFIG_FILES    = $CONFIG_FILES
7461
6219
  CONFIG_HEADERS  = $CONFIG_HEADERS
7483
6241
 
7484
6242
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7485
6243
ac_cs_usage="\
7486
 
\`$as_me' instantiates files from templates according to the
7487
 
current configuration.
 
6244
\`$as_me' instantiates files and other configuration actions
 
6245
from templates according to the current configuration.  Unless the files
 
6246
and actions are specified as TAGs, all are instantiated by default.
7488
6247
 
7489
 
Usage: $0 [OPTION]... [FILE]...
 
6248
Usage: $0 [OPTION]... [TAG]...
7490
6249
 
7491
6250
  -h, --help       print this help, then exit
7492
6251
  -V, --version    print version number and configuration settings, then exit
 
6252
      --config     print configuration, then exit
7493
6253
  -q, --quiet, --silent
7494
6254
                   do not print progress messages
7495
6255
  -d, --debug      don't remove temporary files
7503
6263
Configuration commands:
7504
6264
$config_commands
7505
6265
 
7506
 
Report bugs to <bug-autoconf@gnu.org>."
 
6266
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=transmageddon>.
 
6267
transmageddon home page: <http://www.linuxrising.org/transmageddon>."
7507
6268
 
7508
6269
_ACEOF
7509
6270
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6271
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7510
6272
ac_cs_version="\\
7511
 
transmageddon config.status 0.16
7512
 
configured by $0, generated by GNU Autoconf 2.63,
7513
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
6273
transmageddon config.status 0.20
 
6274
configured by $0, generated by GNU Autoconf 2.68,
 
6275
  with options \\"\$ac_cs_config\\"
7514
6276
 
7515
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
6277
Copyright (C) 2010 Free Software Foundation, Inc.
7516
6278
This config.status script is free software; the Free Software Foundation
7517
6279
gives unlimited permission to copy, distribute and modify it."
7518
6280
 
7530
6292
while test $# != 0
7531
6293
do
7532
6294
  case $1 in
7533
 
  --*=*)
 
6295
  --*=?*)
7534
6296
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7535
6297
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7536
6298
    ac_shift=:
7537
6299
    ;;
 
6300
  --*=)
 
6301
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
6302
    ac_optarg=
 
6303
    ac_shift=:
 
6304
    ;;
7538
6305
  *)
7539
6306
    ac_option=$1
7540
6307
    ac_optarg=$2
7548
6315
    ac_cs_recheck=: ;;
7549
6316
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7550
6317
    $as_echo "$ac_cs_version"; exit ;;
 
6318
  --config | --confi | --conf | --con | --co | --c )
 
6319
    $as_echo "$ac_cs_config"; exit ;;
7551
6320
  --debug | --debu | --deb | --de | --d | -d )
7552
6321
    debug=: ;;
7553
6322
  --file | --fil | --fi | --f )
7554
6323
    $ac_shift
7555
6324
    case $ac_optarg in
7556
6325
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
6326
    '') as_fn_error $? "missing file argument" ;;
7557
6327
    esac
7558
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
6328
    as_fn_append CONFIG_FILES " '$ac_optarg'"
7559
6329
    ac_need_defaults=false;;
7560
6330
  --he | --h |  --help | --hel | -h )
7561
6331
    $as_echo "$ac_cs_usage"; exit ;;
7564
6334
    ac_cs_silent=: ;;
7565
6335
 
7566
6336
  # This is an error.
7567
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
7568
 
Try \`$0 --help' for more information." >&2
7569
 
   { (exit 1); exit 1; }; } ;;
 
6337
  -*) as_fn_error $? "unrecognized option: \`$1'
 
6338
Try \`$0 --help' for more information." ;;
7570
6339
 
7571
 
  *) ac_config_targets="$ac_config_targets $1"
 
6340
  *) as_fn_append ac_config_targets " $1"
7572
6341
     ac_need_defaults=false ;;
7573
6342
 
7574
6343
  esac
7629
6398
    "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
7630
6399
    "src/about.py") CONFIG_FILES="$CONFIG_FILES src/about.py" ;;
7631
6400
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
6401
    "profiles/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/Makefile" ;;
7632
6402
    "presets/Makefile") CONFIG_FILES="$CONFIG_FILES presets/Makefile" ;;
7633
 
    "profiles/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/Makefile" ;;
7634
6403
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7635
6404
    "transmageddon.spec") CONFIG_FILES="$CONFIG_FILES transmageddon.spec" ;;
7636
6405
    "transmageddon.desktop.in") CONFIG_FILES="$CONFIG_FILES transmageddon.desktop.in" ;;
7637
6406
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
7638
6407
 
7639
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7640
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7641
 
   { (exit 1); exit 1; }; };;
 
6408
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7642
6409
  esac
7643
6410
done
7644
6411
 
7660
6427
# after its creation but before its name has been assigned to `$tmp'.
7661
6428
$debug ||
7662
6429
{
7663
 
  tmp=
 
6430
  tmp= ac_tmp=
7664
6431
  trap 'exit_status=$?
7665
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
6432
  : "${ac_tmp:=$tmp}"
 
6433
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7666
6434
' 0
7667
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
6435
  trap 'as_fn_exit 1' 1 2 13 15
7668
6436
}
7669
6437
# Create a (secure) tmp directory for tmp files.
7670
6438
 
7671
6439
{
7672
6440
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7673
 
  test -n "$tmp" && test -d "$tmp"
 
6441
  test -d "$tmp"
7674
6442
}  ||
7675
6443
{
7676
6444
  tmp=./conf$$-$RANDOM
7677
6445
  (umask 077 && mkdir "$tmp")
7678
 
} ||
7679
 
{
7680
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
7681
 
   { (exit 1); exit 1; }
7682
 
}
 
6446
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
6447
ac_tmp=$tmp
7683
6448
 
7684
6449
# Set up the scripts for CONFIG_FILES section.
7685
6450
# No need to generate them if there are no CONFIG_FILES.
7704
6469
  # The final `:' finishes the AND list.
7705
6470
  ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
7706
6471
fi
7707
 
ac_cr='
 
 
b"'"
 
6472
ac_cr=`echo X | tr X '\015'`
 
6473
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
6474
# But we know of no other shell where ac_cr would be empty at this
 
6475
# point, so we can use a bashism as a fallback.
 
6476
if test "x$ac_cr" = x; then
 
6477
  eval ac_cr=\$\'\\r\'
 
6478
fi
7708
6479
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7709
6480
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7710
6481
  ac_cs_awk_cr='\\r'
7712
6483
  ac_cs_awk_cr=$ac_cr
7713
6484
fi
7714
6485
 
7715
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
6486
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7716
6487
_ACEOF
7717
6488
 
7718
6489
# Create commands to substitute file output variables.
7719
6490
{
7720
6491
  echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
7721
 
  echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
 
6492
  echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
7722
6493
  echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
7723
6494
  echo "_ACAWK" &&
7724
6495
  echo "_ACEOF"
7725
6496
} >conf$$files.sh &&
7726
6497
. ./conf$$files.sh ||
7727
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7728
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7729
 
   { (exit 1); exit 1; }; }
 
6498
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7730
6499
rm -f conf$$files.sh
7731
6500
 
7732
6501
{
7734
6503
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7735
6504
  echo "_ACEOF"
7736
6505
} >conf$$subs.sh ||
7737
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7738
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7739
 
   { (exit 1); exit 1; }; }
7740
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
6506
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
6507
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7741
6508
ac_delim='%!_!# '
7742
6509
for ac_last_try in false false false false false :; do
7743
6510
  . ./conf$$subs.sh ||
7744
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7745
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7746
 
   { (exit 1); exit 1; }; }
 
6511
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7747
6512
 
7748
6513
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7749
6514
  if test $ac_delim_n = $ac_delim_num; then
7750
6515
    break
7751
6516
  elif $ac_last_try; then
7752
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7753
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7754
 
   { (exit 1); exit 1; }; }
 
6517
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7755
6518
  else
7756
6519
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7757
6520
  fi
7759
6522
rm -f conf$$subs.sh
7760
6523
 
7761
6524
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7762
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
6525
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7763
6526
_ACEOF
7764
6527
sed -n '
7765
6528
h
7773
6536
t delim
7774
6537
:nl
7775
6538
h
7776
 
s/\(.\{148\}\).*/\1/
 
6539
s/\(.\{148\}\)..*/\1/
7777
6540
t more1
7778
6541
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7779
6542
p
7787
6550
t nl
7788
6551
:delim
7789
6552
h
7790
 
s/\(.\{148\}\).*/\1/
 
6553
s/\(.\{148\}\)..*/\1/
7791
6554
t more2
7792
6555
s/["\\]/\\&/g; s/^/"/; s/$/"/
7793
6556
p
7807
6570
rm -f conf$$subs.awk
7808
6571
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7809
6572
_ACAWK
7810
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
6573
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7811
6574
  for (key in S) S_is_set[key] = 1
7812
6575
  FS = ""
7813
6576
  \$ac_cs_awk_pipe_init
7845
6608
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7846
6609
else
7847
6610
  cat
7848
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7849
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
7850
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
7851
 
   { (exit 1); exit 1; }; }
 
6611
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
6612
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7852
6613
_ACEOF
7853
6614
 
7854
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7855
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
6615
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
6616
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7856
6617
# trailing colons and then remove the whole line if VPATH becomes empty
7857
6618
# (actually we leave an empty line to preserve line numbers).
7858
6619
if test "x$srcdir" = x.; then
7859
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
7860
 
s/:*\$(srcdir):*/:/
7861
 
s/:*\${srcdir}:*/:/
7862
 
s/:*@srcdir@:*/:/
7863
 
s/^\([^=]*=[     ]*\):*/\1/
 
6620
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
6621
h
 
6622
s///
 
6623
s/^/:/
 
6624
s/[      ]*$/:/
 
6625
s/:\$(srcdir):/:/g
 
6626
s/:\${srcdir}:/:/g
 
6627
s/:@srcdir@:/:/g
 
6628
s/^:*//
7864
6629
s/:*$//
 
6630
x
 
6631
s/\(=[   ]*\).*/\1/
 
6632
G
 
6633
s/\n//
7865
6634
s/^[^=]*=[       ]*$//
7866
6635
}'
7867
6636
fi
7879
6648
  esac
7880
6649
  case $ac_mode$ac_tag in
7881
6650
  :[FHL]*:*);;
7882
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
7883
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7884
 
   { (exit 1); exit 1; }; };;
 
6651
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7885
6652
  :[FH]-) ac_tag=-:-;;
7886
6653
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7887
6654
  esac
7900
6667
    for ac_f
7901
6668
    do
7902
6669
      case $ac_f in
7903
 
      -) ac_f="$tmp/stdin";;
 
6670
      -) ac_f="$ac_tmp/stdin";;
7904
6671
      *) # Look for the file first in the build tree, then in the source tree
7905
6672
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
7906
6673
         # because $ac_f cannot contain `:'.
7909
6676
           [\\/$]*) false;;
7910
6677
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7911
6678
           esac ||
7912
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7913
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7914
 
   { (exit 1); exit 1; }; };;
 
6679
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7915
6680
      esac
7916
6681
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7917
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
6682
      as_fn_append ac_file_inputs " '$ac_f'"
7918
6683
    done
7919
6684
 
7920
6685
    # Let's still pretend it is `configure' which instantiates (i.e., don't
7925
6690
        `' by configure.'
7926
6691
    if test x"$ac_file" != x-; then
7927
6692
      configure_input="$ac_file.  $configure_input"
7928
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
6693
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7929
6694
$as_echo "$as_me: creating $ac_file" >&6;}
7930
6695
    fi
7931
6696
    # Neutralize special characters interpreted by sed in replacement strings.
7937
6702
    esac
7938
6703
 
7939
6704
    case $ac_tag in
7940
 
    *:-:* | *:-) cat >"$tmp/stdin" \
7941
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7942
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7943
 
   { (exit 1); exit 1; }; } ;;
 
6705
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
6706
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7944
6707
    esac
7945
6708
    ;;
7946
6709
  esac
7968
6731
            q
7969
6732
          }
7970
6733
          s/.*/./; q'`
7971
 
  { as_dir="$ac_dir"
7972
 
  case $as_dir in #(
7973
 
  -*) as_dir=./$as_dir;;
7974
 
  esac
7975
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7976
 
    as_dirs=
7977
 
    while :; do
7978
 
      case $as_dir in #(
7979
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7980
 
      *) as_qdir=$as_dir;;
7981
 
      esac
7982
 
      as_dirs="'$as_qdir' $as_dirs"
7983
 
      as_dir=`$as_dirname -- "$as_dir" ||
7984
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7985
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
7986
 
         X"$as_dir" : 'X\(//\)$' \| \
7987
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7988
 
$as_echo X"$as_dir" |
7989
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7990
 
            s//\1/
7991
 
            q
7992
 
          }
7993
 
          /^X\(\/\/\)[^/].*/{
7994
 
            s//\1/
7995
 
            q
7996
 
          }
7997
 
          /^X\(\/\/\)$/{
7998
 
            s//\1/
7999
 
            q
8000
 
          }
8001
 
          /^X\(\/\).*/{
8002
 
            s//\1/
8003
 
            q
8004
 
          }
8005
 
          s/.*/./; q'`
8006
 
      test -d "$as_dir" && break
8007
 
    done
8008
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
8009
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8010
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8011
 
   { (exit 1); exit 1; }; }; }
 
6734
  as_dir="$ac_dir"; as_fn_mkdir_p
8012
6735
  ac_builddir=.
8013
6736
 
8014
6737
case "$ac_dir" in
8065
6788
# If the template does not know about datarootdir, expand it.
8066
6789
# FIXME: This hack should be removed a few years after 2.60.
8067
6790
ac_datarootdir_hack=; ac_datarootdir_seen=
8068
 
 
8069
6791
ac_sed_dataroot='
8070
6792
/datarootdir/ {
8071
6793
  p
8075
6797
/@docdir@/p
8076
6798
/@infodir@/p
8077
6799
/@localedir@/p
8078
 
/@mandir@/p
8079
 
'
 
6800
/@mandir@/p'
8080
6801
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8081
6802
*datarootdir*) ac_datarootdir_seen=yes;;
8082
6803
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8083
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
6804
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8084
6805
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8085
6806
_ACEOF
8086
6807
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8090
6811
  s&@infodir@&$infodir&g
8091
6812
  s&@localedir@&$localedir&g
8092
6813
  s&@mandir@&$mandir&g
8093
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
6814
  s&\\\${datarootdir}&$datarootdir&g' ;;
8094
6815
esac
8095
6816
_ACEOF
8096
6817
 
8120
6841
"
8121
6842
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
8122
6843
if $ac_cs_awk_getline; then
8123
 
  $AWK -f "$tmp/subs.awk"
 
6844
  $AWK -f "$ac_tmp/subs.awk"
8124
6845
else
8125
 
  $AWK -f "$tmp/subs.awk" | $SHELL
8126
 
fi >$tmp/out \
8127
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8128
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8129
 
   { (exit 1); exit 1; }; }
 
6846
  $AWK -f "$ac_tmp/subs.awk" | $SHELL
 
6847
fi \
 
6848
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8130
6849
 
8131
6850
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8132
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8133
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8134
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8135
 
which seems to be undefined.  Please make sure it is defined." >&5
 
6851
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
6852
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
6853
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
6854
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6855
which seems to be undefined.  Please make sure it is defined" >&5
8136
6856
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8137
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
6857
which seems to be undefined.  Please make sure it is defined" >&2;}
8138
6858
 
8139
 
  rm -f "$tmp/stdin"
 
6859
  rm -f "$ac_tmp/stdin"
8140
6860
  case $ac_file in
8141
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
8142
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
6861
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
6862
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8143
6863
  esac \
8144
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8145
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8146
 
   { (exit 1); exit 1; }; }
 
6864
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8147
6865
 ;;
8148
6866
 
8149
6867
 
8150
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
6868
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8151
6869
$as_echo "$as_me: executing $ac_file commands" >&6;}
8152
6870
 ;;
8153
6871
  esac
8242
6960
            q
8243
6961
          }
8244
6962
          s/.*/./; q'`
8245
 
      { as_dir=$dirpart/$fdir
8246
 
  case $as_dir in #(
8247
 
  -*) as_dir=./$as_dir;;
8248
 
  esac
8249
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8250
 
    as_dirs=
8251
 
    while :; do
8252
 
      case $as_dir in #(
8253
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8254
 
      *) as_qdir=$as_dir;;
8255
 
      esac
8256
 
      as_dirs="'$as_qdir' $as_dirs"
8257
 
      as_dir=`$as_dirname -- "$as_dir" ||
8258
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8259
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
8260
 
         X"$as_dir" : 'X\(//\)$' \| \
8261
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8262
 
$as_echo X"$as_dir" |
8263
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8264
 
            s//\1/
8265
 
            q
8266
 
          }
8267
 
          /^X\(\/\/\)[^/].*/{
8268
 
            s//\1/
8269
 
            q
8270
 
          }
8271
 
          /^X\(\/\/\)$/{
8272
 
            s//\1/
8273
 
            q
8274
 
          }
8275
 
          /^X\(\/\).*/{
8276
 
            s//\1/
8277
 
            q
8278
 
          }
8279
 
          s/.*/./; q'`
8280
 
      test -d "$as_dir" && break
8281
 
    done
8282
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
8283
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8284
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8285
 
   { (exit 1); exit 1; }; }; }
 
6963
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
8286
6964
      # echo "creating $dirpart/$file"
8287
6965
      echo '# dummy' > "$dirpart/$file"
8288
6966
    done
8295
6973
    "bin/transmageddon":F) chmod +x bin/transmageddon ;;
8296
6974
    "po/stamp-it":C)
8297
6975
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
8298
 
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
8299
 
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
8300
 
   { (exit 1); exit 1; }; }
 
6976
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
8301
6977
    fi
8302
6978
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
8303
6979
    >"po/stamp-it.tmp"
8320
6996
done # for ac_tag
8321
6997
 
8322
6998
 
8323
 
{ (exit 0); exit 0; }
 
6999
as_fn_exit 0
8324
7000
_ACEOF
8325
 
chmod +x $CONFIG_STATUS
8326
7001
ac_clean_files=$ac_clean_files_save
8327
7002
 
8328
7003
test $ac_write_fail = 0 ||
8329
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
8330
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
8331
 
   { (exit 1); exit 1; }; }
 
7004
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8332
7005
 
8333
7006
 
8334
7007
# configure is writing to config.log, and then calls config.status.
8349
7022
  exec 5>>config.log
8350
7023
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8351
7024
  # would make configure fail if this is the last instruction.
8352
 
  $ac_cs_success || { (exit 1); exit 1; }
 
7025
  $ac_cs_success || as_fn_exit 1
8353
7026
fi
8354
7027
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8355
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
7028
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8356
7029
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8357
7030
fi
8358
7031