~matttbe/ubuntu/raring/alacarte/lp1086369

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-03-29 11:36:06 UTC
  • mto: (2.2.2 sid)
  • mto: This revision was merged to the branch mainline in revision 49.
  • Revision ID: james.westby@ubuntu.com-20100329113606-b6ughv6fm3dgk3s0
Tags: upstream-0.13.1
ImportĀ upstreamĀ versionĀ 0.13.1

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 alacarte 0.12.4.
 
3
# Generated by GNU Autoconf 2.65 for alacarte 0.13.1.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte>.
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 Free Software Foundation,
 
10
# 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
case $0 in #((
100
95
  *[\\/]* ) as_myself=$0 ;;
101
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
97
for as_dir in $PATH
103
98
do
104
99
  IFS=$as_save_IFS
105
100
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
108
103
IFS=$as_save_IFS
109
104
 
110
105
     ;;
116
111
fi
117
112
if test ! -f "$as_myself"; then
118
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
114
  exit 1
120
115
fi
121
116
 
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
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
124
done
126
125
PS1='$ '
127
126
PS2='> '
133
132
LANGUAGE=C
134
133
export LANGUAGE
135
134
 
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
135
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
137
 
175
138
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
177
178
  as_have_required=yes
178
179
else
179
180
  as_have_required=no
180
181
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
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
 
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
188
do
245
189
  IFS=$as_save_IFS
246
190
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
191
  as_found=:
 
192
  case $as_dir in #(
248
193
         /*)
249
194
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
251
204
           done;;
252
205
       esac
 
206
  as_found=false
253
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
254
212
IFS=$as_save_IFS
255
213
 
256
214
 
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
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
222
        export CONFIG_SHELL
368
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
224
fi
370
225
 
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.  :-)
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
234
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte
 
235
$0: about your system, including any error possibly output
 
236
$0: before this message. Then install a modern shell, or
 
237
$0: manually run the script under such a shell if you do
 
238
$0: have one."
 
239
  fi
 
240
  exit 1
 
241
fi
 
242
fi
 
243
fi
 
244
SHELL=${CONFIG_SHELL-/bin/sh}
 
245
export SHELL
 
246
# Unset more variables known to interfere with behavior of common tools.
 
247
CLICOLOR_FORCE= GREP_OPTIONS=
 
248
unset CLICOLOR_FORCE GREP_OPTIONS
 
249
 
 
250
## --------------------- ##
 
251
## M4sh Shell Functions. ##
 
252
## --------------------- ##
 
253
# as_fn_unset VAR
 
254
# ---------------
 
255
# Portably unset VAR.
 
256
as_fn_unset ()
 
257
{
 
258
  { eval $1=; unset $1;}
 
259
}
 
260
as_unset=as_fn_unset
 
261
 
 
262
# as_fn_set_status STATUS
 
263
# -----------------------
 
264
# Set $? to STATUS, without forking.
 
265
as_fn_set_status ()
 
266
{
 
267
  return $1
 
268
} # as_fn_set_status
 
269
 
 
270
# as_fn_exit STATUS
 
271
# -----------------
 
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
273
as_fn_exit ()
 
274
{
 
275
  set +e
 
276
  as_fn_set_status $1
 
277
  exit $1
 
278
} # as_fn_exit
 
279
 
 
280
# as_fn_mkdir_p
 
281
# -------------
 
282
# Create "$as_dir" as a directory, including parents if necessary.
 
283
as_fn_mkdir_p ()
 
284
{
 
285
 
 
286
  case $as_dir in #(
 
287
  -*) as_dir=./$as_dir;;
 
288
  esac
 
289
  test -d "$as_dir" || eval $as_mkdir_p || {
 
290
    as_dirs=
 
291
    while :; do
 
292
      case $as_dir in #(
 
293
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
294
      *) as_qdir=$as_dir;;
 
295
      esac
 
296
      as_dirs="'$as_qdir' $as_dirs"
 
297
      as_dir=`$as_dirname -- "$as_dir" ||
 
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
299
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
300
         X"$as_dir" : 'X\(//\)$' \| \
 
301
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
302
$as_echo X"$as_dir" |
 
303
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)[^/].*/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\/\)$/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          /^X\(\/\).*/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          s/.*/./; q'`
 
320
      test -d "$as_dir" && break
 
321
    done
 
322
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
323
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
324
 
 
325
 
 
326
} # as_fn_mkdir_p
 
327
# as_fn_append VAR VALUE
 
328
# ----------------------
 
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
330
# advantage of any shell optimizations that allow amortized linear growth over
 
331
# repeated appends, instead of the typical quadratic growth present in naive
 
332
# implementations.
 
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
334
  eval 'as_fn_append ()
 
335
  {
 
336
    eval $1+=\$2
 
337
  }'
 
338
else
 
339
  as_fn_append ()
 
340
  {
 
341
    eval $1=\$$1\$2
 
342
  }
 
343
fi # as_fn_append
 
344
 
 
345
# as_fn_arith ARG...
 
346
# ------------------
 
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
349
# must be portable across $(()) and expr.
 
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
351
  eval 'as_fn_arith ()
 
352
  {
 
353
    as_val=$(( $* ))
 
354
  }'
 
355
else
 
356
  as_fn_arith ()
 
357
  {
 
358
    as_val=`expr "$@" || test $? -eq 1`
 
359
  }
 
360
fi # as_fn_arith
 
361
 
 
362
 
 
363
# as_fn_error ERROR [LINENO LOG_FD]
 
364
# ---------------------------------
 
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
367
# script with status $?, using 1 if that was 0.
 
368
as_fn_error ()
 
369
{
 
370
  as_status=$?; test $as_status -eq 0 && as_status=1
 
371
  if test "$3"; then
 
372
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
373
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
374
  fi
 
375
  $as_echo "$as_me: error: $1" >&2
 
376
  as_fn_exit $as_status
 
377
} # as_fn_error
 
378
 
 
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
380
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
381
  as_expr=expr
 
382
else
 
383
  as_expr=false
 
384
fi
 
385
 
 
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
387
  as_basename=basename
 
388
else
 
389
  as_basename=false
 
390
fi
 
391
 
 
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
393
  as_dirname=dirname
 
394
else
 
395
  as_dirname=false
 
396
fi
 
397
 
 
398
as_me=`$as_basename -- "$0" ||
 
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
400
         X"$0" : 'X\(//\)$' \| \
 
401
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
402
$as_echo X/"$0" |
 
403
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\/\)$/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          /^X\/\(\/\).*/{
 
412
            s//\1/
 
413
            q
 
414
          }
 
415
          s/.*/./; q'`
 
416
 
 
417
# Avoid depending upon Character Ranges.
 
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
421
as_cr_digits='0123456789'
 
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
426
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
427
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
428
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
429
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
430
  sed -n '
461
431
    p
462
432
    /[$]LINENO/=
473
443
      s/-\n.*//
474
444
    ' >$as_me.lineno &&
475
445
  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; }; }
 
446
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
447
 
479
448
  # Don't try to exec as it changes $[0], causing all sort of problems
480
449
  # (the dirname of $[0] is not the place where we might find the
484
453
  exit
485
454
}
486
455
 
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
456
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
457
case `echo -n x` in #(((((
496
458
-n*)
497
 
  case `echo 'x\c'` in
 
459
  case `echo 'xy\c'` in
498
460
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
461
  xy)  ECHO_C='\c';;
 
462
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
463
       ECHO_T=' ';;
500
464
  esac;;
501
465
*)
502
466
  ECHO_N='-n';;
503
467
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
468
 
511
469
rm -f conf$$ conf$$.exe conf$$.file
512
470
if test -d conf$$.dir; then
536
494
rmdir conf$$.dir 2>/dev/null
537
495
 
538
496
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
497
  as_mkdir_p='mkdir -p "$as_dir"'
540
498
else
541
499
  test -d ./-p && rmdir ./-p
542
500
  as_mkdir_p=false
555
513
      if test -d "$1"; then
556
514
        test -d "$1/.";
557
515
      else
558
 
        case $1 in
 
516
        case $1 in #(
559
517
        -*)set "./$1";;
560
518
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
519
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
520
        ???[sx]*):;;*)false;;esac;fi
563
521
    '\'' sh
564
522
  '
572
530
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
531
 
574
532
 
575
 
 
576
 
exec 7<&0 </dev/null 6>&1
 
533
test -n "$DJDIR" || exec 7<&0 </dev/null
 
534
exec 6>&1
577
535
 
578
536
# Name of the host.
579
537
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
591
549
subdirs=
592
550
MFLAGS=
593
551
MAKEFLAGS=
594
 
SHELL=${CONFIG_SHELL-/bin/sh}
595
552
 
596
553
# Identity of this package.
597
554
PACKAGE_NAME='alacarte'
598
555
PACKAGE_TARNAME='alacarte'
599
 
PACKAGE_VERSION='0.12.4'
600
 
PACKAGE_STRING='alacarte 0.12.4'
 
556
PACKAGE_VERSION='0.13.1'
 
557
PACKAGE_STRING='alacarte 0.13.1'
601
558
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte'
 
559
PACKAGE_URL=''
602
560
 
603
561
ac_unique_file="alacarte.in"
604
562
# Factoring default headers for most tests.
773
731
program_transform_name
774
732
prefix
775
733
exec_prefix
 
734
PACKAGE_URL
776
735
PACKAGE_BUGREPORT
777
736
PACKAGE_STRING
778
737
PACKAGE_VERSION
907
866
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
908
867
    # Reject names that are not valid shell variable names.
909
868
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
911
 
   { (exit 1); exit 1; }; }
 
869
      as_fn_error "invalid feature name: $ac_useropt"
912
870
    ac_useropt_orig=$ac_useropt
913
871
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
914
872
    case $ac_user_opts in
934
892
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
935
893
    # Reject names that are not valid shell variable names.
936
894
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
937
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
938
 
   { (exit 1); exit 1; }; }
 
895
      as_fn_error "invalid feature name: $ac_useropt"
939
896
    ac_useropt_orig=$ac_useropt
940
897
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941
898
    case $ac_user_opts in
1139
1096
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1140
1097
    # Reject names that are not valid shell variable names.
1141
1098
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1142
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1143
 
   { (exit 1); exit 1; }; }
 
1099
      as_fn_error "invalid package name: $ac_useropt"
1144
1100
    ac_useropt_orig=$ac_useropt
1145
1101
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146
1102
    case $ac_user_opts in
1156
1112
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1157
1113
    # Reject names that are not valid shell variable names.
1158
1114
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1159
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1160
 
   { (exit 1); exit 1; }; }
 
1115
      as_fn_error "invalid package name: $ac_useropt"
1161
1116
    ac_useropt_orig=$ac_useropt
1162
1117
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163
1118
    case $ac_user_opts in
1187
1142
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1188
1143
    x_libraries=$ac_optarg ;;
1189
1144
 
1190
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1191
 
Try \`$0 --help' for more information." >&2
1192
 
   { (exit 1); exit 1; }; }
 
1145
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1146
Try \`$0 --help' for more information."
1193
1147
    ;;
1194
1148
 
1195
1149
  *=*)
1196
1150
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1197
1151
    # Reject names that are not valid shell variable names.
1198
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1199
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1200
 
   { (exit 1); exit 1; }; }
 
1152
    case $ac_envvar in #(
 
1153
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1154
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1155
    esac
1201
1156
    eval $ac_envvar=\$ac_optarg
1202
1157
    export $ac_envvar ;;
1203
1158
 
1214
1169
 
1215
1170
if test -n "$ac_prev"; then
1216
1171
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1217
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1218
 
   { (exit 1); exit 1; }; }
 
1172
  as_fn_error "missing argument to $ac_option"
1219
1173
fi
1220
1174
 
1221
1175
if test -n "$ac_unrecognized_opts"; then
1222
1176
  case $enable_option_checking in
1223
1177
    no) ;;
1224
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1225
 
   { (exit 1); exit 1; }; } ;;
 
1178
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1226
1179
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1227
1180
  esac
1228
1181
fi
1245
1198
    [\\/$]* | ?:[\\/]* )  continue;;
1246
1199
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1247
1200
  esac
1248
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1249
 
   { (exit 1); exit 1; }; }
 
1201
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1250
1202
done
1251
1203
 
1252
1204
# There might be people who depend on the old broken behavior: `$host'
1276
1228
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1277
1229
ac_ls_di=`ls -di .` &&
1278
1230
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1279
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1280
 
   { (exit 1); exit 1; }; }
 
1231
  as_fn_error "working directory cannot be determined"
1281
1232
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1282
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1283
 
   { (exit 1); exit 1; }; }
 
1233
  as_fn_error "pwd does not report name of working directory"
1284
1234
 
1285
1235
 
1286
1236
# Find the source files, if location was not specified.
1319
1269
fi
1320
1270
if test ! -r "$srcdir/$ac_unique_file"; then
1321
1271
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1322
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1323
 
   { (exit 1); exit 1; }; }
 
1272
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1324
1273
fi
1325
1274
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1326
1275
ac_abs_confdir=`(
1327
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1328
 
   { (exit 1); exit 1; }; }
 
1276
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1329
1277
        pwd)`
1330
1278
# When building in place, set srcdir=.
1331
1279
if test "$ac_abs_confdir" = "$ac_pwd"; then
1351
1299
  # Omit some internal or obsolete options to make the list less imposing.
1352
1300
  # This message is too long to be a string in the A/UX 3.1 sh.
1353
1301
  cat <<_ACEOF
1354
 
\`configure' configures alacarte 0.12.4 to adapt to many kinds of systems.
 
1302
\`configure' configures alacarte 0.13.1 to adapt to many kinds of systems.
1355
1303
 
1356
1304
Usage: $0 [OPTION]... [VAR=VALUE]...
1357
1305
 
1417
1365
 
1418
1366
if test -n "$ac_init_help"; then
1419
1367
  case $ac_init_help in
1420
 
     short | recursive ) echo "Configuration of alacarte 0.12.4:";;
 
1368
     short | recursive ) echo "Configuration of alacarte 0.13.1:";;
1421
1369
   esac
1422
1370
  cat <<\_ACEOF
1423
1371
 
1437
1385
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1438
1386
              nonstandard directory <lib dir>
1439
1387
  LIBS        libraries to pass to the linker, e.g. -l<library>
1440
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1388
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1441
1389
              you have headers in a nonstandard directory <include dir>
1442
1390
  CPP         C preprocessor
1443
1391
  PKG_CONFIG  path to pkg-config utility
1512
1460
test -n "$ac_init_help" && exit $ac_status
1513
1461
if $ac_init_version; then
1514
1462
  cat <<\_ACEOF
1515
 
alacarte configure 0.12.4
1516
 
generated by GNU Autoconf 2.63
 
1463
alacarte configure 0.13.1
 
1464
generated by GNU Autoconf 2.65
1517
1465
 
1518
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1519
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1466
Copyright (C) 2009 Free Software Foundation, Inc.
1520
1467
This configure script is free software; the Free Software Foundation
1521
1468
gives unlimited permission to copy, distribute and modify it.
1522
1469
_ACEOF
1523
1470
  exit
1524
1471
fi
 
1472
 
 
1473
## ------------------------ ##
 
1474
## Autoconf initialization. ##
 
1475
## ------------------------ ##
 
1476
 
 
1477
# ac_fn_c_try_compile LINENO
 
1478
# --------------------------
 
1479
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1480
ac_fn_c_try_compile ()
 
1481
{
 
1482
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1483
  rm -f conftest.$ac_objext
 
1484
  if { { ac_try="$ac_compile"
 
1485
case "(($ac_try" in
 
1486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1487
  *) ac_try_echo=$ac_try;;
 
1488
esac
 
1489
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1490
$as_echo "$ac_try_echo"; } >&5
 
1491
  (eval "$ac_compile") 2>conftest.err
 
1492
  ac_status=$?
 
1493
  if test -s conftest.err; then
 
1494
    grep -v '^ *+' conftest.err >conftest.er1
 
1495
    cat conftest.er1 >&5
 
1496
    mv -f conftest.er1 conftest.err
 
1497
  fi
 
1498
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1499
  test $ac_status = 0; } && {
 
1500
         test -z "$ac_c_werror_flag" ||
 
1501
         test ! -s conftest.err
 
1502
       } && test -s conftest.$ac_objext; then :
 
1503
  ac_retval=0
 
1504
else
 
1505
  $as_echo "$as_me: failed program was:" >&5
 
1506
sed 's/^/| /' conftest.$ac_ext >&5
 
1507
 
 
1508
        ac_retval=1
 
1509
fi
 
1510
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1511
  as_fn_set_status $ac_retval
 
1512
 
 
1513
} # ac_fn_c_try_compile
 
1514
 
 
1515
# ac_fn_c_try_cpp LINENO
 
1516
# ----------------------
 
1517
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1518
ac_fn_c_try_cpp ()
 
1519
{
 
1520
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1521
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1522
case "(($ac_try" in
 
1523
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1524
  *) ac_try_echo=$ac_try;;
 
1525
esac
 
1526
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1527
$as_echo "$ac_try_echo"; } >&5
 
1528
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1529
  ac_status=$?
 
1530
  if test -s conftest.err; then
 
1531
    grep -v '^ *+' conftest.err >conftest.er1
 
1532
    cat conftest.er1 >&5
 
1533
    mv -f conftest.er1 conftest.err
 
1534
  fi
 
1535
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1536
  test $ac_status = 0; } >/dev/null && {
 
1537
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1538
         test ! -s conftest.err
 
1539
       }; then :
 
1540
  ac_retval=0
 
1541
else
 
1542
  $as_echo "$as_me: failed program was:" >&5
 
1543
sed 's/^/| /' conftest.$ac_ext >&5
 
1544
 
 
1545
    ac_retval=1
 
1546
fi
 
1547
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1548
  as_fn_set_status $ac_retval
 
1549
 
 
1550
} # ac_fn_c_try_cpp
 
1551
 
 
1552
# ac_fn_c_try_run LINENO
 
1553
# ----------------------
 
1554
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1555
# that executables *can* be run.
 
1556
ac_fn_c_try_run ()
 
1557
{
 
1558
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1559
  if { { ac_try="$ac_link"
 
1560
case "(($ac_try" in
 
1561
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1562
  *) ac_try_echo=$ac_try;;
 
1563
esac
 
1564
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1565
$as_echo "$ac_try_echo"; } >&5
 
1566
  (eval "$ac_link") 2>&5
 
1567
  ac_status=$?
 
1568
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1569
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1570
  { { case "(($ac_try" in
 
1571
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1572
  *) ac_try_echo=$ac_try;;
 
1573
esac
 
1574
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1575
$as_echo "$ac_try_echo"; } >&5
 
1576
  (eval "$ac_try") 2>&5
 
1577
  ac_status=$?
 
1578
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1579
  test $ac_status = 0; }; }; then :
 
1580
  ac_retval=0
 
1581
else
 
1582
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1583
       $as_echo "$as_me: failed program was:" >&5
 
1584
sed 's/^/| /' conftest.$ac_ext >&5
 
1585
 
 
1586
       ac_retval=$ac_status
 
1587
fi
 
1588
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1589
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1590
  as_fn_set_status $ac_retval
 
1591
 
 
1592
} # ac_fn_c_try_run
 
1593
 
 
1594
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1595
# -------------------------------------------------------
 
1596
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1597
# the include files in INCLUDES and setting the cache variable VAR
 
1598
# accordingly.
 
1599
ac_fn_c_check_header_mongrel ()
 
1600
{
 
1601
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1602
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1603
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1604
$as_echo_n "checking for $2... " >&6; }
 
1605
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1606
  $as_echo_n "(cached) " >&6
 
1607
fi
 
1608
eval ac_res=\$$3
 
1609
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1610
$as_echo "$ac_res" >&6; }
 
1611
else
 
1612
  # Is the header compilable?
 
1613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1614
$as_echo_n "checking $2 usability... " >&6; }
 
1615
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1616
/* end confdefs.h.  */
 
1617
$4
 
1618
#include <$2>
 
1619
_ACEOF
 
1620
if ac_fn_c_try_compile "$LINENO"; then :
 
1621
  ac_header_compiler=yes
 
1622
else
 
1623
  ac_header_compiler=no
 
1624
fi
 
1625
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1627
$as_echo "$ac_header_compiler" >&6; }
 
1628
 
 
1629
# Is the header present?
 
1630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1631
$as_echo_n "checking $2 presence... " >&6; }
 
1632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1633
/* end confdefs.h.  */
 
1634
#include <$2>
 
1635
_ACEOF
 
1636
if ac_fn_c_try_cpp "$LINENO"; then :
 
1637
  ac_header_preproc=yes
 
1638
else
 
1639
  ac_header_preproc=no
 
1640
fi
 
1641
rm -f conftest.err conftest.$ac_ext
 
1642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1643
$as_echo "$ac_header_preproc" >&6; }
 
1644
 
 
1645
# So?  What about this header?
 
1646
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1647
  yes:no: )
 
1648
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1649
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1650
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1651
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1652
    ;;
 
1653
  no:yes:* )
 
1654
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1655
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1656
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1657
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1658
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1659
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1660
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1661
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1662
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1663
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1664
( cat <<\_ASBOX
 
1665
## ----------------------------------------------------------------------- ##
 
1666
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte ##
 
1667
## ----------------------------------------------------------------------- ##
 
1668
_ASBOX
 
1669
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1670
    ;;
 
1671
esac
 
1672
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1673
$as_echo_n "checking for $2... " >&6; }
 
1674
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1675
  $as_echo_n "(cached) " >&6
 
1676
else
 
1677
  eval "$3=\$ac_header_compiler"
 
1678
fi
 
1679
eval ac_res=\$$3
 
1680
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1681
$as_echo "$ac_res" >&6; }
 
1682
fi
 
1683
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1684
 
 
1685
} # ac_fn_c_check_header_mongrel
 
1686
 
 
1687
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1688
# -------------------------------------------------------
 
1689
# Tests whether HEADER exists and can be compiled using the include files in
 
1690
# INCLUDES, setting the cache variable VAR accordingly.
 
1691
ac_fn_c_check_header_compile ()
 
1692
{
 
1693
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1694
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1695
$as_echo_n "checking for $2... " >&6; }
 
1696
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1697
  $as_echo_n "(cached) " >&6
 
1698
else
 
1699
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1700
/* end confdefs.h.  */
 
1701
$4
 
1702
#include <$2>
 
1703
_ACEOF
 
1704
if ac_fn_c_try_compile "$LINENO"; then :
 
1705
  eval "$3=yes"
 
1706
else
 
1707
  eval "$3=no"
 
1708
fi
 
1709
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1710
fi
 
1711
eval ac_res=\$$3
 
1712
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1713
$as_echo "$ac_res" >&6; }
 
1714
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1715
 
 
1716
} # ac_fn_c_check_header_compile
 
1717
 
 
1718
# ac_fn_c_try_link LINENO
 
1719
# -----------------------
 
1720
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1721
ac_fn_c_try_link ()
 
1722
{
 
1723
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1724
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1725
  if { { ac_try="$ac_link"
 
1726
case "(($ac_try" in
 
1727
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1728
  *) ac_try_echo=$ac_try;;
 
1729
esac
 
1730
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1731
$as_echo "$ac_try_echo"; } >&5
 
1732
  (eval "$ac_link") 2>conftest.err
 
1733
  ac_status=$?
 
1734
  if test -s conftest.err; then
 
1735
    grep -v '^ *+' conftest.err >conftest.er1
 
1736
    cat conftest.er1 >&5
 
1737
    mv -f conftest.er1 conftest.err
 
1738
  fi
 
1739
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1740
  test $ac_status = 0; } && {
 
1741
         test -z "$ac_c_werror_flag" ||
 
1742
         test ! -s conftest.err
 
1743
       } && test -s conftest$ac_exeext && {
 
1744
         test "$cross_compiling" = yes ||
 
1745
         $as_test_x conftest$ac_exeext
 
1746
       }; then :
 
1747
  ac_retval=0
 
1748
else
 
1749
  $as_echo "$as_me: failed program was:" >&5
 
1750
sed 's/^/| /' conftest.$ac_ext >&5
 
1751
 
 
1752
        ac_retval=1
 
1753
fi
 
1754
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1755
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1756
  # interfere with the next link command; also delete a directory that is
 
1757
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1758
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1759
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1760
  as_fn_set_status $ac_retval
 
1761
 
 
1762
} # ac_fn_c_try_link
 
1763
 
 
1764
# ac_fn_c_check_func LINENO FUNC VAR
 
1765
# ----------------------------------
 
1766
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1767
ac_fn_c_check_func ()
 
1768
{
 
1769
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1770
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1771
$as_echo_n "checking for $2... " >&6; }
 
1772
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1773
  $as_echo_n "(cached) " >&6
 
1774
else
 
1775
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1776
/* end confdefs.h.  */
 
1777
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1778
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1779
#define $2 innocuous_$2
 
1780
 
 
1781
/* System header to define __stub macros and hopefully few prototypes,
 
1782
    which can conflict with char $2 (); below.
 
1783
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1784
    <limits.h> exists even on freestanding compilers.  */
 
1785
 
 
1786
#ifdef __STDC__
 
1787
# include <limits.h>
 
1788
#else
 
1789
# include <assert.h>
 
1790
#endif
 
1791
 
 
1792
#undef $2
 
1793
 
 
1794
/* Override any GCC internal prototype to avoid an error.
 
1795
   Use char because int might match the return type of a GCC
 
1796
   builtin and then its argument prototype would still apply.  */
 
1797
#ifdef __cplusplus
 
1798
extern "C"
 
1799
#endif
 
1800
char $2 ();
 
1801
/* The GNU C library defines this for functions which it implements
 
1802
    to always fail with ENOSYS.  Some functions are actually named
 
1803
    something starting with __ and the normal name is an alias.  */
 
1804
#if defined __stub_$2 || defined __stub___$2
 
1805
choke me
 
1806
#endif
 
1807
 
 
1808
int
 
1809
main ()
 
1810
{
 
1811
return $2 ();
 
1812
  ;
 
1813
  return 0;
 
1814
}
 
1815
_ACEOF
 
1816
if ac_fn_c_try_link "$LINENO"; then :
 
1817
  eval "$3=yes"
 
1818
else
 
1819
  eval "$3=no"
 
1820
fi
 
1821
rm -f core conftest.err conftest.$ac_objext \
 
1822
    conftest$ac_exeext conftest.$ac_ext
 
1823
fi
 
1824
eval ac_res=\$$3
 
1825
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1826
$as_echo "$ac_res" >&6; }
 
1827
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1828
 
 
1829
} # ac_fn_c_check_func
1525
1830
cat >config.log <<_ACEOF
1526
1831
This file contains any messages produced by compilers while
1527
1832
running configure, to aid debugging if configure makes a mistake.
1528
1833
 
1529
 
It was created by alacarte $as_me 0.12.4, which was
1530
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1834
It was created by alacarte $as_me 0.13.1, which was
 
1835
generated by GNU Autoconf 2.65.  Invocation command line was
1531
1836
 
1532
1837
  $ $0 $@
1533
1838
 
1563
1868
do
1564
1869
  IFS=$as_save_IFS
1565
1870
  test -z "$as_dir" && as_dir=.
1566
 
  $as_echo "PATH: $as_dir"
1567
 
done
 
1871
    $as_echo "PATH: $as_dir"
 
1872
  done
1568
1873
IFS=$as_save_IFS
1569
1874
 
1570
1875
} >&5
1601
1906
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1602
1907
    esac
1603
1908
    case $ac_pass in
1604
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1909
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1605
1910
    2)
1606
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1911
      as_fn_append ac_configure_args1 " '$ac_arg'"
1607
1912
      if test $ac_must_keep_next = true; then
1608
1913
        ac_must_keep_next=false # Got value, back to normal.
1609
1914
      else
1619
1924
          -* ) ac_must_keep_next=true ;;
1620
1925
        esac
1621
1926
      fi
1622
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1927
      as_fn_append ac_configure_args " '$ac_arg'"
1623
1928
      ;;
1624
1929
    esac
1625
1930
  done
1626
1931
done
1627
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1628
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1932
{ ac_configure_args0=; unset ac_configure_args0;}
 
1933
{ ac_configure_args1=; unset ac_configure_args1;}
1629
1934
 
1630
1935
# When interrupted or exit'd, cleanup temporary files, and complete
1631
1936
# config.log.  We remove comments because anyway the quotes in there
1650
1955
    case $ac_val in #(
1651
1956
    *${as_nl}*)
1652
1957
      case $ac_var in #(
1653
 
      *_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
1654
1959
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1655
1960
      esac
1656
1961
      case $ac_var in #(
1657
1962
      _ | IFS | as_nl) ;; #(
1658
1963
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1659
 
      *) $as_unset $ac_var ;;
 
1964
      *) { eval $ac_var=; unset $ac_var;} ;;
1660
1965
      esac ;;
1661
1966
    esac
1662
1967
  done
1728
2033
    exit $exit_status
1729
2034
' 0
1730
2035
for ac_signal in 1 2 13 15; do
1731
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2036
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1732
2037
done
1733
2038
ac_signal=0
1734
2039
 
1735
2040
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1736
2041
rm -f -r conftest* confdefs.h
1737
2042
 
 
2043
$as_echo "/* confdefs.h */" > confdefs.h
 
2044
 
1738
2045
# Predefined preprocessor variables.
1739
2046
 
1740
2047
cat >>confdefs.h <<_ACEOF
1741
2048
#define PACKAGE_NAME "$PACKAGE_NAME"
1742
2049
_ACEOF
1743
2050
 
1744
 
 
1745
2051
cat >>confdefs.h <<_ACEOF
1746
2052
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1747
2053
_ACEOF
1748
2054
 
1749
 
 
1750
2055
cat >>confdefs.h <<_ACEOF
1751
2056
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1752
2057
_ACEOF
1753
2058
 
1754
 
 
1755
2059
cat >>confdefs.h <<_ACEOF
1756
2060
#define PACKAGE_STRING "$PACKAGE_STRING"
1757
2061
_ACEOF
1758
2062
 
1759
 
 
1760
2063
cat >>confdefs.h <<_ACEOF
1761
2064
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1762
2065
_ACEOF
1763
2066
 
 
2067
cat >>confdefs.h <<_ACEOF
 
2068
#define PACKAGE_URL "$PACKAGE_URL"
 
2069
_ACEOF
 
2070
 
1764
2071
 
1765
2072
# Let the site file select an alternate cache file if it wants to.
1766
2073
# Prefer an explicitly selected file to automatically selected ones.
1778
2085
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1779
2086
do
1780
2087
  test "x$ac_site_file" = xNONE && continue
1781
 
  if test -r "$ac_site_file"; then
1782
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2088
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2089
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1783
2090
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1784
2091
    sed 's/^/| /' "$ac_site_file" >&5
1785
2092
    . "$ac_site_file"
1787
2094
done
1788
2095
 
1789
2096
if test -r "$cache_file"; then
1790
 
  # Some versions of bash will fail to source /dev/null (special
1791
 
  # files actually), so we avoid doing that.
1792
 
  if test -f "$cache_file"; then
1793
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2097
  # Some versions of bash will fail to source /dev/null (special files
 
2098
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2099
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2100
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1794
2101
$as_echo "$as_me: loading cache $cache_file" >&6;}
1795
2102
    case $cache_file in
1796
2103
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1798
2105
    esac
1799
2106
  fi
1800
2107
else
1801
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2108
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1802
2109
$as_echo "$as_me: creating cache $cache_file" >&6;}
1803
2110
  >$cache_file
1804
2111
fi
1813
2120
  eval ac_new_val=\$ac_env_${ac_var}_value
1814
2121
  case $ac_old_set,$ac_new_set in
1815
2122
    set,)
1816
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2123
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1817
2124
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1818
2125
      ac_cache_corrupted=: ;;
1819
2126
    ,set)
1820
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2127
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1821
2128
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1822
2129
      ac_cache_corrupted=: ;;
1823
2130
    ,);;
1827
2134
        ac_old_val_w=`echo x $ac_old_val`
1828
2135
        ac_new_val_w=`echo x $ac_new_val`
1829
2136
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1830
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2137
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1831
2138
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1832
2139
          ac_cache_corrupted=:
1833
2140
        else
1834
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2141
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1835
2142
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1836
2143
          eval $ac_var=\$ac_old_val
1837
2144
        fi
1838
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2145
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1839
2146
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1840
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2147
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1841
2148
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1842
2149
      fi;;
1843
2150
  esac
1849
2156
    esac
1850
2157
    case " $ac_configure_args " in
1851
2158
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1852
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2159
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1853
2160
    esac
1854
2161
  fi
1855
2162
done
1856
2163
if $ac_cache_corrupted; then
1857
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2164
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1858
2165
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1859
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2166
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1860
2167
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1861
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1862
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1863
 
   { (exit 1); exit 1; }; }
 
2168
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1864
2169
fi
1865
 
 
1866
 
 
1867
 
 
1868
 
 
1869
 
 
1870
 
 
1871
 
 
1872
 
 
1873
 
 
1874
 
 
1875
 
 
1876
 
 
1877
 
 
1878
 
 
1879
 
 
1880
 
 
1881
 
 
1882
 
 
1883
 
 
1884
 
 
1885
 
 
1886
 
 
1887
 
 
1888
 
 
 
2170
## -------------------- ##
 
2171
## Main body of script. ##
 
2172
## -------------------- ##
1889
2173
 
1890
2174
ac_ext=c
1891
2175
ac_cpp='$CPP $CPPFLAGS'
1901
2185
 
1902
2186
ac_aux_dir=
1903
2187
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1904
 
  if test -f "$ac_dir/install-sh"; then
1905
 
    ac_aux_dir=$ac_dir
1906
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1907
 
    break
1908
 
  elif test -f "$ac_dir/install.sh"; then
1909
 
    ac_aux_dir=$ac_dir
1910
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1911
 
    break
1912
 
  elif test -f "$ac_dir/shtool"; then
1913
 
    ac_aux_dir=$ac_dir
1914
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1915
 
    break
1916
 
  fi
 
2188
  for ac_t in install-sh install.sh shtool; do
 
2189
    if test -f "$ac_dir/$ac_t"; then
 
2190
      ac_aux_dir=$ac_dir
 
2191
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2192
      break 2
 
2193
    fi
 
2194
  done
1917
2195
done
1918
2196
if test -z "$ac_aux_dir"; then
1919
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1920
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1921
 
   { (exit 1); exit 1; }; }
 
2197
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1922
2198
fi
1923
2199
 
1924
2200
# These three variables are undocumented and unsupported,
1944
2220
# OS/2's system install, which has a completely different semantic
1945
2221
# ./install, which can be erroneously created by make from ./install.sh.
1946
2222
# Reject install programs that cannot install multiple files.
1947
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1948
2224
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1949
2225
if test -z "$INSTALL"; then
1950
 
if test "${ac_cv_path_install+set}" = set; then
 
2226
if test "${ac_cv_path_install+set}" = set; then :
1951
2227
  $as_echo_n "(cached) " >&6
1952
2228
else
1953
2229
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955
2231
do
1956
2232
  IFS=$as_save_IFS
1957
2233
  test -z "$as_dir" && as_dir=.
1958
 
  # Account for people who put trailing slashes in PATH elements.
1959
 
case $as_dir/ in
1960
 
  ./ | .// | /cC/* | \
 
2234
    # Account for people who put trailing slashes in PATH elements.
 
2235
case $as_dir/ in #((
 
2236
  ./ | .// | /[cC]/* | \
1961
2237
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1962
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2238
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1963
2239
  /usr/ucb/* ) ;;
1964
2240
  *)
1965
2241
    # OSF1 and SCO ODT 3.0 have their own names for install.
1996
2272
    ;;
1997
2273
esac
1998
2274
 
1999
 
done
 
2275
  done
2000
2276
IFS=$as_save_IFS
2001
2277
 
2002
2278
rm -rf conftest.one conftest.two conftest.dir
2012
2288
    INSTALL=$ac_install_sh
2013
2289
  fi
2014
2290
fi
2015
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2016
2292
$as_echo "$INSTALL" >&6; }
2017
2293
 
2018
2294
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2023
2299
 
2024
2300
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2025
2301
 
2026
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2027
2303
$as_echo_n "checking whether build environment is sane... " >&6; }
2028
2304
# Just in case
2029
2305
sleep 1
2034
2310
'
2035
2311
case `pwd` in
2036
2312
  *[\\\"\#\$\&\'\`$am_lf]*)
2037
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2038
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2039
 
   { (exit 1); exit 1; }; };;
 
2313
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2040
2314
esac
2041
2315
case $srcdir in
2042
2316
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2043
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2044
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2045
 
   { (exit 1); exit 1; }; };;
 
2317
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2046
2318
esac
2047
2319
 
2048
2320
# Do `set' in a subshell so we don't clobber the current shell's
2064
2336
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2065
2337
      # broken ls alias from the environment.  This has actually
