~ubuntu-branches/ubuntu/precise/virt-manager/precise-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Marc Deslauriers
  • Date: 2011-02-03 10:35:22 UTC
  • mfrom: (2.3.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20110203103522-j8and6dsy3taczbj
Tags: 0.8.6-1ubuntu1
* Merge from debian experimental. Remaining changes:
  - Depend on python-appindicator for appindicator support.
  - Add a /usr/share/pixmaps/virt-manager-icon.svg symlink to link icon to
    where the Application Indicator can find it.
  - Add patch da_l10n.patch since it is not integrated. (refreshed)
  - Add patch show_session_or_system_in_console to make the overview
    screen show which local qemu session you're connected to. (refreshed)
  - Add patch more_helpful_error_message to explain to the user why he
    can't connect to qemu:///system and what he can do fix it.
  - Add patch qemu-system-by-default to automatically add qemu:///system
    to the list of hypervisors if the user has write access to the UNIX
    socket.
  - Drop patchsys-quilt include since dpkg-source does the quilt dance for
    us.
  - debian/control: lower libvirt-bin from Recommends to Suggests; seems
    some users (like netbooks) want to manage VMs, but not host them; see
    meta packages (ubuntu-virt, ubuntu-virt-server, ubuntu-virt-mgmt) for
    group installation of virt package sets.
* Removed patches:
  - debian/patches/custom-icon-installation.patch: Upstream.
  - debian/patches/remove-appindicator-workarounds.patch: Upstream.
  - debian/patches/fix-nc-with-zsh.patch: Upstream
* Removed python-ipy dependency as it is in universe:
  - debian/control: remove python-ipy from Depends
  - debian/series: disable 0002-Use-IPy-from-python-ipy.patch patch so
    we use the one that's included in the virt-manager source.
  - debian/rules: don't delete the IPy file.
* debian/patches/fix-cpu-wrong-types.patch: fix "value is of wrong type
  for this column" error by making sure we are using strings in
  src/virtManager/details.py.
* debian/patches/dont-always-launch-consoles.patch: Don't always launch
  consoles for running domains in src/virtManager/manager.py.

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 virt-manager 0.8.4.
 
3
# Generated by GNU Autoconf 2.66 for virt-manager 0.8.6.
 
4
#
4
5
#
5
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# Foundation, Inc.
 
9
#
 
10
#
7
11
# This configure script is free software; the Free Software Foundation
8
12
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
12
16
 
13
17
# Be more Bourne compatible
14
18
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
20
  emulate sh
17
21
  NULLCMD=:
18
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
24
  alias -g '${1+"$@"}'='"$@"'
21
25
  setopt NO_GLOB_SUBST
22
26
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
25
32
esac
26
 
 
27
33
fi
28
34
 
29
35
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
36
as_nl='
41
37
'
42
38
export as_nl
44
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
50
  as_echo='printf %s\n'
49
51
  as_echo_n='printf %s'
50
52
else
55
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
58
    as_echo_n_body='eval
57
59
      arg=$1;
58
 
      case $arg in
 
60
      case $arg in #(
59
61
      *"$as_nl"*)
60
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78
80
  }
79
81
fi
80
82
 
81
 
# Support unset when possible.
82
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
 
  as_unset=unset
84
 
else
85
 
  as_unset=false
86
 
fi
87
 
 
88
83
 
89
84
# IFS
90
85
# We need space, tab and new line, in precisely that order.  Quoting is
94
89
IFS=" ""        $as_nl"
95
90
 
96
91
# Find who we are.  Look in the path if we contain no directory separator.
97
 
case $0 in
 
92
case $0 in #((
98
93
  *[\\/]* ) as_myself=$0 ;;
99
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
95
for as_dir in $PATH
101
96
do
102
97
  IFS=$as_save_IFS
103
98
  test -z "$as_dir" && as_dir=.
104
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
 
done
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
106
101
IFS=$as_save_IFS
107
102
 
108
103
     ;;
114
109
fi
115
110
if test ! -f "$as_myself"; then
116
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
 
  { (exit 1); exit 1; }
 
112
  exit 1
118
113
fi
119
114
 
120
 
# Work around bugs in pre-3.0 UWIN ksh.
121
 
for as_var in ENV MAIL MAILPATH
122
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
 
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
117
# suppresses any "Segmentation fault" message there.  '((' could
 
118
# trigger a bug in pdksh 5.2.14.
 
119
for as_var in BASH_ENV ENV MAIL MAILPATH
 
120
do eval test x\${$as_var+set} = xset \
 
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
122
done
124
123
PS1='$ '
125
124
PS2='> '
131
130
LANGUAGE=C
132
131
export LANGUAGE
133
132
 
134
 
# Required to use basename.
135
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137
 
  as_expr=expr
138
 
else
139
 
  as_expr=false
140
 
fi
141
 
 
142
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143
 
  as_basename=basename
144
 
else
145
 
  as_basename=false
146
 
fi
147
 
 
148
 
 
149
 
# Name of the executable.
150
 
as_me=`$as_basename -- "$0" ||
151
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
 
         X"$0" : 'X\(//\)$' \| \
153
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154
 
$as_echo X/"$0" |
155
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
156
 
            s//\1/
157
 
            q
158
 
          }
159
 
          /^X\/\(\/\/\)$/{
160
 
            s//\1/
161
 
            q
162
 
          }
163
 
          /^X\/\(\/\).*/{
164
 
            s//\1/
165
 
            q
166
 
          }
167
 
          s/.*/./; q'`
168
 
 
169
133
# CDPATH.
170
 
$as_unset CDPATH
171
 
 
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
172
135
 
173
136
if test "x$CONFIG_SHELL" = x; then
174
 
  if (eval ":") 2>/dev/null; then
 
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
138
  emulate sh
 
139
  NULLCMD=:
 
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
141
  # is contrary to our usage.  Disable this feature.
 
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
143
  setopt NO_GLOB_SUBST
 
144
else
 
145
  case \`(set -o) 2>/dev/null\` in #(
 
146
  *posix*) :
 
147
    set -o posix ;; #(
 
148
  *) :
 
149
     ;;
 
150
esac
 
151
fi
 
152
"
 
153
  as_required="as_fn_return () { (exit \$1); }
 
154
as_fn_success () { as_fn_return 0; }
 
155
as_fn_failure () { as_fn_return 1; }
 
156
as_fn_ret_success () { return 0; }
 
157
as_fn_ret_failure () { return 1; }
 
158
 
 
159
exitcode=0
 
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
165
 
 
166
else
 
167
  exitcode=1; echo positional parameters were not saved.
 
168
fi
 
169
test x\$exitcode = x0 || exit 1"
 
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
174
test \$(( 1 + 1 )) = 2 || exit 1"
 
175
  if (eval "$as_required") 2>/dev/null; then :
175
176
  as_have_required=yes
176
177
else
177
178
  as_have_required=no
178
179
fi
179
 
 
180
 
  if test $as_have_required = yes &&     (eval ":
181
 
(as_func_return () {
182
 
  (exit \$1)
183
 
}
184
 
as_func_success () {
185
 
  as_func_return 0
186
 
}
187
 
as_func_failure () {
188
 
  as_func_return 1
189
 
}
190
 
as_func_ret_success () {
191
 
  return 0
192
 
}
193
 
as_func_ret_failure () {
194
 
  return 1
195
 
}
196
 
 
197
 
exitcode=0
198
 
if as_func_success; then
199
 
  :
200
 
else
201
 
  exitcode=1
202
 
  echo as_func_success failed.
203
 
fi
204
 
 
205
 
if as_func_failure; then
206
 
  exitcode=1
207
 
  echo as_func_failure succeeded.
208
 
fi
209
 
 
210
 
if as_func_ret_success; then
211
 
  :
212
 
else
213
 
  exitcode=1
214
 
  echo as_func_ret_success failed.
215
 
fi
216
 
 
217
 
if as_func_ret_failure; then
218
 
  exitcode=1
219
 
  echo as_func_ret_failure succeeded.
220
 
fi
221
 
 
222
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223
 
  :
224
 
else
225
 
  exitcode=1
226
 
  echo positional parameters were not saved.
227
 
fi
228
 
 
229
 
test \$exitcode = 0) || { (exit 1); exit 1; }
230
 
 
231
 
(
232
 
  as_lineno_1=\$LINENO
233
 
  as_lineno_2=\$LINENO
234
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
 
") 2> /dev/null; then
237
 
  :
238
 
else
239
 
  as_candidate_shells=
240
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
180
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
181
 
 
182
else
 
183
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
184
as_found=false
241
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242
186
do
243
187
  IFS=$as_save_IFS
244
188
  test -z "$as_dir" && as_dir=.
245
 
  case $as_dir in
 
189
  as_found=:
 
190
  case $as_dir in #(
246
191
         /*)
247
192
           for as_base in sh bash ksh sh5; do
248
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
193
             # Try only shells that exist, to save several forks.
 
194
             as_shell=$as_dir/$as_base
 
195
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
196
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  CONFIG_SHELL=$as_shell as_have_required=yes
 
198
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  break 2
 
200
fi
 
201
fi
249
202
           done;;
250
203
       esac
 
204
  as_found=false
251
205
done
 
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
207
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$SHELL as_have_required=yes
 
209
fi; }
252
210
IFS=$as_save_IFS
253
211
 
254
212
 
255
 
      for as_shell in $as_candidate_shells $SHELL; do
256
 
         # Try only shells that exist, to save several forks.
257
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
259
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
 
  emulate sh
261
 
  NULLCMD=:
262
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
 
  # is contrary to our usage.  Disable this feature.
264
 
  alias -g '${1+"$@"}'='"$@"'
265
 
  setopt NO_GLOB_SUBST
266
 
else
267
 
  case `(set -o) 2>/dev/null` in
268
 
  *posix*) set -o posix ;;
269
 
esac
270
 
 
271
 
fi
272
 
 
273
 
 
274
 
:
275
 
_ASEOF
276
 
}; then
277
 
  CONFIG_SHELL=$as_shell
278
 
               as_have_required=yes
279
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
280
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281
 
  emulate sh
282
 
  NULLCMD=:
283
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
 
  # is contrary to our usage.  Disable this feature.
285
 
  alias -g '${1+"$@"}'='"$@"'
286
 
  setopt NO_GLOB_SUBST
287
 
else
288
 
  case `(set -o) 2>/dev/null` in
289
 
  *posix*) set -o posix ;;
290
 
esac
291
 
 
292
 
fi
293
 
 
294
 
 
295
 
:
296
 
(as_func_return () {
297
 
  (exit $1)
298
 
}
299
 
as_func_success () {
300
 
  as_func_return 0
301
 
}
302
 
as_func_failure () {
303
 
  as_func_return 1
304
 
}
305
 
as_func_ret_success () {
306
 
  return 0
307
 
}
308
 
as_func_ret_failure () {
309
 
  return 1
310
 
}
311
 
 
312
 
exitcode=0
313
 
if as_func_success; then
314
 
  :
315
 
else
316
 
  exitcode=1
317
 
  echo as_func_success failed.
318
 
fi
319
 
 
320
 
if as_func_failure; then
321
 
  exitcode=1
322
 
  echo as_func_failure succeeded.
323
 
fi
324
 
 
325
 
if as_func_ret_success; then
326
 
  :
327
 
else
328
 
  exitcode=1
329
 
  echo as_func_ret_success failed.
330
 
fi
331
 
 
332
 
if as_func_ret_failure; then
333
 
  exitcode=1
334
 
  echo as_func_ret_failure succeeded.
335
 
fi
336
 
 
337
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
338
 
  :
339
 
else
340
 
  exitcode=1
341
 
  echo positional parameters were not saved.
342
 
fi
343
 
 
344
 
test $exitcode = 0) || { (exit 1); exit 1; }
345
 
 
346
 
(
347
 
  as_lineno_1=$LINENO
348
 
  as_lineno_2=$LINENO
349
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
350
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
 
 
352
 
_ASEOF
353
 
}; then
354
 
  break
355
 
fi
356
 
 
357
 
fi
358
 
 
359
 
      done
360
 
 
361
 
      if test "x$CONFIG_SHELL" != x; then
362
 
  for as_var in BASH_ENV ENV
363
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364
 
        done
 
213
      if test "x$CONFIG_SHELL" != x; then :
 
214
  # We cannot yet assume a decent shell, so we have to provide a
 
215
        # neutralization value for shells without unset; and this also
 
216
        # works around shells that cannot unset nonexistent variables.
 
217
        BASH_ENV=/dev/null
 
218
        ENV=/dev/null
 
219
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
220
        export CONFIG_SHELL
366
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367
222
fi
368
223
 
369
 
 
370
 
    if test $as_have_required = no; then
371
 
  echo This script requires a shell more modern than all the
372
 
      echo shells that I found on your system.  Please install a
373
 
      echo modern shell, or manually run the script under such a
374
 
      echo shell if you do have one.
375
 
      { (exit 1); exit 1; }
376
 
fi
377
 
 
378
 
 
379
 
fi
380
 
 
381
 
fi
382
 
 
383
 
 
384
 
 
385
 
(eval "as_func_return () {
386
 
  (exit \$1)
387
 
}
388
 
as_func_success () {
389
 
  as_func_return 0
390
 
}
391
 
as_func_failure () {
392
 
  as_func_return 1
393
 
}
394
 
as_func_ret_success () {
395
 
  return 0
396
 
}
397
 
as_func_ret_failure () {
398
 
  return 1
399
 
}
400
 
 
401
 
exitcode=0
402
 
if as_func_success; then
403
 
  :
404
 
else
405
 
  exitcode=1
406
 
  echo as_func_success failed.
407
 
fi
408
 
 
409
 
if as_func_failure; then
410
 
  exitcode=1
411
 
  echo as_func_failure succeeded.
412
 
fi
413
 
 
414
 
if as_func_ret_success; then
415
 
  :
416
 
else
417
 
  exitcode=1
418
 
  echo as_func_ret_success failed.
419
 
fi
420
 
 
421
 
if as_func_ret_failure; then
422
 
  exitcode=1
423
 
  echo as_func_ret_failure succeeded.
424
 
fi
425
 
 
426
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427
 
  :
428
 
else
429
 
  exitcode=1
430
 
  echo positional parameters were not saved.
431
 
fi
432
 
 
433
 
test \$exitcode = 0") || {
434
 
  echo No shell found that supports shell functions.
435
 
  echo Please tell bug-autoconf@gnu.org about your system,
436
 
  echo including any error possibly output before this message.
437
 
  echo This can help us improve future autoconf versions.
438
 
  echo Configuration will now proceed without shell functions.
439
 
}
440
 
 
441
 
 
442
 
 
443
 
  as_lineno_1=$LINENO
444
 
  as_lineno_2=$LINENO
445
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
446
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
 
 
448
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
450
 
  # line-number line after each line using $LINENO; the second 'sed'
451
 
  # does the real work.  The second script uses 'N' to pair each
452
 
  # line-number line with the line containing $LINENO, and appends
453
 
  # trailing '-' during substitution so that $LINENO is not a special
454
 
  # case at line end.
455
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
224
    if test x$as_have_required = xno; then :
 
225
  $as_echo "$0: This script requires a shell more modern than all"
 
226
  $as_echo "$0: the shells that I found on your system."
 
227
  if test x${ZSH_VERSION+set} = xset ; then
 
228
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
229
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
230
  else
 
231
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
232
$0: including any error possibly output before this
 
233
$0: message. Then install a modern shell, or manually run
 
234
$0: the script under such a shell if you do have one."
 
235
  fi
 
236
  exit 1
 
237
fi
 
238
fi
 
239
fi
 
240
SHELL=${CONFIG_SHELL-/bin/sh}
 
241
export SHELL
 
242
# Unset more variables known to interfere with behavior of common tools.
 
243
CLICOLOR_FORCE= GREP_OPTIONS=
 
244
unset CLICOLOR_FORCE GREP_OPTIONS
 
245
 
 
246
## --------------------- ##
 
247
## M4sh Shell Functions. ##
 
248
## --------------------- ##
 
249
# as_fn_unset VAR
 
250
# ---------------
 
251
# Portably unset VAR.
 
252
as_fn_unset ()
 
253
{
 
254
  { eval $1=; unset $1;}
 
255
}
 
256
as_unset=as_fn_unset
 
257
 
 
258
# as_fn_set_status STATUS
 
259
# -----------------------
 
260
# Set $? to STATUS, without forking.
 
261
as_fn_set_status ()
 
262
{
 
263
  return $1
 
264
} # as_fn_set_status
 
265
 
 
266
# as_fn_exit STATUS
 
267
# -----------------
 
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
269
as_fn_exit ()
 
270
{
 
271
  set +e
 
272
  as_fn_set_status $1
 
273
  exit $1
 
274
} # as_fn_exit
 
275
 
 
276
# as_fn_mkdir_p
 
277
# -------------
 
278
# Create "$as_dir" as a directory, including parents if necessary.
 
279
as_fn_mkdir_p ()
 
280
{
 
281
 
 
282
  case $as_dir in #(
 
283
  -*) as_dir=./$as_dir;;
 
284
  esac
 
285
  test -d "$as_dir" || eval $as_mkdir_p || {
 
286
    as_dirs=
 
287
    while :; do
 
288
      case $as_dir in #(
 
289
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
290
      *) as_qdir=$as_dir;;
 
291
      esac
 
292
      as_dirs="'$as_qdir' $as_dirs"
 
293
      as_dir=`$as_dirname -- "$as_dir" ||
 
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
295
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
296
         X"$as_dir" : 'X\(//\)$' \| \
 
297
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
298
$as_echo X"$as_dir" |
 
299
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
300
            s//\1/
 
301
            q
 
302
          }
 
303
          /^X\(\/\/\)[^/].*/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)$/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\).*/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          s/.*/./; q'`
 
316
      test -d "$as_dir" && break
 
317
    done
 
318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
319
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
320
 
 
321
 
 
322
} # as_fn_mkdir_p
 
323
# as_fn_append VAR VALUE
 
324
# ----------------------
 
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
326
# advantage of any shell optimizations that allow amortized linear growth over
 
327
# repeated appends, instead of the typical quadratic growth present in naive
 
328
# implementations.
 
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
330
  eval 'as_fn_append ()
 
331
  {
 
332
    eval $1+=\$2
 
333
  }'
 
334
else
 
335
  as_fn_append ()
 
336
  {
 
337
    eval $1=\$$1\$2
 
338
  }
 
339
fi # as_fn_append
 
340
 
 
341
# as_fn_arith ARG...
 
342
# ------------------
 
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
345
# must be portable across $(()) and expr.
 
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
347
  eval 'as_fn_arith ()
 
348
  {
 
349
    as_val=$(( $* ))
 
350
  }'
 
351
else
 
352
  as_fn_arith ()
 
353
  {
 
354
    as_val=`expr "$@" || test $? -eq 1`
 
355
  }
 
356
fi # as_fn_arith
 
357
 
 
358
 
 
359
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
360
# ----------------------------------------
 
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
363
# script with STATUS, using 1 if that was 0.
 
364
as_fn_error ()
 
365
{
 
366
  as_status=$1; test $as_status -eq 0 && as_status=1
 
367
  if test "$4"; then
 
368
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
370
  fi
 
371
  $as_echo "$as_me: error: $2" >&2
 
372
  as_fn_exit $as_status
 
373
} # as_fn_error
 
374
 
 
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
376
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
377
  as_expr=expr
 
378
else
 
379
  as_expr=false
 
380
fi
 
381
 
 
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
383
  as_basename=basename
 
384
else
 
385
  as_basename=false
 
386
fi
 
387
 
 
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
389
  as_dirname=dirname
 
390
else
 
391
  as_dirname=false
 
392
fi
 
393
 
 
394
as_me=`$as_basename -- "$0" ||
 
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
396
         X"$0" : 'X\(//\)$' \| \
 
397
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
398
$as_echo X/"$0" |
 
399
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
400
            s//\1/
 
401
            q
 
402
          }
 
403
          /^X\/\(\/\/\)$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\).*/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          s/.*/./; q'`
 
412
 
 
413
# Avoid depending upon Character Ranges.
 
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
417
as_cr_digits='0123456789'
 
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
419
 
 
420
 
 
421
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
422
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
423
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
424
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
425
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
458
426
  sed -n '
459
427
    p
460
428
    /[$]LINENO/=
471
439
      s/-\n.*//
472
440
    ' >$as_me.lineno &&
473
441
  chmod +x "$as_me.lineno" ||
474
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
 
   { (exit 1); exit 1; }; }
 
442
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
476
443
 
477
444
  # Don't try to exec as it changes $[0], causing all sort of problems
478
445
  # (the dirname of $[0] is not the place where we might find the
482
449
  exit
483
450
}
484
451
 
485
 
 
486
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487
 
  as_dirname=dirname
488
 
else
489
 
  as_dirname=false
490
 
fi
491
 
 
492
452
ECHO_C= ECHO_N= ECHO_T=
493
 
case `echo -n x` in
 
453
case `echo -n x` in #(((((
494
454
-n*)
495
 
  case `echo 'x\c'` in
 
455
  case `echo 'xy\c'` in
496
456
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497
 
  *)   ECHO_C='\c';;
 
457
  xy)  ECHO_C='\c';;
 
458
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
459
       ECHO_T=' ';;
498
460
  esac;;
499
461
*)
500
462
  ECHO_N='-n';;
501
463
esac
502
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504
 
  as_expr=expr
505
 
else
506
 
  as_expr=false
507
 
fi
508
464
 
509
465
rm -f conf$$ conf$$.exe conf$$.file
510
466
if test -d conf$$.dir; then
534
490
rmdir conf$$.dir 2>/dev/null
535
491
 
536
492
if mkdir -p . 2>/dev/null; then
537
 
  as_mkdir_p=:
 
493
  as_mkdir_p='mkdir -p "$as_dir"'
538
494
else
539
495
  test -d ./-p && rmdir ./-p
540
496
  as_mkdir_p=false
553
509
      if test -d "$1"; then
554
510
        test -d "$1/.";
555
511
      else
556
 
        case $1 in
 
512
        case $1 in #(
557
513
        -*)set "./$1";;
558
514
        esac;
559
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
515
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560
516
        ???[sx]*):;;*)false;;esac;fi
561
517
    '\'' sh
562
518
  '
570
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
527
 
572
528
 
573
 
 
574
 
exec 7<&0 </dev/null 6>&1
 
529
test -n "$DJDIR" || exec 7<&0 </dev/null
 
530
exec 6>&1
575
531
 
576
532
# Name of the host.
577
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
533
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578
534
# so uname gets run too.
579
535
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580
536
 
589
545
subdirs=
590
546
MFLAGS=
591
547
MAKEFLAGS=
592
 
SHELL=${CONFIG_SHELL-/bin/sh}
593
548
 
594
549
# Identity of this package.
595
550
PACKAGE_NAME='virt-manager'
596
551
PACKAGE_TARNAME='virt-manager'
597
 
PACKAGE_VERSION='0.8.4'
598
 
PACKAGE_STRING='virt-manager 0.8.4'
 
552
PACKAGE_VERSION='0.8.6'
 
553
PACKAGE_STRING='virt-manager 0.8.6'
599
554
PACKAGE_BUGREPORT=''
 
555
PACKAGE_URL=''
600
556
 
601
557
ac_unique_file="src/virt-manager.py.in"
602
558
gt_needs=
604
560
am__EXEEXT_TRUE
605
561
LTLIBOBJS
606
562
LIBOBJS
607
 
SCROLLKEEPER_CONFIG
 
563
INSTALL_TUI_FALSE
 
564
INSTALL_TUI_TRUE
 
565
KVM_PACKAGES
 
566
LIBVIRT_PACKAGES
 
567
PREFERRED_DISTROS
 
568
ENABLE_UNSUPPORTED_RHEL_OPTS
 
569
DEFAULT_QEMU_USER
608
570
VIRTINST_VERSION
609
571
POSUB
610
572
LTLIBINTL
613
575
LTLIBICONV
614
576
LIBICONV
615
577
INTL_MACOSX_LIBS
 
578
EGREP
 
579
GREP
 
580
CPP
616
581
host_os
617
582
host_vendor
618
583
host_cpu
672
637
INTLTOOL_MERGE
673
638
INTLTOOL_UPDATE
674
639
USE_NLS
 
640
MAINT
 
641
MAINTAINER_MODE_FALSE
 
642
MAINTAINER_MODE_TRUE
675
643
am__untar
676
644
am__tar
677
645
AMTAR
725
693
program_transform_name
726
694
prefix
727
695
exec_prefix
 
696
PACKAGE_URL
728
697
PACKAGE_BUGREPORT
729
698
PACKAGE_STRING
730
699
PACKAGE_VERSION
735
704
ac_subst_files=''
736
705
ac_user_opts='
737
706
enable_option_checking
 
707
enable_maintainer_mode
738
708
enable_nls
739
709
enable_dependency_tracking
740
710
with_gnu_ld
741
711
enable_rpath
742
712
with_libiconv_prefix
743
713
with_libintl_prefix
 
714
with_tui
 
715
with_qemu_user
 
716
with_libvirt_package_names
 
717
with_kvm_packages
 
718
enable_unsupported_rhel_options
 
719
with_preferred_distros
744
720
'
745
721
      ac_precious_vars='build_alias
746
722
host_alias
749
725
CFLAGS
750
726
LDFLAGS
751
727
LIBS
752
 
CPPFLAGS'
 
728
CPPFLAGS
 
729
CPP'
753
730
 
754
731
 
755
732
# Initialize some variables set by options.
858
835
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
859
836
    # Reject names that are not valid shell variable names.
860
837
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
861
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
862
 
   { (exit 1); exit 1; }; }
 
838
      as_fn_error $? "invalid feature name: $ac_useropt"
863
839
    ac_useropt_orig=$ac_useropt
864
840
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
865
841
    case $ac_user_opts in
885
861
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
886
862
    # Reject names that are not valid shell variable names.
887
863
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
889
 
   { (exit 1); exit 1; }; }
 
864
      as_fn_error $? "invalid feature name: $ac_useropt"
890
865
    ac_useropt_orig=$ac_useropt
891
866
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892
867
    case $ac_user_opts in
1090
1065
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091
1066
    # Reject names that are not valid shell variable names.