2066
2338
      # happened.  Such a system could not be considered "sane".
2067
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2068
 
alias in your environment" >&5
2069
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2070
 
alias in your environment" >&2;}
2071
 
   { (exit 1); exit 1; }; }
 
2339
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2340
alias in your environment" "$LINENO" 5
2072
2341
   fi
2073
2342
 
2074
2343
   test "$2" = conftest.file
2077
2346
   # Ok.
2078
2347
   :
2079
2348
else
2080
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2081
 
Check your system clock" >&5
2082
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2083
 
Check your system clock" >&2;}
2084
 
   { (exit 1); exit 1; }; }
 
2349
   as_fn_error "newly created file is older than distributed files!
 
2350
Check your system clock" "$LINENO" 5
2085
2351
fi
2086
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2087
2353
$as_echo "yes" >&6; }
2088
2354
test "$program_prefix" != NONE &&
2089
2355
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2111
2377
  am_missing_run="$MISSING --run "
2112
2378
else
2113
2379
  am_missing_run=
2114
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2380
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2115
2381
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2116
2382
fi
2117
2383
 
2132
2398
  if test -n "$ac_tool_prefix"; then
2133
2399
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2134
2400
set dummy ${ac_tool_prefix}strip; ac_word=$2
2135
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2136
2402
$as_echo_n "checking for $ac_word... " >&6; }
2137
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2403
if test "${ac_cv_prog_STRIP+set}" = set; then :
2138
2404
  $as_echo_n "(cached) " >&6
2139
2405
else
2140
2406
  if test -n "$STRIP"; then
2145
2411
do
2146
2412
  IFS=$as_save_IFS
2147
2413
  test -z "$as_dir" && as_dir=.
2148
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2414
    for ac_exec_ext in '' $ac_executable_extensions; do
2149
2415
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150
2416
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2151
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2417
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2152
2418
    break 2
2153
2419
  fi
2154
2420
done
2155
 
done
 
2421
  done
2156
2422
IFS=$as_save_IFS
2157
2423
 
2158
2424
fi
2159
2425
fi
2160
2426
STRIP=$ac_cv_prog_STRIP
2161
2427
if test -n "$STRIP"; then
2162
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2428
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2163
2429
$as_echo "$STRIP" >&6; }
2164
2430
else
2165
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2431
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2166
2432
$as_echo "no" >&6; }
2167
2433
fi
2168
2434
 
2172
2438
  ac_ct_STRIP=$STRIP
2173
2439
  # Extract the first word of "strip", so it can be a program name with args.
2174
2440
set dummy strip; ac_word=$2
2175
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2176
2442
$as_echo_n "checking for $ac_word... " >&6; }
2177
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2443
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2178
2444
  $as_echo_n "(cached) " >&6
2179
2445
else
2180
2446
  if test -n "$ac_ct_STRIP"; then
2185
2451
do
2186
2452
  IFS=$as_save_IFS
2187
2453
  test -z "$as_dir" && as_dir=.
2188
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2454
    for ac_exec_ext in '' $ac_executable_extensions; do
2189
2455
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2190
2456
    ac_cv_prog_ac_ct_STRIP="strip"
2191
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2457
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2192
2458
    break 2
2193
2459
  fi
2194
2460
done
2195
 
done
 
2461
  done
2196
2462
IFS=$as_save_IFS
2197
2463
 
2198
2464
fi
2199
2465
fi
2200
2466
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2201
2467
if test -n "$ac_ct_STRIP"; then
2202
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2468
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2203
2469
$as_echo "$ac_ct_STRIP" >&6; }
2204
2470
else
2205
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2471
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2206
2472
$as_echo "no" >&6; }
2207
2473
fi
2208
2474
 
2211
2477
  else
2212
2478
    case $cross_compiling:$ac_tool_warned in
2213
2479
yes:)
2214
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2480
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2215
2481
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2216
2482
ac_tool_warned=yes ;;
2217
2483
esac
2224
2490
fi
2225
2491
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2226
2492
 
2227
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2228
2494
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2229
2495
if test -z "$MKDIR_P"; then
2230
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2496
  if test "${ac_cv_path_mkdir+set}" = set; then :
2231
2497
  $as_echo_n "(cached) " >&6
2232
2498
else
2233
2499
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235
2501
do
2236
2502
  IFS=$as_save_IFS
2237
2503
  test -z "$as_dir" && as_dir=.
2238
 
  for ac_prog in mkdir gmkdir; do
 
2504
    for ac_prog in mkdir gmkdir; do
2239
2505
         for ac_exec_ext in '' $ac_executable_extensions; do
2240
2506
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2241
2507
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2247
2513
           esac
2248
2514
         done
2249
2515
       done
2250
 
done
 
2516
  done
2251
2517
IFS=$as_save_IFS
2252
2518
 
2253
2519
fi
2254
2520
 
 
2521
  test -d ./--version && rmdir ./--version
2255
2522
  if test "${ac_cv_path_mkdir+set}" = set; then
2256
2523
    MKDIR_P="$ac_cv_path_mkdir -p"
2257
2524
  else
2259
2526
    # value for MKDIR_P within a source directory, because that will
2260
2527
    # break other packages using the cache if that directory is
2261
2528
    # removed, or if the value is a relative name.
2262
 
    test -d ./--version && rmdir ./--version
2263
2529
    MKDIR_P="$ac_install_sh -d"
2264
2530
  fi
2265
2531
fi
2266
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2267
2533
$as_echo "$MKDIR_P" >&6; }
2268
2534
 
2269
2535
mkdir_p="$MKDIR_P"
2276
2542
do
2277
2543
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2278
2544
set dummy $ac_prog; ac_word=$2
2279
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2280
2546
$as_echo_n "checking for $ac_word... " >&6; }
2281
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2547
if test "${ac_cv_prog_AWK+set}" = set; then :
2282
2548
  $as_echo_n "(cached) " >&6
2283
2549
else
2284
2550
  if test -n "$AWK"; then
2289
2555
do
2290
2556
  IFS=$as_save_IFS
2291
2557
  test -z "$as_dir" && as_dir=.
2292
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2558
    for ac_exec_ext in '' $ac_executable_extensions; do
2293
2559
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2294
2560
    ac_cv_prog_AWK="$ac_prog"
2295
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2561
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2296
2562
    break 2
2297
2563
  fi
2298
2564
done
2299
 
done
 
2565
  done
2300
2566
IFS=$as_save_IFS
2301
2567
 
2302
2568
fi
2303
2569
fi
2304
2570
AWK=$ac_cv_prog_AWK
2305
2571
if test -n "$AWK"; then
2306
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2572
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2307
2573
$as_echo "$AWK" >&6; }
2308
2574
else
2309
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2575
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2310
2576
$as_echo "no" >&6; }
2311
2577
fi
2312
2578
 
2314
2580
  test -n "$AWK" && break
2315
2581
done
2316
2582
 
2317
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2318
2584
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2319
2585
set x ${MAKE-make}
2320
2586
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2321
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2587
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2322
2588
  $as_echo_n "(cached) " >&6
2323
2589
else
2324
2590
  cat >conftest.make <<\_ACEOF
2336
2602
rm -f conftest.make
2337
2603
fi
2338
2604
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2339
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2340
2606
$as_echo "yes" >&6; }
2341
2607
  SET_MAKE=
2342
2608
else
2343
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2609
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2344
2610
$as_echo "no" >&6; }
2345
2611
  SET_MAKE="MAKE=${MAKE-make}"
2346
2612
fi
2360
2626
  am__isrc=' -I$(srcdir)'
2361
2627
  # test to see if srcdir already configured
2362
2628
  if test -f $srcdir/config.status; then
2363
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2364
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2365
 
   { (exit 1); exit 1; }; }
 
2629
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2366
2630
  fi
2367
2631
fi
2368
2632
 
2378
2642
 
2379
2643
# Define the identity of the package.
2380
2644
 PACKAGE='alacarte'
2381
 
 VERSION='0.12.4'
 
2645
 VERSION='0.13.1'
2382
2646
 
2383
2647
 
2384
2648
cat >>confdefs.h <<_ACEOF
2419
2683
 
2420
2684
 
2421
2685
 
2422
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2423
2687
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2424
2688
    # Check whether --enable-maintainer-mode was given.
2425
 
if test "${enable_maintainer_mode+set}" = set; then
 
2689
if test "${enable_maintainer_mode+set}" = set; then :
2426
2690
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2427
2691
else
2428
2692
  USE_MAINTAINER_MODE=no
2429
2693
fi
2430
2694
 
2431
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2695
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2432
2696
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2433
2697
   if test $USE_MAINTAINER_MODE = yes; then
2434
2698
  MAINTAINER_MODE_TRUE=
2467
2731
.PHONY: am__doit
2468
2732
END
2469
2733
# If we don't find an include directive, just comment out the code.
2470
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2471
2735
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2472
2736
am__include="#"
2473
2737
am__quote=
2495
2759
fi
2496
2760
 
2497
2761
 
2498
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2499
2763
$as_echo "$_am_result" >&6; }
2500
2764
rm -f confinc confmf
2501
2765
 
2502
2766
# Check whether --enable-dependency-tracking was given.
2503
 
if test "${enable_dependency_tracking+set}" = set; then
 
2767
if test "${enable_dependency_tracking+set}" = set; then :
2504
2768
  enableval=$enable_dependency_tracking;
2505
2769
fi
2506
2770
 
2525
2789
if test -n "$ac_tool_prefix"; then
2526
2790
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2527
2791
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2528
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2529
2793
$as_echo_n "checking for $ac_word... " >&6; }
2530
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2794
if test "${ac_cv_prog_CC+set}" = set; then :
2531
2795
  $as_echo_n "(cached) " >&6
2532
2796
else
2533
2797
  if test -n "$CC"; then
2538
2802
do
2539
2803
  IFS=$as_save_IFS
2540
2804
  test -z "$as_dir" && as_dir=.
2541
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2805
    for ac_exec_ext in '' $ac_executable_extensions; do
2542
2806
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2543
2807
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2544
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2808
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2545
2809
    break 2
2546
2810
  fi
2547
2811
done
2548
 
done
 
2812
  done
2549
2813
IFS=$as_save_IFS
2550
2814
 
2551
2815
fi
2552
2816
fi
2553
2817
CC=$ac_cv_prog_CC
2554
2818
if test -n "$CC"; then
2555
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2819
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2556
2820
$as_echo "$CC" >&6; }
2557
2821
else
2558
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2559
2823
$as_echo "no" >&6; }
2560
2824
fi
2561
2825
 
2565
2829
  ac_ct_CC=$CC
2566
2830
  # Extract the first word of "gcc", so it can be a program name with args.
2567
2831
set dummy gcc; ac_word=$2
2568
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569
2833
$as_echo_n "checking for $ac_word... " >&6; }
2570
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2834
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2571
2835
  $as_echo_n "(cached) " >&6
2572
2836
else
2573
2837
  if test -n "$ac_ct_CC"; then
2578
2842
do
2579
2843
  IFS=$as_save_IFS
2580
2844
  test -z "$as_dir" && as_dir=.
2581
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2845
    for ac_exec_ext in '' $ac_executable_extensions; do
2582
2846
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583
2847
    ac_cv_prog_ac_ct_CC="gcc"
2584
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2848
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2585
2849
    break 2
2586
2850
  fi
2587
2851
done
2588
 
done
 
2852
  done
2589
2853
IFS=$as_save_IFS
2590
2854
 
2591
2855
fi
2592
2856
fi
2593
2857
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2594
2858
if test -n "$ac_ct_CC"; then
2595
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2859
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2596
2860
$as_echo "$ac_ct_CC" >&6; }
2597
2861
else
2598
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2862
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599
2863
$as_echo "no" >&6; }
2600
2864
fi
2601
2865
 
2604
2868
  else
2605
2869
    case $cross_compiling:$ac_tool_warned in
2606
2870
yes:)
2607
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2871
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2608
2872
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2609
2873
ac_tool_warned=yes ;;
2610
2874
esac
2618
2882
          if test -n "$ac_tool_prefix"; then
2619
2883
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2620
2884
set dummy ${ac_tool_prefix}cc; ac_word=$2
2621
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2622
2886
$as_echo_n "checking for $ac_word... " >&6; }
2623
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2887
if test "${ac_cv_prog_CC+set}" = set; then :
2624
2888
  $as_echo_n "(cached) " >&6
2625
2889
else
2626
2890
  if test -n "$CC"; then
2631
2895
do
2632
2896
  IFS=$as_save_IFS
2633
2897
  test -z "$as_dir" && as_dir=.
2634
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2898
    for ac_exec_ext in '' $ac_executable_extensions; do
2635
2899
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2636
2900
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2637
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2901
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2638
2902
    break 2
2639
2903
  fi
2640
2904
done
2641
 
done
 
2905
  done
2642
2906
IFS=$as_save_IFS
2643
2907
 
2644
2908
fi
2645
2909
fi
2646
2910
CC=$ac_cv_prog_CC
2647
2911
if test -n "$CC"; then
2648
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2912
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2649
2913
$as_echo "$CC" >&6; }
2650
2914
else
2651
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2915
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2652
2916
$as_echo "no" >&6; }
2653
2917
fi
2654
2918
 
2658
2922
if test -z "$CC"; then
2659
2923
  # Extract the first word of "cc", so it can be a program name with args.
2660
2924
set dummy cc; ac_word=$2
2661
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662
2926
$as_echo_n "checking for $ac_word... " >&6; }
2663
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2927
if test "${ac_cv_prog_CC+set}" = set; then :
2664
2928
  $as_echo_n "(cached) " >&6
2665
2929
else
2666
2930
  if test -n "$CC"; then
2672
2936
do
2673
2937
  IFS=$as_save_IFS
2674
2938
  test -z "$as_dir" && as_dir=.
2675
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2939
    for ac_exec_ext in '' $ac_executable_extensions; do
2676
2940
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2677
2941
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2678
2942
       ac_prog_rejected=yes
2679
2943
       continue
2680
2944
     fi
2681
2945
    ac_cv_prog_CC="cc"
2682
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2946
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2683
2947
    break 2
2684
2948
  fi
2685
2949
done
2686
 
done
 
2950
  done
2687
2951
IFS=$as_save_IFS
2688
2952
 
2689
2953
if test $ac_prog_rejected = yes; then
2702
2966
fi
2703
2967
CC=$ac_cv_prog_CC
2704
2968
if test -n "$CC"; then
2705
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2969
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2706
2970
$as_echo "$CC" >&6; }
2707
2971
else
2708
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2972
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2709
2973
$as_echo "no" >&6; }
2710
2974
fi
2711
2975
 
2717
2981
  do
2718
2982
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2719
2983
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2720
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721
2985
$as_echo_n "checking for $ac_word... " >&6; }
2722
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2986
if test "${ac_cv_prog_CC+set}" = set; then :
2723
2987
  $as_echo_n "(cached) " >&6
2724
2988
else
2725
2989
  if test -n "$CC"; then
2730
2994
do
2731
2995
  IFS=$as_save_IFS
2732
2996
  test -z "$as_dir" && as_dir=.
2733
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2997
    for ac_exec_ext in '' $ac_executable_extensions; do
2734
2998
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735
2999
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2736
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3000
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737
3001
    break 2
2738
3002
  fi
2739
3003
done
2740
 
done
 
3004
  done
2741
3005
IFS=$as_save_IFS
2742
3006
 
2743
3007
fi
2744
3008
fi
2745
3009
CC=$ac_cv_prog_CC
2746
3010
if test -n "$CC"; then
2747
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3011
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2748
3012
$as_echo "$CC" >&6; }
2749
3013
else
2750
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3014
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751
3015
$as_echo "no" >&6; }
2752
3016
fi
2753
3017
 
2761
3025
do
2762
3026
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2763
3027
set dummy $ac_prog; ac_word=$2
2764
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765
3029
$as_echo_n "checking for $ac_word... " >&6; }
2766
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3030
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2767
3031
  $as_echo_n "(cached) " >&6
2768
3032
else
2769
3033
  if test -n "$ac_ct_CC"; then
2774
3038
do
2775
3039
  IFS=$as_save_IFS
2776
3040
  test -z "$as_dir" && as_dir=.
2777
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3041
    for ac_exec_ext in '' $ac_executable_extensions; do
2778
3042
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779
3043
    ac_cv_prog_ac_ct_CC="$ac_prog"
2780
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3044
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2781
3045
    break 2
2782
3046
  fi
2783
3047
done
2784
 
done
 
3048
  done
2785
3049
IFS=$as_save_IFS
2786
3050
 
2787
3051
fi
2788
3052
fi
2789
3053
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2790
3054
if test -n "$ac_ct_CC"; then
2791
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3055
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2792
3056
$as_echo "$ac_ct_CC" >&6; }
2793
3057
else
2794
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3058
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795
3059
$as_echo "no" >&6; }
2796
3060
fi
2797
3061
 
2804
3068
  else
2805
3069
    case $cross_compiling:$ac_tool_warned in
2806
3070
yes:)
2807
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3071
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2808
3072
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2809
3073
ac_tool_warned=yes ;;
2810
3074
esac
2815
3079
fi
2816
3080
 
2817
3081
 
2818
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3082
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2819
3083
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2820
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2821
 
See \`config.log' for more details." >&5
2822
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2823
 
See \`config.log' for more details." >&2;}
2824
 
   { (exit 1); exit 1; }; }; }
 
3084
as_fn_error "no acceptable C compiler found in \$PATH
 
3085
See \`config.log' for more details." "$LINENO" 5; }
2825
3086
 
2826
3087
# Provide some information about the compiler.
2827
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3088
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2828
3089
set X $ac_compile
2829
3090
ac_compiler=$2
2830
 
{ (ac_try="$ac_compiler --version >&5"
2831
 
case "(($ac_try" in
2832
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833
 
  *) ac_try_echo=$ac_try;;
2834
 
esac
2835
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2836
 
$as_echo "$ac_try_echo") >&5
2837
 
  (eval "$ac_compiler --version >&5") 2>&5
2838
 
  ac_status=$?
2839
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840
 
  (exit $ac_status); }
2841
 
{ (ac_try="$ac_compiler -v >&5"
2842
 
case "(($ac_try" in
2843
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844
 
  *) ac_try_echo=$ac_try;;
2845
 
esac
2846
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2847
 
$as_echo "$ac_try_echo") >&5
2848
 
  (eval "$ac_compiler -v >&5") 2>&5
2849
 
  ac_status=$?
2850
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851
 
  (exit $ac_status); }
2852
 
{ (ac_try="$ac_compiler -V >&5"
2853
 
case "(($ac_try" in
2854
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855
 
  *) ac_try_echo=$ac_try;;
2856
 
esac
2857
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2858
 
$as_echo "$ac_try_echo") >&5
2859
 
  (eval "$ac_compiler -V >&5") 2>&5
2860
 
  ac_status=$?
2861
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862
 
  (exit $ac_status); }
 
3091
for ac_option in --version -v -V -qversion; do
 
3092
  { { ac_try="$ac_compiler $ac_option >&5"
 
3093
case "(($ac_try" in
 
3094
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3095
  *) ac_try_echo=$ac_try;;
 
3096
esac
 
3097
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3098
$as_echo "$ac_try_echo"; } >&5
 
3099
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3100
  ac_status=$?
 
3101
  if test -s conftest.err; then
 
3102
    sed '10a\
 
3103
... rest of stderr output deleted ...
 
3104
         10q' conftest.err >conftest.er1
 
3105
    cat conftest.er1 >&5
 
3106
  fi
 
3107
  rm -f conftest.er1 conftest.err
 
3108
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3109
  test $ac_status = 0; }
 
3110
done
2863
3111
 
2864
 
cat >conftest.$ac_ext <<_ACEOF
2865
 
/* confdefs.h.  */
2866
 
_ACEOF
2867
 
cat confdefs.h >>conftest.$ac_ext
2868
 
cat >>conftest.$ac_ext <<_ACEOF
 
3112
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869
3113
/* end confdefs.h.  */
2870
3114
 
2871
3115
int
2881
3125
# Try to create an executable without -o first, disregard a.out.
2882
3126
# It will help us diagnose broken compilers, and finding out an intuition
2883
3127
# of exeext.
2884
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2885
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3129
$as_echo_n "checking whether the C compiler works... " >&6; }
2886
3130
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2887
3131
 
2888
3132
# The possible output files:
2898
3142
done
2899
3143
rm -f $ac_rmfiles
2900
3144
 
2901
 
if { (ac_try="$ac_link_default"
 
3145
if { { ac_try="$ac_link_default"
2902
3146
case "(($ac_try" in
2903
3147
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2904
3148
  *) ac_try_echo=$ac_try;;
2905
3149
esac
2906
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2907
 
$as_echo "$ac_try_echo") >&5
 
3150
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3151
$as_echo "$ac_try_echo"; } >&5
2908
3152
  (eval "$ac_link_default") 2>&5
2909
3153
  ac_status=$?
2910
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911
 
  (exit $ac_status); }; then
 
3154
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3155
  test $ac_status = 0; }; then :
2912
3156
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2913
3157
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2914
3158
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2925
3169
        # certainly right.
2926
3170
        break;;
2927
3171
    *.* )
2928
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3172
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2929
3173
        then :; else
2930
3174
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2931
3175
        fi
2944
3188
else
2945
3189
  ac_file=''
2946
3190
fi
 
3191
if test -z "$ac_file"; then :
 
3192
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3193
$as_echo "no" >&6; }
 
3194
$as_echo "$as_me: failed program was:" >&5
 
3195
sed 's/^/| /' conftest.$ac_ext >&5
2947
3196
 
2948
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3197
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3198
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3199
{ as_fn_set_status 77
 
3200
as_fn_error "C compiler cannot create executables
 
3201
See \`config.log' for more details." "$LINENO" 5; }; }
 
3202
else
 
3203
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3204
$as_echo "yes" >&6; }
 
3205
fi
 
3206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3207
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2949
3209
$as_echo "$ac_file" >&6; }
2950
 
if test -z "$ac_file"; then
2951
 
  $as_echo "$as_me: failed program was:" >&5
2952
 
sed 's/^/| /' conftest.$ac_ext >&5
2953
 
 
2954
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2955
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2956
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2957
 
See \`config.log' for more details." >&5
2958
 
$as_echo "$as_me: error: C compiler cannot create executables
2959
 
See \`config.log' for more details." >&2;}
2960
 
   { (exit 77); exit 77; }; }; }
2961
 
fi
2962
 
 
2963
3210
ac_exeext=$ac_cv_exeext
2964
3211
 
2965
 
# Check that the compiler produces executables we can run.  If not, either
2966
 
# the compiler is broken, or we cross compile.
2967
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2968
 
$as_echo_n "checking whether the C compiler works... " >&6; }
2969
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2970
 
# If not cross compiling, check that we can run a simple program.
2971
 
if test "$cross_compiling" != yes; then
2972
 
  if { ac_try='./$ac_file'
2973
 
  { (case "(($ac_try" in
2974
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975
 
  *) ac_try_echo=$ac_try;;
2976
 
esac
2977
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2978
 
$as_echo "$ac_try_echo") >&5
2979
 
  (eval "$ac_try") 2>&5
2980
 
  ac_status=$?
2981
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982
 
  (exit $ac_status); }; }; then
2983
 
    cross_compiling=no
2984
 
  else
2985
 
    if test "$cross_compiling" = maybe; then
2986
 
        cross_compiling=yes
2987
 
    else
2988
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2989
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2991
 
If you meant to cross compile, use \`--host'.
2992
 
See \`config.log' for more details." >&5
2993
 
$as_echo "$as_me: error: cannot run C compiled programs.
2994
 
If you meant to cross compile, use \`--host'.
2995
 
See \`config.log' for more details." >&2;}
2996
 
   { (exit 1); exit 1; }; }; }
2997
 
    fi
2998
 
  fi
2999
 
fi
3000
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3001
 
$as_echo "yes" >&6; }
3002
 
 
3003
3212
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3004
3213
ac_clean_files=$ac_clean_files_save
3005
 
# Check that the compiler produces executables we can run.  If not, either
3006
 
# the compiler is broken, or we cross compile.
3007
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3008
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3009
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3010
 
$as_echo "$cross_compiling" >&6; }
3011
 
 
3012
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3013
3215
$as_echo_n "checking for suffix of executables... " >&6; }
3014
 
if { (ac_try="$ac_link"
 
3216
if { { ac_try="$ac_link"
3015
3217
case "(($ac_try" in
3016
3218
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3017
3219
  *) ac_try_echo=$ac_try;;
3018
3220
esac
3019
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3020
 
$as_echo "$ac_try_echo") >&5
 
3221
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3222
$as_echo "$ac_try_echo"; } >&5
3021
3223
  (eval "$ac_link") 2>&5
3022
3224
  ac_status=$?
3023
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024
 
  (exit $ac_status); }; then
 
3225
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3226
  test $ac_status = 0; }; then :
3025
3227
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3026
3228
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3027
3229
# work properly (i.e., refer to `conftest.exe'), while it won't with
3036
3238
  esac
3037
3239
done
3038
3240
else
3039
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3241
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3040
3242
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3041
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3042
 
See \`config.log' for more details." >&5
3043
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3044
 
See \`config.log' for more details." >&2;}
3045
 
   { (exit 1); exit 1; }; }; }
 
3243
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3244
See \`config.log' for more details." "$LINENO" 5; }
3046
3245
fi
3047
 
 
3048
 
rm -f conftest$ac_cv_exeext
3049
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3246
rm -f conftest conftest$ac_cv_exeext
 
3247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3050
3248
$as_echo "$ac_cv_exeext" >&6; }
3051
3249
 
3052
3250
rm -f conftest.$ac_ext
3053
3251
EXEEXT=$ac_cv_exeext
3054
3252
ac_exeext=$EXEEXT
3055
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3253
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3254
/* end confdefs.h.  */
 
3255
#include <stdio.h>
 
3256
int
 
3257
main ()
 
3258
{
 
3259
FILE *f = fopen ("conftest.out", "w");
 
3260
 return ferror (f) || fclose (f) != 0;
 
3261
 
 
3262
  ;
 
3263
  return 0;
 
3264
}
 
3265
_ACEOF
 
3266
ac_clean_files="$ac_clean_files conftest.out"
 
3267
# Check that the compiler produces executables we can run.  If not, either
 
3268
# the compiler is broken, or we cross compile.
 
3269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3270
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3271
if test "$cross_compiling" != yes; then
 
3272
  { { ac_try="$ac_link"
 
3273
case "(($ac_try" in
 
3274
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3275
  *) ac_try_echo=$ac_try;;
 
3276
esac
 
3277
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3278
$as_echo "$ac_try_echo"; } >&5
 
3279
  (eval "$ac_link") 2>&5
 
3280
  ac_status=$?
 
3281
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3282
  test $ac_status = 0; }
 
3283
  if { ac_try='./conftest$ac_cv_exeext'
 
3284
  { { case "(($ac_try" in
 
3285
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3286
  *) ac_try_echo=$ac_try;;
 
3287
esac
 
3288
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3289
$as_echo "$ac_try_echo"; } >&5
 
3290
  (eval "$ac_try") 2>&5
 
3291
  ac_status=$?
 
3292
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3293
  test $ac_status = 0; }; }; then
 
3294
    cross_compiling=no
 
3295
  else
 
3296
    if test "$cross_compiling" = maybe; then
 
3297
        cross_compiling=yes
 
3298
    else
 
3299
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3300
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3301
as_fn_error "cannot run C compiled programs.
 
3302
If you meant to cross compile, use \`--host'.
 
3303
See \`config.log' for more details." "$LINENO" 5; }
 
3304
    fi
 
3305
  fi
 
3306
fi
 
3307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3308
$as_echo "$cross_compiling" >&6; }
 
3309
 
 
3310
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3311
ac_clean_files=$ac_clean_files_save
 
3312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3056
3313
$as_echo_n "checking for suffix of object files... " >&6; }
3057
 
if test "${ac_cv_objext+set}" = set; then
 
3314
if test "${ac_cv_objext+set}" = set; then :
3058
3315
  $as_echo_n "(cached) " >&6
3059
3316
else
3060
 
  cat >conftest.$ac_ext <<_ACEOF
3061
 
/* confdefs.h.  */
3062
 
_ACEOF
3063
 
cat confdefs.h >>conftest.$ac_ext
3064
 
cat >>conftest.$ac_ext <<_ACEOF
 
3317
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065
3318
/* end confdefs.h.  */
3066
3319
 
3067
3320
int
3073
3326
}
3074
3327
_ACEOF
3075
3328
rm -f conftest.o conftest.obj
3076
 
if { (ac_try="$ac_compile"
 
3329
if { { ac_try="$ac_compile"
3077
3330
case "(($ac_try" in
3078
3331
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079
3332
  *) ac_try_echo=$ac_try;;
3080
3333
esac
3081
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3082
 
$as_echo "$ac_try_echo") >&5
 
3334
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3335
$as_echo "$ac_try_echo"; } >&5
3083
3336
  (eval "$ac_compile") 2>&5
3084
3337
  ac_status=$?
3085
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086
 
  (exit $ac_status); }; then
 
3338
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3339
  test $ac_status = 0; }; then :
3087
3340
  for ac_file in conftest.o conftest.obj conftest.*; do
3088
3341
  test -f "$ac_file" || continue;
3089
3342
  case $ac_file in
3096
3349
  $as_echo "$as_me: failed program was:" >&5
3097
3350
sed 's/^/| /' conftest.$ac_ext >&5
3098
3351
 
3099
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3352
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100
3353
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3101
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3102
 
See \`config.log' for more details." >&5
3103
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3104
 
See \`config.log' for more details." >&2;}
3105
 
   { (exit 1); exit 1; }; }; }
 
3354
as_fn_error "cannot compute suffix of object files: cannot compile
 
3355
See \`config.log' for more details." "$LINENO" 5; }
3106
3356
fi
3107
 
 
3108
3357
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3109
3358
fi
3110
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3111
3360
$as_echo "$ac_cv_objext" >&6; }
3112
3361
OBJEXT=$ac_cv_objext
3113
3362
ac_objext=$OBJEXT
3114
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3115
3364
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3116
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3365
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3117
3366
  $as_echo_n "(cached) " >&6
3118
3367
else
3119
 
  cat >conftest.$ac_ext <<_ACEOF
3120
 
/* confdefs.h.  */
3121
 
_ACEOF
3122
 
cat confdefs.h >>conftest.$ac_ext
3123
 
cat >>conftest.$ac_ext <<_ACEOF
 
3368
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124
3369
/* end confdefs.h.  */
3125
3370
 
3126
3371
int
3134
3379
  return 0;
3135
3380
}
3136
3381
_ACEOF
3137
 
rm -f conftest.$ac_objext
3138
 
if { (ac_try="$ac_compile"
3139
 
case "(($ac_try" in
3140
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141
 
  *) ac_try_echo=$ac_try;;
3142
 
esac
3143
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3144
 
$as_echo "$ac_try_echo") >&5
3145
 
  (eval "$ac_compile") 2>conftest.er1
3146
 
  ac_status=$?
3147
 
  grep -v '^ *+' conftest.er1 >conftest.err
3148
 
  rm -f conftest.er1
3149
 
  cat conftest.err >&5
3150
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151
 
  (exit $ac_status); } && {
3152
 
         test -z "$ac_c_werror_flag" ||
3153
 
         test ! -s conftest.err
3154
 
       } && test -s conftest.$ac_objext; then
 
3382
if ac_fn_c_try_compile "$LINENO"; then :
3155
3383
  ac_compiler_gnu=yes
3156
3384
else
3157
 
  $as_echo "$as_me: failed program was:" >&5
3158
 
sed 's/^/| /' conftest.$ac_ext >&5
3159
 
 
3160
 
        ac_compiler_gnu=no
 
3385
  ac_compiler_gnu=no
3161
3386
fi
3162
 
 
3163
3387
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164
3388
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3165
3389
 
3166
3390
fi
3167
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3168
3392
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3169
3393
if test $ac_compiler_gnu = yes; then
3170
3394
  GCC=yes
3173
3397
fi
3174
3398
ac_test_CFLAGS=${CFLAGS+set}
3175
3399
ac_save_CFLAGS=$CFLAGS
3176
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3177
3401
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3178
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3402
if test "${ac_cv_prog_cc_g+set}" = set; then :
3179
3403
  $as_echo_n "(cached) " >&6
3180
3404
else
3181
3405
  ac_save_c_werror_flag=$ac_c_werror_flag
3182
3406
   ac_c_werror_flag=yes
3183
3407
   ac_cv_prog_cc_g=no
3184
3408
   CFLAGS="-g"
3185
 
   cat >conftest.$ac_ext <<_ACEOF
3186
 
/* confdefs.h.  */
3187
 
_ACEOF
3188
 
cat confdefs.h >>conftest.$ac_ext
3189
 
cat >>conftest.$ac_ext <<_ACEOF
 
3409
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190
3410
/* end confdefs.h.  */
3191
3411
 
3192
3412
int
3197
3417
  return 0;
3198
3418
}
3199
3419
_ACEOF
3200
 
rm -f conftest.$ac_objext
3201
 
if { (ac_try="$ac_compile"
3202
 
case "(($ac_try" in
3203
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204
 
  *) ac_try_echo=$ac_try;;
3205
 
esac
3206
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3207
 
$as_echo "$ac_try_echo") >&5
3208
 
  (eval "$ac_compile") 2>conftest.er1
3209
 
  ac_status=$?
3210
 
  grep -v '^ *+' conftest.er1 >conftest.err
3211
 
  rm -f conftest.er1
3212
 
  cat conftest.err >&5
3213
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214
 
  (exit $ac_status); } && {
3215
 
         test -z "$ac_c_werror_flag" ||
3216
 
         test ! -s conftest.err
3217
 
       } && test -s conftest.$ac_objext; then
 
3420
if ac_fn_c_try_compile "$LINENO"; then :
3218
3421
  ac_cv_prog_cc_g=yes
3219
3422
else
3220
 
  $as_echo "$as_me: failed program was:" >&5
3221
 
sed 's/^/| /' conftest.$ac_ext >&5
3222
 
 
3223
 
        CFLAGS=""
3224
 
      cat >conftest.$ac_ext <<_ACEOF
3225
 
/* confdefs.h.  */
3226
 
_ACEOF
3227
 
cat confdefs.h >>conftest.$ac_ext
3228
 
cat >>conftest.$ac_ext <<_ACEOF
 
3423
  CFLAGS=""
 
3424
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3229
3425
/* end confdefs.h.  */
3230
3426
 
3231
3427
int
3236
3432
  return 0;
3237
3433
}
3238
3434
_ACEOF
3239
 
rm -f conftest.$ac_objext
3240
 
if { (ac_try="$ac_compile"
3241
 
case "(($ac_try" in
3242
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3243
 
  *) ac_try_echo=$ac_try;;
3244
 
esac
3245
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3246
 
$as_echo "$ac_try_echo") >&5
3247
 
  (eval "$ac_compile") 2>conftest.er1
3248
 
  ac_status=$?
3249
 
  grep -v '^ *+' conftest.er1 >conftest.err
3250
 
  rm -f conftest.er1
3251
 
  cat conftest.err >&5
3252
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253
 
  (exit $ac_status); } && {
3254
 
         test -z "$ac_c_werror_flag" ||
3255
 
         test ! -s conftest.err
3256
 
       } && test -s conftest.$ac_objext; then
3257
 
  :
 
3435
if ac_fn_c_try_compile "$LINENO"; then :
 
3436
 
3258
3437
else
3259
 
  $as_echo "$as_me: failed program was:" >&5
3260
 
sed 's/^/| /' conftest.$ac_ext >&5
3261
 
 
3262
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3438
  ac_c_werror_flag=$ac_save_c_werror_flag
3263
3439
         CFLAGS="-g"
3264
 
         cat >conftest.$ac_ext <<_ACEOF
3265
 
/* confdefs.h.  */
3266
 
_ACEOF
3267
 
cat confdefs.h >>conftest.$ac_ext
3268
 
cat >>conftest.$ac_ext <<_ACEOF
 
3440
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269
3441
/* end confdefs.h.  */
3270
3442
 
3271
3443
int
3276
3448
  return 0;
3277
3449
}
3278
3450
_ACEOF
3279
 
rm -f conftest.$ac_objext
3280
 
if { (ac_try="$ac_compile"
3281
 
case "(($ac_try" in
3282
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283
 
  *) ac_try_echo=$ac_try;;
3284
 
esac
3285
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3286
 
$as_echo "$ac_try_echo") >&5
3287
 
  (eval "$ac_compile") 2>conftest.er1
3288
 
  ac_status=$?
3289
 
  grep -v '^ *+' conftest.er1 >conftest.err
3290
 
  rm -f conftest.er1
3291
 
  cat conftest.err >&5
3292
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293
 
  (exit $ac_status); } && {
3294
 
         test -z "$ac_c_werror_flag" ||
3295
 
         test ! -s conftest.err
3296
 
       } && test -s conftest.$ac_objext; then
 
3451
if ac_fn_c_try_compile "$LINENO"; then :
3297
3452
  ac_cv_prog_cc_g=yes
3298
 
else
3299
 
  $as_echo "$as_me: failed program was:" >&5
3300
 
sed 's/^/| /' conftest.$ac_ext >&5
3301
 
 
3302
 
 
3303
 
fi
3304
 
 
3305
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306
 
fi
3307
 
 
3308
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309
 
fi
3310
 
 
 
3453
fi
 
3454
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3455
fi
 
3456
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3457
fi
3311
3458
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312
3459
   ac_c_werror_flag=$ac_save_c_werror_flag
3313
3460
fi
3314
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3315
3462
$as_echo "$ac_cv_prog_cc_g" >&6; }
3316
3463
if test "$ac_test_CFLAGS" = set; then
3317
3464
  CFLAGS=$ac_save_CFLAGS
3328
3475
    CFLAGS=
3329
3476
  fi
3330
3477
fi
3331
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3332
3479
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3333
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3480
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3334
3481
  $as_echo_n "(cached) " >&6
3335
3482
else
3336
3483
  ac_cv_prog_cc_c89=no
3337
3484
ac_save_CC=$CC
3338
 
cat >conftest.$ac_ext <<_ACEOF
3339
 
/* confdefs.h.  */
3340
 
_ACEOF
3341
 
cat confdefs.h >>conftest.$ac_ext
3342
 
cat >>conftest.$ac_ext <<_ACEOF
 
3485
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343
3486
/* end confdefs.h.  */
3344
3487
#include <stdarg.h>
3345
3488
#include <stdio.h>
3396
3539
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3397
3540
do
3398
3541
  CC="$ac_save_CC $ac_arg"
3399
 
  rm -f conftest.$ac_objext
3400
 
if { (ac_try="$ac_compile"
3401
 
case "(($ac_try" in
3402
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403
 
  *) ac_try_echo=$ac_try;;
3404
 
esac
3405
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3406
 
$as_echo "$ac_try_echo") >&5
3407
 
  (eval "$ac_compile") 2>conftest.er1
3408
 
  ac_status=$?
3409
 
  grep -v '^ *+' conftest.er1 >conftest.err
3410
 
  rm -f conftest.er1
3411
 
  cat conftest.err >&5
3412
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413
 
  (exit $ac_status); } && {
3414
 
         test -z "$ac_c_werror_flag" ||
3415
 
         test ! -s conftest.err
3416
 
       } && test -s conftest.$ac_objext; then
 
3542
  if ac_fn_c_try_compile "$LINENO"; then :
3417
3543
  ac_cv_prog_cc_c89=$ac_arg
3418
 
else
3419
 
  $as_echo "$as_me: failed program was:" >&5
3420
 
sed 's/^/| /' conftest.$ac_ext >&5
3421
 
 
3422
 
 
3423
3544
fi
3424
 
 
3425
3545
rm -f core conftest.err conftest.$ac_objext
3426
3546
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3427
3547
done
3432
3552
# AC_CACHE_VAL
3433
3553
case "x$ac_cv_prog_cc_c89" in
3434
3554
  x)
3435
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3555
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3436
3556
$as_echo "none needed" >&6; } ;;
3437
3557
  xno)
3438
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3558
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3439
3559
$as_echo "unsupported" >&6; } ;;
3440
3560
  *)
3441
3561
    CC="$CC $ac_cv_prog_cc_c89"
3442
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3562
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3443
3563
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3444
3564
esac
 
3565
if test "x$ac_cv_prog_cc_c89" != xno; then :
3445
3566
 
 
3567
fi
3446
3568
 
3447
3569
ac_ext=c
3448
3570
ac_cpp='$CPP $CPPFLAGS'
3452
3574
 
3453
3575
depcc="$CC"   am_compiler_list=
3454
3576
 
3455
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3456
3578
$as_echo_n "checking dependency style of $depcc... " >&6; }
3457
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3579
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3458
3580
  $as_echo_n "(cached) " >&6
3459
3581
else
3460
3582
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3562
3684
fi
3563
3685
 
3564
3686
fi
3565
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3566
3688
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3567
3689
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3568
3690
 
3583
3705
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584
3706
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585
3707
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3586
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3587
3709
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3588
3710
# On Suns, sometimes $CPP names a directory.
3589
3711
if test -n "$CPP" && test -d "$CPP"; then
3590
3712
  CPP=
3591
3713
fi
3592
3714
if test -z "$CPP"; then
3593
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3715
  if test "${ac_cv_prog_CPP+set}" = set; then :
3594
3716
  $as_echo_n "(cached) " >&6
3595
3717
else
3596
3718
      # Double quotes because CPP needs to be expanded
3605
3727
  # <limits.h> exists even on freestanding compilers.
3606
3728
  # On the NeXT, cc -E runs the code through the compiler's parser,
3607
3729
  # not just through cpp. "Syntax error" is here to catch this case.
3608
 
  cat >conftest.$ac_ext <<_ACEOF
3609
 
/* confdefs.h.  */
3610
 
_ACEOF
3611
 
cat confdefs.h >>conftest.$ac_ext
3612
 
cat >>conftest.$ac_ext <<_ACEOF
 
3730
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613
3731
/* end confdefs.h.  */
3614
3732
#ifdef __STDC__
3615
3733
# include <limits.h>
3618
3736
#endif
3619
3737
                     Syntax error
3620
3738
_ACEOF
3621
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3622
 
case "(($ac_try" in
3623
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624
 
  *) ac_try_echo=$ac_try;;
3625
 
esac
3626
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3627
 
$as_echo "$ac_try_echo") >&5
3628
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3629
 
  ac_status=$?
3630
 
  grep -v '^ *+' conftest.er1 >conftest.err
3631
 
  rm -f conftest.er1
3632
 
  cat conftest.err >&5
3633
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634
 
  (exit $ac_status); } >/dev/null && {
3635
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3636
 
         test ! -s conftest.err
3637
 
       }; then
3638
 
  :
 
3739
if ac_fn_c_try_cpp "$LINENO"; then :
 
3740
 
3639
3741
else
3640
 
  $as_echo "$as_me: failed program was:" >&5
3641
 
sed 's/^/| /' conftest.$ac_ext >&5
3642
 
 
3643
3742
  # Broken: fails on valid input.
3644
3743
continue
3645
3744
fi
3646
 
 
3647
3745
rm -f conftest.err conftest.$ac_ext
3648
3746
 
3649
3747
  # OK, works on sane cases.  Now check whether nonexistent headers
3650
3748
  # can be detected and how.
3651
 
  cat >conftest.$ac_ext <<_ACEOF
3652
 
/* confdefs.h.  */
3653
 
_ACEOF
3654
 
cat confdefs.h >>conftest.$ac_ext
3655
 
cat >>conftest.$ac_ext <<_ACEOF
 
3749
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656
3750
/* end confdefs.h.  */
3657
3751
#include <ac_nonexistent.h>
3658
3752
_ACEOF
3659
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3660
 
case "(($ac_try" in
3661
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3662
 
  *) ac_try_echo=$ac_try;;
3663
 
esac
3664
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3665
 
$as_echo "$ac_try_echo") >&5
3666
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3667
 
  ac_status=$?
3668
 
  grep -v '^ *+' conftest.er1 >conftest.err
3669
 
  rm -f conftest.er1
3670
 
  cat conftest.err >&5
3671
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672
 
  (exit $ac_status); } >/dev/null && {
3673
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3674
 
         test ! -s conftest.err
3675
 
       }; then
 
3753
if ac_fn_c_try_cpp "$LINENO"; then :
3676
3754
  # Broken: success on invalid input.
3677
3755
continue
3678
3756
else
3679
 
  $as_echo "$as_me: failed program was:" >&5
3680
 
sed 's/^/| /' conftest.$ac_ext >&5
3681
 
 
3682
3757
  # Passes both tests.
3683
3758
ac_preproc_ok=:
3684
3759
break
3685
3760
fi
3686
 
 
3687
3761
rm -f conftest.err conftest.$ac_ext
3688
3762
 
3689
3763
done
3690
3764
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3691
3765
rm -f conftest.err conftest.$ac_ext
3692
 
if $ac_preproc_ok; then
 
3766
if $ac_preproc_ok; then :
3693
3767
  break
3694
3768
fi
3695
3769
 
3701
3775
else
3702
3776
  ac_cv_prog_CPP=$CPP
3703
3777
fi
3704
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3705
3779
$as_echo "$CPP" >&6; }
3706
3780
ac_preproc_ok=false
3707
3781
for ac_c_preproc_warn_flag in '' yes
3712
3786
  # <limits.h> exists even on freestanding compilers.
3713
3787
  # On the NeXT, cc -E runs the code through the compiler's parser,
3714
3788
  # not just through cpp. "Syntax error" is here to catch this case.
3715
 
  cat >conftest.$ac_ext <<_ACEOF
3716
 
/* confdefs.h.  */
3717
 
_ACEOF
3718
 
cat confdefs.h >>conftest.$ac_ext
3719
 
cat >>conftest.$ac_ext <<_ACEOF
 
3789
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720
3790
/* end confdefs.h.  */
3721
3791
#ifdef __STDC__
3722
3792
# include <limits.h>
3725
3795
#endif
3726
3796
                     Syntax error
3727
3797
_ACEOF
3728
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3729
 
case "(($ac_try" in
3730
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3731
 
  *) ac_try_echo=$ac_try;;
3732
 
esac
3733
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3734
 
$as_echo "$ac_try_echo") >&5
3735
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3736
 
  ac_status=$?
3737
 
  grep -v '^ *+' conftest.er1 >conftest.err
3738
 
  rm -f conftest.er1
3739
 
  cat conftest.err >&5
3740
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741
 
  (exit $ac_status); } >/dev/null && {
3742
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3743
 
         test ! -s conftest.err
3744
 
       }; then
3745
 
  :
 
3798
if ac_fn_c_try_cpp "$LINENO"; then :
 
3799
 
3746
3800
else
3747
 
  $as_echo "$as_me: failed program was:" >&5
3748
 
sed 's/^/| /' conftest.$ac_ext >&5
3749
 
 
3750
3801
  # Broken: fails on valid input.
3751
3802
continue
3752
3803
fi
3753
 
 
3754
3804
rm -f conftest.err conftest.$ac_ext
3755
3805
 
3756
3806
  # OK, works on sane cases.  Now check whether nonexistent headers
3757
3807
  # can be detected and how.
3758
 
  cat >conftest.$ac_ext <<_ACEOF
3759
 
/* confdefs.h.  */
3760
 
_ACEOF
3761
 
cat confdefs.h >>conftest.$ac_ext
3762
 
cat >>conftest.$ac_ext <<_ACEOF
 
3808
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763
3809
/* end confdefs.h.  */
3764
3810
#include <ac_nonexistent.h>
3765
3811
_ACEOF
3766
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3767
 
case "(($ac_try" in
3768
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769
 
  *) ac_try_echo=$ac_try;;
3770
 
esac
3771
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3772
 
$as_echo "$ac_try_echo") >&5
3773
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3774
 
  ac_status=$?
3775
 
  grep -v '^ *+' conftest.er1 >conftest.err
3776
 
  rm -f conftest.er1
3777
 
  cat conftest.err >&5
3778
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779
 
  (exit $ac_status); } >/dev/null && {
3780
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3781
 
         test ! -s conftest.err
3782
 
       }; then
 
3812
if ac_fn_c_try_cpp "$LINENO"; then :
3783
3813
  # Broken: success on invalid input.
3784
3814
continue
3785
3815
else
3786
 
  $as_echo "$as_me: failed program was:" >&5
3787
 
sed 's/^/| /' conftest.$ac_ext >&5
3788
 
 
3789
3816
  # Passes both tests.
3790
3817
ac_preproc_ok=:
3791
3818
break
3792
3819
fi
3793
 
 
3794
3820
rm -f conftest.err conftest.$ac_ext
3795
3821
 
3796
3822
done
3797
3823
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3798
3824
rm -f conftest.err conftest.$ac_ext
3799
 
if $ac_preproc_ok; then
3800
 
  :
 
3825
if $ac_preproc_ok; then :
 
3826
 
3801
3827
else
3802
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3828
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3803
3829
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3804
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3805
 
See \`config.log' for more details." >&5
3806
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3807
 
See \`config.log' for more details." >&2;}
3808
 
   { (exit 1); exit 1; }; }; }
 
3830
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
3831
See \`config.log' for more details." "$LINENO" 5; }
3809
3832
fi
3810
3833
 
3811
3834
ac_ext=c
3815
3838
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816
3839
 
3817
3840
 
3818
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3819
3842
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3820
 
if test "${ac_cv_path_GREP+set}" = set; then
 
3843
if test "${ac_cv_path_GREP+set}" = set; then :
3821
3844
  $as_echo_n "(cached) " >&6
3822
3845
else
3823
3846
  if test -z "$GREP"; then
3828
3851
do
3829
3852
  IFS=$as_save_IFS
3830
3853
  test -z "$as_dir" && as_dir=.
3831
 
  for ac_prog in grep ggrep; do
 
3854
    for ac_prog in grep ggrep; do
3832
3855
    for ac_exec_ext in '' $ac_executable_extensions; do
3833
3856
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3834
3857
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3848
3871
    $as_echo 'GREP' >> "conftest.nl"
3849
3872
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3850
3873
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3851
 
    ac_count=`expr $ac_count + 1`
 
3874
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3852
3875
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3853
3876
      # Best one so far, save it but keep looking for a better one
3854
3877
      ac_cv_path_GREP="$ac_path_GREP"
3863
3886
      $ac_path_GREP_found && break 3
3864
3887
    done
3865
3888
  done
3866
 
done
 
3889
  done
3867
3890
IFS=$as_save_IFS
3868
3891
  if test -z "$ac_cv_path_GREP"; then
3869
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3870
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3871
 
   { (exit 1); exit 1; }; }
 
3892
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3872
3893
  fi
3873
3894
else
3874
3895
  ac_cv_path_GREP=$GREP
3875
3896
fi
3876
3897
 
3877
3898
fi
3878
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3879
3900
$as_echo "$ac_cv_path_GREP" >&6; }
3880
3901
 GREP="$ac_cv_path_GREP"
3881
3902
 
3882
3903
 
3883
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3884
3905
$as_echo_n "checking for egrep... " >&6; }
3885
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
3906
if test "${ac_cv_path_EGREP+set}" = set; then :
3886
3907
  $as_echo_n "(cached) " >&6
3887
3908
else
3888
3909
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3896
3917
do
3897
3918
  IFS=$as_save_IFS
3898
3919
  test -z "$as_dir" && as_dir=.
3899
 
  for ac_prog in egrep; do
 
3920
    for ac_prog in egrep; do
3900
3921
    for ac_exec_ext in '' $ac_executable_extensions; do
3901
3922
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3902
3923
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3916
3937
    $as_echo 'EGREP' >> "conftest.nl"
3917
3938
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3918
3939
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3919
 
    ac_count=`expr $ac_count + 1`
 
3940
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3920
3941
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3921
3942
      # Best one so far, save it but keep looking for a better one
3922
3943
      ac_cv_path_EGREP="$ac_path_EGREP"
3931
3952
      $ac_path_EGREP_found && break 3
3932
3953
    done
3933
3954
  done
3934
 
done
 
3955
  done
3935
3956
IFS=$as_save_IFS
3936
3957
  if test -z "$ac_cv_path_EGREP"; then
3937
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3938
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3939
 
   { (exit 1); exit 1; }; }
 
3958
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3940
3959
  fi
3941
3960
else
3942
3961
  ac_cv_path_EGREP=$EGREP
3944
3963
 
3945
3964
   fi
3946
3965
fi
3947
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3948
3967
$as_echo "$ac_cv_path_EGREP" >&6; }
3949
3968
 EGREP="$ac_cv_path_EGREP"
3950
3969
 
3951
3970
 
3952
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3953
3972
$as_echo_n "checking for ANSI C header files... " >&6; }
3954
 
if test "${ac_cv_header_stdc+set}" = set; then
 
3973
if test "${ac_cv_header_stdc+set}" = set; then :
3955
3974
  $as_echo_n "(cached) " >&6
3956
3975
else
3957
 
  cat >conftest.$ac_ext <<_ACEOF
3958
 
/* confdefs.h.  */
3959
 
_ACEOF
3960
 
cat confdefs.h >>conftest.$ac_ext
3961
 
cat >>conftest.$ac_ext <<_ACEOF
 
3976
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962
3977
/* end confdefs.h.  */
3963
3978
#include <stdlib.h>
3964
3979
#include <stdarg.h>
3973
3988
  return 0;
3974
3989
}
3975
3990
_ACEOF
3976
 
rm -f conftest.$ac_objext
3977
 
if { (ac_try="$ac_compile"
3978
 
case "(($ac_try" in
3979
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3980
 
  *) ac_try_echo=$ac_try;;
3981
 
esac
3982
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3983
 
$as_echo "$ac_try_echo") >&5
3984
 
  (eval "$ac_compile") 2>conftest.er1
3985
 
  ac_status=$?
3986
 
  grep -v '^ *+' conftest.er1 >conftest.err
3987
 
  rm -f conftest.er1
3988
 
  cat conftest.err >&5
3989
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990
 
  (exit $ac_status); } && {
3991
 
         test -z "$ac_c_werror_flag" ||
3992
 
         test ! -s conftest.err
3993
 
       } && test -s conftest.$ac_objext; then
 
3991
if ac_fn_c_try_compile "$LINENO"; then :
3994
3992
  ac_cv_header_stdc=yes
3995
3993
else
3996
 
  $as_echo "$as_me: failed program was:" >&5
3997
 
sed 's/^/| /' conftest.$ac_ext >&5
3998
 
 
3999
 
        ac_cv_header_stdc=no
 
3994
  ac_cv_header_stdc=no
4000
3995
fi
4001
 
 
4002
3996
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4003
3997
 
4004
3998
if test $ac_cv_header_stdc = yes; then
4005
3999
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4006
 
  cat >conftest.$ac_ext <<_ACEOF
4007
 
/* confdefs.h.  */
4008
 
_ACEOF
4009
 
cat confdefs.h >>conftest.$ac_ext
4010
 
cat >>conftest.$ac_ext <<_ACEOF
 
4000
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011
4001
/* end confdefs.h.  */
4012
4002
#include <string.h>
4013
4003
 
4014
4004
_ACEOF
4015
4005
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4016
 
  $EGREP "memchr" >/dev/null 2>&1; then
4017
 
  :
 
4006
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4007
 
4018
4008
else
4019
4009
  ac_cv_header_stdc=no
4020
4010
fi
4024
4014
 
4025
4015
if test $ac_cv_header_stdc = yes; then
4026
4016
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4027
 
  cat >conftest.$ac_ext <<_ACEOF
4028
 
/* confdefs.h.  */
4029
 
_ACEOF
4030
 
cat confdefs.h >>conftest.$ac_ext
4031
 
cat >>conftest.$ac_ext <<_ACEOF
 
4017
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032
4018
/* end confdefs.h.  */
4033
4019
#include <stdlib.h>
4034
4020
 
4035
4021
_ACEOF
4036
4022
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4037
 
  $EGREP "free" >/dev/null 2>&1; then
4038
 
  :
 
4023
  $EGREP "free" >/dev/null 2>&1; then :
 
4024
 
4039
4025
else
4040
4026
  ac_cv_header_stdc=no
4041
4027
fi
4045
4031
 
4046
4032
if test $ac_cv_header_stdc = yes; then
4047
4033
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4048
 
  if test "$cross_compiling" = yes; then
 
4034
  if test "$cross_compiling" = yes; then :
4049
4035
  :
4050
4036
else
4051
 
  cat >conftest.$ac_ext <<_ACEOF
4052
 
/* confdefs.h.  */
4053
 
_ACEOF
4054
 
cat confdefs.h >>conftest.$ac_ext
4055
 
cat >>conftest.$ac_ext <<_ACEOF
 
4037
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056
4038
/* end confdefs.h.  */
4057
4039
#include <ctype.h>
4058
4040
#include <stdlib.h>
4079
4061
  return 0;
4080
4062
}
4081
4063
_ACEOF
4082
 
rm -f conftest$ac_exeext
4083
 
if { (ac_try="$ac_link"
4084
 
case "(($ac_try" in
4085
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086
 
  *) ac_try_echo=$ac_try;;
4087
 
esac
4088
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4089
 
$as_echo "$ac_try_echo") >&5
4090
 
  (eval "$ac_link") 2>&5
4091
 
  ac_status=$?
4092
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4094
 
  { (case "(($ac_try" in
4095
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096
 
  *) ac_try_echo=$ac_try;;
4097
 
esac
4098
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4099
 
$as_echo "$ac_try_echo") >&5
4100
 
  (eval "$ac_try") 2>&5
4101
 
  ac_status=$?
4102
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103
 
  (exit $ac_status); }; }; then
4104
 
  :
 
4064
if ac_fn_c_try_run "$LINENO"; then :
 
4065
 
4105
4066
else
4106
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4107
 
$as_echo "$as_me: failed program was:" >&5
4108
 
sed 's/^/| /' conftest.$ac_ext >&5
4109
 
 
4110
 
( exit $ac_status )
4111
 
ac_cv_header_stdc=no
4112
 
fi
4113
 
rm -rf conftest.dSYM
4114
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4115
 
fi
4116
 
 
4117
 
 
4118
 
fi
4119
 
fi
4120
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4067
  ac_cv_header_stdc=no
 
4068
fi
 
4069
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4070
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4071
fi
 
4072
 
 
4073
fi
 
4074
fi
 
4075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4121
4076
$as_echo "$ac_cv_header_stdc" >&6; }
4122
4077
if test $ac_cv_header_stdc = yes; then
4123
4078
 
4124
 
cat >>confdefs.h <<\_ACEOF
4125
 
#define STDC_HEADERS 1
4126
 
_ACEOF
 
4079
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4127
4080
 
4128
4081
fi
4129
4082
 
4130
4083
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4131
 
 
4132
 
 
4133
 
 
4134
 
 
4135
 
 
4136
 
 
4137
 
 
4138
 
 
4139
 
 
4140
4084
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4141
4085
                  inttypes.h stdint.h unistd.h
4142
 
do
4143
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4144
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4145
 
$as_echo_n "checking for $ac_header... " >&6; }
4146
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4147
 
  $as_echo_n "(cached) " >&6
4148
 
else
4149
 
  cat >conftest.$ac_ext <<_ACEOF
4150
 
/* confdefs.h.  */
4151
 
_ACEOF
4152
 
cat confdefs.h >>conftest.$ac_ext
4153
 
cat >>conftest.$ac_ext <<_ACEOF
4154
 
/* end confdefs.h.  */
4155
 
$ac_includes_default
4156
 
 
4157
 
#include <$ac_header>
4158
 
_ACEOF
4159
 
rm -f conftest.$ac_objext
4160
 
if { (ac_try="$ac_compile"
4161
 
case "(($ac_try" in
4162
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4163
 
  *) ac_try_echo=$ac_try;;
4164
 
esac
4165
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4166
 
$as_echo "$ac_try_echo") >&5
4167
 
  (eval "$ac_compile") 2>conftest.er1
4168
 
  ac_status=$?
4169
 
  grep -v '^ *+' conftest.er1 >conftest.err
4170
 
  rm -f conftest.er1
4171
 
  cat conftest.err >&5
4172
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173
 
  (exit $ac_status); } && {
4174
 
         test -z "$ac_c_werror_flag" ||
4175
 
         test ! -s conftest.err
4176
 
       } && test -s conftest.$ac_objext; then
4177
 
  eval "$as_ac_Header=yes"
4178
 
else
4179
 
  $as_echo "$as_me: failed program was:" >&5
4180
 
sed 's/^/| /' conftest.$ac_ext >&5
4181
 
 
4182
 
        eval "$as_ac_Header=no"
4183
 
fi
4184
 
 
4185
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4186
 
fi
4187
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4188
 
                 $as_echo "$as_val"'`