1092
1067
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1094
 
   { (exit 1); exit 1; }; }
 
1068
      as_fn_error $? "invalid package name: $ac_useropt"
1095
1069
    ac_useropt_orig=$ac_useropt
1096
1070
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097
1071
    case $ac_user_opts in
1107
1081
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108
1082
    # Reject names that are not valid shell variable names.
1109
1083
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1111
 
   { (exit 1); exit 1; }; }
 
1084
      as_fn_error $? "invalid package name: $ac_useropt"
1112
1085
    ac_useropt_orig=$ac_useropt
1113
1086
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114
1087
    case $ac_user_opts in
1138
1111
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1139
1112
    x_libraries=$ac_optarg ;;
1140
1113
 
1141
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1142
 
Try \`$0 --help' for more information." >&2
1143
 
   { (exit 1); exit 1; }; }
 
1114
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1115
Try \`$0 --help' for more information"
1144
1116
    ;;
1145
1117
 
1146
1118
  *=*)
1147
1119
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1148
1120
    # Reject names that are not valid shell variable names.
1149
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1150
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1151
 
   { (exit 1); exit 1; }; }
 
1121
    case $ac_envvar in #(
 
1122
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1123
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1124
    esac
1152
1125
    eval $ac_envvar=\$ac_optarg
1153
1126
    export $ac_envvar ;;
1154
1127
 
1165
1138
 
1166
1139
if test -n "$ac_prev"; then
1167
1140
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1168
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1169
 
   { (exit 1); exit 1; }; }
 
1141
  as_fn_error $? "missing argument to $ac_option"
1170
1142
fi
1171
1143
 
1172
1144
if test -n "$ac_unrecognized_opts"; then
1173
1145
  case $enable_option_checking in
1174
1146
    no) ;;
1175
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1176
 
   { (exit 1); exit 1; }; } ;;
 
1147
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1177
1148
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1178
1149
  esac
1179
1150
fi
1196
1167
    [\\/$]* | ?:[\\/]* )  continue;;
1197
1168
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1198
1169
  esac
1199
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1200
 
   { (exit 1); exit 1; }; }
 
1170
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1201
1171
done
1202
1172
 
1203
1173
# There might be people who depend on the old broken behavior: `$host'
1211
1181
if test "x$host_alias" != x; then
1212
1182
  if test "x$build_alias" = x; then
1213
1183
    cross_compiling=maybe
1214
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1215
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1184
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1185
    If a cross compiler is detected then cross compile mode will be used" >&2
1216
1186
  elif test "x$build_alias" != "x$host_alias"; then
1217
1187
    cross_compiling=yes
1218
1188
  fi
1227
1197
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1228
1198
ac_ls_di=`ls -di .` &&
1229
1199
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1230
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1231
 
   { (exit 1); exit 1; }; }
 
1200
  as_fn_error $? "working directory cannot be determined"
1232
1201
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1234
 
   { (exit 1); exit 1; }; }
 
1202
  as_fn_error $? "pwd does not report name of working directory"
1235
1203
 
1236
1204
 
1237
1205
# Find the source files, if location was not specified.
1270
1238
fi
1271
1239
if test ! -r "$srcdir/$ac_unique_file"; then
1272
1240
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1273
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1274
 
   { (exit 1); exit 1; }; }
 
1241
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1275
1242
fi
1276
1243
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1277
1244
ac_abs_confdir=`(
1278
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1279
 
   { (exit 1); exit 1; }; }
 
1245
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1280
1246
        pwd)`
1281
1247
# When building in place, set srcdir=.
1282
1248
if test "$ac_abs_confdir" = "$ac_pwd"; then
1302
1268
  # Omit some internal or obsolete options to make the list less imposing.
1303
1269
  # This message is too long to be a string in the A/UX 3.1 sh.
1304
1270
  cat <<_ACEOF
1305
 
\`configure' configures virt-manager 0.8.4 to adapt to many kinds of systems.
 
1271
\`configure' configures virt-manager 0.8.6 to adapt to many kinds of systems.
1306
1272
 
1307
1273
Usage: $0 [OPTION]... [VAR=VALUE]...
1308
1274
 
1316
1282
      --help=short        display options specific to this package
1317
1283
      --help=recursive    display the short help of all the included packages
1318
1284
  -V, --version           display version information and exit
1319
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1285
  -q, --quiet, --silent   do not print \`checking ...' messages
1320
1286
      --cache-file=FILE   cache test results in FILE [disabled]
1321
1287
  -C, --config-cache      alias for \`--cache-file=config.cache'
1322
1288
  -n, --no-create         do not create output files
1372
1338
 
1373
1339
if test -n "$ac_init_help"; then
1374
1340
  case $ac_init_help in
1375
 
     short | recursive ) echo "Configuration of virt-manager 0.8.4:";;
 
1341
     short | recursive ) echo "Configuration of virt-manager 0.8.6:";;
1376
1342
   esac
1377
1343
  cat <<\_ACEOF
1378
1344
 
1380
1346
  --disable-option-checking  ignore unrecognized --enable/--with options
1381
1347
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1382
1348
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1349
  --disable-maintainer-mode  disable make rules and dependencies not useful
 
1350
                          (and sometimes confusing) to the casual installer
1383
1351
  --disable-nls           do not use Native Language Support
1384
1352
  --disable-dependency-tracking  speeds up one-time build
1385
1353
  --enable-dependency-tracking   do not reject slow dependency extractors
1386
1354
  --disable-rpath         do not hardcode runtime library paths
 
1355
  --enable-unsupported-rhel-options
 
1356
                          enable VM config options unsupported by RHEL
 
1357
                          [default=yes]
1387
1358
 
1388
1359
Optional Packages:
1389
1360
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1393
1364
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1394
1365
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1395
1366
  --without-libintl-prefix     don't search for libintl in includedir and libdir
 
1367
  --with-tui              install virt-manager command line interface
 
1368
                          [default=yes]
 
1369
  --with-qemu-user        user libvirt uses to launch qemu processes
 
1370
                          [default=root]
 
1371
  --with-libvirt-package-names
 
1372
                          name of libvirt distro packages virt-manager will
 
1373
                          check for on first run [default=none]
 
1374
  --with-kvm-packages     recommended kvm packages virt-manager will check for
 
1375
                          on first run [default=none]
 
1376
  --with-preferred-distros
 
1377
                          Distros to list first in New VM wizard
 
1378
                          [default=none]
1396
1379
 
1397
1380
Some influential environment variables:
1398
1381
  CC          C compiler command
1400
1383
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1401
1384
              nonstandard directory <lib dir>
1402
1385
  LIBS        libraries to pass to the linker, e.g. -l<library>
1403
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1386
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1404
1387
              you have headers in a nonstandard directory <include dir>
 
1388
  CPP         C preprocessor
1405
1389
 
1406
1390
Use these variables to override the choices made by `configure' or to help
1407
1391
it to find libraries and programs with nonstandard names/locations.
1408
1392
 
 
1393
Report bugs to the package provider.
1409
1394
_ACEOF
1410
1395
ac_status=$?
1411
1396
fi
1468
1453
test -n "$ac_init_help" && exit $ac_status
1469
1454
if $ac_init_version; then
1470
1455
  cat <<\_ACEOF
1471
 
virt-manager configure 0.8.4
1472
 
generated by GNU Autoconf 2.63
 
1456
virt-manager configure 0.8.6
 
1457
generated by GNU Autoconf 2.66
1473
1458
 
1474
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1475
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1459
Copyright (C) 2010 Free Software Foundation, Inc.
1476
1460
This configure script is free software; the Free Software Foundation
1477
1461
gives unlimited permission to copy, distribute and modify it.
1478
1462
_ACEOF
1479
1463
  exit
1480
1464
fi
 
1465
 
 
1466
## ------------------------ ##
 
1467
## Autoconf initialization. ##
 
1468
## ------------------------ ##
 
1469
 
 
1470
# ac_fn_c_try_compile LINENO
 
1471
# --------------------------
 
1472
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1473
ac_fn_c_try_compile ()
 
1474
{
 
1475
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1476
  rm -f conftest.$ac_objext
 
1477
  if { { ac_try="$ac_compile"
 
1478
case "(($ac_try" in
 
1479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1480
  *) ac_try_echo=$ac_try;;
 
1481
esac
 
1482
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1483
$as_echo "$ac_try_echo"; } >&5
 
1484
  (eval "$ac_compile") 2>conftest.err
 
1485
  ac_status=$?
 
1486
  if test -s conftest.err; then
 
1487
    grep -v '^ *+' conftest.err >conftest.er1
 
1488
    cat conftest.er1 >&5
 
1489
    mv -f conftest.er1 conftest.err
 
1490
  fi
 
1491
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1492
  test $ac_status = 0; } && {
 
1493
         test -z "$ac_c_werror_flag" ||
 
1494
         test ! -s conftest.err
 
1495
       } && test -s conftest.$ac_objext; then :
 
1496
  ac_retval=0
 
1497
else
 
1498
  $as_echo "$as_me: failed program was:" >&5
 
1499
sed 's/^/| /' conftest.$ac_ext >&5
 
1500
 
 
1501
        ac_retval=1
 
1502
fi
 
1503
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1504
  as_fn_set_status $ac_retval
 
1505
 
 
1506
} # ac_fn_c_try_compile
 
1507
 
 
1508
# ac_fn_c_try_link LINENO
 
1509
# -----------------------
 
1510
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1511
ac_fn_c_try_link ()
 
1512
{
 
1513
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1514
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1515
  if { { ac_try="$ac_link"
 
1516
case "(($ac_try" in
 
1517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1518
  *) ac_try_echo=$ac_try;;
 
1519
esac
 
1520
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1521
$as_echo "$ac_try_echo"; } >&5
 
1522
  (eval "$ac_link") 2>conftest.err
 
1523
  ac_status=$?
 
1524
  if test -s conftest.err; then
 
1525
    grep -v '^ *+' conftest.err >conftest.er1
 
1526
    cat conftest.er1 >&5
 
1527
    mv -f conftest.er1 conftest.err
 
1528
  fi
 
1529
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1530
  test $ac_status = 0; } && {
 
1531
         test -z "$ac_c_werror_flag" ||
 
1532
         test ! -s conftest.err
 
1533
       } && test -s conftest$ac_exeext && {
 
1534
         test "$cross_compiling" = yes ||
 
1535
         $as_test_x conftest$ac_exeext
 
1536
       }; then :
 
1537
  ac_retval=0
 
1538
else
 
1539
  $as_echo "$as_me: failed program was:" >&5
 
1540
sed 's/^/| /' conftest.$ac_ext >&5
 
1541
 
 
1542
        ac_retval=1
 
1543
fi
 
1544
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1545
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1546
  # interfere with the next link command; also delete a directory that is
 
1547
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1548
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1549
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1550
  as_fn_set_status $ac_retval
 
1551
 
 
1552
} # ac_fn_c_try_link
 
1553
 
 
1554
# ac_fn_c_check_func LINENO FUNC VAR
 
1555
# ----------------------------------
 
1556
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1557
ac_fn_c_check_func ()
 
1558
{
 
1559
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1560
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1561
$as_echo_n "checking for $2... " >&6; }
 
1562
if eval "test \"\${$3+set}\"" = set; then :
 
1563
  $as_echo_n "(cached) " >&6
 
1564
else
 
1565
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1566
/* end confdefs.h.  */
 
1567
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1568
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1569
#define $2 innocuous_$2
 
1570
 
 
1571
/* System header to define __stub macros and hopefully few prototypes,
 
1572
    which can conflict with char $2 (); below.
 
1573
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1574
    <limits.h> exists even on freestanding compilers.  */
 
1575
 
 
1576
#ifdef __STDC__
 
1577
# include <limits.h>
 
1578
#else
 
1579
# include <assert.h>
 
1580
#endif
 
1581
 
 
1582
#undef $2
 
1583
 
 
1584
/* Override any GCC internal prototype to avoid an error.
 
1585
   Use char because int might match the return type of a GCC
 
1586
   builtin and then its argument prototype would still apply.  */
 
1587
#ifdef __cplusplus
 
1588
extern "C"
 
1589
#endif
 
1590
char $2 ();
 
1591
/* The GNU C library defines this for functions which it implements
 
1592
    to always fail with ENOSYS.  Some functions are actually named
 
1593
    something starting with __ and the normal name is an alias.  */
 
1594
#if defined __stub_$2 || defined __stub___$2
 
1595
choke me
 
1596
#endif
 
1597
 
 
1598
int
 
1599
main ()
 
1600
{
 
1601
return $2 ();
 
1602
  ;
 
1603
  return 0;
 
1604
}
 
1605
_ACEOF
 
1606
if ac_fn_c_try_link "$LINENO"; then :
 
1607
  eval "$3=yes"
 
1608
else
 
1609
  eval "$3=no"
 
1610
fi
 
1611
rm -f core conftest.err conftest.$ac_objext \
 
1612
    conftest$ac_exeext conftest.$ac_ext
 
1613
fi
 
1614
eval ac_res=\$$3
 
1615
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1616
$as_echo "$ac_res" >&6; }
 
1617
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1618
 
 
1619
} # ac_fn_c_check_func
 
1620
 
 
1621
# ac_fn_c_try_cpp LINENO
 
1622
# ----------------------
 
1623
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1624
ac_fn_c_try_cpp ()
 
1625
{
 
1626
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1627
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1628
case "(($ac_try" in
 
1629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1630
  *) ac_try_echo=$ac_try;;
 
1631
esac
 
1632
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1633
$as_echo "$ac_try_echo"; } >&5
 
1634
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1635
  ac_status=$?
 
1636
  if test -s conftest.err; then
 
1637
    grep -v '^ *+' conftest.err >conftest.er1
 
1638
    cat conftest.er1 >&5
 
1639
    mv -f conftest.er1 conftest.err
 
1640
  fi
 
1641
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1642
  test $ac_status = 0; } >/dev/null && {
 
1643
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1644
         test ! -s conftest.err
 
1645
       }; then :
 
1646
  ac_retval=0
 
1647
else
 
1648
  $as_echo "$as_me: failed program was:" >&5
 
1649
sed 's/^/| /' conftest.$ac_ext >&5
 
1650
 
 
1651
    ac_retval=1
 
1652
fi
 
1653
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1654
  as_fn_set_status $ac_retval
 
1655
 
 
1656
} # ac_fn_c_try_cpp
 
1657
 
 
1658
# ac_fn_c_try_run LINENO
 
1659
# ----------------------
 
1660
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1661
# that executables *can* be run.
 
1662
ac_fn_c_try_run ()
 
1663
{
 
1664
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1665
  if { { ac_try="$ac_link"
 
1666
case "(($ac_try" in
 
1667
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1668
  *) ac_try_echo=$ac_try;;
 
1669
esac
 
1670
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1671
$as_echo "$ac_try_echo"; } >&5
 
1672
  (eval "$ac_link") 2>&5
 
1673
  ac_status=$?
 
1674
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1675
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1676
  { { case "(($ac_try" in
 
1677
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1678
  *) ac_try_echo=$ac_try;;
 
1679
esac
 
1680
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1681
$as_echo "$ac_try_echo"; } >&5
 
1682
  (eval "$ac_try") 2>&5
 
1683
  ac_status=$?
 
1684
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1685
  test $ac_status = 0; }; }; then :
 
1686
  ac_retval=0
 
1687
else
 
1688
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1689
       $as_echo "$as_me: failed program was:" >&5
 
1690
sed 's/^/| /' conftest.$ac_ext >&5
 
1691
 
 
1692
       ac_retval=$ac_status
 
1693
fi
 
1694
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1695
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1696
  as_fn_set_status $ac_retval
 
1697
 
 
1698
} # ac_fn_c_try_run
1481
1699
cat >config.log <<_ACEOF
1482
1700
This file contains any messages produced by compilers while
1483
1701
running configure, to aid debugging if configure makes a mistake.
1484
1702
 
1485
 
It was created by virt-manager $as_me 0.8.4, which was
1486
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1703
It was created by virt-manager $as_me 0.8.6, which was
 
1704
generated by GNU Autoconf 2.66.  Invocation command line was
1487
1705
 
1488
1706
  $ $0 $@
1489
1707
 
1519
1737
do
1520
1738
  IFS=$as_save_IFS
1521
1739
  test -z "$as_dir" && as_dir=.
1522
 
  $as_echo "PATH: $as_dir"
1523
 
done
 
1740
    $as_echo "PATH: $as_dir"
 
1741
  done
1524
1742
IFS=$as_save_IFS
1525
1743
 
1526
1744
} >&5
1557
1775
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1558
1776
    esac
1559
1777
    case $ac_pass in
1560
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1778
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1561
1779
    2)
1562
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1780
      as_fn_append ac_configure_args1 " '$ac_arg'"
1563
1781
      if test $ac_must_keep_next = true; then
1564
1782
        ac_must_keep_next=false # Got value, back to normal.
1565
1783
      else
1575
1793
          -* ) ac_must_keep_next=true ;;
1576
1794
        esac
1577
1795
      fi
1578
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1796
      as_fn_append ac_configure_args " '$ac_arg'"
1579
1797
      ;;
1580
1798
    esac
1581
1799
  done
1582
1800
done
1583
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1584
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1801
{ ac_configure_args0=; unset ac_configure_args0;}
 
1802
{ ac_configure_args1=; unset ac_configure_args1;}
1585
1803
 
1586
1804
# When interrupted or exit'd, cleanup temporary files, and complete
1587
1805
# config.log.  We remove comments because anyway the quotes in there
1593
1811
  {
1594
1812
    echo
1595
1813
 
1596
 
    cat <<\_ASBOX
1597
 
## ---------------- ##
 
1814
    $as_echo "## ---------------- ##
1598
1815
## Cache variables. ##
1599
 
## ---------------- ##
1600
 
_ASBOX
 
1816
## ---------------- ##"
1601
1817
    echo
1602
1818
    # The following way of writing the cache mishandles newlines in values,
1603
1819
(
1606
1822
    case $ac_val in #(
1607
1823
    *${as_nl}*)
1608
1824
      case $ac_var in #(
1609
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1825
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1610
1826
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1611
1827
      esac
1612
1828
      case $ac_var in #(
1613
1829
      _ | IFS | as_nl) ;; #(
1614
1830
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1615
 
      *) $as_unset $ac_var ;;
 
1831
      *) { eval $ac_var=; unset $ac_var;} ;;
1616
1832
      esac ;;
1617
1833
    esac
1618
1834
  done
1631
1847
)
1632
1848
    echo
1633
1849
 
1634
 
    cat <<\_ASBOX
1635
 
## ----------------- ##
 
1850
    $as_echo "## ----------------- ##
1636
1851
## Output variables. ##
1637
 
## ----------------- ##
1638
 
_ASBOX
 
1852
## ----------------- ##"
1639
1853
    echo
1640
1854
    for ac_var in $ac_subst_vars
1641
1855
    do
1648
1862
    echo
1649
1863
 
1650
1864
    if test -n "$ac_subst_files"; then
1651
 
      cat <<\_ASBOX
1652
 
## ------------------- ##
 
1865
      $as_echo "## ------------------- ##
1653
1866
## File substitutions. ##
1654
 
## ------------------- ##
1655
 
_ASBOX
 
1867
## ------------------- ##"
1656
1868
      echo
1657
1869
      for ac_var in $ac_subst_files
1658
1870
      do
1666
1878
    fi
1667
1879
 
1668
1880
    if test -s confdefs.h; then
1669
 
      cat <<\_ASBOX
1670
 
## ----------- ##
 
1881
      $as_echo "## ----------- ##
1671
1882
## confdefs.h. ##
1672
 
## ----------- ##
1673
 
_ASBOX
 
1883
## ----------- ##"
1674
1884
      echo
1675
1885
      cat confdefs.h
1676
1886
      echo
1684
1894
    exit $exit_status
1685
1895
' 0
1686
1896
for ac_signal in 1 2 13 15; do
1687
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1897
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1688
1898
done
1689
1899
ac_signal=0
1690
1900
 
1691
1901
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1692
1902
rm -f -r conftest* confdefs.h
1693
1903
 
 
1904
$as_echo "/* confdefs.h */" > confdefs.h
 
1905
 
1694
1906
# Predefined preprocessor variables.
1695
1907
 
1696
1908
cat >>confdefs.h <<_ACEOF
1697
1909
#define PACKAGE_NAME "$PACKAGE_NAME"
1698
1910
_ACEOF
1699
1911
 
1700
 
 
1701
1912
cat >>confdefs.h <<_ACEOF
1702
1913
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1703
1914
_ACEOF
1704
1915
 
1705
 
 
1706
1916
cat >>confdefs.h <<_ACEOF
1707
1917
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1708
1918
_ACEOF
1709
1919
 
1710
 
 
1711
1920
cat >>confdefs.h <<_ACEOF
1712
1921
#define PACKAGE_STRING "$PACKAGE_STRING"
1713
1922
_ACEOF
1714
1923
 
1715
 
 
1716
1924
cat >>confdefs.h <<_ACEOF
1717
1925
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1718
1926
_ACEOF
1719
1927
 
 
1928
cat >>confdefs.h <<_ACEOF
 
1929
#define PACKAGE_URL "$PACKAGE_URL"
 
1930
_ACEOF
 
1931
 
1720
1932
 
1721
1933
# Let the site file select an alternate cache file if it wants to.
1722
1934
# Prefer an explicitly selected file to automatically selected ones.
1723
1935
ac_site_file1=NONE
1724
1936
ac_site_file2=NONE
1725
1937
if test -n "$CONFIG_SITE"; then
1726
 
  ac_site_file1=$CONFIG_SITE
 
1938
  # We do not want a PATH search for config.site.
 
1939
  case $CONFIG_SITE in #((
 