4189
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4190
 
$as_echo "$ac_res" >&6; }
4191
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4192
 
                 $as_echo "$as_val"'`
4193
 
   if test "x$as_val" = x""yes; then
 
4086
do :
 
4087
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4088
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4089
"
 
4090
eval as_val=\$$as_ac_Header
 
4091
   if test "x$as_val" = x""yes; then :
4194
4092
  cat >>confdefs.h <<_ACEOF
4195
4093
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4196
4094
_ACEOF
4201
4099
 
4202
4100
 
4203
4101
 
4204
 
 
4205
 
for ac_header in locale.h
4206
 
do
4207
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4208
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4209
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4210
 
$as_echo_n "checking for $ac_header... " >&6; }
4211
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4212
 
  $as_echo_n "(cached) " >&6
4213
 
fi
4214
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4215
 
                 $as_echo "$as_val"'`
4216
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4217
 
$as_echo "$ac_res" >&6; }
4218
 
else
4219
 
  # Is the header compilable?
4220
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4221
 
$as_echo_n "checking $ac_header usability... " >&6; }
4222
 
cat >conftest.$ac_ext <<_ACEOF
4223
 
/* confdefs.h.  */
4224
 
_ACEOF
4225
 
cat confdefs.h >>conftest.$ac_ext
4226
 
cat >>conftest.$ac_ext <<_ACEOF
4227
 
/* end confdefs.h.  */
4228
 
$ac_includes_default
4229
 
#include <$ac_header>
4230
 
_ACEOF
4231
 
rm -f conftest.$ac_objext
4232
 
if { (ac_try="$ac_compile"
4233
 
case "(($ac_try" in
4234
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235
 
  *) ac_try_echo=$ac_try;;
4236
 
esac
4237
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4238
 
$as_echo "$ac_try_echo") >&5
4239
 
  (eval "$ac_compile") 2>conftest.er1
4240
 
  ac_status=$?
4241
 
  grep -v '^ *+' conftest.er1 >conftest.err
4242
 
  rm -f conftest.er1
4243
 
  cat conftest.err >&5
4244
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245
 
  (exit $ac_status); } && {
4246
 
         test -z "$ac_c_werror_flag" ||
4247
 
         test ! -s conftest.err
4248
 
       } && test -s conftest.$ac_objext; then
4249
 
  ac_header_compiler=yes
4250
 
else
4251
 
  $as_echo "$as_me: failed program was:" >&5
4252
 
sed 's/^/| /' conftest.$ac_ext >&5
4253
 
 
4254
 
        ac_header_compiler=no
4255
 
fi
4256
 
 
4257
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4259
 
$as_echo "$ac_header_compiler" >&6; }
4260
 
 
4261
 
# Is the header present?
4262
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4263
 
$as_echo_n "checking $ac_header presence... " >&6; }
4264
 
cat >conftest.$ac_ext <<_ACEOF
4265
 
/* confdefs.h.  */
4266
 
_ACEOF
4267
 
cat confdefs.h >>conftest.$ac_ext
4268
 
cat >>conftest.$ac_ext <<_ACEOF
4269
 
/* end confdefs.h.  */
4270
 
#include <$ac_header>
4271
 
_ACEOF
4272
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4273
 
case "(($ac_try" in
4274
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4275
 
  *) ac_try_echo=$ac_try;;
4276
 
esac
4277
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4278
 
$as_echo "$ac_try_echo") >&5
4279
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4280
 
  ac_status=$?
4281
 
  grep -v '^ *+' conftest.er1 >conftest.err
4282
 
  rm -f conftest.er1
4283
 
  cat conftest.err >&5
4284
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285
 
  (exit $ac_status); } >/dev/null && {
4286
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4287
 
         test ! -s conftest.err
4288
 
       }; then
4289
 
  ac_header_preproc=yes
4290
 
else
4291
 
  $as_echo "$as_me: failed program was:" >&5
4292
 
sed 's/^/| /' conftest.$ac_ext >&5
4293
 
 
4294
 
  ac_header_preproc=no
4295
 
fi
4296
 
 
4297
 
rm -f conftest.err conftest.$ac_ext
4298
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4299
 
$as_echo "$ac_header_preproc" >&6; }
4300
 
 
4301
 
# So?  What about this header?
4302
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4303
 
  yes:no: )
4304
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4305
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4306
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4307
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4308
 
    ac_header_preproc=yes
4309
 
    ;;
4310
 
  no:yes:* )
4311
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4312
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4313
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4314
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4315
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4316
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4317
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4318
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4319
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4320
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4321
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4322
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4323
 
    ( cat <<\_ASBOX
4324
 
## ----------------------------------------------------------------------- ##
4325
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte ##
4326
 
## ----------------------------------------------------------------------- ##
4327
 
_ASBOX
4328
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4329
 
    ;;
4330
 
esac
4331
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4332
 
$as_echo_n "checking for $ac_header... " >&6; }
4333
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4334
 
  $as_echo_n "(cached) " >&6
4335
 
else
4336
 
  eval "$as_ac_Header=\$ac_header_preproc"
4337
 
fi
4338
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4339
 
                 $as_echo "$as_val"'`
4340
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4341
 
$as_echo "$ac_res" >&6; }
4342
 
 
4343
 
fi
4344
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4345
 
                 $as_echo "$as_val"'`
4346
 
   if test "x$as_val" = x""yes; then
 
4102
   for ac_header in locale.h
 
4103
do :
 
4104
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
4105
if test "x$ac_cv_header_locale_h" = x""yes; then :
4347
4106
  cat >>confdefs.h <<_ACEOF
4348
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4107
#define HAVE_LOCALE_H 1
4349
4108
_ACEOF
4350
4109
 
4351
4110
fi
4353
4112
done
4354
4113
 
4355
4114
    if test $ac_cv_header_locale_h = yes; then
4356
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
4115
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
4357
4116
$as_echo_n "checking for LC_MESSAGES... " >&6; }
4358
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
4117
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
4359
4118
  $as_echo_n "(cached) " >&6
4360
4119
else
4361
 
  cat >conftest.$ac_ext <<_ACEOF
4362
 
/* confdefs.h.  */
4363
 
_ACEOF
4364
 
cat confdefs.h >>conftest.$ac_ext
4365
 
cat >>conftest.$ac_ext <<_ACEOF
 
4120
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366
4121
/* end confdefs.h.  */
4367
4122
#include <locale.h>
4368
4123
int
4373
4128
  return 0;
4374
4129
}
4375
4130
_ACEOF
4376
 
rm -f conftest.$ac_objext conftest$ac_exeext
4377
 
if { (ac_try="$ac_link"
4378
 
case "(($ac_try" in
4379
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4380
 
  *) ac_try_echo=$ac_try;;
4381
 
esac
4382
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4383
 
$as_echo "$ac_try_echo") >&5
4384
 
  (eval "$ac_link") 2>conftest.er1
4385
 
  ac_status=$?
4386
 
  grep -v '^ *+' conftest.er1 >conftest.err
4387
 
  rm -f conftest.er1
4388
 
  cat conftest.err >&5
4389
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390
 
  (exit $ac_status); } && {
4391
 
         test -z "$ac_c_werror_flag" ||
4392
 
         test ! -s conftest.err
4393
 
       } && test -s conftest$ac_exeext && {
4394
 
         test "$cross_compiling" = yes ||
4395
 
         $as_test_x conftest$ac_exeext
4396
 
       }; then
 
4131
if ac_fn_c_try_link "$LINENO"; then :
4397
4132
  am_cv_val_LC_MESSAGES=yes
4398
4133
else
4399
 
  $as_echo "$as_me: failed program was:" >&5
4400
 
sed 's/^/| /' conftest.$ac_ext >&5
4401
 
 
4402
 
        am_cv_val_LC_MESSAGES=no
4403
 
fi
4404
 
 
4405
 
rm -rf conftest.dSYM
4406
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4407
 
      conftest$ac_exeext conftest.$ac_ext
4408
 
fi
4409
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
4134
  am_cv_val_LC_MESSAGES=no
 
4135
fi
 
4136
rm -f core conftest.err conftest.$ac_objext \
 
4137
    conftest$ac_exeext conftest.$ac_ext
 
4138
fi
 
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
4410
4140
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
4411
4141
    if test $am_cv_val_LC_MESSAGES = yes; then
4412
4142
 
4413
 
cat >>confdefs.h <<\_ACEOF
4414
 
#define HAVE_LC_MESSAGES 1
4415
 
_ACEOF
 
4143
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
4416
4144
 
4417
4145
    fi
4418
4146
  fi
4425
4153
    XGETTEXT=:
4426
4154
    INTLLIBS=
4427
4155
 
4428
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
4429
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
4430
 
$as_echo_n "checking for libintl.h... " >&6; }
4431
 
if test "${ac_cv_header_libintl_h+set}" = set; then
4432
 
  $as_echo_n "(cached) " >&6
4433
 
fi
4434
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4435
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
4436
 
else
4437
 
  # Is the header compilable?
4438
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
4439
 
$as_echo_n "checking libintl.h usability... " >&6; }
4440
 
cat >conftest.$ac_ext <<_ACEOF
4441
 
/* confdefs.h.  */
4442
 
_ACEOF
4443
 
cat confdefs.h >>conftest.$ac_ext
4444
 
cat >>conftest.$ac_ext <<_ACEOF
4445
 
/* end confdefs.h.  */
4446
 
$ac_includes_default
4447
 
#include <libintl.h>
4448
 
_ACEOF
4449
 
rm -f conftest.$ac_objext
4450
 
if { (ac_try="$ac_compile"
4451
 
case "(($ac_try" in
4452
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4453
 
  *) ac_try_echo=$ac_try;;
4454
 
esac
4455
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4456
 
$as_echo "$ac_try_echo") >&5
4457
 
  (eval "$ac_compile") 2>conftest.er1
4458
 
  ac_status=$?
4459
 
  grep -v '^ *+' conftest.er1 >conftest.err
4460
 
  rm -f conftest.er1
4461
 
  cat conftest.err >&5
4462
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463
 
  (exit $ac_status); } && {
4464
 
         test -z "$ac_c_werror_flag" ||
4465
 
         test ! -s conftest.err
4466
 
       } && test -s conftest.$ac_objext; then
4467
 
  ac_header_compiler=yes
4468
 
else
4469
 
  $as_echo "$as_me: failed program was:" >&5
4470
 
sed 's/^/| /' conftest.$ac_ext >&5
4471
 
 
4472
 
        ac_header_compiler=no
4473
 
fi
4474
 
 
4475
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4476
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4477
 
$as_echo "$ac_header_compiler" >&6; }
4478
 
 
4479
 
# Is the header present?
4480
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
4481
 
$as_echo_n "checking libintl.h presence... " >&6; }
4482
 
cat >conftest.$ac_ext <<_ACEOF
4483
 
/* confdefs.h.  */
4484
 
_ACEOF
4485
 
cat confdefs.h >>conftest.$ac_ext
4486
 
cat >>conftest.$ac_ext <<_ACEOF
4487
 
/* end confdefs.h.  */
4488
 
#include <libintl.h>
4489
 
_ACEOF
4490
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4491
 
case "(($ac_try" in
4492
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4493
 
  *) ac_try_echo=$ac_try;;
4494
 
esac
4495
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4496
 
$as_echo "$ac_try_echo") >&5
4497
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4498
 
  ac_status=$?
4499
 
  grep -v '^ *+' conftest.er1 >conftest.err
4500
 
  rm -f conftest.er1
4501
 
  cat conftest.err >&5
4502
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503
 
  (exit $ac_status); } >/dev/null && {
4504
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4505
 
         test ! -s conftest.err
4506
 
       }; then
4507
 
  ac_header_preproc=yes
4508
 
else
4509
 
  $as_echo "$as_me: failed program was:" >&5
4510
 
sed 's/^/| /' conftest.$ac_ext >&5
4511
 
 
4512
 
  ac_header_preproc=no
4513
 
fi
4514
 
 
4515
 
rm -f conftest.err conftest.$ac_ext
4516
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4517
 
$as_echo "$ac_header_preproc" >&6; }
4518
 
 
4519
 
# So?  What about this header?
4520
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4521
 
  yes:no: )
4522
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4523
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4524
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4525
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4526
 
    ac_header_preproc=yes
4527
 
    ;;
4528
 
  no:yes:* )
4529
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4530
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4531
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
4532
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
4533
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4534
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4535
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
4536
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4537
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4538
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4539
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4540
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4541
 
    ( cat <<\_ASBOX
4542
 
## ----------------------------------------------------------------------- ##
4543
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte ##
4544
 
## ----------------------------------------------------------------------- ##
4545
 
_ASBOX
4546
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4547
 
    ;;
4548
 
esac
4549
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
4550
 
$as_echo_n "checking for libintl.h... " >&6; }
4551
 
if test "${ac_cv_header_libintl_h+set}" = set; then
4552
 
  $as_echo_n "(cached) " >&6
4553
 
else
4554
 
  ac_cv_header_libintl_h=$ac_header_preproc
4555
 
fi
4556
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4557
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
4558
 
 
4559
 
fi
4560
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
4156
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
4157
if test "x$ac_cv_header_libintl_h" = x""yes; then :
4561
4158
  gt_cv_func_dgettext_libintl="no"
4562
4159
      libintl_extra_libs=""
4563
4160
 
4564
4161
      #
4565
4162
      # First check in libc
4566
4163
      #
4567
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
4164
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
4568
4165
$as_echo_n "checking for ngettext in libc... " >&6; }
4569
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
4166
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
4570
4167
  $as_echo_n "(cached) " >&6
4571
4168
else
4572
 
  cat >conftest.$ac_ext <<_ACEOF
4573
 
/* confdefs.h.  */
4574
 
_ACEOF
4575
 
cat confdefs.h >>conftest.$ac_ext
4576
 
cat >>conftest.$ac_ext <<_ACEOF
 
4169
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577
4170
/* end confdefs.h.  */
4578
4171
 
4579
4172
#include <libintl.h>
4586
4179
  return 0;
4587
4180
}
4588
4181
_ACEOF
4589
 
rm -f conftest.$ac_objext conftest$ac_exeext
4590
 
if { (ac_try="$ac_link"
4591
 
case "(($ac_try" in
4592
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593
 
  *) ac_try_echo=$ac_try;;
4594
 
esac
4595
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4596
 
$as_echo "$ac_try_echo") >&5
4597
 
  (eval "$ac_link") 2>conftest.er1
4598
 
  ac_status=$?
4599
 
  grep -v '^ *+' conftest.er1 >conftest.err
4600
 
  rm -f conftest.er1
4601
 
  cat conftest.err >&5
4602
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603
 
  (exit $ac_status); } && {
4604
 
         test -z "$ac_c_werror_flag" ||
4605
 
         test ! -s conftest.err
4606
 
       } && test -s conftest$ac_exeext && {
4607
 
         test "$cross_compiling" = yes ||
4608
 
         $as_test_x conftest$ac_exeext
4609
 
       }; then
 
4182
if ac_fn_c_try_link "$LINENO"; then :
4610
4183
  gt_cv_func_ngettext_libc=yes
4611
4184
else
4612
 
  $as_echo "$as_me: failed program was:" >&5
4613
 
sed 's/^/| /' conftest.$ac_ext >&5
4614
 
 
4615
 
        gt_cv_func_ngettext_libc=no
4616
 
fi
4617
 
 
4618
 
rm -rf conftest.dSYM
4619
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4620
 
      conftest$ac_exeext conftest.$ac_ext
4621
 
 
4622
 
fi
4623
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
4185
  gt_cv_func_ngettext_libc=no
 
4186
fi
 
4187
rm -f core conftest.err conftest.$ac_objext \
 
4188
    conftest$ac_exeext conftest.$ac_ext
 
4189
 
 
4190
fi
 
4191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
4624
4192
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
4625
4193
 
4626
4194
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4627
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
4195
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
4628
4196
$as_echo_n "checking for dgettext in libc... " >&6; }
4629
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
4197
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
4630
4198
  $as_echo_n "(cached) " >&6
4631
4199
else
4632
 
  cat >conftest.$ac_ext <<_ACEOF
4633
 
/* confdefs.h.  */
4634
 
_ACEOF
4635
 
cat confdefs.h >>conftest.$ac_ext
4636
 
cat >>conftest.$ac_ext <<_ACEOF
 
4200
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637
4201
/* end confdefs.h.  */
4638
4202
 
4639
4203
#include <libintl.h>
4646
4210
  return 0;
4647
4211
}
4648
4212
_ACEOF
4649
 
rm -f conftest.$ac_objext conftest$ac_exeext
4650
 
if { (ac_try="$ac_link"
4651
 
case "(($ac_try" in
4652
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653
 
  *) ac_try_echo=$ac_try;;
4654
 
esac
4655
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4656
 
$as_echo "$ac_try_echo") >&5
4657
 
  (eval "$ac_link") 2>conftest.er1
4658
 
  ac_status=$?
4659
 
  grep -v '^ *+' conftest.er1 >conftest.err
4660
 
  rm -f conftest.er1
4661
 
  cat conftest.err >&5
4662
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663
 
  (exit $ac_status); } && {
4664
 
         test -z "$ac_c_werror_flag" ||
4665
 
         test ! -s conftest.err
4666
 
       } && test -s conftest$ac_exeext && {
4667
 
         test "$cross_compiling" = yes ||
4668
 
         $as_test_x conftest$ac_exeext
4669
 
       }; then
 
4213
if ac_fn_c_try_link "$LINENO"; then :
4670
4214
  gt_cv_func_dgettext_libc=yes
4671
4215
else
4672
 
  $as_echo "$as_me: failed program was:" >&5
4673
 
sed 's/^/| /' conftest.$ac_ext >&5
4674
 
 
4675
 
        gt_cv_func_dgettext_libc=no
4676
 
fi
4677
 
 
4678
 
rm -rf conftest.dSYM
4679
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4680
 
      conftest$ac_exeext conftest.$ac_ext
4681
 
 
4682
 
fi
4683
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
4216
  gt_cv_func_dgettext_libc=no
 
4217
fi
 
4218
rm -f core conftest.err conftest.$ac_objext \
 
4219
    conftest$ac_exeext conftest.$ac_ext
 
4220
 
 
4221
fi
 
4222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
4684
4223
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
4685
4224
      fi
4686
4225
 
4687
4226
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4688
 
 
4689
 
for ac_func in bind_textdomain_codeset
4690
 
do
4691
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4692
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4693
 
$as_echo_n "checking for $ac_func... " >&6; }
4694
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4695
 
  $as_echo_n "(cached) " >&6
4696
 
else
4697
 
  cat >conftest.$ac_ext <<_ACEOF
4698
 
/* confdefs.h.  */
4699
 
_ACEOF
4700
 
cat confdefs.h >>conftest.$ac_ext
4701
 
cat >>conftest.$ac_ext <<_ACEOF
4702
 
/* end confdefs.h.  */
4703
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4704
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4705
 
#define $ac_func innocuous_$ac_func
4706
 
 
4707
 
/* System header to define __stub macros and hopefully few prototypes,
4708
 
    which can conflict with char $ac_func (); below.
4709
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4710
 
    <limits.h> exists even on freestanding compilers.  */
4711
 
 
4712
 
#ifdef __STDC__
4713
 
# include <limits.h>
4714
 
#else
4715
 
# include <assert.h>
4716
 
#endif
4717
 
 
4718
 
#undef $ac_func
4719
 
 
4720
 
/* Override any GCC internal prototype to avoid an error.
4721
 
   Use char because int might match the return type of a GCC
4722
 
   builtin and then its argument prototype would still apply.  */
4723
 
#ifdef __cplusplus
4724
 
extern "C"
4725
 
#endif
4726
 
char $ac_func ();
4727
 