1940
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
1941
    */*) ac_site_file1=$CONFIG_SITE;;
 
1942
    *)   ac_site_file1=./$CONFIG_SITE;;
 
1943
  esac
1727
1944
elif test "x$prefix" != xNONE; then
1728
1945
  ac_site_file1=$prefix/share/config.site
1729
1946
  ac_site_file2=$prefix/etc/config.site
1734
1951
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1735
1952
do
1736
1953
  test "x$ac_site_file" = xNONE && continue
1737
 
  if test -r "$ac_site_file"; then
1738
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1954
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
1955
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1739
1956
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1740
1957
    sed 's/^/| /' "$ac_site_file" >&5
1741
 
    . "$ac_site_file"
 
1958
    . "$ac_site_file" \
 
1959
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
1960
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1961
as_fn_error $? "failed to load site script $ac_site_file
 
1962
See \`config.log' for more details" "$LINENO" 5; }
1742
1963
  fi
1743
1964
done
1744
1965
 
1745
1966
if test -r "$cache_file"; then
1746
 
  # Some versions of bash will fail to source /dev/null (special
1747
 
  # files actually), so we avoid doing that.
1748
 
  if test -f "$cache_file"; then
1749
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1967
  # Some versions of bash will fail to source /dev/null (special files
 
1968
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
1969
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
1970
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1750
1971
$as_echo "$as_me: loading cache $cache_file" >&6;}
1751
1972
    case $cache_file in
1752
1973
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1754
1975
    esac
1755
1976
  fi
1756
1977
else
1757
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1978
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1758
1979
$as_echo "$as_me: creating cache $cache_file" >&6;}
1759
1980
  >$cache_file
1760
1981
fi
1770
1991
  eval ac_new_val=\$ac_env_${ac_var}_value
1771
1992
  case $ac_old_set,$ac_new_set in
1772
1993
    set,)
1773
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1994
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1774
1995
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1775
1996
      ac_cache_corrupted=: ;;
1776
1997
    ,set)
1777
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1998
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1778
1999
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1779
2000
      ac_cache_corrupted=: ;;
1780
2001
    ,);;
1784
2005
        ac_old_val_w=`echo x $ac_old_val`
1785
2006
        ac_new_val_w=`echo x $ac_new_val`
1786
2007
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1787
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2008
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1788
2009
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1789
2010
          ac_cache_corrupted=:
1790
2011
        else
1791
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2012
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1792
2013
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1793
2014
          eval $ac_var=\$ac_old_val
1794
2015
        fi
1795
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2016
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1796
2017
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1797
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2018
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1798
2019
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1799
2020
      fi;;
1800
2021
  esac
1806
2027
    esac
1807
2028
    case " $ac_configure_args " in
1808
2029
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1809
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2030
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1810
2031
    esac
1811
2032
  fi
1812
2033
done
1813
2034
if $ac_cache_corrupted; then
1814
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2035
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1815
2036
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1816
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2037
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1817
2038
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1818
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1819
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1820
 
   { (exit 1); exit 1; }; }
 
2039
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1821
2040
fi
1822
 
 
1823
 
 
1824
 
 
1825
 
 
1826
 
 
1827
 
 
1828
 
 
1829
 
 
1830
 
 
1831
 
 
1832
 
 
1833
 
 
1834
 
 
1835
 
 
1836
 
 
1837
 
 
1838
 
 
1839
 
 
1840
 
 
1841
 
 
1842
 
 
1843
 
 
1844
 
 
1845
 
 
 
2041
## -------------------- ##
 
2042
## Main body of script. ##
 
2043
## -------------------- ##
1846
2044
 
1847
2045
ac_ext=c
1848
2046
ac_cpp='$CPP $CPPFLAGS'
1851
2049
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1852
2050
 
1853
2051
 
 
2052
# Latest virtinst version required to run
 
2053
VIRTINST_VERSION="0.500.5"
 
2054
 
1854
2055
 
1855
2056
am__api_version='1.11'
1856
2057
 
1871
2072
  fi
1872
2073
done
1873
2074
if test -z "$ac_aux_dir"; then
1874
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1875
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1876
 
   { (exit 1); exit 1; }; }
 
2075
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1877
2076
fi
1878
2077
 
1879
2078
# These three variables are undocumented and unsupported,
1899
2098
# OS/2's system install, which has a completely different semantic
1900
2099
# ./install, which can be erroneously created by make from ./install.sh.
1901
2100
# Reject install programs that cannot install multiple files.
1902
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1903
2102
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1904
2103
if test -z "$INSTALL"; then
1905
 
if test "${ac_cv_path_install+set}" = set; then
 
2104
if test "${ac_cv_path_install+set}" = set; then :
1906
2105
  $as_echo_n "(cached) " >&6
1907
2106
else
1908
2107
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910
2109
do
1911
2110
  IFS=$as_save_IFS
1912
2111
  test -z "$as_dir" && as_dir=.
1913
 
  # Account for people who put trailing slashes in PATH elements.
1914
 
case $as_dir/ in
1915
 
  ./ | .// | /cC/* | \
 
2112
    # Account for people who put trailing slashes in PATH elements.
 
2113
case $as_dir/ in #((
 
2114
  ./ | .// | /[cC]/* | \
1916
2115
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1917
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2116
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1918
2117
  /usr/ucb/* ) ;;
1919
2118
  *)
1920
2119
    # OSF1 and SCO ODT 3.0 have their own names for install.
1951
2150
    ;;
1952
2151
esac
1953
2152
 
1954
 
done
 
2153
  done
1955
2154
IFS=$as_save_IFS
1956
2155
 
1957
2156
rm -rf conftest.one conftest.two conftest.dir
1967
2166
    INSTALL=$ac_install_sh
1968
2167
  fi
1969
2168
fi
1970
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1971
2170
$as_echo "$INSTALL" >&6; }
1972
2171
 
1973
2172
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1978
2177
 
1979
2178
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1980
2179
 
1981
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1982
2181
$as_echo_n "checking whether build environment is sane... " >&6; }
1983
2182
# Just in case
1984
2183
sleep 1
1989
2188
'
1990
2189
case `pwd` in
1991
2190
  *[\\\"\#\$\&\'\`$am_lf]*)
1992
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1993
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1994
 
   { (exit 1); exit 1; }; };;
 
2191
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1995
2192
esac
1996
2193
case $srcdir in
1997
2194
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
1998
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1999
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2000
 
   { (exit 1); exit 1; }; };;
 
2195
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2001
2196
esac
2002
2197
 
2003
2198
# Do `set' in a subshell so we don't clobber the current shell's
2019
2214
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2020
2215
      # broken ls alias from the environment.  This has actually
2021
2216
      # happened.  Such a system could not be considered "sane".
2022
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2023
 
alias in your environment" >&5
2024
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2025
 
alias in your environment" >&2;}
2026
 
   { (exit 1); exit 1; }; }
 
2217
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2218
alias in your environment" "$LINENO" 5
2027
2219
   fi
2028
2220
 
2029
2221
   test "$2" = conftest.file
2032
2224
   # Ok.
2033
2225
   :
2034
2226
else
2035
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2036
 
Check your system clock" >&5
2037
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2038
 
Check your system clock" >&2;}
2039
 
   { (exit 1); exit 1; }; }
 
2227
   as_fn_error $? "newly created file is older than distributed files!
 
2228
Check your system clock" "$LINENO" 5
2040
2229
fi
2041
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2042
2231
$as_echo "yes" >&6; }
2043
2232
test "$program_prefix" != NONE &&
2044
2233
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2066
2255
  am_missing_run="$MISSING --run "
2067
2256
else
2068
2257
  am_missing_run=
2069
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2258
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2070
2259
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2071
2260
fi
2072
2261
 
2087
2276
  if test -n "$ac_tool_prefix"; then
2088
2277
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2089
2278
set dummy ${ac_tool_prefix}strip; ac_word=$2
2090
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2091
2280
$as_echo_n "checking for $ac_word... " >&6; }
2092
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2281
if test "${ac_cv_prog_STRIP+set}" = set; then :
2093
2282
  $as_echo_n "(cached) " >&6
2094
2283
else
2095
2284
  if test -n "$STRIP"; then
2100
2289
do
2101
2290
  IFS=$as_save_IFS
2102
2291
  test -z "$as_dir" && as_dir=.
2103
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2292
    for ac_exec_ext in '' $ac_executable_extensions; do
2104
2293
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2105
2294
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2106
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2295
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2107
2296
    break 2
2108
2297
  fi
2109
2298
done
2110
 
done
 
2299
  done
2111
2300
IFS=$as_save_IFS
2112
2301
 
2113
2302
fi
2114
2303
fi
2115
2304
STRIP=$ac_cv_prog_STRIP
2116
2305
if test -n "$STRIP"; then
2117
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2306
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2118
2307
$as_echo "$STRIP" >&6; }
2119
2308
else
2120
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2309
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2121
2310
$as_echo "no" >&6; }
2122
2311
fi
2123
2312
 
2127
2316
  ac_ct_STRIP=$STRIP
2128
2317
  # Extract the first word of "strip", so it can be a program name with args.
2129
2318
set dummy strip; ac_word=$2
2130
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2131
2320
$as_echo_n "checking for $ac_word... " >&6; }
2132
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2321
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2133
2322
  $as_echo_n "(cached) " >&6
2134
2323
else
2135
2324
  if test -n "$ac_ct_STRIP"; then
2140
2329
do
2141
2330
  IFS=$as_save_IFS
2142
2331
  test -z "$as_dir" && as_dir=.
2143
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2332
    for ac_exec_ext in '' $ac_executable_extensions; do
2144
2333
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2145
2334
    ac_cv_prog_ac_ct_STRIP="strip"
2146
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2335
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2147
2336
    break 2
2148
2337
  fi
2149
2338
done
2150
 
done
 
2339
  done
2151
2340
IFS=$as_save_IFS
2152
2341
 
2153
2342
fi
2154
2343
fi
2155
2344
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2156
2345
if test -n "$ac_ct_STRIP"; then
2157
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2346
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2158
2347
$as_echo "$ac_ct_STRIP" >&6; }
2159
2348
else
2160
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2349
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2161
2350
$as_echo "no" >&6; }
2162
2351
fi
2163
2352
 
2166
2355
  else
2167
2356
    case $cross_compiling:$ac_tool_warned in
2168
2357
yes:)
2169
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2358
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2170
2359
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2171
2360
ac_tool_warned=yes ;;
2172
2361
esac
2179
2368
fi
2180
2369
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2181
2370
 
2182
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2183
2372
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2184
2373
if test -z "$MKDIR_P"; then
2185
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2374
  if test "${ac_cv_path_mkdir+set}" = set; then :
2186
2375
  $as_echo_n "(cached) " >&6
2187
2376
else
2188
2377
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190
2379
do
2191
2380
  IFS=$as_save_IFS
2192
2381
  test -z "$as_dir" && as_dir=.
2193
 
  for ac_prog in mkdir gmkdir; do
 
2382
    for ac_prog in mkdir gmkdir; do
2194
2383
         for ac_exec_ext in '' $ac_executable_extensions; do
2195
2384
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2196
2385
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2202
2391
           esac
2203
2392
         done
2204
2393
       done
2205
 
done
 
2394
  done
2206
2395
IFS=$as_save_IFS
2207
2396
 
2208
2397
fi
2209
2398
 
 
2399
  test -d ./--version && rmdir ./--version
2210
2400
  if test "${ac_cv_path_mkdir+set}" = set; then
2211
2401
    MKDIR_P="$ac_cv_path_mkdir -p"
2212
2402
  else
2214
2404
    # value for MKDIR_P within a source directory, because that will
2215
2405
    # break other packages using the cache if that directory is
2216
2406
    # removed, or if the value is a relative name.
2217
 
    test -d ./--version && rmdir ./--version
2218
2407
    MKDIR_P="$ac_install_sh -d"
2219
2408
  fi
2220
2409
fi
2221
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2222
2411
$as_echo "$MKDIR_P" >&6; }
2223
2412
 
2224
2413
mkdir_p="$MKDIR_P"
2231
2420
do
2232
2421
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2233
2422
set dummy $ac_prog; ac_word=$2
2234
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2235
2424
$as_echo_n "checking for $ac_word... " >&6; }
2236
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2425
if test "${ac_cv_prog_AWK+set}" = set; then :
2237
2426
  $as_echo_n "(cached) " >&6
2238
2427
else
2239
2428
  if test -n "$AWK"; then
2244
2433
do
2245
2434
  IFS=$as_save_IFS
2246
2435
  test -z "$as_dir" && as_dir=.
2247
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2436
    for ac_exec_ext in '' $ac_executable_extensions; do
2248
2437
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2249
2438
    ac_cv_prog_AWK="$ac_prog"
2250
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2439
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2251
2440
    break 2
2252
2441
  fi
2253
2442
done
2254
 
done
 
2443
  done
2255
2444
IFS=$as_save_IFS
2256
2445
 
2257
2446
fi
2258
2447
fi
2259
2448
AWK=$ac_cv_prog_AWK
2260
2449
if test -n "$AWK"; then
2261
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2450
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2262
2451
$as_echo "$AWK" >&6; }
2263
2452
else
2264
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2265
2454
$as_echo "no" >&6; }
2266
2455
fi
2267
2456
 
2269
2458
  test -n "$AWK" && break
2270
2459
done
2271
2460
 
2272
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2273
2462
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2274
2463
set x ${MAKE-make}
2275
2464
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2276
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2465
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2277
2466
  $as_echo_n "(cached) " >&6
2278
2467
else
2279
2468
  cat >conftest.make <<\_ACEOF
2281
2470
all:
2282
2471
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2283
2472
_ACEOF
2284
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2473
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2285
2474
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2286
2475
  *@@@%%%=?*=@@@%%%*)
2287
2476
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2291
2480
rm -f conftest.make
2292
2481
fi
2293
2482
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2294
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2295
2484
$as_echo "yes" >&6; }
2296
2485
  SET_MAKE=
2297
2486
else
2298
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2487
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2299
2488
$as_echo "no" >&6; }
2300
2489
  SET_MAKE="MAKE=${MAKE-make}"
2301
2490
fi
2315
2504
  am__isrc=' -I$(srcdir)'
2316
2505
  # test to see if srcdir already configured
2317
2506
  if test -f $srcdir/config.status; then
2318
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2319
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2320
 
   { (exit 1); exit 1; }; }
 
2507
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2321
2508
  fi
2322
2509
fi
2323
2510
 
2333
2520
 
2334
2521
# Define the identity of the package.
2335
2522
 PACKAGE='virt-manager'
2336
 
 VERSION='0.8.4'
 
2523
 VERSION='0.8.6'
2337
2524
 
2338
2525
 
2339
2526
cat >>confdefs.h <<_ACEOF
2374
2561
 
2375
2562
 
2376
2563
 
 
2564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
 
2565
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
 
2566
    # Check whether --enable-maintainer-mode was given.
 
2567
if test "${enable_maintainer_mode+set}" = set; then :
 
2568
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
2569
else
 
2570
  USE_MAINTAINER_MODE=yes
 
2571
fi
 
2572
 
 
2573
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
2574
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
2575
   if test $USE_MAINTAINER_MODE = yes; then
 
2576
  MAINTAINER_MODE_TRUE=
 
2577
  MAINTAINER_MODE_FALSE='#'
 
2578
else
 
2579
  MAINTAINER_MODE_TRUE='#'
 
2580
  MAINTAINER_MODE_FALSE=
 
2581
fi
 
2582
 
 
2583
  MAINT=$MAINTAINER_MODE_TRUE
 
2584
 
 
2585
 
 
2586
 
2377
2587
ALL_LINGUAS="as bg bn_IN bs ca cs da de es fi fr gu hi hr hu is it ja kn ko ml mr ms nb nl or pa pl pt_BR pt ro ru sr@latin sr sv ta te tr uk zh_CN zh_TW"
2378
2588
 
2379
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
2589
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2380
2590
$as_echo_n "checking whether NLS is requested... " >&6; }
2381
2591
    # Check whether --enable-nls was given.
2382
 
if test "${enable_nls+set}" = set; then
 
2592
if test "${enable_nls+set}" = set; then :
2383
2593
  enableval=$enable_nls; USE_NLS=$enableval
2384
2594
else
2385
2595
  USE_NLS=yes
2386
2596
fi
2387
2597
 
2388
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
2598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2389
2599
$as_echo "$USE_NLS" >&6; }
2390
2600
 
2391
2601
 
2401
2611
.PHONY: am__doit
2402
2612
END
2403
2613
# If we don't find an include directive, just comment out the code.
2404
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2405
2615
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2406
2616
am__include="#"
2407
2617
am__quote=
2429
2639
fi
2430
2640
 
2431
2641
 
2432
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2433
2643
$as_echo "$_am_result" >&6; }
2434
2644
rm -f confinc confmf
2435
2645
 
2436
2646
# Check whether --enable-dependency-tracking was given.
2437
 
if test "${enable_dependency_tracking+set}" = set; then
 
2647
if test "${enable_dependency_tracking+set}" = set; then :
2438
2648
  enableval=$enable_dependency_tracking;
2439
2649
fi
2440
2650
 
2459
2669
if test -n "$ac_tool_prefix"; then
2460
2670
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2461
2671
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2462
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2463
2673
$as_echo_n "checking for $ac_word... " >&6; }
2464
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2674
if test "${ac_cv_prog_CC+set}" = set; then :
2465
2675
  $as_echo_n "(cached) " >&6
2466
2676
else
2467
2677
  if test -n "$CC"; then
2472
2682
do
2473
2683
  IFS=$as_save_IFS
2474
2684
  test -z "$as_dir" && as_dir=.
2475
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2685
    for ac_exec_ext in '' $ac_executable_extensions; do
2476
2686
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477
2687
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2478
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2688
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2479
2689
    break 2
2480
2690
  fi
2481
2691
done
2482
 
done
 
2692
  done
2483
2693
IFS=$as_save_IFS
2484
2694
 
2485
2695
fi
2486
2696
fi
2487
2697
CC=$ac_cv_prog_CC
2488
2698
if test -n "$CC"; then
2489
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2490
2700
$as_echo "$CC" >&6; }
2491
2701
else
2492
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2702
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2493
2703
$as_echo "no" >&6; }
2494
2704
fi
2495
2705
 
2499
2709
  ac_ct_CC=$CC
2500
2710
  # Extract the first word of "gcc", so it can be a program name with args.
2501
2711
set dummy gcc; ac_word=$2
2502
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2503
2713
$as_echo_n "checking for $ac_word... " >&6; }
2504
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2714
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2505
2715
  $as_echo_n "(cached) " >&6
2506
2716
else
2507
2717
  if test -n "$ac_ct_CC"; then
2512
2722
do
2513
2723
  IFS=$as_save_IFS
2514
2724
  test -z "$as_dir" && as_dir=.
2515
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2725
    for ac_exec_ext in '' $ac_executable_extensions; do
2516
2726
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2517
2727
    ac_cv_prog_ac_ct_CC="gcc"
2518
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2728
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2519
2729
    break 2
2520
2730
  fi
2521
2731
done
2522
 
done
 
2732
  done
2523
2733
IFS=$as_save_IFS
2524
2734
 
2525
2735
fi
2526
2736
fi
2527
2737
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2528
2738
if test -n "$ac_ct_CC"; then
2529
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2739
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2530
2740
$as_echo "$ac_ct_CC" >&6; }
2531
2741
else
2532
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2742
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2533
2743
$as_echo "no" >&6; }
2534
2744
fi
2535
2745
 
2538
2748
  else
2539
2749
    case $cross_compiling:$ac_tool_warned in
2540
2750
yes:)
2541
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2751
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2542
2752
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2543
2753
ac_tool_warned=yes ;;
2544
2754
esac
2552
2762
          if test -n "$ac_tool_prefix"; then
2553
2763
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2554
2764
set dummy ${ac_tool_prefix}cc; ac_word=$2
2555
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2556
2766
$as_echo_n "checking for $ac_word... " >&6; }
2557
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2767
if test "${ac_cv_prog_CC+set}" = set; then :
2558
2768
  $as_echo_n "(cached) " >&6
2559
2769
else
2560
2770
  if test -n "$CC"; then
2565
2775
do
2566
2776
  IFS=$as_save_IFS
2567
2777
  test -z "$as_dir" && as_dir=.
2568
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2778
    for ac_exec_ext in '' $ac_executable_extensions; do
2569
2779
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2570
2780
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2571
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2781
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2572
2782
    break 2
2573
2783
  fi
2574
2784
done
2575
 
done
 
2785
  done
2576
2786
IFS=$as_save_IFS
2577
2787
 
2578
2788
fi
2579
2789
fi
2580
2790
CC=$ac_cv_prog_CC
2581
2791
if test -n "$CC"; then
2582
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2792
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2583
2793
$as_echo "$CC" >&6; }
2584
2794
else
2585
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2795
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586
2796
$as_echo "no" >&6; }
2587
2797
fi
2588
2798
 
2592
2802
if test -z "$CC"; then
2593
2803
  # Extract the first word of "cc", so it can be a program name with args.
2594
2804
set dummy cc; ac_word=$2
2595
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2596
2806
$as_echo_n "checking for $ac_word... " >&6; }
2597
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2807
if test "${ac_cv_prog_CC+set}" = set; then :
2598
2808
  $as_echo_n "(cached) " >&6
2599
2809
else
2600
2810
  if test -n "$CC"; then
2606
2816
do
2607
2817
  IFS=$as_save_IFS
2608
2818
  test -z "$as_dir" && as_dir=.
2609
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2819
    for ac_exec_ext in '' $ac_executable_extensions; do
2610
2820
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2611
2821
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2612
2822
       ac_prog_rejected=yes
2613
2823
       continue
2614
2824
     fi
2615
2825
    ac_cv_prog_CC="cc"
2616
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2826
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2617
2827
    break 2
2618
2828
  fi
2619
2829
done
2620
 
done
 
2830
  done
2621
2831
IFS=$as_save_IFS
2622
2832
 
2623
2833
if test $ac_prog_rejected = yes; then
2636
2846
fi
2637
2847
CC=$ac_cv_prog_CC
2638
2848
if test -n "$CC"; then
2639
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2640
2850
$as_echo "$CC" >&6; }
2641
2851
else
2642
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2852
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2643
2853
$as_echo "no" >&6; }
2644
2854
fi
2645
2855
 
2651
2861
  do
2652
2862
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2653
2863
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2654
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655
2865
$as_echo_n "checking for $ac_word... " >&6; }
2656
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2866
if test "${ac_cv_prog_CC+set}" = set; then :
2657
2867
  $as_echo_n "(cached) " >&6
2658
2868
else
2659
2869
  if test -n "$CC"; then
2664
2874
do
2665
2875
  IFS=$as_save_IFS
2666
2876
  test -z "$as_dir" && as_dir=.
2667
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2877
    for ac_exec_ext in '' $ac_executable_extensions; do
2668
2878
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2669
2879
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2670
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2880
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671
2881
    break 2
2672
2882
  fi
2673
2883
done
2674
 
done
 
2884
  done
2675
2885
IFS=$as_save_IFS
2676
2886
 
2677
2887
fi
2678
2888
fi
2679
2889
CC=$ac_cv_prog_CC
2680
2890
if test -n "$CC"; then
2681
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2891
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2682
2892
$as_echo "$CC" >&6; }
2683
2893
else
2684
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2894
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685
2895
$as_echo "no" >&6; }
2686
2896
fi
2687
2897
 
2695
2905
do
2696
2906
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2697
2907
set dummy $ac_prog; ac_word=$2
2698
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699
2909
$as_echo_n "checking for $ac_word... " >&6; }
2700
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2910
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2701
2911
  $as_echo_n "(cached) " >&6
2702
2912
else
2703
2913
  if test -n "$ac_ct_CC"; then
2708
2918
do
2709
2919
  IFS=$as_save_IFS
2710
2920
  test -z "$as_dir" && as_dir=.
2711
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2921
    for ac_exec_ext in '' $ac_executable_extensions; do
2712
2922
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713
2923
    ac_cv_prog_ac_ct_CC="$ac_prog"
2714
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2924
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715
2925
    break 2
2716
2926
  fi
2717
2927
done
2718
 
done
 
2928
  done
2719
2929
IFS=$as_save_IFS
2720
2930
 
2721
2931
fi
2722
2932
fi
2723
2933
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2724
2934
if test -n "$ac_ct_CC"; then
2725
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2935
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2726
2936
$as_echo "$ac_ct_CC" >&6; }
2727
2937
else
2728
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729
2939
$as_echo "no" >&6; }
2730
2940
fi
2731
2941
 
2738
2948
  else
2739
2949
    case $cross_compiling:$ac_tool_warned in
2740
2950
yes:)
2741
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2951
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2742
2952
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2743
2953
ac_tool_warned=yes ;;
2744
2954
esac
2749
2959
fi
2750
2960
 
2751
2961
 
2752
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2962
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2753
2963
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2754
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2755
 
See \`config.log' for more details." >&5
2756
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2757
 
See \`config.log' for more details." >&2;}
2758
 
   { (exit 1); exit 1; }; }; }
 
2964
as_fn_error $? "no acceptable C compiler found in \$PATH
 
2965
See \`config.log' for more details" "$LINENO" 5; }
2759
2966
 
2760
2967
# Provide some information about the compiler.
2761
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2968
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2762
2969
set X $ac_compile
2763
2970
ac_compiler=$2
2764
 
{ (ac_try="$ac_compiler --version >&5"
2765
 
case "(($ac_try" in
2766
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767
 
  *) ac_try_echo=$ac_try;;
2768
 
esac
2769
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2770
 
$as_echo "$ac_try_echo") >&5
2771
 
  (eval "$ac_compiler --version >&5") 2>&5
2772
 
  ac_status=$?
2773
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774
 
  (exit $ac_status); }
2775
 
{ (ac_try="$ac_compiler -v >&5"
2776
 
case "(($ac_try" in
2777
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778
 
  *) ac_try_echo=$ac_try;;
2779
 
esac
2780
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2781
 
$as_echo "$ac_try_echo") >&5
2782
 
  (eval "$ac_compiler -v >&5") 2>&5
2783
 
  ac_status=$?
2784
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785
 
  (exit $ac_status); }
2786
 
{ (ac_try="$ac_compiler -V >&5"
2787
 
case "(($ac_try" in
2788
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789
 
  *) ac_try_echo=$ac_try;;
2790
 
esac
2791
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2792
 
$as_echo "$ac_try_echo") >&5
2793
 
  (eval "$ac_compiler -V >&5") 2>&5
2794
 
  ac_status=$?
2795
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796
 
  (exit $ac_status); }
 
2971
for ac_option in --version -v -V -qversion; do
 
2972
  { { ac_try="$ac_compiler $ac_option >&5"
 
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:${as_lineno-$LINENO}: $ac_try_echo\""
 
2978
$as_echo "$ac_try_echo"; } >&5
 
2979
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2980
  ac_status=$?
 
2981
  if test -s conftest.err; then
 
2982
    sed '10a\
 
2983
... rest of stderr output deleted ...
 
2984
         10q' conftest.err >conftest.er1
 
2985
    cat conftest.er1 >&5
 
2986
  fi
 
2987
  rm -f conftest.er1 conftest.err
 
2988
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2989
  test $ac_status = 0; }
 
2990
done
2797
2991
 
2798
 
cat >conftest.$ac_ext <<_ACEOF
2799
 
/* confdefs.h.  */
2800
 
_ACEOF
2801
 
cat confdefs.h >>conftest.$ac_ext
2802
 
cat >>conftest.$ac_ext <<_ACEOF
 
2992
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2803
2993
/* end confdefs.h.  */
2804
2994
 
2805
2995
int
2815
3005
# Try to create an executable without -o first, disregard a.out.
2816
3006
# It will help us diagnose broken compilers, and finding out an intuition
2817
3007
# of exeext.
2818
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2819
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3009
$as_echo_n "checking whether the C compiler works... " >&6; }
2820
3010
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2821
3011
 
2822
3012
# The possible output files:
2832
3022
done
2833
3023
rm -f $ac_rmfiles
2834
3024
 
2835
 
if { (ac_try="$ac_link_default"
 
3025
if { { ac_try="$ac_link_default"
2836
3026
case "(($ac_try" in
2837
3027
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838
3028
  *) ac_try_echo=$ac_try;;
2839
3029
esac
2840
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2841
 
$as_echo "$ac_try_echo") >&5
 
3030
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3031
$as_echo "$ac_try_echo"; } >&5
2842
3032
  (eval "$ac_link_default") 2>&5
2843
3033
  ac_status=$?
2844
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845
 
  (exit $ac_status); }; then
 
3034
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3035
  test $ac_status = 0; }; then :
2846
3036
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2847
3037
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2848
3038
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2859
3049
        # certainly right.
2860
3050
        break;;
2861
3051
    *.* )
2862
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3052
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2863
3053
        then :; else
2864
3054
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2865
3055
        fi
2878
3068
else
2879
3069
  ac_file=''
2880
3070
fi
 
3071
if test -z "$ac_file"; then :
 
3072
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3073
$as_echo "no" >&6; }
 
3074
$as_echo "$as_me: failed program was:" >&5
 
3075
sed 's/^/| /' conftest.$ac_ext >&5
2881
3076
 
2882
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3077
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3078
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3079
as_fn_error 77 "C compiler cannot create executables
 