/* The GNU C library defines this for functions which it implements
4728
 
    to always fail with ENOSYS.  Some functions are actually named
4729
 
    something starting with __ and the normal name is an alias.  */
4730
 
#if defined __stub_$ac_func || defined __stub___$ac_func
4731
 
choke me
4732
 
#endif
4733
 
 
4734
 
int
4735
 
main ()
4736
 
{
4737
 
return $ac_func ();
4738
 
  ;
4739
 
  return 0;
4740
 
}
4741
 
_ACEOF
4742
 
rm -f conftest.$ac_objext conftest$ac_exeext
4743
 
if { (ac_try="$ac_link"
4744
 
case "(($ac_try" in
4745
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4746
 
  *) ac_try_echo=$ac_try;;
4747
 
esac
4748
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4749
 
$as_echo "$ac_try_echo") >&5
4750
 
  (eval "$ac_link") 2>conftest.er1
4751
 
  ac_status=$?
4752
 
  grep -v '^ *+' conftest.er1 >conftest.err
4753
 
  rm -f conftest.er1
4754
 
  cat conftest.err >&5
4755
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756
 
  (exit $ac_status); } && {
4757
 
         test -z "$ac_c_werror_flag" ||
4758
 
         test ! -s conftest.err
4759
 
       } && test -s conftest$ac_exeext && {
4760
 
         test "$cross_compiling" = yes ||
4761
 
         $as_test_x conftest$ac_exeext
4762
 
       }; then
4763
 
  eval "$as_ac_var=yes"
4764
 
else
4765
 
  $as_echo "$as_me: failed program was:" >&5
4766
 
sed 's/^/| /' conftest.$ac_ext >&5
4767
 
 
4768
 
        eval "$as_ac_var=no"
4769
 
fi
4770
 
 
4771
 
rm -rf conftest.dSYM
4772
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4773
 
      conftest$ac_exeext conftest.$ac_ext
4774
 
fi
4775
 
ac_res=`eval 'as_val=${'$as_ac_var'}
4776
 
                 $as_echo "$as_val"'`
4777
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4778
 
$as_echo "$ac_res" >&6; }
4779
 
as_val=`eval 'as_val=${'$as_ac_var'}
4780
 
                 $as_echo "$as_val"'`
4781
 
   if test "x$as_val" = x""yes; then
 
4227
        for ac_func in bind_textdomain_codeset
 
4228
do :
 
4229
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4230
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4782
4231
  cat >>confdefs.h <<_ACEOF
4783
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4232
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
4784
4233
_ACEOF
4785
4234
 
4786
4235
fi
4795
4244
         || test "$gt_cv_func_ngettext_libc" != "yes" \
4796
4245
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
4797
4246
 
4798
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
4247
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
4799
4248
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
4800
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
4249
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
4801
4250
  $as_echo_n "(cached) " >&6
4802
4251
else
4803
4252
  ac_check_lib_save_LIBS=$LIBS
4804
4253
LIBS="-lintl  $LIBS"
4805
 
cat >conftest.$ac_ext <<_ACEOF
4806
 
/* confdefs.h.  */
4807
 
_ACEOF
4808
 
cat confdefs.h >>conftest.$ac_ext
4809
 
cat >>conftest.$ac_ext <<_ACEOF
 
4254
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4810
4255
/* end confdefs.h.  */
4811
4256
 
4812
4257
/* Override any GCC internal prototype to avoid an error.
4824
4269
  return 0;
4825
4270
}
4826
4271
_ACEOF
4827
 
rm -f conftest.$ac_objext conftest$ac_exeext
4828
 
if { (ac_try="$ac_link"
4829
 
case "(($ac_try" in
4830
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4831
 
  *) ac_try_echo=$ac_try;;
4832
 
esac
4833
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4834
 
$as_echo "$ac_try_echo") >&5
4835
 
  (eval "$ac_link") 2>conftest.er1
4836
 
  ac_status=$?
4837
 
  grep -v '^ *+' conftest.er1 >conftest.err
4838
 
  rm -f conftest.er1
4839
 
  cat conftest.err >&5
4840
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841
 
  (exit $ac_status); } && {
4842
 
         test -z "$ac_c_werror_flag" ||
4843
 
         test ! -s conftest.err
4844
 
       } && test -s conftest$ac_exeext && {
4845
 
         test "$cross_compiling" = yes ||
4846
 
         $as_test_x conftest$ac_exeext
4847
 
       }; then
 
4272
if ac_fn_c_try_link "$LINENO"; then :
4848
4273
  ac_cv_lib_intl_bindtextdomain=yes
4849
4274
else
4850
 
  $as_echo "$as_me: failed program was:" >&5
4851
 
sed 's/^/| /' conftest.$ac_ext >&5
4852
 
 
4853
 
        ac_cv_lib_intl_bindtextdomain=no
 
4275
  ac_cv_lib_intl_bindtextdomain=no
4854
4276
fi
4855
 
 
4856
 
rm -rf conftest.dSYM
4857
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4858
 
      conftest$ac_exeext conftest.$ac_ext
 
4277
rm -f core conftest.err conftest.$ac_objext \
 
4278
    conftest$ac_exeext conftest.$ac_ext
4859
4279
LIBS=$ac_check_lib_save_LIBS
4860
4280
fi
4861
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
4281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
4862
4282
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
4863
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
4864
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
4283
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
4284
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
4865
4285
$as_echo_n "checking for ngettext in -lintl... " >&6; }
4866
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
4286
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
4867
4287
  $as_echo_n "(cached) " >&6
4868
4288
else
4869
4289
  ac_check_lib_save_LIBS=$LIBS
4870
4290
LIBS="-lintl  $LIBS"
4871
 
cat >conftest.$ac_ext <<_ACEOF
4872
 
/* confdefs.h.  */
4873
 
_ACEOF
4874
 
cat confdefs.h >>conftest.$ac_ext
4875
 
cat >>conftest.$ac_ext <<_ACEOF
 
4291
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876
4292
/* end confdefs.h.  */
4877
4293
 
4878
4294
/* Override any GCC internal prototype to avoid an error.
4890
4306
  return 0;
4891
4307
}
4892
4308
_ACEOF
4893
 
rm -f conftest.$ac_objext conftest$ac_exeext
4894
 
if { (ac_try="$ac_link"
4895
 
case "(($ac_try" in
4896
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4897
 
  *) ac_try_echo=$ac_try;;
4898
 
esac
4899
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4900
 
$as_echo "$ac_try_echo") >&5
4901
 
  (eval "$ac_link") 2>conftest.er1
4902
 
  ac_status=$?
4903
 
  grep -v '^ *+' conftest.er1 >conftest.err
4904
 
  rm -f conftest.er1
4905
 
  cat conftest.err >&5
4906
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907
 
  (exit $ac_status); } && {
4908
 
         test -z "$ac_c_werror_flag" ||
4909
 
         test ! -s conftest.err
4910
 
       } && test -s conftest$ac_exeext && {
4911
 
         test "$cross_compiling" = yes ||
4912
 
         $as_test_x conftest$ac_exeext
4913
 
       }; then
 
4309
if ac_fn_c_try_link "$LINENO"; then :
4914
4310
  ac_cv_lib_intl_ngettext=yes
4915
4311
else
4916
 
  $as_echo "$as_me: failed program was:" >&5
4917
 
sed 's/^/| /' conftest.$ac_ext >&5
4918
 
 
4919
 
        ac_cv_lib_intl_ngettext=no
 
4312
  ac_cv_lib_intl_ngettext=no
4920
4313
fi
4921
 
 
4922
 
rm -rf conftest.dSYM
4923
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4924
 
      conftest$ac_exeext conftest.$ac_ext
 
4314
rm -f core conftest.err conftest.$ac_objext \
 
4315
    conftest$ac_exeext conftest.$ac_ext
4925
4316
LIBS=$ac_check_lib_save_LIBS
4926
4317
fi
4927
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
4318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
4928
4319
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
4929
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
4930
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
4320
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
4321
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
4931
4322
$as_echo_n "checking for dgettext in -lintl... " >&6; }
4932
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
4323
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
4933
4324
  $as_echo_n "(cached) " >&6
4934
4325
else
4935
4326
  ac_check_lib_save_LIBS=$LIBS
4936
4327
LIBS="-lintl  $LIBS"
4937
 
cat >conftest.$ac_ext <<_ACEOF
4938
 
/* confdefs.h.  */
4939
 
_ACEOF
4940
 
cat confdefs.h >>conftest.$ac_ext
4941
 
cat >>conftest.$ac_ext <<_ACEOF
 
4328
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942
4329
/* end confdefs.h.  */
4943
4330
 
4944
4331
/* Override any GCC internal prototype to avoid an error.
4956
4343
  return 0;
4957
4344
}
4958
4345
_ACEOF
4959
 
rm -f conftest.$ac_objext conftest$ac_exeext
4960
 
if { (ac_try="$ac_link"
4961
 
case "(($ac_try" in
4962
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963
 
  *) ac_try_echo=$ac_try;;
4964
 
esac
4965
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4966
 
$as_echo "$ac_try_echo") >&5
4967
 
  (eval "$ac_link") 2>conftest.er1
4968
 
  ac_status=$?
4969
 
  grep -v '^ *+' conftest.er1 >conftest.err
4970
 
  rm -f conftest.er1
4971
 
  cat conftest.err >&5
4972
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973
 
  (exit $ac_status); } && {
4974
 
         test -z "$ac_c_werror_flag" ||
4975
 
         test ! -s conftest.err
4976
 
       } && test -s conftest$ac_exeext && {
4977
 
         test "$cross_compiling" = yes ||
4978
 
         $as_test_x conftest$ac_exeext
4979
 
       }; then
 
4346
if ac_fn_c_try_link "$LINENO"; then :
4980
4347
  ac_cv_lib_intl_dgettext=yes
4981
4348
else
4982
 
  $as_echo "$as_me: failed program was:" >&5
4983
 
sed 's/^/| /' conftest.$ac_ext >&5
4984
 
 
4985
 
        ac_cv_lib_intl_dgettext=no
 
4349
  ac_cv_lib_intl_dgettext=no
4986
4350
fi
4987
 
 
4988
 
rm -rf conftest.dSYM
4989
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4990
 
      conftest$ac_exeext conftest.$ac_ext
 
4351
rm -f core conftest.err conftest.$ac_objext \
 
4352
    conftest$ac_exeext conftest.$ac_ext
4991
4353
LIBS=$ac_check_lib_save_LIBS
4992
4354
fi
4993
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
4355
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
4994
4356
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
4995
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
4357
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
4996
4358
  gt_cv_func_dgettext_libintl=yes
4997
4359
fi
4998
4360
 
5002
4364
 
5003
4365
 
5004
4366
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5005
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
4367
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5006
4368
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5007
 
          { $as_echo "$as_me:$LINENO: result: " >&5
 
4369
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5008
4370
$as_echo "" >&6; }
5009
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
4371
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5010
4372
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5011
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
4373
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5012
4374
  $as_echo_n "(cached) " >&6
5013
4375
else
5014
4376
  ac_check_lib_save_LIBS=$LIBS
5015
4377
LIBS="-lintl -liconv $LIBS"
5016
 
cat >conftest.$ac_ext <<_ACEOF
5017
 
/* confdefs.h.  */
5018
 
_ACEOF
5019
 
cat confdefs.h >>conftest.$ac_ext
5020
 
cat >>conftest.$ac_ext <<_ACEOF
 
4378
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5021
4379
/* end confdefs.h.  */
5022
4380
 
5023
4381
/* Override any GCC internal prototype to avoid an error.
5035
4393
  return 0;
5036
4394
}
5037
4395
_ACEOF
5038
 
rm -f conftest.$ac_objext conftest$ac_exeext
5039
 
if { (ac_try="$ac_link"
5040
 
case "(($ac_try" in
5041
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042
 
  *) ac_try_echo=$ac_try;;
5043
 
esac
5044
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5045
 
$as_echo "$ac_try_echo") >&5
5046
 
  (eval "$ac_link") 2>conftest.er1
5047
 
  ac_status=$?
5048
 
  grep -v '^ *+' conftest.er1 >conftest.err
5049
 
  rm -f conftest.er1
5050
 
  cat conftest.err >&5
5051
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052
 
  (exit $ac_status); } && {
5053
 
         test -z "$ac_c_werror_flag" ||
5054
 
         test ! -s conftest.err
5055
 
       } && test -s conftest$ac_exeext && {
5056
 
         test "$cross_compiling" = yes ||
5057
 
         $as_test_x conftest$ac_exeext
5058
 
       }; then
 
4396
if ac_fn_c_try_link "$LINENO"; then :
5059
4397
  ac_cv_lib_intl_ngettext=yes
5060
4398
else
5061
 
  $as_echo "$as_me: failed program was:" >&5
5062
 
sed 's/^/| /' conftest.$ac_ext >&5
5063
 
 
5064
 
        ac_cv_lib_intl_ngettext=no
 
4399
  ac_cv_lib_intl_ngettext=no
5065
4400
fi
5066
 
 
5067
 
rm -rf conftest.dSYM
5068
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5069
 
      conftest$ac_exeext conftest.$ac_ext
 
4401
rm -f core conftest.err conftest.$ac_objext \
 
4402
    conftest$ac_exeext conftest.$ac_ext
5070
4403
LIBS=$ac_check_lib_save_LIBS
5071
4404
fi
5072
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
4405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5073
4406
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5074
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
5075
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
4407
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
4408
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5076
4409
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
5077
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
4410
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
5078
4411
  $as_echo_n "(cached) " >&6
5079
4412
else
5080
4413
  ac_check_lib_save_LIBS=$LIBS
5081
4414
LIBS="-lintl -liconv $LIBS"
5082
 
cat >conftest.$ac_ext <<_ACEOF
5083
 
/* confdefs.h.  */
5084
 
_ACEOF
5085
 
cat confdefs.h >>conftest.$ac_ext
5086
 
cat >>conftest.$ac_ext <<_ACEOF
 
4415
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5087
4416
/* end confdefs.h.  */
5088
4417
 
5089
4418
/* Override any GCC internal prototype to avoid an error.
5101
4430
  return 0;
5102
4431
}
5103
4432
_ACEOF
5104
 
rm -f conftest.$ac_objext conftest$ac_exeext
5105
 
if { (ac_try="$ac_link"
5106
 
case "(($ac_try" in
5107
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5108
 
  *) ac_try_echo=$ac_try;;
5109
 
esac
5110
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5111
 
$as_echo "$ac_try_echo") >&5
5112
 
  (eval "$ac_link") 2>conftest.er1
5113
 
  ac_status=$?
5114
 
  grep -v '^ *+' conftest.er1 >conftest.err
5115
 
  rm -f conftest.er1
5116
 
  cat conftest.err >&5
5117
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118
 
  (exit $ac_status); } && {
5119
 
         test -z "$ac_c_werror_flag" ||
5120
 
         test ! -s conftest.err
5121
 
       } && test -s conftest$ac_exeext && {
5122
 
         test "$cross_compiling" = yes ||
5123
 
         $as_test_x conftest$ac_exeext
5124
 
       }; then
 
4433
if ac_fn_c_try_link "$LINENO"; then :
5125
4434
  ac_cv_lib_intl_dcgettext=yes
5126
4435
else
5127
 
  $as_echo "$as_me: failed program was:" >&5
5128
 
sed 's/^/| /' conftest.$ac_ext >&5
5129
 
 
5130
 
        ac_cv_lib_intl_dcgettext=no
 
4436
  ac_cv_lib_intl_dcgettext=no
5131
4437
fi
5132
 
 
5133
 
rm -rf conftest.dSYM
5134
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5135
 
      conftest$ac_exeext conftest.$ac_ext
 
4438
rm -f core conftest.err conftest.$ac_objext \
 
4439
    conftest$ac_exeext conftest.$ac_ext
5136
4440
LIBS=$ac_check_lib_save_LIBS
5137
4441
fi
5138
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
4442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5139
4443
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5140
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
4444
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
5141
4445
  gt_cv_func_dgettext_libintl=yes
5142
4446
                        libintl_extra_libs=-liconv
5143
4447
else
5159
4463
          glib_save_LIBS="$LIBS"
5160
4464
          LIBS="$LIBS -lintl $libintl_extra_libs"
5161
4465
          unset ac_cv_func_bind_textdomain_codeset
5162
 
 
5163
 
for ac_func in bind_textdomain_codeset
5164
 
do
5165
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5166
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5167
 
$as_echo_n "checking for $ac_func... " >&6; }
5168
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5169
 
  $as_echo_n "(cached) " >&6
5170
 
else
5171
 
  cat >conftest.$ac_ext <<_ACEOF
5172
 
/* confdefs.h.  */
5173
 
_ACEOF
5174
 
cat confdefs.h >>conftest.$ac_ext
5175
 
cat >>conftest.$ac_ext <<_ACEOF
5176
 
/* end confdefs.h.  */
5177
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5178
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5179
 
#define $ac_func innocuous_$ac_func
5180
 
 
5181
 
/* System header to define __stub macros and hopefully few prototypes,
5182
 
    which can conflict with char $ac_func (); below.
5183
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5184
 
    <limits.h> exists even on freestanding compilers.  */
5185
 
 
5186
 
#ifdef __STDC__
5187
 
# include <limits.h>
5188
 
#else
5189
 
# include <assert.h>
5190
 
#endif
5191
 
 
5192
 
#undef $ac_func
5193
 
 
5194
 
/* Override any GCC internal prototype to avoid an error.
5195
 
   Use char because int might match the return type of a GCC
5196
 
   builtin and then its argument prototype would still apply.  */
5197
 
#ifdef __cplusplus
5198
 
extern "C"
5199
 
#endif
5200
 
char $ac_func ();
5201
 
/* The GNU C library defines this for functions which it implements
5202
 
    to always fail with ENOSYS.  Some functions are actually named
5203
 
    something starting with __ and the normal name is an alias.  */
5204
 
#if defined __stub_$ac_func || defined __stub___$ac_func
5205
 
choke me
5206
 
#endif
5207
 
 
5208
 
int
5209
 
main ()
5210
 
{
5211
 
return $ac_func ();
5212
 
  ;
5213
 
  return 0;
5214
 
}
5215
 
_ACEOF
5216
 
rm -f conftest.$ac_objext conftest$ac_exeext
5217
 
if { (ac_try="$ac_link"
5218
 
case "(($ac_try" in
5219
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5220
 
  *) ac_try_echo=$ac_try;;
5221
 
esac
5222
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5223
 
$as_echo "$ac_try_echo") >&5
5224
 
  (eval "$ac_link") 2>conftest.er1
5225
 
  ac_status=$?
5226
 
  grep -v '^ *+' conftest.er1 >conftest.err
5227
 
  rm -f conftest.er1
5228
 
  cat conftest.err >&5
5229
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230
 
  (exit $ac_status); } && {
5231
 
         test -z "$ac_c_werror_flag" ||
5232
 
         test ! -s conftest.err
5233
 
       } && test -s conftest$ac_exeext && {
5234
 
         test "$cross_compiling" = yes ||
5235
 
         $as_test_x conftest$ac_exeext
5236
 
       }; then
5237
 
  eval "$as_ac_var=yes"
5238
 
else
5239
 
  $as_echo "$as_me: failed program was:" >&5
5240
 
sed 's/^/| /' conftest.$ac_ext >&5
5241
 
 
5242
 
        eval "$as_ac_var=no"
5243
 
fi
5244
 
 
5245
 
rm -rf conftest.dSYM
5246
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5247
 
      conftest$ac_exeext conftest.$ac_ext
5248
 
fi
5249
 
ac_res=`eval 'as_val=${'$as_ac_var'}
5250
 
                 $as_echo "$as_val"'`
5251
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5252
 
$as_echo "$ac_res" >&6; }
5253
 
as_val=`eval 'as_val=${'$as_ac_var'}
5254
 
                 $as_echo "$as_val"'`
5255
 
   if test "x$as_val" = x""yes; then
 
4466
          for ac_func in bind_textdomain_codeset
 
4467
do :
 
4468
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4469
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5256
4470
  cat >>confdefs.h <<_ACEOF
5257
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4471
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5258
4472
_ACEOF
5259
4473
 
5260
4474
fi
5284
4498
 
5285
4499
      if test "$gt_cv_have_gettext" = "yes"; then
5286
4500
 
5287
 
cat >>confdefs.h <<\_ACEOF
5288
 
#define HAVE_GETTEXT 1
5289
 
_ACEOF
 
4501
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5290
4502
 
5291
4503
        # Extract the first word of "msgfmt", so it can be a program name with args.
5292
4504
set dummy msgfmt; ac_word=$2
5293
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294
4506
$as_echo_n "checking for $ac_word... " >&6; }
5295
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
4507
if test "${ac_cv_path_MSGFMT+set}" = set; then :
5296
4508
  $as_echo_n "(cached) " >&6
5297
4509
else
5298
4510
  case "$MSGFMT" in
5317
4529
fi
5318
4530
MSGFMT="$ac_cv_path_MSGFMT"
5319
4531
if test "$MSGFMT" != "no"; then
5320
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
4532
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5321
4533
$as_echo "$MSGFMT" >&6; }
5322
4534
else
5323
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4535
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324
4536
$as_echo "no" >&6; }
5325
4537
fi
5326
4538
        if test "$MSGFMT" != "no"; then
5327
4539
          glib_save_LIBS="$LIBS"
5328
4540
          LIBS="$LIBS $INTLLIBS"
5329
 
 
5330
 
for ac_func in dcgettext
5331
 
do
5332
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5333
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5334
 
$as_echo_n "checking for $ac_func... " >&6; }
5335
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5336
 
  $as_echo_n "(cached) " >&6
5337
 
else
5338
 
  cat >conftest.$ac_ext <<_ACEOF
5339
 
/* confdefs.h.  */
5340
 
_ACEOF
5341
 
cat confdefs.h >>conftest.$ac_ext
5342
 
cat >>conftest.$ac_ext <<_ACEOF
5343
 
/* end confdefs.h.  */
5344
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5345
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5346
 
#define $ac_func innocuous_$ac_func
5347
 
 
5348
 
/* System header to define __stub macros and hopefully few prototypes,
5349
 
    which can conflict with char $ac_func (); below.
5350
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5351
 
    <limits.h> exists even on freestanding compilers.  */
5352
 
 
5353
 
#ifdef __STDC__
5354
 
# include <limits.h>
5355
 
#else
5356
 
# include <assert.h>
5357
 
#endif
5358
 
 
5359
 
#undef $ac_func
5360
 
 
5361
 
/* Override any GCC internal prototype to avoid an error.
5362
 
   Use char because int might match the return type of a GCC
5363
 
   builtin and then its argument prototype would still apply.  */
5364
 
#ifdef __cplusplus
5365
 
extern "C"
5366
 
#endif
5367
 
char $ac_func ();
5368
 
/* The GNU C library defines this for functions which it implements
5369
 
    to always fail with ENOSYS.  Some functions are actually named
5370
 
    something starting with __ and the normal name is an alias.  */
5371
 
#if defined __stub_$ac_func || defined __stub___$ac_func
5372
 
choke me
5373
 
#endif
5374
 
 
5375
 
int
5376
 
main ()
5377
 
{
5378
 
return $ac_func ();
5379
 
  ;
5380
 
  return 0;
5381
 
}
5382
 
_ACEOF
5383
 
rm -f conftest.$ac_objext conftest$ac_exeext
5384
 
if { (ac_try="$ac_link"
5385
 
case "(($ac_try" in
5386
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5387
 
  *) ac_try_echo=$ac_try;;
5388
 
esac
5389
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5390
 
$as_echo "$ac_try_echo") >&5
5391
 
  (eval "$ac_link") 2>conftest.er1
5392
 
  ac_status=$?
5393
 
  grep -v '^ *+' conftest.er1 >conftest.err
5394
 
  rm -f conftest.er1
5395
 
  cat conftest.err >&5
5396
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397
 
  (exit $ac_status); } && {
5398
 
         test -z "$ac_c_werror_flag" ||
5399
 
         test ! -s conftest.err
5400
 
       } && test -s conftest$ac_exeext && {
5401
 
         test "$cross_compiling" = yes ||
5402
 
         $as_test_x conftest$ac_exeext
5403
 
       }; then
5404
 
  eval "$as_ac_var=yes"
5405
 
else
5406
 
  $as_echo "$as_me: failed program was:" >&5
5407
 
sed 's/^/| /' conftest.$ac_ext >&5
5408
 
 
5409
 
        eval "$as_ac_var=no"
5410
 
fi
5411
 
 
5412
 
rm -rf conftest.dSYM
5413
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5414
 
      conftest$ac_exeext conftest.$ac_ext
5415
 
fi
5416
 
ac_res=`eval 'as_val=${'$as_ac_var'}
5417
 
                 $as_echo "$as_val"'`
5418
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5419
 
$as_echo "$ac_res" >&6; }
5420
 
as_val=`eval 'as_val=${'$as_ac_var'}
5421
 
                 $as_echo "$as_val"'`
5422
 
   if test "x$as_val" = x""yes; then
 
4541
          for ac_func in dcgettext
 
4542
do :
 
4543
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
4544
if test "x$ac_cv_func_dcgettext" = x""yes; then :
5423
4545
  cat >>confdefs.h <<_ACEOF
5424
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4546
#define HAVE_DCGETTEXT 1
5425
4547
_ACEOF
5426
4548
 
5427
4549
fi
5428
4550
done
5429
4551
 
5430
4552
          MSGFMT_OPTS=
5431
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
4553
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
5432
4554
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
5433
4555
          cat >conftest.foo <<_ACEOF
5434
4556
 
5443
4565
"Content-Transfer-Encoding: 8bit\n"
5444
4566
 
5445
4567
_ACEOF
5446
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
4568
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
5447
4569
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
5448
4570
  ac_status=$?
5449
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450
 
  (exit $ac_status); }; then
5451
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4571
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4572
  test $ac_status = 0; }; then
 
4573
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5452
4574
$as_echo "yes" >&6; }
5453
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
4575
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454
4576
$as_echo "no" >&6; }
5455
4577
echo "$as_me: failed input was:" >&5
5456
4578
sed 's/^/| /' conftest.foo >&5
5458
4580
 
5459
4581
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
5460
4582
set dummy gmsgfmt; ac_word=$2
5461
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462
4584
$as_echo_n "checking for $ac_word... " >&6; }
5463
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
4585
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5464
4586
  $as_echo_n "(cached) " >&6
5465
4587
else
5466
4588
  case $GMSGFMT in
5473
4595
do
5474
4596
  IFS=$as_save_IFS
5475
4597
  test -z "$as_dir" && as_dir=.
5476
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4598
    for ac_exec_ext in '' $ac_executable_extensions; do
5477
4599
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5478
4600
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5479
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4601
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480
4602
    break 2
5481
4603
  fi
5482
4604
done
5483
 
done
 
4605
  done
5484
4606
IFS=$as_save_IFS
5485
4607
 
5486
4608
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5489
4611
fi
5490
4612
GMSGFMT=$ac_cv_path_GMSGFMT
5491
4613
if test -n "$GMSGFMT"; then
5492
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
4614
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5493
4615
$as_echo "$GMSGFMT" >&6; }
5494
4616
else
5495
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4617
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496
4618
$as_echo "no" >&6; }
5497
4619
fi
5498
4620
 
5499
4621
 
5500
4622
          # Extract the first word of "xgettext", so it can be a program name with args.
5501
4623
set dummy xgettext; ac_word=$2
5502
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503
4625
$as_echo_n "checking for $ac_word... " >&6; }
5504
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
4626
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5505
4627
  $as_echo_n "(cached) " >&6
5506
4628
else
5507
4629
  case "$XGETTEXT" in
5526
4648
fi
5527
4649
XGETTEXT="$ac_cv_path_XGETTEXT"
5528
4650
if test "$XGETTEXT" != ":"; then
5529
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
4651
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5530
4652
$as_echo "$XGETTEXT" >&6; }
5531
4653
else
5532
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4654
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533
4655
$as_echo "no" >&6; }
5534
4656
fi
5535
4657
 
5536
 
          cat >conftest.$ac_ext <<_ACEOF
5537
 
/* confdefs.h.  */
5538
 
_ACEOF
5539
 
cat confdefs.h >>conftest.$ac_ext
5540
 
cat >>conftest.$ac_ext <<_ACEOF
 
4658
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5541
4659
/* end confdefs.h.  */
5542
4660
 
5543
4661
int
5549
4667
  return 0;
5550
4668
}
5551
4669
_ACEOF
5552
 
rm -f conftest.$ac_objext conftest$ac_exeext
5553
 
if { (ac_try="$ac_link"
5554
 
case "(($ac_try" in
5555
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5556
 
  *) ac_try_echo=$ac_try;;
5557
 
esac
5558
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5559
 
$as_echo "$ac_try_echo") >&5
5560
 
  (eval "$ac_link") 2>conftest.er1
5561
 
  ac_status=$?
5562
 
  grep -v '^ *+' conftest.er1 >conftest.err
5563
 
  rm -f conftest.er1
5564
 
  cat conftest.err >&5
5565
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566
 
  (exit $ac_status); } && {
5567
 
         test -z "$ac_c_werror_flag" ||
5568
 
         test ! -s conftest.err
5569
 
       } && test -s conftest$ac_exeext && {
5570
 
         test "$cross_compiling" = yes ||
5571
 
         $as_test_x conftest$ac_exeext
5572
 
       }; then
 
4670
if ac_fn_c_try_link "$LINENO"; then :
5573
4671
  CATOBJEXT=.gmo