3080
See \`config.log' for more details" "$LINENO" 5; }
 
3081
else
 
3082
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3083
$as_echo "yes" >&6; }
 
3084
fi
 
3085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3086
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2883
3088
$as_echo "$ac_file" >&6; }
2884
 
if test -z "$ac_file"; then
2885
 
  $as_echo "$as_me: failed program was:" >&5
2886
 
sed 's/^/| /' conftest.$ac_ext >&5
2887
 
 
2888
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2889
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2890
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2891
 
See \`config.log' for more details." >&5
2892
 
$as_echo "$as_me: error: C compiler cannot create executables
2893
 
See \`config.log' for more details." >&2;}
2894
 
   { (exit 77); exit 77; }; }; }
2895
 
fi
2896
 
 
2897
3089
ac_exeext=$ac_cv_exeext
2898
3090
 
2899
 
# Check that the compiler produces executables we can run.  If not, either
2900
 
# the compiler is broken, or we cross compile.
2901
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2902
 
$as_echo_n "checking whether the C compiler works... " >&6; }
2903
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2904
 
# If not cross compiling, check that we can run a simple program.
2905
 
if test "$cross_compiling" != yes; then
2906
 
  if { ac_try='./$ac_file'
2907
 
  { (case "(($ac_try" in
2908
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909
 
  *) ac_try_echo=$ac_try;;
2910
 
esac
2911
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2912
 
$as_echo "$ac_try_echo") >&5
2913
 
  (eval "$ac_try") 2>&5
2914
 
  ac_status=$?
2915
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916
 
  (exit $ac_status); }; }; then
2917
 
    cross_compiling=no
2918
 
  else
2919
 
    if test "$cross_compiling" = maybe; then
2920
 
        cross_compiling=yes
2921
 
    else
2922
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2923
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2925
 
If you meant to cross compile, use \`--host'.
2926
 
See \`config.log' for more details." >&5
2927
 
$as_echo "$as_me: error: cannot run C compiled programs.
2928
 
If you meant to cross compile, use \`--host'.
2929
 
See \`config.log' for more details." >&2;}
2930
 
   { (exit 1); exit 1; }; }; }
2931
 
    fi
2932
 
  fi
2933
 
fi
2934
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2935
 
$as_echo "yes" >&6; }
2936
 
 
2937
3091
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2938
3092
ac_clean_files=$ac_clean_files_save
2939
 
# Check that the compiler produces executables we can run.  If not, either
2940
 
# the compiler is broken, or we cross compile.
2941
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2942
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
2943
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2944
 
$as_echo "$cross_compiling" >&6; }
2945
 
 
2946
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2947
3094
$as_echo_n "checking for suffix of executables... " >&6; }
2948
 
if { (ac_try="$ac_link"
 
3095
if { { ac_try="$ac_link"
2949
3096
case "(($ac_try" in
2950
3097
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951
3098
  *) ac_try_echo=$ac_try;;
2952
3099
esac
2953
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2954
 
$as_echo "$ac_try_echo") >&5
 
3100
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3101
$as_echo "$ac_try_echo"; } >&5
2955
3102
  (eval "$ac_link") 2>&5
2956
3103
  ac_status=$?
2957
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958
 
  (exit $ac_status); }; then
 
3104
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3105
  test $ac_status = 0; }; then :
2959
3106
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2960
3107
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2961
3108
# work properly (i.e., refer to `conftest.exe'), while it won't with
2970
3117
  esac
2971
3118
done
2972
3119
else
2973
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3120
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2974
3121
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2975
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2976
 
See \`config.log' for more details." >&5
2977
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2978
 
See \`config.log' for more details." >&2;}
2979
 
   { (exit 1); exit 1; }; }; }
 
3122
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3123
See \`config.log' for more details" "$LINENO" 5; }
2980
3124
fi
2981
 
 
2982
 
rm -f conftest$ac_cv_exeext
2983
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3125
rm -f conftest conftest$ac_cv_exeext
 
3126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2984
3127
$as_echo "$ac_cv_exeext" >&6; }
2985
3128
 
2986
3129
rm -f conftest.$ac_ext
2987
3130
EXEEXT=$ac_cv_exeext
2988
3131
ac_exeext=$EXEEXT
2989
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3132
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3133
/* end confdefs.h.  */
 
3134
#include <stdio.h>
 
3135
int
 
3136
main ()
 
3137
{
 
3138
FILE *f = fopen ("conftest.out", "w");
 
3139
 return ferror (f) || fclose (f) != 0;
 
3140
 
 
3141
  ;
 
3142
  return 0;
 
3143
}
 
3144
_ACEOF
 
3145
ac_clean_files="$ac_clean_files conftest.out"
 
3146
# Check that the compiler produces executables we can run.  If not, either
 
3147
# the compiler is broken, or we cross compile.
 
3148
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3149
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3150
if test "$cross_compiling" != yes; then
 
3151
  { { ac_try="$ac_link"
 
3152
case "(($ac_try" in
 
3153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3154
  *) ac_try_echo=$ac_try;;
 
3155
esac
 
3156
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3157
$as_echo "$ac_try_echo"; } >&5
 
3158
  (eval "$ac_link") 2>&5
 
3159
  ac_status=$?
 
3160
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3161
  test $ac_status = 0; }
 
3162
  if { ac_try='./conftest$ac_cv_exeext'
 
3163
  { { case "(($ac_try" in
 
3164
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3165
  *) ac_try_echo=$ac_try;;
 
3166
esac
 
3167
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3168
$as_echo "$ac_try_echo"; } >&5
 
3169
  (eval "$ac_try") 2>&5
 
3170
  ac_status=$?
 
3171
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3172
  test $ac_status = 0; }; }; then
 
3173
    cross_compiling=no
 
3174
  else
 
3175
    if test "$cross_compiling" = maybe; then
 
3176
        cross_compiling=yes
 
3177
    else
 
3178
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3179
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3180
as_fn_error $? "cannot run C compiled programs.
 
3181
If you meant to cross compile, use \`--host'.
 
3182
See \`config.log' for more details" "$LINENO" 5; }
 
3183
    fi
 
3184
  fi
 
3185
fi
 
3186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3187
$as_echo "$cross_compiling" >&6; }
 
3188
 
 
3189
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3190
ac_clean_files=$ac_clean_files_save
 
3191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2990
3192
$as_echo_n "checking for suffix of object files... " >&6; }
2991
 
if test "${ac_cv_objext+set}" = set; then
 
3193
if test "${ac_cv_objext+set}" = set; then :
2992
3194
  $as_echo_n "(cached) " >&6
2993
3195
else
2994
 
  cat >conftest.$ac_ext <<_ACEOF
2995
 
/* confdefs.h.  */
2996
 
_ACEOF
2997
 
cat confdefs.h >>conftest.$ac_ext
2998
 
cat >>conftest.$ac_ext <<_ACEOF
 
3196
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999
3197
/* end confdefs.h.  */
3000
3198
 
3001
3199
int
3007
3205
}
3008
3206
_ACEOF
3009
3207
rm -f conftest.o conftest.obj
3010
 
if { (ac_try="$ac_compile"
 
3208
if { { ac_try="$ac_compile"
3011
3209
case "(($ac_try" in
3012
3210
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3013
3211
  *) ac_try_echo=$ac_try;;
3014
3212
esac
3015
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3016
 
$as_echo "$ac_try_echo") >&5
 
3213
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3214
$as_echo "$ac_try_echo"; } >&5
3017
3215
  (eval "$ac_compile") 2>&5
3018
3216
  ac_status=$?
3019
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020
 
  (exit $ac_status); }; then
 
3217
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3218
  test $ac_status = 0; }; then :
3021
3219
  for ac_file in conftest.o conftest.obj conftest.*; do
3022
3220
  test -f "$ac_file" || continue;
3023
3221
  case $ac_file in
3030
3228
  $as_echo "$as_me: failed program was:" >&5
3031
3229
sed 's/^/| /' conftest.$ac_ext >&5
3032
3230
 
3033
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3231
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3034
3232
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3035
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3036
 
See \`config.log' for more details." >&5
3037
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3038
 
See \`config.log' for more details." >&2;}
3039
 
   { (exit 1); exit 1; }; }; }
 
3233
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3234
See \`config.log' for more details" "$LINENO" 5; }
3040
3235
fi
3041
 
 
3042
3236
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3043
3237
fi
3044
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3045
3239
$as_echo "$ac_cv_objext" >&6; }
3046
3240
OBJEXT=$ac_cv_objext
3047
3241
ac_objext=$OBJEXT
3048
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3049
3243
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3050
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3244
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3051
3245
  $as_echo_n "(cached) " >&6
3052
3246
else
3053
 
  cat >conftest.$ac_ext <<_ACEOF
3054
 
/* confdefs.h.  */
3055
 
_ACEOF
3056
 
cat confdefs.h >>conftest.$ac_ext
3057
 
cat >>conftest.$ac_ext <<_ACEOF
 
3247
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058
3248
/* end confdefs.h.  */
3059
3249
 
3060
3250
int
3068
3258
  return 0;
3069
3259
}
3070
3260
_ACEOF
3071
 
rm -f conftest.$ac_objext
3072
 
if { (ac_try="$ac_compile"
3073
 
case "(($ac_try" in
3074
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3075
 
  *) ac_try_echo=$ac_try;;
3076
 
esac
3077
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3078
 
$as_echo "$ac_try_echo") >&5
3079
 
  (eval "$ac_compile") 2>conftest.er1
3080
 
  ac_status=$?
3081
 
  grep -v '^ *+' conftest.er1 >conftest.err
3082
 
  rm -f conftest.er1
3083
 
  cat conftest.err >&5
3084
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085
 
  (exit $ac_status); } && {
3086
 
         test -z "$ac_c_werror_flag" ||
3087
 
         test ! -s conftest.err
3088
 
       } && test -s conftest.$ac_objext; then
 
3261
if ac_fn_c_try_compile "$LINENO"; then :
3089
3262
  ac_compiler_gnu=yes
3090
3263
else
3091
 
  $as_echo "$as_me: failed program was:" >&5
3092
 
sed 's/^/| /' conftest.$ac_ext >&5
3093
 
 
3094
 
        ac_compiler_gnu=no
 
3264
  ac_compiler_gnu=no
3095
3265
fi
3096
 
 
3097
3266
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3098
3267
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3099
3268
 
3100
3269
fi
3101
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3102
3271
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3103
3272
if test $ac_compiler_gnu = yes; then
3104
3273
  GCC=yes
3107
3276
fi
3108
3277
ac_test_CFLAGS=${CFLAGS+set}
3109
3278
ac_save_CFLAGS=$CFLAGS
3110
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3111
3280
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3112
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3281
if test "${ac_cv_prog_cc_g+set}" = set; then :
3113
3282
  $as_echo_n "(cached) " >&6
3114
3283
else
3115
3284
  ac_save_c_werror_flag=$ac_c_werror_flag
3116
3285
   ac_c_werror_flag=yes
3117
3286
   ac_cv_prog_cc_g=no
3118
3287
   CFLAGS="-g"
3119
 
   cat >conftest.$ac_ext <<_ACEOF
3120
 
/* confdefs.h.  */
3121
 
_ACEOF
3122
 
cat confdefs.h >>conftest.$ac_ext
3123
 
cat >>conftest.$ac_ext <<_ACEOF
 
3288
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124
3289
/* end confdefs.h.  */
3125
3290
 
3126
3291
int
3131
3296
  return 0;
3132
3297
}
3133
3298
_ACEOF
3134
 
rm -f conftest.$ac_objext
3135
 
if { (ac_try="$ac_compile"
3136
 
case "(($ac_try" in
3137
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138
 
  *) ac_try_echo=$ac_try;;
3139
 
esac
3140
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3141
 
$as_echo "$ac_try_echo") >&5
3142
 
  (eval "$ac_compile") 2>conftest.er1
3143
 
  ac_status=$?
3144
 
  grep -v '^ *+' conftest.er1 >conftest.err
3145
 
  rm -f conftest.er1
3146
 
  cat conftest.err >&5
3147
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148
 
  (exit $ac_status); } && {
3149
 
         test -z "$ac_c_werror_flag" ||
3150
 
         test ! -s conftest.err
3151
 
       } && test -s conftest.$ac_objext; then
 
3299
if ac_fn_c_try_compile "$LINENO"; then :
3152
3300
  ac_cv_prog_cc_g=yes
3153
3301
else
3154
 
  $as_echo "$as_me: failed program was:" >&5
3155
 
sed 's/^/| /' conftest.$ac_ext >&5
3156
 
 
3157
 
        CFLAGS=""
3158
 
      cat >conftest.$ac_ext <<_ACEOF
3159
 
/* confdefs.h.  */
3160
 
_ACEOF
3161
 
cat confdefs.h >>conftest.$ac_ext
3162
 
cat >>conftest.$ac_ext <<_ACEOF
 
3302
  CFLAGS=""
 
3303
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163
3304
/* end confdefs.h.  */
3164
3305
 
3165
3306
int
3170
3311
  return 0;
3171
3312
}
3172
3313
_ACEOF
3173
 
rm -f conftest.$ac_objext
3174
 
if { (ac_try="$ac_compile"
3175
 
case "(($ac_try" in
3176
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177
 
  *) ac_try_echo=$ac_try;;
3178
 
esac
3179
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3180
 
$as_echo "$ac_try_echo") >&5
3181
 
  (eval "$ac_compile") 2>conftest.er1
3182
 
  ac_status=$?
3183
 
  grep -v '^ *+' conftest.er1 >conftest.err
3184
 
  rm -f conftest.er1
3185
 
  cat conftest.err >&5
3186
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187
 
  (exit $ac_status); } && {
3188
 
         test -z "$ac_c_werror_flag" ||
3189
 
         test ! -s conftest.err
3190
 
       } && test -s conftest.$ac_objext; then
3191
 
  :
 
3314
if ac_fn_c_try_compile "$LINENO"; then :
 
3315
 
3192
3316
else
3193
 
  $as_echo "$as_me: failed program was:" >&5
3194
 
sed 's/^/| /' conftest.$ac_ext >&5
3195
 
 
3196
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3317
  ac_c_werror_flag=$ac_save_c_werror_flag
3197
3318
         CFLAGS="-g"
3198
 
         cat >conftest.$ac_ext <<_ACEOF
3199
 
/* confdefs.h.  */
3200
 
_ACEOF
3201
 
cat confdefs.h >>conftest.$ac_ext
3202
 
cat >>conftest.$ac_ext <<_ACEOF
 
3319
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203
3320
/* end confdefs.h.  */
3204
3321
 
3205
3322
int
3210
3327
  return 0;
3211
3328
}
3212
3329
_ACEOF
3213
 
rm -f conftest.$ac_objext
3214
 
if { (ac_try="$ac_compile"
3215
 
case "(($ac_try" in
3216
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217
 
  *) ac_try_echo=$ac_try;;
3218
 
esac
3219
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3220
 
$as_echo "$ac_try_echo") >&5
3221
 
  (eval "$ac_compile") 2>conftest.er1
3222
 
  ac_status=$?
3223
 
  grep -v '^ *+' conftest.er1 >conftest.err
3224
 
  rm -f conftest.er1
3225
 
  cat conftest.err >&5
3226
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227
 
  (exit $ac_status); } && {
3228
 
         test -z "$ac_c_werror_flag" ||
3229
 
         test ! -s conftest.err
3230
 
       } && test -s conftest.$ac_objext; then
 
3330
if ac_fn_c_try_compile "$LINENO"; then :
3231
3331
  ac_cv_prog_cc_g=yes
3232
 
else
3233
 
  $as_echo "$as_me: failed program was:" >&5
3234
 
sed 's/^/| /' conftest.$ac_ext >&5
3235
 
 
3236
 
 
3237
 
fi
3238
 
 
3239
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240
 
fi
3241
 
 
3242
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243
 
fi
3244
 
 
 
3332
fi
 
3333
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3334
fi
 
3335
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3336
fi
3245
3337
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246
3338
   ac_c_werror_flag=$ac_save_c_werror_flag
3247
3339
fi
3248
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3249
3341
$as_echo "$ac_cv_prog_cc_g" >&6; }
3250
3342
if test "$ac_test_CFLAGS" = set; then
3251
3343
  CFLAGS=$ac_save_CFLAGS
3262
3354
    CFLAGS=
3263
3355
  fi
3264
3356
fi
3265
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3266
3358
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3267
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3359
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3268
3360
  $as_echo_n "(cached) " >&6
3269
3361
else
3270
3362
  ac_cv_prog_cc_c89=no
3271
3363
ac_save_CC=$CC
3272
 
cat >conftest.$ac_ext <<_ACEOF
3273
 
/* confdefs.h.  */
3274
 
_ACEOF
3275
 
cat confdefs.h >>conftest.$ac_ext
3276
 
cat >>conftest.$ac_ext <<_ACEOF
 
3364
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277
3365
/* end confdefs.h.  */
3278
3366
#include <stdarg.h>
3279
3367
#include <stdio.h>
3330
3418
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3331
3419
do
3332
3420
  CC="$ac_save_CC $ac_arg"
3333
 
  rm -f conftest.$ac_objext
3334
 
if { (ac_try="$ac_compile"
3335
 
case "(($ac_try" in
3336
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337
 
  *) ac_try_echo=$ac_try;;
3338
 
esac
3339
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3340
 
$as_echo "$ac_try_echo") >&5
3341
 
  (eval "$ac_compile") 2>conftest.er1
3342
 
  ac_status=$?
3343
 
  grep -v '^ *+' conftest.er1 >conftest.err
3344
 
  rm -f conftest.er1
3345
 
  cat conftest.err >&5
3346
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347
 
  (exit $ac_status); } && {
3348
 
         test -z "$ac_c_werror_flag" ||
3349
 
         test ! -s conftest.err
3350
 
       } && test -s conftest.$ac_objext; then
 
3421
  if ac_fn_c_try_compile "$LINENO"; then :
3351
3422
  ac_cv_prog_cc_c89=$ac_arg
3352
 
else
3353
 
  $as_echo "$as_me: failed program was:" >&5
3354
 
sed 's/^/| /' conftest.$ac_ext >&5
3355
 
 
3356
 
 
3357
3423
fi
3358
 
 
3359
3424
rm -f core conftest.err conftest.$ac_objext
3360
3425
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3361
3426
done
3366
3431
# AC_CACHE_VAL
3367
3432
case "x$ac_cv_prog_cc_c89" in
3368
3433
  x)
3369
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3434
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3370
3435
$as_echo "none needed" >&6; } ;;
3371
3436
  xno)
3372
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3437
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3373
3438
$as_echo "unsupported" >&6; } ;;
3374
3439
  *)
3375
3440
    CC="$CC $ac_cv_prog_cc_c89"
3376
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3441
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3377
3442
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3378
3443
esac
 
3444
if test "x$ac_cv_prog_cc_c89" != xno; then :
3379
3445
 
 
3446
fi
3380
3447
 
3381
3448
ac_ext=c
3382
3449
ac_cpp='$CPP $CPPFLAGS'
3386
3453
 
3387
3454
depcc="$CC"   am_compiler_list=
3388
3455
 
3389
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3390
3457
$as_echo_n "checking dependency style of $depcc... " >&6; }
3391
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3458
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3392
3459
  $as_echo_n "(cached) " >&6
3393
3460
else
3394
3461
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3496
3563
fi
3497
3564
 
3498
3565
fi
3499
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3500
3567
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3501
3568
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3502
3569
 
3516
3583
 
3517
3584
case "$am__api_version" in
3518
3585
    1.01234)
3519
 
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3520
 
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3521
 
   { (exit 1); exit 1; }; }
 
3586
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3522
3587
    ;;
3523
3588
    *)
3524
3589
    ;;
3525
3590
esac
3526
3591
 
3527
3592
if test -n "0.35.0"; then
3528
 
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
 
3593
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
3529
3594
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3530
3595
 
3531
3596
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3532
3597
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3533
3598
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3534
3599
 
3535
 
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
3600
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3536
3601
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3537
3602
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3538
 
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
3539
 
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
3540
 
   { (exit 1); exit 1; }; }
 
3603
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
3541
3604
fi
3542
3605
 
3543
3606
# Extract the first word of "intltool-update", so it can be a program name with args.
3544
3607
set dummy intltool-update; ac_word=$2
3545
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546
3609
$as_echo_n "checking for $ac_word... " >&6; }
3547
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
3610
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
3548
3611
  $as_echo_n "(cached) " >&6
3549
3612
else
3550
3613
  case $INTLTOOL_UPDATE in
3557
3620
do
3558
3621
  IFS=$as_save_IFS
3559
3622
  test -z "$as_dir" && as_dir=.
3560
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3623
    for ac_exec_ext in '' $ac_executable_extensions; do
3561
3624
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3562
3625
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3563
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3626
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564
3627
    break 2
3565
3628
  fi
3566
3629
done
3567
 
done
 
3630
  done
3568
3631
IFS=$as_save_IFS
3569
3632
 
3570
3633
  ;;
3572
3635
fi
3573
3636
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3574
3637
if test -n "$INTLTOOL_UPDATE"; then
3575
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
3638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3576
3639
$as_echo "$INTLTOOL_UPDATE" >&6; }
3577
3640
else
3578
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3641
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579
3642
$as_echo "no" >&6; }
3580
3643
fi
3581
3644
 
3582
3645
 
3583
3646
# Extract the first word of "intltool-merge", so it can be a program name with args.
3584
3647
set dummy intltool-merge; ac_word=$2
3585
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586
3649
$as_echo_n "checking for $ac_word... " >&6; }
3587
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
3650
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
3588
3651
  $as_echo_n "(cached) " >&6
3589
3652
else
3590
3653
  case $INTLTOOL_MERGE in
3597
3660
do
3598
3661
  IFS=$as_save_IFS
3599
3662
  test -z "$as_dir" && as_dir=.
3600
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3663
    for ac_exec_ext in '' $ac_executable_extensions; do
3601
3664
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3602
3665
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3603
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3666
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3604
3667
    break 2
3605
3668
  fi
3606
3669
done
3607
 
done
 
3670
  done
3608
3671
IFS=$as_save_IFS
3609
3672
 
3610
3673
  ;;
3612
3675
fi
3613
3676
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3614
3677
if test -n "$INTLTOOL_MERGE"; then
3615
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
3678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3616
3679
$as_echo "$INTLTOOL_MERGE" >&6; }
3617
3680
else
3618
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3681
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619
3682
$as_echo "no" >&6; }
3620
3683
fi
3621
3684
 
3622
3685
 
3623
3686
# Extract the first word of "intltool-extract", so it can be a program name with args.
3624
3687
set dummy intltool-extract; ac_word=$2
3625
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3626
3689
$as_echo_n "checking for $ac_word... " >&6; }
3627
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
3690
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
3628
3691
  $as_echo_n "(cached) " >&6
3629
3692
else
3630
3693
  case $INTLTOOL_EXTRACT in
3637
3700
do
3638
3701
  IFS=$as_save_IFS
3639
3702
  test -z "$as_dir" && as_dir=.
3640
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3703
    for ac_exec_ext in '' $ac_executable_extensions; do
3641
3704
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3642
3705
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3643
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3706
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644
3707
    break 2
3645
3708
  fi
3646
3709
done
3647
 
done
 
3710
  done
3648
3711
IFS=$as_save_IFS
3649
3712
 
3650
3713
  ;;
3652
3715
fi
3653
3716
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3654
3717
if test -n "$INTLTOOL_EXTRACT"; then
3655
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
3718
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
3656
3719
$as_echo "$INTLTOOL_EXTRACT" >&6; }
3657
3720
else
3658
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3721
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659
3722
$as_echo "no" >&6; }
3660
3723
fi
3661
3724
 
3662
3725
 
3663
3726
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3664
 
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
3665
 
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
3666
 
   { (exit 1); exit 1; }; }
 
3727
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
3667
3728
fi
3668
3729
 
3669
3730
  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 $< $@'
3785
3846
# Check the gettext tools to make sure they are GNU
3786
3847
# Extract the first word of "xgettext", so it can be a program name with args.
3787
3848
set dummy xgettext; ac_word=$2
3788
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789
3850
$as_echo_n "checking for $ac_word... " >&6; }
3790
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
3851
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
3791
3852
  $as_echo_n "(cached) " >&6
3792
3853
else
3793
3854
  case $XGETTEXT in
3800
3861
do
3801
3862
  IFS=$as_save_IFS
3802
3863
  test -z "$as_dir" && as_dir=.
3803
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3864
    for ac_exec_ext in '' $ac_executable_extensions; do
3804
3865
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3805
3866
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3806
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3867
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807
3868
    break 2
3808
3869
  fi
3809
3870
done
3810
 
done
 
3871
  done
3811
3872
IFS=$as_save_IFS
3812
3873
 
3813
3874
  ;;
3815
3876
fi
3816
3877
XGETTEXT=$ac_cv_path_XGETTEXT
3817
3878
if test -n "$XGETTEXT"; then
3818
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
3879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3819
3880
$as_echo "$XGETTEXT" >&6; }
3820
3881
else
3821
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3882
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822
3883
$as_echo "no" >&6; }
3823
3884
fi
3824
3885
 
3825
3886
 
3826
3887
# Extract the first word of "msgmerge", so it can be a program name with args.
3827
3888
set dummy msgmerge; ac_word=$2
3828
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829
3890
$as_echo_n "checking for $ac_word... " >&6; }
3830
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
3891
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
3831
3892
  $as_echo_n "(cached) " >&6
3832
3893
else
3833
3894
  case $MSGMERGE in
3840
3901
do
3841
3902
  IFS=$as_save_IFS
3842
3903
  test -z "$as_dir" && as_dir=.
3843
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3904
    for ac_exec_ext in '' $ac_executable_extensions; do
3844
3905
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3845
3906
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3846
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3907
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3847
3908
    break 2
3848
3909
  fi
3849
3910
done
3850
 
done
 
3911
  done
3851
3912
IFS=$as_save_IFS
3852
3913
 
3853
3914
  ;;
3855
3916
fi
3856
3917
MSGMERGE=$ac_cv_path_MSGMERGE
3857
3918
if test -n "$MSGMERGE"; then
3858
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
3919
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3859
3920
$as_echo "$MSGMERGE" >&6; }
3860
3921
else
3861
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3922
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862
3923
$as_echo "no" >&6; }
3863
3924
fi
3864
3925
 
3865
3926
 
3866
3927
# Extract the first word of "msgfmt", so it can be a program name with args.
3867
3928
set dummy msgfmt; ac_word=$2
3868
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3869
3930
$as_echo_n "checking for $ac_word... " >&6; }
3870
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
3931
if test "${ac_cv_path_MSGFMT+set}" = set; then :
3871
3932
  $as_echo_n "(cached) " >&6
3872
3933
else
3873
3934
  case $MSGFMT in
3880
3941
do
3881
3942
  IFS=$as_save_IFS
3882
3943
  test -z "$as_dir" && as_dir=.
3883
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3944
    for ac_exec_ext in '' $ac_executable_extensions; do
3884
3945
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885
3946
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3886
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3947
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887
3948
    break 2
3888
3949
  fi
3889
3950
done
3890
 
done
 
3951
  done
3891
3952
IFS=$as_save_IFS
3892
3953
 
3893
3954
  ;;
3895
3956
fi
3896
3957
MSGFMT=$ac_cv_path_MSGFMT
3897
3958
if test -n "$MSGFMT"; then
3898
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
3959
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3899
3960
$as_echo "$MSGFMT" >&6; }
3900
3961
else
3901
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902
3963
$as_echo "no" >&6; }
3903
3964
fi
3904
3965
 
3905
3966
 
3906
3967
# Extract the first word of "gmsgfmt", so it can be a program name with args.
3907
3968
set dummy gmsgfmt; ac_word=$2
3908
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3909
3970
$as_echo_n "checking for $ac_word... " >&6; }
3910
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
3971
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
3911
3972
  $as_echo_n "(cached) " >&6
3912
3973
else
3913
3974
  case $GMSGFMT in
3920
3981
do
3921
3982
  IFS=$as_save_IFS
3922
3983
  test -z "$as_dir" && as_dir=.
3923
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3984
    for ac_exec_ext in '' $ac_executable_extensions; do
3924
3985
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3925
3986
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3926
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3987
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3927
3988
    break 2
3928
3989
  fi
3929
3990
done
3930
 
done
 
3991
  done
3931
3992
IFS=$as_save_IFS
3932
3993
 
3933
3994
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3936
3997
fi
3937
3998
GMSGFMT=$ac_cv_path_GMSGFMT
3938
3999
if test -n "$GMSGFMT"; then
3939
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
4000
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3940
4001
$as_echo "$GMSGFMT" >&6; }
3941
4002
else
3942
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4003
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3943
4004
$as_echo "no" >&6; }
3944
4005
fi
3945
4006
 
3946
4007
 
3947
4008
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3948
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
3949
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
3950
 
   { (exit 1); exit 1; }; }
 
4009
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3951
4010
fi
3952
4011
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3953
4012
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3954
4013
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3955
4014
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3956
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
3957
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
3958
 
   { (exit 1); exit 1; }; }
 
4015
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3959
4016
fi
3960
4017
 
3961
4018
# Extract the first word of "perl", so it can be a program name with args.
3962
4019
set dummy perl; ac_word=$2
3963
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964
4021
$as_echo_n "checking for $ac_word... " >&6; }
3965
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
4022
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
3966
4023
  $as_echo_n "(cached) " >&6
3967
4024
else
3968
4025
  case $INTLTOOL_PERL in
3975
4032
do
3976
4033
  IFS=$as_save_IFS
3977
4034
  test -z "$as_dir" && as_dir=.
3978
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4035
    for ac_exec_ext in '' $ac_executable_extensions; do
3979
4036
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980
4037
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3981
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4038
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3982
4039
    break 2
3983
4040
  fi
3984
4041
done
3985
 
done
 
4042
  done
3986
4043
IFS=$as_save_IFS
3987
4044
 
3988
4045
  ;;
3990
4047
fi
3991
4048
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3992
4049
if test -n "$INTLTOOL_PERL"; then
3993
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
4050
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
3994
4051
$as_echo "$INTLTOOL_PERL" >&6; }
3995
4052
else
3996
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4053
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997
4054
$as_echo "no" >&6; }
3998
4055
fi
3999
4056
 
4000
4057
 
4001
4058
if test -z "$INTLTOOL_PERL"; then
4002
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
4003
 
$as_echo "$as_me: error: perl not found" >&2;}
4004
 
   { (exit 1); exit 1; }; }
 
4059
   as_fn_error $? "perl not found" "$LINENO" 5
4005
4060
fi
4006
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
4061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4007
4062
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4008
4063
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4009
4064
if test $? -ne 0; then
4010
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
4011
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
4012
 
   { (exit 1); exit 1; }; }
 
4065
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4013
4066
else
4014
4067
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4015
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
4068
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4016
4069
$as_echo "$IT_PERL_VERSION" >&6; }
4017
4070
fi
4018
4071
if test "xno-xml" != "xno-xml"; then
4019
 
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
4072
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4020
4073
$as_echo_n "checking for XML::Parser... " >&6; }
4021
4074
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4022
 
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
4075
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4023
4076
$as_echo "ok" >&6; }
4024
4077
   else
4025
 
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
4026
 
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
4027
 
   { (exit 1); exit 1; }; }
 
4078
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4028
4079
   fi
4029
4080
fi
4030
4081
 
4034
4085
# Set DATADIRNAME correctly if it is not set yet
4035
4086
# (copied from glib-gettext.m4)
4036
4087
if test -z "$DATADIRNAME"; then
4037
 
  cat >conftest.$ac_ext <<_ACEOF
4038
 
/* confdefs.h.  */
4039
 
_ACEOF
4040
 
cat confdefs.h >>conftest.$ac_ext
4041
 
cat >>conftest.$ac_ext <<_ACEOF
 
4088
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042
4089
/* end confdefs.h.  */
4043
4090
 
4044
4091
int
4050
4097
  return 0;
4051
4098
}
4052
4099
_ACEOF
4053
 
rm -f conftest.$ac_objext conftest$ac_exeext
4054
 
if { (ac_try="$ac_link"
4055
 
case "(($ac_try" in
4056
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4057
 
  *) ac_try_echo=$ac_try;;
4058
 
esac
4059
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4060
 
$as_echo "$ac_try_echo") >&5
4061
 
  (eval "$ac_link") 2>conftest.er1
4062
 
  ac_status=$?
4063
 
  grep -v '^ *+' conftest.er1 >conftest.err
4064
 
  rm -f conftest.er1
4065
 
  cat conftest.err >&5
4066
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067
 
  (exit $ac_status); } && {
4068
 
         test -z "$ac_c_werror_flag" ||
4069
 
         test ! -s conftest.err
4070
 
       } && test -s conftest$ac_exeext && {
4071
 
         test "$cross_compiling" = yes ||
4072
 
         $as_test_x conftest$ac_exeext
4073
 
       }; then
 
4100
if ac_fn_c_try_link "$LINENO"; then :
4074
4101
  DATADIRNAME=share
4075
4102
else
4076
 
  $as_echo "$as_me: failed program was:" >&5
4077
 
sed 's/^/| /' conftest.$ac_ext >&5
4078
 
 
4079
 
        case $host in
 
4103
  case $host in
4080
4104
    *-*-solaris*)
4081
 
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4082
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
4083
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4084
 
  $as_echo_n "(cached) " >&6
4085
 
else
4086
 
  cat >conftest.$ac_ext <<_ACEOF
4087
 
/* confdefs.h.  */
4088
 
_ACEOF
4089
 
cat confdefs.h >>conftest.$ac_ext
4090
 
cat >>conftest.$ac_ext <<_ACEOF
4091
 
/* end confdefs.h.  */
4092
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4093
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4094
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4095
 
 
4096
 
/* System header to define __stub macros and hopefully few prototypes,
4097
 
    which can conflict with char bind_textdomain_codeset (); below.
4098
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4099
 
    <limits.h> exists even on freestanding compilers.  */
4100
 
 
4101
 
#ifdef __STDC__
4102
 
# include <limits.h>
4103
 
#else
4104
 
# include <assert.h>
4105
 
#endif
4106
 
 
4107
 
#undef bind_textdomain_codeset
4108
 
 
4109
 
/* Override any GCC internal prototype to avoid an error.
4110
 
   Use char because int might match the return type of a GCC
4111
 
   builtin and then its argument prototype would still apply.  */
4112
 
#ifdef __cplusplus
4113
 
extern "C"
4114
 
#endif
4115
 
char bind_textdomain_codeset ();
4116
 
/* The GNU C library defines this for functions which it implements
4117
 
    to always fail with ENOSYS.  Some functions are actually named
4118
 
    something starting with __ and the normal name is an alias.  */
4119
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
4120
 
choke me
4121
 
#endif
4122
 
 
4123
 
int
4124
 
main ()
4125
 
{
4126
 
return bind_textdomain_codeset ();
4127
 
  ;
4128
 
  return 0;
4129
 
}
4130
 
_ACEOF
4131
 
rm -f conftest.$ac_objext conftest$ac_exeext
4132
 
if { (ac_try="$ac_link"
4133
 
case "(($ac_try" in
4134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135
 
  *) ac_try_echo=$ac_try;;
4136
 
esac
4137
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4138
 
$as_echo "$ac_try_echo") >&5
4139
 
  (eval "$ac_link") 2>conftest.er1
4140
 
  ac_status=$?
4141
 
  grep -v '^ *+' conftest.er1 >conftest.err
4142
 
  rm -f conftest.er1
4143
 
  cat conftest.err >&5
4144
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145
 
  (exit $ac_status); } && {
4146
 
         test -z "$ac_c_werror_flag" ||
4147
 
         test ! -s conftest.err
4148
 
       } && test -s conftest$ac_exeext && {
4149
 
         test "$cross_compiling" = yes ||
4150
 
         $as_test_x conftest$ac_exeext
4151
 
       }; then
4152
 
  ac_cv_func_bind_textdomain_codeset=yes
4153
 
else
4154
 
  $as_echo "$as_me: failed program was:" >&5
4155
 
sed 's/^/| /' conftest.$ac_ext >&5
4156
 
 
4157
 
        ac_cv_func_bind_textdomain_codeset=no
4158
 
fi
4159
 
 
4160
 
rm -rf conftest.dSYM
4161
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4162
 
      conftest$ac_exeext conftest.$ac_ext
4163
 
fi
4164
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4165
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4166
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
4105
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4106
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4167
4107
  DATADIRNAME=share
4168
4108
else
4169
4109
  DATADIRNAME=lib
4175
4115
    ;;
4176
4116
    esac
4177
4117
fi
4178
 
 
4179
 
rm -rf conftest.dSYM
4180
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4181
 
      conftest$ac_exeext conftest.$ac_ext
 
4118
rm -f core conftest.err conftest.$ac_objext \
 
4119
    conftest$ac_exeext conftest.$ac_ext
4182
4120
fi
4183
4121
 
4184
4122
 
4188
4126
 
4189
4127
 
4190
4128
 
4191
 
      GETTEXT_MACRO_VERSION=0.17
 
4129
      GETTEXT_MACRO_VERSION=0.18
4192
4130
 
4193
4131
 
4194
4132
 
4223
4161
 
4224
4162
# Extract the first word of "msgfmt", so it can be a program name with args.
4225
4163
set dummy msgfmt; ac_word=$2
4226
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227
4165
$as_echo_n "checking for $ac_word... " >&6; }
4228
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
4166
if test "${ac_cv_path_MSGFMT+set}" = set; then :
4229
4167
  $as_echo_n "(cached) " >&6
4230
4168
else
4231
4169
  case "$MSGFMT" in
4255
4193
fi
4256
4194
MSGFMT="$ac_cv_path_MSGFMT"
4257
4195
if test "$MSGFMT" != ":"; then
4258
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
4196
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4259
4197
$as_echo "$MSGFMT" >&6; }
4260
4198
else
4261
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4199
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4262
4200
$as_echo "no" >&6; }
4263
4201
fi
4264
4202
 
4265
4203
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
4266
4204
set dummy gmsgfmt; ac_word=$2
4267
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268
4206
$as_echo_n "checking for $ac_word... " >&6; }
4269
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
4207
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4270
4208
  $as_echo_n "(cached) " >&6
4271
4209
else
4272
4210
  case $GMSGFMT in
4279
4217
do
4280
4218
  IFS=$as_save_IFS
4281
4219
  test -z "$as_dir" && as_dir=.
4282
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4220
    for ac_exec_ext in '' $ac_executable_extensions; do
4283
4221
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4284
4222
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4285
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4223
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286
4224
    break 2
4287
4225
  fi
4288
4226
done
4289
 
done
 
4227
  done
4290
4228
IFS=$as_save_IFS
4291
4229
 
4292
4230
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4295
4233
fi
4296
4234
GMSGFMT=$ac_cv_path_GMSGFMT
4297
4235
if test -n "$GMSGFMT"; then
4298
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
4236
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4299
4237
$as_echo "$GMSGFMT" >&6; }
4300
4238
else
4301
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4239
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4302
4240
$as_echo "no" >&6; }
4303
4241
fi
4304
4242
 
4346
4284
 
4347
4285
# Extract the first word of "xgettext", so it can be a program name with args.
4348
4286
set dummy xgettext; ac_word=$2
4349
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350
4288
$as_echo_n "checking for $ac_word... " >&6; }
4351
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
4289
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4352
4290
  $as_echo_n "(cached) " >&6
4353
4291
else
4354
4292
  case "$XGETTEXT" in
4378
4316
fi
4379
4317
XGETTEXT="$ac_cv_path_XGETTEXT"
4380
4318
if test "$XGETTEXT" != ":"; then
4381
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
4319
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4382
4320
$as_echo "$XGETTEXT" >&6; }
4383
4321
else
4384
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4322
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385
4323
$as_echo "no" >&6; }
4386
4324
fi
4387
4325
 
4424
4362
 
4425
4363
# Extract the first word of "msgmerge", so it can be a program name with args.
4426
4364
set dummy msgmerge; ac_word=$2
4427
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428
4366
$as_echo_n "checking for $ac_word... " >&6; }
4429
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
4367
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4430
4368
  $as_echo_n "(cached) " >&6
4431
4369
else
4432
4370
  case "$MSGMERGE" in
4455
4393
fi
4456
4394
MSGMERGE="$ac_cv_path_MSGMERGE"
4457
4395
if test "$MSGMERGE" != ":"; then
4458
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
4396
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4459
4397
$as_echo "$MSGMERGE" >&6; }
4460
4398
else
4461
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4399
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462
4400
$as_echo "no" >&6; }
4463
4401
fi
4464
4402
 
4490
4428
 
4491
4429
# Make sure we can run config.sub.
4492
4430
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4493
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4494
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4495
 
   { (exit 1); exit 1; }; }
 
4431
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4496
4432
 
4497
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4498
4434
$as_echo_n "checking build system type... " >&6; }
4499
 
if test "${ac_cv_build+set}" = set; then
 
4435
if test "${ac_cv_build+set}" = set; then :
4500
4436
  $as_echo_n "(cached) " >&6
4501
4437
else
4502
4438
  ac_build_alias=$build_alias
4503
4439
test "x$ac_build_alias" = x &&
4504
4440
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4505
4441
test "x$ac_build_alias" = x &&
4506
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4507
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4508
 
   { (exit 1); exit 1; }; }
 
4442
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4509
4443
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4510
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4511
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4512
 
   { (exit 1); exit 1; }; }
 
4444
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4513
4445
 
4514
4446
fi
4515
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4516
4448
$as_echo "$ac_cv_build" >&6; }
4517
4449
case $ac_cv_build in
4518
4450
*-*-*) ;;
4519
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4520
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4521
 
   { (exit 1); exit 1; }; };;
 
4451
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4522
4452
esac
4523
4453
build=$ac_cv_build
4524
4454
ac_save_IFS=$IFS; IFS='-'
4534
4464
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4535
4465
 
4536
4466
 
4537
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4538
4468
$as_echo_n "checking host system type... " >&6; }
4539
 
if test "${ac_cv_host+set}" = set; then
 
4469
if test "${ac_cv_host+set}" = set; then :
4540
4470
  $as_echo_n "(cached) " >&6
4541
4471
else
4542
4472
  if test "x$host_alias" = x; then
4543
4473
  ac_cv_host=$ac_cv_build
4544
4474
else
4545
4475
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4546
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4547
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4548
 
   { (exit 1); exit 1; }; }
 
4476
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4549
4477
fi
4550
4478
 
4551
4479
fi
4552
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4553
4481
$as_echo "$ac_cv_host" >&6; }
4554
4482
case $ac_cv_host in
4555
4483
*-*-*) ;;
4556
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4557
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4558
 
   { (exit 1); exit 1; }; };;
 
4484
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4559
4485
esac
4560
4486
host=$ac_cv_host
4561
4487
ac_save_IFS=$IFS; IFS='-'
4573
4499
 
4574
4500
 
4575
4501
# Check whether --with-gnu-ld was given.
4576
 
if test "${with_gnu_ld+set}" = set; then
 
4502
if test "${with_gnu_ld+set}" = set; then :
4577
4503
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4578
4504
else
4579
4505
  with_gnu_ld=no
4595
4521
ac_prog=ld
4596
4522
if test "$GCC" = yes; then
4597
4523
  # Check if gcc -print-prog-name=ld gives a path.
4598
 
  { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
 
4524
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4599
4525
$as_echo_n "checking for ld used by GCC... " >&6; }
4600
4526
  case $host in
4601
4527
  *-*-mingw*)
4611
4537
      # Canonicalize the path of ld
4612
4538
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4613
4539
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4614
 
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
4540
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4615
4541
      done
4616
4542
      test -z "$LD" && LD="$ac_prog"
4617
4543
      ;;
4625
4551
    ;;
4626
4552
  esac
4627
4553
elif test "$with_gnu_ld" = yes; then
4628
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4554
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4629
4555
$as_echo_n "checking for GNU ld... " >&6; }
4630
4556
else
4631
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4557
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4632
4558
$as_echo_n "checking for non-GNU ld... " >&6; }
4633
4559
fi
4634
 
if test "${acl_cv_path_LD+set}" = set; then
 
4560
if test "${acl_cv_path_LD+set}" = set; then :
4635
4561
  $as_echo_n "(cached) " >&6
4636
4562
else
4637
4563
  if test -z "$LD"; then
4645
4571
      # Break only if it was the GNU/non-GNU ld that we prefer.
4646
4572
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4647
4573
      *GNU* | *'with BFD'*)
4648
 
        test "$with_gnu_ld" != no && break ;;
 
4574
        test "$with_gnu_ld" != no && break ;;
4649
4575
      *)
4650
 
        test "$with_gnu_ld" != yes && break ;;
 
4576
        test "$with_gnu_ld" != yes && break ;;
4651
4577
      esac
4652
4578
    fi
4653
4579
  done
4659
4585
 
4660
4586
LD="$acl_cv_path_LD"
4661
4587
if test -n "$LD"; then
4662
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4588
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4663
4589
$as_echo "$LD" >&6; }
4664
4590
else
4665
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666
4592
$as_echo "no" >&6; }
4667
4593
fi
4668
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4669
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4670
 
   { (exit 1); exit 1; }; }
4671
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4594
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
4595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4672
4596
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4673
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then
 
4597
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4674
4598
  $as_echo_n "(cached) " >&6
4675
4599
else
4676
4600
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4681
4605
  acl_cv_prog_gnu_ld=no ;;
4682
4606
esac
4683
4607
fi
4684
 
{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
 
4608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4685
4609
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
4686
4610
with_gnu_ld=$acl_cv_prog_gnu_ld
4687
4611
 
4688
4612
 
4689
4613
 
4690
4614
 
4691
 
                                                { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
 
4615
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4692
4616
$as_echo_n "checking for shared library run path origin... " >&6; }
4693
 
if test "${acl_cv_rpath+set}" = set; then
 
4617
if test "${acl_cv_rpath+set}" = set; then :
4694
4618
  $as_echo_n "(cached) " >&6
4695
4619
else
4696
4620
 
4701
4625
    acl_cv_rpath=done
4702
4626
 
4703
4627
fi
4704
 
{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
 
4628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4705
4629
$as_echo "$acl_cv_rpath" >&6; }
4706
4630
  wl="$acl_cv_wl"
4707
4631
  acl_libext="$acl_cv_libext"
4713
4637
  acl_hardcode_direct="$acl_cv_hardcode_direct"
4714
4638
  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4715
4639
    # Check whether --enable-rpath was given.
4716
 
if test "${enable_rpath+set}" = set; then
 
4640
if test "${enable_rpath+set}" = set; then :
4717
4641
  enableval=$enable_rpath; :
4718
4642
else
4719
4643
  enable_rpath=yes
4720
4644
fi
4721
4645
 
4722
4646
 
4723
 
 
4724
 
                  acl_libdirstem=lib
4725
 
  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4726
 
  if test -n "$searchpath"; then
4727
 
    acl_save_IFS="${IFS=        }"; IFS=":"
4728
 
    for searchdir in $searchpath; do
4729
 
      if test -d "$searchdir"; then
4730
 
        case "$searchdir" in
4731
 
          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4732
 
          *) searchdir=`cd "$searchdir" && pwd`
4733
 
             case "$searchdir" in
4734
 
               */lib64 ) acl_libdirstem=lib64 ;;
4735
 
             esac ;;
 
4647
ac_ext=c
 
4648
ac_cpp='$CPP $CPPFLAGS'
 
4649
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4650
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4651
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4653
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
4654
# On Suns, sometimes $CPP names a directory.
 
4655
if test -n "$CPP" && test -d "$CPP"; then
 
4656
  CPP=
 
4657
fi
 
4658
if test -z "$CPP"; then
 
4659
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4660
  $as_echo_n "(cached) " >&6
 
4661
else
 
4662
      # Double quotes because CPP needs to be expanded
 
4663
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
4664
    do
 
4665
      ac_preproc_ok=false
 
4666
for ac_c_preproc_warn_flag in '' yes
 
4667
do
 
4668
  # Use a header file that comes with gcc, so configuring glibc
 
4669
  # with a fresh cross-compiler works.
 
4670
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4671
  # <limits.h> exists even on freestanding compilers.
 
4672
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4673
  # not just through cpp. "Syntax error" is here to catch this case.
 
4674
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4675
/* end confdefs.h.  */
 
4676
#ifdef __STDC__
 
4677
# include <limits.h>
 
4678
#else
 
4679
# include <assert.h>
 
4680
#endif
 
4681
                     Syntax error
 
4682
_ACEOF
 
4683
if ac_fn_c_try_cpp "$LINENO"; then :
 
4684
 
 
4685
else
 
4686
  # Broken: fails on valid input.
 
4687
continue
 
4688
fi
 
4689
rm -f conftest.err conftest.$ac_ext
 
4690
 
 
4691
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4692
  # can be detected and how.
 
4693
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4694
/* end confdefs.h.  */
 
4695
#include <ac_nonexistent.h>
 
4696
_ACEOF
 
4697
if ac_fn_c_try_cpp "$LINENO"; then :
 
4698
  # Broken: success on invalid input.
 
4699
continue
 
4700
else
 
4701
  # Passes both tests.
 
4702
ac_preproc_ok=:
 
4703
break
 
4704
fi
 
4705
rm -f conftest.err conftest.$ac_ext
 
4706
 
 
4707
done
 
4708
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4709
rm -f conftest.err conftest.$ac_ext
 
4710
if $ac_preproc_ok; then :
 
4711
  break
 
4712
fi
 
4713
 
 
4714
    done
 
4715
    ac_cv_prog_CPP=$CPP
 
4716
 
 
4717
fi
 
4718
  CPP=$ac_cv_prog_CPP
 
4719
else
 
4720
  ac_cv_prog_CPP=$CPP
 
4721
fi
 
4722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4723
$as_echo "$CPP" >&6; }
 
4724
ac_preproc_ok=false
 
4725
for ac_c_preproc_warn_flag in '' yes
 
4726
do
 
4727
  # Use a header file that comes with gcc, so configuring glibc
 
4728
  # with a fresh cross-compiler works.
 
4729
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4730
  # <limits.h> exists even on freestanding compilers.
 
4731
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4732
  # not just through cpp. "Syntax error" is here to catch this case.
 
4733
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4734
/* end confdefs.h.  */
 
4735
#ifdef __STDC__
 
4736
# include <limits.h>
 
4737
#else
 
4738
# include <assert.h>
 
4739
#endif
 
4740
                     Syntax error
 
4741
_ACEOF
 
4742
if ac_fn_c_try_cpp "$LINENO"; then :
 
4743
 
 
4744
else
 
4745
  # Broken: fails on valid input.
 
4746
continue
 
4747
fi
 
4748
rm -f conftest.err conftest.$ac_ext
 
4749
 
 
4750
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4751
  # can be detected and how.
 
4752
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4753
/* end confdefs.h.  */
 
4754
#include <ac_nonexistent.h>
 
4755
_ACEOF
 
4756
if ac_fn_c_try_cpp "$LINENO"; then :
 
4757
  # Broken: success on invalid input.
 
4758
continue
 
4759
else
 
4760
  # Passes both tests.
 
4761
ac_preproc_ok=:
 
4762
break
 
4763
fi
 
4764
rm -f conftest.err conftest.$ac_ext
 
4765
 
 
4766
done
 
4767
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4768
rm -f conftest.err conftest.$ac_ext
 
4769
if $ac_preproc_ok; then :
 
4770
 
 
4771
else
 
4772
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4773
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4774
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4775
See \`config.log' for more details" "$LINENO" 5; }
 
4776
fi
 
4777
 
 
4778
ac_ext=c
 
4779
ac_cpp='$CPP $CPPFLAGS'
 
4780
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4781
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4782
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4783
 
 
4784
 
 
4785
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4786
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4787
if test "${ac_cv_path_GREP+set}" = set; then :
 
4788
  $as_echo_n "(cached) " >&6
 
4789
else
 
4790
  if test -z "$GREP"; then
 
4791
  ac_path_GREP_found=false
 
4792
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4793
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4794
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4795
do
 
4796
  IFS=$as_save_IFS
 
4797
  test -z "$as_dir" && as_dir=.
 
4798
    for ac_prog in grep ggrep; do
 
4799
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4800
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4801
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4802
# Check for GNU ac_path_GREP and select it if it is found.
 
4803
  # Check for GNU $ac_path_GREP
 
4804
case `"$ac_path_GREP" --version 2>&1` in
 
4805
*GNU*)
 
4806
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4807
*)
 
4808
  ac_count=0
 
4809
  $as_echo_n 0123456789 >"conftest.in"
 
4810
  while :
 
4811
  do
 
4812
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4813
    mv "conftest.tmp" "conftest.in"
 
4814
    cp "conftest.in" "conftest.nl"
 
4815
    $as_echo 'GREP' >> "conftest.nl"
 
4816
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4817
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4818
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4819
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4820
      # Best one so far, save it but keep looking for a better one
 
4821
      ac_cv_path_GREP="$ac_path_GREP"
 
4822
      ac_path_GREP_max=$ac_count
 
4823
    fi
 
4824
    # 10*(2^10) chars as input seems more than enough
 
4825
    test $ac_count -gt 10 && break
 
4826
  done
 
4827
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4828
esac
 
4829
 
 
4830
      $ac_path_GREP_found && break 3
 
4831
    done
 
4832
  done
 
4833
  done
 
4834
IFS=$as_save_IFS
 
4835
  if test -z "$ac_cv_path_GREP"; then
 
4836
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4837
  fi
 
4838
else
 
4839
  ac_cv_path_GREP=$GREP
 
4840
fi
 
4841
 
 
4842
fi
 
4843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4844
$as_echo "$ac_cv_path_GREP" >&6; }
 
4845
 GREP="$ac_cv_path_GREP"
 
4846
 
 
4847
 
 
4848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4849
$as_echo_n "checking for egrep... " >&6; }
 
4850
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4851
  $as_echo_n "(cached) " >&6
 
4852
else
 
4853
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4854
   then ac_cv_path_EGREP="$GREP -E"
 
4855
   else
 
4856
     if test -z "$EGREP"; then
 
4857
  ac_path_EGREP_found=false
 
4858
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4859
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4860
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4861
do
 
4862
  IFS=$as_save_IFS
 
4863
  test -z "$as_dir" && as_dir=.
 
4864
    for ac_prog in egrep; do
 
4865
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4866
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4867
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4868
# Check for GNU ac_path_EGREP and select it if it is found.
 
4869
  # Check for GNU $ac_path_EGREP
 
4870
case `"$ac_path_EGREP" --version 2>&1` in
 
4871
*GNU*)
 
4872
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4873
*)
 
4874
  ac_count=0
 
4875
  $as_echo_n 0123456789 >"conftest.in"
 
4876
  while :
 
4877
  do
 
4878
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4879
    mv "conftest.tmp" "conftest.in"
 
4880
    cp "conftest.in" "conftest.nl"
 
4881
    $as_echo 'EGREP' >> "conftest.nl"
 
4882
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4883
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4884
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4885
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4886
      # Best one so far, save it but keep looking for a better one
 
4887
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4888
      ac_path_EGREP_max=$ac_count
 
4889
    fi
 
4890
    # 10*(2^10) chars as input seems more than enough
 
4891
    test $ac_count -gt 10 && break
 
4892
  done
 
4893
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4894
esac
 
4895
 
 
4896
      $ac_path_EGREP_found && break 3
 
4897
    done
 
4898
  done
 
4899
  done
 
4900
IFS=$as_save_IFS
 
4901
  if test -z "$ac_cv_path_EGREP"; then
 
4902
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4903
  fi
 
4904
else
 
4905
  ac_cv_path_EGREP=$EGREP
 
4906
fi
 
4907
 
 
4908
   fi
 
4909
fi
 
4910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4911
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4912
 EGREP="$ac_cv_path_EGREP"
 
4913
 
 
4914
 
 
4915
 
 
4916
 
 
4917
  acl_libdirstem=lib
 
4918
  acl_libdirstem2=
 
4919
  case "$host_os" in
 
4920
    solaris*)
 
4921
                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
 
4922
$as_echo_n "checking for 64-bit host... " >&6; }
 
4923
if test "${gl_cv_solaris_64bit+set}" = set; then :
 
4924
  $as_echo_n "(cached) " >&6
 
4925
else
 
4926
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4927
/* end confdefs.h.  */
 
4928
 
 
4929
#ifdef _LP64
 
4930
sixtyfour bits
 
4931
#endif
 
4932
 
 
4933
_ACEOF
 
4934
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4935
  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
 
4936
  gl_cv_solaris_64bit=yes
 
4937
else
 
4938
  gl_cv_solaris_64bit=no
 
4939
fi
 
4940
rm -f conftest*
 
4941
 
 
4942
 
 
4943
fi
 
4944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
 
4945
$as_echo "$gl_cv_solaris_64bit" >&6; }
 
4946
      if test $gl_cv_solaris_64bit = yes; then
 
4947
        acl_libdirstem=lib/64
 
4948
        case "$host_cpu" in
 
4949
          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
 
4950
          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4736
4951
        esac
4737
4952
      fi
4738
 
    done
4739
 
    IFS="$acl_save_IFS"
4740
 
  fi
 
4953
      ;;
 
4954
    *)
 
4955
      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 
4956
      if test -n "$searchpath"; then
 
4957
        acl_save_IFS="${IFS=    }"; IFS=":"
 
4958
        for searchdir in $searchpath; do
 
4959
          if test -d "$searchdir"; then
 
4960
            case "$searchdir" in
 
4961
              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 
4962
              */../ | */.. )
 
4963
                # Better ignore directories of this form. They are misleading.
 
4964
                ;;
 
4965
              *) searchdir=`cd "$searchdir" && pwd`
 
4966
                 case "$searchdir" in
 
4967
                   */lib64 ) acl_libdirstem=lib64 ;;
 
4968
                 esac ;;
 
4969
            esac
 
4970
          fi
 
4971
        done
 
4972
        IFS="$acl_save_IFS"
 
4973
      fi
 
4974
      ;;
 
4975
  esac
 
4976
  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
 
4977
 
 
4978
 
 
4979
 
4741
4980
 
4742
4981
 
4743
4982
 
4762
5001
 
4763
5002
 
4764
5003
# Check whether --with-libiconv-prefix was given.
4765
 
if test "${with_libiconv_prefix+set}" = set; then
 
5004
if test "${with_libiconv_prefix+set}" = set; then :
4766
5005
  withval=$with_libiconv_prefix;
4767
5006
    if test "X$withval" = "Xno"; then
4768
5007
      use_additional=no
4783
5022
      else
4784
5023
        additional_includedir="$withval/include"
4785
5024
        additional_libdir="$withval/$acl_libdirstem"
 
5025
        if test "$acl_libdirstem2" != "$acl_libdirstem" \
 
5026
           && ! test -d "$withval/$acl_libdirstem"; then
 
5027
          additional_libdir="$withval/$acl_libdirstem2"
 
5028
        fi
4786
5029
      fi
4787
5030
    fi
4788
5031
 
4792
5035
  LTLIBICONV=
4793
5036
  INCICONV=
4794
5037
  LIBICONV_PREFIX=
 
5038
      HAVE_LIBICONV=
4795
5039
  rpathdirs=
4796
5040
  ltrpathdirs=
4797
5041
  names_already_handled=
4934
5178
          if test "X$found_dir" != "X"; then
4935
5179
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4936
5180
            if test "X$found_so" != "X"; then
4937
 
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
5181
                                                        if test "$enable_rpath" = no \
 
5182
                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
 
5183
                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
4938
5184
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4939
5185
              else
4940
5186
                                                                                haveit=
5001
5247
            case "$found_dir" in
5002
5248
              */$acl_libdirstem | */$acl_libdirstem/)
5003
5249
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5004
 
                LIBICONV_PREFIX="$basedir"
 
5250
                if test "$name" = 'iconv'; then
 
5251
                  LIBICONV_PREFIX="$basedir"
 
5252
                fi
 
5253
                additional_includedir="$basedir/include"
 
5254
                ;;
 
5255
              */$acl_libdirstem2 | */$acl_libdirstem2/)
 
5256
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
 
5257
                if test "$name" = 'iconv'; then
 
5258
                  LIBICONV_PREFIX="$basedir"
 
5259
                fi
5005
5260
                additional_includedir="$basedir/include"
5006
5261
                ;;
5007
5262
            esac
5050
5305
                case "$dep" in
5051
5306
                  -L*)
5052
5307
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5053
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
5308
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
 
5309
                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5054
5310
                      haveit=
5055
 
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
5311
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
 
5312
                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5056
5313
                        if test -n "$GCC"; then
5057
5314
                          case $host_os in
5058
5315
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5202
5459
 
5203
5460
 
5204
5461
 
5205
 
    { $as_echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
 
5462
 
 
5463
 
 
5464
 
 
5465
 
 
5466
 
 
5467
 
 
5468
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5206
5469
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5207
 
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
 
5470
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
5208
5471
  $as_echo_n "(cached) " >&6
5209
5472
else
5210
5473
  gt_save_LIBS="$LIBS"
5211
5474
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5212
 
     cat >conftest.$ac_ext <<_ACEOF
5213
 
/* confdefs.h.  */
5214
 
_ACEOF
5215
 
cat confdefs.h >>conftest.$ac_ext
5216
 
cat >>conftest.$ac_ext <<_ACEOF
 
5475
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5217
5476
/* end confdefs.h.  */
5218
5477
#include <CoreFoundation/CFPreferences.h>
5219
5478
int
5224
5483
  return 0;
5225
5484
}
5226
5485
_ACEOF
5227
 
rm -f conftest.$ac_objext conftest$ac_exeext
5228
 
if { (ac_try="$ac_link"
5229
 
case "(($ac_try" in
5230
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5231
 
  *) ac_try_echo=$ac_try;;
5232
 
esac
5233
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5234
 
$as_echo "$ac_try_echo") >&5
5235
 
  (eval "$ac_link") 2>conftest.er1
5236
 
  ac_status=$?
5237
 
  grep -v '^ *+' conftest.er1 >conftest.err
5238
 
  rm -f conftest.er1
5239
 
  cat conftest.err >&5
5240
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241
 
  (exit $ac_status); } && {
5242
 
         test -z "$ac_c_werror_flag" ||
5243
 
         test ! -s conftest.err
5244
 
       } && test -s conftest$ac_exeext && {
5245
 
         test "$cross_compiling" = yes ||
5246
 
         $as_test_x conftest$ac_exeext
5247
 
       }; then
 
5486
if ac_fn_c_try_link "$LINENO"; then :
5248
5487
  gt_cv_func_CFPreferencesCopyAppValue=yes
5249
5488
else
5250
 
  $as_echo "$as_me: failed program was:" >&5
5251
 
sed 's/^/| /' conftest.$ac_ext >&5
5252
 
 
5253
 
        gt_cv_func_CFPreferencesCopyAppValue=no
 
5489
  gt_cv_func_CFPreferencesCopyAppValue=no
5254
5490
fi
5255
 
 
5256
 
rm -rf conftest.dSYM
5257
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5258
 
      conftest$ac_exeext conftest.$ac_ext
 
5491
rm -f core conftest.err conftest.$ac_objext \
 
5492
    conftest$ac_exeext conftest.$ac_ext
5259
5493
     LIBS="$gt_save_LIBS"
5260
5494
fi
5261
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
5495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5262
5496
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5263
5497
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5264
5498
 
5265
 
cat >>confdefs.h <<\_ACEOF
5266
 
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5267
 
_ACEOF
 
5499
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5268
5500
 
5269
5501
  fi
5270
 
    { $as_echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
 
5502
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5271
5503
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5272
 
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
 
5504
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
5273
5505
  $as_echo_n "(cached) " >&6
5274
5506
else
5275
5507
  gt_save_LIBS="$LIBS"
5276
5508
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5277
 
     cat >conftest.$ac_ext <<_ACEOF
5278
 
/* confdefs.h.  */
5279
 
_ACEOF
5280
 
cat confdefs.h >>conftest.$ac_ext
5281
 
cat >>conftest.$ac_ext <<_ACEOF
 
5509
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5282
5510
/* end confdefs.h.  */
5283
5511
#include <CoreFoundation/CFLocale.h>
5284
5512
int
5289
5517
  return 0;
5290
5518
}
5291
5519
_ACEOF
5292
 
rm -f conftest.$ac_objext conftest$ac_exeext
5293
 
if { (ac_try="$ac_link"
5294
 
case "(($ac_try" in
5295
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5296
 
  *) ac_try_echo=$ac_try;;
5297
 
esac
5298
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5299
 
$as_echo "$ac_try_echo") >&5
5300
 
  (eval "$ac_link") 2>conftest.er1
5301
 
  ac_status=$?
5302
 
  grep -v '^ *+' conftest.er1 >conftest.err
5303
 
  rm -f conftest.er1
5304
 
  cat conftest.err >&5
5305
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306
 
  (exit $ac_status); } && {
5307
 
         test -z "$ac_c_werror_flag" ||
5308
 
         test ! -s conftest.err
5309
 
       } && test -s conftest$ac_exeext && {
5310
 
         test "$cross_compiling" = yes ||
5311
 
         $as_test_x conftest$ac_exeext
5312
 
       }; then
 
5520
if ac_fn_c_try_link "$LINENO"; then :
5313
5521
  gt_cv_func_CFLocaleCopyCurrent=yes
5314
5522
else
5315
 
  $as_echo "$as_me: failed program was:" >&5
5316
 
sed 's/^/| /' conftest.$ac_ext >&5
5317
 
 
5318
 
        gt_cv_func_CFLocaleCopyCurrent=no
 
5523
  gt_cv_func_CFLocaleCopyCurrent=no
5319
5524
fi
5320
 
 
5321
 
rm -rf conftest.dSYM
5322
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5323
 
      conftest$ac_exeext conftest.$ac_ext
 
5525
rm -f core conftest.err conftest.$ac_objext \
 
5526
    conftest$ac_exeext conftest.$ac_ext
5324
5527
     LIBS="$gt_save_LIBS"
5325
5528
fi
5326
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
5529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5327
5530
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5328
5531
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5329
5532
 
5330
 
cat >>confdefs.h <<\_ACEOF
5331
 
#define HAVE_CFLOCALECOPYCURRENT 1
5332
 
_ACEOF
 
5533
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5333
5534
 
5334
5535
  fi
5335
5536
  INTL_MACOSX_LIBS=
5374
5575
          gt_expression_test_code=
5375
5576
        fi
5376
5577
 
5377
 
        { $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
 
5578
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5378
5579
$as_echo_n "checking for GNU gettext in libc... " >&6; }
5379
 
if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
 
5580
if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
5380
5581
  $as_echo_n "(cached) " >&6
5381
5582
else
5382
 
  cat >conftest.$ac_ext <<_ACEOF
5383
 
/* confdefs.h.  */
5384
 
_ACEOF
5385
 
cat confdefs.h >>conftest.$ac_ext
5386
 
cat >>conftest.$ac_ext <<_ACEOF
 
5583
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387
5584
/* end confdefs.h.  */
5388
5585
#include <libintl.h>
5389
5586
$gt_revision_test_code
5398
5595
  return 0;
5399
5596
}
5400
5597
_ACEOF
5401
 
rm -f conftest.$ac_objext conftest$ac_exeext
5402
 
if { (ac_try="$ac_link"
5403
 
case "(($ac_try" in
5404
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5405
 
  *) ac_try_echo=$ac_try;;
5406
 
esac
5407
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5408
 
$as_echo "$ac_try_echo") >&5
5409
 
  (eval "$ac_link") 2>conftest.er1
5410
 
  ac_status=$?
5411
 
  grep -v '^ *+' conftest.er1 >conftest.err
5412
 
  rm -f conftest.er1
5413
 
  cat conftest.err >&5
5414
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415
 
  (exit $ac_status); } && {
5416
 
         test -z "$ac_c_werror_flag" ||
5417
 
         test ! -s conftest.err
5418
 
       } && test -s conftest$ac_exeext && {
5419
 
         test "$cross_compiling" = yes ||
5420
 
         $as_test_x conftest$ac_exeext
5421
 
       }; then
 
5598
if ac_fn_c_try_link "$LINENO"; then :
5422
5599
  eval "$gt_func_gnugettext_libc=yes"
5423
5600
else
5424
 
  $as_echo "$as_me: failed program was:" >&5
5425
 
sed 's/^/| /' conftest.$ac_ext >&5
5426
 
 
5427
 
        eval "$gt_func_gnugettext_libc=no"
5428
 
fi
5429
 
 
5430
 
rm -rf conftest.dSYM
5431
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5432
 
      conftest$ac_exeext conftest.$ac_ext
5433
 
fi
5434
 
ac_res=`eval 'as_val=${'$gt_func_gnugettext_libc'}
5435
 
                 $as_echo "$as_val"'`