5574
4672
             DATADIRNAME=share
5575
4673
else
5576
 
  $as_echo "$as_me: failed program was:" >&5
5577
 
sed 's/^/| /' conftest.$ac_ext >&5
5578
 
 
5579
 
        case $host in
 
4674
  case $host in
5580
4675
            *-*-solaris*)
5581
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
5582
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
5583
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
5584
 
  $as_echo_n "(cached) " >&6
5585
 
else
5586
 
  cat >conftest.$ac_ext <<_ACEOF
5587
 
/* confdefs.h.  */
5588
 
_ACEOF
5589
 
cat confdefs.h >>conftest.$ac_ext
5590
 
cat >>conftest.$ac_ext <<_ACEOF
5591
 
/* end confdefs.h.  */
5592
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
5593
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5594
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
5595
 
 
5596
 
/* System header to define __stub macros and hopefully few prototypes,
5597
 
    which can conflict with char bind_textdomain_codeset (); below.
5598
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5599
 
    <limits.h> exists even on freestanding compilers.  */
5600
 
 
5601
 
#ifdef __STDC__
5602
 
# include <limits.h>
5603
 
#else
5604
 
# include <assert.h>
5605
 
#endif
5606
 
 
5607
 
#undef bind_textdomain_codeset
5608
 
 
5609
 
/* Override any GCC internal prototype to avoid an error.
5610
 
   Use char because int might match the return type of a GCC
5611
 
   builtin and then its argument prototype would still apply.  */
5612
 
#ifdef __cplusplus
5613
 
extern "C"
5614
 
#endif
5615
 
char bind_textdomain_codeset ();
5616
 
/* The GNU C library defines this for functions which it implements
5617
 
    to always fail with ENOSYS.  Some functions are actually named
5618
 
    something starting with __ and the normal name is an alias.  */
5619
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
5620
 
choke me
5621
 
#endif
5622
 
 
5623
 
int
5624
 
main ()
5625
 
{
5626
 
return bind_textdomain_codeset ();
5627
 
  ;
5628
 
  return 0;
5629
 
}
5630
 
_ACEOF
5631
 
rm -f conftest.$ac_objext conftest$ac_exeext
5632
 
if { (ac_try="$ac_link"
5633
 
case "(($ac_try" in
5634
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5635
 
  *) ac_try_echo=$ac_try;;
5636
 
esac
5637
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5638
 
$as_echo "$ac_try_echo") >&5
5639
 
  (eval "$ac_link") 2>conftest.er1
5640
 
  ac_status=$?
5641
 
  grep -v '^ *+' conftest.er1 >conftest.err
5642
 
  rm -f conftest.er1
5643
 
  cat conftest.err >&5
5644
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645
 
  (exit $ac_status); } && {
5646
 
         test -z "$ac_c_werror_flag" ||
5647
 
         test ! -s conftest.err
5648
 
       } && test -s conftest$ac_exeext && {
5649
 
         test "$cross_compiling" = yes ||
5650
 
         $as_test_x conftest$ac_exeext
5651
 
       }; then
5652
 
  ac_cv_func_bind_textdomain_codeset=yes
5653
 
else
5654
 
  $as_echo "$as_me: failed program was:" >&5
5655
 
sed 's/^/| /' conftest.$ac_ext >&5
5656
 
 
5657
 
        ac_cv_func_bind_textdomain_codeset=no
5658
 
fi
5659
 
 
5660
 
rm -rf conftest.dSYM
5661
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5662
 
      conftest$ac_exeext conftest.$ac_ext
5663
 
fi
5664
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
5665
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
5666
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
4676
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4677
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5667
4678
  CATOBJEXT=.gmo
5668
4679
               DATADIRNAME=share
5669
4680
else
5678
4689
            ;;
5679
4690
            esac
5680
4691
fi
5681
 
 
5682
 
rm -rf conftest.dSYM
5683
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5684
 
      conftest$ac_exeext conftest.$ac_ext
 
4692
rm -f core conftest.err conftest.$ac_objext \
 
4693
    conftest$ac_exeext conftest.$ac_ext
5685
4694
          LIBS="$glib_save_LIBS"
5686
4695
          INSTOBJEXT=.mo
5687
4696
        else
5695
4704
 
5696
4705
    if test "$gt_cv_have_gettext" = "yes" ; then
5697
4706
 
5698
 
cat >>confdefs.h <<\_ACEOF
5699
 
#define ENABLE_NLS 1
5700
 
_ACEOF
 
4707
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
5701
4708
 
5702
4709
    fi
5703
4710
 
5705
4712
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5706
4713
        : ;
5707
4714
      else
5708
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
4715
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5709
4716
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5710
4717
        XGETTEXT=":"
5711
4718
      fi
5738
4745
     if test "x$ALL_LINGUAS" = "x"; then
5739
4746
       LINGUAS=
5740
4747
     else
5741
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
4748
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5742
4749
$as_echo_n "checking for catalogs to be installed... " >&6; }
5743
4750
       NEW_LINGUAS=
5744
4751
       for presentlang in $ALL_LINGUAS; do
5763
4770
         fi
5764
4771
       done
5765
4772
       LINGUAS=$NEW_LINGUAS
5766
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
4773
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5767
4774
$as_echo "$LINGUAS" >&6; }
5768
4775
     fi
5769
4776
 
5796
4803
        < $srcdir/po/POTFILES.in > po/POTFILES
5797
4804
 
5798
4805
 
5799
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
4806
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5800
4807
$as_echo_n "checking whether NLS is requested... " >&6; }
5801
4808
    # Check whether --enable-nls was given.
5802
 
if test "${enable_nls+set}" = set; then
 
4809
if test "${enable_nls+set}" = set; then :
5803
4810
  enableval=$enable_nls; USE_NLS=$enableval
5804
4811
else
5805
4812
  USE_NLS=yes
5806
4813
fi
5807
4814
 
5808
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
4815
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5809
4816
$as_echo "$USE_NLS" >&6; }
5810
4817
 
5811
4818
 
5813
4820
 
5814
4821
case "$am__api_version" in
5815
4822
    1.01234)
5816
 
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
5817
 
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
5818
 
   { (exit 1); exit 1; }; }
 
4823
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
5819
4824
    ;;
5820
4825
    *)
5821
4826
    ;;
5822
4827
esac
5823
4828
 
5824
4829
if test -n "0.40.0"; then
5825
 
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.40.0" >&5
 
4830
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
5826
4831
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
5827
4832
 
5828
4833
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5829
4834
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
5830
4835
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5831
4836
 
5832
 
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
4837
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
5833
4838
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
5834
4839
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5835
 
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.40.0 or later." >&5
5836
 
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.40.0 or later." >&2;}
5837
 
   { (exit 1); exit 1; }; }
 
4840
        as_fn_error "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
5838
4841
fi
5839
4842
 
5840
4843
# Extract the first word of "intltool-update", so it can be a program name with args.
5841
4844
set dummy intltool-update; ac_word=$2
5842
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843
4846
$as_echo_n "checking for $ac_word... " >&6; }
5844
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
4847
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
5845
4848
  $as_echo_n "(cached) " >&6
5846
4849
else
5847
4850
  case $INTLTOOL_UPDATE in
5854
4857
do
5855
4858
  IFS=$as_save_IFS
5856
4859
  test -z "$as_dir" && as_dir=.
5857
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4860
    for ac_exec_ext in '' $ac_executable_extensions; do
5858
4861
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5859
4862
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
5860
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4863
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861
4864
    break 2
5862
4865
  fi
5863
4866
done
5864
 
done
 
4867
  done
5865
4868
IFS=$as_save_IFS
5866
4869
 
5867
4870
  ;;
5869
4872
fi
5870
4873
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
5871
4874
if test -n "$INTLTOOL_UPDATE"; then
5872
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
4875
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
5873
4876
$as_echo "$INTLTOOL_UPDATE" >&6; }
5874
4877
else
5875
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4878
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5876
4879
$as_echo "no" >&6; }
5877
4880
fi
5878
4881
 
5879
4882
 
5880
4883
# Extract the first word of "intltool-merge", so it can be a program name with args.
5881
4884
set dummy intltool-merge; ac_word=$2
5882
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883
4886
$as_echo_n "checking for $ac_word... " >&6; }
5884
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
4887
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
5885
4888
  $as_echo_n "(cached) " >&6
5886
4889
else
5887
4890
  case $INTLTOOL_MERGE in
5894
4897
do
5895
4898
  IFS=$as_save_IFS
5896
4899
  test -z "$as_dir" && as_dir=.
5897
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4900
    for ac_exec_ext in '' $ac_executable_extensions; do
5898
4901
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5899
4902
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
5900
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4903
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5901
4904
    break 2
5902
4905
  fi
5903
4906
done
5904
 
done
 
4907
  done
5905
4908
IFS=$as_save_IFS
5906
4909
 
5907
4910
  ;;
5909
4912
fi
5910
4913
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
5911
4914
if test -n "$INTLTOOL_MERGE"; then
5912
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
4915
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
5913
4916
$as_echo "$INTLTOOL_MERGE" >&6; }
5914
4917
else
5915
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4918
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916
4919
$as_echo "no" >&6; }
5917
4920
fi
5918
4921
 
5919
4922
 
5920
4923
# Extract the first word of "intltool-extract", so it can be a program name with args.
5921
4924
set dummy intltool-extract; ac_word=$2
5922
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923
4926
$as_echo_n "checking for $ac_word... " >&6; }
5924
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
4927
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
5925
4928
  $as_echo_n "(cached) " >&6
5926
4929
else
5927
4930
  case $INTLTOOL_EXTRACT in
5934
4937
do
5935
4938
  IFS=$as_save_IFS
5936
4939
  test -z "$as_dir" && as_dir=.
5937
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4940
    for ac_exec_ext in '' $ac_executable_extensions; do
5938
4941
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5939
4942
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
5940
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4943
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5941
4944
    break 2
5942
4945
  fi
5943
4946
done
5944
 
done
 
4947
  done
5945
4948
IFS=$as_save_IFS
5946
4949
 
5947
4950
  ;;
5949
4952
fi
5950
4953
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
5951
4954
if test -n "$INTLTOOL_EXTRACT"; then
5952
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
4955
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5953
4956
$as_echo "$INTLTOOL_EXTRACT" >&6; }
5954
4957
else
5955
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4958
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956
4959
$as_echo "no" >&6; }
5957
4960
fi
5958
4961
 
5959
4962
 
5960
4963
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5961
 
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
5962
 
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
5963
 
   { (exit 1); exit 1; }; }
 
4964
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5964
4965
fi
5965
4966
 
5966
4967
  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 $< $@'
6082
5083
# Check the gettext tools to make sure they are GNU
6083
5084
# Extract the first word of "xgettext", so it can be a program name with args.
6084
5085
set dummy xgettext; ac_word=$2
6085
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086
5087
$as_echo_n "checking for $ac_word... " >&6; }
6087
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
5088
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
6088
5089
  $as_echo_n "(cached) " >&6
6089
5090
else
6090
5091
  case $XGETTEXT in
6097
5098
do
6098
5099
  IFS=$as_save_IFS
6099
5100
  test -z "$as_dir" && as_dir=.
6100
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5101
    for ac_exec_ext in '' $ac_executable_extensions; do
6101
5102
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102
5103
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
6103
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5104
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104
5105
    break 2
6105
5106
  fi
6106
5107
done
6107
 
done
 
5108
  done
6108
5109
IFS=$as_save_IFS
6109
5110
 
6110
5111
  ;;
6112
5113
fi
6113
5114
XGETTEXT=$ac_cv_path_XGETTEXT
6114
5115
if test -n "$XGETTEXT"; then
6115
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
5116
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6116
5117
$as_echo "$XGETTEXT" >&6; }
6117
5118
else
6118
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5119
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119
5120
$as_echo "no" >&6; }
6120
5121
fi
6121
5122
 
6122
5123
 
6123
5124
# Extract the first word of "msgmerge", so it can be a program name with args.
6124
5125
set dummy msgmerge; ac_word=$2
6125
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126
5127
$as_echo_n "checking for $ac_word... " >&6; }
6127
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
5128
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
6128
5129
  $as_echo_n "(cached) " >&6
6129
5130
else
6130
5131
  case $MSGMERGE in
6137
5138
do
6138
5139
  IFS=$as_save_IFS
6139
5140
  test -z "$as_dir" && as_dir=.
6140
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5141
    for ac_exec_ext in '' $ac_executable_extensions; do
6141
5142
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142
5143
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
6143
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5144
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144
5145
    break 2
6145
5146
  fi
6146
5147
done
6147
 
done
 
5148
  done
6148
5149
IFS=$as_save_IFS
6149
5150
 
6150
5151
  ;;
6152
5153
fi
6153
5154
MSGMERGE=$ac_cv_path_MSGMERGE
6154
5155
if test -n "$MSGMERGE"; then
6155
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
5156
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6156
5157
$as_echo "$MSGMERGE" >&6; }
6157
5158
else
6158
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5159
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159
5160
$as_echo "no" >&6; }
6160
5161
fi
6161
5162
 
6162
5163
 
6163
5164
# Extract the first word of "msgfmt", so it can be a program name with args.
6164
5165
set dummy msgfmt; ac_word=$2
6165
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5166
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166
5167
$as_echo_n "checking for $ac_word... " >&6; }
6167
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
5168
if test "${ac_cv_path_MSGFMT+set}" = set; then :
6168
5169
  $as_echo_n "(cached) " >&6
6169
5170
else
6170
5171
  case $MSGFMT in
6177
5178
do
6178
5179
  IFS=$as_save_IFS
6179
5180
  test -z "$as_dir" && as_dir=.
6180
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5181
    for ac_exec_ext in '' $ac_executable_extensions; do
6181
5182
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6182
5183
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
6183
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5184
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184
5185
    break 2
6185
5186
  fi
6186
5187
done
6187
 
done
 
5188
  done
6188
5189
IFS=$as_save_IFS
6189
5190
 
6190
5191
  ;;
6192
5193
fi
6193
5194
MSGFMT=$ac_cv_path_MSGFMT
6194
5195
if test -n "$MSGFMT"; then
6195
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
5196
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6196
5197
$as_echo "$MSGFMT" >&6; }
6197
5198
else
6198
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5199
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199
5200
$as_echo "no" >&6; }
6200
5201
fi
6201
5202
 
6202
5203
 
6203
5204
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6204
5205
set dummy gmsgfmt; ac_word=$2
6205
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206
5207
$as_echo_n "checking for $ac_word... " >&6; }
6207
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
5208
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
6208
5209
  $as_echo_n "(cached) " >&6
6209
5210
else
6210
5211
  case $GMSGFMT in
6217
5218
do
6218
5219
  IFS=$as_save_IFS
6219
5220
  test -z "$as_dir" && as_dir=.
6220
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5221
    for ac_exec_ext in '' $ac_executable_extensions; do
6221
5222
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6222
5223
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6223
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5224
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6224
5225
    break 2
6225
5226
  fi
6226
5227
done
6227
 
done
 
5228
  done
6228
5229
IFS=$as_save_IFS
6229
5230
 
6230
5231
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6233
5234
fi
6234
5235
GMSGFMT=$ac_cv_path_GMSGFMT
6235
5236
if test -n "$GMSGFMT"; then
6236
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
5237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6237
5238
$as_echo "$GMSGFMT" >&6; }
6238
5239
else
6239
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6240
5241
$as_echo "no" >&6; }
6241
5242
fi
6242
5243
 
6243
5244
 
6244
5245
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6245
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
6246
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
6247
 
   { (exit 1); exit 1; }; }
 
5246
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
6248
5247
fi
6249
5248
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6250
5249
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6251
5250
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6252
5251
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6253
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
6254
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
6255
 
   { (exit 1); exit 1; }; }
 
5252
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
6256
5253
fi
6257
5254
 
6258
5255
# Extract the first word of "perl", so it can be a program name with args.
6259
5256
set dummy perl; ac_word=$2
6260
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261
5258
$as_echo_n "checking for $ac_word... " >&6; }
6262
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
5259
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
6263
5260
  $as_echo_n "(cached) " >&6
6264
5261
else
6265
5262
  case $INTLTOOL_PERL in
6272
5269
do
6273
5270
  IFS=$as_save_IFS
6274
5271
  test -z "$as_dir" && as_dir=.
6275
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5272
    for ac_exec_ext in '' $ac_executable_extensions; do
6276
5273
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6277
5274
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
6278
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5275
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6279
5276
    break 2
6280
5277
  fi
6281
5278
done
6282
 
done
 
5279
  done
6283
5280
IFS=$as_save_IFS
6284
5281
 
6285
5282
  ;;
6287
5284
fi
6288
5285
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
6289
5286
if test -n "$INTLTOOL_PERL"; then
6290
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
5287
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
6291
5288
$as_echo "$INTLTOOL_PERL" >&6; }
6292
5289
else
6293
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5290
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294
5291
$as_echo "no" >&6; }
6295
5292
fi
6296
5293
 
6297
5294
 
6298
5295
if test -z "$INTLTOOL_PERL"; then
6299
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
6300
 
$as_echo "$as_me: error: perl not found" >&2;}
6301
 
   { (exit 1); exit 1; }; }
 
5296
   as_fn_error "perl not found" "$LINENO" 5
6302
5297
fi
6303
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
5298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
6304
5299
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
6305
5300
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
6306
5301
if test $? -ne 0; then
6307
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
6308
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
6309
 
   { (exit 1); exit 1; }; }
 
5302
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
6310
5303
else
6311
5304
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
6312
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
5305
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
6313
5306
$as_echo "$IT_PERL_VERSION" >&6; }
6314
5307
fi
6315
5308
if test "x" != "xno-xml"; then
6316
 
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
5309
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
6317
5310
$as_echo_n "checking for XML::Parser... " >&6; }
6318
5311
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6319
 
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
5312
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6320
5313
$as_echo "ok" >&6; }
6321
5314
   else
6322
 
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
6323
 
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
6324
 
   { (exit 1); exit 1; }; }
 
5315
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
6325
5316
   fi
6326
5317
fi
6327
5318
 
6331
5322
# Set DATADIRNAME correctly if it is not set yet
6332
5323
# (copied from glib-gettext.m4)
6333
5324
if test -z "$DATADIRNAME"; then
6334
 
  cat >conftest.$ac_ext <<_ACEOF
6335
 
/* confdefs.h.  */
6336
 
_ACEOF
6337
 
cat confdefs.h >>conftest.$ac_ext
6338
 
cat >>conftest.$ac_ext <<_ACEOF
 
5325
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6339
5326
/* end confdefs.h.  */
6340
5327
 
6341
5328
int
6347
5334
  return 0;
6348
5335
}
6349
5336
_ACEOF
6350
 
rm -f conftest.$ac_objext conftest$ac_exeext
6351
 
if { (ac_try="$ac_link"
6352
 
case "(($ac_try" in
6353
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6354
 
  *) ac_try_echo=$ac_try;;
6355
 
esac
6356
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6357
 
$as_echo "$ac_try_echo") >&5
6358
 
  (eval "$ac_link") 2>conftest.er1
6359
 
  ac_status=$?
6360
 
  grep -v '^ *+' conftest.er1 >conftest.err
6361
 
  rm -f conftest.er1
6362
 
  cat conftest.err >&5
6363
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364
 
  (exit $ac_status); } && {
6365
 
         test -z "$ac_c_werror_flag" ||
6366
 
         test ! -s conftest.err
6367
 
       } && test -s conftest$ac_exeext && {
6368
 
         test "$cross_compiling" = yes ||
6369
 
         $as_test_x conftest$ac_exeext
6370
 
       }; then
 
5337
if ac_fn_c_try_link "$LINENO"; then :
6371
5338
  DATADIRNAME=share
6372
5339
else
6373
 
  $as_echo "$as_me: failed program was:" >&5
6374
 
sed 's/^/| /' conftest.$ac_ext >&5
6375
 
 
6376
 
        case $host in
 
5340
  case $host in
6377
5341
    *-*-solaris*)
6378
 
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6379
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
6380
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6381
 
  $as_echo_n "(cached) " >&6
6382
 
else
6383
 
  cat >conftest.$ac_ext <<_ACEOF
6384
 
/* confdefs.h.  */
6385
 
_ACEOF
6386
 
cat confdefs.h >>conftest.$ac_ext
6387
 
cat >>conftest.$ac_ext <<_ACEOF
6388
 
/* end confdefs.h.  */
6389
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6390
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6391
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6392
 
 
6393
 
/* System header to define __stub macros and hopefully few prototypes,
6394
 
    which can conflict with char bind_textdomain_codeset (); below.
6395
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6396
 
    <limits.h> exists even on freestanding compilers.  */
6397
 
 
6398
 
#ifdef __STDC__
6399
 
# include <limits.h>
6400
 
#else
6401
 
# include <assert.h>
6402
 
#endif
6403
 
 
6404
 
#undef bind_textdomain_codeset
6405
 
 
6406
 
/* Override any GCC internal prototype to avoid an error.
6407
 
   Use char because int might match the return type of a GCC
6408
 
   builtin and then its argument prototype would still apply.  */
6409
 
#ifdef __cplusplus
6410
 
extern "C"
6411
 
#endif
6412
 
char bind_textdomain_codeset ();
6413
 
/* The GNU C library defines this for functions which it implements
6414
 
    to always fail with ENOSYS.  Some functions are actually named
6415
 
    something starting with __ and the normal name is an alias.  */
6416
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6417
 
choke me
6418
 
#endif
6419
 
 
6420
 
int
6421
 
main ()
6422
 
{
6423
 
return bind_textdomain_codeset ();
6424
 
  ;
6425
 
  return 0;
6426
 
}
6427
 
_ACEOF
6428
 
rm -f conftest.$ac_objext conftest$ac_exeext
6429
 
if { (ac_try="$ac_link"
6430
 
case "(($ac_try" in
6431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6432
 
  *) ac_try_echo=$ac_try;;
6433
 
esac
6434
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6435
 
$as_echo "$ac_try_echo") >&5
6436
 
  (eval "$ac_link") 2>conftest.er1
6437
 
  ac_status=$?
6438
 
  grep -v '^ *+' conftest.er1 >conftest.err
6439
 
  rm -f conftest.er1
6440
 
  cat conftest.err >&5
6441
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442
 
  (exit $ac_status); } && {
6443
 
         test -z "$ac_c_werror_flag" ||
6444
 
         test ! -s conftest.err
6445
 
       } && test -s conftest$ac_exeext && {
6446
 
         test "$cross_compiling" = yes ||
6447
 
         $as_test_x conftest$ac_exeext
6448
 
       }; then
6449
 
  ac_cv_func_bind_textdomain_codeset=yes
6450
 
else
6451
 
  $as_echo "$as_me: failed program was:" >&5
6452
 
sed 's/^/| /' conftest.$ac_ext >&5
6453
 
 
6454
 
        ac_cv_func_bind_textdomain_codeset=no
6455
 
fi
6456
 
 
6457
 
rm -rf conftest.dSYM
6458
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6459
 
      conftest$ac_exeext conftest.$ac_ext
6460
 
fi
6461
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6462
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
6463
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
5342
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5343
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6464
5344
  DATADIRNAME=share
6465
5345
else
6466
5346
  DATADIRNAME=lib
6472
5352
    ;;
6473
5353
    esac
6474
5354
fi
6475
 
 
6476
 
rm -rf conftest.dSYM
6477
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6478
 
      conftest$ac_exeext conftest.$ac_ext
 
5355
rm -f core conftest.err conftest.$ac_objext \
 
5356
    conftest$ac_exeext conftest.$ac_ext
6479
5357
fi
6480
5358
 
6481
5359
 
6492
5370
  if test -z "$PYTHON"; then
6493
5371
    # Extract the first word of "python2.6", so it can be a program name with args.
6494
5372
set dummy python2.6; ac_word=$2
6495
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496
5374
$as_echo_n "checking for $ac_word... " >&6; }
6497
 
if test "${ac_cv_path_PYTHON2_6+set}" = set; then
 
5375
if test "${ac_cv_path_PYTHON2_6+set}" = set; then :
6498
5376
  $as_echo_n "(cached) " >&6
6499
5377
else
6500
5378
  case $PYTHON2_6 in
6507
5385
do
6508
5386
  IFS=$as_save_IFS
6509
5387
  test -z "$as_dir" && as_dir=.
6510
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5388
    for ac_exec_ext in '' $ac_executable_extensions; do
6511
5389
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6512
5390
    ac_cv_path_PYTHON2_6="$as_dir/$ac_word$ac_exec_ext"
6513
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5391
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6514
5392
    break 2
6515
5393
  fi
6516
5394
done
6517
 
done
 
5395
  done
6518
5396
IFS=$as_save_IFS
6519
5397
 
6520
5398
  ;;
6522
5400
fi
6523
5401
PYTHON2_6=$ac_cv_path_PYTHON2_6
6524
5402
if test -n "$PYTHON2_6"; then
6525
 
  { $as_echo "$as_me:$LINENO: result: $PYTHON2_6" >&5
 
5403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_6" >&5
6526
5404
$as_echo "$PYTHON2_6" >&6; }
6527
5405
else
6528
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5406
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6529
5407
$as_echo "no" >&6; }
6530
5408
fi
6531
5409
 
6540
5418
  if test -n "$PYTHON"; then
6541
5419
 
6542
5420
 
6543
 
            { $as_echo "$as_me:$LINENO: checking whether $PYTHON version is >= 2.6.0" >&5
 
5421
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6.0" >&5
6544
5422
$as_echo_n "checking whether $PYTHON version is >= 2.6.0... " >&6; }
6545
5423
      prog="import sys
6546
5424
# split strings by '.' and convert to numeric.  Append some zeros
6555
5433
   ($PYTHON -c "$prog") >&5 2>&5
6556
5434
   ac_status=$?
6557
5435
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558
 
   (exit $ac_status); }; then
6559
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5436
   (exit $ac_status); }; then :
 
5437
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6560
5438
$as_echo "yes" >&6; }
6561
5439
else
6562
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5440
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563
5441
$as_echo "no" >&6; }; PYTHON=""
6564
5442
fi
6565
5443
 
6566
5444
 
6567
 
 
6568
5445
  fi
6569
5446
 
6570
5447
  if test -z "$PYTHON"; then
6579
5456
  if test -z "$PYTHON"; then
6580
5457
    # Extract the first word of "python2.5", so it can be a program name with args.
6581
5458
set dummy python2.5; ac_word=$2
6582
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6583
5460
$as_echo_n "checking for $ac_word... " >&6; }
6584
 
if test "${ac_cv_path_PYTHON2_5+set}" = set; then
 
5461
if test "${ac_cv_path_PYTHON2_5+set}" = set; then :
6585
5462
  $as_echo_n "(cached) " >&6
6586
5463
else
6587
5464
  case $PYTHON2_5 in
6594
5471
do
6595
5472
  IFS=$as_save_IFS
6596
5473
  test -z "$as_dir" && as_dir=.
6597
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5474
    for ac_exec_ext in '' $ac_executable_extensions; do
6598
5475
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599
5476
    ac_cv_path_PYTHON2_5="$as_dir/$ac_word$ac_exec_ext"
6600
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5477
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601
5478
    break 2
6602
5479
  fi
6603
5480
done
6604
 
done
 
5481
  done
6605
5482
IFS=$as_save_IFS
6606
5483
 
6607
5484
  ;;
6609
5486
fi
6610
5487
PYTHON2_5=$ac_cv_path_PYTHON2_5
6611
5488
if test -n "$PYTHON2_5"; then
6612
 
  { $as_echo "$as_me:$LINENO: result: $PYTHON2_5" >&5
 
5489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_5" >&5
6613
5490
$as_echo "$PYTHON2_5" >&6; }
6614
5491
else
6615
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5492
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616
5493
$as_echo "no" >&6; }
6617
5494
fi
6618
5495
 
6627
5504
  if test -n "$PYTHON"; then
6628
5505
 
6629
5506
 
6630
 
            { $as_echo "$as_me:$LINENO: checking whether $PYTHON version is >= 2.5.0" >&5
 
5507
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5.0" >&5
6631
5508
$as_echo_n "checking whether $PYTHON version is >= 2.5.0... " >&6; }
6632
5509
      prog="import sys
6633
5510
# split strings by '.' and convert to numeric.  Append some zeros
6642
5519
   ($PYTHON -c "$prog") >&5 2>&5
6643
5520
   ac_status=$?
6644
5521
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645
 
   (exit $ac_status); }; then
6646
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5522
   (exit $ac_status); }; then :
 
5523
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6647
5524
$as_echo "yes" >&6; }
6648
5525
else
6649
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650
5527
$as_echo "no" >&6; }; PYTHON=""
6651
5528
fi
6652
5529
 
6653
5530
 
6654
 
 
6655
5531
  fi
6656
5532
 
6657
5533
  if test -z "$PYTHON"; then
6666
5542
  if test -z "$PYTHON"; then
6667
5543
    # Extract the first word of "python2.4", so it can be a program name with args.
6668
5544
set dummy python2.4; ac_word=$2
6669
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670
5546
$as_echo_n "checking for $ac_word... " >&6; }
6671
 
if test "${ac_cv_path_PYTHON2_4+set}" = set; then
 
5547
if test "${ac_cv_path_PYTHON2_4+set}" = set; then :
6672
5548
  $as_echo_n "(cached) " >&6
6673
5549
else
6674
5550
  case $PYTHON2_4 in
6681
5557
do
6682
5558
  IFS=$as_save_IFS
6683
5559
  test -z "$as_dir" && as_dir=.
6684
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5560
    for ac_exec_ext in '' $ac_executable_extensions; do
6685
5561
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686
5562
    ac_cv_path_PYTHON2_4="$as_dir/$ac_word$ac_exec_ext"
6687
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5563
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688
5564
    break 2
6689
5565
  fi
6690
5566
done
6691
 
done
 
5567
  done
6692
5568
IFS=$as_save_IFS
6693
5569
 
6694
5570
  ;;
6696
5572
fi
6697
5573
PYTHON2_4=$ac_cv_path_PYTHON2_4
6698
5574
if test -n "$PYTHON2_4"; then
6699
 
  { $as_echo "$as_me:$LINENO: result: $PYTHON2_4" >&5
 
5575
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_4" >&5
6700
5576
$as_echo "$PYTHON2_4" >&6; }
6701
5577
else
6702
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5578
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703
5579
$as_echo "no" >&6; }
6704
5580
fi
6705
5581
 
6714
5590
  if test -n "$PYTHON"; then
6715
5591
 
6716
5592
 
6717
 
            { $as_echo "$as_me:$LINENO: checking whether $PYTHON version is >= 2.4.0" >&5
 
5593
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.4.0" >&5
6718
5594
$as_echo_n "checking whether $PYTHON version is >= 2.4.0... " >&6; }
6719
5595
      prog="import sys
6720
5596
# split strings by '.' and convert to numeric.  Append some zeros
6729
5605
   ($PYTHON -c "$prog") >&5 2>&5
6730
5606
   ac_status=$?
6731
5607
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732
 
   (exit $ac_status); }; then
6733
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5608
   (exit $ac_status); }; then :
 
5609
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6734
5610
$as_echo "yes" >&6; }
6735
5611
else
6736
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5612
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737
5613
$as_echo "no" >&6; }; PYTHON=""
6738
5614
fi
6739
5615
 
6740
5616
 
6741
 
 
6742
5617
  fi
6743
5618
 
6744
5619
  if test -z "$PYTHON"; then
6745
5620
 
6746
 
        { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
6747
 
$as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
6748
 
   { (exit 1); exit 1; }; }
6749
 
 
6750
 
 
6751
 
  else
6752
 
 
6753
 
 
6754
 
  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
6755
 
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
6756
 
if test "${am_cv_python_version+set}" = set; then
6757
 
  $as_echo_n "(cached) " >&6
6758
 
else
6759
 
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
6760
 
fi
6761
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
6762
 
$as_echo "$am_cv_python_version" >&6; }
6763
 
  PYTHON_VERSION=$am_cv_python_version
6764
 
 
6765
 
 
6766
 
 
6767
 
  PYTHON_PREFIX='${prefix}'
6768
 
 
6769
 
  PYTHON_EXEC_PREFIX='${exec_prefix}'
6770
 
 
6771
 
 
6772
 
 
6773
 
  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
6774
 
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
6775
 
if test "${am_cv_python_platform+set}" = set; then
6776
 
  $as_echo_n "(cached) " >&6
6777
 
else
6778
 
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
6779
 
fi
6780
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
6781
 
$as_echo "$am_cv_python_platform" >&6; }
6782
 
  PYTHON_PLATFORM=$am_cv_python_platform
6783
 
 
6784
 
 
6785
 
 
6786
 
 
6787
 
                { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
6788
 
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6789
 
if test "${am_cv_python_pythondir+set}" = set; then
6790
 
  $as_echo_n "(cached) " >&6
6791
 
else
6792
 
  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
6793
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
6794
 
fi
6795
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
6796
 
$as_echo "$am_cv_python_pythondir" >&6; }
6797
 
  pythondir=$am_cv_python_pythondir
6798
 
 
6799
 
 
6800
 
 
6801
 
  pkgpythondir=\${pythondir}/$PACKAGE
6802
 
 
6803
 
 
6804
 
            { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
6805
 
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6806
 
if test "${am_cv_python_pyexecdir+set}" = set; then
6807
 
  $as_echo_n "(cached) " >&6
6808
 
else
6809
 
  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
6810
 
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
6811
 
fi
6812
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
6813
 
$as_echo "$am_cv_python_pyexecdir" >&6; }
6814
 
  pyexecdir=$am_cv_python_pyexecdir
6815
 
 
6816
 
 
6817
 
 
6818
 
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
6819
 
 
6820
 
 
6821
 
  fi
6822
 
 
6823
 
 
6824
 
 
6825
 
 
6826
 
  else
6827
 
 
6828
 
 
6829
 
  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
6830
 
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
6831
 
if test "${am_cv_python_version+set}" = set; then
6832
 
  $as_echo_n "(cached) " >&6
6833
 
else
6834
 
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
6835
 
fi
6836
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
6837
 
$as_echo "$am_cv_python_version" >&6; }
6838
 
  PYTHON_VERSION=$am_cv_python_version
6839
 
 
6840
 
 
6841
 
 
6842
 
  PYTHON_PREFIX='${prefix}'
6843
 
 
6844
 
  PYTHON_EXEC_PREFIX='${exec_prefix}'
6845
 
 
6846
 
 
6847
 
 
6848
 
  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
6849
 
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
6850
 
if test "${am_cv_python_platform+set}" = set; then
6851
 
  $as_echo_n "(cached) " >&6
6852
 
else
6853
 
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
6854
 
fi
6855
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
6856
 
$as_echo "$am_cv_python_platform" >&6; }
6857
 
  PYTHON_PLATFORM=$am_cv_python_platform
6858
 
 
6859
 
 
6860
 
 
6861
 
 
6862
 
                { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
6863
 
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6864
 
if test "${am_cv_python_pythondir+set}" = set; then
6865
 
  $as_echo_n "(cached) " >&6
6866
 
else
6867
 
  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
6868
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
6869
 
fi
6870
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
6871
 
$as_echo "$am_cv_python_pythondir" >&6; }
6872
 
  pythondir=$am_cv_python_pythondir
6873
 
 
6874
 
 
6875
 
 
6876
 
  pkgpythondir=\${pythondir}/$PACKAGE
6877
 
 
6878
 
 
6879
 
            { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
6880
 
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6881
 
if test "${am_cv_python_pyexecdir+set}" = set; then
6882
 
  $as_echo_n "(cached) " >&6
6883
 
else
6884
 
  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
6885
 
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
6886
 
fi
6887
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
6888
 
$as_echo "$am_cv_python_pyexecdir" >&6; }
6889
 
  pyexecdir=$am_cv_python_pyexecdir
6890
 
 
6891
 
 
6892
 
 
6893
 
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
6894
 
 
6895
 
 
6896
 
  fi
6897
 
 
6898
 
 
6899
 
 
6900
 
 
6901
 
  else
6902
 
 
6903
 
 
6904
 
  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
6905
 
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
6906
 
if test "${am_cv_python_version+set}" = set; then
6907
 
  $as_echo_n "(cached) " >&6
6908
 
else
6909
 
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
6910
 
fi
6911
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
6912
 
$as_echo "$am_cv_python_version" >&6; }
6913
 
  PYTHON_VERSION=$am_cv_python_version
6914
 
 
6915
 
 
6916
 
 
6917
 
  PYTHON_PREFIX='${prefix}'
6918
 
 
6919
 
  PYTHON_EXEC_PREFIX='${exec_prefix}'
6920
 
 
6921
 
 
6922
 
 
6923
 
  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
6924
 
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
6925
 
if test "${am_cv_python_platform+set}" = set; then
6926
 
  $as_echo_n "(cached) " >&6
6927
 
else
6928
 
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
6929
 
fi
6930
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
6931
 
$as_echo "$am_cv_python_platform" >&6; }
6932
 
  PYTHON_PLATFORM=$am_cv_python_platform
6933
 
 
6934
 
 
6935
 
 
6936
 
 
6937
 
                { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
6938
 
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6939
 
if test "${am_cv_python_pythondir+set}" = set; then
6940
 
  $as_echo_n "(cached) " >&6
6941
 
else
6942
 
  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
6943
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
6944
 
fi
6945
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
6946
 
$as_echo "$am_cv_python_pythondir" >&6; }
6947
 
  pythondir=$am_cv_python_pythondir
6948
 
 
6949
 
 
6950
 
 
6951
 
  pkgpythondir=\${pythondir}/$PACKAGE
6952
 
 
6953
 
 
6954
 
            { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
6955
 
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6956
 
if test "${am_cv_python_pyexecdir+set}" = set; then
6957
 
  $as_echo_n "(cached) " >&6
6958
 
else
6959
 
  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
6960
 
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
6961
 
fi
6962
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
 
5621
        as_fn_error "no suitable Python interpreter found" "$LINENO" 5
 
5622
 
 
5623
 
 
5624
  else
 
5625
 
 
5626
 
 
5627
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
 
5628
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
 
5629
if test "${am_cv_python_version+set}" = set; then :
 
5630
  $as_echo_n "(cached) " >&6
 
5631
else
 
5632
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
 
5633
fi
 
5634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
 
5635
$as_echo "$am_cv_python_version" >&6; }
 
5636
  PYTHON_VERSION=$am_cv_python_version
 
5637
 
 
5638
 
 
5639
 
 
5640
  PYTHON_PREFIX='${prefix}'
 
5641
 
 
5642
  PYTHON_EXEC_PREFIX='${exec_prefix}'
 
5643
 
 
5644
 
 
5645
 
 
5646
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
 
5647
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
 
5648
if test "${am_cv_python_platform+set}" = set; then :
 
5649
  $as_echo_n "(cached) " >&6
 
5650
else
 
5651
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
 
5652
fi
 
5653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
 
5654
$as_echo "$am_cv_python_platform" >&6; }
 
5655
  PYTHON_PLATFORM=$am_cv_python_platform
 
5656
 
 
5657
 
 
5658
 
 
5659
 
 
5660
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
 
5661
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
 
5662
if test "${am_cv_python_pythondir+set}" = set; then :
 
5663
  $as_echo_n "(cached) " >&6
 
5664
else
 
5665
  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
 
5666
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
5667
fi
 
5668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
 
5669
$as_echo "$am_cv_python_pythondir" >&6; }
 
5670
  pythondir=$am_cv_python_pythondir
 
5671
 
 
5672
 
 
5673
 
 
5674
  pkgpythondir=\${pythondir}/$PACKAGE
 
5675
 
 
5676
 
 
5677
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
 
5678
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
 
5679
if test "${am_cv_python_pyexecdir+set}" = set; then :
 
5680
  $as_echo_n "(cached) " >&6
 
5681
else
 
5682
  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
 
5683
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
 
5684
fi
 
5685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
 
5686
$as_echo "$am_cv_python_pyexecdir" >&6; }
 
5687
  pyexecdir=$am_cv_python_pyexecdir
 
5688
 
 
5689
 
 
5690
 
 
5691
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
 
5692
 
 
5693
 
 
5694
  fi
 
5695
 
 
5696
 
 
5697
 
 
5698
 
 
5699
  else
 
5700
 
 
5701
 
 
5702
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
 
5703
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
 
5704
if test "${am_cv_python_version+set}" = set; then :
 
5705
  $as_echo_n "(cached) " >&6
 
5706
else
 
5707
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
 
5708
fi
 
5709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
 
5710
$as_echo "$am_cv_python_version" >&6; }
 
5711
  PYTHON_VERSION=$am_cv_python_version
 
5712
 
 
5713
 
 
5714
 
 
5715
  PYTHON_PREFIX='${prefix}'
 
5716
 
 
5717
  PYTHON_EXEC_PREFIX='${exec_prefix}'
 
5718
 
 
5719
 
 
5720
 
 
5721
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
 
5722
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
 
5723
if test "${am_cv_python_platform+set}" = set; then :
 
5724
  $as_echo_n "(cached) " >&6
 
5725
else
 
5726
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
 
5727
fi
 
5728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
 
5729
$as_echo "$am_cv_python_platform" >&6; }
 
5730
  PYTHON_PLATFORM=$am_cv_python_platform
 
5731
 
 
5732
 
 
5733
 
 
5734
 
 
5735
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
 
5736
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
 
5737
if test "${am_cv_python_pythondir+set}" = set; then :
 
5738
  $as_echo_n "(cached) " >&6
 
5739
else
 
5740
  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
 
5741
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
5742
fi
 
5743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
 
5744
$as_echo "$am_cv_python_pythondir" >&6; }
 
5745
  pythondir=$am_cv_python_pythondir
 
5746
 
 
5747
 
 
5748
 
 
5749
  pkgpythondir=\${pythondir}/$PACKAGE
 
5750
 
 
5751
 
 
5752
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
 
5753
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
 
5754
if test "${am_cv_python_pyexecdir+set}" = set; then :
 
5755
  $as_echo_n "(cached) " >&6
 
5756
else
 
5757
  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
 
5758
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
 
5759
fi
 
5760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
 
5761
$as_echo "$am_cv_python_pyexecdir" >&6; }
 
5762
  pyexecdir=$am_cv_python_pyexecdir
 
5763
 
 
5764
 
 
5765
 
 
5766
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
 
5767
 
 
5768
 
 
5769
  fi
 
5770
 
 
5771
 
 
5772
 
 
5773
 
 
5774
  else
 
5775
 
 
5776
 
 
5777
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
 
5778
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
 
5779
if test "${am_cv_python_version+set}" = set; then :
 
5780
  $as_echo_n "(cached) " >&6
 
5781
else
 
5782
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
 
5783
fi
 
5784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
 
5785
$as_echo "$am_cv_python_version" >&6; }
 
5786
  PYTHON_VERSION=$am_cv_python_version
 
5787
 
 
5788
 
 
5789
 
 
5790
  PYTHON_PREFIX='${prefix}'
 
5791
 
 
5792
  PYTHON_EXEC_PREFIX='${exec_prefix}'
 
5793
 
 
5794
 
 
5795
 
 
5796
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
 
5797
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
 
5798
if test "${am_cv_python_platform+set}" = set; then :
 
5799
  $as_echo_n "(cached) " >&6
 
5800
else
 
5801
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
 
5802
fi
 
5803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
 
5804
$as_echo "$am_cv_python_platform" >&6; }
 
5805
  PYTHON_PLATFORM=$am_cv_python_platform
 
5806
 
 
5807
 
 
5808
 
 
5809
 
 
5810
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
 
5811
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
 
5812
if test "${am_cv_python_pythondir+set}" = set; then :
 
5813
  $as_echo_n "(cached) " >&6
 
5814
else
 
5815
  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
 
5816
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
5817
fi
 
5818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
 
5819
$as_echo "$am_cv_python_pythondir" >&6; }
 
5820
  pythondir=$am_cv_python_pythondir
 
5821
 
 
5822
 
 
5823
 
 
5824
  pkgpythondir=\${pythondir}/$PACKAGE
 
5825
 
 
5826
 
 
5827
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
 
5828
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
 
5829
if test "${am_cv_python_pyexecdir+set}" = set; then :
 
5830
  $as_echo_n "(cached) " >&6
 
5831
else
 
5832
  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
 
5833
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
 
5834
fi
 
5835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6963
5836
$as_echo "$am_cv_python_pyexecdir" >&6; }
6964
5837
  pyexecdir=$am_cv_python_pyexecdir
6965
5838
 
6978
5851
        if test -n "$ac_tool_prefix"; then
6979
5852
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6980
5853
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6981
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6982
5855
$as_echo_n "checking for $ac_word... " >&6; }
6983
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
5856
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6984
5857
  $as_echo_n "(cached) " >&6
6985
5858
else
6986
5859
  case $PKG_CONFIG in
6993
5866
do
6994
5867
  IFS=$as_save_IFS
6995
5868
  test -z "$as_dir" && as_dir=.
6996
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5869
    for ac_exec_ext in '' $ac_executable_extensions; do
6997
5870
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6998
5871
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6999
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5872
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7000
5873
    break 2
7001
5874
  fi
7002
5875
done
7003
 
done
 
5876
  done
7004
5877
IFS=$as_save_IFS
7005
5878
 
7006
5879
  ;;
7008
5881
fi
7009
5882
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7010
5883
if test -n "$PKG_CONFIG"; then
7011
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
5884
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7012
5885
$as_echo "$PKG_CONFIG" >&6; }
7013
5886
else
7014
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5887
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7015
5888
$as_echo "no" >&6; }
7016
5889
fi
7017
5890
 
7021
5894
  ac_pt_PKG_CONFIG=$PKG_CONFIG
7022
5895
  # Extract the first word of "pkg-config", so it can be a program name with args.
7023
5896
set dummy pkg-config; ac_word=$2
7024
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025
5898
$as_echo_n "checking for $ac_word... " >&6; }
7026
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
5899
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
7027
5900
  $as_echo_n "(cached) " >&6
7028
5901
else
7029
5902
  case $ac_pt_PKG_CONFIG in
7036
5909
do
7037
5910
  IFS=$as_save_IFS
7038
5911
  test -z "$as_dir" && as_dir=.
7039
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5912
    for ac_exec_ext in '' $ac_executable_extensions; do
7040
5913
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7041
5914
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7042
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5915
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7043
5916
    break 2
7044
5917
  fi
7045
5918
done
7046
 
done
 
5919
  done
7047
5920
IFS=$as_save_IFS
7048
5921
 
7049
5922
  ;;
7051
5924
fi
7052
5925
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7053
5926
if test -n "$ac_pt_PKG_CONFIG"; then
7054
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
5927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7055
5928
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
7056
5929
else
7057
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5930
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7058
5931
$as_echo "no" >&6; }
7059
5932
fi
7060
5933
 
7063
5936
  else
7064
5937
    case $cross_compiling:$ac_tool_warned in
7065
5938
yes:)
7066
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5939
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7067
5940
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7068
5941
ac_tool_warned=yes ;;
7069
5942
esac
7076
5949
fi
7077
5950
if test -n "$PKG_CONFIG"; then
7078
5951
        _pkg_min_version=0.9.0
7079
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
5952
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7080
5953
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7081
5954
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7082
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5955
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7083
5956
$as_echo "yes" >&6; }
7084
5957
        else
7085
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
5958
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7086
5959
$as_echo "no" >&6; }
7087
5960
                PKG_CONFIG=""
7088
5961
        fi
7090
5963
fi
7091
5964
 
7092
5965
pkg_failed=no
7093
 
{ $as_echo "$as_me:$LINENO: checking for ALACARTE" >&5
 
5966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALACARTE" >&5
7094
5967
$as_echo_n "checking for ALACARTE... " >&6; }
7095
5968
 
7096
5969
if test -n "$ALACARTE_CFLAGS"; then
7097
5970
    pkg_cv_ALACARTE_CFLAGS="$ALACARTE_CFLAGS"
7098
5971
 elif test -n "$PKG_CONFIG"; then
7099
5972
    if test -n "$PKG_CONFIG" && \
7100
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-menu >= 2.27.92\"") >&5
 
5973
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-menu >= 2.27.92\""; } >&5
7101
5974
  ($PKG_CONFIG --exists --print-errors "libgnome-menu >= 2.27.92") 2>&5
7102
5975
  ac_status=$?
7103
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7104
 
  (exit $ac_status); }; then
 
5976
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5977
  test $ac_status = 0; }; then
7105
5978
  pkg_cv_ALACARTE_CFLAGS=`$PKG_CONFIG --cflags "libgnome-menu >= 2.27.92" 2>/dev/null`
7106
5979
else
7107
5980
  pkg_failed=yes
7113
5986
    pkg_cv_ALACARTE_LIBS="$ALACARTE_LIBS"
7114
5987
 elif test -n "$PKG_CONFIG"; then
7115
5988
    if test -n "$PKG_CONFIG" && \
7116
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-menu >= 2.27.92\"") >&5
 
5989
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-menu >= 2.27.92\""; } >&5
7117
5990
  ($PKG_CONFIG --exists --print-errors "libgnome-menu >= 2.27.92") 2>&5
7118
5991
  ac_status=$?
7119
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120
 
  (exit $ac_status); }; then
 
5992
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5993
  test $ac_status = 0; }; then
7121
5994
  pkg_cv_ALACARTE_LIBS=`$PKG_CONFIG --libs "libgnome-menu >= 2.27.92" 2>/dev/null`
7122
5995
else
7123
5996
  pkg_failed=yes
7143
6016
        # Put the nasty error message in config.log where it belongs
7144
6017
        echo "$ALACARTE_PKG_ERRORS" >&5
7145
6018
 
7146
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (libgnome-menu >= 2.27.92) were not met:
7147
 
 
7148
 
$ALACARTE_PKG_ERRORS
7149
 
 
7150
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7151
 
installed software in a non-standard prefix.
7152
 
 
7153
 
Alternatively, you may set the environment variables ALACARTE_CFLAGS
7154
 
and ALACARTE_LIBS to avoid the need to call pkg-config.
7155
 
See the pkg-config man page for more details.
7156
 
" >&5
7157
 
$as_echo "$as_me: error: Package requirements (libgnome-menu >= 2.27.92) were not met:
7158
 
 
7159
 
$ALACARTE_PKG_ERRORS
7160
 
 
7161
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7162
 
installed software in a non-standard prefix.
7163
 
 
7164
 
Alternatively, you may set the environment variables ALACARTE_CFLAGS
7165
 
and ALACARTE_LIBS to avoid the need to call pkg-config.
7166
 
See the pkg-config man page for more details.
7167
 
" >&2;}
7168
 
   { (exit 1); exit 1; }; }
 
6019
        as_fn_error "Package requirements (libgnome-menu >= 2.27.92) were not met:
 
6020
 
 
6021
$ALACARTE_PKG_ERRORS
 
6022
 
 
6023
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
6024
installed software in a non-standard prefix.
 
6025
 
 
6026
Alternatively, you may set the environment variables ALACARTE_CFLAGS
 
6027
and ALACARTE_LIBS to avoid the need to call pkg-config.
 
6028
See the pkg-config man page for more details.
 
6029
" "$LINENO" 5
7169
6030
elif test $pkg_failed = untried; then
7170
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6031
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7171
6032
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7172
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
7173
 
is in your PATH or set the PKG_CONFIG environment variable to the full
7174
 
path to pkg-config.
7175
 
 
7176
 
Alternatively, you may set the environment variables ALACARTE_CFLAGS
7177
 
and ALACARTE_LIBS to avoid the need to call pkg-config.
7178
 
See the pkg-config man page for more details.
7179
 
 
7180
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7181
 
See \`config.log' for more details." >&5
7182
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
7183
 
is in your PATH or set the PKG_CONFIG environment variable to the full
7184
 
path to pkg-config.
7185
 
 
7186
 
Alternatively, you may set the environment variables ALACARTE_CFLAGS
7187
 
and ALACARTE_LIBS to avoid the need to call pkg-config.
7188
 
See the pkg-config man page for more details.
7189
 
 
7190
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7191
 
See \`config.log' for more details." >&2;}
7192
 
   { (exit 1); exit 1; }; }; }
 
6033
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
6034
is in your PATH or set the PKG_CONFIG environment variable to the full
 
6035
path to pkg-config.
 
6036
 
 
6037
Alternatively, you may set the environment variables ALACARTE_CFLAGS
 
6038
and ALACARTE_LIBS to avoid the need to call pkg-config.
 
6039
See the pkg-config man page for more details.
 
6040
 
 
6041
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
6042
See \`config.log' for more details." "$LINENO" 5; }
7193
6043
else
7194
6044
        ALACARTE_CFLAGS=$pkg_cv_ALACARTE_CFLAGS
7195
6045
        ALACARTE_LIBS=$pkg_cv_ALACARTE_LIBS
7196
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
6046
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7197
6047
$as_echo "yes" >&6; }
7198
6048
        :
7199
6049
fi
7200
6050
 
7201
 
{ $as_echo "$as_me:$LINENO: checking for pygobject 2.15.1 installed for python required_python_abi" >&5
 
6051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pygobject 2.15.1 installed for python required_python_abi" >&5
7202
6052
$as_echo_n "checking for pygobject 2.15.1 installed for python required_python_abi... " >&6; }
7203
6053
prog="
7204
6054
import pygtk; pygtk.require('2.0')
7207
6057
"
7208
6058
 
7209
6059
if $PYTHON -c "$prog" 1>&5 2>&5; then
7210
 
    { $as_echo "$as_me:$LINENO: result: found" >&5
 
6060
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
7211
6061
$as_echo "found" >&6; }
7212
6062
else
7213
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
6063
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7214
6064
$as_echo "not found" >&6; }
7215
 
    { { $as_echo "$as_me:$LINENO: error: required pygobject version not found" >&5
7216
 
$as_echo "$as_me: error: required pygobject version not found" >&2;}
7217
 
   { (exit 1); exit 1; }; }
 
6065
    as_fn_error "required pygobject version not found" "$LINENO" 5
7218
6066
fi
7219
6067
 
7220
 
{ $as_echo "$as_me:$LINENO: checking for pygtk 2.13.0 installed for python ${PYTHON_VERSION}" >&5
 
6068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pygtk 2.13.0 installed for python ${PYTHON_VERSION}" >&5
7221
6069
$as_echo_n "checking for pygtk 2.13.0 installed for python ${PYTHON_VERSION}... " >&6; }
7222
6070
prog="
7223
6071
import pygtk; pygtk.require('2.0')
7226
6074
"
7227
6075
 
7228
6076
if $PYTHON -c "$prog" 1>&5 2>&5; then
7229
 
    { $as_echo "$as_me:$LINENO: result: found" >&5
 
6077
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
7230
6078
$as_echo "found" >&6; }
7231
6079
else
7232
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
6080
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7233
6081
$as_echo "not found" >&6; }
7234
 
    { { $as_echo "$as_me:$LINENO: error: required pygtk version not found" >&5
7235
 
$as_echo "$as_me: error: required pygtk version not found" >&2;}
7236
 
   { (exit 1); exit 1; }; }
 
6082
    as_fn_error "required pygtk version not found" "$LINENO" 5
7237
6083
fi
7238
6084
 
7239
6085
 
7267
6113
    case $ac_val in #(
7268
6114
    *${as_nl}*)
7269
6115
      case $ac_var in #(
7270
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
6116
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7271
6117
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7272
6118
      esac
7273
6119
      case $ac_var in #(
7274
6120
      _ | IFS | as_nl) ;; #(
7275
6121
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7276
 
      *) $as_unset $ac_var ;;
 
6122
      *) { eval $ac_var=; unset $ac_var;} ;;
7277
6123
      esac ;;
7278
6124
    esac
7279
6125
  done
7281
6127
  (set) 2>&1 |
7282
6128
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7283
6129
    *${as_nl}ac_space=\ *)
7284
 
      # `set' does not quote correctly, so add quotes (double-quote
7285
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
6130
      # `set' does not quote correctly, so add quotes: double-quote
 
6131
      # substitution turns \\\\ into \\, and sed turns \\ into \.
7286
6132
      sed -n \
7287
6133
        "s/'/'\\\\''/g;
7288
6134
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7305
6151
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7306
6152
  if test -w "$cache_file"; then
7307
6153
    test "x$cache_file" != "x/dev/null" &&
7308
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
6154
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7309
6155
$as_echo "$as_me: updating cache $cache_file" >&6;}
7310
6156
    cat confcache >$cache_file
7311
6157
  else
7312
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
6158
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7313
6159
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7314
6160
  fi
7315
6161
fi
7329
6175
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7330
6176
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7331
6177
  #    will be set to the directory where LIBOBJS objects are built.
7332
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7333
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
6178
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
6179
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7334
6180
done
7335
6181
LIBOBJS=$ac_libobjs
7336
6182
 
7346
6192
fi
7347
6193
 
7348
6194
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7349
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7350
 
Usually this means the macro was only invoked conditionally." >&5
7351
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7352
 
Usually this means the macro was only invoked conditionally." >&2;}
7353
 
   { (exit 1); exit 1; }; }
 
6195
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
6196
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7354
6197
fi
7355
6198
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7356
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7357
 
Usually this means the macro was only invoked conditionally." >&5
7358
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
7359
 
Usually this means the macro was only invoked conditionally." >&2;}
7360
 
   { (exit 1); exit 1; }; }
 
6199
  as_fn_error "conditional \"AMDEP\" was never defined.
 
6200
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7361
6201
fi
7362
6202
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7363
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7364
 
Usually this means the macro was only invoked conditionally." >&5
7365
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7366
 
Usually this means the macro was only invoked conditionally." >&2;}
7367
 
   { (exit 1); exit 1; }; }
 
6203
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
6204
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7368
6205
fi
7369
6206
 
7370
6207
  ac_config_commands="$ac_config_commands po/stamp-it"
7375
6212
ac_write_fail=0
7376
6213
ac_clean_files_save=$ac_clean_files
7377
6214
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7378
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
6215
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7379
6216
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7380
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6217
as_write_fail=0
 
6218
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7381
6219
#! $SHELL
7382
6220
# Generated by $as_me.
7383
6221
# Run this file to recreate the current configuration.
7387
6225
debug=false
7388
6226
ac_cs_recheck=false
7389
6227
ac_cs_silent=false
 
6228
 
7390
6229
SHELL=\${CONFIG_SHELL-$SHELL}
7391
 
_ACEOF
7392
 
 
7393
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7394
 
## --------------------- ##
7395
 
## M4sh Initialization.  ##
7396
 
## --------------------- ##
 
6230
export SHELL
 
6231
_ASEOF
 