5436
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5601
  eval "$gt_func_gnugettext_libc=no"
 
5602
fi
 
5603
rm -f core conftest.err conftest.$ac_objext \
 
5604
    conftest$ac_exeext conftest.$ac_ext
 
5605
fi
 
5606
eval ac_res=\$$gt_func_gnugettext_libc
 
5607
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5437
5608
$as_echo "$ac_res" >&6; }
5438
5609
 
5439
5610
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5467
5638
  done
5468
5639
 
5469
5640
 
5470
 
  { $as_echo "$as_me:$LINENO: checking for iconv" >&5
 
5641
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5471
5642
$as_echo_n "checking for iconv... " >&6; }
5472
 
if test "${am_cv_func_iconv+set}" = set; then
 
5643
if test "${am_cv_func_iconv+set}" = set; then :
5473
5644
  $as_echo_n "(cached) " >&6
5474
5645
else
5475
5646
 
5476
5647
    am_cv_func_iconv="no, consider installing GNU libiconv"
5477
5648
    am_cv_lib_iconv=no
5478
 
    cat >conftest.$ac_ext <<_ACEOF
5479
 
/* confdefs.h.  */
5480
 
_ACEOF
5481
 
cat confdefs.h >>conftest.$ac_ext
5482
 
cat >>conftest.$ac_ext <<_ACEOF
 
5649
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5483
5650
/* end confdefs.h.  */
5484
5651
#include <stdlib.h>
5485
5652
#include <iconv.h>
5493
5660
  return 0;
5494
5661
}
5495
5662
_ACEOF
5496
 
rm -f conftest.$ac_objext conftest$ac_exeext
5497
 
if { (ac_try="$ac_link"
5498
 
case "(($ac_try" in
5499
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5500
 
  *) ac_try_echo=$ac_try;;
5501
 
esac
5502
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5503
 
$as_echo "$ac_try_echo") >&5
5504
 
  (eval "$ac_link") 2>conftest.er1
5505
 
  ac_status=$?
5506
 
  grep -v '^ *+' conftest.er1 >conftest.err
5507
 
  rm -f conftest.er1
5508
 
  cat conftest.err >&5
5509
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510
 
  (exit $ac_status); } && {
5511
 
         test -z "$ac_c_werror_flag" ||
5512
 
         test ! -s conftest.err
5513
 
       } && test -s conftest$ac_exeext && {
5514
 
         test "$cross_compiling" = yes ||
5515
 
         $as_test_x conftest$ac_exeext
5516
 
       }; then
 
5663
if ac_fn_c_try_link "$LINENO"; then :
5517
5664
  am_cv_func_iconv=yes
5518
 
else
5519
 
  $as_echo "$as_me: failed program was:" >&5
5520
 
sed 's/^/| /' conftest.$ac_ext >&5
5521
 
 
5522
 
 
5523
5665
fi
5524
 
 
5525
 
rm -rf conftest.dSYM
5526
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5527
 
      conftest$ac_exeext conftest.$ac_ext
 
5666
rm -f core conftest.err conftest.$ac_objext \
 
5667
    conftest$ac_exeext conftest.$ac_ext
5528
5668
    if test "$am_cv_func_iconv" != yes; then
5529
5669
      am_save_LIBS="$LIBS"
5530
5670
      LIBS="$LIBS $LIBICONV"
5531
 
      cat >conftest.$ac_ext <<_ACEOF
5532
 
/* confdefs.h.  */
5533
 
_ACEOF
5534
 
cat confdefs.h >>conftest.$ac_ext
5535
 
cat >>conftest.$ac_ext <<_ACEOF
 
5671
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5536
5672
/* end confdefs.h.  */
5537
5673
#include <stdlib.h>
5538
5674
#include <iconv.h>
5546
5682
  return 0;
5547
5683
}
5548
5684
_ACEOF
5549
 
rm -f conftest.$ac_objext conftest$ac_exeext
5550
 
if { (ac_try="$ac_link"
5551
 
case "(($ac_try" in
5552
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5553
 
  *) ac_try_echo=$ac_try;;
5554
 
esac
5555
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5556
 
$as_echo "$ac_try_echo") >&5
5557
 
  (eval "$ac_link") 2>conftest.er1
5558
 
  ac_status=$?
5559
 
  grep -v '^ *+' conftest.er1 >conftest.err
5560
 
  rm -f conftest.er1
5561
 
  cat conftest.err >&5
5562
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563
 
  (exit $ac_status); } && {
5564
 
         test -z "$ac_c_werror_flag" ||
5565
 
         test ! -s conftest.err
5566
 
       } && test -s conftest$ac_exeext && {
5567
 
         test "$cross_compiling" = yes ||
5568
 
         $as_test_x conftest$ac_exeext
5569
 
       }; then
 
5685
if ac_fn_c_try_link "$LINENO"; then :
5570
5686
  am_cv_lib_iconv=yes
5571
5687
        am_cv_func_iconv=yes
5572
 
else
5573
 
  $as_echo "$as_me: failed program was:" >&5
5574
 
sed 's/^/| /' conftest.$ac_ext >&5
5575
 
 
5576
 
 
5577
5688
fi
5578
 
 
5579
 
rm -rf conftest.dSYM
5580
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5581
 
      conftest$ac_exeext conftest.$ac_ext
 
5689
rm -f core conftest.err conftest.$ac_objext \
 
5690
    conftest$ac_exeext conftest.$ac_ext
5582
5691
      LIBS="$am_save_LIBS"
5583
5692
    fi
5584
5693
 
5585
5694
fi
5586
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
 
5695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5587
5696
$as_echo "$am_cv_func_iconv" >&6; }
5588
5697
  if test "$am_cv_func_iconv" = yes; then
5589
 
    { $as_echo "$as_me:$LINENO: checking for working iconv" >&5
 
5698
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5590
5699
$as_echo_n "checking for working iconv... " >&6; }
5591
 
if test "${am_cv_func_iconv_works+set}" = set; then
 
5700
if test "${am_cv_func_iconv_works+set}" = set; then :
5592
5701
  $as_echo_n "(cached) " >&6
5593
5702
else
5594
5703
 
5596
5705
      if test $am_cv_lib_iconv = yes; then
5597
5706
        LIBS="$LIBS $LIBICONV"
5598
5707
      fi
5599
 
      if test "$cross_compiling" = yes; then
 
5708
      if test "$cross_compiling" = yes; then :
5600
5709
  case "$host_os" in
5601
5710
           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5602
5711
           *)            am_cv_func_iconv_works="guessing yes" ;;
5603
5712
         esac
5604
5713
else
5605
 
  cat >conftest.$ac_ext <<_ACEOF
5606
 
/* confdefs.h.  */
5607
 
_ACEOF
5608
 
cat confdefs.h >>conftest.$ac_ext
5609
 
cat >>conftest.$ac_ext <<_ACEOF
 
5714
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5610
5715
/* end confdefs.h.  */
5611
5716
 
5612
5717
#include <iconv.h>
5632
5737
          return 1;
5633
5738
      }
5634
5739
  }
 
5740
  /* Test against Solaris 10 bug: Failures are not distinguishable from
 
5741
     successful returns.  */
 
5742
  {
 
5743
    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
 
5744
    if (cd_ascii_to_88591 != (iconv_t)(-1))
 
5745
      {
 
5746
        static const char input[] = "\263";
 
5747
        char buf[10];
 
5748
        const char *inptr = input;
 
5749
        size_t inbytesleft = strlen (input);
 
5750
        char *outptr = buf;
 
5751
        size_t outbytesleft = sizeof (buf);
 
5752
        size_t res = iconv (cd_ascii_to_88591,
 
5753
                            (char **) &inptr, &inbytesleft,
 
5754
                            &outptr, &outbytesleft);
 
5755
        if (res == 0)
 
5756
          return 1;
 
5757
      }
 
5758
  }
5635
5759
#if 0 /* This bug could be worked around by the caller.  */
5636
5760
  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
5637
5761
  {
5666
5790
  return 0;
5667
5791
}
5668
5792
_ACEOF
5669
 
rm -f conftest$ac_exeext
5670
 
if { (ac_try="$ac_link"
5671
 
case "(($ac_try" in
5672
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5673
 
  *) ac_try_echo=$ac_try;;
5674
 
esac
5675
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5676
 
$as_echo "$ac_try_echo") >&5
5677
 
  (eval "$ac_link") 2>&5
5678
 
  ac_status=$?
5679
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5681
 
  { (case "(($ac_try" in
5682
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5683
 
  *) ac_try_echo=$ac_try;;
5684
 
esac
5685
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5686
 
$as_echo "$ac_try_echo") >&5
5687
 
  (eval "$ac_try") 2>&5
5688
 
  ac_status=$?
5689
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690
 
  (exit $ac_status); }; }; then
 
5793
if ac_fn_c_try_run "$LINENO"; then :
5691
5794
  am_cv_func_iconv_works=yes
5692
5795
else
5693
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
5694
 
$as_echo "$as_me: failed program was:" >&5
5695
 
sed 's/^/| /' conftest.$ac_ext >&5
5696
 
 
5697
 
( exit $ac_status )
5698
 
am_cv_func_iconv_works=no
5699
 
fi
5700
 
rm -rf conftest.dSYM
5701
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5702
 
fi
5703
 
 
 
5796
  am_cv_func_iconv_works=no
 
5797
fi
 
5798
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5799
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5800
fi
5704
5801
 
5705
5802
      LIBS="$am_save_LIBS"
5706
5803
 
5707
5804
fi
5708
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5
 
5805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5709
5806
$as_echo "$am_cv_func_iconv_works" >&6; }
5710
5807
    case "$am_cv_func_iconv_works" in
5711
5808
      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5716
5813
  fi
5717
5814
  if test "$am_func_iconv" = yes; then
5718
5815
 
5719
 
cat >>confdefs.h <<\_ACEOF
5720
 
#define HAVE_ICONV 1
5721
 
_ACEOF
 
5816
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
5722
5817
 
5723
5818
  fi
5724
5819
  if test "$am_cv_lib_iconv" = yes; then
5725
 
    { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
 
5820
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5726
5821
$as_echo_n "checking how to link with libiconv... " >&6; }
5727
 
    { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
 
5822
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5728
5823
$as_echo "$LIBICONV" >&6; }
5729
5824
  else
5730
5825
            CPPFLAGS="$am_save_CPPFLAGS"
5739
5834
 
5740
5835
 
5741
5836
 
 
5837
 
 
5838
 
 
5839
 
5742
5840
    use_additional=yes
5743
5841
 
5744
5842
  acl_save_prefix="$prefix"
5754
5852
 
5755
5853
 
5756
5854
# Check whether --with-libintl-prefix was given.
5757
 
if test "${with_libintl_prefix+set}" = set; then
 
5855
if test "${with_libintl_prefix+set}" = set; then :
5758
5856
  withval=$with_libintl_prefix;
5759
5857
    if test "X$withval" = "Xno"; then
5760
5858
      use_additional=no
5775
5873
      else
5776
5874
        additional_includedir="$withval/include"
5777
5875
        additional_libdir="$withval/$acl_libdirstem"
 
5876
        if test "$acl_libdirstem2" != "$acl_libdirstem" \
 
5877
           && ! test -d "$withval/$acl_libdirstem"; then
 
5878
          additional_libdir="$withval/$acl_libdirstem2"
 
5879
        fi
5778
5880
      fi
5779
5881
    fi
5780
5882
 
5784
5886
  LTLIBINTL=
5785
5887
  INCINTL=
5786
5888
  LIBINTL_PREFIX=
 
5889
      HAVE_LIBINTL=
5787
5890
  rpathdirs=
5788
5891
  ltrpathdirs=
5789
5892
  names_already_handled=
5926
6029
          if test "X$found_dir" != "X"; then
5927
6030
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5928
6031
            if test "X$found_so" != "X"; then
5929
 
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
6032
                                                        if test "$enable_rpath" = no \
 
6033
                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
 
6034
                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5930
6035
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5931
6036
              else
5932
6037
                                                                                haveit=
5993
6098
            case "$found_dir" in
5994
6099
              */$acl_libdirstem | */$acl_libdirstem/)
5995
6100
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5996
 
                LIBINTL_PREFIX="$basedir"
 
6101
                if test "$name" = 'intl'; then
 
6102
                  LIBINTL_PREFIX="$basedir"
 
6103
                fi
 
6104
                additional_includedir="$basedir/include"
 
6105
                ;;
 
6106
              */$acl_libdirstem2 | */$acl_libdirstem2/)
 
6107
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
 
6108
                if test "$name" = 'intl'; then
 
6109
                  LIBINTL_PREFIX="$basedir"
 
6110
                fi
5997
6111
                additional_includedir="$basedir/include"
5998
6112
                ;;
5999
6113
            esac
6042
6156
                case "$dep" in
6043
6157
                  -L*)
6044
6158
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6045
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
6159
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
 
6160
                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6046
6161
                      haveit=
6047
 
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
6162
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
 
6163
                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6048
6164
                        if test -n "$GCC"; then
6049
6165
                          case $host_os in
6050
6166
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6170
6286
    done
6171
6287
  fi
6172
6288
 
6173
 
          { $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
 
6289
 
 
6290
 
 
6291
 
 
6292
 
 
6293
 
 
6294
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6174
6295
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
6175
 
if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
 
6296
if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
6176
6297
  $as_echo_n "(cached) " >&6
6177
6298
else
6178
6299
  gt_save_CPPFLAGS="$CPPFLAGS"
6179
6300
            CPPFLAGS="$CPPFLAGS $INCINTL"
6180
6301
            gt_save_LIBS="$LIBS"
6181
6302
            LIBS="$LIBS $LIBINTL"
6182
 
                        cat >conftest.$ac_ext <<_ACEOF
6183
 
/* confdefs.h.  */
6184
 
_ACEOF
6185
 
cat confdefs.h >>conftest.$ac_ext
6186
 
cat >>conftest.$ac_ext <<_ACEOF
 
6303
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187
6304
/* end confdefs.h.  */
6188
6305
#include <libintl.h>
6189
6306
$gt_revision_test_code
6202
6319
  return 0;
6203
6320
}
6204
6321
_ACEOF
6205
 
rm -f conftest.$ac_objext conftest$ac_exeext
6206
 
if { (ac_try="$ac_link"
6207
 
case "(($ac_try" in
6208
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6209
 
  *) ac_try_echo=$ac_try;;
6210
 
esac
6211
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6212
 
$as_echo "$ac_try_echo") >&5
6213
 
  (eval "$ac_link") 2>conftest.er1
6214
 
  ac_status=$?
6215
 
  grep -v '^ *+' conftest.er1 >conftest.err
6216
 
  rm -f conftest.er1
6217
 
  cat conftest.err >&5
6218
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219
 
  (exit $ac_status); } && {
6220
 
         test -z "$ac_c_werror_flag" ||
6221
 
         test ! -s conftest.err
6222
 
       } && test -s conftest$ac_exeext && {
6223
 
         test "$cross_compiling" = yes ||
6224
 
         $as_test_x conftest$ac_exeext
6225
 
       }; then
 
6322
if ac_fn_c_try_link "$LINENO"; then :
6226
6323
  eval "$gt_func_gnugettext_libintl=yes"
6227
6324
else
6228
 
  $as_echo "$as_me: failed program was:" >&5
6229
 
sed 's/^/| /' conftest.$ac_ext >&5
6230
 
 
6231
 
        eval "$gt_func_gnugettext_libintl=no"
 
6325
  eval "$gt_func_gnugettext_libintl=no"
6232
6326
fi
6233
 
 
6234
 
rm -rf conftest.dSYM
6235
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6236
 
      conftest$ac_exeext conftest.$ac_ext
 
6327
rm -f core conftest.err conftest.$ac_objext \
 
6328
    conftest$ac_exeext conftest.$ac_ext
6237
6329
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6238
6330
              LIBS="$LIBS $LIBICONV"
6239
 
              cat >conftest.$ac_ext <<_ACEOF
6240
 
/* confdefs.h.  */
6241
 
_ACEOF
6242
 
cat confdefs.h >>conftest.$ac_ext
6243
 
cat >>conftest.$ac_ext <<_ACEOF
 
6331
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6244
6332
/* end confdefs.h.  */
6245
6333
#include <libintl.h>
6246
6334
$gt_revision_test_code
6259
6347
  return 0;
6260
6348
}
6261
6349
_ACEOF
6262
 
rm -f conftest.$ac_objext conftest$ac_exeext
6263
 
if { (ac_try="$ac_link"
6264
 
case "(($ac_try" in
6265
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6266
 
  *) ac_try_echo=$ac_try;;
6267
 
esac
6268
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6269
 
$as_echo "$ac_try_echo") >&5
6270
 
  (eval "$ac_link") 2>conftest.er1
6271
 
  ac_status=$?
6272
 
  grep -v '^ *+' conftest.er1 >conftest.err
6273
 
  rm -f conftest.er1
6274
 
  cat conftest.err >&5
6275
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276
 
  (exit $ac_status); } && {
6277
 
         test -z "$ac_c_werror_flag" ||
6278
 
         test ! -s conftest.err
6279
 
       } && test -s conftest$ac_exeext && {
6280
 
         test "$cross_compiling" = yes ||
6281
 
         $as_test_x conftest$ac_exeext
6282
 
       }; then
 
6350
if ac_fn_c_try_link "$LINENO"; then :
6283
6351
  LIBINTL="$LIBINTL $LIBICONV"
6284
6352
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6285
6353
                eval "$gt_func_gnugettext_libintl=yes"
6286
6354
 
6287
 
else
6288
 
  $as_echo "$as_me: failed program was:" >&5
6289
 
sed 's/^/| /' conftest.$ac_ext >&5
6290
 
 
6291
 
 
6292
6355
fi
6293
 
 
6294
 
rm -rf conftest.dSYM
6295
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6296
 
      conftest$ac_exeext conftest.$ac_ext
 
6356
rm -f core conftest.err conftest.$ac_objext \
 
6357
    conftest$ac_exeext conftest.$ac_ext
6297
6358
            fi
6298
6359
            CPPFLAGS="$gt_save_CPPFLAGS"
6299
6360
            LIBS="$gt_save_LIBS"
6300
6361
fi
6301
 
ac_res=`eval 'as_val=${'$gt_func_gnugettext_libintl'}
6302
 
                 $as_echo "$as_val"'`
6303
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6362
eval ac_res=\$$gt_func_gnugettext_libintl
 
6363
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6304
6364
$as_echo "$ac_res" >&6; }
6305
6365
        fi
6306
6366
 
6328
6388
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
6329
6389
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
6330
6390
 
6331
 
cat >>confdefs.h <<\_ACEOF
6332
 
#define ENABLE_NLS 1
6333
 
_ACEOF
 
6391
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6334
6392
 
6335
6393
    else
6336
6394
      USE_NLS=no
6337
6395
    fi
6338
6396
  fi
6339
6397
 
6340
 
  { $as_echo "$as_me:$LINENO: checking whether to use NLS" >&5
 
6398
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6341
6399
$as_echo_n "checking whether to use NLS... " >&6; }
6342
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
6400
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6343
6401
$as_echo "$USE_NLS" >&6; }
6344
6402
  if test "$USE_NLS" = "yes"; then
6345
 
    { $as_echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
 
6403
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6346
6404
$as_echo_n "checking where the gettext function comes from... " >&6; }
6347
6405
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6348
6406
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6353
6411
    else
6354
6412
      gt_source="included intl directory"
6355
6413
    fi
6356
 
    { $as_echo "$as_me:$LINENO: result: $gt_source" >&5
 
6414
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6357
6415
$as_echo "$gt_source" >&6; }
6358
6416
  fi
6359
6417
 
6361
6419
 
6362
6420
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6363
6421
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6364
 
        { $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5
 
6422
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6365
6423
$as_echo_n "checking how to link with libintl... " >&6; }
6366
 
        { $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5
 
6424
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6367
6425
$as_echo "$LIBINTL" >&6; }
6368
6426
 
6369
6427
  for element in $INCINTL; do
6391
6449
      fi
6392
6450
 
6393
6451
 
6394
 
cat >>confdefs.h <<\_ACEOF
6395
 
#define HAVE_GETTEXT 1
6396
 
_ACEOF
6397
 
 
6398
 
 
6399
 
cat >>confdefs.h <<\_ACEOF
6400
 
#define HAVE_DCGETTEXT 1
6401
 
_ACEOF
 
6452
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
6453
 
 
6454
 
 
6455
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6402
6456
 
6403
6457
    fi
6404
6458
 
6415
6469
 
6416
6470
 
6417
6471
 
6418
 
# Latest virtinst version required to run
6419
 
VIRTINST_VERSION="0.500.3"
6420
 
 
6421
 
 
6422
 
# Extract the first word of "scrollkeeper-config", so it can be a program name with args.
6423
 
set dummy scrollkeeper-config; ac_word=$2
6424
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6425
 
$as_echo_n "checking for $ac_word... " >&6; }
6426
 
if test "${ac_cv_path_SCROLLKEEPER_CONFIG+set}" = set; then
6427
 
  $as_echo_n "(cached) " >&6
6428
 
else
6429
 
  case $SCROLLKEEPER_CONFIG in
6430
 
  [\\/]* | ?:[\\/]*)
6431
 
  ac_cv_path_SCROLLKEEPER_CONFIG="$SCROLLKEEPER_CONFIG" # Let the user override the test with a path.
6432
 
  ;;
6433
 
  *)
6434
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435
 
for as_dir in $PATH
6436
 
do
6437
 
  IFS=$as_save_IFS
6438
 
  test -z "$as_dir" && as_dir=.
6439
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6440
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6441
 
    ac_cv_path_SCROLLKEEPER_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6442
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6443
 
    break 2
6444
 
  fi
6445
 
done
6446
 
done
6447
 
IFS=$as_save_IFS
6448
 
 
6449
 
  test -z "$ac_cv_path_SCROLLKEEPER_CONFIG" && ac_cv_path_SCROLLKEEPER_CONFIG="no"
6450
 
  ;;
6451
 
esac
6452
 
fi
6453
 
SCROLLKEEPER_CONFIG=$ac_cv_path_SCROLLKEEPER_CONFIG
6454
 
if test -n "$SCROLLKEEPER_CONFIG"; then
6455
 
  { $as_echo "$as_me:$LINENO: result: $SCROLLKEEPER_CONFIG" >&5
6456
 
$as_echo "$SCROLLKEEPER_CONFIG" >&6; }
6457
 
else
6458
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6459
 
$as_echo "no" >&6; }
6460
 
fi
6461
 
 
6462
 
 
6463
 
if test x$SCROLLKEEPER_CONFIG = xno; then
6464
 
  { { $as_echo "$as_me:$LINENO: error: Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net" >&5
6465
 
$as_echo "$as_me: error: Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net" >&2;}
6466
 
   { (exit 1); exit 1; }; }
6467
 
fi
6468
 
 
6469
 
ac_config_files="$ac_config_files Makefile pixmaps/Makefile pixmaps/hicolor/Makefile pixmaps/hicolor/16x16/Makefile pixmaps/hicolor/16x16/actions/Makefile pixmaps/hicolor/22x22/Makefile pixmaps/hicolor/22x22/actions/Makefile pixmaps/hicolor/24x24/Makefile pixmaps/hicolor/24x24/actions/Makefile pixmaps/hicolor/32x32/Makefile pixmaps/hicolor/32x32/actions/Makefile po/Makefile.in src/Makefile src/virtManager/Makefile man/Makefile tests/Makefile virt-manager.spec help/Makefile help/virt-manager/Makefile help/virt-manager/C/Makefile"
 
6472
# Help is so outdated, don't even distribute it
 
6473
#help/Makefile
 
6474
#help/virt-manager/Makefile
 
6475
#help/virt-manager/C/Makefile
 
6476
#AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
 
6477
#if test x$SCROLLKEEPER_CONFIG = xno; then
 
6478
#  AC_MSG_ERROR(Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net)
 
6479
#fi
 
6480
 
 
6481
 
 
6482
 
 
6483
# Check whether --with-tui was given.
 
6484
if test "${with_tui+set}" = set; then :
 
6485
  withval=$with_tui;
 
6486
else
 
6487
  with_tui=yes
 
6488
fi
 
6489
 
 
6490
 
 
6491
 
 
6492
# Check whether --with-qemu-user was given.
 
6493
if test "${with_qemu_user+set}" = set; then :
 
6494
  withval=$with_qemu_user; DEFAULT_QEMU_USER=$withval
 
6495
else
 
6496
  DEFAULT_QEMU_USER="root"
 
6497
fi
 
6498
 
 
6499
 
 
6500
 
 
6501
# Check whether --with-libvirt-package-names was given.
 
6502
if test "${with_libvirt_package_names+set}" = set; then :
 
6503
  withval=$with_libvirt_package_names; LIBVIRT_PACKAGES=$withval
 
6504
else
 
6505
  LIBVIRT_PACKAGES=""
 
6506
fi
 
6507
 
 
6508
 
 
6509
 
 
6510
# Check whether --with-kvm-packages was given.
 
6511
if test "${with_kvm_packages+set}" = set; then :
 
6512
  withval=$with_kvm_packages; KVM_PACKAGES=$withval
 
6513
else
 
6514
  KVM_PACKAGES=""
 
6515
fi
 
6516
 
 
6517
 
 
6518
# Check whether --enable-unsupported-rhel-options was given.
 
6519
if test "${enable_unsupported_rhel_options+set}" = set; then :
 
6520
  enableval=$enable_unsupported_rhel_options; test "x$enableval" == "xno" && ENABLE_UNSUPPORTED_RHEL_OPTS=0
 
6521
else
 
6522
  ENABLE_UNSUPPORTED_RHEL_OPTS=1
 
6523
fi
 
6524
 
 
6525
 
 
6526
 
 
6527
# Check whether --with-preferred-distros was given.
 
6528
if test "${with_preferred_distros+set}" = set; then :
 
6529
  withval=$with_preferred_distros; PREFERRED_DISTROS=$withval
 
6530
else
 
6531
  PREFERRED_DISTROS=""
 
6532
fi
 
6533
 
 
6534
 
 
6535
 
 
6536
 
 
6537
 
 
6538
 
 
6539
 
 
6540
 
 
6541
 if test "x$with_tui" = "xyes"; then
 
6542
  INSTALL_TUI_TRUE=
 
6543
  INSTALL_TUI_FALSE='#'
 
6544
else
 
6545
  INSTALL_TUI_TRUE='#'
 
6546
  INSTALL_TUI_FALSE=
 
6547
fi
 
6548
 
 
6549
 
 
6550
 
 
6551
ac_config_files="$ac_config_files Makefile pixmaps/Makefile pixmaps/hicolor/Makefile pixmaps/hicolor/16x16/Makefile pixmaps/hicolor/16x16/actions/Makefile pixmaps/hicolor/22x22/Makefile pixmaps/hicolor/22x22/actions/Makefile pixmaps/hicolor/24x24/Makefile pixmaps/hicolor/24x24/actions/Makefile pixmaps/hicolor/32x32/Makefile pixmaps/hicolor/32x32/actions/Makefile po/Makefile.in src/Makefile src/virtManager/Makefile src/virtManagerTui/Makefile man/Makefile tests/Makefile virt-manager.spec"
6470
6552
 
6471
6553
cat >confcache <<\_ACEOF
6472
6554
# This file is a shell script that caches the results of configure
6495
6577
    case $ac_val in #(
6496
6578
    *${as_nl}*)
6497
6579
      case $ac_var in #(
6498
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
6580
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6499
6581
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6500
6582
      esac
6501
6583
      case $ac_var in #(
6502
6584
      _ | IFS | as_nl) ;; #(
6503
6585
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6504
 
      *) $as_unset $ac_var ;;
 
6586
      *) { eval $ac_var=; unset $ac_var;} ;;
6505
6587
      esac ;;
6506
6588
    esac
6507
6589
  done
6509
6591
  (set) 2>&1 |
6510
6592
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
6511
6593
    *${as_nl}ac_space=\ *)
6512
 
      # `set' does not quote correctly, so add quotes (double-quote
6513
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
6594
      # `set' does not quote correctly, so add quotes: double-quote
 
6595
      # substitution turns \\\\ into \\, and sed turns \\ into \.
6514
6596
      sed -n \
6515
6597
        "s/'/'\\\\''/g;
6516
6598
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6533
6615
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6534
6616
  if test -w "$cache_file"; then
6535
6617
    test "x$cache_file" != "x/dev/null" &&
6536
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
6618
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6537
6619
$as_echo "$as_me: updating cache $cache_file" >&6;}
6538
6620
    cat confcache >$cache_file
6539
6621
  else
6540
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
6622
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6541
6623
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6542
6624
  fi
6543
6625
fi
6587
6669
 
6588
6670
ac_libobjs=
6589
6671
ac_ltlibobjs=
 
6672
U=
6590
6673
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6591
6674
  # 1. Remove the extension, and $U if already installed.
6592
6675
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6593
6676
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6594
6677
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6595
6678
  #    will be set to the directory where LIBOBJS objects are built.
6596
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6597
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
6679
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
6680
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6598
6681
done
6599
6682
LIBOBJS=$ac_libobjs
6600
6683
 
6609
6692
  am__EXEEXT_FALSE=
6610
6693
fi
6611
6694
 
 
6695
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
6696
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
6697
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
6698
fi
6612
6699
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6613
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6614
 
Usually this means the macro was only invoked conditionally." >&5
6615
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
6616
 
Usually this means the macro was only invoked conditionally." >&2;}
6617
 
   { (exit 1); exit 1; }; }
 
6700
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
6701
Usually this means the macro was only invoked conditionally." "$LINENO" 5
6618
6702
fi
6619
6703
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6620
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6621
 
Usually this means the macro was only invoked conditionally." >&5
6622
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6623
 
Usually this means the macro was only invoked conditionally." >&2;}
6624
 
   { (exit 1); exit 1; }; }
 
6704
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
6705
Usually this means the macro was only invoked conditionally." "$LINENO" 5
6625
6706
fi
6626
6707
 
6627
6708
  ac_config_commands="$ac_config_commands po/stamp-it"
6628
6709
 
6629
6710
 
 
6711
if test -z "${INSTALL_TUI_TRUE}" && test -z "${INSTALL_TUI_FALSE}"; then
 
6712
  as_fn_error $? "conditional \"INSTALL_TUI\" was never defined.
 
6713
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
6714
fi
6630
6715
 
6631
6716
: ${CONFIG_STATUS=./config.status}
6632
6717
ac_write_fail=0
6633
6718
ac_clean_files_save=$ac_clean_files
6634
6719
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6635
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
6720
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6636
6721
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6637
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6722
as_write_fail=0
 
6723
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6638
6724
#! $SHELL
6639
6725
# Generated by $as_me.
6640
6726
# Run this file to recreate the current configuration.
6644
6730
debug=false
6645
6731
ac_cs_recheck=false
6646
6732
ac_cs_silent=false
 
6733
 
6647
6734
SHELL=\${CONFIG_SHELL-$SHELL}
6648
 
_ACEOF
6649
 
 
6650
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6651
 
## --------------------- ##
6652
 
## M4sh Initialization.  ##
6653
 
## --------------------- ##
 
6735
export SHELL
 
6736
_ASEOF
 
6737
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
6738
## -------------------- ##
 
6739
## M4sh Initialization. ##
 
6740
## -------------------- ##
6654
6741
 
6655
6742
# Be more Bourne compatible
6656
6743
DUALCASE=1; export DUALCASE # for MKS sh
6657
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
6744
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6658
6745
  emulate sh
6659
6746
  NULLCMD=:
6660
6747
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6662
6749
  alias -g '${1+"$@"}'='"$@"'
6663
6750
  setopt NO_GLOB_SUBST
6664
6751
else
6665
 
  case `(set -o) 2>/dev/null` in
6666
 
  *posix*) set -o posix ;;
 
6752
  case `(set -o) 2>/dev/null` in #(
 
6753
  *posix*) :
 
6754
    set -o posix ;; #(
 
6755
  *) :
 
6756
     ;;
6667
6757
esac
6668
 
 
6669
6758
fi
6670
6759
 
6671
6760
 
6672
 
 
6673
 
 
6674
 
# PATH needs CR
6675
 
# Avoid depending upon Character Ranges.
6676
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6677
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6678
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6679
 
as_cr_digits='0123456789'
6680
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
6681
 
 
6682
6761
as_nl='
6683
6762
'
6684
6763
export as_nl
6686
6765
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6687
6766
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6688
6767
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6689
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6768
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
6769
# but without wasting forks for bash or zsh.
 
6770
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
6771
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6772
  as_echo='print -r --'
 
6773
  as_echo_n='print -rn --'
 
6774
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6690
6775
  as_echo='printf %s\n'
6691
6776
  as_echo_n='printf %s'
6692
6777
else
6697
6782
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6698
6783
    as_echo_n_body='eval
6699
6784
      arg=$1;
6700
 
      case $arg in
 
6785
      case $arg in #(
6701
6786
      *"$as_nl"*)
6702
6787
        expr "X$arg" : "X\\(.*\\)$as_nl";
6703
6788
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6720
6805
  }
6721
6806
fi
6722
6807
 
6723
 
# Support unset when possible.
6724
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6725
 
  as_unset=unset
6726
 
else
6727
 
  as_unset=false
6728
 
fi
6729
 
 
6730
6808
 
6731
6809
# IFS
6732
6810
# We need space, tab and new line, in precisely that order.  Quoting is
6736
6814
IFS=" ""        $as_nl"
6737
6815
 
6738
6816
# Find who we are.  Look in the path if we contain no directory separator.
6739
 
case $0 in
 
6817
case $0 in #((
6740
6818
  *[\\/]* ) as_myself=$0 ;;
6741
6819
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742
6820
for as_dir in $PATH
6743
6821
do
6744
6822
  IFS=$as_save_IFS
6745
6823
  test -z "$as_dir" && as_dir=.
6746
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6747
 
done
 
6824
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
6825
  done
6748
6826
IFS=$as_save_IFS
6749
6827
 
6750
6828
     ;;
6756
6834
fi
6757
6835
if test ! -f "$as_myself"; then
6758
6836
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6759
 
  { (exit 1); exit 1; }
 
6837
  exit 1
6760
6838
fi
6761
6839
 
6762
 
# Work around bugs in pre-3.0 UWIN ksh.
6763
 
for as_var in ENV MAIL MAILPATH
6764
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
6840
# Unset variables that we do not need and which cause bugs (e.g. in
 
6841
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
6842
# suppresses any "Segmentation fault" message there.  '((' could
 
6843
# trigger a bug in pdksh 5.2.14.
 
6844
for as_var in BASH_ENV ENV MAIL MAILPATH
 
6845
do eval test x\${$as_var+set} = xset \
 
6846
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6765
6847
done
6766
6848
PS1='$ '
6767
6849
PS2='> '
6773
6855
LANGUAGE=C
6774
6856
export LANGUAGE
6775
6857
 
6776
 
# Required to use basename.
 
6858
# CDPATH.
 
6859
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
6860
 
 
6861
 
 
6862
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
6863
# ----------------------------------------
 
6864
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
6865
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
6866
# script with STATUS, using 1 if that was 0.
 
6867
as_fn_error ()
 
6868
{
 
6869
  as_status=$1; test $as_status -eq 0 && as_status=1
 
6870
  if test "$4"; then
 
6871
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
6872
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
6873
  fi
 
6874
  $as_echo "$as_me: error: $2" >&2
 
6875
  as_fn_exit $as_status
 
6876
} # as_fn_error
 
6877
 
 
6878
 
 
6879
# as_fn_set_status STATUS
 
6880
# -----------------------
 
6881
# Set $? to STATUS, without forking.
 
6882
as_fn_set_status ()
 
6883
{
 
6884
  return $1
 
6885
} # as_fn_set_status
 
6886
 
 
6887
# as_fn_exit STATUS
 
6888
# -----------------
 
6889
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
6890
as_fn_exit ()
 
6891
{
 
6892
  set +e
 
6893
  as_fn_set_status $1
 
6894
  exit $1
 
6895
} # as_fn_exit
 
6896
 
 
6897
# as_fn_unset VAR
 
6898
# ---------------
 
6899
# Portably unset VAR.
 
6900
as_fn_unset ()
 
6901
{
 
6902
  { eval $1=; unset $1;}
 
6903
}
 
6904
as_unset=as_fn_unset
 
6905
# as_fn_append VAR VALUE
 
6906
# ----------------------
 
6907
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
6908
# advantage of any shell optimizations that allow amortized linear growth over
 
6909
# repeated appends, instead of the typical quadratic growth present in naive
 
6910
# implementations.
 
6911
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
6912
  eval 'as_fn_append ()
 
6913
  {
 
6914
    eval $1+=\$2
 
6915
  }'
 
6916
else
 
6917
  as_fn_append ()
 
6918
  {
 
6919
    eval $1=\$$1\$2
 
6920
  }
 
6921
fi # as_fn_append
 
6922
 
 
6923
# as_fn_arith ARG...
 
6924
# ------------------
 
6925
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
6926
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
6927
# must be portable across $(()) and expr.
 
6928
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
6929
  eval 'as_fn_arith ()
 