6232
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
6233
## -------------------- ##
 
6234
## M4sh Initialization. ##
 
6235
## -------------------- ##
7397
6236
 
7398
6237
# Be more Bourne compatible
7399
6238
DUALCASE=1; export DUALCASE # for MKS sh
7400
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
6239
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7401
6240
  emulate sh
7402
6241
  NULLCMD=:
7403
6242
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7405
6244
  alias -g '${1+"$@"}'='"$@"'
7406
6245
  setopt NO_GLOB_SUBST
7407
6246
else
7408
 
  case `(set -o) 2>/dev/null` in
7409
 
  *posix*) set -o posix ;;
 
6247
  case `(set -o) 2>/dev/null` in #(
 
6248
  *posix*) :
 
6249
    set -o posix ;; #(
 
6250
  *) :
 
6251
     ;;
7410
6252
esac
7411
 
 
7412
6253
fi
7413
6254
 
7414
6255
 
7415
 
 
7416
 
 
7417
 
# PATH needs CR
7418
 
# Avoid depending upon Character Ranges.
7419
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7420
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7421
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7422
 
as_cr_digits='0123456789'
7423
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
7424
 
 
7425
6256
as_nl='
7426
6257
'
7427
6258
export as_nl
7429
6260
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7430
6261
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7431
6262
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7432
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6263
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
6264
# but without wasting forks for bash or zsh.
 
6265
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
6266
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6267
  as_echo='print -r --'
 
6268
  as_echo_n='print -rn --'
 
6269
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7433
6270
  as_echo='printf %s\n'
7434
6271
  as_echo_n='printf %s'
7435
6272
else
7440
6277
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7441
6278
    as_echo_n_body='eval
7442
6279
      arg=$1;
7443
 
      case $arg in
 
6280
      case $arg in #(
7444
6281
      *"$as_nl"*)
7445
6282
        expr "X$arg" : "X\\(.*\\)$as_nl";
7446
6283
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7463
6300
  }
7464
6301
fi
7465
6302
 
7466
 
# Support unset when possible.
7467
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7468
 
  as_unset=unset
7469
 
else
7470
 
  as_unset=false
7471
 
fi
7472
 
 
7473
6303
 
7474
6304
# IFS
7475
6305
# We need space, tab and new line, in precisely that order.  Quoting is
7479
6309
IFS=" ""        $as_nl"
7480
6310
 
7481
6311
# Find who we are.  Look in the path if we contain no directory separator.
7482
 
case $0 in
 
6312
case $0 in #((
7483
6313
  *[\\/]* ) as_myself=$0 ;;
7484
6314
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485
6315
for as_dir in $PATH
7486
6316
do
7487
6317
  IFS=$as_save_IFS
7488
6318
  test -z "$as_dir" && as_dir=.
7489
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7490
 
done
 
6319
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
6320
  done
7491
6321
IFS=$as_save_IFS
7492
6322
 
7493
6323
     ;;
7499
6329
fi
7500
6330
if test ! -f "$as_myself"; then
7501
6331
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7502
 
  { (exit 1); exit 1; }
 
6332
  exit 1
7503
6333
fi
7504
6334
 
7505
 
# Work around bugs in pre-3.0 UWIN ksh.
7506
 
for as_var in ENV MAIL MAILPATH
7507
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
6335
# Unset variables that we do not need and which cause bugs (e.g. in
 
6336
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
6337
# suppresses any "Segmentation fault" message there.  '((' could
 
6338
# trigger a bug in pdksh 5.2.14.
 
6339
for as_var in BASH_ENV ENV MAIL MAILPATH
 
6340
do eval test x\${$as_var+set} = xset \
 
6341
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7508
6342
done
7509
6343
PS1='$ '
7510
6344
PS2='> '
7516
6350
LANGUAGE=C
7517
6351
export LANGUAGE
7518
6352
 
7519
 
# Required to use basename.
 
6353
# CDPATH.
 
6354
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
6355
 
 
6356
 
 
6357
# as_fn_error ERROR [LINENO LOG_FD]
 
6358
# ---------------------------------
 
6359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
6360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
6361
# script with status $?, using 1 if that was 0.
 
6362
as_fn_error ()
 
6363
{
 
6364
  as_status=$?; test $as_status -eq 0 && as_status=1
 
6365
  if test "$3"; then
 
6366
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
6367
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
6368
  fi
 
6369
  $as_echo "$as_me: error: $1" >&2
 
6370
  as_fn_exit $as_status
 
6371
} # as_fn_error
 
6372
 
 
6373
 
 
6374
# as_fn_set_status STATUS
 
6375
# -----------------------
 
6376
# Set $? to STATUS, without forking.
 
6377
as_fn_set_status ()
 
6378
{
 
6379
  return $1
 
6380
} # as_fn_set_status
 
6381
 
 
6382
# as_fn_exit STATUS
 
6383
# -----------------
 
6384
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
6385
as_fn_exit ()
 
6386
{
 
6387
  set +e
 
6388
  as_fn_set_status $1
 
6389
  exit $1
 
6390
} # as_fn_exit
 
6391
 
 
6392
# as_fn_unset VAR
 
6393
# ---------------
 
6394
# Portably unset VAR.
 
6395
as_fn_unset ()
 
6396
{
 
6397
  { eval $1=; unset $1;}
 
6398
}
 
6399
as_unset=as_fn_unset
 
6400
# as_fn_append VAR VALUE
 
6401
# ----------------------
 
6402
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
6403
# advantage of any shell optimizations that allow amortized linear growth over
 
6404
# repeated appends, instead of the typical quadratic growth present in naive
 
6405
# implementations.
 
6406
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
6407
  eval 'as_fn_append ()
 
6408
  {
 
6409
    eval $1+=\$2
 
6410
  }'
 
6411
else
 
6412
  as_fn_append ()
 
6413
  {
 
6414
    eval $1=\$$1\$2
 
6415
  }
 
6416
fi # as_fn_append
 
6417
 
 
6418
# as_fn_arith ARG...
 
6419
# ------------------
 
6420
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
6421
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
6422
# must be portable across $(()) and expr.
 
6423
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
6424
  eval 'as_fn_arith ()
 
6425
  {
 
6426
    as_val=$(( $* ))
 
6427
  }'
 
6428
else
 
6429
  as_fn_arith ()
 
6430
  {
 
6431
    as_val=`expr "$@" || test $? -eq 1`
 
6432
  }
 
6433
fi # as_fn_arith
 
6434
 
 
6435
 
7520
6436
if expr a : '\(a\)' >/dev/null 2>&1 &&
7521
6437
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7522
6438
  as_expr=expr
7530
6446
  as_basename=false
7531
6447
fi
7532
6448
 
 
6449
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
6450
  as_dirname=dirname
 
6451
else
 
6452
  as_dirname=false
 
6453
fi
7533
6454
 
7534
 
# Name of the executable.
7535
6455
as_me=`$as_basename -- "$0" ||
7536
6456
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7537
6457
         X"$0" : 'X\(//\)$' \| \
7551
6471
          }
7552
6472
          s/.*/./; q'`
7553
6473
 
7554
 
# CDPATH.
7555
 
$as_unset CDPATH
7556
 
 
7557
 
 
7558
 
 
7559
 
  as_lineno_1=$LINENO
7560
 
  as_lineno_2=$LINENO
7561
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
7562
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7563
 
 
7564
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7565
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
7566
 
  # line-number line after each line using $LINENO; the second 'sed'
7567
 
  # does the real work.  The second script uses 'N' to pair each
7568
 
  # line-number line with the line containing $LINENO, and appends
7569
 
  # trailing '-' during substitution so that $LINENO is not a special
7570
 
  # case at line end.
7571
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7572
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
7573
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
7574
 
  sed -n '
7575
 
    p
7576
 
    /[$]LINENO/=
7577
 
  ' <$as_myself |
7578
 
    sed '
7579
 
      s/[$]LINENO.*/&-/
7580
 
      t lineno
7581
 
      b
7582
 
      :lineno
7583
 
      N
7584
 
      :loop
7585
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7586
 
      t loop
7587
 
      s/-\n.*//
7588
 
    ' >$as_me.lineno &&
7589
 
  chmod +x "$as_me.lineno" ||
7590
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7591
 
   { (exit 1); exit 1; }; }
7592
 
 
7593
 
  # Don't try to exec as it changes $[0], causing all sort of problems
7594
 
  # (the dirname of $[0] is not the place where we might find the
7595
 
  # original and so on.  Autoconf is especially sensitive to this).
7596
 
  . "./$as_me.lineno"
7597
 
  # Exit status is that of the last command.
7598
 
  exit
7599
 
}
7600
 
 
7601
 
 
7602
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7603
 
  as_dirname=dirname
7604
 
else
7605
 
  as_dirname=false
7606
 
fi
 
6474
# Avoid depending upon Character Ranges.
 
6475
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
6476
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
6477
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
6478
as_cr_digits='0123456789'
 
6479
as_cr_alnum=$as_cr_Letters$as_cr_digits
7607
6480
 
7608
6481
ECHO_C= ECHO_N= ECHO_T=
7609
 
case `echo -n x` in
 
6482
case `echo -n x` in #(((((
7610
6483
-n*)
7611
 
  case `echo 'x\c'` in
 
6484
  case `echo 'xy\c'` in
7612
6485
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
7613
 
  *)   ECHO_C='\c';;
 
6486
  xy)  ECHO_C='\c';;
 
6487
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
6488
       ECHO_T=' ';;
7614
6489
  esac;;
7615
6490
*)
7616
6491
  ECHO_N='-n';;
7617
6492
esac
7618
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
7619
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7620
 
  as_expr=expr
7621
 
else
7622
 
  as_expr=false
7623
 
fi
7624
6493
 
7625
6494
rm -f conf$$ conf$$.exe conf$$.file
7626
6495
if test -d conf$$.dir; then
7649
6518
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7650
6519
rmdir conf$$.dir 2>/dev/null
7651
6520
 
 
6521
 
 
6522
# as_fn_mkdir_p
 
6523
# -------------
 
6524
# Create "$as_dir" as a directory, including parents if necessary.
 
6525
as_fn_mkdir_p ()
 
6526
{
 
6527
 
 
6528
  case $as_dir in #(
 
6529
  -*) as_dir=./$as_dir;;
 
6530
  esac
 
6531
  test -d "$as_dir" || eval $as_mkdir_p || {
 
6532
    as_dirs=
 
6533
    while :; do
 
6534
      case $as_dir in #(
 
6535
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
6536
      *) as_qdir=$as_dir;;
 
6537
      esac
 
6538
      as_dirs="'$as_qdir' $as_dirs"
 
6539
      as_dir=`$as_dirname -- "$as_dir" ||
 
6540
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6541
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6542
         X"$as_dir" : 'X\(//\)$' \| \
 
6543
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
6544
$as_echo X"$as_dir" |
 
6545
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6546
            s//\1/
 
6547
            q
 
6548
          }
 
6549
          /^X\(\/\/\)[^/].*/{
 
6550
            s//\1/
 
6551
            q
 
6552
          }
 
6553
          /^X\(\/\/\)$/{
 
6554
            s//\1/
 
6555
            q
 
6556
          }
 
6557
          /^X\(\/\).*/{
 
6558
            s//\1/
 
6559
            q
 
6560
          }
 
6561
          s/.*/./; q'`
 
6562
      test -d "$as_dir" && break
 
6563
    done
 
6564
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
6565
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
6566
 
 
6567
 
 
6568
} # as_fn_mkdir_p
7652
6569
if mkdir -p . 2>/dev/null; then
7653
 
  as_mkdir_p=:
 
6570
  as_mkdir_p='mkdir -p "$as_dir"'
7654
6571
else
7655
6572
  test -d ./-p && rmdir ./-p
7656
6573
  as_mkdir_p=false
7669
6586
      if test -d "$1"; then
7670
6587
        test -d "$1/.";
7671
6588
      else
7672
 
        case $1 in
 
6589
        case $1 in #(
7673
6590
        -*)set "./$1";;
7674
6591
        esac;
7675
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
6592
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7676
6593
        ???[sx]*):;;*)false;;esac;fi
7677
6594
    '\'' sh
7678
6595
  '
7687
6604
 
7688
6605
 
7689
6606
exec 6>&1
 
6607
## ----------------------------------- ##
 
6608
## Main body of $CONFIG_STATUS script. ##
 
6609
## ----------------------------------- ##
 
6610
_ASEOF
 
6611
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7690
6612
 
7691
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
6613
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6614
# Save the log message, to keep $0 and so on meaningful, and to
7692
6615
# report actual input values of CONFIG_FILES etc. instead of their
7693
6616
# values after options handling.
7694
6617
ac_log="
7695
 
This file was extended by alacarte $as_me 0.12.4, which was
7696
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
6618
This file was extended by alacarte $as_me 0.13.1, which was
 
6619
generated by GNU Autoconf 2.65.  Invocation command line was
7697
6620
 
7698
6621
  CONFIG_FILES    = $CONFIG_FILES
7699
6622
  CONFIG_HEADERS  = $CONFIG_HEADERS
7725
6648
 
7726
6649
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7727
6650
ac_cs_usage="\
7728
 
\`$as_me' instantiates files from templates according to the
7729
 
current configuration.
 
6651
\`$as_me' instantiates files and other configuration actions
 
6652
from templates according to the current configuration.  Unless the files
 
6653
and actions are specified as TAGs, all are instantiated by default.
7730
6654
 
7731
 
Usage: $0 [OPTION]... [FILE]...
 
6655
Usage: $0 [OPTION]... [TAG]...
7732
6656
 
7733
6657
  -h, --help       print this help, then exit
7734
6658
  -V, --version    print version number and configuration settings, then exit
 
6659
      --config     print configuration, then exit
7735
6660
  -q, --quiet, --silent
7736
6661
                   do not print progress messages
7737
6662
  -d, --debug      don't remove temporary files
7750
6675
Configuration commands:
7751
6676
$config_commands
7752
6677
 
7753
 
Report bugs to <bug-autoconf@gnu.org>."
 
6678
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte>."
7754
6679
 
7755
6680
_ACEOF
7756
6681
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6682
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7757
6683
ac_cs_version="\\
7758
 
alacarte config.status 0.12.4
7759
 
configured by $0, generated by GNU Autoconf 2.63,
7760
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
6684
alacarte config.status 0.13.1
 
6685
configured by $0, generated by GNU Autoconf 2.65,
 
6686
  with options \\"\$ac_cs_config\\"
7761
6687
 
7762
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
6688
Copyright (C) 2009 Free Software Foundation, Inc.
7763
6689
This config.status script is free software; the Free Software Foundation
7764
6690
gives unlimited permission to copy, distribute and modify it."
7765
6691
 
7795
6721
    ac_cs_recheck=: ;;
7796
6722
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7797
6723
    $as_echo "$ac_cs_version"; exit ;;
 
6724
  --config | --confi | --conf | --con | --co | --c )
 
6725
    $as_echo "$ac_cs_config"; exit ;;
7798
6726
  --debug | --debu | --deb | --de | --d | -d )
7799
6727
    debug=: ;;
7800
6728
  --file | --fil | --fi | --f )
7802
6730
    case $ac_optarg in
7803
6731
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7804
6732
    esac
7805
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
6733
    as_fn_append CONFIG_FILES " '$ac_optarg'"
7806
6734
    ac_need_defaults=false;;
7807
6735
  --header | --heade | --head | --hea )
7808
6736
    $ac_shift
7809
6737
    case $ac_optarg in
7810
6738
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7811
6739
    esac
7812
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
6740
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7813
6741
    ac_need_defaults=false;;
7814
6742
  --he | --h)
7815
6743
    # Conflict between --help and --header
7816
 
    { $as_echo "$as_me: error: ambiguous option: $1
7817
 
Try \`$0 --help' for more information." >&2
7818
 
   { (exit 1); exit 1; }; };;
 
6744
    as_fn_error "ambiguous option: \`$1'
 
6745
Try \`$0 --help' for more information.";;
7819
6746
  --help | --hel | -h )
7820
6747
    $as_echo "$ac_cs_usage"; exit ;;
7821
6748
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7823
6750
    ac_cs_silent=: ;;
7824
6751
 
7825
6752
  # This is an error.
7826
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
7827
 
Try \`$0 --help' for more information." >&2
7828
 
   { (exit 1); exit 1; }; } ;;
 
6753
  -*) as_fn_error "unrecognized option: \`$1'
 
6754
Try \`$0 --help' for more information." ;;
7829
6755
 
7830
 
  *) ac_config_targets="$ac_config_targets $1"
 
6756
  *) as_fn_append ac_config_targets " $1"
7831
6757
     ac_need_defaults=false ;;
7832
6758
 
7833
6759
  esac
7890
6816
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
7891
6817
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
7892
6818
 
7893
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7894
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7895
 
   { (exit 1); exit 1; }; };;
 
6819
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7896
6820
  esac
7897
6821
done
7898
6822
 
7919
6843
  trap 'exit_status=$?
7920
6844
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7921
6845
' 0
7922
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
6846
  trap 'as_fn_exit 1' 1 2 13 15
7923
6847
}
7924
6848
# Create a (secure) tmp directory for tmp files.
7925
6849
 
7930
6854
{
7931
6855
  tmp=./conf$$-$RANDOM
7932
6856
  (umask 077 && mkdir "$tmp")
7933
 
} ||
7934
 
{
7935
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
7936
 
   { (exit 1); exit 1; }
7937
 
}
 
6857
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
7938
6858
 
7939
6859
# Set up the scripts for CONFIG_FILES section.
7940
6860
# No need to generate them if there are no CONFIG_FILES.
7942
6862
if test -n "$CONFIG_FILES"; then
7943
6863
 
7944
6864
 
7945
 
ac_cr='
 
 
b"'"
 
6865
ac_cr=`echo X | tr X '\015'`
 
6866
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
6867
# But we know of no other shell where ac_cr would be empty at this
 
6868
# point, so we can use a bashism as a fallback.
 
6869
if test "x$ac_cr" = x; then
 
6870
  eval ac_cr=\$\'\\r\'
 
6871
fi
7946
6872
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7947
6873
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7948
 
  ac_cs_awk_cr='\\r'
 
6874
  ac_cs_awk_cr='\r'
7949
6875
else
7950
6876
  ac_cs_awk_cr=$ac_cr
7951
6877
fi
7959
6885
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7960
6886
  echo "_ACEOF"
7961
6887
} >conf$$subs.sh ||
7962
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7963
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7964
 
   { (exit 1); exit 1; }; }
 
6888
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
7965
6889
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7966
6890
ac_delim='%!_!# '
7967
6891
for ac_last_try in false false false false false :; do
7968
6892
  . ./conf$$subs.sh ||
7969
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7970
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7971
 
   { (exit 1); exit 1; }; }
 
6893
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
7972
6894
 
7973
6895
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7974
6896
  if test $ac_delim_n = $ac_delim_num; then
7975
6897
    break
7976
6898
  elif $ac_last_try; then
7977
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7978
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7979
 
   { (exit 1); exit 1; }; }
 
6899
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
7980
6900
  else
7981
6901
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7982
6902
  fi
7998
6918
t delim
7999
6919
:nl
8000
6920
h
8001
 
s/\(.\{148\}\).*/\1/
 
6921
s/\(.\{148\}\)..*/\1/
8002
6922
t more1
8003
6923
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8004
6924
p
8012
6932
t nl
8013
6933
:delim
8014
6934
h
8015
 
s/\(.\{148\}\).*/\1/
 
6935
s/\(.\{148\}\)..*/\1/
8016
6936
t more2
8017
6937
s/["\\]/\\&/g; s/^/"/; s/$/"/
8018
6938
p
8065
6985
else
8066
6986
  cat
8067
6987
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8068
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
8069
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
8070
 
   { (exit 1); exit 1; }; }
 
6988
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
8071
6989
_ACEOF
8072
6990
 
8073
6991
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8108
7026
  if test -z "$ac_t"; then
8109
7027
    break
8110
7028
  elif $ac_last_try; then
8111
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
8112
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
8113
 
   { (exit 1); exit 1; }; }
 
7029
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
8114
7030
  else
8115
7031
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8116
7032
  fi
8195
7111
_ACAWK
8196
7112
_ACEOF
8197
7113
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8198
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
8199
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
8200
 
   { (exit 1); exit 1; }; }
 
7114
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
8201
7115
fi # test -n "$CONFIG_HEADERS"
8202
7116
 
8203
7117
 
8210
7124
  esac
8211
7125
  case $ac_mode$ac_tag in
8212
7126
  :[FHL]*:*);;
8213
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
8214
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
8215
 
   { (exit 1); exit 1; }; };;
 
7127
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
8216
7128
  :[FH]-) ac_tag=-:-;;
8217
7129
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8218
7130
  esac
8240
7152
           [\\/$]*) false;;
8241
7153
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8242
7154
           esac ||
8243
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8244
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8245
 
   { (exit 1); exit 1; }; };;
 
7155
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8246
7156
      esac
8247
7157
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8248
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
7158
      as_fn_append ac_file_inputs " '$ac_f'"
8249
7159
    done
8250
7160
 
8251
7161
    # Let's still pretend it is `configure' which instantiates (i.e., don't
8256
7166
        `' by configure.'
8257
7167
    if test x"$ac_file" != x-; then
8258
7168
      configure_input="$ac_file.  $configure_input"
8259
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
7169
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8260
7170
$as_echo "$as_me: creating $ac_file" >&6;}
8261
7171
    fi
8262
7172
    # Neutralize special characters interpreted by sed in replacement strings.
8269
7179
 
8270
7180
    case $ac_tag in
8271
7181
    *:-:* | *:-) cat >"$tmp/stdin" \
8272
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8273
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8274
 
   { (exit 1); exit 1; }; } ;;
 
7182
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
8275
7183
    esac
8276
7184
    ;;
8277
7185
  esac
8299
7207
            q
8300
7208
          }
8301
7209
          s/.*/./; q'`
8302
 
  { as_dir="$ac_dir"
8303
 
  case $as_dir in #(
8304
 
  -*) as_dir=./$as_dir;;
8305
 
  esac
8306
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8307
 
    as_dirs=
8308
 
    while :; do
8309
 
      case $as_dir in #(
8310
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8311
 
      *) as_qdir=$as_dir;;
8312
 
      esac
8313
 
      as_dirs="'$as_qdir' $as_dirs"
8314
 
      as_dir=`$as_dirname -- "$as_dir" ||
8315
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8316
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
8317
 
         X"$as_dir" : 'X\(//\)$' \| \
8318
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8319
 
$as_echo X"$as_dir" |
8320
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8321
 
            s//\1/
8322
 
            q
8323
 
          }
8324
 
          /^X\(\/\/\)[^/].*/{
8325
 
            s//\1/
8326
 
            q
8327
 
          }
8328
 
          /^X\(\/\/\)$/{
8329
 
            s//\1/
8330
 
            q
8331
 
          }
8332
 
          /^X\(\/\).*/{
8333
 
            s//\1/
8334
 
            q
8335
 
          }
8336
 
          s/.*/./; q'`
8337
 
      test -d "$as_dir" && break
8338
 
    done
8339
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
8340
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8341
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8342
 
   { (exit 1); exit 1; }; }; }
 
7210
  as_dir="$ac_dir"; as_fn_mkdir_p
8343
7211
  ac_builddir=.
8344
7212
 
8345
7213
case "$ac_dir" in
8396
7264
# If the template does not know about datarootdir, expand it.
8397
7265
# FIXME: This hack should be removed a few years after 2.60.
8398
7266
ac_datarootdir_hack=; ac_datarootdir_seen=
8399
 
 
8400
7267
ac_sed_dataroot='
8401
7268
/datarootdir/ {
8402
7269
  p
8406
7273
/@docdir@/p
8407
7274
/@infodir@/p
8408
7275
/@localedir@/p
8409
 
/@mandir@/p
8410
 
'
 
7276
/@mandir@/p'
8411
7277
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8412
7278
*datarootdir*) ac_datarootdir_seen=yes;;
8413
7279
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8414
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
7280
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8415
7281
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8416
7282
_ACEOF
8417
7283
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8421
7287
  s&@infodir@&$infodir&g
8422
7288
  s&@localedir@&$localedir&g
8423
7289
  s&@mandir@&$mandir&g
8424
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
7290
  s&\\\${datarootdir}&$datarootdir&g' ;;
8425
7291
esac
8426
7292
_ACEOF
8427
7293
 
8450
7316
$ac_datarootdir_hack
8451
7317
"
8452
7318
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8453
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8454
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8455
 
   { (exit 1); exit 1; }; }
 
7319
  || as_fn_error "could not create $ac_file" "$LINENO" 5
8456
7320
 
8457
7321
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8458
7322
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8459
7323
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8460
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
7324
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8461
7325
which seems to be undefined.  Please make sure it is defined." >&5
8462
7326
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8463
7327
which seems to be undefined.  Please make sure it is defined." >&2;}
8467
7331
  -) cat "$tmp/out" && rm -f "$tmp/out";;
8468
7332
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8469
7333
  esac \
8470
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8471
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8472
 
   { (exit 1); exit 1; }; }
 
7334
  || as_fn_error "could not create $ac_file" "$LINENO" 5
8473
7335
 ;;
8474
7336
  :H)
8475
7337
  #
8480
7342
      $as_echo "/* $configure_input  */" \
8481
7343
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8482
7344
    } >"$tmp/config.h" \
8483
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8484
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8485
 
   { (exit 1); exit 1; }; }
 
7345
      || as_fn_error "could not create $ac_file" "$LINENO" 5
8486
7346
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8487
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
7347
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8488
7348
$as_echo "$as_me: $ac_file is unchanged" >&6;}
8489
7349
    else
8490
7350
      rm -f "$ac_file"
8491
7351
      mv "$tmp/config.h" "$ac_file" \
8492
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8493
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8494
 
   { (exit 1); exit 1; }; }
 
7352
        || as_fn_error "could not create $ac_file" "$LINENO" 5
8495
7353
    fi
8496
7354
  else
8497
7355
    $as_echo "/* $configure_input  */" \
8498
7356
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8499
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
8500
 
$as_echo "$as_me: error: could not create -" >&2;}
8501
 
   { (exit 1); exit 1; }; }
 
7357
      || as_fn_error "could not create -" "$LINENO" 5
8502
7358
  fi
8503
7359
# Compute "$ac_file"'s index in $config_headers.
8504
7360
_am_arg="$ac_file"
8536
7392
          s/.*/./; q'`/stamp-h$_am_stamp_count
8537
7393
 ;;
8538
7394
 
8539
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
7395
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8540
7396
$as_echo "$as_me: executing $ac_file commands" >&6;}
8541
7397
 ;;
8542
7398
  esac
8631
7487
            q
8632
7488
          }
8633
7489
          s/.*/./; q'`
8634
 
      { as_dir=$dirpart/$fdir
8635
 
  case $as_dir in #(
8636
 
  -*) as_dir=./$as_dir;;
8637
 
  esac
8638
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8639
 
    as_dirs=
8640
 
    while :; do
8641
 
      case $as_dir in #(
8642
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8643
 
      *) as_qdir=$as_dir;;
8644
 
      esac
8645
 
      as_dirs="'$as_qdir' $as_dirs"
8646
 
      as_dir=`$as_dirname -- "$as_dir" ||
8647
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8648
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
8649
 
         X"$as_dir" : 'X\(//\)$' \| \
8650
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8651
 
$as_echo X"$as_dir" |
8652
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8653
 
            s//\1/
8654
 
            q
8655
 
          }
8656
 
          /^X\(\/\/\)[^/].*/{
8657
 
            s//\1/
8658
 
            q
8659
 
          }
8660
 
          /^X\(\/\/\)$/{
8661
 
            s//\1/
8662
 
            q
8663
 
          }
8664
 
          /^X\(\/\).*/{
8665
 
            s//\1/
8666
 
            q
8667
 
          }
8668
 
          s/.*/./; q'`
8669
 
      test -d "$as_dir" && break
8670
 
    done
8671
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
8672
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8673
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8674
 
   { (exit 1); exit 1; }; }; }
 
7490
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
8675
7491
      # echo "creating $dirpart/$file"
8676
7492
      echo '# dummy' > "$dirpart/$file"
8677
7493
    done
8683
7499
      esac ;;
8684
7500
    "po/stamp-it":C)
8685
7501
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
8686
 
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
8687
 
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
8688
 
   { (exit 1); exit 1; }; }
 
7502
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
8689
7503
    fi
8690
7504
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
8691
7505
    >"po/stamp-it.tmp"
8708
7522
done # for ac_tag
8709
7523
 
8710
7524
 
8711
 
{ (exit 0); exit 0; }
 
7525
as_fn_exit 0
8712
7526
_ACEOF
8713
 
chmod +x $CONFIG_STATUS
8714
7527
ac_clean_files=$ac_clean_files_save
8715
7528
 
8716
7529
test $ac_write_fail = 0 ||
8717
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
8718
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
8719
 
   { (exit 1); exit 1; }; }
 
7530
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
8720
7531
 
8721
7532
 
8722
7533
# configure is writing to config.log, and then calls config.status.
8737
7548
  exec 5>>config.log
8738
7549
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8739
7550
  # would make configure fail if this is the last instruction.
8740
 
  $ac_cs_success || { (exit 1); exit 1; }
 
7551
  $ac_cs_success || as_fn_exit $?
8741
7552
fi
8742
7553
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8743
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
7554
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8744
7555
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8745
7556
fi
8746
7557