6930
  {
 
6931
    as_val=$(( $* ))
 
6932
  }'
 
6933
else
 
6934
  as_fn_arith ()
 
6935
  {
 
6936
    as_val=`expr "$@" || test $? -eq 1`
 
6937
  }
 
6938
fi # as_fn_arith
 
6939
 
 
6940
 
6777
6941
if expr a : '\(a\)' >/dev/null 2>&1 &&
6778
6942
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6779
6943
  as_expr=expr
6787
6951
  as_basename=false
6788
6952
fi
6789
6953
 
 
6954
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
6955
  as_dirname=dirname
 
6956
else
 
6957
  as_dirname=false
 
6958
fi
6790
6959
 
6791
 
# Name of the executable.
6792
6960
as_me=`$as_basename -- "$0" ||
6793
6961
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6794
6962
         X"$0" : 'X\(//\)$' \| \
6808
6976
          }
6809
6977
          s/.*/./; q'`
6810
6978
 
6811
 
# CDPATH.
6812
 
$as_unset CDPATH
6813
 
 
6814
 
 
6815
 
 
6816
 
  as_lineno_1=$LINENO
6817
 
  as_lineno_2=$LINENO
6818
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
6819
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6820
 
 
6821
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6822
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
6823
 
  # line-number line after each line using $LINENO; the second 'sed'
6824
 
  # does the real work.  The second script uses 'N' to pair each
6825
 
  # line-number line with the line containing $LINENO, and appends
6826
 
  # trailing '-' during substitution so that $LINENO is not a special
6827
 
  # case at line end.
6828
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6829
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
6830
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
6831
 
  sed -n '
6832
 
    p
6833
 
    /[$]LINENO/=
6834
 
  ' <$as_myself |
6835
 
    sed '
6836
 
      s/[$]LINENO.*/&-/
6837
 
      t lineno
6838
 
      b
6839
 
      :lineno
6840
 
      N
6841
 
      :loop
6842
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6843
 
      t loop
6844
 
      s/-\n.*//
6845
 
    ' >$as_me.lineno &&
6846
 
  chmod +x "$as_me.lineno" ||
6847
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6848
 
   { (exit 1); exit 1; }; }
6849
 
 
6850
 
  # Don't try to exec as it changes $[0], causing all sort of problems
6851
 
  # (the dirname of $[0] is not the place where we might find the
6852
 
  # original and so on.  Autoconf is especially sensitive to this).
6853
 
  . "./$as_me.lineno"
6854
 
  # Exit status is that of the last command.
6855
 
  exit
6856
 
}
6857
 
 
6858
 
 
6859
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6860
 
  as_dirname=dirname
6861
 
else
6862
 
  as_dirname=false
6863
 
fi
 
6979
# Avoid depending upon Character Ranges.
 
6980
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
6981
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
6982
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
6983
as_cr_digits='0123456789'
 
6984
as_cr_alnum=$as_cr_Letters$as_cr_digits
6864
6985
 
6865
6986
ECHO_C= ECHO_N= ECHO_T=
6866
 
case `echo -n x` in
 
6987
case `echo -n x` in #(((((
6867
6988
-n*)
6868
 
  case `echo 'x\c'` in
 
6989
  case `echo 'xy\c'` in
6869
6990
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
6870
 
  *)   ECHO_C='\c';;
 
6991
  xy)  ECHO_C='\c';;
 
6992
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
6993
       ECHO_T=' ';;
6871
6994
  esac;;
6872
6995
*)
6873
6996
  ECHO_N='-n';;
6874
6997
esac
6875
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
6876
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6877
 
  as_expr=expr
6878
 
else
6879
 
  as_expr=false
6880
 
fi
6881
6998
 
6882
6999
rm -f conf$$ conf$$.exe conf$$.file
6883
7000
if test -d conf$$.dir; then
6906
7023
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6907
7024
rmdir conf$$.dir 2>/dev/null
6908
7025
 
 
7026
 
 
7027
# as_fn_mkdir_p
 
7028
# -------------
 
7029
# Create "$as_dir" as a directory, including parents if necessary.
 
7030
as_fn_mkdir_p ()
 
7031
{
 
7032
 
 
7033
  case $as_dir in #(
 
7034
  -*) as_dir=./$as_dir;;
 
7035
  esac
 
7036
  test -d "$as_dir" || eval $as_mkdir_p || {
 
7037
    as_dirs=
 
7038
    while :; do
 
7039
      case $as_dir in #(
 
7040
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
7041
      *) as_qdir=$as_dir;;
 
7042
      esac
 
7043
      as_dirs="'$as_qdir' $as_dirs"
 
7044
      as_dir=`$as_dirname -- "$as_dir" ||
 
7045
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
7046
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
7047
         X"$as_dir" : 'X\(//\)$' \| \
 
7048
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
7049
$as_echo X"$as_dir" |
 
7050
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7051
            s//\1/
 
7052
            q
 
7053
          }
 
7054
          /^X\(\/\/\)[^/].*/{
 
7055
            s//\1/
 
7056
            q
 
7057
          }
 
7058
          /^X\(\/\/\)$/{
 
7059
            s//\1/
 
7060
            q
 
7061
          }
 
7062
          /^X\(\/\).*/{
 
7063
            s//\1/
 
7064
            q
 
7065
          }
 
7066
          s/.*/./; q'`
 
7067
      test -d "$as_dir" && break
 
7068
    done
 
7069
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
7070
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
7071
 
 
7072
 
 
7073
} # as_fn_mkdir_p
6909
7074
if mkdir -p . 2>/dev/null; then
6910
 
  as_mkdir_p=:
 
7075
  as_mkdir_p='mkdir -p "$as_dir"'
6911
7076
else
6912
7077
  test -d ./-p && rmdir ./-p
6913
7078
  as_mkdir_p=false
6926
7091
      if test -d "$1"; then
6927
7092
        test -d "$1/.";
6928
7093
      else
6929
 
        case $1 in
 
7094
        case $1 in #(
6930
7095
        -*)set "./$1";;
6931
7096
        esac;
6932
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
7097
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6933
7098
        ???[sx]*):;;*)false;;esac;fi
6934
7099
    '\'' sh
6935
7100
  '
6944
7109
 
6945
7110
 
6946
7111
exec 6>&1
 
7112
## ----------------------------------- ##
 
7113
## Main body of $CONFIG_STATUS script. ##
 
7114
## ----------------------------------- ##
 
7115
_ASEOF
 
7116
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6947
7117
 
6948
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
7118
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7119
# Save the log message, to keep $0 and so on meaningful, and to
6949
7120
# report actual input values of CONFIG_FILES etc. instead of their
6950
7121
# values after options handling.
6951
7122
ac_log="
6952
 
This file was extended by virt-manager $as_me 0.8.4, which was
6953
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
7123
This file was extended by virt-manager $as_me 0.8.6, which was
 
7124
generated by GNU Autoconf 2.66.  Invocation command line was
6954
7125
 
6955
7126
  CONFIG_FILES    = $CONFIG_FILES
6956
7127
  CONFIG_HEADERS  = $CONFIG_HEADERS
6978
7149
 
6979
7150
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6980
7151
ac_cs_usage="\
6981
 
\`$as_me' instantiates files from templates according to the
6982
 
current configuration.
 
7152
\`$as_me' instantiates files and other configuration actions
 
7153
from templates according to the current configuration.  Unless the files
 
7154
and actions are specified as TAGs, all are instantiated by default.
6983
7155
 
6984
 
Usage: $0 [OPTION]... [FILE]...
 
7156
Usage: $0 [OPTION]... [TAG]...
6985
7157
 
6986
7158
  -h, --help       print this help, then exit
6987
7159
  -V, --version    print version number and configuration settings, then exit
 
7160
      --config     print configuration, then exit
6988
7161
  -q, --quiet, --silent
6989
7162
                   do not print progress messages
6990
7163
  -d, --debug      don't remove temporary files
6998
7171
Configuration commands:
6999
7172
$config_commands
7000
7173
 
7001
 
Report bugs to <bug-autoconf@gnu.org>."
 
7174
Report bugs to the package provider."
7002
7175
 
7003
7176
_ACEOF
7004
7177
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7178
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7005
7179
ac_cs_version="\\
7006
 
virt-manager config.status 0.8.4
7007
 
configured by $0, generated by GNU Autoconf 2.63,
7008
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
7180
virt-manager config.status 0.8.6
 
7181
configured by $0, generated by GNU Autoconf 2.66,
 
7182
  with options \\"\$ac_cs_config\\"
7009
7183
 
7010
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
7184
Copyright (C) 2010 Free Software Foundation, Inc.
7011
7185
This config.status script is free software; the Free Software Foundation
7012
7186
gives unlimited permission to copy, distribute and modify it."
7013
7187
 
7043
7217
    ac_cs_recheck=: ;;
7044
7218
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7045
7219
    $as_echo "$ac_cs_version"; exit ;;
 
7220
  --config | --confi | --conf | --con | --co | --c )
 
7221
    $as_echo "$ac_cs_config"; exit ;;
7046
7222
  --debug | --debu | --deb | --de | --d | -d )
7047
7223
    debug=: ;;
7048
7224
  --file | --fil | --fi | --f )
7050
7226
    case $ac_optarg in
7051
7227
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7052
7228
    esac
7053
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
7229
    as_fn_append CONFIG_FILES " '$ac_optarg'"
7054
7230
    ac_need_defaults=false;;
7055
7231
  --he | --h |  --help | --hel | -h )
7056
7232
    $as_echo "$ac_cs_usage"; exit ;;
7059
7235
    ac_cs_silent=: ;;
7060
7236
 
7061
7237
  # This is an error.
7062
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
7063
 
Try \`$0 --help' for more information." >&2
7064
 
   { (exit 1); exit 1; }; } ;;
 
7238
  -*) as_fn_error $? "unrecognized option: \`$1'
 
7239
Try \`$0 --help' for more information." ;;
7065
7240
 
7066
 
  *) ac_config_targets="$ac_config_targets $1"
 
7241
  *) as_fn_append ac_config_targets " $1"
7067
7242
     ac_need_defaults=false ;;
7068
7243
 
7069
7244
  esac
7137
7312
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7138
7313
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7139
7314
    "src/virtManager/Makefile") CONFIG_FILES="$CONFIG_FILES src/virtManager/Makefile" ;;
 
7315
    "src/virtManagerTui/Makefile") CONFIG_FILES="$CONFIG_FILES src/virtManagerTui/Makefile" ;;
7140
7316
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
7141
7317
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
7142
7318
    "virt-manager.spec") CONFIG_FILES="$CONFIG_FILES virt-manager.spec" ;;
7143
 
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
7144
 
    "help/virt-manager/Makefile") CONFIG_FILES="$CONFIG_FILES help/virt-manager/Makefile" ;;
7145
 
    "help/virt-manager/C/Makefile") CONFIG_FILES="$CONFIG_FILES help/virt-manager/C/Makefile" ;;
7146
7319
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
7147
7320
 
7148
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7149
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7150
 
   { (exit 1); exit 1; }; };;
 
7321
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7151
7322
  esac
7152
7323
done
7153
7324
 
7173
7344
  trap 'exit_status=$?
7174
7345
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7175
7346
' 0
7176
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
7347
  trap 'as_fn_exit 1' 1 2 13 15
7177
7348
}
7178
7349
# Create a (secure) tmp directory for tmp files.
7179
7350
 
7184
7355
{
7185
7356
  tmp=./conf$$-$RANDOM
7186
7357
  (umask 077 && mkdir "$tmp")
7187
 
} ||
7188
 
{
7189
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
7190
 
   { (exit 1); exit 1; }
7191
 
}
 
7358
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7192
7359
 
7193
7360
# Set up the scripts for CONFIG_FILES section.
7194
7361
# No need to generate them if there are no CONFIG_FILES.
7196
7363
if test -n "$CONFIG_FILES"; then
7197
7364
 
7198
7365
 
7199
 
ac_cr='
 
 
b"'"
 
7366
ac_cr=`echo X | tr X '\015'`
 
7367
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
7368
# But we know of no other shell where ac_cr would be empty at this
 
7369
# point, so we can use a bashism as a fallback.
 
7370
if test "x$ac_cr" = x; then
 
7371
  eval ac_cr=\$\'\\r\'
 
7372
fi
7200
7373
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7201
7374
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7202
7375
  ac_cs_awk_cr='\\r'
7213
7386
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7214
7387
  echo "_ACEOF"
7215
7388
} >conf$$subs.sh ||
7216
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7217
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7218
 
   { (exit 1); exit 1; }; }
7219
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
7389
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
7390
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7220
7391
ac_delim='%!_!# '
7221
7392
for ac_last_try in false false false false false :; do
7222
7393
  . ./conf$$subs.sh ||
7223
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7224
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7225
 
   { (exit 1); exit 1; }; }
 
7394
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7226
7395
 
7227
7396
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7228
7397
  if test $ac_delim_n = $ac_delim_num; then
7229
7398
    break
7230
7399
  elif $ac_last_try; then
7231
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7232
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7233
 
   { (exit 1); exit 1; }; }
 
7400
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7234
7401
  else
7235
7402
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7236
7403
  fi
7252
7419
t delim
7253
7420
:nl
7254
7421
h
7255
 
s/\(.\{148\}\).*/\1/
 
7422
s/\(.\{148\}\)..*/\1/
7256
7423
t more1
7257
7424
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7258
7425
p
7266
7433
t nl
7267
7434
:delim
7268
7435
h
7269
 
s/\(.\{148\}\).*/\1/
 
7436
s/\(.\{148\}\)..*/\1/
7270
7437
t more2
7271
7438
s/["\\]/\\&/g; s/^/"/; s/$/"/
7272
7439
p
7319
7486
else
7320
7487
  cat
7321
7488
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7322
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
7323
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
7324
 
   { (exit 1); exit 1; }; }
 
7489
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7325
7490
_ACEOF
7326
7491
 
7327
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7328
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
7492
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
7493
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7329
7494
# trailing colons and then remove the whole line if VPATH becomes empty
7330
7495
# (actually we leave an empty line to preserve line numbers).
7331
7496
if test "x$srcdir" = x.; then
7332
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
7333
 
s/:*\$(srcdir):*/:/
7334
 
s/:*\${srcdir}:*/:/
7335
 
s/:*@srcdir@:*/:/
7336
 
s/^\([^=]*=[     ]*\):*/\1/
 
7497
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
7498
h
 
7499
s///
 
7500
s/^/:/
 
7501
s/[      ]*$/:/
 
7502
s/:\$(srcdir):/:/g
 
7503
s/:\${srcdir}:/:/g
 
7504
s/:@srcdir@:/:/g
 
7505
s/^:*//
7337
7506
s/:*$//
 
7507
x
 
7508
s/\(=[   ]*\).*/\1/
 
7509
G
 
7510
s/\n//
7338
7511
s/^[^=]*=[       ]*$//
7339
7512
}'
7340
7513
fi
7352
7525
  esac
7353
7526
  case $ac_mode$ac_tag in
7354
7527
  :[FHL]*:*);;
7355
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
7356
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7357
 
   { (exit 1); exit 1; }; };;
 
7528
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7358
7529
  :[FH]-) ac_tag=-:-;;
7359
7530
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7360
7531
  esac
7382
7553
           [\\/$]*) false;;
7383
7554
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7384
7555
           esac ||
7385
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7386
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7387
 
   { (exit 1); exit 1; }; };;
 
7556
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7388
7557
      esac
7389
7558
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7390
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
7559
      as_fn_append ac_file_inputs " '$ac_f'"
7391
7560
    done
7392
7561
 
7393
7562
    # Let's still pretend it is `configure' which instantiates (i.e., don't
7398
7567
        `' by configure.'
7399
7568
    if test x"$ac_file" != x-; then
7400
7569
      configure_input="$ac_file.  $configure_input"
7401
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
7570
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7402
7571
$as_echo "$as_me: creating $ac_file" >&6;}
7403
7572
    fi
7404
7573
    # Neutralize special characters interpreted by sed in replacement strings.
7411
7580
 
7412
7581
    case $ac_tag in
7413
7582
    *:-:* | *:-) cat >"$tmp/stdin" \
7414
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7415
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7416
 
   { (exit 1); exit 1; }; } ;;
 
7583
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7417
7584
    esac
7418
7585
    ;;
7419
7586
  esac
7441
7608
            q
7442
7609
          }
7443
7610
          s/.*/./; q'`
7444
 
  { as_dir="$ac_dir"
7445
 
  case $as_dir in #(
7446
 
  -*) as_dir=./$as_dir;;
7447
 
  esac
7448
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7449
 
    as_dirs=
7450
 
    while :; do
7451
 
      case $as_dir in #(
7452
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7453
 
      *) as_qdir=$as_dir;;
7454
 
      esac
7455
 
      as_dirs="'$as_qdir' $as_dirs"
7456
 
      as_dir=`$as_dirname -- "$as_dir" ||
7457
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7458
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
7459
 
         X"$as_dir" : 'X\(//\)$' \| \
7460
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7461
 
$as_echo X"$as_dir" |
7462
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7463
 
            s//\1/
7464
 
            q
7465
 
          }
7466
 
          /^X\(\/\/\)[^/].*/{
7467
 
            s//\1/
7468
 
            q
7469
 
          }
7470
 
          /^X\(\/\/\)$/{
7471
 
            s//\1/
7472
 
            q
7473
 
          }
7474
 
          /^X\(\/\).*/{
7475
 
            s//\1/
7476
 
            q
7477
 
          }
7478
 
          s/.*/./; q'`
7479
 
      test -d "$as_dir" && break
7480
 
    done
7481
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
7482
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7483
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7484
 
   { (exit 1); exit 1; }; }; }
 
7611
  as_dir="$ac_dir"; as_fn_mkdir_p
7485
7612
  ac_builddir=.
7486
7613
 
7487
7614
case "$ac_dir" in
7538
7665
# If the template does not know about datarootdir, expand it.
7539
7666
# FIXME: This hack should be removed a few years after 2.60.
7540
7667
ac_datarootdir_hack=; ac_datarootdir_seen=
7541
 
 
7542
7668
ac_sed_dataroot='
7543
7669
/datarootdir/ {
7544
7670
  p
7548
7674
/@docdir@/p
7549
7675
/@infodir@/p
7550
7676
/@localedir@/p
7551
 
/@mandir@/p
7552
 
'
 
7677
/@mandir@/p'
7553
7678
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7554
7679
*datarootdir*) ac_datarootdir_seen=yes;;
7555
7680
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7556
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
7681
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7557
7682
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7558
7683
_ACEOF
7559
7684
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7563
7688
  s&@infodir@&$infodir&g
7564
7689
  s&@localedir@&$localedir&g
7565
7690
  s&@mandir@&$mandir&g
7566
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
7691
  s&\\\${datarootdir}&$datarootdir&g' ;;
7567
7692
esac
7568
7693
_ACEOF
7569
7694
 
7592
7717
$ac_datarootdir_hack
7593
7718
"
7594
7719
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7595
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7596
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7597
 
   { (exit 1); exit 1; }; }
 
7720
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7598
7721
 
7599
7722
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7600
7723
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7601
7724
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7602
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7603
 
which seems to be undefined.  Please make sure it is defined." >&5
 
7725
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
7726
which seems to be undefined.  Please make sure it is defined" >&5
7604
7727
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7605
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
7728
which seems to be undefined.  Please make sure it is defined" >&2;}
7606
7729
 
7607
7730
  rm -f "$tmp/stdin"
7608
7731
  case $ac_file in
7609
7732
  -) cat "$tmp/out" && rm -f "$tmp/out";;
7610
7733
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7611
7734
  esac \
7612
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7613
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7614
 
   { (exit 1); exit 1; }; }
 
7735
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7615
7736
 ;;
7616
7737
 
7617
7738
 
7618
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
7739
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7619
7740
$as_echo "$as_me: executing $ac_file commands" >&6;}
7620
7741
 ;;
7621
7742
  esac
7710
7831
            q
7711
7832
          }
7712
7833
          s/.*/./; q'`
7713
 
      { as_dir=$dirpart/$fdir
7714
 
  case $as_dir in #(
7715
 
  -*) as_dir=./$as_dir;;
7716
 
  esac
7717
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7718
 
    as_dirs=
7719
 
    while :; do
7720
 
      case $as_dir in #(
7721
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7722
 
      *) as_qdir=$as_dir;;
7723
 
      esac
7724
 
      as_dirs="'$as_qdir' $as_dirs"
7725
 
      as_dir=`$as_dirname -- "$as_dir" ||
7726
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7727
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
7728
 
         X"$as_dir" : 'X\(//\)$' \| \
7729
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7730
 
$as_echo X"$as_dir" |
7731
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7732
 
            s//\1/
7733
 
            q
7734
 
          }
7735
 
          /^X\(\/\/\)[^/].*/{
7736
 
            s//\1/
7737
 
            q
7738
 
          }
7739
 
          /^X\(\/\/\)$/{
7740
 
            s//\1/
7741
 
            q
7742
 
          }
7743
 
          /^X\(\/\).*/{
7744
 
            s//\1/
7745
 
            q
7746
 
          }
7747
 
          s/.*/./; q'`
7748
 
      test -d "$as_dir" && break
7749
 
    done
7750
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
7751
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7752
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7753
 
   { (exit 1); exit 1; }; }; }
 
7834
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
7754
7835
      # echo "creating $dirpart/$file"
7755
7836
      echo '# dummy' > "$dirpart/$file"
7756
7837
    done
7872
7953
    done ;;
7873
7954
    "po/stamp-it":C)
7874
7955
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
7875
 
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
7876
 
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
7877
 
   { (exit 1); exit 1; }; }
 
7956
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
7878
7957
    fi
7879
7958
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
7880
7959
    >"po/stamp-it.tmp"
7897
7976
done # for ac_tag
7898
7977
 
7899
7978
 
7900
 
{ (exit 0); exit 0; }
 
7979
as_fn_exit 0
7901
7980
_ACEOF
7902
 
chmod +x $CONFIG_STATUS
7903
7981
ac_clean_files=$ac_clean_files_save
7904
7982
 
7905
7983
test $ac_write_fail = 0 ||
7906
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7907
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7908
 
   { (exit 1); exit 1; }; }
 
7984
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7909
7985
 
7910
7986
 
7911
7987
# configure is writing to config.log, and then calls config.status.
7926
8002
  exec 5>>config.log
7927
8003
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7928
8004
  # would make configure fail if this is the last instruction.
7929
 
  $ac_cs_success || { (exit 1); exit 1; }
 
8005
  $ac_cs_success || as_fn_exit 1
7930
8006
fi
7931
8007
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7932
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
8008
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7933
8009
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7934
8010
fi
7935
8011
 
 
8012
 
 
8013
 
 
8014
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
 
8015
$as_echo "$as_me: " >&6;}
 
8016
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
 
8017
$as_echo "$as_me: " >&6;}
 
8018
 
 
8019
{ $as_echo "$as_me:${as_lineno-$LINENO}: Required virtinst:               $VIRTINST_VERSION" >&5
 
8020
$as_echo "$as_me: Required virtinst:               $VIRTINST_VERSION" >&6;}
 
8021
{ $as_echo "$as_me:${as_lineno-$LINENO}: Default qemu user:               $DEFAULT_QEMU_USER" >&5
 
8022
$as_echo "$as_me: Default qemu user:               $DEFAULT_QEMU_USER" >&6;}
 
8023
if test "x$with_tui" = "xyes" ; then
 
8024
{ $as_echo "$as_me:${as_lineno-$LINENO}: Install TUI:                     yes" >&5
 
8025
$as_echo "$as_me: Install TUI:                     yes" >&6;}
 
8026
else
 
8027
{ $as_echo "$as_me:${as_lineno-$LINENO}: Install TUI:                     no" >&5
 
8028
$as_echo "$as_me: Install TUI:                     no" >&6;}
 
8029
fi
 
8030
if test "x$ENABLE_UNSUPPORTED_RHEL_OPTS" = "x1" ; then
 
8031
{ $as_echo "$as_me:${as_lineno-$LINENO}: Enable unsupported RHEL opts:    yes" >&5
 
8032
$as_echo "$as_me: Enable unsupported RHEL opts:    yes" >&6;}
 
8033
else
 
8034
{ $as_echo "$as_me:${as_lineno-$LINENO}: Enable unsupported RHEL opts:    no" >&5
 
8035
$as_echo "$as_me: Enable unsupported RHEL opts:    no" >&6;}
 
8036
fi
 
8037
if test "x$PREFERRED_DISTROS" = "x" ; then
 
8038
{ $as_echo "$as_me:${as_lineno-$LINENO}: Preferred distros:               none" >&5
 
8039
$as_echo "$as_me: Preferred distros:               none" >&6;}
 
8040
else
 
8041
{ $as_echo "$as_me:${as_lineno-$LINENO}: Preferred distros:               $PREFERRED_DISTROS" >&5
 
8042
$as_echo "$as_me: Preferred distros:               $PREFERRED_DISTROS" >&6;}
 
8043
fi
 
8044
if test "x$LIBVIRT_PACKAGES" = "x" ; then
 
8045
{ $as_echo "$as_me:${as_lineno-$LINENO}: Libvirt packages:                none" >&5
 
8046
$as_echo "$as_me: Libvirt packages:                none" >&6;}
 
8047
else
 
8048
{ $as_echo "$as_me:${as_lineno-$LINENO}: Libvirt Packages:                $LIBVIRT_PACKAGES" >&5
 
8049
$as_echo "$as_me: Libvirt Packages:                $LIBVIRT_PACKAGES" >&6;}
 
8050
fi
 
8051
if test "x$KVM_PACKAGES" = "x" ; then
 
8052
{ $as_echo "$as_me:${as_lineno-$LINENO}: KVM packages:                    none" >&5
 
8053
$as_echo "$as_me: KVM packages:                    none" >&6;}
 
8054
else
 
8055
{ $as_echo "$as_me:${as_lineno-$LINENO}: KVM packages:                    $KVM_PACKAGES" >&5
 
8056
$as_echo "$as_me: KVM packages:                    $KVM_PACKAGES" >&6;}
 
8057
fi
 
8058
 
 
8059
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
 
8060
$as_echo "$as_me: " >&6;}
 
8061
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
 
8062
$as_echo "$as_me: " >&6;}