~ubuntu-branches/ubuntu/precise/xfce4-power-manager/precise

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2009-10-02 20:15:41 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091002201541-ognqyxyov51epj84
Tags: 0.8.4-1ubuntu1
* New upstream bugfix release (LP: #438754), merge from Debian unstable,
  remaining Ubuntu changes:
  - debian/patches:
    + xubuntu-use-notification-icons.patch: use our notification-* icons for
      notification bubbles instead of the normal ones LP: #437374
    + 10_pc.patch: added patched files to POTFILES.skip
    + series: created, with these two patches
  - debian/rules: add --with quilt
  - debian/control: build-depends on quilt (>= 0.46-7).

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 xfce4-power-manager 0.8.3.1.
 
3
# Generated by GNU Autoconf 2.64 for xfce4-power-manager 0.8.4.
4
4
#
5
5
# Report bugs to <http://bugzilla.xfce.org/>.
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
9
# Foundation, Inc.
 
10
#
9
11
# This configure script is free software; the Free Software Foundation
10
12
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
14
16
 
15
17
# Be more Bourne compatible
16
18
DUALCASE=1; export DUALCASE # for MKS sh
17
 
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 :
18
20
  emulate sh
19
21
  NULLCMD=:
20
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
24
  alias -g '${1+"$@"}'='"$@"'
23
25
  setopt NO_GLOB_SUBST
24
26
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
27
32
esac
28
 
 
29
33
fi
30
34
 
31
35
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
36
as_nl='
43
37
'
44
38
export as_nl
46
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
50
  as_echo='printf %s\n'
51
51
  as_echo_n='printf %s'
52
52
else
57
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
58
    as_echo_n_body='eval
59
59
      arg=$1;
60
 
      case $arg in
 
60
      case $arg in #(
61
61
      *"$as_nl"*)
62
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
80
  }
81
81
fi
82
82
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
83
 
91
84
# IFS
92
85
# We need space, tab and new line, in precisely that order.  Quoting is
96
89
IFS=" ""        $as_nl"
97
90
 
98
91
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
92
case $0 in #((
100
93
  *[\\/]* ) as_myself=$0 ;;
101
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
95
for as_dir in $PATH
103
96
do
104
97
  IFS=$as_save_IFS
105
98
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
108
101
IFS=$as_save_IFS
109
102
 
110
103
     ;;
116
109
fi
117
110
if test ! -f "$as_myself"; then
118
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
112
  exit 1
120
113
fi
121
114
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
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 || :
125
122
done
126
123
PS1='$ '
127
124
PS2='> '
133
130
LANGUAGE=C
134
131
export LANGUAGE
135
132
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
133
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
135
 
175
136
if test "x$CONFIG_SHELL" = x; then
176
 
  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 :
177
176
  as_have_required=yes
178
177
else
179
178
  as_have_required=no
180
179
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
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
243
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
186
do
245
187
  IFS=$as_save_IFS
246
188
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
189
  as_found=:
 
190
  case $as_dir in #(
248
191
         /*)
249
192
           for as_base in sh bash ksh sh5; do
250
 
             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
251
202
           done;;
252
203
       esac
 
204
  as_found=false
253
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; }
254
210
IFS=$as_save_IFS
255
211
 
256
212
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
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
367
220
        export CONFIG_SHELL
368
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
222
fi
370
223
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
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 and
 
232
$0: http://bugzilla.xfce.org/ about your system, including
 
233
$0: any error possibly output before this message. Then
 
234
$0: install a modern shell, or manually run the script
 
235
$0: under such a shell if you do have one."
 
236
  fi
 
237
  exit 1
 
238
fi
 
239
fi
 
240
fi
 
241
SHELL=${CONFIG_SHELL-/bin/sh}
 
242
export SHELL
 
243
# Unset more variables known to interfere with behavior of common tools.
 
244
CLICOLOR_FORCE= GREP_OPTIONS=
 
245
unset CLICOLOR_FORCE GREP_OPTIONS
 
246
 
 
247
## --------------------- ##
 
248
## M4sh Shell Functions. ##
 
249
## --------------------- ##
 
250
# as_fn_unset VAR
 
251
# ---------------
 
252
# Portably unset VAR.
 
253
as_fn_unset ()
 
254
{
 
255
  { eval $1=; unset $1;}
 
256
}
 
257
as_unset=as_fn_unset
 
258
 
 
259
# as_fn_set_status STATUS
 
260
# -----------------------
 
261
# Set $? to STATUS, without forking.
 
262
as_fn_set_status ()
 
263
{
 
264
  return $1
 
265
} # as_fn_set_status
 
266
 
 
267
# as_fn_exit STATUS
 
268
# -----------------
 
269
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
270
as_fn_exit ()
 
271
{
 
272
  set +e
 
273
  as_fn_set_status $1
 
274
  exit $1
 
275
} # as_fn_exit
 
276
 
 
277
# as_fn_mkdir_p
 
278
# -------------
 
279
# Create "$as_dir" as a directory, including parents if necessary.
 
280
as_fn_mkdir_p ()
 
281
{
 
282
 
 
283
  case $as_dir in #(
 
284
  -*) as_dir=./$as_dir;;
 
285
  esac
 
286
  test -d "$as_dir" || eval $as_mkdir_p || {
 
287
    as_dirs=
 
288
    while :; do
 
289
      case $as_dir in #(
 
290
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
291
      *) as_qdir=$as_dir;;
 
292
      esac
 
293
      as_dirs="'$as_qdir' $as_dirs"
 
294
      as_dir=`$as_dirname -- "$as_dir" ||
 
295
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
296
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
297
         X"$as_dir" : 'X\(//\)$' \| \
 
298
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
299
$as_echo X"$as_dir" |
 
300
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
301
            s//\1/
 
302
            q
 
303
          }
 
304
          /^X\(\/\/\)[^/].*/{
 
305
            s//\1/
 
306
            q
 
307
          }
 
308
          /^X\(\/\/\)$/{
 
309
            s//\1/
 
310
            q
 
311
          }
 
312
          /^X\(\/\).*/{
 
313
            s//\1/
 
314
            q
 
315
          }
 
316
          s/.*/./; q'`
 
317
      test -d "$as_dir" && break
 
318
    done
 
319
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
320
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
321
 
 
322
 
 
323
} # as_fn_mkdir_p
 
324
# as_fn_append VAR VALUE
 
325
# ----------------------
 
326
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
327
# advantage of any shell optimizations that allow amortized linear growth over
 
328
# repeated appends, instead of the typical quadratic growth present in naive
 
329
# implementations.
 
330
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
331
  eval 'as_fn_append ()
 
332
  {
 
333
    eval $1+=\$2
 
334
  }'
 
335
else
 
336
  as_fn_append ()
 
337
  {
 
338
    eval $1=\$$1\$2
 
339
  }
 
340
fi # as_fn_append
 
341
 
 
342
# as_fn_arith ARG...
 
343
# ------------------
 
344
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
345
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
346
# must be portable across $(()) and expr.
 
347
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
348
  eval 'as_fn_arith ()
 
349
  {
 
350
    as_val=$(( $* ))
 
351
  }'
 
352
else
 
353
  as_fn_arith ()
 
354
  {
 
355
    as_val=`expr "$@" || test $? -eq 1`
 
356
  }
 
357
fi # as_fn_arith
 
358
 
 
359
 
 
360
# as_fn_error ERROR [LINENO LOG_FD]
 
361
# ---------------------------------
 
362
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
363
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
364
# script with status $?, using 1 if that was 0.
 
365
as_fn_error ()
 
366
{
 
367
  as_status=$?; test $as_status -eq 0 && as_status=1
 
368
  if test "$3"; then
 
369
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
370
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
371
  fi
 
372
  $as_echo "$as_me: error: $1" >&2
 
373
  as_fn_exit $as_status
 
374
} # as_fn_error
 
375
 
 
376
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
377
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
378
  as_expr=expr
 
379
else
 
380
  as_expr=false
 
381
fi
 
382
 
 
383
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
384
  as_basename=basename
 
385
else
 
386
  as_basename=false
 
387
fi
 
388
 
 
389
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
390
  as_dirname=dirname
 
391
else
 
392
  as_dirname=false
 
393
fi
 
394
 
 
395
as_me=`$as_basename -- "$0" ||
 
396
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
397
         X"$0" : 'X\(//\)$' \| \
 
398
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
399
$as_echo X/"$0" |
 
400
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
401
            s//\1/
 
402
            q
 
403
          }
 
404
          /^X\/\(\/\/\)$/{
 
405
            s//\1/
 
406
            q
 
407
          }
 
408
          /^X\/\(\/\).*/{
 
409
            s//\1/
 
410
            q
 
411
          }
 
412
          s/.*/./; q'`
 
413
 
 
414
# Avoid depending upon Character Ranges.
 
415
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
416
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
417
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
418
as_cr_digits='0123456789'
 
419
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
420
 
 
421
 
 
422
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
423
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
424
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
425
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
426
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
427
  sed -n '
461
428
    p
462
429
    /[$]LINENO/=
473
440
      s/-\n.*//
474
441
    ' >$as_me.lineno &&
475
442
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
443
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
444
 
479
445
  # Don't try to exec as it changes $[0], causing all sort of problems
480
446
  # (the dirname of $[0] is not the place where we might find the
484
450
  exit
485
451
}
486
452
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
453
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
454
case `echo -n x` in #(((((
496
455
-n*)
497
 
  case `echo 'x\c'` in
 
456
  case `echo 'xy\c'` in
498
457
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
458
  xy)  ECHO_C='\c';;
 
459
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
460
       ECHO_T=' ';;
500
461
  esac;;
501
462
*)
502
463
  ECHO_N='-n';;
503
464
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
465
 
511
466
rm -f conf$$ conf$$.exe conf$$.file
512
467
if test -d conf$$.dir; then
536
491
rmdir conf$$.dir 2>/dev/null
537
492
 
538
493
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
494
  as_mkdir_p='mkdir -p "$as_dir"'
540
495
else
541
496
  test -d ./-p && rmdir ./-p
542
497
  as_mkdir_p=false
555
510
      if test -d "$1"; then
556
511
        test -d "$1/.";
557
512
      else
558
 
        case $1 in
 
513
        case $1 in #(
559
514
        -*)set "./$1";;
560
515
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
516
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
517
        ???[sx]*):;;*)false;;esac;fi
563
518
    '\'' sh
564
519
  '
573
528
 
574
529
 
575
530
 
576
 
 
577
531
# Check that we are running under the correct shell.
578
532
SHELL=${CONFIG_SHELL-/bin/sh}
579
533
 
740
694
subdirs=
741
695
MFLAGS=
742
696
MAKEFLAGS=
743
 
SHELL=${CONFIG_SHELL-/bin/sh}
744
697
 
745
698
# Identity of this package.
746
699
PACKAGE_NAME='xfce4-power-manager'
747
700
PACKAGE_TARNAME='xfce4-power-manager'
748
 
PACKAGE_VERSION='0.8.3.1'
749
 
PACKAGE_STRING='xfce4-power-manager 0.8.3.1'
 
701
PACKAGE_VERSION='0.8.4'
 
702
PACKAGE_STRING='xfce4-power-manager 0.8.4'
750
703
PACKAGE_BUGREPORT='http://bugzilla.xfce.org/'
 
704
PACKAGE_URL=''
751
705
 
752
706
# Factoring default headers for most tests.
753
707
ac_includes_default="\
785
739
# include <unistd.h>
786
740
#endif"
787
741
 
788
 
ac_subst_vars='LTLIBOBJS
 
742
ac_subst_vars='am__EXEEXT_FALSE
 
743
am__EXEEXT_TRUE
 
744
LTLIBOBJS
789
745
LIBOBJS
790
746
ENABLE_XML2PO_FALSE
791
747
ENABLE_XML2PO_TRUE
988
944
program_transform_name
989
945
prefix
990
946
exec_prefix
 
947
PACKAGE_URL
991
948
PACKAGE_BUGREPORT
992
949
PACKAGE_STRING
993
950
PACKAGE_VERSION
1132
1089
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1133
1090
    # Reject names that are not valid shell variable names.
1134
1091
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1136
 
   { (exit 1); exit 1; }; }
 
1092
      as_fn_error "invalid feature name: $ac_useropt"
1137
1093
    ac_useropt_orig=$ac_useropt
1138
1094
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1139
1095
    case $ac_user_opts in
1159
1115
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1160
1116
    # Reject names that are not valid shell variable names.
1161
1117
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1162
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1163
 
   { (exit 1); exit 1; }; }
 
1118
      as_fn_error "invalid feature name: $ac_useropt"
1164
1119
    ac_useropt_orig=$ac_useropt
1165
1120
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166
1121
    case $ac_user_opts in
1364
1319
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1365
1320
    # Reject names that are not valid shell variable names.
1366
1321
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1367
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1368
 
   { (exit 1); exit 1; }; }
 
1322
      as_fn_error "invalid package name: $ac_useropt"
1369
1323
    ac_useropt_orig=$ac_useropt
1370
1324
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1371
1325
    case $ac_user_opts in
1381
1335
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382
1336
    # Reject names that are not valid shell variable names.
1383
1337
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1384
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1385
 
   { (exit 1); exit 1; }; }
 
1338
      as_fn_error "invalid package name: $ac_useropt"
1386
1339
    ac_useropt_orig=$ac_useropt
1387
1340
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1388
1341
    case $ac_user_opts in
1412
1365
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1413
1366
    x_libraries=$ac_optarg ;;
1414
1367
 
1415
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1416
 
Try \`$0 --help' for more information." >&2
1417
 
   { (exit 1); exit 1; }; }
 
1368
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1369
Try \`$0 --help' for more information."
1418
1370
    ;;
1419
1371
 
1420
1372
  *=*)
1421
1373
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1422
1374
    # Reject names that are not valid shell variable names.
1423
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1424
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1425
 
   { (exit 1); exit 1; }; }
 
1375
    case $ac_envvar in #(
 
1376
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1377
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1378
    esac
1426
1379
    eval $ac_envvar=\$ac_optarg
1427
1380
    export $ac_envvar ;;
1428
1381
 
1439
1392
 
1440
1393
if test -n "$ac_prev"; then
1441
1394
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1442
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1443
 
   { (exit 1); exit 1; }; }
 
1395
  as_fn_error "missing argument to $ac_option"
1444
1396
fi
1445
1397
 
1446
1398
if test -n "$ac_unrecognized_opts"; then
1447
1399
  case $enable_option_checking in
1448
1400
    no) ;;
1449
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1450
 
   { (exit 1); exit 1; }; } ;;
 
1401
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1451
1402
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1452
1403
  esac
1453
1404
fi
1470
1421
    [\\/$]* | ?:[\\/]* )  continue;;
1471
1422
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1472
1423
  esac
1473
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1474
 
   { (exit 1); exit 1; }; }
 
1424
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1475
1425
done
1476
1426
 
1477
1427
# There might be people who depend on the old broken behavior: `$host'
1501
1451
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1502
1452
ac_ls_di=`ls -di .` &&
1503
1453
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1504
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1505
 
   { (exit 1); exit 1; }; }
 
1454
  as_fn_error "working directory cannot be determined"
1506
1455
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1507
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1508
 
   { (exit 1); exit 1; }; }
 
1456
  as_fn_error "pwd does not report name of working directory"
1509
1457
 
1510
1458
 
1511
1459
# Find the source files, if location was not specified.
1544
1492
fi
1545
1493
if test ! -r "$srcdir/$ac_unique_file"; then
1546
1494
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1547
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1548
 
   { (exit 1); exit 1; }; }
 
1495
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1549
1496
fi
1550
1497
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1551
1498
ac_abs_confdir=`(
1552
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1553
 
   { (exit 1); exit 1; }; }
 
1499
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1554
1500
        pwd)`
1555
1501
# When building in place, set srcdir=.
1556
1502
if test "$ac_abs_confdir" = "$ac_pwd"; then
1576
1522
  # Omit some internal or obsolete options to make the list less imposing.
1577
1523
  # This message is too long to be a string in the A/UX 3.1 sh.
1578
1524
  cat <<_ACEOF
1579
 
\`configure' configures xfce4-power-manager 0.8.3.1 to adapt to many kinds of systems.
 
1525
\`configure' configures xfce4-power-manager 0.8.4 to adapt to many kinds of systems.
1580
1526
 
1581
1527
Usage: $0 [OPTION]... [VAR=VALUE]...
1582
1528
 
1647
1593
 
1648
1594
if test -n "$ac_init_help"; then
1649
1595
  case $ac_init_help in
1650
 
     short | recursive ) echo "Configuration of xfce4-power-manager 0.8.3.1:";;
 
1596
     short | recursive ) echo "Configuration of xfce4-power-manager 0.8.4:";;
1651
1597
   esac
1652
1598
  cat <<\_ACEOF
1653
1599
 
1763
1709
test -n "$ac_init_help" && exit $ac_status
1764
1710
if $ac_init_version; then
1765
1711
  cat <<\_ACEOF
1766
 
xfce4-power-manager configure 0.8.3.1
1767
 
generated by GNU Autoconf 2.63
 
1712
xfce4-power-manager configure 0.8.4
 
1713
generated by GNU Autoconf 2.64
1768
1714
 
1769
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1770
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1715
Copyright (C) 2009 Free Software Foundation, Inc.
1771
1716
This configure script is free software; the Free Software Foundation
1772
1717
gives unlimited permission to copy, distribute and modify it.
1773
1718
_ACEOF
1774
1719
  exit
1775
1720
fi
 
1721
 
 
1722
## ------------------------ ##
 
1723
## Autoconf initialization. ##
 
1724
## ------------------------ ##
 
1725
 
 
1726
# ac_fn_c_try_compile LINENO
 
1727
# --------------------------
 
1728
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1729
ac_fn_c_try_compile ()
 
1730
{
 
1731
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1732
  rm -f conftest.$ac_objext
 
1733
  if { { ac_try="$ac_compile"
 
1734
case "(($ac_try" in
 
1735
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1736
  *) ac_try_echo=$ac_try;;
 
1737
esac
 
1738
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1739
$as_echo "$ac_try_echo"; } >&5
 
1740
  (eval "$ac_compile") 2>conftest.err
 
1741
  ac_status=$?
 
1742
  if test -s conftest.err; then
 
1743
    grep -v '^ *+' conftest.err >conftest.er1
 
1744
    cat conftest.er1 >&5
 
1745
    mv -f conftest.er1 conftest.err
 
1746
  fi
 
1747
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1748
  test $ac_status = 0; } && {
 
1749
         test -z "$ac_c_werror_flag" ||
 
1750
         test ! -s conftest.err
 
1751
       } && test -s conftest.$ac_objext; then :
 
1752
  ac_retval=0
 
1753
else
 
1754
  $as_echo "$as_me: failed program was:" >&5
 
1755
sed 's/^/| /' conftest.$ac_ext >&5
 
1756
 
 
1757
        ac_retval=1
 
1758
fi
 
1759
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1760
  return $ac_retval
 
1761
 
 
1762
} # ac_fn_c_try_compile
 
1763
 
 
1764
# ac_fn_c_try_cpp LINENO
 
1765
# ----------------------
 
1766
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1767
ac_fn_c_try_cpp ()
 
1768
{
 
1769
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1770
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1771
case "(($ac_try" in
 
1772
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1773
  *) ac_try_echo=$ac_try;;
 
1774
esac
 
1775
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1776
$as_echo "$ac_try_echo"; } >&5
 
1777
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1778
  ac_status=$?
 
1779
  if test -s conftest.err; then
 
1780
    grep -v '^ *+' conftest.err >conftest.er1
 
1781
    cat conftest.er1 >&5
 
1782
    mv -f conftest.er1 conftest.err
 
1783
  fi
 
1784
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1785
  test $ac_status = 0; } >/dev/null && {
 
1786
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1787
         test ! -s conftest.err
 
1788
       }; then :
 
1789
  ac_retval=0
 
1790
else
 
1791
  $as_echo "$as_me: failed program was:" >&5
 
1792
sed 's/^/| /' conftest.$ac_ext >&5
 
1793
 
 
1794
    ac_retval=1
 
1795
fi
 
1796
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1797
  return $ac_retval
 
1798
 
 
1799
} # ac_fn_c_try_cpp
 
1800
 
 
1801
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1802
# -------------------------------------------------------
 
1803
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1804
# the include files in INCLUDES and setting the cache variable VAR
 
1805
# accordingly.
 
1806
ac_fn_c_check_header_mongrel ()
 
1807
{
 
1808
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1809
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1810
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1811
$as_echo_n "checking for $2... " >&6; }
 
1812
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1813
  $as_echo_n "(cached) " >&6
 
1814
fi
 
1815
eval ac_res=\$$3
 
1816
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1817
$as_echo "$ac_res" >&6; }
 
1818
else
 
1819
  # Is the header compilable?
 
1820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1821
$as_echo_n "checking $2 usability... " >&6; }
 
1822
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1823
/* end confdefs.h.  */
 
1824
$4
 
1825
#include <$2>
 
1826
_ACEOF
 
1827
if ac_fn_c_try_compile "$LINENO"; then :
 
1828
  ac_header_compiler=yes
 
1829
else
 
1830
  ac_header_compiler=no
 
1831
fi
 
1832
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1834
$as_echo "$ac_header_compiler" >&6; }
 
1835
 
 
1836
# Is the header present?
 
1837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1838
$as_echo_n "checking $2 presence... " >&6; }
 
1839
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1840
/* end confdefs.h.  */
 
1841
#include <$2>
 
1842
_ACEOF
 
1843
if ac_fn_c_try_cpp "$LINENO"; then :
 
1844
  ac_header_preproc=yes
 
1845
else
 
1846
  ac_header_preproc=no
 
1847
fi
 
1848
rm -f conftest.err conftest.$ac_ext
 
1849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1850
$as_echo "$ac_header_preproc" >&6; }
 
1851
 
 
1852
# So?  What about this header?
 
1853
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1854
  yes:no: )
 
1855
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1856
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1857
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1858
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1859
    ;;
 
1860
  no:yes:* )
 
1861
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1862
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1863
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1864
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1865
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1866
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1867
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1868
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1869
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1870
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1871
( cat <<\_ASBOX
 
1872
## ---------------------------------------- ##
 
1873
## Report this to http://bugzilla.xfce.org/ ##
 
1874
## ---------------------------------------- ##
 
1875
_ASBOX
 
1876
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1877
    ;;
 
1878
esac
 
1879
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1880
$as_echo_n "checking for $2... " >&6; }
 
1881
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1882
  $as_echo_n "(cached) " >&6
 
1883
else
 
1884
  eval "$3=\$ac_header_compiler"
 
1885
fi
 
1886
eval ac_res=\$$3
 
1887
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1888
$as_echo "$ac_res" >&6; }
 
1889
fi
 
1890
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1891
 
 
1892
} # ac_fn_c_check_header_mongrel
 
1893
 
 
1894
# ac_fn_c_try_run LINENO
 
1895
# ----------------------
 
1896
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1897
# that executables *can* be run.
 
1898
ac_fn_c_try_run ()
 
1899
{
 
1900
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1901
  if { { ac_try="$ac_link"
 
1902
case "(($ac_try" in
 
1903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1904
  *) ac_try_echo=$ac_try;;
 
1905
esac
 
1906
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1907
$as_echo "$ac_try_echo"; } >&5
 
1908
  (eval "$ac_link") 2>&5
 
1909
  ac_status=$?
 
1910
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1911
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1912
  { { case "(($ac_try" in
 
1913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1914
  *) ac_try_echo=$ac_try;;
 
1915
esac
 
1916
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1917
$as_echo "$ac_try_echo"; } >&5
 
1918
  (eval "$ac_try") 2>&5
 
1919
  ac_status=$?
 
1920
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1921
  test $ac_status = 0; }; }; then :
 
1922
  ac_retval=0
 
1923
else
 
1924
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1925
       $as_echo "$as_me: failed program was:" >&5
 
1926
sed 's/^/| /' conftest.$ac_ext >&5
 
1927
 
 
1928
       ac_retval=$ac_status
 
1929
fi
 
1930
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1931
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1932
  return $ac_retval
 
1933
 
 
1934
} # ac_fn_c_try_run
 
1935
 
 
1936
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1937
# -------------------------------------------------------
 
1938
# Tests whether HEADER exists and can be compiled using the include files in
 
1939
# INCLUDES, setting the cache variable VAR accordingly.
 
1940
ac_fn_c_check_header_compile ()
 
1941
{
 
1942
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1943
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1944
$as_echo_n "checking for $2... " >&6; }
 
1945
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1946
  $as_echo_n "(cached) " >&6
 
1947
else
 
1948
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1949
/* end confdefs.h.  */
 
1950
$4
 
1951
#include <$2>
 
1952
_ACEOF
 
1953
if ac_fn_c_try_compile "$LINENO"; then :
 
1954
  eval "$3=yes"
 
1955
else
 
1956
  eval "$3=no"
 
1957
fi
 
1958
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1959
fi
 
1960
eval ac_res=\$$3
 
1961
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1962
$as_echo "$ac_res" >&6; }
 
1963
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1964
 
 
1965
} # ac_fn_c_check_header_compile
 
1966
 
 
1967
# ac_fn_c_try_link LINENO
 
1968
# -----------------------
 
1969
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1970
ac_fn_c_try_link ()
 
1971
{
 
1972
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1973
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1974
  if { { ac_try="$ac_link"
 
1975
case "(($ac_try" in
 
1976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1977
  *) ac_try_echo=$ac_try;;
 
1978
esac
 
1979
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1980
$as_echo "$ac_try_echo"; } >&5
 
1981
  (eval "$ac_link") 2>conftest.err
 
1982
  ac_status=$?
 
1983
  if test -s conftest.err; then
 
1984
    grep -v '^ *+' conftest.err >conftest.er1
 
1985
    cat conftest.er1 >&5
 
1986
    mv -f conftest.er1 conftest.err
 
1987
  fi
 
1988
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1989
  test $ac_status = 0; } && {
 
1990
         test -z "$ac_c_werror_flag" ||
 
1991
         test ! -s conftest.err
 
1992
       } && test -s conftest$ac_exeext && {
 
1993
         test "$cross_compiling" = yes ||
 
1994
         $as_test_x conftest$ac_exeext
 
1995
       }; then :
 
1996
  ac_retval=0
 
1997
else
 
1998
  $as_echo "$as_me: failed program was:" >&5
 
1999
sed 's/^/| /' conftest.$ac_ext >&5
 
2000
 
 
2001
        ac_retval=1
 
2002
fi
 
2003
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2004
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2005
  # interfere with the next link command; also delete a directory that is
 
2006
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2007
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2008
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2009
  return $ac_retval
 
2010
 
 
2011
} # ac_fn_c_try_link
 
2012
 
 
2013
# ac_fn_c_check_func LINENO FUNC VAR
 
2014
# ----------------------------------
 
2015
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2016
ac_fn_c_check_func ()
 
2017
{
 
2018
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2019
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2020
$as_echo_n "checking for $2... " >&6; }
 
2021
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2022
  $as_echo_n "(cached) " >&6
 
2023
else
 
2024
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2025
/* end confdefs.h.  */
 
2026
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2027
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2028
#define $2 innocuous_$2
 
2029
 
 
2030
/* System header to define __stub macros and hopefully few prototypes,
 
2031
    which can conflict with char $2 (); below.
 
2032
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2033
    <limits.h> exists even on freestanding compilers.  */
 
2034
 
 
2035
#ifdef __STDC__
 
2036
# include <limits.h>
 
2037
#else
 
2038
# include <assert.h>
 
2039
#endif
 
2040
 
 
2041
#undef $2
 
2042
 
 
2043
/* Override any GCC internal prototype to avoid an error.
 
2044
   Use char because int might match the return type of a GCC
 
2045
   builtin and then its argument prototype would still apply.  */
 
2046
#ifdef __cplusplus
 
2047
extern "C"
 
2048
#endif
 
2049
char $2 ();
 
2050
/* The GNU C library defines this for functions which it implements
 
2051
    to always fail with ENOSYS.  Some functions are actually named
 
2052
    something starting with __ and the normal name is an alias.  */
 
2053
#if defined __stub_$2 || defined __stub___$2
 
2054
choke me
 
2055
#endif
 
2056
 
 
2057
int
 
2058
main ()
 
2059
{
 
2060
return $2 ();
 
2061
  ;
 
2062
  return 0;
 
2063
}
 
2064
_ACEOF
 
2065
if ac_fn_c_try_link "$LINENO"; then :
 
2066
  eval "$3=yes"
 
2067
else
 
2068
  eval "$3=no"
 
2069
fi
 
2070
rm -f core conftest.err conftest.$ac_objext \
 
2071
    conftest$ac_exeext conftest.$ac_ext
 
2072
fi
 
2073
eval ac_res=\$$3
 
2074
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2075
$as_echo "$ac_res" >&6; }
 
2076
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2077
 
 
2078
} # ac_fn_c_check_func
 
2079
 
 
2080
# ac_fn_c_check_decl LINENO SYMBOL VAR
 
2081
# ------------------------------------
 
2082
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
2083
ac_fn_c_check_decl ()
 
2084
{
 
2085
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2086
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
 
2087
$as_echo_n "checking whether $2 is declared... " >&6; }
 
2088
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2089
  $as_echo_n "(cached) " >&6
 
2090
else
 
2091
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2092
/* end confdefs.h.  */
 
2093
$4
 
2094
int
 
2095
main ()
 
2096
{
 
2097
#ifndef $2
 
2098
  (void) $2;
 
2099
#endif
 
2100
 
 
2101
  ;
 
2102
  return 0;
 
2103
}
 
2104
_ACEOF
 
2105
if ac_fn_c_try_compile "$LINENO"; then :
 
2106
  eval "$3=yes"
 
2107
else
 
2108
  eval "$3=no"
 
2109
fi
 
2110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2111
fi
 
2112
eval ac_res=\$$3
 
2113
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2114
$as_echo "$ac_res" >&6; }
 
2115
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2116
 
 
2117
} # ac_fn_c_check_decl
1776
2118
cat >config.log <<_ACEOF
1777
2119
This file contains any messages produced by compilers while
1778
2120
running configure, to aid debugging if configure makes a mistake.
1779
2121
 
1780
 
It was created by xfce4-power-manager $as_me 0.8.3.1, which was
1781
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2122
It was created by xfce4-power-manager $as_me 0.8.4, which was
 
2123
generated by GNU Autoconf 2.64.  Invocation command line was
1782
2124
 
1783
2125
  $ $0 $@
1784
2126
 
1814
2156
do
1815
2157
  IFS=$as_save_IFS
1816
2158
  test -z "$as_dir" && as_dir=.
1817
 
  $as_echo "PATH: $as_dir"
1818
 
done
 
2159
    $as_echo "PATH: $as_dir"
 
2160
  done
1819
2161
IFS=$as_save_IFS
1820
2162
 
1821
2163
} >&5
1852
2194
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1853
2195
    esac
1854
2196
    case $ac_pass in
1855
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2197
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1856
2198
    2)
1857
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2199
      as_fn_append ac_configure_args1 " '$ac_arg'"
1858
2200
      if test $ac_must_keep_next = true; then
1859
2201
        ac_must_keep_next=false # Got value, back to normal.
1860
2202
      else
1870
2212
          -* ) ac_must_keep_next=true ;;
1871
2213
        esac
1872
2214
      fi
1873
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2215
      as_fn_append ac_configure_args " '$ac_arg'"
1874
2216
      ;;
1875
2217
    esac
1876
2218
  done
1877
2219
done
1878
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1879
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2220
{ ac_configure_args0=; unset ac_configure_args0;}
 
2221
{ ac_configure_args1=; unset ac_configure_args1;}
1880
2222
 
1881
2223
# When interrupted or exit'd, cleanup temporary files, and complete
1882
2224
# config.log.  We remove comments because anyway the quotes in there
1901
2243
    case $ac_val in #(
1902
2244
    *${as_nl}*)
1903
2245
      case $ac_var in #(
1904
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2246
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1905
2247
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1906
2248
      esac
1907
2249
      case $ac_var in #(
1908
2250
      _ | IFS | as_nl) ;; #(
1909
2251
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1910
 
      *) $as_unset $ac_var ;;
 
2252
      *) { eval $ac_var=; unset $ac_var;} ;;
1911
2253
      esac ;;
1912
2254
    esac
1913
2255
  done
1979
2321
    exit $exit_status
1980
2322
' 0
1981
2323
for ac_signal in 1 2 13 15; do
1982
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2324
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1983
2325
done
1984
2326
ac_signal=0
1985
2327
 
1986
2328
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1987
2329
rm -f -r conftest* confdefs.h
1988
2330
 
 
2331
$as_echo "/* confdefs.h */" > confdefs.h
 
2332
 
1989
2333
# Predefined preprocessor variables.
1990
2334
 
1991
2335
cat >>confdefs.h <<_ACEOF
1992
2336
#define PACKAGE_NAME "$PACKAGE_NAME"
1993
2337
_ACEOF
1994
2338
 
1995
 
 
1996
2339
cat >>confdefs.h <<_ACEOF
1997
2340
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1998
2341
_ACEOF
1999
2342
 
2000
 
 
2001
2343
cat >>confdefs.h <<_ACEOF
2002
2344
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2003
2345
_ACEOF
2004
2346
 
2005
 
 
2006
2347
cat >>confdefs.h <<_ACEOF
2007
2348
#define PACKAGE_STRING "$PACKAGE_STRING"
2008
2349
_ACEOF
2009
2350
 
2010
 
 
2011
2351
cat >>confdefs.h <<_ACEOF
2012
2352
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2013
2353
_ACEOF
2014
2354
 
 
2355
cat >>confdefs.h <<_ACEOF
 
2356
#define PACKAGE_URL "$PACKAGE_URL"
 
2357
_ACEOF
 
2358
 
2015
2359
 
2016
2360
# Let the site file select an alternate cache file if it wants to.
2017
2361
# Prefer an explicitly selected file to automatically selected ones.
2030
2374
do
2031
2375
  test "x$ac_site_file" = xNONE && continue
2032
2376
  if test -r "$ac_site_file"; then
2033
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2377
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2034
2378
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2035
2379
    sed 's/^/| /' "$ac_site_file" >&5
2036
2380
    . "$ac_site_file"
2041
2385
  # Some versions of bash will fail to source /dev/null (special
2042
2386
  # files actually), so we avoid doing that.
2043
2387
  if test -f "$cache_file"; then
2044
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2388
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2045
2389
$as_echo "$as_me: loading cache $cache_file" >&6;}
2046
2390
    case $cache_file in
2047
2391
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2049
2393
    esac
2050
2394
  fi
2051
2395
else
2052
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2396
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2053
2397
$as_echo "$as_me: creating cache $cache_file" >&6;}
2054
2398
  >$cache_file
2055
2399
fi
2064
2408
  eval ac_new_val=\$ac_env_${ac_var}_value
2065
2409
  case $ac_old_set,$ac_new_set in
2066
2410
    set,)
2067
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2411
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2068
2412
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2069
2413
      ac_cache_corrupted=: ;;
2070
2414
    ,set)
2071
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2415
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2072
2416
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2073
2417
      ac_cache_corrupted=: ;;
2074
2418
    ,);;
2078
2422
        ac_old_val_w=`echo x $ac_old_val`
2079
2423
        ac_new_val_w=`echo x $ac_new_val`
2080
2424
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2081
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2425
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2082
2426
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2083
2427
          ac_cache_corrupted=:
2084
2428
        else
2085
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2429
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2086
2430
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2087
2431
          eval $ac_var=\$ac_old_val
2088
2432
        fi
2089
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2433
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2090
2434
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2091
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2435
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2092
2436
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2093
2437
      fi;;
2094
2438
  esac
2100
2444
    esac
2101
2445
    case " $ac_configure_args " in
2102
2446
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2103
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2447
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2104
2448
    esac
2105
2449
  fi
2106
2450
done
2107
2451
if $ac_cache_corrupted; then
2108
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2452
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2109
2453
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2110
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2454
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2111
2455
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2112
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2113
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2114
 
   { (exit 1); exit 1; }; }
 
2456
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2115
2457
fi
2116
 
 
2117
 
 
2118
 
 
2119
 
 
2120
 
 
2121
 
 
2122
 
 
2123
 
 
2124
 
 
2125
 
 
2126
 
 
2127
 
 
2128
 
 
2129
 
 
2130
 
 
2131
 
 
2132
 
 
2133
 
 
2134
 
 
2135
 
 
2136
 
 
2137
 
 
2138
 
 
2139
 
 
 
2458
## -------------------- ##
 
2459
## Main body of script. ##
 
2460
## -------------------- ##
2140
2461
 
2141
2462
ac_ext=c
2142
2463
ac_cpp='$CPP $CPPFLAGS'
2147
2468
 
2148
2469
 
2149
2470
 
2150
 
am__api_version='1.10'
 
2471
am__api_version='1.11'
2151
2472
 
2152
2473
ac_aux_dir=
2153
2474
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2154
 
  if test -f "$ac_dir/install-sh"; then
2155
 
    ac_aux_dir=$ac_dir
2156
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2157
 
    break
2158
 
  elif test -f "$ac_dir/install.sh"; then
2159
 
    ac_aux_dir=$ac_dir
2160
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2161
 
    break
2162
 
  elif test -f "$ac_dir/shtool"; then
2163
 
    ac_aux_dir=$ac_dir
2164
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2165
 
    break
2166
 
  fi
 
2475
  for ac_t in install-sh install.sh shtool; do
 
2476
    if test -f "$ac_dir/$ac_t"; then
 
2477
      ac_aux_dir=$ac_dir
 
2478
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2479
      break 2
 
2480
    fi
 
2481
  done
2167
2482
done
2168
2483
if test -z "$ac_aux_dir"; then
2169
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2170
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2171
 
   { (exit 1); exit 1; }; }
 
2484
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2172
2485
fi
2173
2486
 
2174
2487
# These three variables are undocumented and unsupported,
2194
2507
# OS/2's system install, which has a completely different semantic
2195
2508
# ./install, which can be erroneously created by make from ./install.sh.
2196
2509
# Reject install programs that cannot install multiple files.
2197
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2198
2511
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2199
2512
if test -z "$INSTALL"; then
2200
 
if test "${ac_cv_path_install+set}" = set; then
 
2513
if test "${ac_cv_path_install+set}" = set; then :
2201
2514
  $as_echo_n "(cached) " >&6
2202
2515
else
2203
2516
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2205
2518
do
2206
2519
  IFS=$as_save_IFS
2207
2520
  test -z "$as_dir" && as_dir=.
2208
 
  # Account for people who put trailing slashes in PATH elements.
2209
 
case $as_dir/ in
2210
 
  ./ | .// | /cC/* | \
 
2521
    # Account for people who put trailing slashes in PATH elements.
 
2522
case $as_dir/ in #((
 
2523
  ./ | .// | /[cC]/* | \
2211
2524
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2212
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2525
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2213
2526
  /usr/ucb/* ) ;;
2214
2527
  *)
2215
2528
    # OSF1 and SCO ODT 3.0 have their own names for install.
2246
2559
    ;;
2247
2560
esac
2248
2561
 
2249
 
done
 
2562
  done
2250
2563
IFS=$as_save_IFS
2251
2564
 
2252
2565
rm -rf conftest.one conftest.two conftest.dir
2262
2575
    INSTALL=$ac_install_sh
2263
2576
  fi
2264
2577
fi
2265
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2266
2579
$as_echo "$INSTALL" >&6; }
2267
2580
 
2268
2581
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2273
2586
 
2274
2587
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2275
2588
 
2276
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2277
2590
$as_echo_n "checking whether build environment is sane... " >&6; }
2278
2591
# Just in case
2279
2592
sleep 1
2280
2593
echo timestamp > conftest.file
 
2594
# Reject unsafe characters in $srcdir or the absolute working directory
 
2595
# name.  Accept space and tab only in the latter.
 
2596
am_lf='
 
2597
'
 
2598
case `pwd` in
 
2599
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2600
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2601
esac
 
2602
case $srcdir in
 
2603
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2604
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2605
esac
 
2606
 
2281
2607
# Do `set' in a subshell so we don't clobber the current shell's
2282
2608
# arguments.  Must try -L first in case configure is actually a
2283
2609
# symlink; some systems play weird games with the mod time of symlinks
2284
2610
# (eg FreeBSD returns the mod time of the symlink's containing
2285
2611
# directory).
2286
2612
if (
2287
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2613
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2288
2614
   if test "$*" = "X"; then
2289
2615
      # -L didn't work.
2290
 
      set X `ls -t $srcdir/configure conftest.file`
 
2616
      set X `ls -t "$srcdir/configure" conftest.file`
2291
2617
   fi
2292
2618
   rm -f conftest.file
2293
2619
   if test "$*" != "X $srcdir/configure conftest.file" \
2297
2623
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2298
2624
      # broken ls alias from the environment.  This has actually
2299
2625
      # happened.  Such a system could not be considered "sane".
2300
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2301
 
alias in your environment" >&5
2302
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2303
 
alias in your environment" >&2;}
2304
 
   { (exit 1); exit 1; }; }
 
2626
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2627
alias in your environment" "$LINENO" 5
2305
2628
   fi
2306
2629
 
2307
2630
   test "$2" = conftest.file
2310
2633
   # Ok.
2311
2634
   :
2312
2635
else
2313
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2314
 
Check your system clock" >&5
2315
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2316
 
Check your system clock" >&2;}
2317
 
   { (exit 1); exit 1; }; }
 
2636
   as_fn_error "newly created file is older than distributed files!
 
2637
Check your system clock" "$LINENO" 5
2318
2638
fi
2319
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2320
2640
$as_echo "yes" >&6; }
2321
2641
test "$program_prefix" != NONE &&
2322
2642
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2331
2651
# expand $ac_aux_dir to an absolute path
2332
2652
am_aux_dir=`cd $ac_aux_dir && pwd`
2333
2653
 
2334
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2654
if test x"${MISSING+set}" != xset; then
 
2655
  case $am_aux_dir in
 
2656
  *\ * | *\     *)
 
2657
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2658
  *)
 
2659
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2660
  esac
 
2661
fi
2335
2662
# Use eval to expand $SHELL
2336
2663
if eval "$MISSING --run true"; then
2337
2664
  am_missing_run="$MISSING --run "
2338
2665
else
2339
2666
  am_missing_run=
2340
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2667
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2341
2668
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2342
2669
fi
2343
2670
 
2344
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2671
if test x"${install_sh}" != xset; then
 
2672
  case $am_aux_dir in
 
2673
  *\ * | *\     *)
 
2674
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2675
  *)
 
2676
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2677
  esac
 
2678
fi
 
2679
 
 
2680
# Installed binaries are usually stripped using `strip' when the user
 
2681
# run `make install-strip'.  However `strip' might not be the right
 
2682
# tool to use in cross-compilation environments, therefore Automake
 
2683
# will honor the `STRIP' environment variable to overrule this program.
 
2684
if test "$cross_compiling" != no; then
 
2685
  if test -n "$ac_tool_prefix"; then
 
2686
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2687
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2689
$as_echo_n "checking for $ac_word... " >&6; }
 
2690
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2691
  $as_echo_n "(cached) " >&6
 
2692
else
 
2693
  if test -n "$STRIP"; then
 
2694
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2695
else
 
2696
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2697
for as_dir in $PATH
 
2698
do
 
2699
  IFS=$as_save_IFS
 
2700
  test -z "$as_dir" && as_dir=.
 
2701
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2702
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2703
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2704
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2705
    break 2
 
2706
  fi
 
2707
done
 
2708
  done
 
2709
IFS=$as_save_IFS
 
2710
 
 
2711
fi
 
2712
fi
 
2713
STRIP=$ac_cv_prog_STRIP
 
2714
if test -n "$STRIP"; then
 
2715
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2716
$as_echo "$STRIP" >&6; }
 
2717
else
 
2718
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2719
$as_echo "no" >&6; }
 
2720
fi
 
2721
 
 
2722
 
 
2723
fi
 
2724
if test -z "$ac_cv_prog_STRIP"; then
 
2725
  ac_ct_STRIP=$STRIP
 
2726
  # Extract the first word of "strip", so it can be a program name with args.
 
2727
set dummy strip; ac_word=$2
 
2728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2729
$as_echo_n "checking for $ac_word... " >&6; }
 
2730
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2731
  $as_echo_n "(cached) " >&6
 
2732
else
 
2733
  if test -n "$ac_ct_STRIP"; then
 
2734
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2735
else
 
2736
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2737
for as_dir in $PATH
 
2738
do
 
2739
  IFS=$as_save_IFS
 
2740
  test -z "$as_dir" && as_dir=.
 
2741
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2742
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2743
    ac_cv_prog_ac_ct_STRIP="strip"
 
2744
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2745
    break 2
 
2746
  fi
 
2747
done
 
2748
  done
 
2749
IFS=$as_save_IFS
 
2750
 
 
2751
fi
 
2752
fi
 
2753
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2754
if test -n "$ac_ct_STRIP"; then
 
2755
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2756
$as_echo "$ac_ct_STRIP" >&6; }
 
2757
else
 
2758
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2759
$as_echo "no" >&6; }
 
2760
fi
 
2761
 
 
2762
  if test "x$ac_ct_STRIP" = x; then
 
2763
    STRIP=":"
 
2764
  else
 
2765
    case $cross_compiling:$ac_tool_warned in
 
2766
yes:)
 
2767
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2768
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2769
ac_tool_warned=yes ;;
 
2770
esac
 
2771
    STRIP=$ac_ct_STRIP
 
2772
  fi
 
2773
else
 
2774
  STRIP="$ac_cv_prog_STRIP"
 
2775
fi
 
2776
 
 
2777
fi
 
2778
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2779
 
 
2780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2345
2781
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2346
2782
if test -z "$MKDIR_P"; then
2347
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2783
  if test "${ac_cv_path_mkdir+set}" = set; then :
2348
2784
  $as_echo_n "(cached) " >&6
2349
2785
else
2350
2786
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352
2788
do
2353
2789
  IFS=$as_save_IFS
2354
2790
  test -z "$as_dir" && as_dir=.
2355
 
  for ac_prog in mkdir gmkdir; do
 
2791
    for ac_prog in mkdir gmkdir; do
2356
2792
         for ac_exec_ext in '' $ac_executable_extensions; do
2357
2793
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2358
2794
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2364
2800
           esac
2365
2801
         done
2366
2802
       done
2367
 
done
 
2803
  done
2368
2804
IFS=$as_save_IFS
2369
2805
 
2370
2806
fi
2380
2816
    MKDIR_P="$ac_install_sh -d"
2381
2817
  fi
2382
2818
fi
2383
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2819
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2384
2820
$as_echo "$MKDIR_P" >&6; }
2385
2821
 
2386
2822
mkdir_p="$MKDIR_P"
2393
2829
do
2394
2830
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2395
2831
set dummy $ac_prog; ac_word=$2
2396
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2397
2833
$as_echo_n "checking for $ac_word... " >&6; }
2398
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2834
if test "${ac_cv_prog_AWK+set}" = set; then :
2399
2835
  $as_echo_n "(cached) " >&6
2400
2836
else
2401
2837
  if test -n "$AWK"; then
2406
2842
do
2407
2843
  IFS=$as_save_IFS
2408
2844
  test -z "$as_dir" && as_dir=.
2409
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2845
    for ac_exec_ext in '' $ac_executable_extensions; do
2410
2846
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2411
2847
    ac_cv_prog_AWK="$ac_prog"
2412
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2848
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2413
2849
    break 2
2414
2850
  fi
2415
2851
done
2416
 
done
 
2852
  done
2417
2853
IFS=$as_save_IFS
2418
2854
 
2419
2855
fi
2420
2856
fi
2421
2857
AWK=$ac_cv_prog_AWK
2422
2858
if test -n "$AWK"; then
2423
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2859
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2424
2860
$as_echo "$AWK" >&6; }
2425
2861
else
2426
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2862
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2427
2863
$as_echo "no" >&6; }
2428
2864
fi
2429
2865
 
2431
2867
  test -n "$AWK" && break
2432
2868
done
2433
2869
 
2434
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2435
2871
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2436
2872
set x ${MAKE-make}
2437
2873
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2438
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2874
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2439
2875
  $as_echo_n "(cached) " >&6
2440
2876
else
2441
2877
  cat >conftest.make <<\_ACEOF
2453
2889
rm -f conftest.make
2454
2890
fi
2455
2891
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2456
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2892
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2457
2893
$as_echo "yes" >&6; }
2458
2894
  SET_MAKE=
2459
2895
else
2460
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2896
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2461
2897
$as_echo "no" >&6; }
2462
2898
  SET_MAKE="MAKE=${MAKE-make}"
2463
2899
fi
2477
2913
  am__isrc=' -I$(srcdir)'
2478
2914
  # test to see if srcdir already configured
2479
2915
  if test -f $srcdir/config.status; then
2480
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2481
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2482
 
   { (exit 1); exit 1; }; }
 
2916
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2483
2917
  fi
2484
2918
fi
2485
2919
 
2495
2929
 
2496
2930
# Define the identity of the package.
2497
2931
 PACKAGE='xfce4-power-manager'
2498
 
 VERSION='0.8.3.1'
 
2932
 VERSION='0.8.4'
2499
2933
 
2500
2934
 
2501
2935
cat >>confdefs.h <<_ACEOF
2523
2957
 
2524
2958
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2525
2959
 
2526
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2527
 
 
2528
 
# Installed binaries are usually stripped using `strip' when the user
2529
 
# run `make install-strip'.  However `strip' might not be the right
2530
 
# tool to use in cross-compilation environments, therefore Automake
2531
 
# will honor the `STRIP' environment variable to overrule this program.
2532
 
if test "$cross_compiling" != no; then
2533
 
  if test -n "$ac_tool_prefix"; then
2534
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2535
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2536
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2537
 
$as_echo_n "checking for $ac_word... " >&6; }
2538
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2539
 
  $as_echo_n "(cached) " >&6
2540
 
else
2541
 
  if test -n "$STRIP"; then
2542
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2543
 
else
2544
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545
 
for as_dir in $PATH
2546
 
do
2547
 
  IFS=$as_save_IFS
2548
 
  test -z "$as_dir" && as_dir=.
2549
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2550
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2551
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2552
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2553
 
    break 2
2554
 
  fi
2555
 
done
2556
 
done
2557
 
IFS=$as_save_IFS
2558
 
 
2559
 
fi
2560
 
fi
2561
 
STRIP=$ac_cv_prog_STRIP
2562
 
if test -n "$STRIP"; then
2563
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2564
 
$as_echo "$STRIP" >&6; }
2565
 
else
2566
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2567
 
$as_echo "no" >&6; }
2568
 
fi
2569
 
 
2570
 
 
2571
 
fi
2572
 
if test -z "$ac_cv_prog_STRIP"; then
2573
 
  ac_ct_STRIP=$STRIP
2574
 
  # Extract the first word of "strip", so it can be a program name with args.
2575
 
set dummy strip; ac_word=$2
2576
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2577
 
$as_echo_n "checking for $ac_word... " >&6; }
2578
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2579
 
  $as_echo_n "(cached) " >&6
2580
 
else
2581
 
  if test -n "$ac_ct_STRIP"; then
2582
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2583
 
else
2584
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585
 
for as_dir in $PATH
2586
 
do
2587
 
  IFS=$as_save_IFS
2588
 
  test -z "$as_dir" && as_dir=.
2589
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2590
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2591
 
    ac_cv_prog_ac_ct_STRIP="strip"
2592
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2593
 
    break 2
2594
 
  fi
2595
 
done
2596
 
done
2597
 
IFS=$as_save_IFS
2598
 
 
2599
 
fi
2600
 
fi
2601
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2602
 
if test -n "$ac_ct_STRIP"; then
2603
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2604
 
$as_echo "$ac_ct_STRIP" >&6; }
2605
 
else
2606
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2607
 
$as_echo "no" >&6; }
2608
 
fi
2609
 
 
2610
 
  if test "x$ac_ct_STRIP" = x; then
2611
 
    STRIP=":"
2612
 
  else
2613
 
    case $cross_compiling:$ac_tool_warned in
2614
 
yes:)
2615
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2616
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2617
 
ac_tool_warned=yes ;;
2618
 
esac
2619
 
    STRIP=$ac_ct_STRIP
2620
 
  fi
2621
 
else
2622
 
  STRIP="$ac_cv_prog_STRIP"
2623
 
fi
2624
 
 
2625
 
fi
2626
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2627
 
 
2628
2960
# We need awk for the "check" target.  The system "awk" is bad on
2629
2961
# some platforms.
2630
2962
# Always define AMTAR for backward compatibility.
2632
2964
AMTAR=${AMTAR-"${am_missing_run}tar"}
2633
2965
 
2634
2966
 
2635
 
{ $as_echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
 
2967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2636
2968
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2637
2969
# Loop over all known methods to create a tar archive until one works.
2638
2970
_am_tools='gnutar plaintar pax cpio none'
2705
3037
done
2706
3038
rm -rf conftest.dir
2707
3039
 
2708
 
if test "${am_cv_prog_tar_ustar+set}" = set; then
 
3040
if test "${am_cv_prog_tar_ustar+set}" = set; then :
2709
3041
  $as_echo_n "(cached) " >&6
2710
3042
else
2711
3043
  am_cv_prog_tar_ustar=$_am_tool
2712
3044
fi
2713
3045
 
2714
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
 
3046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2715
3047
$as_echo "$am_cv_prog_tar_ustar" >&6; }
2716
3048
 
2717
3049
 
2720
3052
 
2721
3053
ac_config_headers="$ac_config_headers config.h"
2722
3054
 
2723
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
3055
 
 
3056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2724
3057
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2725
3058
    # Check whether --enable-maintainer-mode was given.
2726
 
if test "${enable_maintainer_mode+set}" = set; then
 
3059
if test "${enable_maintainer_mode+set}" = set; then :
2727
3060
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2728
3061
else
2729
3062
  USE_MAINTAINER_MODE=no
2730
3063
fi
2731
3064
 
2732
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
3065
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2733
3066
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2734
3067
   if test $USE_MAINTAINER_MODE = yes; then
2735
3068
  MAINTAINER_MODE_TRUE=
2754
3087
am_make=${MAKE-make}
2755
3088
cat > confinc << 'END'
2756
3089
am__doit:
2757
 
        @echo done
 
3090
        @echo this is the am__doit target
2758
3091
.PHONY: am__doit
2759
3092
END
2760
3093
# If we don't find an include directive, just comment out the code.
2761
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2762
3095
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2763
3096
am__include="#"
2764
3097
am__quote=
2765
3098
_am_result=none
2766
3099
# First try GNU make style include.
2767
3100
echo "include confinc" > confmf
2768
 
# We grep out `Entering directory' and `Leaving directory'
2769
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2770
 
# In particular we don't look at `^make:' because GNU make might
2771
 
# be invoked under some other name (usually "gmake"), in which
2772
 
# case it prints its new name instead of `make'.
2773
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2774
 
   am__include=include
2775
 
   am__quote=
2776
 
   _am_result=GNU
2777
 
fi
 
3101
# Ignore all kinds of additional output from `make'.
 
3102
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3103
*the\ am__doit\ target*)
 
3104
  am__include=include
 
3105
  am__quote=
 
3106
  _am_result=GNU
 
3107
  ;;
 
3108
esac
2778
3109
# Now try BSD make style include.
2779
3110
if test "$am__include" = "#"; then
2780
3111
   echo '.include "confinc"' > confmf
2781
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2782
 
      am__include=.include
2783
 
      am__quote="\""
2784
 
      _am_result=BSD
2785
 
   fi
 
3112
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3113
   *the\ am__doit\ target*)
 
3114
     am__include=.include
 
3115
     am__quote="\""
 
3116
     _am_result=BSD
 
3117
     ;;
 
3118
   esac
2786
3119
fi
2787
3120
 
2788
3121
 
2789
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2790
3123
$as_echo "$_am_result" >&6; }
2791
3124
rm -f confinc confmf
2792
3125
 
2793
3126
# Check whether --enable-dependency-tracking was given.
2794
 
if test "${enable_dependency_tracking+set}" = set; then
 
3127
if test "${enable_dependency_tracking+set}" = set; then :
2795
3128
  enableval=$enable_dependency_tracking;
2796
3129
fi
2797
3130
 
2816
3149
if test -n "$ac_tool_prefix"; then
2817
3150
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2818
3151
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2819
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820
3153
$as_echo_n "checking for $ac_word... " >&6; }
2821
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3154
if test "${ac_cv_prog_CC+set}" = set; then :
2822
3155
  $as_echo_n "(cached) " >&6
2823
3156
else
2824
3157
  if test -n "$CC"; then
2829
3162
do
2830
3163
  IFS=$as_save_IFS
2831
3164
  test -z "$as_dir" && as_dir=.
2832
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3165
    for ac_exec_ext in '' $ac_executable_extensions; do
2833
3166
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2834
3167
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2835
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3168
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2836
3169
    break 2
2837
3170
  fi
2838
3171
done
2839
 
done
 
3172
  done
2840
3173
IFS=$as_save_IFS
2841
3174
 
2842
3175
fi
2843
3176
fi
2844
3177
CC=$ac_cv_prog_CC
2845
3178
if test -n "$CC"; then
2846
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3179
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2847
3180
$as_echo "$CC" >&6; }
2848
3181
else
2849
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3182
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850
3183
$as_echo "no" >&6; }
2851
3184
fi
2852
3185
 
2856
3189
  ac_ct_CC=$CC
2857
3190
  # Extract the first word of "gcc", so it can be a program name with args.
2858
3191
set dummy gcc; ac_word=$2
2859
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860
3193
$as_echo_n "checking for $ac_word... " >&6; }
2861
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3194
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2862
3195
  $as_echo_n "(cached) " >&6
2863
3196
else
2864
3197
  if test -n "$ac_ct_CC"; then
2869
3202
do
2870
3203
  IFS=$as_save_IFS
2871
3204
  test -z "$as_dir" && as_dir=.
2872
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3205
    for ac_exec_ext in '' $ac_executable_extensions; do
2873
3206
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2874
3207
    ac_cv_prog_ac_ct_CC="gcc"
2875
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3208
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876
3209
    break 2
2877
3210
  fi
2878
3211
done
2879
 
done
 
3212
  done
2880
3213
IFS=$as_save_IFS
2881
3214
 
2882
3215
fi
2883
3216
fi
2884
3217
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2885
3218
if test -n "$ac_ct_CC"; then
2886
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2887
3220
$as_echo "$ac_ct_CC" >&6; }
2888
3221
else
2889
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3222
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890
3223
$as_echo "no" >&6; }
2891
3224
fi
2892
3225
 
2895
3228
  else
2896
3229
    case $cross_compiling:$ac_tool_warned in
2897
3230
yes:)
2898
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3231
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2899
3232
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2900
3233
ac_tool_warned=yes ;;
2901
3234
esac
2909
3242
          if test -n "$ac_tool_prefix"; then
2910
3243
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2911
3244
set dummy ${ac_tool_prefix}cc; ac_word=$2
2912
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2913
3246
$as_echo_n "checking for $ac_word... " >&6; }
2914
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3247
if test "${ac_cv_prog_CC+set}" = set; then :
2915
3248
  $as_echo_n "(cached) " >&6
2916
3249
else
2917
3250
  if test -n "$CC"; then
2922
3255
do
2923
3256
  IFS=$as_save_IFS
2924
3257
  test -z "$as_dir" && as_dir=.
2925
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3258
    for ac_exec_ext in '' $ac_executable_extensions; do
2926
3259
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2927
3260
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2928
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3261
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929
3262
    break 2
2930
3263
  fi
2931
3264
done
2932
 
done
 
3265
  done
2933
3266
IFS=$as_save_IFS
2934
3267
 
2935
3268
fi
2936
3269
fi
2937
3270
CC=$ac_cv_prog_CC
2938
3271
if test -n "$CC"; then
2939
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2940
3273
$as_echo "$CC" >&6; }
2941
3274
else
2942
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2943
3276
$as_echo "no" >&6; }
2944
3277
fi
2945
3278
 
2949
3282
if test -z "$CC"; then
2950
3283
  # Extract the first word of "cc", so it can be a program name with args.
2951
3284
set dummy cc; ac_word=$2
2952
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2953
3286
$as_echo_n "checking for $ac_word... " >&6; }
2954
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3287
if test "${ac_cv_prog_CC+set}" = set; then :
2955
3288
  $as_echo_n "(cached) " >&6
2956
3289
else
2957
3290
  if test -n "$CC"; then
2963
3296
do
2964
3297
  IFS=$as_save_IFS
2965
3298
  test -z "$as_dir" && as_dir=.
2966
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3299
    for ac_exec_ext in '' $ac_executable_extensions; do
2967
3300
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2968
3301
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2969
3302
       ac_prog_rejected=yes
2970
3303
       continue
2971
3304
     fi
2972
3305
    ac_cv_prog_CC="cc"
2973
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3306
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2974
3307
    break 2
2975
3308
  fi
2976
3309
done
2977
 
done
 
3310
  done
2978
3311
IFS=$as_save_IFS
2979
3312
 
2980
3313
if test $ac_prog_rejected = yes; then
2993
3326
fi
2994
3327
CC=$ac_cv_prog_CC
2995
3328
if test -n "$CC"; then
2996
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3329
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2997
3330
$as_echo "$CC" >&6; }
2998
3331
else
2999
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3332
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000
3333
$as_echo "no" >&6; }
3001
3334
fi
3002
3335
 
3008
3341
  do
3009
3342
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3010
3343
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3011
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3012
3345
$as_echo_n "checking for $ac_word... " >&6; }
3013
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3346
if test "${ac_cv_prog_CC+set}" = set; then :
3014
3347
  $as_echo_n "(cached) " >&6
3015
3348
else
3016
3349
  if test -n "$CC"; then
3021
3354
do
3022
3355
  IFS=$as_save_IFS
3023
3356
  test -z "$as_dir" && as_dir=.
3024
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3357
    for ac_exec_ext in '' $ac_executable_extensions; do
3025
3358
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3026
3359
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3027
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3360
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3028
3361
    break 2
3029
3362
  fi
3030
3363
done
3031
 
done
 
3364
  done
3032
3365
IFS=$as_save_IFS
3033
3366
 
3034
3367
fi
3035
3368
fi
3036
3369
CC=$ac_cv_prog_CC
3037
3370
if test -n "$CC"; then
3038
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3371
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3039
3372
$as_echo "$CC" >&6; }
3040
3373
else
3041
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3374
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042
3375
$as_echo "no" >&6; }
3043
3376
fi
3044
3377
 
3052
3385
do
3053
3386
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3054
3387
set dummy $ac_prog; ac_word=$2
3055
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056
3389
$as_echo_n "checking for $ac_word... " >&6; }
3057
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3390
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3058
3391
  $as_echo_n "(cached) " >&6
3059
3392
else
3060
3393
  if test -n "$ac_ct_CC"; then
3065
3398
do
3066
3399
  IFS=$as_save_IFS
3067
3400
  test -z "$as_dir" && as_dir=.
3068
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3401
    for ac_exec_ext in '' $ac_executable_extensions; do
3069
3402
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3070
3403
    ac_cv_prog_ac_ct_CC="$ac_prog"
3071
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3404
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072
3405
    break 2
3073
3406
  fi
3074
3407
done
3075
 
done
 
3408
  done
3076
3409
IFS=$as_save_IFS
3077
3410
 
3078
3411
fi
3079
3412
fi
3080
3413
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3081
3414
if test -n "$ac_ct_CC"; then
3082
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3415
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3083
3416
$as_echo "$ac_ct_CC" >&6; }
3084
3417
else
3085
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3418
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086
3419
$as_echo "no" >&6; }
3087
3420
fi
3088
3421
 
3095
3428
  else
3096
3429
    case $cross_compiling:$ac_tool_warned in
3097
3430
yes:)
3098
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3431
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3099
3432
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3100
3433
ac_tool_warned=yes ;;
3101
3434
esac
3106
3439
fi
3107
3440
 
3108
3441
 
3109
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3442
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3110
3443
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3112
 
See \`config.log' for more details." >&5
3113
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3114
 
See \`config.log' for more details." >&2;}
3115
 
   { (exit 1); exit 1; }; }; }
 
3444
as_fn_error "no acceptable C compiler found in \$PATH
 
3445
See \`config.log' for more details." "$LINENO" 5; }
3116
3446
 
3117
3447
# Provide some information about the compiler.
3118
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3448
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3119
3449
set X $ac_compile
3120
3450
ac_compiler=$2
3121
 
{ (ac_try="$ac_compiler --version >&5"
3122
 
case "(($ac_try" in
3123
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124
 
  *) ac_try_echo=$ac_try;;
3125
 
esac
3126
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3127
 
$as_echo "$ac_try_echo") >&5
3128
 
  (eval "$ac_compiler --version >&5") 2>&5
3129
 
  ac_status=$?
3130
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131
 
  (exit $ac_status); }
3132
 
{ (ac_try="$ac_compiler -v >&5"
3133
 
case "(($ac_try" in
3134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135
 
  *) ac_try_echo=$ac_try;;
3136
 
esac
3137
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3138
 
$as_echo "$ac_try_echo") >&5
3139
 
  (eval "$ac_compiler -v >&5") 2>&5
3140
 
  ac_status=$?
3141
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142
 
  (exit $ac_status); }
3143
 
{ (ac_try="$ac_compiler -V >&5"
3144
 
case "(($ac_try" in
3145
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146
 
  *) ac_try_echo=$ac_try;;
3147
 
esac
3148
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3149
 
$as_echo "$ac_try_echo") >&5
3150
 
  (eval "$ac_compiler -V >&5") 2>&5
3151
 
  ac_status=$?
3152
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153
 
  (exit $ac_status); }
 
3451
for ac_option in --version -v -V -qversion; do
 
3452
  { { ac_try="$ac_compiler $ac_option >&5"
 
3453
case "(($ac_try" in
 
3454
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3455
  *) ac_try_echo=$ac_try;;
 
3456
esac
 
3457
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3458
$as_echo "$ac_try_echo"; } >&5
 
3459
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3460
  ac_status=$?
 
3461
  if test -s conftest.err; then
 
3462
    sed '10a\
 
3463
... rest of stderr output deleted ...
 
3464
         10q' conftest.err >conftest.er1
 
3465
    cat conftest.er1 >&5
 
3466
    rm -f conftest.er1 conftest.err
 
3467
  fi
 
3468
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3469
  test $ac_status = 0; }
 
3470
done
3154
3471
 
3155
 
cat >conftest.$ac_ext <<_ACEOF
3156
 
/* confdefs.h.  */
3157
 
_ACEOF
3158
 
cat confdefs.h >>conftest.$ac_ext
3159
 
cat >>conftest.$ac_ext <<_ACEOF
 
3472
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160
3473
/* end confdefs.h.  */
3161
 
 
 
3474
#include <stdio.h>
3162
3475
int
3163
3476
main ()
3164
3477
{
 
3478
FILE *f = fopen ("conftest.out", "w");
 
3479
 return ferror (f) || fclose (f) != 0;
3165
3480
 
3166
3481
  ;
3167
3482
  return 0;
3168
3483
}
3169
3484
_ACEOF
3170
3485
ac_clean_files_save=$ac_clean_files
3171
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3486
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3172
3487
# Try to create an executable without -o first, disregard a.out.
3173
3488
# It will help us diagnose broken compilers, and finding out an intuition
3174
3489
# of exeext.
3175
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3176
3491
$as_echo_n "checking for C compiler default output file name... " >&6; }
3177
3492
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3178
3493
 
3189
3504
done
3190
3505
rm -f $ac_rmfiles
3191
3506
 
3192
 
if { (ac_try="$ac_link_default"
 
3507
if { { ac_try="$ac_link_default"
3193
3508
case "(($ac_try" in
3194
3509
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195
3510
  *) ac_try_echo=$ac_try;;
3196
3511
esac
3197
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3198
 
$as_echo "$ac_try_echo") >&5
 
3512
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3513
$as_echo "$ac_try_echo"; } >&5
3199
3514
  (eval "$ac_link_default") 2>&5
3200
3515
  ac_status=$?
3201
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202
 
  (exit $ac_status); }; then
 
3516
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3517
  test $ac_status = 0; }; then :
3203
3518
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3204
3519
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3205
3520
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3216
3531
        # certainly right.
3217
3532
        break;;
3218
3533
    *.* )
3219
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3534
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3220
3535
        then :; else
3221
3536
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3222
3537
        fi
3235
3550
else
3236
3551
  ac_file=''
3237
3552
fi
3238
 
 
3239
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3240
3554
$as_echo "$ac_file" >&6; }
3241
 
if test -z "$ac_file"; then
 
3555
if test -z "$ac_file"; then :
3242
3556
  $as_echo "$as_me: failed program was:" >&5
3243
3557
sed 's/^/| /' conftest.$ac_ext >&5
3244
3558
 
3245
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3559
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3246
3560
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3247
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3248
 
See \`config.log' for more details." >&5
3249
 
$as_echo "$as_me: error: C compiler cannot create executables
3250
 
See \`config.log' for more details." >&2;}
3251
 
   { (exit 77); exit 77; }; }; }
 
3561
{ as_fn_set_status 77
 
3562
as_fn_error "C compiler cannot create executables
 
3563
See \`config.log' for more details." "$LINENO" 5; }; }
3252
3564
fi
3253
 
 
3254
3565
ac_exeext=$ac_cv_exeext
3255
3566
 
3256
3567
# Check that the compiler produces executables we can run.  If not, either
3257
3568
# the compiler is broken, or we cross compile.
3258
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3259
3570
$as_echo_n "checking whether the C compiler works... " >&6; }
3260
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3261
3571
# If not cross compiling, check that we can run a simple program.
3262
3572
if test "$cross_compiling" != yes; then
3263
3573
  if { ac_try='./$ac_file'
3264
 
  { (case "(($ac_try" in
 
3574
  { { case "(($ac_try" in
3265
3575
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266
3576
  *) ac_try_echo=$ac_try;;
3267
3577
esac
3268
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3269
 
$as_echo "$ac_try_echo") >&5
 
3578
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3579
$as_echo "$ac_try_echo"; } >&5
3270
3580
  (eval "$ac_try") 2>&5
3271
3581
  ac_status=$?
3272
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273
 
  (exit $ac_status); }; }; then
 
3582
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3583
  test $ac_status = 0; }; }; then
3274
3584
    cross_compiling=no
3275
3585
  else
3276
3586
    if test "$cross_compiling" = maybe; then
3277
3587
        cross_compiling=yes
3278
3588
    else
3279
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3589
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3280
3590
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3281
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3282
 
If you meant to cross compile, use \`--host'.
3283
 
See \`config.log' for more details." >&5
3284
 
$as_echo "$as_me: error: cannot run C compiled programs.
3285
 
If you meant to cross compile, use \`--host'.
3286
 
See \`config.log' for more details." >&2;}
3287
 
   { (exit 1); exit 1; }; }; }
 
3591
as_fn_error "cannot run C compiled programs.
 
3592
If you meant to cross compile, use \`--host'.
 
3593
See \`config.log' for more details." "$LINENO" 5; }
3288
3594
    fi
3289
3595
  fi
3290
3596
fi
3291
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3292
3598
$as_echo "yes" >&6; }
3293
3599
 
3294
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3600
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3295
3601
ac_clean_files=$ac_clean_files_save
3296
3602
# Check that the compiler produces executables we can run.  If not, either
3297
3603
# the compiler is broken, or we cross compile.
3298
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3299
3605
$as_echo_n "checking whether we are cross compiling... " >&6; }
3300
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3301
3607
$as_echo "$cross_compiling" >&6; }
3302
3608
 
3303
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3304
3610
$as_echo_n "checking for suffix of executables... " >&6; }
3305
 
if { (ac_try="$ac_link"
 
3611
if { { ac_try="$ac_link"
3306
3612
case "(($ac_try" in
3307
3613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308
3614
  *) ac_try_echo=$ac_try;;
3309
3615
esac
3310
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3311
 
$as_echo "$ac_try_echo") >&5
 
3616
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3617
$as_echo "$ac_try_echo"; } >&5
3312
3618
  (eval "$ac_link") 2>&5
3313
3619
  ac_status=$?
3314
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315
 
  (exit $ac_status); }; then
 
3620
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3621
  test $ac_status = 0; }; then :
3316
3622
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3317
3623
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3318
3624
# work properly (i.e., refer to `conftest.exe'), while it won't with
3327
3633
  esac
3328
3634
done
3329
3635
else
3330
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3636
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3331
3637
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3332
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3333
 
See \`config.log' for more details." >&5
3334
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3335
 
See \`config.log' for more details." >&2;}
3336
 
   { (exit 1); exit 1; }; }; }
 
3638
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3639
See \`config.log' for more details." "$LINENO" 5; }
3337
3640
fi
3338
 
 
3339
3641
rm -f conftest$ac_cv_exeext
3340
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3341
3643
$as_echo "$ac_cv_exeext" >&6; }
3342
3644
 
3343
3645
rm -f conftest.$ac_ext
3344
3646
EXEEXT=$ac_cv_exeext
3345
3647
ac_exeext=$EXEEXT
3346
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3347
3649
$as_echo_n "checking for suffix of object files... " >&6; }
3348
 
if test "${ac_cv_objext+set}" = set; then
 
3650
if test "${ac_cv_objext+set}" = set; then :
3349
3651
  $as_echo_n "(cached) " >&6
3350
3652
else
3351
 
  cat >conftest.$ac_ext <<_ACEOF
3352
 
/* confdefs.h.  */
3353
 
_ACEOF
3354
 
cat confdefs.h >>conftest.$ac_ext
3355
 
cat >>conftest.$ac_ext <<_ACEOF
 
3653
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356
3654
/* end confdefs.h.  */
3357
3655
 
3358
3656
int
3364
3662
}
3365
3663
_ACEOF
3366
3664
rm -f conftest.o conftest.obj
3367
 
if { (ac_try="$ac_compile"
 
3665
if { { ac_try="$ac_compile"
3368
3666
case "(($ac_try" in
3369
3667
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3370
3668
  *) ac_try_echo=$ac_try;;
3371
3669
esac
3372
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3373
 
$as_echo "$ac_try_echo") >&5
 
3670
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3671
$as_echo "$ac_try_echo"; } >&5
3374
3672
  (eval "$ac_compile") 2>&5
3375
3673
  ac_status=$?
3376
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377
 
  (exit $ac_status); }; then
 
3674
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3675
  test $ac_status = 0; }; then :
3378
3676
  for ac_file in conftest.o conftest.obj conftest.*; do
3379
3677
  test -f "$ac_file" || continue;
3380
3678
  case $ac_file in
3387
3685
  $as_echo "$as_me: failed program was:" >&5
3388
3686
sed 's/^/| /' conftest.$ac_ext >&5
3389
3687
 
3390
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3688
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3391
3689
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3392
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3393
 
See \`config.log' for more details." >&5
3394
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3395
 
See \`config.log' for more details." >&2;}
3396
 
   { (exit 1); exit 1; }; }; }
 
3690
as_fn_error "cannot compute suffix of object files: cannot compile
 
3691
See \`config.log' for more details." "$LINENO" 5; }
3397
3692
fi
3398
 
 
3399
3693
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3400
3694
fi
3401
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3402
3696
$as_echo "$ac_cv_objext" >&6; }
3403
3697
OBJEXT=$ac_cv_objext
3404
3698
ac_objext=$OBJEXT
3405
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3406
3700
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3407
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3701
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3408
3702
  $as_echo_n "(cached) " >&6
3409
3703
else
3410
 
  cat >conftest.$ac_ext <<_ACEOF
3411
 
/* confdefs.h.  */
3412
 
_ACEOF
3413
 
cat confdefs.h >>conftest.$ac_ext
3414
 
cat >>conftest.$ac_ext <<_ACEOF
 
3704
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415
3705
/* end confdefs.h.  */
3416
3706
 
3417
3707
int
3425
3715
  return 0;
3426
3716
}
3427
3717
_ACEOF
3428
 
rm -f conftest.$ac_objext
3429
 
if { (ac_try="$ac_compile"
3430
 
case "(($ac_try" in
3431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432
 
  *) ac_try_echo=$ac_try;;
3433
 
esac
3434
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3435
 
$as_echo "$ac_try_echo") >&5
3436
 
  (eval "$ac_compile") 2>conftest.er1
3437
 
  ac_status=$?
3438
 
  grep -v '^ *+' conftest.er1 >conftest.err
3439
 
  rm -f conftest.er1
3440
 
  cat conftest.err >&5
3441
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442
 
  (exit $ac_status); } && {
3443
 
         test -z "$ac_c_werror_flag" ||
3444
 
         test ! -s conftest.err
3445
 
       } && test -s conftest.$ac_objext; then
 
3718
if ac_fn_c_try_compile "$LINENO"; then :
3446
3719
  ac_compiler_gnu=yes
3447
3720
else
3448
 
  $as_echo "$as_me: failed program was:" >&5
3449
 
sed 's/^/| /' conftest.$ac_ext >&5
3450
 
 
3451
 
        ac_compiler_gnu=no
 
3721
  ac_compiler_gnu=no
3452
3722
fi
3453
 
 
3454
3723
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455
3724
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3456
3725
 
3457
3726
fi
3458
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3459
3728
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3460
3729
if test $ac_compiler_gnu = yes; then
3461
3730
  GCC=yes
3464
3733
fi
3465
3734
ac_test_CFLAGS=${CFLAGS+set}
3466
3735
ac_save_CFLAGS=$CFLAGS
3467
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3468
3737
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3469
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3738
if test "${ac_cv_prog_cc_g+set}" = set; then :
3470
3739
  $as_echo_n "(cached) " >&6
3471
3740
else
3472
3741
  ac_save_c_werror_flag=$ac_c_werror_flag
3473
3742
   ac_c_werror_flag=yes
3474
3743
   ac_cv_prog_cc_g=no
3475
3744
   CFLAGS="-g"
3476
 
   cat >conftest.$ac_ext <<_ACEOF
3477
 
/* confdefs.h.  */
3478
 
_ACEOF
3479
 
cat confdefs.h >>conftest.$ac_ext
3480
 
cat >>conftest.$ac_ext <<_ACEOF
 
3745
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481
3746
/* end confdefs.h.  */
3482
3747
 
3483
3748
int
3488
3753
  return 0;
3489
3754
}
3490
3755
_ACEOF
3491
 
rm -f conftest.$ac_objext
3492
 
if { (ac_try="$ac_compile"
3493
 
case "(($ac_try" in
3494
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495
 
  *) ac_try_echo=$ac_try;;
3496
 
esac
3497
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3498
 
$as_echo "$ac_try_echo") >&5
3499
 
  (eval "$ac_compile") 2>conftest.er1
3500
 
  ac_status=$?
3501
 
  grep -v '^ *+' conftest.er1 >conftest.err
3502
 
  rm -f conftest.er1
3503
 
  cat conftest.err >&5
3504
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505
 
  (exit $ac_status); } && {
3506
 
         test -z "$ac_c_werror_flag" ||
3507
 
         test ! -s conftest.err
3508
 
       } && test -s conftest.$ac_objext; then
 
3756
if ac_fn_c_try_compile "$LINENO"; then :
3509
3757
  ac_cv_prog_cc_g=yes
3510
3758
else
3511
 
  $as_echo "$as_me: failed program was:" >&5
3512
 
sed 's/^/| /' conftest.$ac_ext >&5
3513
 
 
3514
 
        CFLAGS=""
3515
 
      cat >conftest.$ac_ext <<_ACEOF
3516
 
/* confdefs.h.  */
3517
 
_ACEOF
3518
 
cat confdefs.h >>conftest.$ac_ext
3519
 
cat >>conftest.$ac_ext <<_ACEOF
 
3759
  CFLAGS=""
 
3760
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520
3761
/* end confdefs.h.  */
3521
3762
 
3522
3763
int
3527
3768
  return 0;
3528
3769
}
3529
3770
_ACEOF
3530
 
rm -f conftest.$ac_objext
3531
 
if { (ac_try="$ac_compile"
3532
 
case "(($ac_try" in
3533
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534
 
  *) ac_try_echo=$ac_try;;
3535
 
esac
3536
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3537
 
$as_echo "$ac_try_echo") >&5
3538
 
  (eval "$ac_compile") 2>conftest.er1
3539
 
  ac_status=$?
3540
 
  grep -v '^ *+' conftest.er1 >conftest.err
3541
 
  rm -f conftest.er1
3542
 
  cat conftest.err >&5
3543
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544
 
  (exit $ac_status); } && {
3545
 
         test -z "$ac_c_werror_flag" ||
3546
 
         test ! -s conftest.err
3547
 
       } && test -s conftest.$ac_objext; then
3548
 
  :
 
3771
if ac_fn_c_try_compile "$LINENO"; then :
 
3772
 
3549
3773
else
3550
 
  $as_echo "$as_me: failed program was:" >&5
3551
 
sed 's/^/| /' conftest.$ac_ext >&5
3552
 
 
3553
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3774
  ac_c_werror_flag=$ac_save_c_werror_flag
3554
3775
         CFLAGS="-g"
3555
 
         cat >conftest.$ac_ext <<_ACEOF
3556
 
/* confdefs.h.  */
3557
 
_ACEOF
3558
 
cat confdefs.h >>conftest.$ac_ext
3559
 
cat >>conftest.$ac_ext <<_ACEOF
 
3776
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560
3777
/* end confdefs.h.  */
3561
3778
 
3562
3779
int
3567
3784
  return 0;
3568
3785
}
3569
3786
_ACEOF
3570
 
rm -f conftest.$ac_objext
3571
 
if { (ac_try="$ac_compile"
3572
 
case "(($ac_try" in
3573
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574
 
  *) ac_try_echo=$ac_try;;
3575
 
esac
3576
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3577
 
$as_echo "$ac_try_echo") >&5
3578
 
  (eval "$ac_compile") 2>conftest.er1
3579
 
  ac_status=$?
3580
 
  grep -v '^ *+' conftest.er1 >conftest.err
3581
 
  rm -f conftest.er1
3582
 
  cat conftest.err >&5
3583
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584
 
  (exit $ac_status); } && {
3585
 
         test -z "$ac_c_werror_flag" ||
3586
 
         test ! -s conftest.err
3587
 
       } && test -s conftest.$ac_objext; then
 
3787
if ac_fn_c_try_compile "$LINENO"; then :
3588
3788
  ac_cv_prog_cc_g=yes
3589
 
else
3590
 
  $as_echo "$as_me: failed program was:" >&5
3591
 
sed 's/^/| /' conftest.$ac_ext >&5
3592
 
 
3593
 
 
3594
 
fi
3595
 
 
3596
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3597
 
fi
3598
 
 
3599
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600
 
fi
3601
 
 
 
3789
fi
 
3790
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3791
fi
 
3792
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3793
fi
3602
3794
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603
3795
   ac_c_werror_flag=$ac_save_c_werror_flag
3604
3796
fi
3605
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3606
3798
$as_echo "$ac_cv_prog_cc_g" >&6; }
3607
3799
if test "$ac_test_CFLAGS" = set; then
3608
3800
  CFLAGS=$ac_save_CFLAGS
3619
3811
    CFLAGS=
3620
3812
  fi
3621
3813
fi
3622
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3623
3815
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3624
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3816
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3625
3817
  $as_echo_n "(cached) " >&6
3626
3818
else
3627
3819
  ac_cv_prog_cc_c89=no
3628
3820
ac_save_CC=$CC
3629
 
cat >conftest.$ac_ext <<_ACEOF
3630
 
/* confdefs.h.  */
3631
 
_ACEOF
3632
 
cat confdefs.h >>conftest.$ac_ext
3633
 
cat >>conftest.$ac_ext <<_ACEOF
 
3821
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634
3822
/* end confdefs.h.  */
3635
3823
#include <stdarg.h>
3636
3824
#include <stdio.h>
3687
3875
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3688
3876
do
3689
3877
  CC="$ac_save_CC $ac_arg"
3690
 
  rm -f conftest.$ac_objext
3691
 
if { (ac_try="$ac_compile"
3692
 
case "(($ac_try" in
3693
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694
 
  *) ac_try_echo=$ac_try;;
3695
 
esac
3696
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3697
 
$as_echo "$ac_try_echo") >&5
3698
 
  (eval "$ac_compile") 2>conftest.er1
3699
 
  ac_status=$?
3700
 
  grep -v '^ *+' conftest.er1 >conftest.err
3701
 
  rm -f conftest.er1
3702
 
  cat conftest.err >&5
3703
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704
 
  (exit $ac_status); } && {
3705
 
         test -z "$ac_c_werror_flag" ||
3706
 
         test ! -s conftest.err
3707
 
       } && test -s conftest.$ac_objext; then
 
3878
  if ac_fn_c_try_compile "$LINENO"; then :
3708
3879
  ac_cv_prog_cc_c89=$ac_arg
3709
 
else
3710
 
  $as_echo "$as_me: failed program was:" >&5
3711
 
sed 's/^/| /' conftest.$ac_ext >&5
3712
 
 
3713
 
 
3714
3880
fi
3715
 
 
3716
3881
rm -f core conftest.err conftest.$ac_objext
3717
3882
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3718
3883
done
3723
3888
# AC_CACHE_VAL
3724
3889
case "x$ac_cv_prog_cc_c89" in
3725
3890
  x)
3726
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3891
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3727
3892
$as_echo "none needed" >&6; } ;;
3728
3893
  xno)
3729
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3894
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3730
3895
$as_echo "unsupported" >&6; } ;;
3731
3896
  *)
3732
3897
    CC="$CC $ac_cv_prog_cc_c89"
3733
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3898
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3734
3899
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3735
3900
esac
 
3901
if test "x$ac_cv_prog_cc_c89" != xno; then :
3736
3902
 
 
3903
fi
3737
3904
 
3738
3905
ac_ext=c
3739
3906
ac_cpp='$CPP $CPPFLAGS'
3743
3910
 
3744
3911
depcc="$CC"   am_compiler_list=
3745
3912
 
3746
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3747
3914
$as_echo_n "checking dependency style of $depcc... " >&6; }
3748
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3915
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3749
3916
  $as_echo_n "(cached) " >&6
3750
3917
else
3751
3918
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3771
3938
  if test "$am_compiler_list" = ""; then
3772
3939
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3773
3940
  fi
 
3941
  am__universal=false
 
3942
  case " $depcc " in #(
 
3943
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3944
     esac
 
3945
 
3774
3946
  for depmode in $am_compiler_list; do
3775
3947
    # Setup a source with many dependencies, because some compilers
3776
3948
    # like to wrap large dependency lists on column 80 (with \), and
3788
3960
    done
3789
3961
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3790
3962
 
 
3963
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3964
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3965
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3966
    # versions had trouble with output in subdirs
 
3967
    am__obj=sub/conftest.${OBJEXT-o}
 
3968
    am__minus_obj="-o $am__obj"
3791
3969
    case $depmode in
 
3970
    gcc)
 
3971
      # This depmode causes a compiler race in universal mode.
 
3972
      test "$am__universal" = false || continue
 
3973
      ;;
3792
3974
    nosideeffect)
3793
3975
      # after this tag, mechanisms are not by side-effect, so they'll
3794
3976
      # only be used when explicitly requested
3798
3980
        break
3799
3981
      fi
3800
3982
      ;;
 
3983
    msvisualcpp | msvcmsys)
 
3984
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3985
      # not run yet.  These depmodes are late enough in the game, and
 
3986
      # so weak that their functioning should not be impacted.
 
3987
      am__obj=conftest.${OBJEXT-o}
 
3988
      am__minus_obj=
 
3989
      ;;
3801
3990
    none) break ;;
3802
3991
    esac
3803
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3804
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3805
 
    # handle `-M -o', and we need to detect this.
3806
3992
    if depmode=$depmode \
3807
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3993
       source=sub/conftest.c object=$am__obj \
3808
3994
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3809
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3995
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3810
3996
         >/dev/null 2>conftest.err &&
3811
3997
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3812
3998
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3813
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3999
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3814
4000
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3815
4001
      # icc doesn't choke on unknown options, it will just issue warnings
3816
4002
      # or remarks (even with -Werror).  So we grep stderr for any message
3834
4020
fi
3835
4021
 
3836
4022
fi
3837
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3838
4024
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3839
4025
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3840
4026
 
3855
4041
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3856
4042
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3857
4043
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3858
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3859
4045
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3860
4046
# On Suns, sometimes $CPP names a directory.
3861
4047
if test -n "$CPP" && test -d "$CPP"; then
3862
4048
  CPP=
3863
4049
fi
3864
4050
if test -z "$CPP"; then
3865
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
4051
  if test "${ac_cv_prog_CPP+set}" = set; then :
3866
4052
  $as_echo_n "(cached) " >&6
3867
4053
else
3868
4054
      # Double quotes because CPP needs to be expanded
3877
4063
  # <limits.h> exists even on freestanding compilers.
3878
4064
  # On the NeXT, cc -E runs the code through the compiler's parser,
3879
4065
  # not just through cpp. "Syntax error" is here to catch this case.
3880
 
  cat >conftest.$ac_ext <<_ACEOF
3881
 
/* confdefs.h.  */
3882
 
_ACEOF
3883
 
cat confdefs.h >>conftest.$ac_ext
3884
 
cat >>conftest.$ac_ext <<_ACEOF
 
4066
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885
4067
/* end confdefs.h.  */
3886
4068
#ifdef __STDC__
3887
4069
# include <limits.h>
3890
4072
#endif
3891
4073
                     Syntax error
3892
4074
_ACEOF
3893
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3894
 
case "(($ac_try" in
3895
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3896
 
  *) ac_try_echo=$ac_try;;
3897
 
esac
3898
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3899
 
$as_echo "$ac_try_echo") >&5
3900
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3901
 
  ac_status=$?
3902
 
  grep -v '^ *+' conftest.er1 >conftest.err
3903
 
  rm -f conftest.er1
3904
 
  cat conftest.err >&5
3905
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906
 
  (exit $ac_status); } >/dev/null && {
3907
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3908
 
         test ! -s conftest.err
3909
 
       }; then
3910
 
  :
 
4075
if ac_fn_c_try_cpp "$LINENO"; then :
 
4076
 
3911
4077
else
3912
 
  $as_echo "$as_me: failed program was:" >&5
3913
 
sed 's/^/| /' conftest.$ac_ext >&5
3914
 
 
3915
4078
  # Broken: fails on valid input.
3916
4079
continue
3917
4080
fi
3918
 
 
3919
4081
rm -f conftest.err conftest.$ac_ext
3920
4082
 
3921
4083
  # OK, works on sane cases.  Now check whether nonexistent headers
3922
4084
  # can be detected and how.
3923
 
  cat >conftest.$ac_ext <<_ACEOF
3924
 
/* confdefs.h.  */
3925
 
_ACEOF
3926
 
cat confdefs.h >>conftest.$ac_ext
3927
 
cat >>conftest.$ac_ext <<_ACEOF
 
4085
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928
4086
/* end confdefs.h.  */
3929
4087
#include <ac_nonexistent.h>
3930
4088
_ACEOF
3931
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3932
 
case "(($ac_try" in
3933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934
 
  *) ac_try_echo=$ac_try;;
3935
 
esac
3936
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3937
 
$as_echo "$ac_try_echo") >&5
3938
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3939
 
  ac_status=$?
3940
 
  grep -v '^ *+' conftest.er1 >conftest.err
3941
 
  rm -f conftest.er1
3942
 
  cat conftest.err >&5
3943
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944
 
  (exit $ac_status); } >/dev/null && {
3945
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3946
 
         test ! -s conftest.err
3947
 
       }; then
 
4089
if ac_fn_c_try_cpp "$LINENO"; then :
3948
4090
  # Broken: success on invalid input.
3949
4091
continue
3950
4092
else
3951
 
  $as_echo "$as_me: failed program was:" >&5
3952
 
sed 's/^/| /' conftest.$ac_ext >&5
3953
 
 
3954
4093
  # Passes both tests.
3955
4094
ac_preproc_ok=:
3956
4095
break
3957
4096
fi
3958
 
 
3959
4097
rm -f conftest.err conftest.$ac_ext
3960
4098
 
3961
4099
done
3962
4100
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3963
4101
rm -f conftest.err conftest.$ac_ext
3964
 
if $ac_preproc_ok; then
 
4102
if $ac_preproc_ok; then :
3965
4103
  break
3966
4104
fi
3967
4105
 
3973
4111
else
3974
4112
  ac_cv_prog_CPP=$CPP
3975
4113
fi
3976
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3977
4115
$as_echo "$CPP" >&6; }
3978
4116
ac_preproc_ok=false
3979
4117
for ac_c_preproc_warn_flag in '' yes
3984
4122
  # <limits.h> exists even on freestanding compilers.
3985
4123
  # On the NeXT, cc -E runs the code through the compiler's parser,
3986
4124
  # not just through cpp. "Syntax error" is here to catch this case.
3987
 
  cat >conftest.$ac_ext <<_ACEOF
3988
 
/* confdefs.h.  */
3989
 
_ACEOF
3990
 
cat confdefs.h >>conftest.$ac_ext
3991
 
cat >>conftest.$ac_ext <<_ACEOF
 
4125
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992
4126
/* end confdefs.h.  */
3993
4127
#ifdef __STDC__
3994
4128
# include <limits.h>
3997
4131
#endif
3998
4132
                     Syntax error
3999
4133
_ACEOF
4000
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4001
 
case "(($ac_try" in
4002
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003
 
  *) ac_try_echo=$ac_try;;
4004
 
esac
4005
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4006
 
$as_echo "$ac_try_echo") >&5
4007
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4008
 
  ac_status=$?
4009
 
  grep -v '^ *+' conftest.er1 >conftest.err
4010
 
  rm -f conftest.er1
4011
 
  cat conftest.err >&5
4012
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013
 
  (exit $ac_status); } >/dev/null && {
4014
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4015
 
         test ! -s conftest.err
4016
 
       }; then
4017
 
  :
 
4134
if ac_fn_c_try_cpp "$LINENO"; then :
 
4135
 
4018
4136
else
4019
 
  $as_echo "$as_me: failed program was:" >&5
4020
 
sed 's/^/| /' conftest.$ac_ext >&5
4021
 
 
4022
4137
  # Broken: fails on valid input.
4023
4138
continue
4024
4139
fi
4025
 
 
4026
4140
rm -f conftest.err conftest.$ac_ext
4027
4141
 
4028
4142
  # OK, works on sane cases.  Now check whether nonexistent headers
4029
4143
  # can be detected and how.
4030
 
  cat >conftest.$ac_ext <<_ACEOF
4031
 
/* confdefs.h.  */
4032
 
_ACEOF
4033
 
cat confdefs.h >>conftest.$ac_ext
4034
 
cat >>conftest.$ac_ext <<_ACEOF
 
4144
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035
4145
/* end confdefs.h.  */
4036
4146
#include <ac_nonexistent.h>
4037
4147
_ACEOF
4038
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4039
 
case "(($ac_try" in
4040
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041
 
  *) ac_try_echo=$ac_try;;
4042
 
esac
4043
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4044
 
$as_echo "$ac_try_echo") >&5
4045
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4046
 
  ac_status=$?
4047
 
  grep -v '^ *+' conftest.er1 >conftest.err
4048
 
  rm -f conftest.er1
4049
 
  cat conftest.err >&5
4050
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051
 
  (exit $ac_status); } >/dev/null && {
4052
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4053
 
         test ! -s conftest.err
4054
 
       }; then
 
4148
if ac_fn_c_try_cpp "$LINENO"; then :
4055
4149
  # Broken: success on invalid input.
4056
4150
continue
4057
4151
else
4058
 
  $as_echo "$as_me: failed program was:" >&5
4059
 
sed 's/^/| /' conftest.$ac_ext >&5
4060
 
 
4061
4152
  # Passes both tests.
4062
4153
ac_preproc_ok=:
4063
4154
break
4064
4155
fi
4065
 
 
4066
4156
rm -f conftest.err conftest.$ac_ext
4067
4157
 
4068
4158
done
4069
4159
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4070
4160
rm -f conftest.err conftest.$ac_ext
4071
 
if $ac_preproc_ok; then
4072
 
  :
 
4161
if $ac_preproc_ok; then :
 
4162
 
4073
4163
else
4074
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4164
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075
4165
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4077
 
See \`config.log' for more details." >&5
4078
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4079
 
See \`config.log' for more details." >&2;}
4080
 
   { (exit 1); exit 1; }; }; }
 
4166
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
4167
See \`config.log' for more details." "$LINENO" 5; }
4081
4168
fi
4082
4169
 
4083
4170
ac_ext=c
4087
4174
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4088
4175
 
4089
4176
 
4090
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4091
4178
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4092
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4179
if test "${ac_cv_path_GREP+set}" = set; then :
4093
4180
  $as_echo_n "(cached) " >&6
4094
4181
else
4095
4182
  if test -z "$GREP"; then
4100
4187
do
4101
4188
  IFS=$as_save_IFS
4102
4189
  test -z "$as_dir" && as_dir=.
4103
 
  for ac_prog in grep ggrep; do
 
4190
    for ac_prog in grep ggrep; do
4104
4191
    for ac_exec_ext in '' $ac_executable_extensions; do
4105
4192
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4106
4193
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4120
4207
    $as_echo 'GREP' >> "conftest.nl"
4121
4208
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4122
4209
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4123
 
    ac_count=`expr $ac_count + 1`
 
4210
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4124
4211
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4125
4212
      # Best one so far, save it but keep looking for a better one
4126
4213
      ac_cv_path_GREP="$ac_path_GREP"
4135
4222
      $ac_path_GREP_found && break 3
4136
4223
    done
4137
4224
  done
4138
 
done
 
4225
  done
4139
4226
IFS=$as_save_IFS
4140
4227
  if test -z "$ac_cv_path_GREP"; then
4141
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4142
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4143
 
   { (exit 1); exit 1; }; }
 
4228
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4144
4229
  fi
4145
4230
else
4146
4231
  ac_cv_path_GREP=$GREP
4147
4232
fi
4148
4233
 
4149
4234
fi
4150
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4151
4236
$as_echo "$ac_cv_path_GREP" >&6; }
4152
4237
 GREP="$ac_cv_path_GREP"
4153
4238
 
4154
4239
 
4155
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4156
4241
$as_echo_n "checking for egrep... " >&6; }
4157
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4242
if test "${ac_cv_path_EGREP+set}" = set; then :
4158
4243
  $as_echo_n "(cached) " >&6
4159
4244
else
4160
4245
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4168
4253
do
4169
4254
  IFS=$as_save_IFS
4170
4255
  test -z "$as_dir" && as_dir=.
4171
 
  for ac_prog in egrep; do
 
4256
    for ac_prog in egrep; do
4172
4257
    for ac_exec_ext in '' $ac_executable_extensions; do
4173
4258
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4174
4259
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4188
4273
    $as_echo 'EGREP' >> "conftest.nl"
4189
4274
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4190
4275
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4191
 
    ac_count=`expr $ac_count + 1`
 
4276
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4192
4277
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4193
4278
      # Best one so far, save it but keep looking for a better one
4194
4279
      ac_cv_path_EGREP="$ac_path_EGREP"
4203
4288
      $ac_path_EGREP_found && break 3
4204
4289
    done
4205
4290
  done
4206
 
done
 
4291
  done
4207
4292
IFS=$as_save_IFS
4208
4293
  if test -z "$ac_cv_path_EGREP"; then
4209
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4210
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4211
 
   { (exit 1); exit 1; }; }
 
4294
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4212
4295
  fi
4213
4296
else
4214
4297
  ac_cv_path_EGREP=$EGREP
4216
4299
 
4217
4300
   fi
4218
4301
fi
4219
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4220
4303
$as_echo "$ac_cv_path_EGREP" >&6; }
4221
4304
 EGREP="$ac_cv_path_EGREP"
4222
4305
 
4223
4306
 
4224
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4225
4308
$as_echo_n "checking for ANSI C header files... " >&6; }
4226
 
if test "${ac_cv_header_stdc+set}" = set; then
 
4309
if test "${ac_cv_header_stdc+set}" = set; then :
4227
4310
  $as_echo_n "(cached) " >&6
4228
4311
else
4229
 
  cat >conftest.$ac_ext <<_ACEOF
4230
 
/* confdefs.h.  */
4231
 
_ACEOF
4232
 
cat confdefs.h >>conftest.$ac_ext
4233
 
cat >>conftest.$ac_ext <<_ACEOF
 
4312
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234
4313
/* end confdefs.h.  */
4235
4314
#include <stdlib.h>
4236
4315
#include <stdarg.h>
4245
4324
  return 0;
4246
4325
}
4247
4326
_ACEOF
4248
 
rm -f conftest.$ac_objext
4249
 
if { (ac_try="$ac_compile"
4250
 
case "(($ac_try" in
4251
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252
 
  *) ac_try_echo=$ac_try;;
4253
 
esac
4254
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4255
 
$as_echo "$ac_try_echo") >&5
4256
 
  (eval "$ac_compile") 2>conftest.er1
4257
 
  ac_status=$?
4258
 
  grep -v '^ *+' conftest.er1 >conftest.err
4259
 
  rm -f conftest.er1
4260
 
  cat conftest.err >&5
4261
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262
 
  (exit $ac_status); } && {
4263
 
         test -z "$ac_c_werror_flag" ||
4264
 
         test ! -s conftest.err
4265
 
       } && test -s conftest.$ac_objext; then
 
4327
if ac_fn_c_try_compile "$LINENO"; then :
4266
4328
  ac_cv_header_stdc=yes
4267
4329
else
4268
 
  $as_echo "$as_me: failed program was:" >&5
4269
 
sed 's/^/| /' conftest.$ac_ext >&5
4270
 
 
4271
 
        ac_cv_header_stdc=no
 
4330
  ac_cv_header_stdc=no
4272
4331
fi
4273
 
 
4274
4332
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4275
4333
 
4276
4334
if test $ac_cv_header_stdc = yes; then
4277
4335
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4278
 
  cat >conftest.$ac_ext <<_ACEOF
4279
 
/* confdefs.h.  */
4280
 
_ACEOF
4281
 
cat confdefs.h >>conftest.$ac_ext
4282
 
cat >>conftest.$ac_ext <<_ACEOF
 
4336
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283
4337
/* end confdefs.h.  */
4284
4338
#include <string.h>
4285
4339
 
4286
4340
_ACEOF
4287
4341
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4288
 
  $EGREP "memchr" >/dev/null 2>&1; then
4289
 
  :
 
4342
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4343
 
4290
4344
else
4291
4345
  ac_cv_header_stdc=no
4292
4346
fi
4296
4350
 
4297
4351
if test $ac_cv_header_stdc = yes; then
4298
4352
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4299
 
  cat >conftest.$ac_ext <<_ACEOF
4300
 
/* confdefs.h.  */
4301
 
_ACEOF
4302
 
cat confdefs.h >>conftest.$ac_ext
4303
 
cat >>conftest.$ac_ext <<_ACEOF
 
4353
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304
4354
/* end confdefs.h.  */
4305
4355
#include <stdlib.h>
4306
4356
 
4307
4357
_ACEOF
4308
4358
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4309
 
  $EGREP "free" >/dev/null 2>&1; then
4310
 
  :
 
4359
  $EGREP "free" >/dev/null 2>&1; then :
 
4360
 
4311
4361
else
4312
4362
  ac_cv_header_stdc=no
4313
4363
fi
4317
4367
 
4318
4368
if test $ac_cv_header_stdc = yes; then
4319
4369
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4320
 
  if test "$cross_compiling" = yes; then
 
4370
  if test "$cross_compiling" = yes; then :
4321
4371
  :
4322
4372
else
4323
 
  cat >conftest.$ac_ext <<_ACEOF
4324
 
/* confdefs.h.  */
4325
 
_ACEOF
4326
 
cat confdefs.h >>conftest.$ac_ext
4327
 
cat >>conftest.$ac_ext <<_ACEOF
 
4373
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328
4374
/* end confdefs.h.  */
4329
4375
#include <ctype.h>
4330
4376
#include <stdlib.h>
4351
4397
  return 0;
4352
4398
}
4353
4399
_ACEOF
4354
 
rm -f conftest$ac_exeext
4355
 
if { (ac_try="$ac_link"
4356
 
case "(($ac_try" in
4357
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4358
 
  *) ac_try_echo=$ac_try;;
4359
 
esac
4360
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4361
 
$as_echo "$ac_try_echo") >&5
4362
 
  (eval "$ac_link") 2>&5
4363
 
  ac_status=$?
4364
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4366
 
  { (case "(($ac_try" in
4367
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4368
 
  *) ac_try_echo=$ac_try;;
4369
 
esac
4370
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4371
 
$as_echo "$ac_try_echo") >&5
4372
 
  (eval "$ac_try") 2>&5
4373
 
  ac_status=$?
4374
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375
 
  (exit $ac_status); }; }; then
4376
 
  :
 
4400
if ac_fn_c_try_run "$LINENO"; then :
 
4401
 
4377
4402
else
4378
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4379
 
$as_echo "$as_me: failed program was:" >&5
4380
 
sed 's/^/| /' conftest.$ac_ext >&5
4381
 
 
4382
 
( exit $ac_status )
4383
 
ac_cv_header_stdc=no
4384
 
fi
4385
 
rm -rf conftest.dSYM
4386
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4387
 
fi
4388
 
 
4389
 
 
4390
 
fi
4391
 
fi
4392
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4403
  ac_cv_header_stdc=no
 
4404
fi
 
4405
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4406
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4407
fi
 
4408
 
 
4409
fi
 
4410
fi
 
4411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4393
4412
$as_echo "$ac_cv_header_stdc" >&6; }
4394
4413
if test $ac_cv_header_stdc = yes; then
4395
4414
 
4396
 
cat >>confdefs.h <<\_ACEOF
4397
 
#define STDC_HEADERS 1
4398
 
_ACEOF
 
4415
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4399
4416
 
4400
4417
fi
4401
4418
 
4402
4419
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4403
 
 
4404
 
 
4405
 
 
4406
 
 
4407
 
 
4408
 
 
4409
 
 
4410
 
 
4411
 
 
4412
4420
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4413
4421
                  inttypes.h stdint.h unistd.h
4414
 
do
4415
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4416
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4417
 
$as_echo_n "checking for $ac_header... " >&6; }
4418
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4419
 
  $as_echo_n "(cached) " >&6
4420
 
else
4421
 
  cat >conftest.$ac_ext <<_ACEOF
4422
 
/* confdefs.h.  */
4423
 
_ACEOF
4424
 
cat confdefs.h >>conftest.$ac_ext
4425
 
cat >>conftest.$ac_ext <<_ACEOF
4426
 
/* end confdefs.h.  */
4427
 
$ac_includes_default
4428
 
 
4429
 
#include <$ac_header>
4430
 
_ACEOF
4431
 
rm -f conftest.$ac_objext
4432
 
if { (ac_try="$ac_compile"
4433
 
case "(($ac_try" in
4434
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4435
 
  *) ac_try_echo=$ac_try;;
4436
 
esac
4437
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4438
 
$as_echo "$ac_try_echo") >&5
4439
 
  (eval "$ac_compile") 2>conftest.er1
4440
 
  ac_status=$?
4441
 
  grep -v '^ *+' conftest.er1 >conftest.err
4442
 
  rm -f conftest.er1
4443
 
  cat conftest.err >&5
4444
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445
 
  (exit $ac_status); } && {
4446
 
         test -z "$ac_c_werror_flag" ||
4447
 
         test ! -s conftest.err
4448
 
       } && test -s conftest.$ac_objext; then
4449
 
  eval "$as_ac_Header=yes"
4450
 
else
4451
 
  $as_echo "$as_me: failed program was:" >&5
4452
 
sed 's/^/| /' conftest.$ac_ext >&5
4453
 
 
4454
 
        eval "$as_ac_Header=no"
4455
 
fi
4456
 
 
4457
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4458
 
fi
4459
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4460
 
                 $as_echo "$as_val"'`
4461
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4462
 
$as_echo "$ac_res" >&6; }
4463
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4464
 
                 $as_echo "$as_val"'`
4465
 
   if test "x$as_val" = x""yes; then
 
4422
do :
 
4423
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4424
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4425
"
 
4426
eval as_val=\$$as_ac_Header
 
4427
   if test "x$as_val" = x""yes; then :
4466
4428
  cat >>confdefs.h <<_ACEOF
4467
4429
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4468
4430
_ACEOF
4473
4435
 
4474
4436
 
4475
4437
 
4476
 
  if test "${ac_cv_header_minix_config_h+set}" = set; then
4477
 
  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4478
 
$as_echo_n "checking for minix/config.h... " >&6; }
4479
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
4480
 
  $as_echo_n "(cached) " >&6
4481
 
fi
4482
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4483
 
$as_echo "$ac_cv_header_minix_config_h" >&6; }
4484
 
else
4485
 
  # Is the header compilable?
4486
 
{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4487
 
$as_echo_n "checking minix/config.h usability... " >&6; }
4488
 
cat >conftest.$ac_ext <<_ACEOF
4489
 
/* confdefs.h.  */
4490
 
_ACEOF
4491
 
cat confdefs.h >>conftest.$ac_ext
4492
 
cat >>conftest.$ac_ext <<_ACEOF
4493
 
/* end confdefs.h.  */
4494
 
$ac_includes_default
4495
 
#include <minix/config.h>
4496
 
_ACEOF
4497
 
rm -f conftest.$ac_objext
4498
 
if { (ac_try="$ac_compile"
4499
 
case "(($ac_try" in
4500
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4501
 
  *) ac_try_echo=$ac_try;;
4502
 
esac
4503
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4504
 
$as_echo "$ac_try_echo") >&5
4505
 
  (eval "$ac_compile") 2>conftest.er1
4506
 
  ac_status=$?
4507
 
  grep -v '^ *+' conftest.er1 >conftest.err
4508
 
  rm -f conftest.er1
4509
 
  cat conftest.err >&5
4510
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511
 
  (exit $ac_status); } && {
4512
 
         test -z "$ac_c_werror_flag" ||
4513
 
         test ! -s conftest.err
4514
 
       } && test -s conftest.$ac_objext; then
4515
 
  ac_header_compiler=yes
4516
 
else
4517
 
  $as_echo "$as_me: failed program was:" >&5
4518
 
sed 's/^/| /' conftest.$ac_ext >&5
4519
 
 
4520
 
        ac_header_compiler=no
4521
 
fi
4522
 
 
4523
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4525
 
$as_echo "$ac_header_compiler" >&6; }
4526
 
 
4527
 
# Is the header present?
4528
 
{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4529
 
$as_echo_n "checking minix/config.h presence... " >&6; }
4530
 
cat >conftest.$ac_ext <<_ACEOF
4531
 
/* confdefs.h.  */
4532
 
_ACEOF
4533
 
cat confdefs.h >>conftest.$ac_ext
4534
 
cat >>conftest.$ac_ext <<_ACEOF
4535
 
/* end confdefs.h.  */
4536
 
#include <minix/config.h>
4537
 
_ACEOF
4538
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4539
 
case "(($ac_try" in
4540
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541
 
  *) ac_try_echo=$ac_try;;
4542
 
esac
4543
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4544
 
$as_echo "$ac_try_echo") >&5
4545
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4546
 
  ac_status=$?
4547
 
  grep -v '^ *+' conftest.er1 >conftest.err
4548
 
  rm -f conftest.er1
4549
 
  cat conftest.err >&5
4550
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551
 
  (exit $ac_status); } >/dev/null && {
4552
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4553
 
         test ! -s conftest.err
4554
 
       }; then
4555
 
  ac_header_preproc=yes
4556
 
else
4557
 
  $as_echo "$as_me: failed program was:" >&5
4558
 
sed 's/^/| /' conftest.$ac_ext >&5
4559
 
 
4560
 
  ac_header_preproc=no
4561
 
fi
4562
 
 
4563
 
rm -f conftest.err conftest.$ac_ext
4564
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4565
 
$as_echo "$ac_header_preproc" >&6; }
4566
 
 
4567
 
# So?  What about this header?
4568
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4569
 
  yes:no: )
4570
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4571
 
$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4572
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4573
 
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4574
 
    ac_header_preproc=yes
4575
 
    ;;
4576
 
  no:yes:* )
4577
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4578
 
$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4579
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
4580
 
$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
4581
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4582
 
$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4583
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
4584
 
$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4585
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4586
 
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4587
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4588
 
$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4589
 
    ( cat <<\_ASBOX
4590
 
## ---------------------------------------- ##
4591
 
## Report this to http://bugzilla.xfce.org/ ##
4592
 
## ---------------------------------------- ##
4593
 
_ASBOX
4594
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4595
 
    ;;
4596
 
esac
4597
 
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4598
 
$as_echo_n "checking for minix/config.h... " >&6; }
4599
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
4600
 
  $as_echo_n "(cached) " >&6
4601
 
else
4602
 
  ac_cv_header_minix_config_h=$ac_header_preproc
4603
 
fi
4604
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4605
 
$as_echo "$ac_cv_header_minix_config_h" >&6; }
4606
 
 
4607
 
fi
4608
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then
 
4438
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
 
4439
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4609
4440
  MINIX=yes
4610
4441
else
4611
4442
  MINIX=
4614
4445
 
4615
4446
  if test "$MINIX" = yes; then
4616
4447
 
4617
 
cat >>confdefs.h <<\_ACEOF
4618
 
#define _POSIX_SOURCE 1
4619
 
_ACEOF
4620
 
 
4621
 
 
4622
 
cat >>confdefs.h <<\_ACEOF
4623
 
#define _POSIX_1_SOURCE 2
4624
 
_ACEOF
4625
 
 
4626
 
 
4627
 
cat >>confdefs.h <<\_ACEOF
4628
 
#define _MINIX 1
4629
 
_ACEOF
 
4448
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
 
4449
 
 
4450
 
 
4451
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 
4452
 
 
4453
 
 
4454
$as_echo "#define _MINIX 1" >>confdefs.h
4630
4455
 
4631
4456
  fi
4632
4457
 
4633
4458
 
4634
 
 
4635
 
  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
 
4459
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4636
4460
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4637
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
 
4461
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4638
4462
  $as_echo_n "(cached) " >&6
4639
4463
else
4640
 
  cat >conftest.$ac_ext <<_ACEOF
4641
 
/* confdefs.h.  */
4642
 
_ACEOF
4643
 
cat confdefs.h >>conftest.$ac_ext
4644
 
cat >>conftest.$ac_ext <<_ACEOF
 
4464
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645
4465
/* end confdefs.h.  */
4646
4466
 
4647
4467
#         define __EXTENSIONS__ 1
4654
4474
  return 0;
4655
4475
}
4656
4476
_ACEOF
4657
 
rm -f conftest.$ac_objext
4658
 
if { (ac_try="$ac_compile"
4659
 
case "(($ac_try" in
4660
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661
 
  *) ac_try_echo=$ac_try;;
4662
 
esac
4663
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4664
 
$as_echo "$ac_try_echo") >&5
4665
 
  (eval "$ac_compile") 2>conftest.er1
4666
 
  ac_status=$?
4667
 
  grep -v '^ *+' conftest.er1 >conftest.err
4668
 
  rm -f conftest.er1
4669
 
  cat conftest.err >&5
4670
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671
 
  (exit $ac_status); } && {
4672
 
         test -z "$ac_c_werror_flag" ||
4673
 
         test ! -s conftest.err
4674
 
       } && test -s conftest.$ac_objext; then
 
4477
if ac_fn_c_try_compile "$LINENO"; then :
4675
4478
  ac_cv_safe_to_define___extensions__=yes
4676
4479
else
4677
 
  $as_echo "$as_me: failed program was:" >&5
4678
 
sed 's/^/| /' conftest.$ac_ext >&5
4679
 
 
4680
 
        ac_cv_safe_to_define___extensions__=no
 
4480
  ac_cv_safe_to_define___extensions__=no
4681
4481
fi
4682
 
 
4683
4482
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4684
4483
fi
4685
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
 
4484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4686
4485
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4687
4486
  test $ac_cv_safe_to_define___extensions__ = yes &&
4688
 
    cat >>confdefs.h <<\_ACEOF
4689
 
#define __EXTENSIONS__ 1
4690
 
_ACEOF
4691
 
 
4692
 
  cat >>confdefs.h <<\_ACEOF
4693
 
#define _ALL_SOURCE 1
4694
 
_ACEOF
4695
 
 
4696
 
  cat >>confdefs.h <<\_ACEOF
4697
 
#define _GNU_SOURCE 1
4698
 
_ACEOF
4699
 
 
4700
 
  cat >>confdefs.h <<\_ACEOF
4701
 
#define _POSIX_PTHREAD_SEMANTICS 1
4702
 
_ACEOF
4703
 
 
4704
 
  cat >>confdefs.h <<\_ACEOF
4705
 
#define _TANDEM_SOURCE 1
4706
 
_ACEOF
4707
 
 
4708
 
 
4709
 
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
4487
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
 
4488
 
 
4489
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
 
4490
 
 
4491
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
 
4492
 
 
4493
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
 
4494
 
 
4495
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 
4496
 
 
4497
 
 
4498
 
 
4499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4710
4500
$as_echo_n "checking for library containing strerror... " >&6; }
4711
 
if test "${ac_cv_search_strerror+set}" = set; then
 
4501
if test "${ac_cv_search_strerror+set}" = set; then :
4712
4502
  $as_echo_n "(cached) " >&6
4713
4503
else
4714
4504
  ac_func_search_save_LIBS=$LIBS
4715
 
cat >conftest.$ac_ext <<_ACEOF
4716
 
/* confdefs.h.  */
4717
 
_ACEOF
4718
 
cat confdefs.h >>conftest.$ac_ext
4719
 
cat >>conftest.$ac_ext <<_ACEOF
 
4505
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720
4506
/* end confdefs.h.  */
4721
4507
 
4722
4508
/* Override any GCC internal prototype to avoid an error.
4741
4527
    ac_res=-l$ac_lib
4742
4528
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4743
4529
  fi
4744
 
  rm -f conftest.$ac_objext conftest$ac_exeext
4745
 
if { (ac_try="$ac_link"
4746
 
case "(($ac_try" in
4747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4748
 
  *) ac_try_echo=$ac_try;;
4749
 
esac
4750
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4751
 
$as_echo "$ac_try_echo") >&5
4752
 
  (eval "$ac_link") 2>conftest.er1
4753
 
  ac_status=$?
4754
 
  grep -v '^ *+' conftest.er1 >conftest.err
4755
 
  rm -f conftest.er1
4756
 
  cat conftest.err >&5
4757
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758
 
  (exit $ac_status); } && {
4759
 
         test -z "$ac_c_werror_flag" ||
4760
 
         test ! -s conftest.err
4761
 
       } && test -s conftest$ac_exeext && {
4762
 
         test "$cross_compiling" = yes ||
4763
 
         $as_test_x conftest$ac_exeext
4764
 
       }; then
 
4530
  if ac_fn_c_try_link "$LINENO"; then :
4765
4531
  ac_cv_search_strerror=$ac_res
4766
 
else
4767
 
  $as_echo "$as_me: failed program was:" >&5
4768
 
sed 's/^/| /' conftest.$ac_ext >&5
4769
 
 
4770
 
 
4771
4532
fi
4772
 
 
4773
 
rm -rf conftest.dSYM
4774
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4775
 
      conftest$ac_exeext
4776
 
  if test "${ac_cv_search_strerror+set}" = set; then
 
4533
rm -f core conftest.err conftest.$ac_objext \
 
4534
    conftest$ac_exeext
 
4535
  if test "${ac_cv_search_strerror+set}" = set; then :
4777
4536
  break
4778
4537
fi
4779
4538
done
4780
 
if test "${ac_cv_search_strerror+set}" = set; then
4781
 
  :
 
4539
if test "${ac_cv_search_strerror+set}" = set; then :
 
4540
 
4782
4541
else
4783
4542
  ac_cv_search_strerror=no
4784
4543
fi
4785
4544
rm conftest.$ac_ext
4786
4545
LIBS=$ac_func_search_save_LIBS
4787
4546
fi
4788
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
4547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4789
4548
$as_echo "$ac_cv_search_strerror" >&6; }
4790
4549
ac_res=$ac_cv_search_strerror
4791
 
if test "$ac_res" != no; then
 
4550
if test "$ac_res" != no; then :
4792
4551
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4793
4552
 
4794
4553
fi
4795
4554
 
4796
4555
 
4797
 
  if test "${ac_cv_header_minix_config_h+set}" = set; then
4798
 
  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4799
 
$as_echo_n "checking for minix/config.h... " >&6; }
4800
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
4801
 
  $as_echo_n "(cached) " >&6
4802
 
fi
4803
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4804
 
$as_echo "$ac_cv_header_minix_config_h" >&6; }
4805
 
else
4806
 
  # Is the header compilable?
4807
 
{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4808
 
$as_echo_n "checking minix/config.h usability... " >&6; }
4809
 
cat >conftest.$ac_ext <<_ACEOF
4810
 
/* confdefs.h.  */
4811
 
_ACEOF
4812
 
cat confdefs.h >>conftest.$ac_ext
4813
 
cat >>conftest.$ac_ext <<_ACEOF
4814
 
/* end confdefs.h.  */
4815
 
$ac_includes_default
4816
 
#include <minix/config.h>
4817
 
_ACEOF
4818
 
rm -f conftest.$ac_objext
4819
 
if { (ac_try="$ac_compile"
4820
 
case "(($ac_try" in
4821
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822
 
  *) ac_try_echo=$ac_try;;
4823
 
esac
4824
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4825
 
$as_echo "$ac_try_echo") >&5
4826
 
  (eval "$ac_compile") 2>conftest.er1
4827
 
  ac_status=$?
4828
 
  grep -v '^ *+' conftest.er1 >conftest.err
4829
 
  rm -f conftest.er1
4830
 
  cat conftest.err >&5
4831
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832
 
  (exit $ac_status); } && {
4833
 
         test -z "$ac_c_werror_flag" ||
4834
 
         test ! -s conftest.err
4835
 
       } && test -s conftest.$ac_objext; then
4836
 
  ac_header_compiler=yes
4837
 
else
4838
 
  $as_echo "$as_me: failed program was:" >&5
4839
 
sed 's/^/| /' conftest.$ac_ext >&5
4840
 
 
4841
 
        ac_header_compiler=no
4842
 
fi
4843
 
 
4844
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4846
 
$as_echo "$ac_header_compiler" >&6; }
4847
 
 
4848
 
# Is the header present?
4849
 
{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4850
 
$as_echo_n "checking minix/config.h presence... " >&6; }
4851
 
cat >conftest.$ac_ext <<_ACEOF
4852
 
/* confdefs.h.  */
4853
 
_ACEOF
4854
 
cat confdefs.h >>conftest.$ac_ext
4855
 
cat >>conftest.$ac_ext <<_ACEOF
4856
 
/* end confdefs.h.  */
4857
 
#include <minix/config.h>
4858
 
_ACEOF
4859
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4860
 
case "(($ac_try" in
4861
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862
 
  *) ac_try_echo=$ac_try;;
4863
 
esac
4864
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4865
 
$as_echo "$ac_try_echo") >&5
4866
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4867
 
  ac_status=$?
4868
 
  grep -v '^ *+' conftest.er1 >conftest.err
4869
 
  rm -f conftest.er1
4870
 
  cat conftest.err >&5
4871
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872
 
  (exit $ac_status); } >/dev/null && {
4873
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4874
 
         test ! -s conftest.err
4875
 
       }; then
4876
 
  ac_header_preproc=yes
4877
 
else
4878
 
  $as_echo "$as_me: failed program was:" >&5
4879
 
sed 's/^/| /' conftest.$ac_ext >&5
4880
 
 
4881
 
  ac_header_preproc=no
4882
 
fi
4883
 
 
4884
 
rm -f conftest.err conftest.$ac_ext
4885
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4886
 
$as_echo "$ac_header_preproc" >&6; }
4887
 
 
4888
 
# So?  What about this header?
4889
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4890
 
  yes:no: )
4891
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4892
 
$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4893
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4894
 
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4895
 
    ac_header_preproc=yes
4896
 
    ;;
4897
 
  no:yes:* )
4898
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4899
 
$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4900
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
4901
 
$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
4902
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4903
 
$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4904
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
4905
 
$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4906
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4907
 
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4908
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4909
 
$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4910
 
    ( cat <<\_ASBOX
4911
 
## ---------------------------------------- ##
4912
 
## Report this to http://bugzilla.xfce.org/ ##
4913
 
## ---------------------------------------- ##
4914
 
_ASBOX
4915
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4916
 
    ;;
4917
 
esac
4918
 
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4919
 
$as_echo_n "checking for minix/config.h... " >&6; }
4920
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
4921
 
  $as_echo_n "(cached) " >&6
4922
 
else
4923
 
  ac_cv_header_minix_config_h=$ac_header_preproc
4924
 
fi
4925
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4926
 
$as_echo "$ac_cv_header_minix_config_h" >&6; }
4927
 
 
4928
 
fi
4929
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then
4930
 
  MINIX=yes
4931
 
else
4932
 
  MINIX=
4933
 
fi
4934
 
 
4935
 
 
4936
 
  if test "$MINIX" = yes; then
4937
 
 
4938
 
cat >>confdefs.h <<\_ACEOF
4939
 
#define _POSIX_SOURCE 1
4940
 
_ACEOF
4941
 
 
4942
 
 
4943
 
cat >>confdefs.h <<\_ACEOF
4944
 
#define _POSIX_1_SOURCE 2
4945
 
_ACEOF
4946
 
 
4947
 
 
4948
 
cat >>confdefs.h <<\_ACEOF
4949
 
#define _MINIX 1
4950
 
_ACEOF
4951
 
 
4952
 
  fi
4953
 
 
4954
 
 
4955
 
 
4956
 
  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4957
 
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4958
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4959
 
  $as_echo_n "(cached) " >&6
4960
 
else
4961
 
  cat >conftest.$ac_ext <<_ACEOF
4962
 
/* confdefs.h.  */
4963
 
_ACEOF
4964
 
cat confdefs.h >>conftest.$ac_ext
4965
 
cat >>conftest.$ac_ext <<_ACEOF
4966
 
/* end confdefs.h.  */
4967
 
 
4968
 
#         define __EXTENSIONS__ 1
4969
 
          $ac_includes_default
4970
 
int
4971
 
main ()
4972
 
{
4973
 
 
4974
 
  ;
4975
 
  return 0;
4976
 
}
4977
 
_ACEOF
4978
 
rm -f conftest.$ac_objext
4979
 
if { (ac_try="$ac_compile"
4980
 
case "(($ac_try" in
4981
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4982
 
  *) ac_try_echo=$ac_try;;
4983
 
esac
4984
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4985
 
$as_echo "$ac_try_echo") >&5
4986
 
  (eval "$ac_compile") 2>conftest.er1
4987
 
  ac_status=$?
4988
 
  grep -v '^ *+' conftest.er1 >conftest.err
4989
 
  rm -f conftest.er1
4990
 
  cat conftest.err >&5
4991
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992
 
  (exit $ac_status); } && {
4993
 
         test -z "$ac_c_werror_flag" ||
4994
 
         test ! -s conftest.err
4995
 
       } && test -s conftest.$ac_objext; then
4996
 
  ac_cv_safe_to_define___extensions__=yes
4997
 
else
4998
 
  $as_echo "$as_me: failed program was:" >&5
4999
 
sed 's/^/| /' conftest.$ac_ext >&5
5000
 
 
5001
 
        ac_cv_safe_to_define___extensions__=no
5002
 
fi
5003
 
 
5004
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5005
 
fi
5006
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
5007
 
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5008
 
  test $ac_cv_safe_to_define___extensions__ = yes &&
5009
 
    cat >>confdefs.h <<\_ACEOF
5010
 
#define __EXTENSIONS__ 1
5011
 
_ACEOF
5012
 
 
5013
 
  cat >>confdefs.h <<\_ACEOF
5014
 
#define _ALL_SOURCE 1
5015
 
_ACEOF
5016
 
 
5017
 
  cat >>confdefs.h <<\_ACEOF
5018
 
#define _GNU_SOURCE 1
5019
 
_ACEOF
5020
 
 
5021
 
  cat >>confdefs.h <<\_ACEOF
5022
 
#define _POSIX_PTHREAD_SEMANTICS 1
5023
 
_ACEOF
5024
 
 
5025
 
  cat >>confdefs.h <<\_ACEOF
5026
 
#define _TANDEM_SOURCE 1
5027
 
_ACEOF
5028
 
 
5029
 
 
5030
4556
 
5031
4557
# ===================================================== #
5032
4558
#               Basic compiler settings                 #
5039
4565
if test -n "$ac_tool_prefix"; then
5040
4566
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5041
4567
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5042
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043
4569
$as_echo_n "checking for $ac_word... " >&6; }
5044
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4570
if test "${ac_cv_prog_CC+set}" = set; then :
5045
4571
  $as_echo_n "(cached) " >&6
5046
4572
else
5047
4573
  if test -n "$CC"; then
5052
4578
do
5053
4579
  IFS=$as_save_IFS
5054
4580
  test -z "$as_dir" && as_dir=.
5055
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4581
    for ac_exec_ext in '' $ac_executable_extensions; do
5056
4582
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5057
4583
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5058
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4584
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059
4585
    break 2
5060
4586
  fi
5061
4587
done
5062
 
done
 
4588
  done
5063
4589
IFS=$as_save_IFS
5064
4590
 
5065
4591
fi
5066
4592
fi
5067
4593
CC=$ac_cv_prog_CC
5068
4594
if test -n "$CC"; then
5069
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4595
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5070
4596
$as_echo "$CC" >&6; }
5071
4597
else
5072
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073
4599
$as_echo "no" >&6; }
5074
4600
fi
5075
4601
 
5079
4605
  ac_ct_CC=$CC
5080
4606
  # Extract the first word of "gcc", so it can be a program name with args.
5081
4607
set dummy gcc; ac_word=$2
5082
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083
4609
$as_echo_n "checking for $ac_word... " >&6; }
5084
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4610
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5085
4611
  $as_echo_n "(cached) " >&6
5086
4612
else
5087
4613
  if test -n "$ac_ct_CC"; then
5092
4618
do
5093
4619
  IFS=$as_save_IFS
5094
4620
  test -z "$as_dir" && as_dir=.
5095
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4621
    for ac_exec_ext in '' $ac_executable_extensions; do
5096
4622
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097
4623
    ac_cv_prog_ac_ct_CC="gcc"
5098
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4624
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099
4625
    break 2
5100
4626
  fi
5101
4627
done
5102
 
done
 
4628
  done
5103
4629
IFS=$as_save_IFS
5104
4630
 
5105
4631
fi
5106
4632
fi
5107
4633
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5108
4634
if test -n "$ac_ct_CC"; then
5109
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5110
4636
$as_echo "$ac_ct_CC" >&6; }
5111
4637
else
5112
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113
4639
$as_echo "no" >&6; }
5114
4640
fi
5115
4641
 
5118
4644
  else
5119
4645
    case $cross_compiling:$ac_tool_warned in
5120
4646
yes:)
5121
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4647
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5122
4648
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5123
4649
ac_tool_warned=yes ;;
5124
4650
esac
5132
4658
          if test -n "$ac_tool_prefix"; then
5133
4659
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5134
4660
set dummy ${ac_tool_prefix}cc; ac_word=$2
5135
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136
4662
$as_echo_n "checking for $ac_word... " >&6; }
5137
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4663
if test "${ac_cv_prog_CC+set}" = set; then :
5138
4664
  $as_echo_n "(cached) " >&6
5139
4665
else
5140
4666
  if test -n "$CC"; then
5145
4671
do
5146
4672
  IFS=$as_save_IFS
5147
4673
  test -z "$as_dir" && as_dir=.
5148
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4674
    for ac_exec_ext in '' $ac_executable_extensions; do
5149
4675
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5150
4676
    ac_cv_prog_CC="${ac_tool_prefix}cc"
5151
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4677
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152
4678
    break 2
5153
4679
  fi
5154
4680
done
5155
 
done
 
4681
  done
5156
4682
IFS=$as_save_IFS
5157
4683
 
5158
4684
fi
5159
4685
fi
5160
4686
CC=$ac_cv_prog_CC
5161
4687
if test -n "$CC"; then
5162
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4688
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5163
4689
$as_echo "$CC" >&6; }
5164
4690
else
5165
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4691
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166
4692
$as_echo "no" >&6; }
5167
4693
fi
5168
4694
 
5172
4698
if test -z "$CC"; then
5173
4699
  # Extract the first word of "cc", so it can be a program name with args.
5174
4700
set dummy cc; ac_word=$2
5175
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176
4702
$as_echo_n "checking for $ac_word... " >&6; }
5177
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4703
if test "${ac_cv_prog_CC+set}" = set; then :
5178
4704
  $as_echo_n "(cached) " >&6
5179
4705
else
5180
4706
  if test -n "$CC"; then
5186
4712
do
5187
4713
  IFS=$as_save_IFS
5188
4714
  test -z "$as_dir" && as_dir=.
5189
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4715
    for ac_exec_ext in '' $ac_executable_extensions; do
5190
4716
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5191
4717
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5192
4718
       ac_prog_rejected=yes
5193
4719
       continue
5194
4720
     fi
5195
4721
    ac_cv_prog_CC="cc"
5196
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4722
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197
4723
    break 2
5198
4724
  fi
5199
4725
done
5200
 
done
 
4726
  done
5201
4727
IFS=$as_save_IFS
5202
4728
 
5203
4729
if test $ac_prog_rejected = yes; then
5216
4742
fi
5217
4743
CC=$ac_cv_prog_CC
5218
4744
if test -n "$CC"; then
5219
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4745
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5220
4746
$as_echo "$CC" >&6; }
5221
4747
else
5222
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223
4749
$as_echo "no" >&6; }
5224
4750
fi
5225
4751
 
5231
4757
  do
5232
4758
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5233
4759
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5234
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5235
4761
$as_echo_n "checking for $ac_word... " >&6; }
5236
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4762
if test "${ac_cv_prog_CC+set}" = set; then :
5237
4763
  $as_echo_n "(cached) " >&6
5238
4764
else
5239
4765
  if test -n "$CC"; then
5244
4770
do
5245
4771
  IFS=$as_save_IFS
5246
4772
  test -z "$as_dir" && as_dir=.
5247
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4773
    for ac_exec_ext in '' $ac_executable_extensions; do
5248
4774
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5249
4775
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5250
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4776
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251
4777
    break 2
5252
4778
  fi
5253
4779
done
5254
 
done
 
4780
  done
5255
4781
IFS=$as_save_IFS
5256
4782
 
5257
4783
fi
5258
4784
fi
5259
4785
CC=$ac_cv_prog_CC
5260
4786
if test -n "$CC"; then
5261
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4787
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5262
4788
$as_echo "$CC" >&6; }
5263
4789
else
5264
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4790
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5265
4791
$as_echo "no" >&6; }
5266
4792
fi
5267
4793
 
5275
4801
do
5276
4802
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5277
4803
set dummy $ac_prog; ac_word=$2
5278
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5279
4805
$as_echo_n "checking for $ac_word... " >&6; }
5280
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4806
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5281
4807
  $as_echo_n "(cached) " >&6
5282
4808
else
5283
4809
  if test -n "$ac_ct_CC"; then
5288
4814
do
5289
4815
  IFS=$as_save_IFS
5290
4816
  test -z "$as_dir" && as_dir=.
5291
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4817
    for ac_exec_ext in '' $ac_executable_extensions; do
5292
4818
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5293
4819
    ac_cv_prog_ac_ct_CC="$ac_prog"
5294
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4820
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295
4821
    break 2
5296
4822
  fi
5297
4823
done
5298
 
done
 
4824
  done
5299
4825
IFS=$as_save_IFS
5300
4826
 
5301
4827
fi
5302
4828
fi
5303
4829
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5304
4830
if test -n "$ac_ct_CC"; then
5305
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5306
4832
$as_echo "$ac_ct_CC" >&6; }
5307
4833
else
5308
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4834
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5309
4835
$as_echo "no" >&6; }
5310
4836
fi
5311
4837
 
5318
4844
  else
5319
4845
    case $cross_compiling:$ac_tool_warned in
5320
4846
yes:)
5321
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4847
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5322
4848
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5323
4849
ac_tool_warned=yes ;;
5324
4850
esac
5329
4855
fi
5330
4856
 
5331
4857
 
5332
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4858
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5333
4859
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5334
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5335
 
See \`config.log' for more details." >&5
5336
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
5337
 
See \`config.log' for more details." >&2;}
5338
 
   { (exit 1); exit 1; }; }; }
 
4860
as_fn_error "no acceptable C compiler found in \$PATH
 
4861
See \`config.log' for more details." "$LINENO" 5; }
5339
4862
 
5340
4863
# Provide some information about the compiler.
5341
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4864
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5342
4865
set X $ac_compile
5343
4866
ac_compiler=$2
5344
 
{ (ac_try="$ac_compiler --version >&5"
5345
 
case "(($ac_try" in
5346
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5347
 
  *) ac_try_echo=$ac_try;;
5348
 
esac
5349
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5350
 
$as_echo "$ac_try_echo") >&5
5351
 
  (eval "$ac_compiler --version >&5") 2>&5
5352
 
  ac_status=$?
5353
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354
 
  (exit $ac_status); }
5355
 
{ (ac_try="$ac_compiler -v >&5"
5356
 
case "(($ac_try" in
5357
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5358
 
  *) ac_try_echo=$ac_try;;
5359
 
esac
5360
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5361
 
$as_echo "$ac_try_echo") >&5
5362
 
  (eval "$ac_compiler -v >&5") 2>&5
5363
 
  ac_status=$?
5364
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365
 
  (exit $ac_status); }
5366
 
{ (ac_try="$ac_compiler -V >&5"
5367
 
case "(($ac_try" in
5368
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5369
 
  *) ac_try_echo=$ac_try;;
5370
 
esac
5371
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5372
 
$as_echo "$ac_try_echo") >&5
5373
 
  (eval "$ac_compiler -V >&5") 2>&5
5374
 
  ac_status=$?
5375
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376
 
  (exit $ac_status); }
 
4867
for ac_option in --version -v -V -qversion; do
 
4868
  { { ac_try="$ac_compiler $ac_option >&5"
 
4869
case "(($ac_try" in
 
4870
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4871
  *) ac_try_echo=$ac_try;;
 
4872
esac
 
4873
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4874
$as_echo "$ac_try_echo"; } >&5
 
4875
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4876
  ac_status=$?
 
4877
  if test -s conftest.err; then
 
4878
    sed '10a\
 
4879
... rest of stderr output deleted ...
 
4880
         10q' conftest.err >conftest.er1
 
4881
    cat conftest.er1 >&5
 
4882
    rm -f conftest.er1 conftest.err
 
4883
  fi
 
4884
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4885
  test $ac_status = 0; }
 
4886
done
5377
4887
 
5378
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5379
4889
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5380
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
4890
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5381
4891
  $as_echo_n "(cached) " >&6
5382
4892
else
5383
 
  cat >conftest.$ac_ext <<_ACEOF
5384
 
/* confdefs.h.  */
5385
 
_ACEOF
5386
 
cat confdefs.h >>conftest.$ac_ext
5387
 
cat >>conftest.$ac_ext <<_ACEOF
 
4893
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388
4894
/* end confdefs.h.  */
5389
4895
 
5390
4896
int
5398
4904
  return 0;
5399
4905
}
5400
4906
_ACEOF
5401
 
rm -f conftest.$ac_objext
5402
 
if { (ac_try="$ac_compile"
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_compile") 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_objext; then
 
4907
if ac_fn_c_try_compile "$LINENO"; then :
5419
4908
  ac_compiler_gnu=yes
5420
4909
else
5421
 
  $as_echo "$as_me: failed program was:" >&5
5422
 
sed 's/^/| /' conftest.$ac_ext >&5
5423
 
 
5424
 
        ac_compiler_gnu=no
 
4910
  ac_compiler_gnu=no
5425
4911
fi
5426
 
 
5427
4912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5428
4913
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5429
4914
 
5430
4915
fi
5431
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5432
4917
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5433
4918
if test $ac_compiler_gnu = yes; then
5434
4919
  GCC=yes
5437
4922
fi
5438
4923
ac_test_CFLAGS=${CFLAGS+set}
5439
4924
ac_save_CFLAGS=$CFLAGS
5440
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5441
4926
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5442
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
4927
if test "${ac_cv_prog_cc_g+set}" = set; then :
5443
4928
  $as_echo_n "(cached) " >&6
5444
4929
else
5445
4930
  ac_save_c_werror_flag=$ac_c_werror_flag
5446
4931
   ac_c_werror_flag=yes
5447
4932
   ac_cv_prog_cc_g=no
5448
4933
   CFLAGS="-g"
5449
 
   cat >conftest.$ac_ext <<_ACEOF
5450
 
/* confdefs.h.  */
5451
 
_ACEOF
5452
 
cat confdefs.h >>conftest.$ac_ext
5453
 
cat >>conftest.$ac_ext <<_ACEOF
 
4934
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5454
4935
/* end confdefs.h.  */
5455
4936
 
5456
4937
int
5461
4942
  return 0;
5462
4943
}
5463
4944
_ACEOF
5464
 
rm -f conftest.$ac_objext
5465
 
if { (ac_try="$ac_compile"
5466
 
case "(($ac_try" in
5467
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5468
 
  *) ac_try_echo=$ac_try;;
5469
 
esac
5470
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5471
 
$as_echo "$ac_try_echo") >&5
5472
 
  (eval "$ac_compile") 2>conftest.er1
5473
 
  ac_status=$?
5474
 
  grep -v '^ *+' conftest.er1 >conftest.err
5475
 
  rm -f conftest.er1
5476
 
  cat conftest.err >&5
5477
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478
 
  (exit $ac_status); } && {
5479
 
         test -z "$ac_c_werror_flag" ||
5480
 
         test ! -s conftest.err
5481
 
       } && test -s conftest.$ac_objext; then
 
4945
if ac_fn_c_try_compile "$LINENO"; then :
5482
4946
  ac_cv_prog_cc_g=yes
5483
4947
else
5484
 
  $as_echo "$as_me: failed program was:" >&5
5485
 
sed 's/^/| /' conftest.$ac_ext >&5
5486
 
 
5487
 
        CFLAGS=""
5488
 
      cat >conftest.$ac_ext <<_ACEOF
5489
 
/* confdefs.h.  */
5490
 
_ACEOF
5491
 
cat confdefs.h >>conftest.$ac_ext
5492
 
cat >>conftest.$ac_ext <<_ACEOF
 
4948
  CFLAGS=""
 
4949
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493
4950
/* end confdefs.h.  */
5494
4951
 
5495
4952
int
5500
4957
  return 0;
5501
4958
}
5502
4959
_ACEOF
5503
 
rm -f conftest.$ac_objext
5504
 
if { (ac_try="$ac_compile"
5505
 
case "(($ac_try" in
5506
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5507
 
  *) ac_try_echo=$ac_try;;
5508
 
esac
5509
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5510
 
$as_echo "$ac_try_echo") >&5
5511
 
  (eval "$ac_compile") 2>conftest.er1
5512
 
  ac_status=$?
5513
 
  grep -v '^ *+' conftest.er1 >conftest.err
5514
 
  rm -f conftest.er1
5515
 
  cat conftest.err >&5
5516
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517
 
  (exit $ac_status); } && {
5518
 
         test -z "$ac_c_werror_flag" ||
5519
 
         test ! -s conftest.err
5520
 
       } && test -s conftest.$ac_objext; then
5521
 
  :
 
4960
if ac_fn_c_try_compile "$LINENO"; then :
 
4961
 
5522
4962
else
5523
 
  $as_echo "$as_me: failed program was:" >&5
5524
 
sed 's/^/| /' conftest.$ac_ext >&5
5525
 
 
5526
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4963
  ac_c_werror_flag=$ac_save_c_werror_flag
5527
4964
         CFLAGS="-g"
5528
 
         cat >conftest.$ac_ext <<_ACEOF
5529
 
/* confdefs.h.  */
5530
 
_ACEOF
5531
 
cat confdefs.h >>conftest.$ac_ext
5532
 
cat >>conftest.$ac_ext <<_ACEOF
 
4965
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5533
4966
/* end confdefs.h.  */
5534
4967
 
5535
4968
int
5540
4973
  return 0;
5541
4974
}
5542
4975
_ACEOF
5543
 
rm -f conftest.$ac_objext
5544
 
if { (ac_try="$ac_compile"
5545
 
case "(($ac_try" in
5546
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5547
 
  *) ac_try_echo=$ac_try;;
5548
 
esac
5549
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5550
 
$as_echo "$ac_try_echo") >&5
5551
 
  (eval "$ac_compile") 2>conftest.er1
5552
 
  ac_status=$?
5553
 
  grep -v '^ *+' conftest.er1 >conftest.err
5554
 
  rm -f conftest.er1
5555
 
  cat conftest.err >&5
5556
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557
 
  (exit $ac_status); } && {
5558
 
         test -z "$ac_c_werror_flag" ||
5559
 
         test ! -s conftest.err
5560
 
       } && test -s conftest.$ac_objext; then
 
4976
if ac_fn_c_try_compile "$LINENO"; then :
5561
4977
  ac_cv_prog_cc_g=yes
5562
 
else
5563
 
  $as_echo "$as_me: failed program was:" >&5
5564
 
sed 's/^/| /' conftest.$ac_ext >&5
5565
 
 
5566
 
 
5567
 
fi
5568
 
 
5569
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5570
 
fi
5571
 
 
5572
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5573
 
fi
5574
 
 
 
4978
fi
 
4979
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4980
fi
 
4981
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4982
fi
5575
4983
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5576
4984
   ac_c_werror_flag=$ac_save_c_werror_flag
5577
4985
fi
5578
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5579
4987
$as_echo "$ac_cv_prog_cc_g" >&6; }
5580
4988
if test "$ac_test_CFLAGS" = set; then
5581
4989
  CFLAGS=$ac_save_CFLAGS
5592
5000
    CFLAGS=
5593
5001
  fi
5594
5002
fi
5595
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
5003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5596
5004
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5597
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
5005
if test "${ac_cv_prog_cc_c89+set}" = set; then :
5598
5006
  $as_echo_n "(cached) " >&6
5599
5007
else
5600
5008
  ac_cv_prog_cc_c89=no
5601
5009
ac_save_CC=$CC
5602
 
cat >conftest.$ac_ext <<_ACEOF
5603
 
/* confdefs.h.  */
5604
 
_ACEOF
5605
 
cat confdefs.h >>conftest.$ac_ext
5606
 
cat >>conftest.$ac_ext <<_ACEOF
 
5010
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5607
5011
/* end confdefs.h.  */
5608
5012
#include <stdarg.h>
5609
5013
#include <stdio.h>
5660
5064
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5661
5065
do
5662
5066
  CC="$ac_save_CC $ac_arg"
5663
 
  rm -f conftest.$ac_objext
5664
 
if { (ac_try="$ac_compile"
5665
 
case "(($ac_try" in
5666
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5667
 
  *) ac_try_echo=$ac_try;;
5668
 
esac
5669
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5670
 
$as_echo "$ac_try_echo") >&5
5671
 
  (eval "$ac_compile") 2>conftest.er1
5672
 
  ac_status=$?
5673
 
  grep -v '^ *+' conftest.er1 >conftest.err
5674
 
  rm -f conftest.er1
5675
 
  cat conftest.err >&5
5676
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677
 
  (exit $ac_status); } && {
5678
 
         test -z "$ac_c_werror_flag" ||
5679
 
         test ! -s conftest.err
5680
 
       } && test -s conftest.$ac_objext; then
 
5067
  if ac_fn_c_try_compile "$LINENO"; then :
5681
5068
  ac_cv_prog_cc_c89=$ac_arg
5682
 
else
5683
 
  $as_echo "$as_me: failed program was:" >&5
5684
 
sed 's/^/| /' conftest.$ac_ext >&5
5685
 
 
5686
 
 
5687
5069
fi
5688
 
 
5689
5070
rm -f core conftest.err conftest.$ac_objext
5690
5071
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5691
5072
done
5696
5077
# AC_CACHE_VAL
5697
5078
case "x$ac_cv_prog_cc_c89" in
5698
5079
  x)
5699
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
5080
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5700
5081
$as_echo "none needed" >&6; } ;;
5701
5082
  xno)
5702
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
5083
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5703
5084
$as_echo "unsupported" >&6; } ;;
5704
5085
  *)
5705
5086
    CC="$CC $ac_cv_prog_cc_c89"
5706
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5087
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5707
5088
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5708
5089
esac
 
5090
if test "x$ac_cv_prog_cc_c89" != xno; then :
5709
5091
 
 
5092
fi
5710
5093
 
5711
5094
ac_ext=c
5712
5095
ac_cpp='$CPP $CPPFLAGS'
5716
5099
 
5717
5100
depcc="$CC"   am_compiler_list=
5718
5101
 
5719
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5720
5103
$as_echo_n "checking dependency style of $depcc... " >&6; }
5721
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
5104
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5722
5105
  $as_echo_n "(cached) " >&6
5723
5106
else
5724
5107
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5744
5127
  if test "$am_compiler_list" = ""; then
5745
5128
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5746
5129
  fi
 
5130
  am__universal=false
 
5131
  case " $depcc " in #(
 
5132
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5133
     esac
 
5134
 
5747
5135
  for depmode in $am_compiler_list; do
5748
5136
    # Setup a source with many dependencies, because some compilers
5749
5137
    # like to wrap large dependency lists on column 80 (with \), and
5761
5149
    done
5762
5150
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5763
5151
 
 
5152
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5153
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5154
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5155
    # versions had trouble with output in subdirs
 
5156
    am__obj=sub/conftest.${OBJEXT-o}
 
5157
    am__minus_obj="-o $am__obj"
5764
5158
    case $depmode in
 
5159
    gcc)
 
5160
      # This depmode causes a compiler race in universal mode.
 
5161
      test "$am__universal" = false || continue
 
5162
      ;;
5765
5163
    nosideeffect)
5766
5164
      # after this tag, mechanisms are not by side-effect, so they'll
5767
5165
      # only be used when explicitly requested
5771
5169
        break
5772
5170
      fi
5773
5171
      ;;
 
5172
    msvisualcpp | msvcmsys)
 
5173
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5174
      # not run yet.  These depmodes are late enough in the game, and
 
5175
      # so weak that their functioning should not be impacted.
 
5176
      am__obj=conftest.${OBJEXT-o}
 
5177
      am__minus_obj=
 
5178
      ;;
5774
5179
    none) break ;;
5775
5180
    esac
5776
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5777
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5778
 
    # handle `-M -o', and we need to detect this.
5779
5181
    if depmode=$depmode \
5780
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5182
       source=sub/conftest.c object=$am__obj \
5781
5183
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5782
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5184
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5783
5185
         >/dev/null 2>conftest.err &&
5784
5186
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5785
5187
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5786
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5188
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5787
5189
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5788
5190
      # icc doesn't choke on unknown options, it will just issue warnings
5789
5191
      # or remarks (even with -Werror).  So we grep stderr for any message
5807
5209
fi
5808
5210
 
5809
5211
fi
5810
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5811
5213
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5812
5214
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5813
5215
 
5823
5225
 
5824
5226
 
5825
5227
if test "x$CC" != xcc; then
5826
 
  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
5228
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5827
5229
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5828
5230
else
5829
 
  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
5231
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5830
5232
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5831
5233
fi
5832
5234
set dummy $CC; ac_cc=`$as_echo "$2" |
5833
5235
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5834
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 
5236
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5835
5237
  $as_echo_n "(cached) " >&6
5836
5238
else
5837
 
  cat >conftest.$ac_ext <<_ACEOF
5838
 
/* confdefs.h.  */
5839
 
_ACEOF
5840
 
cat confdefs.h >>conftest.$ac_ext
5841
 
cat >>conftest.$ac_ext <<_ACEOF
 
5239
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5842
5240
/* end confdefs.h.  */
5843
5241
 
5844
5242
int
5854
5252
# existing .o file with -o, though they will create one.
5855
5253
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5856
5254
rm -f conftest2.*
5857
 
if { (case "(($ac_try" in
5858
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5859
 
  *) ac_try_echo=$ac_try;;
5860
 
esac
5861
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5862
 
$as_echo "$ac_try_echo") >&5
5863
 
  (eval "$ac_try") 2>&5
5864
 
  ac_status=$?
5865
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866
 
  (exit $ac_status); } &&
5867
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
5868
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5869
 
  *) ac_try_echo=$ac_try;;
5870
 
esac
5871
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5872
 
$as_echo "$ac_try_echo") >&5
5873
 
  (eval "$ac_try") 2>&5
5874
 
  ac_status=$?
5875
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876
 
  (exit $ac_status); };
 
5255
if { { case "(($ac_try" in
 
5256
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5257
  *) ac_try_echo=$ac_try;;
 
5258
esac
 
5259
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5260
$as_echo "$ac_try_echo"; } >&5
 
5261
  (eval "$ac_try") 2>&5
 
5262
  ac_status=$?
 
5263
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5264
  test $ac_status = 0; } &&
 
5265
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5266
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5267
  *) ac_try_echo=$ac_try;;
 
5268
esac
 
5269
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5270
$as_echo "$ac_try_echo"; } >&5
 
5271
  (eval "$ac_try") 2>&5
 
5272
  ac_status=$?
 
5273
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5274
  test $ac_status = 0; };
5877
5275
then
5878
5276
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5879
5277
  if test "x$CC" != xcc; then
5880
5278
    # Test first that cc exists at all.
5881
5279
    if { ac_try='cc -c conftest.$ac_ext >&5'
5882
 
  { (case "(($ac_try" in
 
5280
  { { case "(($ac_try" in
5883
5281
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5884
5282
  *) ac_try_echo=$ac_try;;
5885
5283
esac
5886
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5887
 
$as_echo "$ac_try_echo") >&5
 
5284
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5285
$as_echo "$ac_try_echo"; } >&5
5888
5286
  (eval "$ac_try") 2>&5
5889
5287
  ac_status=$?
5890
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891
 
  (exit $ac_status); }; }; then
 
5288
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5289
  test $ac_status = 0; }; }; then
5892
5290
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5893
5291
      rm -f conftest2.*
5894
 
      if { (case "(($ac_try" in
5895
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5896
 
  *) ac_try_echo=$ac_try;;
5897
 
esac
5898
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5899
 
$as_echo "$ac_try_echo") >&5
5900
 
  (eval "$ac_try") 2>&5
5901
 
  ac_status=$?
5902
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903
 
  (exit $ac_status); } &&
5904
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
5905
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5906
 
  *) ac_try_echo=$ac_try;;
5907
 
esac
5908
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5909
 
$as_echo "$ac_try_echo") >&5
5910
 
  (eval "$ac_try") 2>&5
5911
 
  ac_status=$?
5912
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913
 
  (exit $ac_status); };
 
5292
      if { { case "(($ac_try" in
 
5293
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5294
  *) ac_try_echo=$ac_try;;
 
5295
esac
 
5296
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5297
$as_echo "$ac_try_echo"; } >&5
 
5298
  (eval "$ac_try") 2>&5
 
5299
  ac_status=$?
 
5300
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5301
  test $ac_status = 0; } &&
 
5302
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5303
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5304
  *) ac_try_echo=$ac_try;;
 
5305
esac
 
5306
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5307
$as_echo "$ac_try_echo"; } >&5
 
5308
  (eval "$ac_try") 2>&5
 
5309
  ac_status=$?
 
5310
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5311
  test $ac_status = 0; };
5914
5312
      then
5915
5313
        # cc works too.
5916
5314
        :
5927
5325
 
5928
5326
fi
5929
5327
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5930
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5328
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5931
5329
$as_echo "yes" >&6; }
5932
5330
else
5933
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5331
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934
5332
$as_echo "no" >&6; }
5935
5333
 
5936
 
cat >>confdefs.h <<\_ACEOF
5937
 
#define NO_MINUS_C_MINUS_O 1
5938
 
_ACEOF
 
5334
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5939
5335
 
5940
5336
fi
5941
5337
 
5956
5352
 
5957
5353
# Make sure we can run config.sub.
5958
5354
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5959
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5960
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5961
 
   { (exit 1); exit 1; }; }
 
5355
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5962
5356
 
5963
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
5357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5964
5358
$as_echo_n "checking build system type... " >&6; }
5965
 
if test "${ac_cv_build+set}" = set; then
 
5359
if test "${ac_cv_build+set}" = set; then :
5966
5360
  $as_echo_n "(cached) " >&6
5967
5361
else
5968
5362
  ac_build_alias=$build_alias
5969
5363
test "x$ac_build_alias" = x &&
5970
5364
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5971
5365
test "x$ac_build_alias" = x &&
5972
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5973
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5974
 
   { (exit 1); exit 1; }; }
 
5366
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
5975
5367
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5976
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5977
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5978
 
   { (exit 1); exit 1; }; }
 
5368
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5979
5369
 
5980
5370
fi
5981
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
5371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5982
5372
$as_echo "$ac_cv_build" >&6; }
5983
5373
case $ac_cv_build in
5984
5374
*-*-*) ;;
5985
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5986
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
5987
 
   { (exit 1); exit 1; }; };;
 
5375
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
5988
5376
esac
5989
5377
build=$ac_cv_build
5990
5378
ac_save_IFS=$IFS; IFS='-'
6000
5388
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6001
5389
 
6002
5390
 
6003
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
5391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6004
5392
$as_echo_n "checking host system type... " >&6; }
6005
 
if test "${ac_cv_host+set}" = set; then
 
5393
if test "${ac_cv_host+set}" = set; then :
6006
5394
  $as_echo_n "(cached) " >&6
6007
5395
else
6008
5396
  if test "x$host_alias" = x; then
6009
5397
  ac_cv_host=$ac_cv_build
6010
5398
else
6011
5399
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6012
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6013
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6014
 
   { (exit 1); exit 1; }; }
 
5400
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6015
5401
fi
6016
5402
 
6017
5403
fi
6018
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
5404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6019
5405
$as_echo "$ac_cv_host" >&6; }
6020
5406
case $ac_cv_host in
6021
5407
*-*-*) ;;
6022
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6023
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
6024
 
   { (exit 1); exit 1; }; };;
 
5408
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
6025
5409
esac
6026
5410
host=$ac_cv_host
6027
5411
ac_save_IFS=$IFS; IFS='-'
6037
5421
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6038
5422
 
6039
5423
 
6040
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
5424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6041
5425
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6042
 
if test "${ac_cv_path_SED+set}" = set; then
 
5426
if test "${ac_cv_path_SED+set}" = set; then :
6043
5427
  $as_echo_n "(cached) " >&6
6044
5428
else
6045
5429
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6047
5431
       ac_script="$ac_script$as_nl$ac_script"
6048
5432
     done
6049
5433
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6050
 
     $as_unset ac_script || ac_script=
 
5434
     { ac_script=; unset ac_script;}
6051
5435
     if test -z "$SED"; then
6052
5436
  ac_path_SED_found=false
6053
5437
  # Loop through the user's path and test for each of PROGNAME-LIST
6056
5440
do
6057
5441
  IFS=$as_save_IFS
6058
5442
  test -z "$as_dir" && as_dir=.
6059
 
  for ac_prog in sed gsed; do
 
5443
    for ac_prog in sed gsed; do
6060
5444
    for ac_exec_ext in '' $ac_executable_extensions; do
6061
5445
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6062
5446
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6076
5460
    $as_echo '' >> "conftest.nl"
6077
5461
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6078
5462
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6079
 
    ac_count=`expr $ac_count + 1`
 
5463
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6080
5464
    if test $ac_count -gt ${ac_path_SED_max-0}; then
6081
5465
      # Best one so far, save it but keep looking for a better one
6082
5466
      ac_cv_path_SED="$ac_path_SED"
6091
5475
      $ac_path_SED_found && break 3
6092
5476
    done
6093
5477
  done
6094
 
done
 
5478
  done
6095
5479
IFS=$as_save_IFS
6096
5480
  if test -z "$ac_cv_path_SED"; then
6097
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
6098
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
6099
 
   { (exit 1); exit 1; }; }
 
5481
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6100
5482
  fi
6101
5483
else
6102
5484
  ac_cv_path_SED=$SED
6103
5485
fi
6104
5486
 
6105
5487
fi
6106
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
5488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6107
5489
$as_echo "$ac_cv_path_SED" >&6; }
6108
5490
 SED="$ac_cv_path_SED"
6109
5491
  rm -f conftest.sed
6121
5503
 
6122
5504
 
6123
5505
 
6124
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
5506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6125
5507
$as_echo_n "checking for fgrep... " >&6; }
6126
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
5508
if test "${ac_cv_path_FGREP+set}" = set; then :
6127
5509
  $as_echo_n "(cached) " >&6
6128
5510
else
6129
5511
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6137
5519
do
6138
5520
  IFS=$as_save_IFS
6139
5521
  test -z "$as_dir" && as_dir=.
6140
 
  for ac_prog in fgrep; do
 
5522
    for ac_prog in fgrep; do
6141
5523
    for ac_exec_ext in '' $ac_executable_extensions; do
6142
5524
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6143
5525
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6157
5539
    $as_echo 'FGREP' >> "conftest.nl"
6158
5540
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6159
5541
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6160
 
    ac_count=`expr $ac_count + 1`
 
5542
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6161
5543
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6162
5544
      # Best one so far, save it but keep looking for a better one
6163
5545
      ac_cv_path_FGREP="$ac_path_FGREP"
6172
5554
      $ac_path_FGREP_found && break 3
6173
5555
    done
6174
5556
  done
6175
 
done
 
5557
  done
6176
5558
IFS=$as_save_IFS
6177
5559
  if test -z "$ac_cv_path_FGREP"; then
6178
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6179
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6180
 
   { (exit 1); exit 1; }; }
 
5560
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6181
5561
  fi
6182
5562
else
6183
5563
  ac_cv_path_FGREP=$FGREP
6185
5565
 
6186
5566
   fi
6187
5567
fi
6188
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
5568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6189
5569
$as_echo "$ac_cv_path_FGREP" >&6; }
6190
5570
 FGREP="$ac_cv_path_FGREP"
6191
5571
 
6211
5591
 
6212
5592
 
6213
5593
# Check whether --with-gnu-ld was given.
6214
 
if test "${with_gnu_ld+set}" = set; then
 
5594
if test "${with_gnu_ld+set}" = set; then :
6215
5595
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6216
5596
else
6217
5597
  with_gnu_ld=no
6220
5600
ac_prog=ld
6221
5601
if test "$GCC" = yes; then
6222
5602
  # Check if gcc -print-prog-name=ld gives a path.
6223
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5603
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6224
5604
$as_echo_n "checking for ld used by $CC... " >&6; }
6225
5605
  case $host in
6226
5606
  *-*-mingw*)
6250
5630
    ;;
6251
5631
  esac
6252
5632
elif test "$with_gnu_ld" = yes; then
6253
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5633
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6254
5634
$as_echo_n "checking for GNU ld... " >&6; }
6255
5635
else
6256
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5636
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6257
5637
$as_echo_n "checking for non-GNU ld... " >&6; }
6258
5638
fi
6259
 
if test "${lt_cv_path_LD+set}" = set; then
 
5639
if test "${lt_cv_path_LD+set}" = set; then :
6260
5640
  $as_echo_n "(cached) " >&6
6261
5641
else
6262
5642
  if test -z "$LD"; then
6287
5667
 
6288
5668
LD="$lt_cv_path_LD"
6289
5669
if test -n "$LD"; then
6290
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5670
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6291
5671
$as_echo "$LD" >&6; }
6292
5672
else
6293
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5673
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294
5674
$as_echo "no" >&6; }
6295
5675
fi
6296
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6297
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6298
 
   { (exit 1); exit 1; }; }
6299
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5676
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6300
5678
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6301
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
5679
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6302
5680
  $as_echo_n "(cached) " >&6
6303
5681
else
6304
5682
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6311
5689
  ;;
6312
5690
esac
6313
5691
fi
6314
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6315
5693
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6316
5694
with_gnu_ld=$lt_cv_prog_gnu_ld
6317
5695
 
6323
5701
 
6324
5702
 
6325
5703
 
6326
 
# Find a good install program.  We prefer a C program (faster),
6327
 
# so one script is as good as another.  But avoid the broken or
6328
 
# incompatible versions:
6329
 
# SysV /etc/install, /usr/sbin/install
6330
 
# SunOS /usr/etc/install
6331
 
# IRIX /sbin/install
6332
 
# AIX /bin/install
6333
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
6334
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6335
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
6336
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6337
 
# OS/2's system install, which has a completely different semantic
6338
 
# ./install, which can be erroneously created by make from ./install.sh.
6339
 
# Reject install programs that cannot install multiple files.
6340
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6341
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
6342
 
if test -z "$INSTALL"; then
6343
 
if test "${ac_cv_path_install+set}" = set; then
6344
 
  $as_echo_n "(cached) " >&6
6345
 
else
6346
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347
 
for as_dir in $PATH
6348
 
do
6349
 
  IFS=$as_save_IFS
6350
 
  test -z "$as_dir" && as_dir=.
6351
 
  # Account for people who put trailing slashes in PATH elements.
6352
 
case $as_dir/ in
6353
 
  ./ | .// | /cC/* | \
6354
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6355
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6356
 
  /usr/ucb/* ) ;;
6357
 
  *)
6358
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
6359
 
    # Don't use installbsd from OSF since it installs stuff as root
6360
 
    # by default.
6361
 
    for ac_prog in ginstall scoinst install; do
6362
 
      for ac_exec_ext in '' $ac_executable_extensions; do
6363
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6364
 
          if test $ac_prog = install &&
6365
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6366
 
            # AIX install.  It has an incompatible calling convention.
6367
 
            :
6368
 
          elif test $ac_prog = install &&
6369
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6370
 
            # program-specific install script used by HP pwplus--don't use.
6371
 
            :
6372
 
          else
6373
 
            rm -rf conftest.one conftest.two conftest.dir
6374
 
            echo one > conftest.one
6375
 
            echo two > conftest.two
6376
 
            mkdir conftest.dir
6377
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
6378
 
              test -s conftest.one && test -s conftest.two &&
6379
 
              test -s conftest.dir/conftest.one &&
6380
 
              test -s conftest.dir/conftest.two
6381
 
            then
6382
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6383
 
              break 3
6384
 
            fi
6385
 
          fi
6386
 
        fi
6387
 
      done
6388
 
    done
6389
 
    ;;
6390
 
esac
6391
 
 
6392
 
done
6393
 
IFS=$as_save_IFS
6394
 
 
6395
 
rm -rf conftest.one conftest.two conftest.dir
6396
 
 
6397
 
fi
6398
 
  if test "${ac_cv_path_install+set}" = set; then
6399
 
    INSTALL=$ac_cv_path_install
6400
 
  else
6401
 
    # As a last resort, use the slow shell script.  Don't cache a
6402
 
    # value for INSTALL within a source directory, because that will
6403
 
    # break other packages using the cache if that directory is
6404
 
    # removed, or if the value is a relative name.
6405
 
    INSTALL=$ac_install_sh
6406
 
  fi
6407
 
fi
6408
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
6409
 
$as_echo "$INSTALL" >&6; }
6410
 
 
6411
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6412
 
# It thinks the first close brace ends the variable substitution.
6413
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6414
 
 
6415
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6416
 
 
6417
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6418
 
 
6419
 
 
6420
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
5704
 
 
5705
 
 
5706
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6421
5707
$as_echo_n "checking whether NLS is requested... " >&6; }
6422
5708
    # Check whether --enable-nls was given.
6423
 
if test "${enable_nls+set}" = set; then
 
5709
if test "${enable_nls+set}" = set; then :
6424
5710
  enableval=$enable_nls; USE_NLS=$enableval
6425
5711
else
6426
5712
  USE_NLS=yes
6427
5713
fi
6428
5714
 
6429
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
5715
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6430
5716
$as_echo "$USE_NLS" >&6; }
6431
5717
 
6432
5718
 
6434
5720
 
6435
5721
case "$am__api_version" in
6436
5722
    1.01234)
6437
 
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
6438
 
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
6439
 
   { (exit 1); exit 1; }; }
 
5723
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
6440
5724
    ;;
6441
5725
    *)
6442
5726
    ;;
6443
5727
esac
6444
5728
 
6445
5729
if test -n "0.31"; then
6446
 
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.31" >&5
 
5730
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.31" >&5
6447
5731
$as_echo_n "checking for intltool >= 0.31... " >&6; }
6448
5732
 
6449
5733
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.31 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6450
5734
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
6451
5735
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6452
5736
 
6453
 
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
5737
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
6454
5738
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
6455
5739
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
6456
 
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.31 or later." >&5
6457
 
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.31 or later." >&2;}
6458
 
   { (exit 1); exit 1; }; }
 
5740
        as_fn_error "Your intltool is too old.  You need intltool 0.31 or later." "$LINENO" 5
6459
5741
fi
6460
5742
 
6461
5743
# Extract the first word of "intltool-update", so it can be a program name with args.
6462
5744
set dummy intltool-update; ac_word=$2
6463
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464
5746
$as_echo_n "checking for $ac_word... " >&6; }
6465
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
5747
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
6466
5748
  $as_echo_n "(cached) " >&6
6467
5749
else
6468
5750
  case $INTLTOOL_UPDATE in
6475
5757
do
6476
5758
  IFS=$as_save_IFS
6477
5759
  test -z "$as_dir" && as_dir=.
6478
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5760
    for ac_exec_ext in '' $ac_executable_extensions; do
6479
5761
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6480
5762
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
6481
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5763
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6482
5764
    break 2
6483
5765
  fi
6484
5766
done
6485
 
done
 
5767
  done
6486
5768
IFS=$as_save_IFS
6487
5769
 
6488
5770
  ;;
6490
5772
fi
6491
5773
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
6492
5774
if test -n "$INTLTOOL_UPDATE"; then
6493
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
5775
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
6494
5776
$as_echo "$INTLTOOL_UPDATE" >&6; }
6495
5777
else
6496
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5778
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497
5779
$as_echo "no" >&6; }
6498
5780
fi
6499
5781
 
6500
5782
 
6501
5783
# Extract the first word of "intltool-merge", so it can be a program name with args.
6502
5784
set dummy intltool-merge; ac_word=$2
6503
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5785
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504
5786
$as_echo_n "checking for $ac_word... " >&6; }
6505
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
5787
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
6506
5788
  $as_echo_n "(cached) " >&6
6507
5789
else
6508
5790
  case $INTLTOOL_MERGE in
6515
5797
do
6516
5798
  IFS=$as_save_IFS
6517
5799
  test -z "$as_dir" && as_dir=.
6518
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5800
    for ac_exec_ext in '' $ac_executable_extensions; do
6519
5801
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6520
5802
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
6521
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5803
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522
5804
    break 2
6523
5805
  fi
6524
5806
done
6525
 
done
 
5807
  done
6526
5808
IFS=$as_save_IFS
6527
5809
 
6528
5810
  ;;
6530
5812
fi
6531
5813
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
6532
5814
if test -n "$INTLTOOL_MERGE"; then
6533
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
5815
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
6534
5816
$as_echo "$INTLTOOL_MERGE" >&6; }
6535
5817
else
6536
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5818
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537
5819
$as_echo "no" >&6; }
6538
5820
fi
6539
5821
 
6540
5822
 
6541
5823
# Extract the first word of "intltool-extract", so it can be a program name with args.
6542
5824
set dummy intltool-extract; ac_word=$2
6543
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6544
5826
$as_echo_n "checking for $ac_word... " >&6; }
6545
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
5827
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
6546
5828
  $as_echo_n "(cached) " >&6
6547
5829
else
6548
5830
  case $INTLTOOL_EXTRACT in
6555
5837
do
6556
5838
  IFS=$as_save_IFS
6557
5839
  test -z "$as_dir" && as_dir=.
6558
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5840
    for ac_exec_ext in '' $ac_executable_extensions; do
6559
5841
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6560
5842
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
6561
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5843
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562
5844
    break 2
6563
5845
  fi
6564
5846
done
6565
 
done
 
5847
  done
6566
5848
IFS=$as_save_IFS
6567
5849
 
6568
5850
  ;;
6570
5852
fi
6571
5853
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
6572
5854
if test -n "$INTLTOOL_EXTRACT"; then
6573
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
5855
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
6574
5856
$as_echo "$INTLTOOL_EXTRACT" >&6; }
6575
5857
else
6576
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577
5859
$as_echo "no" >&6; }
6578
5860
fi
6579
5861
 
6580
5862
 
6581
5863
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
6582
 
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
6583
 
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
6584
 
   { (exit 1); exit 1; }; }
 
5864
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
6585
5865
fi
6586
5866
 
6587
5867
  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 $< $@'
6703
5983
# Check the gettext tools to make sure they are GNU
6704
5984
# Extract the first word of "xgettext", so it can be a program name with args.
6705
5985
set dummy xgettext; ac_word=$2
6706
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707
5987
$as_echo_n "checking for $ac_word... " >&6; }
6708
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
5988
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
6709
5989
  $as_echo_n "(cached) " >&6
6710
5990
else
6711
5991
  case $XGETTEXT in
6718
5998
do
6719
5999
  IFS=$as_save_IFS
6720
6000
  test -z "$as_dir" && as_dir=.
6721
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6001
    for ac_exec_ext in '' $ac_executable_extensions; do
6722
6002
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723
6003
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
6724
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6004
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725
6005
    break 2
6726
6006
  fi
6727
6007
done
6728
 
done
 
6008
  done
6729
6009
IFS=$as_save_IFS
6730
6010
 
6731
6011
  ;;
6733
6013
fi
6734
6014
XGETTEXT=$ac_cv_path_XGETTEXT
6735
6015
if test -n "$XGETTEXT"; then
6736
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
6016
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6737
6017
$as_echo "$XGETTEXT" >&6; }
6738
6018
else
6739
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6019
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6740
6020
$as_echo "no" >&6; }
6741
6021
fi
6742
6022
 
6743
6023
 
6744
6024
# Extract the first word of "msgmerge", so it can be a program name with args.
6745
6025
set dummy msgmerge; ac_word=$2
6746
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747
6027
$as_echo_n "checking for $ac_word... " >&6; }
6748
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
6028
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
6749
6029
  $as_echo_n "(cached) " >&6
6750
6030
else
6751
6031
  case $MSGMERGE in
6758
6038
do
6759
6039
  IFS=$as_save_IFS
6760
6040
  test -z "$as_dir" && as_dir=.
6761
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6041
    for ac_exec_ext in '' $ac_executable_extensions; do
6762
6042
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763
6043
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
6764
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6044
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765
6045
    break 2
6766
6046
  fi
6767
6047
done
6768
 
done
 
6048
  done
6769
6049
IFS=$as_save_IFS
6770
6050
 
6771
6051
  ;;
6773
6053
fi
6774
6054
MSGMERGE=$ac_cv_path_MSGMERGE
6775
6055
if test -n "$MSGMERGE"; then
6776
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
6056
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6777
6057
$as_echo "$MSGMERGE" >&6; }
6778
6058
else
6779
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6059
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780
6060
$as_echo "no" >&6; }
6781
6061
fi
6782
6062
 
6783
6063
 
6784
6064
# Extract the first word of "msgfmt", so it can be a program name with args.
6785
6065
set dummy msgfmt; ac_word=$2
6786
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787
6067
$as_echo_n "checking for $ac_word... " >&6; }
6788
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
6068
if test "${ac_cv_path_MSGFMT+set}" = set; then :
6789
6069
  $as_echo_n "(cached) " >&6
6790
6070
else
6791
6071
  case $MSGFMT in
6798
6078
do
6799
6079
  IFS=$as_save_IFS
6800
6080
  test -z "$as_dir" && as_dir=.
6801
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6081
    for ac_exec_ext in '' $ac_executable_extensions; do
6802
6082
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6803
6083
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
6804
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6084
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6805
6085
    break 2
6806
6086
  fi
6807
6087
done
6808
 
done
 
6088
  done
6809
6089
IFS=$as_save_IFS
6810
6090
 
6811
6091
  ;;
6813
6093
fi
6814
6094
MSGFMT=$ac_cv_path_MSGFMT
6815
6095
if test -n "$MSGFMT"; then
6816
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
6096
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6817
6097
$as_echo "$MSGFMT" >&6; }
6818
6098
else
6819
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6099
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6820
6100
$as_echo "no" >&6; }
6821
6101
fi
6822
6102
 
6823
6103
 
6824
6104
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6825
6105
set dummy gmsgfmt; ac_word=$2
6826
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827
6107
$as_echo_n "checking for $ac_word... " >&6; }
6828
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
6108
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
6829
6109
  $as_echo_n "(cached) " >&6
6830
6110
else
6831
6111
  case $GMSGFMT in
6838
6118
do
6839
6119
  IFS=$as_save_IFS
6840
6120
  test -z "$as_dir" && as_dir=.
6841
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6121
    for ac_exec_ext in '' $ac_executable_extensions; do
6842
6122
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6843
6123
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6844
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6124
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6845
6125
    break 2
6846
6126
  fi
6847
6127
done
6848
 
done
 
6128
  done
6849
6129
IFS=$as_save_IFS
6850
6130
 
6851
6131
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6854
6134
fi
6855
6135
GMSGFMT=$ac_cv_path_GMSGFMT
6856
6136
if test -n "$GMSGFMT"; then
6857
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
6137
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6858
6138
$as_echo "$GMSGFMT" >&6; }
6859
6139
else
6860
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861
6141
$as_echo "no" >&6; }
6862
6142
fi
6863
6143
 
6864
6144
 
6865
6145
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6866
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
6867
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
6868
 
   { (exit 1); exit 1; }; }
 
6146
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
6869
6147
fi
6870
6148
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6871
6149
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6872
6150
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6873
6151
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6874
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
6875
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
6876
 
   { (exit 1); exit 1; }; }
 
6152
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
6877
6153
fi
6878
6154
 
6879
6155
# Extract the first word of "perl", so it can be a program name with args.
6880
6156
set dummy perl; ac_word=$2
6881
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6882
6158
$as_echo_n "checking for $ac_word... " >&6; }
6883
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
6159
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
6884
6160
  $as_echo_n "(cached) " >&6
6885
6161
else
6886
6162
  case $INTLTOOL_PERL in
6893
6169
do
6894
6170
  IFS=$as_save_IFS
6895
6171
  test -z "$as_dir" && as_dir=.
6896
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6172
    for ac_exec_ext in '' $ac_executable_extensions; do
6897
6173
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6898
6174
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
6899
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6175
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6900
6176
    break 2
6901
6177
  fi
6902
6178
done
6903
 
done
 
6179
  done
6904
6180
IFS=$as_save_IFS
6905
6181
 
6906
6182
  ;;
6908
6184
fi
6909
6185
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
6910
6186
if test -n "$INTLTOOL_PERL"; then
6911
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
6187
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
6912
6188
$as_echo "$INTLTOOL_PERL" >&6; }
6913
6189
else
6914
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6915
6191
$as_echo "no" >&6; }
6916
6192
fi
6917
6193
 
6918
6194
 
6919
6195
if test -z "$INTLTOOL_PERL"; then
6920
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
6921
 
$as_echo "$as_me: error: perl not found" >&2;}
6922
 
   { (exit 1); exit 1; }; }
 
6196
   as_fn_error "perl not found" "$LINENO" 5
6923
6197
fi
6924
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
6198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
6925
6199
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
6926
6200
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
6927
6201
if test $? -ne 0; then
6928
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
6929
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
6930
 
   { (exit 1); exit 1; }; }
 
6202
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
6931
6203
else
6932
6204
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
6933
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
6205
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
6934
6206
$as_echo "$IT_PERL_VERSION" >&6; }
6935
6207
fi
6936
6208
if test "xno-xml" != "xno-xml"; then
6937
 
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
6209
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
6938
6210
$as_echo_n "checking for XML::Parser... " >&6; }
6939
6211
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6940
 
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6212
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6941
6213
$as_echo "ok" >&6; }
6942
6214
   else
6943
 
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
6944
 
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
6945
 
   { (exit 1); exit 1; }; }
 
6215
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
6946
6216
   fi
6947
6217
fi
6948
6218
 
6952
6222
# Set DATADIRNAME correctly if it is not set yet
6953
6223
# (copied from glib-gettext.m4)
6954
6224
if test -z "$DATADIRNAME"; then
6955
 
  cat >conftest.$ac_ext <<_ACEOF
6956
 
/* confdefs.h.  */
6957
 
_ACEOF
6958
 
cat confdefs.h >>conftest.$ac_ext
6959
 
cat >>conftest.$ac_ext <<_ACEOF
 
6225
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960
6226
/* end confdefs.h.  */
6961
6227
 
6962
6228
int
6968
6234
  return 0;
6969
6235
}
6970
6236
_ACEOF
6971
 
rm -f conftest.$ac_objext conftest$ac_exeext
6972
 
if { (ac_try="$ac_link"
6973
 
case "(($ac_try" in
6974
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6975
 
  *) ac_try_echo=$ac_try;;
6976
 
esac
6977
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6978
 
$as_echo "$ac_try_echo") >&5
6979
 
  (eval "$ac_link") 2>conftest.er1
6980
 
  ac_status=$?
6981
 
  grep -v '^ *+' conftest.er1 >conftest.err
6982
 
  rm -f conftest.er1
6983
 
  cat conftest.err >&5
6984
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985
 
  (exit $ac_status); } && {
6986
 
         test -z "$ac_c_werror_flag" ||
6987
 
         test ! -s conftest.err
6988
 
       } && test -s conftest$ac_exeext && {
6989
 
         test "$cross_compiling" = yes ||
6990
 
         $as_test_x conftest$ac_exeext
6991
 
       }; then
 
6237
if ac_fn_c_try_link "$LINENO"; then :
6992
6238
  DATADIRNAME=share
6993
6239
else
6994
 
  $as_echo "$as_me: failed program was:" >&5
6995
 
sed 's/^/| /' conftest.$ac_ext >&5
6996
 
 
6997
 
        case $host in
 
6240
  case $host in
6998
6241
    *-*-solaris*)
6999
 
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7000
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
7001
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7002
 
  $as_echo_n "(cached) " >&6
7003
 
else
7004
 
  cat >conftest.$ac_ext <<_ACEOF
7005
 
/* confdefs.h.  */
7006
 
_ACEOF
7007
 
cat confdefs.h >>conftest.$ac_ext
7008
 
cat >>conftest.$ac_ext <<_ACEOF
7009
 
/* end confdefs.h.  */
7010
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7011
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7012
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7013
 
 
7014
 
/* System header to define __stub macros and hopefully few prototypes,
7015
 
    which can conflict with char bind_textdomain_codeset (); below.
7016
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7017
 
    <limits.h> exists even on freestanding compilers.  */
7018
 
 
7019
 
#ifdef __STDC__
7020
 
# include <limits.h>
7021
 
#else
7022
 
# include <assert.h>
7023
 
#endif
7024
 
 
7025
 
#undef bind_textdomain_codeset
7026
 
 
7027
 
/* Override any GCC internal prototype to avoid an error.
7028
 
   Use char because int might match the return type of a GCC
7029
 
   builtin and then its argument prototype would still apply.  */
7030
 
#ifdef __cplusplus
7031
 
extern "C"
7032
 
#endif
7033
 
char bind_textdomain_codeset ();
7034
 
/* The GNU C library defines this for functions which it implements
7035
 
    to always fail with ENOSYS.  Some functions are actually named
7036
 
    something starting with __ and the normal name is an alias.  */
7037
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7038
 
choke me
7039
 
#endif
7040
 
 
7041
 
int
7042
 
main ()
7043
 
{
7044
 
return bind_textdomain_codeset ();
7045
 
  ;
7046
 
  return 0;
7047
 
}
7048
 
_ACEOF
7049
 
rm -f conftest.$ac_objext conftest$ac_exeext
7050
 
if { (ac_try="$ac_link"
7051
 
case "(($ac_try" in
7052
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7053
 
  *) ac_try_echo=$ac_try;;
7054
 
esac
7055
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7056
 
$as_echo "$ac_try_echo") >&5
7057
 
  (eval "$ac_link") 2>conftest.er1
7058
 
  ac_status=$?
7059
 
  grep -v '^ *+' conftest.er1 >conftest.err
7060
 
  rm -f conftest.er1
7061
 
  cat conftest.err >&5
7062
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063
 
  (exit $ac_status); } && {
7064
 
         test -z "$ac_c_werror_flag" ||
7065
 
         test ! -s conftest.err
7066
 
       } && test -s conftest$ac_exeext && {
7067
 
         test "$cross_compiling" = yes ||
7068
 
         $as_test_x conftest$ac_exeext
7069
 
       }; then
7070
 
  ac_cv_func_bind_textdomain_codeset=yes
7071
 
else
7072
 
  $as_echo "$as_me: failed program was:" >&5
7073
 
sed 's/^/| /' conftest.$ac_ext >&5
7074
 
 
7075
 
        ac_cv_func_bind_textdomain_codeset=no
7076
 
fi
7077
 
 
7078
 
rm -rf conftest.dSYM
7079
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7080
 
      conftest$ac_exeext conftest.$ac_ext
7081
 
fi
7082
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7083
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
7084
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
6242
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
6243
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
7085
6244
  DATADIRNAME=share
7086
6245
else
7087
6246
  DATADIRNAME=lib
7093
6252
    ;;
7094
6253
    esac
7095
6254
fi
7096
 
 
7097
 
rm -rf conftest.dSYM
7098
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7099
 
      conftest$ac_exeext conftest.$ac_ext
 
6255
rm -f core conftest.err conftest.$ac_objext \
 
6256
    conftest$ac_exeext conftest.$ac_ext
7100
6257
fi
7101
6258
 
7102
6259
 
7108
6265
#               Initialize libtool                      #
7109
6266
# ===================================================== #
7110
6267
# Check whether --enable-static was given.
7111
 
if test "${enable_static+set}" = set; then
 
6268
if test "${enable_static+set}" = set; then :
7112
6269
  enableval=$enable_static; p=${PACKAGE-default}
7113
6270
    case $enableval in
7114
6271
    yes) enable_static=yes ;;
7140
6297
 
7141
6298
case `pwd` in
7142
6299
  *\ * | *\     *)
7143
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
6300
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7144
6301
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7145
6302
esac
7146
6303
 
7163
6320
 
7164
6321
ltmain="$ac_aux_dir/ltmain.sh"
7165
6322
 
7166
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7167
6324
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7168
 
if test "${lt_cv_path_NM+set}" = set; then
 
6325
if test "${lt_cv_path_NM+set}" = set; then :
7169
6326
  $as_echo_n "(cached) " >&6
7170
6327
else
7171
6328
  if test -n "$NM"; then
7212
6369
  : ${lt_cv_path_NM=no}
7213
6370
fi
7214
6371
fi
7215
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
6372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7216
6373
$as_echo "$lt_cv_path_NM" >&6; }
7217
6374
if test "$lt_cv_path_NM" != "no"; then
7218
6375
  NM="$lt_cv_path_NM"
7223
6380
  do
7224
6381
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7225
6382
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7226
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227
6384
$as_echo_n "checking for $ac_word... " >&6; }
7228
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
6385
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7229
6386
  $as_echo_n "(cached) " >&6
7230
6387
else
7231
6388
  if test -n "$DUMPBIN"; then
7236
6393
do
7237
6394
  IFS=$as_save_IFS
7238
6395
  test -z "$as_dir" && as_dir=.
7239
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6396
    for ac_exec_ext in '' $ac_executable_extensions; do
7240
6397
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7241
6398
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7242
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6399
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7243
6400
    break 2
7244
6401
  fi
7245
6402
done
7246
 
done
 
6403
  done
7247
6404
IFS=$as_save_IFS
7248
6405
 
7249
6406
fi
7250
6407
fi
7251
6408
DUMPBIN=$ac_cv_prog_DUMPBIN
7252
6409
if test -n "$DUMPBIN"; then
7253
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
6410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7254
6411
$as_echo "$DUMPBIN" >&6; }
7255
6412
else
7256
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6413
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7257
6414
$as_echo "no" >&6; }
7258
6415
fi
7259
6416
 
7267
6424
do
7268
6425
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7269
6426
set dummy $ac_prog; ac_word=$2
7270
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271
6428
$as_echo_n "checking for $ac_word... " >&6; }
7272
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
6429
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7273
6430
  $as_echo_n "(cached) " >&6
7274
6431
else
7275
6432
  if test -n "$ac_ct_DUMPBIN"; then
7280
6437
do
7281
6438
  IFS=$as_save_IFS
7282
6439
  test -z "$as_dir" && as_dir=.
7283
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6440
    for ac_exec_ext in '' $ac_executable_extensions; do
7284
6441
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285
6442
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7286
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6443
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287
6444
    break 2
7288
6445
  fi
7289
6446
done
7290
 
done
 
6447
  done
7291
6448
IFS=$as_save_IFS
7292
6449
 
7293
6450
fi
7294
6451
fi
7295
6452
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7296
6453
if test -n "$ac_ct_DUMPBIN"; then
7297
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
6454
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7298
6455
$as_echo "$ac_ct_DUMPBIN" >&6; }
7299
6456
else
7300
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6457
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301
6458
$as_echo "no" >&6; }
7302
6459
fi
7303
6460
 
7310
6467
  else
7311
6468
    case $cross_compiling:$ac_tool_warned in
7312
6469
yes:)
7313
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6470
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7314
6471
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315
6472
ac_tool_warned=yes ;;
7316
6473
esac
7330
6487
 
7331
6488
 
7332
6489
 
7333
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
6490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7334
6491
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7335
 
if test "${lt_cv_nm_interface+set}" = set; then
 
6492
if test "${lt_cv_nm_interface+set}" = set; then :
7336
6493
  $as_echo_n "(cached) " >&6
7337
6494
else
7338
6495
  lt_cv_nm_interface="BSD nm"
7339
6496
  echo "int some_variable = 0;" > conftest.$ac_ext
7340
 
  (eval echo "\"\$as_me:7340: $ac_compile\"" >&5)
 
6497
  (eval echo "\"\$as_me:6497: $ac_compile\"" >&5)
7341
6498
  (eval "$ac_compile" 2>conftest.err)
7342
6499
  cat conftest.err >&5
7343
 
  (eval echo "\"\$as_me:7343: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6500
  (eval echo "\"\$as_me:6500: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7344
6501
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7345
6502
  cat conftest.err >&5
7346
 
  (eval echo "\"\$as_me:7346: output\"" >&5)
 
6503
  (eval echo "\"\$as_me:6503: output\"" >&5)
7347
6504
  cat conftest.out >&5
7348
6505
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7349
6506
    lt_cv_nm_interface="MS dumpbin"
7350
6507
  fi
7351
6508
  rm -f conftest*
7352
6509
fi
7353
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
6510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7354
6511
$as_echo "$lt_cv_nm_interface" >&6; }
7355
6512
 
7356
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
6513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7357
6514
$as_echo_n "checking whether ln -s works... " >&6; }
7358
6515
LN_S=$as_ln_s
7359
6516
if test "$LN_S" = "ln -s"; then
7360
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
6517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7361
6518
$as_echo "yes" >&6; }
7362
6519
else
7363
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
6520
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7364
6521
$as_echo "no, using $LN_S" >&6; }
7365
6522
fi
7366
6523
 
7367
6524
# find the maximum length of command line arguments
7368
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7369
6526
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7370
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
6527
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7371
6528
  $as_echo_n "(cached) " >&6
7372
6529
else
7373
6530
    i=0
7485
6642
fi
7486
6643
 
7487
6644
if test -n $lt_cv_sys_max_cmd_len ; then
7488
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6645
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7489
6646
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7490
6647
else
7491
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7492
6649
$as_echo "none" >&6; }
7493
6650
fi
7494
6651
max_cmd_len=$lt_cv_sys_max_cmd_len
7502
6659
: ${MV="mv -f"}
7503
6660
: ${RM="rm -f"}
7504
6661
 
7505
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
6662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7506
6663
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7507
6664
# Try some XSI features
7508
6665
xsi_shell=no
7512
6669
    && eval 'test $(( 1 + 1 )) -eq 2 \
7513
6670
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7514
6671
  && xsi_shell=yes
7515
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
6672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7516
6673
$as_echo "$xsi_shell" >&6; }
7517
6674
 
7518
6675
 
7519
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
6676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7520
6677
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7521
6678
lt_shell_append=no
7522
6679
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7523
6680
    >/dev/null 2>&1 \
7524
6681
  && lt_shell_append=yes
7525
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
6682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7526
6683
$as_echo "$lt_shell_append" >&6; }
7527
6684
 
7528
6685
 
7557
6714
 
7558
6715
 
7559
6716
 
7560
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7561
6718
$as_echo_n "checking for $LD option to reload object files... " >&6; }
7562
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6719
if test "${lt_cv_ld_reload_flag+set}" = set; then :
7563
6720
  $as_echo_n "(cached) " >&6
7564
6721
else
7565
6722
  lt_cv_ld_reload_flag='-r'
7566
6723
fi
7567
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7568
6725
$as_echo "$lt_cv_ld_reload_flag" >&6; }
7569
6726
reload_flag=$lt_cv_ld_reload_flag
7570
6727
case $reload_flag in
7593
6750
if test -n "$ac_tool_prefix"; then
7594
6751
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7595
6752
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7596
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7597
6754
$as_echo_n "checking for $ac_word... " >&6; }
7598
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
6755
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7599
6756
  $as_echo_n "(cached) " >&6
7600
6757
else
7601
6758
  if test -n "$OBJDUMP"; then
7606
6763
do
7607
6764
  IFS=$as_save_IFS
7608
6765
  test -z "$as_dir" && as_dir=.
7609
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6766
    for ac_exec_ext in '' $ac_executable_extensions; do
7610
6767
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7611
6768
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7612
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6769
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7613
6770
    break 2
7614
6771
  fi
7615
6772
done
7616
 
done
 
6773
  done
7617
6774
IFS=$as_save_IFS
7618
6775
 
7619
6776
fi
7620
6777
fi
7621
6778
OBJDUMP=$ac_cv_prog_OBJDUMP
7622
6779
if test -n "$OBJDUMP"; then
7623
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6780
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7624
6781
$as_echo "$OBJDUMP" >&6; }
7625
6782
else
7626
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6783
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7627
6784
$as_echo "no" >&6; }
7628
6785
fi
7629
6786
 
7633
6790
  ac_ct_OBJDUMP=$OBJDUMP
7634
6791
  # Extract the first word of "objdump", so it can be a program name with args.
7635
6792
set dummy objdump; ac_word=$2
7636
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7637
6794
$as_echo_n "checking for $ac_word... " >&6; }
7638
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6795
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7639
6796
  $as_echo_n "(cached) " >&6
7640
6797
else
7641
6798
  if test -n "$ac_ct_OBJDUMP"; then
7646
6803
do
7647
6804
  IFS=$as_save_IFS
7648
6805
  test -z "$as_dir" && as_dir=.
7649
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6806
    for ac_exec_ext in '' $ac_executable_extensions; do
7650
6807
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7651
6808
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7652
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6809
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7653
6810
    break 2
7654
6811
  fi
7655
6812
done
7656
 
done
 
6813
  done
7657
6814
IFS=$as_save_IFS
7658
6815
 
7659
6816
fi
7660
6817
fi
7661
6818
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7662
6819
if test -n "$ac_ct_OBJDUMP"; then
7663
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7664
6821
$as_echo "$ac_ct_OBJDUMP" >&6; }
7665
6822
else
7666
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6823
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7667
6824
$as_echo "no" >&6; }
7668
6825
fi
7669
6826
 
7672
6829
  else
7673
6830
    case $cross_compiling:$ac_tool_warned in
7674
6831
yes:)
7675
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6832
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7676
6833
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7677
6834
ac_tool_warned=yes ;;
7678
6835
esac
7692
6849
 
7693
6850
 
7694
6851
 
7695
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7696
6853
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7697
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
6854
if test "${lt_cv_deplibs_check_method+set}" = set; then :
7698
6855
  $as_echo_n "(cached) " >&6
7699
6856
else
7700
6857
  lt_cv_file_magic_cmd='$MAGIC_CMD'
7813
6970
  lt_cv_deplibs_check_method=pass_all
7814
6971
  ;;
7815
6972
 
7816
 
netbsd* | netbsdelf*-gnu)
 
6973
netbsd*)
7817
6974
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7818
6975
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7819
6976
  else
7888
7045
esac
7889
7046
 
7890
7047
fi
7891
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
7048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7892
7049
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7893
7050
file_magic_cmd=$lt_cv_file_magic_cmd
7894
7051
deplibs_check_method=$lt_cv_deplibs_check_method
7908
7065
if test -n "$ac_tool_prefix"; then
7909
7066
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7910
7067
set dummy ${ac_tool_prefix}ar; ac_word=$2
7911
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7912
7069
$as_echo_n "checking for $ac_word... " >&6; }
7913
 
if test "${ac_cv_prog_AR+set}" = set; then
 
7070
if test "${ac_cv_prog_AR+set}" = set; then :
7914
7071
  $as_echo_n "(cached) " >&6
7915
7072
else
7916
7073
  if test -n "$AR"; then
7921
7078
do
7922
7079
  IFS=$as_save_IFS
7923
7080
  test -z "$as_dir" && as_dir=.
7924
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7081
    for ac_exec_ext in '' $ac_executable_extensions; do
7925
7082
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7926
7083
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7927
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7084
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7928
7085
    break 2
7929
7086
  fi
7930
7087
done
7931
 
done
 
7088
  done
7932
7089
IFS=$as_save_IFS
7933
7090
 
7934
7091
fi
7935
7092
fi
7936
7093
AR=$ac_cv_prog_AR
7937
7094
if test -n "$AR"; then
7938
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
7095
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7939
7096
$as_echo "$AR" >&6; }
7940
7097
else
7941
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942
7099
$as_echo "no" >&6; }
7943
7100
fi
7944
7101
 
7948
7105
  ac_ct_AR=$AR
7949
7106
  # Extract the first word of "ar", so it can be a program name with args.
7950
7107
set dummy ar; ac_word=$2
7951
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7952
7109
$as_echo_n "checking for $ac_word... " >&6; }
7953
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
7110
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7954
7111
  $as_echo_n "(cached) " >&6
7955
7112
else
7956
7113
  if test -n "$ac_ct_AR"; then
7961
7118
do
7962
7119
  IFS=$as_save_IFS
7963
7120
  test -z "$as_dir" && as_dir=.
7964
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7121
    for ac_exec_ext in '' $ac_executable_extensions; do
7965
7122
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7966
7123
    ac_cv_prog_ac_ct_AR="ar"
7967
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7124
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968
7125
    break 2
7969
7126
  fi
7970
7127
done
7971
 
done
 
7128
  done
7972
7129
IFS=$as_save_IFS
7973
7130
 
7974
7131
fi
7975
7132
fi
7976
7133
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7977
7134
if test -n "$ac_ct_AR"; then
7978
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7979
7136
$as_echo "$ac_ct_AR" >&6; }
7980
7137
else
7981
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7982
7139
$as_echo "no" >&6; }
7983
7140
fi
7984
7141
 
7987
7144
  else
7988
7145
    case $cross_compiling:$ac_tool_warned in
7989
7146
yes:)
7990
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7147
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7991
7148
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7992
7149
ac_tool_warned=yes ;;
7993
7150
esac
8013
7170
if test -n "$ac_tool_prefix"; then
8014
7171
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8015
7172
set dummy ${ac_tool_prefix}strip; ac_word=$2
8016
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017
7174
$as_echo_n "checking for $ac_word... " >&6; }
8018
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
7175
if test "${ac_cv_prog_STRIP+set}" = set; then :
8019
7176
  $as_echo_n "(cached) " >&6
8020
7177
else
8021
7178
  if test -n "$STRIP"; then
8026
7183
do
8027
7184
  IFS=$as_save_IFS
8028
7185
  test -z "$as_dir" && as_dir=.
8029
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7186
    for ac_exec_ext in '' $ac_executable_extensions; do
8030
7187
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8031
7188
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8032
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7189
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8033
7190
    break 2
8034
7191
  fi
8035
7192
done
8036
 
done
 
7193
  done
8037
7194
IFS=$as_save_IFS
8038
7195
 
8039
7196
fi
8040
7197
fi
8041
7198
STRIP=$ac_cv_prog_STRIP
8042
7199
if test -n "$STRIP"; then
8043
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
7200
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8044
7201
$as_echo "$STRIP" >&6; }
8045
7202
else
8046
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7203
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047
7204
$as_echo "no" >&6; }
8048
7205
fi
8049
7206
 
8053
7210
  ac_ct_STRIP=$STRIP
8054
7211
  # Extract the first word of "strip", so it can be a program name with args.
8055
7212
set dummy strip; ac_word=$2
8056
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8057
7214
$as_echo_n "checking for $ac_word... " >&6; }
8058
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
7215
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8059
7216
  $as_echo_n "(cached) " >&6
8060
7217
else
8061
7218
  if test -n "$ac_ct_STRIP"; then
8066
7223
do
8067
7224
  IFS=$as_save_IFS
8068
7225
  test -z "$as_dir" && as_dir=.
8069
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7226
    for ac_exec_ext in '' $ac_executable_extensions; do
8070
7227
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8071
7228
    ac_cv_prog_ac_ct_STRIP="strip"
8072
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7229
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8073
7230
    break 2
8074
7231
  fi
8075
7232
done
8076
 
done
 
7233
  done
8077
7234
IFS=$as_save_IFS
8078
7235
 
8079
7236
fi
8080
7237
fi
8081
7238
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8082
7239
if test -n "$ac_ct_STRIP"; then
8083
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8084
7241
$as_echo "$ac_ct_STRIP" >&6; }
8085
7242
else
8086
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7243
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087
7244
$as_echo "no" >&6; }
8088
7245
fi
8089
7246
 
8092
7249
  else
8093
7250
    case $cross_compiling:$ac_tool_warned in
8094
7251
yes:)
8095
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7252
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8096
7253
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8097
7254
ac_tool_warned=yes ;;
8098
7255
esac
8112
7269
if test -n "$ac_tool_prefix"; then
8113
7270
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8114
7271
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8115
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8116
7273
$as_echo_n "checking for $ac_word... " >&6; }
8117
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
7274
if test "${ac_cv_prog_RANLIB+set}" = set; then :
8118
7275
  $as_echo_n "(cached) " >&6
8119
7276
else
8120
7277
  if test -n "$RANLIB"; then
8125
7282
do
8126
7283
  IFS=$as_save_IFS
8127
7284
  test -z "$as_dir" && as_dir=.
8128
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7285
    for ac_exec_ext in '' $ac_executable_extensions; do
8129
7286
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8130
7287
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8131
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7288
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8132
7289
    break 2
8133
7290
  fi
8134
7291
done
8135
 
done
 
7292
  done
8136
7293
IFS=$as_save_IFS
8137
7294
 
8138
7295
fi
8139
7296
fi
8140
7297
RANLIB=$ac_cv_prog_RANLIB
8141
7298
if test -n "$RANLIB"; then
8142
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7299
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8143
7300
$as_echo "$RANLIB" >&6; }
8144
7301
else
8145
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8146
7303
$as_echo "no" >&6; }
8147
7304
fi
8148
7305
 
8152
7309
  ac_ct_RANLIB=$RANLIB
8153
7310
  # Extract the first word of "ranlib", so it can be a program name with args.
8154
7311
set dummy ranlib; ac_word=$2
8155
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8156
7313
$as_echo_n "checking for $ac_word... " >&6; }
8157
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
7314
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8158
7315
  $as_echo_n "(cached) " >&6
8159
7316
else
8160
7317
  if test -n "$ac_ct_RANLIB"; then
8165
7322
do
8166
7323
  IFS=$as_save_IFS
8167
7324
  test -z "$as_dir" && as_dir=.
8168
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7325
    for ac_exec_ext in '' $ac_executable_extensions; do
8169
7326
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8170
7327
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8171
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7328
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8172
7329
    break 2
8173
7330
  fi
8174
7331
done
8175
 
done
 
7332
  done
8176
7333
IFS=$as_save_IFS
8177
7334
 
8178
7335
fi
8179
7336
fi
8180
7337
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8181
7338
if test -n "$ac_ct_RANLIB"; then
8182
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7339
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8183
7340
$as_echo "$ac_ct_RANLIB" >&6; }
8184
7341
else
8185
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7342
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8186
7343
$as_echo "no" >&6; }
8187
7344
fi
8188
7345
 
8191
7348
  else
8192
7349
    case $cross_compiling:$ac_tool_warned in
8193
7350
yes:)
8194
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7351
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8195
7352
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8196
7353
ac_tool_warned=yes ;;
8197
7354
esac
8269
7426
 
8270
7427
 
8271
7428
# Check for command to grab the raw symbol name followed by C symbol from nm.
8272
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
7429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8273
7430
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8274
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
7431
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8275
7432
  $as_echo_n "(cached) " >&6
8276
7433
else
8277
7434
 
8387
7544
int main(){nm_test_var='a';nm_test_func();return(0);}
8388
7545
_LT_EOF
8389
7546
 
8390
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7547
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8391
7548
  (eval $ac_compile) 2>&5
8392
7549
  ac_status=$?
8393
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394
 
  (exit $ac_status); }; then
 
7550
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7551
  test $ac_status = 0; }; then
8395
7552
    # Now try to grab the symbols.
8396
7553
    nlist=conftest.nm
8397
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
7554
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
8398
7555
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8399
7556
  ac_status=$?
8400
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401
 
  (exit $ac_status); } && test -s "$nlist"; then
 
7557
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7558
  test $ac_status = 0; } && test -s "$nlist"; then
8402
7559
      # Try sorting and uniquifying the output.
8403
7560
      if sort "$nlist" | uniq > "$nlist"T; then
8404
7561
        mv -f "$nlist"T "$nlist"
8451
7608
          lt_save_CFLAGS="$CFLAGS"
8452
7609
          LIBS="conftstm.$ac_objext"
8453
7610
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8454
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7611
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8455
7612
  (eval $ac_link) 2>&5
8456
7613
  ac_status=$?
8457
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
7614
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7615
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8459
7616
            pipe_works=yes
8460
7617
          fi
8461
7618
          LIBS="$lt_save_LIBS"
8489
7646
  lt_cv_sys_global_symbol_to_cdecl=
8490
7647
fi
8491
7648
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8492
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
7649
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8493
7650
$as_echo "failed" >&6; }
8494
7651
else
8495
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
7652
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8496
7653
$as_echo "ok" >&6; }
8497
7654
fi
8498
7655
 
8518
7675
 
8519
7676
 
8520
7677
# Check whether --enable-libtool-lock was given.
8521
 
if test "${enable_libtool_lock+set}" = set; then
 
7678
if test "${enable_libtool_lock+set}" = set; then :
8522
7679
  enableval=$enable_libtool_lock;
8523
7680
fi
8524
7681
 
8530
7687
ia64-*-hpux*)
8531
7688
  # Find out which ABI we are using.
8532
7689
  echo 'int i;' > conftest.$ac_ext
8533
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7690
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8534
7691
  (eval $ac_compile) 2>&5
8535
7692
  ac_status=$?
8536
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537
 
  (exit $ac_status); }; then
 
7693
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7694
  test $ac_status = 0; }; then
8538
7695
    case `/usr/bin/file conftest.$ac_objext` in
8539
7696
      *ELF-32*)
8540
7697
        HPUX_IA64_MODE="32"
8548
7705
  ;;
8549
7706
*-*-irix6*)
8550
7707
  # Find out which ABI we are using.
8551
 
  echo '#line 8551 "configure"' > conftest.$ac_ext
8552
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7708
  echo '#line 7708 "configure"' > conftest.$ac_ext
 
7709
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8553
7710
  (eval $ac_compile) 2>&5
8554
7711
  ac_status=$?
8555
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556
 
  (exit $ac_status); }; then
 
7712
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7713
  test $ac_status = 0; }; then
8557
7714
    if test "$lt_cv_prog_gnu_ld" = yes; then
8558
7715
      case `/usr/bin/file conftest.$ac_objext` in
8559
7716
        *32-bit*)
8587
7744
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8588
7745
  # Find out which ABI we are using.
8589
7746
  echo 'int i;' > conftest.$ac_ext
8590
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7747
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8591
7748
  (eval $ac_compile) 2>&5
8592
7749
  ac_status=$?
8593
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594
 
  (exit $ac_status); }; then
 
7750
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7751
  test $ac_status = 0; }; then
8595
7752
    case `/usr/bin/file conftest.o` in
8596
7753
      *32-bit*)
8597
7754
        case $host in
8640
7797
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8641
7798
  SAVE_CFLAGS="$CFLAGS"
8642
7799
  CFLAGS="$CFLAGS -belf"
8643
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7800
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8644
7801
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8645
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7802
if test "${lt_cv_cc_needs_belf+set}" = set; then :
8646
7803
  $as_echo_n "(cached) " >&6
8647
7804
else
8648
7805
  ac_ext=c
8651
7808
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8652
7809
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8653
7810
 
8654
 
     cat >conftest.$ac_ext <<_ACEOF
8655
 
/* confdefs.h.  */
8656
 
_ACEOF
8657
 
cat confdefs.h >>conftest.$ac_ext
8658
 
cat >>conftest.$ac_ext <<_ACEOF
 
7811
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8659
7812
/* end confdefs.h.  */
8660
7813
 
8661
7814
int
8666
7819
  return 0;
8667
7820
}
8668
7821
_ACEOF
8669
 
rm -f conftest.$ac_objext conftest$ac_exeext
8670
 
if { (ac_try="$ac_link"
8671
 
case "(($ac_try" in
8672
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8673
 
  *) ac_try_echo=$ac_try;;
8674
 
esac
8675
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8676
 
$as_echo "$ac_try_echo") >&5
8677
 
  (eval "$ac_link") 2>conftest.er1
8678
 
  ac_status=$?
8679
 
  grep -v '^ *+' conftest.er1 >conftest.err
8680
 
  rm -f conftest.er1
8681
 
  cat conftest.err >&5
8682
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683
 
  (exit $ac_status); } && {
8684
 
         test -z "$ac_c_werror_flag" ||
8685
 
         test ! -s conftest.err
8686
 
       } && test -s conftest$ac_exeext && {
8687
 
         test "$cross_compiling" = yes ||
8688
 
         $as_test_x conftest$ac_exeext
8689
 
       }; then
 
7822
if ac_fn_c_try_link "$LINENO"; then :
8690
7823
  lt_cv_cc_needs_belf=yes
8691
7824
else
8692
 
  $as_echo "$as_me: failed program was:" >&5
8693
 
sed 's/^/| /' conftest.$ac_ext >&5
8694
 
 
8695
 
        lt_cv_cc_needs_belf=no
 
7825
  lt_cv_cc_needs_belf=no
8696
7826
fi
8697
 
 
8698
 
rm -rf conftest.dSYM
8699
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8700
 
      conftest$ac_exeext conftest.$ac_ext
 
7827
rm -f core conftest.err conftest.$ac_objext \
 
7828
    conftest$ac_exeext conftest.$ac_ext
8701
7829
     ac_ext=c
8702
7830
ac_cpp='$CPP $CPPFLAGS'
8703
7831
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8705
7833
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8706
7834
 
8707
7835
fi
8708
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8709
7837
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8710
7838
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8711
7839
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8715
7843
sparc*-*solaris*)
8716
7844
  # Find out which ABI we are using.
8717
7845
  echo 'int i;' > conftest.$ac_ext
8718
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7846
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8719
7847
  (eval $ac_compile) 2>&5
8720
7848
  ac_status=$?
8721
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722
 
  (exit $ac_status); }; then
 
7849
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7850
  test $ac_status = 0; }; then
8723
7851
    case `/usr/bin/file conftest.o` in
8724
7852
    *64-bit*)
8725
7853
      case $lt_cv_prog_gnu_ld in
8745
7873
    if test -n "$ac_tool_prefix"; then
8746
7874
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8747
7875
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8748
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8749
7877
$as_echo_n "checking for $ac_word... " >&6; }
8750
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7878
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8751
7879
  $as_echo_n "(cached) " >&6
8752
7880
else
8753
7881
  if test -n "$DSYMUTIL"; then
8758
7886
do
8759
7887
  IFS=$as_save_IFS
8760
7888
  test -z "$as_dir" && as_dir=.
8761
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7889
    for ac_exec_ext in '' $ac_executable_extensions; do
8762
7890
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8763
7891
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8764
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7892
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8765
7893
    break 2
8766
7894
  fi
8767
7895
done
8768
 
done
 
7896
  done
8769
7897
IFS=$as_save_IFS
8770
7898
 
8771
7899
fi
8772
7900
fi
8773
7901
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8774
7902
if test -n "$DSYMUTIL"; then
8775
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8776
7904
$as_echo "$DSYMUTIL" >&6; }
8777
7905
else
8778
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8779
7907
$as_echo "no" >&6; }
8780
7908
fi
8781
7909
 
8785
7913
  ac_ct_DSYMUTIL=$DSYMUTIL
8786
7914
  # Extract the first word of "dsymutil", so it can be a program name with args.
8787
7915
set dummy dsymutil; ac_word=$2
8788
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8789
7917
$as_echo_n "checking for $ac_word... " >&6; }
8790
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7918
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8791
7919
  $as_echo_n "(cached) " >&6
8792
7920
else
8793
7921
  if test -n "$ac_ct_DSYMUTIL"; then
8798
7926
do
8799
7927
  IFS=$as_save_IFS
8800
7928
  test -z "$as_dir" && as_dir=.
8801
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7929
    for ac_exec_ext in '' $ac_executable_extensions; do
8802
7930
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8803
7931
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8804
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7932
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8805
7933
    break 2
8806
7934
  fi
8807
7935
done
8808
 
done
 
7936
  done
8809
7937
IFS=$as_save_IFS
8810
7938
 
8811
7939
fi
8812
7940
fi
8813
7941
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8814
7942
if test -n "$ac_ct_DSYMUTIL"; then
8815
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8816
7944
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8817
7945
else
8818
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8819
7947
$as_echo "no" >&6; }
8820
7948
fi
8821
7949
 
8824
7952
  else
8825
7953
    case $cross_compiling:$ac_tool_warned in
8826
7954
yes:)
8827
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7955
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8828
7956
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8829
7957
ac_tool_warned=yes ;;
8830
7958
esac
8837
7965
    if test -n "$ac_tool_prefix"; then
8838
7966
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8839
7967
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8840
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8841
7969
$as_echo_n "checking for $ac_word... " >&6; }
8842
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7970
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8843
7971
  $as_echo_n "(cached) " >&6
8844
7972
else
8845
7973
  if test -n "$NMEDIT"; then
8850
7978
do
8851
7979
  IFS=$as_save_IFS
8852
7980
  test -z "$as_dir" && as_dir=.
8853
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7981
    for ac_exec_ext in '' $ac_executable_extensions; do
8854
7982
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8855
7983
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8856
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7984
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8857
7985
    break 2
8858
7986
  fi
8859
7987
done
8860
 
done
 
7988
  done
8861
7989
IFS=$as_save_IFS
8862
7990
 
8863
7991
fi
8864
7992
fi
8865
7993
NMEDIT=$ac_cv_prog_NMEDIT
8866
7994
if test -n "$NMEDIT"; then
8867
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7995
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8868
7996
$as_echo "$NMEDIT" >&6; }
8869
7997
else
8870
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7998
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8871
7999
$as_echo "no" >&6; }
8872
8000
fi
8873
8001
 
8877
8005
  ac_ct_NMEDIT=$NMEDIT
8878
8006
  # Extract the first word of "nmedit", so it can be a program name with args.
8879
8007
set dummy nmedit; ac_word=$2
8880
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8881
8009
$as_echo_n "checking for $ac_word... " >&6; }
8882
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
8010
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8883
8011
  $as_echo_n "(cached) " >&6
8884
8012
else
8885
8013
  if test -n "$ac_ct_NMEDIT"; then
8890
8018
do
8891
8019
  IFS=$as_save_IFS
8892
8020
  test -z "$as_dir" && as_dir=.
8893
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8021
    for ac_exec_ext in '' $ac_executable_extensions; do
8894
8022
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8895
8023
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8896
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8024
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8897
8025
    break 2
8898
8026
  fi
8899
8027
done
8900
 
done
 
8028
  done
8901
8029
IFS=$as_save_IFS
8902
8030
 
8903
8031
fi
8904
8032
fi
8905
8033
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8906
8034
if test -n "$ac_ct_NMEDIT"; then
8907
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
8035
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8908
8036
$as_echo "$ac_ct_NMEDIT" >&6; }
8909
8037
else
8910
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8038
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8911
8039
$as_echo "no" >&6; }
8912
8040
fi
8913
8041
 
8916
8044
  else
8917
8045
    case $cross_compiling:$ac_tool_warned in
8918
8046
yes:)
8919
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8047
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8920
8048
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8921
8049
ac_tool_warned=yes ;;
8922
8050
esac
8929
8057
    if test -n "$ac_tool_prefix"; then
8930
8058
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8931
8059
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8932
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8933
8061
$as_echo_n "checking for $ac_word... " >&6; }
8934
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
8062
if test "${ac_cv_prog_LIPO+set}" = set; then :
8935
8063
  $as_echo_n "(cached) " >&6
8936
8064
else
8937
8065
  if test -n "$LIPO"; then
8942
8070
do
8943
8071
  IFS=$as_save_IFS
8944
8072
  test -z "$as_dir" && as_dir=.
8945
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8073
    for ac_exec_ext in '' $ac_executable_extensions; do
8946
8074
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8947
8075
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8948
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8076
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8949
8077
    break 2
8950
8078
  fi
8951
8079
done
8952
 
done
 
8080
  done
8953
8081
IFS=$as_save_IFS
8954
8082
 
8955
8083
fi
8956
8084
fi
8957
8085
LIPO=$ac_cv_prog_LIPO
8958
8086
if test -n "$LIPO"; then
8959
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
8087
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8960
8088
$as_echo "$LIPO" >&6; }
8961
8089
else
8962
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8090
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8963
8091
$as_echo "no" >&6; }
8964
8092
fi
8965
8093
 
8969
8097
  ac_ct_LIPO=$LIPO
8970
8098
  # Extract the first word of "lipo", so it can be a program name with args.
8971
8099
set dummy lipo; ac_word=$2
8972
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8973
8101
$as_echo_n "checking for $ac_word... " >&6; }
8974
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
8102
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8975
8103
  $as_echo_n "(cached) " >&6
8976
8104
else
8977
8105
  if test -n "$ac_ct_LIPO"; then
8982
8110
do
8983
8111
  IFS=$as_save_IFS
8984
8112
  test -z "$as_dir" && as_dir=.
8985
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8113
    for ac_exec_ext in '' $ac_executable_extensions; do
8986
8114
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8987
8115
    ac_cv_prog_ac_ct_LIPO="lipo"
8988
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8116
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8989
8117
    break 2
8990
8118
  fi
8991
8119
done
8992
 
done
 
8120
  done
8993
8121
IFS=$as_save_IFS
8994
8122
 
8995
8123
fi
8996
8124
fi
8997
8125
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8998
8126
if test -n "$ac_ct_LIPO"; then
8999
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
8127
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9000
8128
$as_echo "$ac_ct_LIPO" >&6; }
9001
8129
else
9002
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8130
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9003
8131
$as_echo "no" >&6; }
9004
8132
fi
9005
8133
 
9008
8136
  else
9009
8137
    case $cross_compiling:$ac_tool_warned in
9010
8138
yes:)
9011
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8139
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9012
8140
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9013
8141
ac_tool_warned=yes ;;
9014
8142
esac
9021
8149
    if test -n "$ac_tool_prefix"; then
9022
8150
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9023
8151
set dummy ${ac_tool_prefix}otool; ac_word=$2
9024
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9025
8153
$as_echo_n "checking for $ac_word... " >&6; }
9026
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
8154
if test "${ac_cv_prog_OTOOL+set}" = set; then :
9027
8155
  $as_echo_n "(cached) " >&6
9028
8156
else
9029
8157
  if test -n "$OTOOL"; then
9034
8162
do
9035
8163
  IFS=$as_save_IFS
9036
8164
  test -z "$as_dir" && as_dir=.
9037
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8165
    for ac_exec_ext in '' $ac_executable_extensions; do
9038
8166
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9039
8167
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9040
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8168
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9041
8169
    break 2
9042
8170
  fi
9043
8171
done
9044
 
done
 
8172
  done
9045
8173
IFS=$as_save_IFS
9046
8174
 
9047
8175
fi
9048
8176
fi
9049
8177
OTOOL=$ac_cv_prog_OTOOL
9050
8178
if test -n "$OTOOL"; then
9051
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
8179
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9052
8180
$as_echo "$OTOOL" >&6; }
9053
8181
else
9054
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8182
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9055
8183
$as_echo "no" >&6; }
9056
8184
fi
9057
8185
 
9061
8189
  ac_ct_OTOOL=$OTOOL
9062
8190
  # Extract the first word of "otool", so it can be a program name with args.
9063
8191
set dummy otool; ac_word=$2
9064
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9065
8193
$as_echo_n "checking for $ac_word... " >&6; }
9066
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
8194
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9067
8195
  $as_echo_n "(cached) " >&6
9068
8196
else
9069
8197
  if test -n "$ac_ct_OTOOL"; then
9074
8202
do
9075
8203
  IFS=$as_save_IFS
9076
8204
  test -z "$as_dir" && as_dir=.
9077
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8205
    for ac_exec_ext in '' $ac_executable_extensions; do
9078
8206
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9079
8207
    ac_cv_prog_ac_ct_OTOOL="otool"
9080
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8208
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9081
8209
    break 2
9082
8210
  fi
9083
8211
done
9084
 
done
 
8212
  done
9085
8213
IFS=$as_save_IFS
9086
8214
 
9087
8215
fi
9088
8216
fi
9089
8217
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9090
8218
if test -n "$ac_ct_OTOOL"; then
9091
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
8219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9092
8220
$as_echo "$ac_ct_OTOOL" >&6; }
9093
8221
else
9094
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8222
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9095
8223
$as_echo "no" >&6; }
9096
8224
fi
9097
8225
 
9100
8228
  else
9101
8229
    case $cross_compiling:$ac_tool_warned in
9102
8230
yes:)
9103
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8231
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9104
8232
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9105
8233
ac_tool_warned=yes ;;
9106
8234
esac
9113
8241
    if test -n "$ac_tool_prefix"; then
9114
8242
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9115
8243
set dummy ${ac_tool_prefix}otool64; ac_word=$2
9116
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9117
8245
$as_echo_n "checking for $ac_word... " >&6; }
9118
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
8246
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9119
8247
  $as_echo_n "(cached) " >&6
9120
8248
else
9121
8249
  if test -n "$OTOOL64"; then
9126
8254
do
9127
8255
  IFS=$as_save_IFS
9128
8256
  test -z "$as_dir" && as_dir=.
9129
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8257
    for ac_exec_ext in '' $ac_executable_extensions; do
9130
8258
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9131
8259
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9132
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8260
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9133
8261
    break 2
9134
8262
  fi
9135
8263
done
9136
 
done
 
8264
  done
9137
8265
IFS=$as_save_IFS
9138
8266
 
9139
8267
fi
9140
8268
fi
9141
8269
OTOOL64=$ac_cv_prog_OTOOL64
9142
8270
if test -n "$OTOOL64"; then
9143
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
8271
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9144
8272
$as_echo "$OTOOL64" >&6; }
9145
8273
else
9146
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8274
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9147
8275
$as_echo "no" >&6; }
9148
8276
fi
9149
8277
 
9153
8281
  ac_ct_OTOOL64=$OTOOL64
9154
8282
  # Extract the first word of "otool64", so it can be a program name with args.
9155
8283
set dummy otool64; ac_word=$2
9156
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9157
8285
$as_echo_n "checking for $ac_word... " >&6; }
9158
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
8286
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9159
8287
  $as_echo_n "(cached) " >&6
9160
8288
else
9161
8289
  if test -n "$ac_ct_OTOOL64"; then
9166
8294
do
9167
8295
  IFS=$as_save_IFS
9168
8296
  test -z "$as_dir" && as_dir=.
9169
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8297
    for ac_exec_ext in '' $ac_executable_extensions; do
9170
8298
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9171
8299
    ac_cv_prog_ac_ct_OTOOL64="otool64"
9172
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8300
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9173
8301
    break 2
9174
8302
  fi
9175
8303
done
9176
 
done
 
8304
  done
9177
8305
IFS=$as_save_IFS
9178
8306
 
9179
8307
fi
9180
8308
fi
9181
8309
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9182
8310
if test -n "$ac_ct_OTOOL64"; then
9183
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
8311
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9184
8312
$as_echo "$ac_ct_OTOOL64" >&6; }
9185
8313
else
9186
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8314
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9187
8315
$as_echo "no" >&6; }
9188
8316
fi
9189
8317
 
9192
8320
  else
9193
8321
    case $cross_compiling:$ac_tool_warned in
9194
8322
yes:)
9195
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8323
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9196
8324
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9197
8325
ac_tool_warned=yes ;;
9198
8326
esac
9228
8356
 
9229
8357
 
9230
8358
 
9231
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
8359
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9232
8360
$as_echo_n "checking for -single_module linker flag... " >&6; }
9233
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
8361
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9234
8362
  $as_echo_n "(cached) " >&6
9235
8363
else
9236
8364
  lt_cv_apple_cc_single_mod=no
9255
8383
        rm -f conftest.*
9256
8384
      fi
9257
8385
fi
9258
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
8386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9259
8387
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9260
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
8388
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9261
8389
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9262
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
8390
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9263
8391
  $as_echo_n "(cached) " >&6
9264
8392
else
9265
8393
  lt_cv_ld_exported_symbols_list=no
9266
8394
      save_LDFLAGS=$LDFLAGS
9267
8395
      echo "_main" > conftest.sym
9268
8396
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9269
 
      cat >conftest.$ac_ext <<_ACEOF
9270
 
/* confdefs.h.  */
9271
 
_ACEOF
9272
 
cat confdefs.h >>conftest.$ac_ext
9273
 
cat >>conftest.$ac_ext <<_ACEOF
 
8397
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274
8398
/* end confdefs.h.  */
9275
8399
 
9276
8400
int
9281
8405
  return 0;
9282
8406
}
9283
8407
_ACEOF
9284
 
rm -f conftest.$ac_objext conftest$ac_exeext
9285
 
if { (ac_try="$ac_link"
9286
 
case "(($ac_try" in
9287
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9288
 
  *) ac_try_echo=$ac_try;;
9289
 
esac
9290
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9291
 
$as_echo "$ac_try_echo") >&5
9292
 
  (eval "$ac_link") 2>conftest.er1
9293
 
  ac_status=$?
9294
 
  grep -v '^ *+' conftest.er1 >conftest.err
9295
 
  rm -f conftest.er1
9296
 
  cat conftest.err >&5
9297
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9298
 
  (exit $ac_status); } && {
9299
 
         test -z "$ac_c_werror_flag" ||
9300
 
         test ! -s conftest.err
9301
 
       } && test -s conftest$ac_exeext && {
9302
 
         test "$cross_compiling" = yes ||
9303
 
         $as_test_x conftest$ac_exeext
9304
 
       }; then
 
8408
if ac_fn_c_try_link "$LINENO"; then :
9305
8409
  lt_cv_ld_exported_symbols_list=yes
9306
8410
else
9307
 
  $as_echo "$as_me: failed program was:" >&5
9308
 
sed 's/^/| /' conftest.$ac_ext >&5
9309
 
 
9310
 
        lt_cv_ld_exported_symbols_list=no
 
8411
  lt_cv_ld_exported_symbols_list=no
9311
8412
fi
9312
 
 
9313
 
rm -rf conftest.dSYM
9314
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9315
 
      conftest$ac_exeext conftest.$ac_ext
 
8413
rm -f core conftest.err conftest.$ac_objext \
 
8414
    conftest$ac_exeext conftest.$ac_ext
9316
8415
        LDFLAGS="$save_LDFLAGS"
9317
8416
 
9318
8417
fi
9319
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
8418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9320
8419
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9321
8420
    case $host_os in
9322
8421
    rhapsody* | darwin1.[012])
9353
8452
    ;;
9354
8453
  esac
9355
8454
 
9356
 
 
9357
8455
for ac_header in dlfcn.h
9358
 
do
9359
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9360
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9361
 
$as_echo_n "checking for $ac_header... " >&6; }
9362
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9363
 
  $as_echo_n "(cached) " >&6
9364
 
else
9365
 
  cat >conftest.$ac_ext <<_ACEOF
9366
 
/* confdefs.h.  */
9367
 
_ACEOF
9368
 
cat confdefs.h >>conftest.$ac_ext
9369
 
cat >>conftest.$ac_ext <<_ACEOF
9370
 
/* end confdefs.h.  */
9371
 
$ac_includes_default
9372
 
 
9373
 
#include <$ac_header>
9374
 
_ACEOF
9375
 
rm -f conftest.$ac_objext
9376
 
if { (ac_try="$ac_compile"
9377
 
case "(($ac_try" in
9378
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9379
 
  *) ac_try_echo=$ac_try;;
9380
 
esac
9381
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9382
 
$as_echo "$ac_try_echo") >&5
9383
 
  (eval "$ac_compile") 2>conftest.er1
9384
 
  ac_status=$?
9385
 
  grep -v '^ *+' conftest.er1 >conftest.err
9386
 
  rm -f conftest.er1
9387
 
  cat conftest.err >&5
9388
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389
 
  (exit $ac_status); } && {
9390
 
         test -z "$ac_c_werror_flag" ||
9391
 
         test ! -s conftest.err
9392
 
       } && test -s conftest.$ac_objext; then
9393
 
  eval "$as_ac_Header=yes"
9394
 
else
9395
 
  $as_echo "$as_me: failed program was:" >&5
9396
 
sed 's/^/| /' conftest.$ac_ext >&5
9397
 
 
9398
 
        eval "$as_ac_Header=no"
9399
 
fi
9400
 
 
9401
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9402
 
fi
9403
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
9404
 
                 $as_echo "$as_val"'`
9405
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9406
 
$as_echo "$ac_res" >&6; }
9407
 
as_val=`eval 'as_val=${'$as_ac_Header'}
9408
 
                 $as_echo "$as_val"'`
9409
 
   if test "x$as_val" = x""yes; then
 
8456
do :
 
8457
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
8458
"
 
8459
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
9410
8460
  cat >>confdefs.h <<_ACEOF
9411
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8461
#define HAVE_DLFCN_H 1
9412
8462
_ACEOF
9413
8463
 
9414
8464
fi
9428
8478
 
9429
8479
 
9430
8480
            # Check whether --enable-shared was given.
9431
 
if test "${enable_shared+set}" = set; then
 
8481
if test "${enable_shared+set}" = set; then :
9432
8482
  enableval=$enable_shared; p=${PACKAGE-default}
9433
8483
    case $enableval in
9434
8484
    yes) enable_shared=yes ;;
9461
8511
 
9462
8512
 
9463
8513
# Check whether --with-pic was given.
9464
 
if test "${with_pic+set}" = set; then
 
8514
if test "${with_pic+set}" = set; then :
9465
8515
  withval=$with_pic; pic_mode="$withval"
9466
8516
else
9467
8517
  pic_mode=default
9477
8527
 
9478
8528
 
9479
8529
  # Check whether --enable-fast-install was given.
9480
 
if test "${enable_fast_install+set}" = set; then
 
8530
if test "${enable_fast_install+set}" = set; then :
9481
8531
  enableval=$enable_fast_install; p=${PACKAGE-default}
9482
8532
    case $enableval in
9483
8533
    yes) enable_fast_install=yes ;;
9558
8608
   setopt NO_GLOB_SUBST
9559
8609
fi
9560
8610
 
9561
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9562
8612
$as_echo_n "checking for objdir... " >&6; }
9563
 
if test "${lt_cv_objdir+set}" = set; then
 
8613
if test "${lt_cv_objdir+set}" = set; then :
9564
8614
  $as_echo_n "(cached) " >&6
9565
8615
else
9566
8616
  rm -f .libs 2>/dev/null
9573
8623
fi
9574
8624
rmdir .libs 2>/dev/null
9575
8625
fi
9576
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9577
8627
$as_echo "$lt_cv_objdir" >&6; }
9578
8628
objdir=$lt_cv_objdir
9579
8629
 
9666
8716
case $deplibs_check_method in
9667
8717
file_magic*)
9668
8718
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9669
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8719
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9670
8720
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9671
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8721
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9672
8722
  $as_echo_n "(cached) " >&6
9673
8723
else
9674
8724
  case $MAGIC_CMD in
9719
8769
 
9720
8770
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9721
8771
if test -n "$MAGIC_CMD"; then
9722
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8772
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9723
8773
$as_echo "$MAGIC_CMD" >&6; }
9724
8774
else
9725
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8775
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9726
8776
$as_echo "no" >&6; }
9727
8777
fi
9728
8778
 
9732
8782
 
9733
8783
if test -z "$lt_cv_path_MAGIC_CMD"; then
9734
8784
  if test -n "$ac_tool_prefix"; then
9735
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8785
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9736
8786
$as_echo_n "checking for file... " >&6; }
9737
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8787
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9738
8788
  $as_echo_n "(cached) " >&6
9739
8789
else
9740
8790
  case $MAGIC_CMD in
9785
8835
 
9786
8836
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9787
8837
if test -n "$MAGIC_CMD"; then
9788
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8838
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9789
8839
$as_echo "$MAGIC_CMD" >&6; }
9790
8840
else
9791
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8841
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9792
8842
$as_echo "no" >&6; }
9793
8843
fi
9794
8844
 
9865
8915
if test "$GCC" = yes; then
9866
8916
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9867
8917
 
9868
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8918
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9869
8919
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9870
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
8920
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9871
8921
  $as_echo_n "(cached) " >&6
9872
8922
else
9873
8923
  lt_cv_prog_compiler_rtti_exceptions=no
9883
8933
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9884
8934
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9885
8935
   -e 's:$: $lt_compiler_flag:'`
9886
 
   (eval echo "\"\$as_me:9886: $lt_compile\"" >&5)
 
8936
   (eval echo "\"\$as_me:8936: $lt_compile\"" >&5)
9887
8937
   (eval "$lt_compile" 2>conftest.err)
9888
8938
   ac_status=$?
9889
8939
   cat conftest.err >&5
9890
 
   echo "$as_me:9890: \$? = $ac_status" >&5
 
8940
   echo "$as_me:8940: \$? = $ac_status" >&5
9891
8941
   if (exit $ac_status) && test -s "$ac_outfile"; then
9892
8942
     # The compiler can only warn and ignore the option if not recognized
9893
8943
     # So say no if there are warnings other than the usual output.
9900
8950
   $RM conftest*
9901
8951
 
9902
8952
fi
9903
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9904
8954
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9905
8955
 
9906
8956
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9920
8970
lt_prog_compiler_pic=
9921
8971
lt_prog_compiler_static=
9922
8972
 
9923
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9924
8974
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9925
8975
 
9926
8976
  if test "$GCC" = yes; then
10192
9242
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10193
9243
    ;;
10194
9244
esac
10195
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
9245
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10196
9246
$as_echo "$lt_prog_compiler_pic" >&6; }
10197
9247
 
10198
9248
 
10204
9254
# Check to make sure the PIC flag actually works.
10205
9255
#
10206
9256
if test -n "$lt_prog_compiler_pic"; then
10207
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9257
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10208
9258
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10209
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
9259
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
10210
9260
  $as_echo_n "(cached) " >&6
10211
9261
else
10212
9262
  lt_cv_prog_compiler_pic_works=no
10222
9272
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10223
9273
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10224
9274
   -e 's:$: $lt_compiler_flag:'`
10225
 
   (eval echo "\"\$as_me:10225: $lt_compile\"" >&5)
 
9275
   (eval echo "\"\$as_me:9275: $lt_compile\"" >&5)
10226
9276
   (eval "$lt_compile" 2>conftest.err)
10227
9277
   ac_status=$?
10228
9278
   cat conftest.err >&5
10229
 
   echo "$as_me:10229: \$? = $ac_status" >&5
 
9279
   echo "$as_me:9279: \$? = $ac_status" >&5
10230
9280
   if (exit $ac_status) && test -s "$ac_outfile"; then
10231
9281
     # The compiler can only warn and ignore the option if not recognized
10232
9282
     # So say no if there are warnings other than the usual output.
10239
9289
   $RM conftest*
10240
9290
 
10241
9291
fi
10242
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
9292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10243
9293
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10244
9294
 
10245
9295
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10263
9313
# Check to make sure the static flag actually works.
10264
9314
#
10265
9315
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10266
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10267
9317
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10268
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
9318
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
10269
9319
  $as_echo_n "(cached) " >&6
10270
9320
else
10271
9321
  lt_cv_prog_compiler_static_works=no
10291
9341
   LDFLAGS="$save_LDFLAGS"
10292
9342
 
10293
9343
fi
10294
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10295
9345
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10296
9346
 
10297
9347
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10306
9356
 
10307
9357
 
10308
9358
 
10309
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9359
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10310
9360
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10311
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9361
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10312
9362
  $as_echo_n "(cached) " >&6
10313
9363
else
10314
9364
  lt_cv_prog_compiler_c_o=no
10327
9377
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10328
9378
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10329
9379
   -e 's:$: $lt_compiler_flag:'`
10330
 
   (eval echo "\"\$as_me:10330: $lt_compile\"" >&5)
 
9380
   (eval echo "\"\$as_me:9380: $lt_compile\"" >&5)
10331
9381
   (eval "$lt_compile" 2>out/conftest.err)
10332
9382
   ac_status=$?
10333
9383
   cat out/conftest.err >&5
10334
 
   echo "$as_me:10334: \$? = $ac_status" >&5
 
9384
   echo "$as_me:9384: \$? = $ac_status" >&5
10335
9385
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10336
9386
   then
10337
9387
     # The compiler can only warn and ignore the option if not recognized
10353
9403
   $RM conftest*
10354
9404
 
10355
9405
fi
10356
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10357
9407
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10358
9408
 
10359
9409
 
10361
9411
 
10362
9412
 
10363
9413
 
10364
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9414
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10365
9415
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10366
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9416
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10367
9417
  $as_echo_n "(cached) " >&6
10368
9418
else
10369
9419
  lt_cv_prog_compiler_c_o=no
10382
9432
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10383
9433
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10384
9434
   -e 's:$: $lt_compiler_flag:'`
10385
 
   (eval echo "\"\$as_me:10385: $lt_compile\"" >&5)
 
9435
   (eval echo "\"\$as_me:9435: $lt_compile\"" >&5)
10386
9436
   (eval "$lt_compile" 2>out/conftest.err)
10387
9437
   ac_status=$?
10388
9438
   cat out/conftest.err >&5
10389
 
   echo "$as_me:10389: \$? = $ac_status" >&5
 
9439
   echo "$as_me:9439: \$? = $ac_status" >&5
10390
9440
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10391
9441
   then
10392
9442
     # The compiler can only warn and ignore the option if not recognized
10408
9458
   $RM conftest*
10409
9459
 
10410
9460
fi
10411
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10412
9462
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10413
9463
 
10414
9464
 
10417
9467
hard_links="nottested"
10418
9468
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10419
9469
  # do not overwrite the value of need_locks provided by the user
10420
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9470
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10421
9471
$as_echo_n "checking if we can lock with hard links... " >&6; }
10422
9472
  hard_links=yes
10423
9473
  $RM conftest*
10425
9475
  touch conftest.a
10426
9476
  ln conftest.a conftest.b 2>&5 || hard_links=no
10427
9477
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10428
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9478
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10429
9479
$as_echo "$hard_links" >&6; }
10430
9480
  if test "$hard_links" = no; then
10431
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9481
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10432
9482
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10433
9483
    need_locks=warn
10434
9484
  fi
10441
9491
 
10442
9492
 
10443
9493
 
10444
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9494
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10445
9495
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10446
9496
 
10447
9497
  runpath_var=
10683
9733
      fi
10684
9734
      ;;
10685
9735
 
10686
 
    netbsd* | netbsdelf*-gnu)
 
9736
    netbsd*)
10687
9737
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10688
9738
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10689
9739
        wlarc=
10858
9908
        if test "$aix_use_runtimelinking" = yes; then
10859
9909
          shared_flag="$shared_flag "'${wl}-G'
10860
9910
        fi
10861
 
        link_all_deplibs=no
10862
9911
      else
10863
9912
        # not using gcc
10864
9913
        if test "$host_cpu" = ia64; then
10884
9933
        allow_undefined_flag='-berok'
10885
9934
        # Determine the default libpath from the value encoded in an
10886
9935
        # empty executable.
10887
 
        cat >conftest.$ac_ext <<_ACEOF
10888
 
/* confdefs.h.  */
10889
 
_ACEOF
10890
 
cat confdefs.h >>conftest.$ac_ext
10891
 
cat >>conftest.$ac_ext <<_ACEOF
 
9936
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892
9937
/* end confdefs.h.  */
10893
9938
 
10894
9939
int
10899
9944
  return 0;
10900
9945
}
10901
9946
_ACEOF
10902
 
rm -f conftest.$ac_objext conftest$ac_exeext
10903
 
if { (ac_try="$ac_link"
10904
 
case "(($ac_try" in
10905
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10906
 
  *) ac_try_echo=$ac_try;;
10907
 
esac
10908
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10909
 
$as_echo "$ac_try_echo") >&5
10910
 
  (eval "$ac_link") 2>conftest.er1
10911
 
  ac_status=$?
10912
 
  grep -v '^ *+' conftest.er1 >conftest.err
10913
 
  rm -f conftest.er1
10914
 
  cat conftest.err >&5
10915
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916
 
  (exit $ac_status); } && {
10917
 
         test -z "$ac_c_werror_flag" ||
10918
 
         test ! -s conftest.err
10919
 
       } && test -s conftest$ac_exeext && {
10920
 
         test "$cross_compiling" = yes ||
10921
 
         $as_test_x conftest$ac_exeext
10922
 
       }; then
 
9947
if ac_fn_c_try_link "$LINENO"; then :
10923
9948
 
10924
9949
lt_aix_libpath_sed='
10925
9950
    /Import File Strings/,/^$/ {
10933
9958
if test -z "$aix_libpath"; then
10934
9959
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10935
9960
fi
10936
 
else
10937
 
  $as_echo "$as_me: failed program was:" >&5
10938
 
sed 's/^/| /' conftest.$ac_ext >&5
10939
 
 
10940
 
 
10941
9961
fi
10942
 
 
10943
 
rm -rf conftest.dSYM
10944
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10945
 
      conftest$ac_exeext conftest.$ac_ext
 
9962
rm -f core conftest.err conftest.$ac_objext \
 
9963
    conftest$ac_exeext conftest.$ac_ext
10946
9964
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10947
9965
 
10948
9966
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10955
9973
        else
10956
9974
         # Determine the default libpath from the value encoded in an
10957
9975
         # empty executable.
10958
 
         cat >conftest.$ac_ext <<_ACEOF
10959
 
/* confdefs.h.  */
10960
 
_ACEOF
10961
 
cat confdefs.h >>conftest.$ac_ext
10962
 
cat >>conftest.$ac_ext <<_ACEOF
 
9976
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963
9977
/* end confdefs.h.  */
10964
9978
 
10965
9979
int
10970
9984
  return 0;
10971
9985
}
10972
9986
_ACEOF
10973
 
rm -f conftest.$ac_objext conftest$ac_exeext
10974
 
if { (ac_try="$ac_link"
10975
 
case "(($ac_try" in
10976
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10977
 
  *) ac_try_echo=$ac_try;;
10978
 
esac
10979
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10980
 
$as_echo "$ac_try_echo") >&5
10981
 
  (eval "$ac_link") 2>conftest.er1
10982
 
  ac_status=$?
10983
 
  grep -v '^ *+' conftest.er1 >conftest.err
10984
 
  rm -f conftest.er1
10985
 
  cat conftest.err >&5
10986
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987
 
  (exit $ac_status); } && {
10988
 
         test -z "$ac_c_werror_flag" ||
10989
 
         test ! -s conftest.err
10990
 
       } && test -s conftest$ac_exeext && {
10991
 
         test "$cross_compiling" = yes ||
10992
 
         $as_test_x conftest$ac_exeext
10993
 
       }; then
 
9987
if ac_fn_c_try_link "$LINENO"; then :
10994
9988
 
10995
9989
lt_aix_libpath_sed='
10996
9990
    /Import File Strings/,/^$/ {
11004
9998
if test -z "$aix_libpath"; then
11005
9999
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11006
10000
fi
11007
 
else
11008
 
  $as_echo "$as_me: failed program was:" >&5
11009
 
sed 's/^/| /' conftest.$ac_ext >&5
11010
 
 
11011
 
 
11012
10001
fi
11013
 
 
11014
 
rm -rf conftest.dSYM
11015
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11016
 
      conftest$ac_exeext conftest.$ac_ext
 
10002
rm -f core conftest.err conftest.$ac_objext \
 
10003
    conftest$ac_exeext conftest.$ac_ext
11017
10004
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11018
10005
 
11019
10006
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11225
10212
        # implicitly export all symbols.
11226
10213
        save_LDFLAGS="$LDFLAGS"
11227
10214
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11228
 
        cat >conftest.$ac_ext <<_ACEOF
 
10215
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10216
/* end confdefs.h.  */
11229
10217
int foo(void) {}
11230
10218
_ACEOF
11231
 
rm -f conftest.$ac_objext conftest$ac_exeext
11232
 
if { (ac_try="$ac_link"
11233
 
case "(($ac_try" in
11234
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11235
 
  *) ac_try_echo=$ac_try;;
11236
 
esac
11237
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11238
 
$as_echo "$ac_try_echo") >&5
11239
 
  (eval "$ac_link") 2>conftest.er1
11240
 
  ac_status=$?
11241
 
  grep -v '^ *+' conftest.er1 >conftest.err
11242
 
  rm -f conftest.er1
11243
 
  cat conftest.err >&5
11244
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245
 
  (exit $ac_status); } && {
11246
 
         test -z "$ac_c_werror_flag" ||
11247
 
         test ! -s conftest.err
11248
 
       } && test -s conftest$ac_exeext && {
11249
 
         test "$cross_compiling" = yes ||
11250
 
         $as_test_x conftest$ac_exeext
11251
 
       }; then
 
10219
if ac_fn_c_try_link "$LINENO"; then :
11252
10220
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11253
10221
 
11254
 
else
11255
 
  $as_echo "$as_me: failed program was:" >&5
11256
 
sed 's/^/| /' conftest.$ac_ext >&5
11257
 
 
11258
 
 
11259
10222
fi
11260
 
 
11261
 
rm -rf conftest.dSYM
11262
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11263
 
      conftest$ac_exeext conftest.$ac_ext
 
10223
rm -f core conftest.err conftest.$ac_objext \
 
10224
    conftest$ac_exeext conftest.$ac_ext
11264
10225
        LDFLAGS="$save_LDFLAGS"
11265
10226
      else
11266
10227
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11273
10234
      link_all_deplibs=yes
11274
10235
      ;;
11275
10236
 
11276
 
    netbsd* | netbsdelf*-gnu)
 
10237
    netbsd*)
11277
10238
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11278
10239
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11279
10240
      else
11516
10477
    fi
11517
10478
  fi
11518
10479
 
11519
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11520
10481
$as_echo "$ld_shlibs" >&6; }
11521
10482
test "$ld_shlibs" = no && can_build_shared=no
11522
10483
 
11553
10514
      # Test whether the compiler implicitly links with -lc since on some
11554
10515
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11555
10516
      # to ld, don't add -lc before -lgcc.
11556
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10517
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11557
10518
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11558
10519
      $RM conftest*
11559
10520
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11560
10521
 
11561
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10522
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11562
10523
  (eval $ac_compile) 2>&5
11563
10524
  ac_status=$?
11564
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565
 
  (exit $ac_status); } 2>conftest.err; then
 
10525
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10526
  test $ac_status = 0; } 2>conftest.err; then
11566
10527
        soname=conftest
11567
10528
        lib=conftest
11568
10529
        libobjs=conftest.$ac_objext
11576
10537
        libname=conftest
11577
10538
        lt_save_allow_undefined_flag=$allow_undefined_flag
11578
10539
        allow_undefined_flag=
11579
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10540
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11580
10541
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11581
10542
  ac_status=$?
11582
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583
 
  (exit $ac_status); }
 
10543
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10544
  test $ac_status = 0; }
11584
10545
        then
11585
10546
          archive_cmds_need_lc=no
11586
10547
        else
11591
10552
        cat conftest.err 1>&5
11592
10553
      fi
11593
10554
      $RM conftest*
11594
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10555
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
11595
10556
$as_echo "$archive_cmds_need_lc" >&6; }
11596
10557
      ;;
11597
10558
    esac
11755
10716
 
11756
10717
 
11757
10718
 
11758
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10719
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11759
10720
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11760
10721
 
11761
10722
if test "$GCC" = yes; then
12177
11138
  save_libdir=$libdir
12178
11139
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12179
11140
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12180
 
  cat >conftest.$ac_ext <<_ACEOF
12181
 
/* confdefs.h.  */
12182
 
_ACEOF
12183
 
cat confdefs.h >>conftest.$ac_ext
12184
 
cat >>conftest.$ac_ext <<_ACEOF
 
11141
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185
11142
/* end confdefs.h.  */
12186
11143
 
12187
11144
int
12192
11149
  return 0;
12193
11150
}
12194
11151
_ACEOF
12195
 
rm -f conftest.$ac_objext conftest$ac_exeext
12196
 
if { (ac_try="$ac_link"
12197
 
case "(($ac_try" in
12198
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12199
 
  *) ac_try_echo=$ac_try;;
12200
 
esac
12201
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12202
 
$as_echo "$ac_try_echo") >&5
12203
 
  (eval "$ac_link") 2>conftest.er1
12204
 
  ac_status=$?
12205
 
  grep -v '^ *+' conftest.er1 >conftest.err
12206
 
  rm -f conftest.er1
12207
 
  cat conftest.err >&5
12208
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209
 
  (exit $ac_status); } && {
12210
 
         test -z "$ac_c_werror_flag" ||
12211
 
         test ! -s conftest.err
12212
 
       } && test -s conftest$ac_exeext && {
12213
 
         test "$cross_compiling" = yes ||
12214
 
         $as_test_x conftest$ac_exeext
12215
 
       }; then
12216
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
11152
if ac_fn_c_try_link "$LINENO"; then :
 
11153
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12217
11154
  shlibpath_overrides_runpath=yes
12218
11155
fi
12219
 
 
12220
 
else
12221
 
  $as_echo "$as_me: failed program was:" >&5
12222
 
sed 's/^/| /' conftest.$ac_ext >&5
12223
 
 
12224
 
 
12225
11156
fi
12226
 
 
12227
 
rm -rf conftest.dSYM
12228
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12229
 
      conftest$ac_exeext conftest.$ac_ext
 
11157
rm -f core conftest.err conftest.$ac_objext \
 
11158
    conftest$ac_exeext conftest.$ac_ext
12230
11159
  LDFLAGS=$save_LDFLAGS
12231
11160
  libdir=$save_libdir
12232
11161
 
12250
11179
  dynamic_linker='GNU/Linux ld.so'
12251
11180
  ;;
12252
11181
 
12253
 
netbsdelf*-gnu)
12254
 
  version_type=linux
12255
 
  need_lib_prefix=no
12256
 
  need_version=no
12257
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12258
 
  soname_spec='${libname}${release}${shared_ext}$major'
12259
 
  shlibpath_var=LD_LIBRARY_PATH
12260
 
  shlibpath_overrides_runpath=no
12261
 
  hardcode_into_libs=yes
12262
 
  dynamic_linker='NetBSD ld.elf_so'
12263
 
  ;;
12264
 
 
12265
11182
netbsd*)
12266
11183
  version_type=sunos
12267
11184
  need_lib_prefix=no
12450
11367
  dynamic_linker=no
12451
11368
  ;;
12452
11369
esac
12453
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12454
11371
$as_echo "$dynamic_linker" >&6; }
12455
11372
test "$dynamic_linker" = no && can_build_shared=no
12456
11373
 
12552
11469
 
12553
11470
 
12554
11471
 
12555
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11472
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12556
11473
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12557
11474
hardcode_action=
12558
11475
if test -n "$hardcode_libdir_flag_spec" ||
12577
11494
  # directories.
12578
11495
  hardcode_action=unsupported
12579
11496
fi
12580
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12581
11498
$as_echo "$hardcode_action" >&6; }
12582
11499
 
12583
11500
if test "$hardcode_action" = relink ||
12622
11539
 
12623
11540
  darwin*)
12624
11541
  # if libdl is installed we need to link against it
12625
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11542
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12626
11543
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12627
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11544
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12628
11545
  $as_echo_n "(cached) " >&6
12629
11546
else
12630
11547
  ac_check_lib_save_LIBS=$LIBS
12631
11548
LIBS="-ldl  $LIBS"
12632
 
cat >conftest.$ac_ext <<_ACEOF
12633
 
/* confdefs.h.  */
12634
 
_ACEOF
12635
 
cat confdefs.h >>conftest.$ac_ext
12636
 
cat >>conftest.$ac_ext <<_ACEOF
 
11549
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637
11550
/* end confdefs.h.  */
12638
11551
 
12639
11552
/* Override any GCC internal prototype to avoid an error.
12651
11564
  return 0;
12652
11565
}
12653
11566
_ACEOF
12654
 
rm -f conftest.$ac_objext conftest$ac_exeext
12655
 
if { (ac_try="$ac_link"
12656
 
case "(($ac_try" in
12657
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12658
 
  *) ac_try_echo=$ac_try;;
12659
 
esac
12660
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12661
 
$as_echo "$ac_try_echo") >&5
12662
 
  (eval "$ac_link") 2>conftest.er1
12663
 
  ac_status=$?
12664
 
  grep -v '^ *+' conftest.er1 >conftest.err
12665
 
  rm -f conftest.er1
12666
 
  cat conftest.err >&5
12667
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668
 
  (exit $ac_status); } && {
12669
 
         test -z "$ac_c_werror_flag" ||
12670
 
         test ! -s conftest.err
12671
 
       } && test -s conftest$ac_exeext && {
12672
 
         test "$cross_compiling" = yes ||
12673
 
         $as_test_x conftest$ac_exeext
12674
 
       }; then
 
11567
if ac_fn_c_try_link "$LINENO"; then :
12675
11568
  ac_cv_lib_dl_dlopen=yes
12676
11569
else
12677
 
  $as_echo "$as_me: failed program was:" >&5
12678
 
sed 's/^/| /' conftest.$ac_ext >&5
12679
 
 
12680
 
        ac_cv_lib_dl_dlopen=no
 
11570
  ac_cv_lib_dl_dlopen=no
12681
11571
fi
12682
 
 
12683
 
rm -rf conftest.dSYM
12684
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12685
 
      conftest$ac_exeext conftest.$ac_ext
 
11572
rm -f core conftest.err conftest.$ac_objext \
 
11573
    conftest$ac_exeext conftest.$ac_ext
12686
11574
LIBS=$ac_check_lib_save_LIBS
12687
11575
fi
12688
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12689
11577
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12690
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11578
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12691
11579
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12692
11580
else
12693
11581
 
12700
11588
    ;;
12701
11589
 
12702
11590
  *)
12703
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12704
 
$as_echo_n "checking for shl_load... " >&6; }
12705
 
if test "${ac_cv_func_shl_load+set}" = set; then
12706
 
  $as_echo_n "(cached) " >&6
12707
 
else
12708
 
  cat >conftest.$ac_ext <<_ACEOF
12709
 
/* confdefs.h.  */
12710
 
_ACEOF
12711
 
cat confdefs.h >>conftest.$ac_ext
12712
 
cat >>conftest.$ac_ext <<_ACEOF
12713
 
/* end confdefs.h.  */
12714
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12715
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12716
 
#define shl_load innocuous_shl_load
12717
 
 
12718
 
/* System header to define __stub macros and hopefully few prototypes,
12719
 
    which can conflict with char shl_load (); below.
12720
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12721
 
    <limits.h> exists even on freestanding compilers.  */
12722
 
 
12723
 
#ifdef __STDC__
12724
 
# include <limits.h>
12725
 
#else
12726
 
# include <assert.h>
12727
 
#endif
12728
 
 
12729
 
#undef shl_load
12730
 
 
12731
 
/* Override any GCC internal prototype to avoid an error.
12732
 
   Use char because int might match the return type of a GCC
12733
 
   builtin and then its argument prototype would still apply.  */
12734
 
#ifdef __cplusplus
12735
 
extern "C"
12736
 
#endif
12737
 
char shl_load ();
12738
 
/* The GNU C library defines this for functions which it implements
12739
 
    to always fail with ENOSYS.  Some functions are actually named
12740
 
    something starting with __ and the normal name is an alias.  */
12741
 
#if defined __stub_shl_load || defined __stub___shl_load
12742
 
choke me
12743
 
#endif
12744
 
 
12745
 
int
12746
 
main ()
12747
 
{
12748
 
return shl_load ();
12749
 
  ;
12750
 
  return 0;
12751
 
}
12752
 
_ACEOF
12753
 
rm -f conftest.$ac_objext conftest$ac_exeext
12754
 
if { (ac_try="$ac_link"
12755
 
case "(($ac_try" in
12756
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12757
 
  *) ac_try_echo=$ac_try;;
12758
 
esac
12759
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12760
 
$as_echo "$ac_try_echo") >&5
12761
 
  (eval "$ac_link") 2>conftest.er1
12762
 
  ac_status=$?
12763
 
  grep -v '^ *+' conftest.er1 >conftest.err
12764
 
  rm -f conftest.er1
12765
 
  cat conftest.err >&5
12766
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767
 
  (exit $ac_status); } && {
12768
 
         test -z "$ac_c_werror_flag" ||
12769
 
         test ! -s conftest.err
12770
 
       } && test -s conftest$ac_exeext && {
12771
 
         test "$cross_compiling" = yes ||
12772
 
         $as_test_x conftest$ac_exeext
12773
 
       }; then
12774
 
  ac_cv_func_shl_load=yes
12775
 
else
12776
 
  $as_echo "$as_me: failed program was:" >&5
12777
 
sed 's/^/| /' conftest.$ac_ext >&5
12778
 
 
12779
 
        ac_cv_func_shl_load=no
12780
 
fi
12781
 
 
12782
 
rm -rf conftest.dSYM
12783
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12784
 
      conftest$ac_exeext conftest.$ac_ext
12785
 
fi
12786
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12787
 
$as_echo "$ac_cv_func_shl_load" >&6; }
12788
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
11591
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11592
if test "x$ac_cv_func_shl_load" = x""yes; then :
12789
11593
  lt_cv_dlopen="shl_load"
12790
11594
else
12791
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11595
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12792
11596
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12793
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
11597
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12794
11598
  $as_echo_n "(cached) " >&6
12795
11599
else
12796
11600
  ac_check_lib_save_LIBS=$LIBS
12797
11601
LIBS="-ldld  $LIBS"
12798
 
cat >conftest.$ac_ext <<_ACEOF
12799
 
/* confdefs.h.  */
12800
 
_ACEOF
12801
 
cat confdefs.h >>conftest.$ac_ext
12802
 
cat >>conftest.$ac_ext <<_ACEOF
 
11602
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12803
11603
/* end confdefs.h.  */
12804
11604
 
12805
11605
/* Override any GCC internal prototype to avoid an error.
12817
11617
  return 0;
12818
11618
}
12819
11619
_ACEOF
12820
 
rm -f conftest.$ac_objext conftest$ac_exeext
12821
 
if { (ac_try="$ac_link"
12822
 
case "(($ac_try" in
12823
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12824
 
  *) ac_try_echo=$ac_try;;
12825
 
esac
12826
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12827
 
$as_echo "$ac_try_echo") >&5
12828
 
  (eval "$ac_link") 2>conftest.er1
12829
 
  ac_status=$?
12830
 
  grep -v '^ *+' conftest.er1 >conftest.err
12831
 
  rm -f conftest.er1
12832
 
  cat conftest.err >&5
12833
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834
 
  (exit $ac_status); } && {
12835
 
         test -z "$ac_c_werror_flag" ||
12836
 
         test ! -s conftest.err
12837
 
       } && test -s conftest$ac_exeext && {
12838
 
         test "$cross_compiling" = yes ||
12839
 
         $as_test_x conftest$ac_exeext
12840
 
       }; then
 
11620
if ac_fn_c_try_link "$LINENO"; then :
12841
11621
  ac_cv_lib_dld_shl_load=yes
12842
11622
else
12843
 
  $as_echo "$as_me: failed program was:" >&5
12844
 
sed 's/^/| /' conftest.$ac_ext >&5
12845
 
 
12846
 
        ac_cv_lib_dld_shl_load=no
 
11623
  ac_cv_lib_dld_shl_load=no
12847
11624
fi
12848
 
 
12849
 
rm -rf conftest.dSYM
12850
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12851
 
      conftest$ac_exeext conftest.$ac_ext
 
11625
rm -f core conftest.err conftest.$ac_objext \
 
11626
    conftest$ac_exeext conftest.$ac_ext
12852
11627
LIBS=$ac_check_lib_save_LIBS
12853
11628
fi
12854
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12855
11630
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12856
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11631
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12857
11632
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12858
11633
else
12859
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12860
 
$as_echo_n "checking for dlopen... " >&6; }
12861
 
if test "${ac_cv_func_dlopen+set}" = set; then
12862
 
  $as_echo_n "(cached) " >&6
12863
 
else
12864
 
  cat >conftest.$ac_ext <<_ACEOF
12865
 
/* confdefs.h.  */
12866
 
_ACEOF
12867
 
cat confdefs.h >>conftest.$ac_ext
12868
 
cat >>conftest.$ac_ext <<_ACEOF
12869
 
/* end confdefs.h.  */
12870
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12871
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12872
 
#define dlopen innocuous_dlopen
12873
 
 
12874
 
/* System header to define __stub macros and hopefully few prototypes,
12875
 
    which can conflict with char dlopen (); below.
12876
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12877
 
    <limits.h> exists even on freestanding compilers.  */
12878
 
 
12879
 
#ifdef __STDC__
12880
 
# include <limits.h>
12881
 
#else
12882
 
# include <assert.h>
12883
 
#endif
12884
 
 
12885
 
#undef dlopen
12886
 
 
12887
 
/* Override any GCC internal prototype to avoid an error.
12888
 
   Use char because int might match the return type of a GCC
12889
 
   builtin and then its argument prototype would still apply.  */
12890
 
#ifdef __cplusplus
12891
 
extern "C"
12892
 
#endif
12893
 
char dlopen ();
12894
 
/* The GNU C library defines this for functions which it implements
12895
 
    to always fail with ENOSYS.  Some functions are actually named
12896
 
    something starting with __ and the normal name is an alias.  */
12897
 
#if defined __stub_dlopen || defined __stub___dlopen
12898
 
choke me
12899
 
#endif
12900
 
 
12901
 
int
12902
 
main ()
12903
 
{
12904
 
return dlopen ();
12905
 
  ;
12906
 
  return 0;
12907
 
}
12908
 
_ACEOF
12909
 
rm -f conftest.$ac_objext conftest$ac_exeext
12910
 
if { (ac_try="$ac_link"
12911
 
case "(($ac_try" in
12912
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12913
 
  *) ac_try_echo=$ac_try;;
12914
 
esac
12915
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12916
 
$as_echo "$ac_try_echo") >&5
12917
 
  (eval "$ac_link") 2>conftest.er1
12918
 
  ac_status=$?
12919
 
  grep -v '^ *+' conftest.er1 >conftest.err
12920
 
  rm -f conftest.er1
12921
 
  cat conftest.err >&5
12922
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923
 
  (exit $ac_status); } && {
12924
 
         test -z "$ac_c_werror_flag" ||
12925
 
         test ! -s conftest.err
12926
 
       } && test -s conftest$ac_exeext && {
12927
 
         test "$cross_compiling" = yes ||
12928
 
         $as_test_x conftest$ac_exeext
12929
 
       }; then
12930
 
  ac_cv_func_dlopen=yes
12931
 
else
12932
 
  $as_echo "$as_me: failed program was:" >&5
12933
 
sed 's/^/| /' conftest.$ac_ext >&5
12934
 
 
12935
 
        ac_cv_func_dlopen=no
12936
 
fi
12937
 
 
12938
 
rm -rf conftest.dSYM
12939
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12940
 
      conftest$ac_exeext conftest.$ac_ext
12941
 
fi
12942
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12943
 
$as_echo "$ac_cv_func_dlopen" >&6; }
12944
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
11634
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11635
if test "x$ac_cv_func_dlopen" = x""yes; then :
12945
11636
  lt_cv_dlopen="dlopen"
12946
11637
else
12947
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11638
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12948
11639
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12949
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11640
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12950
11641
  $as_echo_n "(cached) " >&6
12951
11642
else
12952
11643
  ac_check_lib_save_LIBS=$LIBS
12953
11644
LIBS="-ldl  $LIBS"
12954
 
cat >conftest.$ac_ext <<_ACEOF
12955
 
/* confdefs.h.  */
12956
 
_ACEOF
12957
 
cat confdefs.h >>conftest.$ac_ext
12958
 
cat >>conftest.$ac_ext <<_ACEOF
 
11645
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959
11646
/* end confdefs.h.  */
12960
11647
 
12961
11648
/* Override any GCC internal prototype to avoid an error.
12973
11660
  return 0;
12974
11661
}
12975
11662
_ACEOF
12976
 
rm -f conftest.$ac_objext conftest$ac_exeext
12977
 
if { (ac_try="$ac_link"
12978
 
case "(($ac_try" in
12979
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12980
 
  *) ac_try_echo=$ac_try;;
12981
 
esac
12982
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12983
 
$as_echo "$ac_try_echo") >&5
12984
 
  (eval "$ac_link") 2>conftest.er1
12985
 
  ac_status=$?
12986
 
  grep -v '^ *+' conftest.er1 >conftest.err
12987
 
  rm -f conftest.er1
12988
 
  cat conftest.err >&5
12989
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990
 
  (exit $ac_status); } && {
12991
 
         test -z "$ac_c_werror_flag" ||
12992
 
         test ! -s conftest.err
12993
 
       } && test -s conftest$ac_exeext && {
12994
 
         test "$cross_compiling" = yes ||
12995
 
         $as_test_x conftest$ac_exeext
12996
 
       }; then
 
11663
if ac_fn_c_try_link "$LINENO"; then :
12997
11664
  ac_cv_lib_dl_dlopen=yes
12998
11665
else
12999
 
  $as_echo "$as_me: failed program was:" >&5
13000
 
sed 's/^/| /' conftest.$ac_ext >&5
13001
 
 
13002
 
        ac_cv_lib_dl_dlopen=no
 
11666
  ac_cv_lib_dl_dlopen=no
13003
11667
fi
13004
 
 
13005
 
rm -rf conftest.dSYM
13006
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13007
 
      conftest$ac_exeext conftest.$ac_ext
 
11668
rm -f core conftest.err conftest.$ac_objext \
 
11669
    conftest$ac_exeext conftest.$ac_ext
13008
11670
LIBS=$ac_check_lib_save_LIBS
13009
11671
fi
13010
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13011
11673
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13012
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11674
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13013
11675
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13014
11676
else
13015
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11677
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13016
11678
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13017
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
11679
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13018
11680
  $as_echo_n "(cached) " >&6
13019
11681
else
13020
11682
  ac_check_lib_save_LIBS=$LIBS
13021
11683
LIBS="-lsvld  $LIBS"
13022
 
cat >conftest.$ac_ext <<_ACEOF
13023
 
/* confdefs.h.  */
13024
 
_ACEOF
13025
 
cat confdefs.h >>conftest.$ac_ext
13026
 
cat >>conftest.$ac_ext <<_ACEOF
 
11684
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027
11685
/* end confdefs.h.  */
13028
11686
 
13029
11687
/* Override any GCC internal prototype to avoid an error.
13041
11699
  return 0;
13042
11700
}
13043
11701
_ACEOF
13044
 
rm -f conftest.$ac_objext conftest$ac_exeext
13045
 
if { (ac_try="$ac_link"
13046
 
case "(($ac_try" in
13047
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13048
 
  *) ac_try_echo=$ac_try;;
13049
 
esac
13050
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13051
 
$as_echo "$ac_try_echo") >&5
13052
 
  (eval "$ac_link") 2>conftest.er1
13053
 
  ac_status=$?
13054
 
  grep -v '^ *+' conftest.er1 >conftest.err
13055
 
  rm -f conftest.er1
13056
 
  cat conftest.err >&5
13057
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058
 
  (exit $ac_status); } && {
13059
 
         test -z "$ac_c_werror_flag" ||
13060
 
         test ! -s conftest.err
13061
 
       } && test -s conftest$ac_exeext && {
13062
 
         test "$cross_compiling" = yes ||
13063
 
         $as_test_x conftest$ac_exeext
13064
 
       }; then
 
11702
if ac_fn_c_try_link "$LINENO"; then :
13065
11703
  ac_cv_lib_svld_dlopen=yes
13066
11704
else
13067
 
  $as_echo "$as_me: failed program was:" >&5
13068
 
sed 's/^/| /' conftest.$ac_ext >&5
13069
 
 
13070
 
        ac_cv_lib_svld_dlopen=no
 
11705
  ac_cv_lib_svld_dlopen=no
13071
11706
fi
13072
 
 
13073
 
rm -rf conftest.dSYM
13074
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13075
 
      conftest$ac_exeext conftest.$ac_ext
 
11707
rm -f core conftest.err conftest.$ac_objext \
 
11708
    conftest$ac_exeext conftest.$ac_ext
13076
11709
LIBS=$ac_check_lib_save_LIBS
13077
11710
fi
13078
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13079
11712
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13080
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
11713
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
13081
11714
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13082
11715
else
13083
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11716
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13084
11717
$as_echo_n "checking for dld_link in -ldld... " >&6; }
13085
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
11718
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13086
11719
  $as_echo_n "(cached) " >&6
13087
11720
else
13088
11721
  ac_check_lib_save_LIBS=$LIBS
13089
11722
LIBS="-ldld  $LIBS"
13090
 
cat >conftest.$ac_ext <<_ACEOF
13091
 
/* confdefs.h.  */
13092
 
_ACEOF
13093
 
cat confdefs.h >>conftest.$ac_ext
13094
 
cat >>conftest.$ac_ext <<_ACEOF
 
11723
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13095
11724
/* end confdefs.h.  */
13096
11725
 
13097
11726
/* Override any GCC internal prototype to avoid an error.
13109
11738
  return 0;
13110
11739
}
13111
11740
_ACEOF
13112
 
rm -f conftest.$ac_objext conftest$ac_exeext
13113
 
if { (ac_try="$ac_link"
13114
 
case "(($ac_try" in
13115
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13116
 
  *) ac_try_echo=$ac_try;;
13117
 
esac
13118
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13119
 
$as_echo "$ac_try_echo") >&5
13120
 
  (eval "$ac_link") 2>conftest.er1
13121
 
  ac_status=$?
13122
 
  grep -v '^ *+' conftest.er1 >conftest.err
13123
 
  rm -f conftest.er1
13124
 
  cat conftest.err >&5
13125
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126
 
  (exit $ac_status); } && {
13127
 
         test -z "$ac_c_werror_flag" ||
13128
 
         test ! -s conftest.err
13129
 
       } && test -s conftest$ac_exeext && {
13130
 
         test "$cross_compiling" = yes ||
13131
 
         $as_test_x conftest$ac_exeext
13132
 
       }; then
 
11741
if ac_fn_c_try_link "$LINENO"; then :
13133
11742
  ac_cv_lib_dld_dld_link=yes
13134
11743
else
13135
 
  $as_echo "$as_me: failed program was:" >&5
13136
 
sed 's/^/| /' conftest.$ac_ext >&5
13137
 
 
13138
 
        ac_cv_lib_dld_dld_link=no
 
11744
  ac_cv_lib_dld_dld_link=no
13139
11745
fi
13140
 
 
13141
 
rm -rf conftest.dSYM
13142
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13143
 
      conftest$ac_exeext conftest.$ac_ext
 
11746
rm -f core conftest.err conftest.$ac_objext \
 
11747
    conftest$ac_exeext conftest.$ac_ext
13144
11748
LIBS=$ac_check_lib_save_LIBS
13145
11749
fi
13146
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13147
11751
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13148
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11752
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
13149
11753
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13150
11754
fi
13151
11755
 
13184
11788
    save_LIBS="$LIBS"
13185
11789
    LIBS="$lt_cv_dlopen_libs $LIBS"
13186
11790
 
13187
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11791
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13188
11792
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13189
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
11793
if test "${lt_cv_dlopen_self+set}" = set; then :
13190
11794
  $as_echo_n "(cached) " >&6
13191
11795
else
13192
11796
          if test "$cross_compiling" = yes; then :
13195
11799
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13196
11800
  lt_status=$lt_dlunknown
13197
11801
  cat > conftest.$ac_ext <<_LT_EOF
13198
 
#line 13198 "configure"
 
11802
#line 11802 "configure"
13199
11803
#include "confdefs.h"
13200
11804
 
13201
11805
#if HAVE_DLFCN_H
13254
11858
  return status;
13255
11859
}
13256
11860
_LT_EOF
13257
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11861
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13258
11862
  (eval $ac_link) 2>&5
13259
11863
  ac_status=$?
13260
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11864
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11865
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13262
11866
    (./conftest; exit; ) >&5 2>/dev/null
13263
11867
    lt_status=$?
13264
11868
    case x$lt_status in
13275
11879
 
13276
11880
 
13277
11881
fi
13278
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13279
11883
$as_echo "$lt_cv_dlopen_self" >&6; }
13280
11884
 
13281
11885
    if test "x$lt_cv_dlopen_self" = xyes; then
13282
11886
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13283
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11887
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13284
11888
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13285
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
11889
if test "${lt_cv_dlopen_self_static+set}" = set; then :
13286
11890
  $as_echo_n "(cached) " >&6
13287
11891
else
13288
11892
          if test "$cross_compiling" = yes; then :
13291
11895
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13292
11896
  lt_status=$lt_dlunknown
13293
11897
  cat > conftest.$ac_ext <<_LT_EOF
13294
 
#line 13294 "configure"
 
11898
#line 11898 "configure"
13295
11899
#include "confdefs.h"
13296
11900
 
13297
11901
#if HAVE_DLFCN_H
13350
11954
  return status;
13351
11955
}
13352
11956
_LT_EOF
13353
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11957
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13354
11958
  (eval $ac_link) 2>&5
13355
11959
  ac_status=$?
13356
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11960
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11961
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13358
11962
    (./conftest; exit; ) >&5 2>/dev/null
13359
11963
    lt_status=$?
13360
11964
    case x$lt_status in
13371
11975
 
13372
11976
 
13373
11977
fi
13374
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13375
11979
$as_echo "$lt_cv_dlopen_self_static" >&6; }
13376
11980
    fi
13377
11981
 
13410
12014
 
13411
12015
striplib=
13412
12016
old_striplib=
13413
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13414
12018
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13415
12019
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13416
12020
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13417
12021
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13418
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12022
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13419
12023
$as_echo "yes" >&6; }
13420
12024
else
13421
12025
# FIXME - insert some real tests, host_os isn't really good enough
13424
12028
    if test -n "$STRIP" ; then
13425
12029
      striplib="$STRIP -x"
13426
12030
      old_striplib="$STRIP -S"
13427
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12031
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13428
12032
$as_echo "yes" >&6; }
13429
12033
    else
13430
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
12034
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13431
12035
$as_echo "no" >&6; }
13432
12036
    fi
13433
12037
    ;;
13434
12038
  *)
13435
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
12039
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13436
12040
$as_echo "no" >&6; }
13437
12041
    ;;
13438
12042
  esac
13450
12054
 
13451
12055
 
13452
12056
  # Report which library types will actually be built
13453
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12057
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13454
12058
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13455
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12059
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13456
12060
$as_echo "$can_build_shared" >&6; }
13457
12061
 
13458
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12062
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13459
12063
$as_echo_n "checking whether to build shared libraries... " >&6; }
13460
12064
  test "$can_build_shared" = "no" && enable_shared=no
13461
12065
 
13476
12080
    fi
13477
12081
    ;;
13478
12082
  esac
13479
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12083
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13480
12084
$as_echo "$enable_shared" >&6; }
13481
12085
 
13482
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12086
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13483
12087
$as_echo_n "checking whether to build static libraries... " >&6; }
13484
12088
  # Make sure either enable_shared or enable_static is yes.
13485
12089
  test "$enable_shared" = yes || enable_static=yes
13486
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
12090
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13487
12091
$as_echo "$enable_static" >&6; }
13488
12092
 
13489
12093
 
13522
12126
# ==================================================== #
13523
12127
#   Check for headers needed for standard interfaces   #
13524
12128
# ==================================================== #
13525
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
12129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13526
12130
$as_echo_n "checking for ANSI C header files... " >&6; }
13527
 
if test "${ac_cv_header_stdc+set}" = set; then
 
12131
if test "${ac_cv_header_stdc+set}" = set; then :
13528
12132
  $as_echo_n "(cached) " >&6
13529
12133
else
13530
 
  cat >conftest.$ac_ext <<_ACEOF
13531
 
/* confdefs.h.  */
13532
 
_ACEOF
13533
 
cat confdefs.h >>conftest.$ac_ext
13534
 
cat >>conftest.$ac_ext <<_ACEOF
 
12134
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535
12135
/* end confdefs.h.  */
13536
12136
#include <stdlib.h>
13537
12137
#include <stdarg.h>
13546
12146
  return 0;
13547
12147
}
13548
12148
_ACEOF
13549
 
rm -f conftest.$ac_objext
13550
 
if { (ac_try="$ac_compile"
13551
 
case "(($ac_try" in
13552
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13553
 
  *) ac_try_echo=$ac_try;;
13554
 
esac
13555
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13556
 
$as_echo "$ac_try_echo") >&5
13557
 
  (eval "$ac_compile") 2>conftest.er1
13558
 
  ac_status=$?
13559
 
  grep -v '^ *+' conftest.er1 >conftest.err
13560
 
  rm -f conftest.er1
13561
 
  cat conftest.err >&5
13562
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563
 
  (exit $ac_status); } && {
13564
 
         test -z "$ac_c_werror_flag" ||
13565
 
         test ! -s conftest.err
13566
 
       } && test -s conftest.$ac_objext; then
 
12149
if ac_fn_c_try_compile "$LINENO"; then :
13567
12150
  ac_cv_header_stdc=yes
13568
12151
else
13569
 
  $as_echo "$as_me: failed program was:" >&5
13570
 
sed 's/^/| /' conftest.$ac_ext >&5
13571
 
 
13572
 
        ac_cv_header_stdc=no
 
12152
  ac_cv_header_stdc=no
13573
12153
fi
13574
 
 
13575
12154
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13576
12155
 
13577
12156
if test $ac_cv_header_stdc = yes; then
13578
12157
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13579
 
  cat >conftest.$ac_ext <<_ACEOF
13580
 
/* confdefs.h.  */
13581
 
_ACEOF
13582
 
cat confdefs.h >>conftest.$ac_ext
13583
 
cat >>conftest.$ac_ext <<_ACEOF
 
12158
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584
12159
/* end confdefs.h.  */
13585
12160
#include <string.h>
13586
12161
 
13587
12162
_ACEOF
13588
12163
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13589
 
  $EGREP "memchr" >/dev/null 2>&1; then
13590
 
  :
 
12164
  $EGREP "memchr" >/dev/null 2>&1; then :
 
12165
 
13591
12166
else
13592
12167
  ac_cv_header_stdc=no
13593
12168
fi
13597
12172
 
13598
12173
if test $ac_cv_header_stdc = yes; then
13599
12174
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13600
 
  cat >conftest.$ac_ext <<_ACEOF
13601
 
/* confdefs.h.  */
13602
 
_ACEOF
13603
 
cat confdefs.h >>conftest.$ac_ext
13604
 
cat >>conftest.$ac_ext <<_ACEOF
 
12175
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605
12176
/* end confdefs.h.  */
13606
12177
#include <stdlib.h>
13607
12178
 
13608
12179
_ACEOF
13609
12180
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13610
 
  $EGREP "free" >/dev/null 2>&1; then
13611
 
  :
 
12181
  $EGREP "free" >/dev/null 2>&1; then :
 
12182
 
13612
12183
else
13613
12184
  ac_cv_header_stdc=no
13614
12185
fi
13618
12189
 
13619
12190
if test $ac_cv_header_stdc = yes; then
13620
12191
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13621
 
  if test "$cross_compiling" = yes; then
 
12192
  if test "$cross_compiling" = yes; then :
13622
12193
  :
13623
12194
else
13624
 
  cat >conftest.$ac_ext <<_ACEOF
13625
 
/* confdefs.h.  */
13626
 
_ACEOF
13627
 
cat confdefs.h >>conftest.$ac_ext
13628
 
cat >>conftest.$ac_ext <<_ACEOF
 
12195
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13629
12196
/* end confdefs.h.  */
13630
12197
#include <ctype.h>
13631
12198
#include <stdlib.h>
13652
12219
  return 0;
13653
12220
}
13654
12221
_ACEOF
13655
 
rm -f conftest$ac_exeext
13656
 
if { (ac_try="$ac_link"
13657
 
case "(($ac_try" in
13658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13659
 
  *) ac_try_echo=$ac_try;;
13660
 
esac
13661
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13662
 
$as_echo "$ac_try_echo") >&5
13663
 
  (eval "$ac_link") 2>&5
13664
 
  ac_status=$?
13665
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13667
 
  { (case "(($ac_try" in
13668
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13669
 
  *) ac_try_echo=$ac_try;;
13670
 
esac
13671
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13672
 
$as_echo "$ac_try_echo") >&5
13673
 
  (eval "$ac_try") 2>&5
13674
 
  ac_status=$?
13675
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676
 
  (exit $ac_status); }; }; then
13677
 
  :
 
12222
if ac_fn_c_try_run "$LINENO"; then :
 
12223
 
13678
12224
else
13679
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
13680
 
$as_echo "$as_me: failed program was:" >&5
13681
 
sed 's/^/| /' conftest.$ac_ext >&5
13682
 
 
13683
 
( exit $ac_status )
13684
 
ac_cv_header_stdc=no
13685
 
fi
13686
 
rm -rf conftest.dSYM
13687
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13688
 
fi
13689
 
 
13690
 
 
13691
 
fi
13692
 
fi
13693
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
12225
  ac_cv_header_stdc=no
 
12226
fi
 
12227
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
12228
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
12229
fi
 
12230
 
 
12231
fi
 
12232
fi
 
12233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13694
12234
$as_echo "$ac_cv_header_stdc" >&6; }
13695
12235
if test $ac_cv_header_stdc = yes; then
13696
12236
 
13697
 
cat >>confdefs.h <<\_ACEOF
13698
 
#define STDC_HEADERS 1
13699
 
_ACEOF
 
12237
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13700
12238
 
13701
12239
fi
13702
12240
 
13703
 
 
13704
 
 
13705
 
 
13706
 
 
13707
 
 
13708
 
 
13709
 
 
13710
 
 
13711
 
 
13712
12241
for ac_header in errno.h signal.h stddef.h \
13713
12242
                  string.h sys/stat.h sys/types.h sys/wait.h time.h \
13714
12243
                  unistd.h
13715
 
do
13716
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13717
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13718
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13719
 
$as_echo_n "checking for $ac_header... " >&6; }
13720
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13721
 
  $as_echo_n "(cached) " >&6
13722
 
fi
13723
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13724
 
                 $as_echo "$as_val"'`
13725
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13726
 
$as_echo "$ac_res" >&6; }
13727
 
else
13728
 
  # Is the header compilable?
13729
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13730
 
$as_echo_n "checking $ac_header usability... " >&6; }
13731
 
cat >conftest.$ac_ext <<_ACEOF
13732
 
/* confdefs.h.  */
13733
 
_ACEOF
13734
 
cat confdefs.h >>conftest.$ac_ext
13735
 
cat >>conftest.$ac_ext <<_ACEOF
13736
 
/* end confdefs.h.  */
13737
 
$ac_includes_default
13738
 
#include <$ac_header>
13739
 
_ACEOF
13740
 
rm -f conftest.$ac_objext
13741
 
if { (ac_try="$ac_compile"
13742
 
case "(($ac_try" in
13743
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13744
 
  *) ac_try_echo=$ac_try;;
13745
 
esac
13746
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13747
 
$as_echo "$ac_try_echo") >&5
13748
 
  (eval "$ac_compile") 2>conftest.er1
13749
 
  ac_status=$?
13750
 
  grep -v '^ *+' conftest.er1 >conftest.err
13751
 
  rm -f conftest.er1
13752
 
  cat conftest.err >&5
13753
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754
 
  (exit $ac_status); } && {
13755
 
         test -z "$ac_c_werror_flag" ||
13756
 
         test ! -s conftest.err
13757
 
       } && test -s conftest.$ac_objext; then
13758
 
  ac_header_compiler=yes
13759
 
else
13760
 
  $as_echo "$as_me: failed program was:" >&5
13761
 
sed 's/^/| /' conftest.$ac_ext >&5
13762
 
 
13763
 
        ac_header_compiler=no
13764
 
fi
13765
 
 
13766
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13767
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13768
 
$as_echo "$ac_header_compiler" >&6; }
13769
 
 
13770
 
# Is the header present?
13771
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13772
 
$as_echo_n "checking $ac_header presence... " >&6; }
13773
 
cat >conftest.$ac_ext <<_ACEOF
13774
 
/* confdefs.h.  */
13775
 
_ACEOF
13776
 
cat confdefs.h >>conftest.$ac_ext
13777
 
cat >>conftest.$ac_ext <<_ACEOF
13778
 
/* end confdefs.h.  */
13779
 
#include <$ac_header>
13780
 
_ACEOF
13781
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13782
 
case "(($ac_try" in
13783
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13784
 
  *) ac_try_echo=$ac_try;;
13785
 
esac
13786
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13787
 
$as_echo "$ac_try_echo") >&5
13788
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13789
 
  ac_status=$?
13790
 
  grep -v '^ *+' conftest.er1 >conftest.err
13791
 
  rm -f conftest.er1
13792
 
  cat conftest.err >&5
13793
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794
 
  (exit $ac_status); } >/dev/null && {
13795
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13796
 
         test ! -s conftest.err
13797
 
       }; then
13798
 
  ac_header_preproc=yes
13799
 
else
13800
 
  $as_echo "$as_me: failed program was:" >&5
13801
 
sed 's/^/| /' conftest.$ac_ext >&5
13802
 
 
13803
 
  ac_header_preproc=no
13804
 
fi
13805
 
 
13806
 
rm -f conftest.err conftest.$ac_ext
13807
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13808
 
$as_echo "$ac_header_preproc" >&6; }
13809
 
 
13810
 
# So?  What about this header?
13811
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13812
 
  yes:no: )
13813
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13814
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13815
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13816
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13817
 
    ac_header_preproc=yes
13818
 
    ;;
13819
 
  no:yes:* )
13820
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13821
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13822
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13823
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13824
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13825
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13826
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13827
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13828
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13829
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13830
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13831
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13832
 
    ( cat <<\_ASBOX
13833
 
## ---------------------------------------- ##
13834
 
## Report this to http://bugzilla.xfce.org/ ##
13835
 
## ---------------------------------------- ##
13836
 
_ASBOX
13837
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
13838
 
    ;;
13839
 
esac
13840
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13841
 
$as_echo_n "checking for $ac_header... " >&6; }
13842
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13843
 
  $as_echo_n "(cached) " >&6
13844
 
else
13845
 
  eval "$as_ac_Header=\$ac_header_preproc"
13846
 
fi
13847
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13848
 
                 $as_echo "$as_val"'`
13849
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13850
 
$as_echo "$ac_res" >&6; }
13851
 
 
13852
 
fi
13853
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13854
 
                 $as_echo "$as_val"'`
13855
 
   if test "x$as_val" = x""yes; then
 
12244
do :
 
12245
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12246
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
12247
eval as_val=\$$as_ac_Header
 
12248
   if test "x$as_val" = x""yes; then :
13856
12249
  cat >>confdefs.h <<_ACEOF
13857
12250
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13858
12251
_ACEOF
13875
12268
 
13876
12269
 
13877
12270
 
13878
 
    ALL_LINGUAS="ca cs da de el es et eu fi fr gl id it ja nb nl pt_BR pt ru sv tr uk ur ur_PK zh_CN "
13879
 
 
13880
 
 
13881
 
for ac_header in locale.h
13882
 
do
13883
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13884
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13885
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13886
 
$as_echo_n "checking for $ac_header... " >&6; }
13887
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13888
 
  $as_echo_n "(cached) " >&6
13889
 
fi
13890
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13891
 
                 $as_echo "$as_val"'`
13892
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13893
 
$as_echo "$ac_res" >&6; }
13894
 
else
13895
 
  # Is the header compilable?
13896
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13897
 
$as_echo_n "checking $ac_header usability... " >&6; }
13898
 
cat >conftest.$ac_ext <<_ACEOF
13899
 
/* confdefs.h.  */
13900
 
_ACEOF
13901
 
cat confdefs.h >>conftest.$ac_ext
13902
 
cat >>conftest.$ac_ext <<_ACEOF
13903
 
/* end confdefs.h.  */
13904
 
$ac_includes_default
13905
 
#include <$ac_header>
13906
 
_ACEOF
13907
 
rm -f conftest.$ac_objext
13908
 
if { (ac_try="$ac_compile"
13909
 
case "(($ac_try" in
13910
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13911
 
  *) ac_try_echo=$ac_try;;
13912
 
esac
13913
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13914
 
$as_echo "$ac_try_echo") >&5
13915
 
  (eval "$ac_compile") 2>conftest.er1
13916
 
  ac_status=$?
13917
 
  grep -v '^ *+' conftest.er1 >conftest.err
13918
 
  rm -f conftest.er1
13919
 
  cat conftest.err >&5
13920
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921
 
  (exit $ac_status); } && {
13922
 
         test -z "$ac_c_werror_flag" ||
13923
 
         test ! -s conftest.err
13924
 
       } && test -s conftest.$ac_objext; then
13925
 
  ac_header_compiler=yes
13926
 
else
13927
 
  $as_echo "$as_me: failed program was:" >&5
13928
 
sed 's/^/| /' conftest.$ac_ext >&5
13929
 
 
13930
 
        ac_header_compiler=no
13931
 
fi
13932
 
 
13933
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13934
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13935
 
$as_echo "$ac_header_compiler" >&6; }
13936
 
 
13937
 
# Is the header present?
13938
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13939
 
$as_echo_n "checking $ac_header presence... " >&6; }
13940
 
cat >conftest.$ac_ext <<_ACEOF
13941
 
/* confdefs.h.  */
13942
 
_ACEOF
13943
 
cat confdefs.h >>conftest.$ac_ext
13944
 
cat >>conftest.$ac_ext <<_ACEOF
13945
 
/* end confdefs.h.  */
13946
 
#include <$ac_header>
13947
 
_ACEOF
13948
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13949
 
case "(($ac_try" in
13950
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13951
 
  *) ac_try_echo=$ac_try;;
13952
 
esac
13953
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13954
 
$as_echo "$ac_try_echo") >&5
13955
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13956
 
  ac_status=$?
13957
 
  grep -v '^ *+' conftest.er1 >conftest.err
13958
 
  rm -f conftest.er1
13959
 
  cat conftest.err >&5
13960
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961
 
  (exit $ac_status); } >/dev/null && {
13962
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13963
 
         test ! -s conftest.err
13964
 
       }; then
13965
 
  ac_header_preproc=yes
13966
 
else
13967
 
  $as_echo "$as_me: failed program was:" >&5
13968
 
sed 's/^/| /' conftest.$ac_ext >&5
13969
 
 
13970
 
  ac_header_preproc=no
13971
 
fi
13972
 
 
13973
 
rm -f conftest.err conftest.$ac_ext
13974
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13975
 
$as_echo "$ac_header_preproc" >&6; }
13976
 
 
13977
 
# So?  What about this header?
13978
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13979
 
  yes:no: )
13980
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13981
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13982
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13983
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13984
 
    ac_header_preproc=yes
13985
 
    ;;
13986
 
  no:yes:* )
13987
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13988
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13989
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13990
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13991
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13992
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13993
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13994
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13995
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13996
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13997
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13998
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13999
 
    ( cat <<\_ASBOX
14000
 
## ---------------------------------------- ##
14001
 
## Report this to http://bugzilla.xfce.org/ ##
14002
 
## ---------------------------------------- ##
14003
 
_ASBOX
14004
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
14005
 
    ;;
14006
 
esac
14007
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14008
 
$as_echo_n "checking for $ac_header... " >&6; }
14009
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14010
 
  $as_echo_n "(cached) " >&6
14011
 
else
14012
 
  eval "$as_ac_Header=\$ac_header_preproc"
14013
 
fi
14014
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14015
 
                 $as_echo "$as_val"'`
14016
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14017
 
$as_echo "$ac_res" >&6; }
14018
 
 
14019
 
fi
14020
 
as_val=`eval 'as_val=${'$as_ac_Header'}
14021
 
                 $as_echo "$as_val"'`
14022
 
   if test "x$as_val" = x""yes; then
 
12271
    ALL_LINGUAS="ast ca cs da de el es et eu fi fr gl id it ja nb nl pt_BR pt ru sv tr uk ur ur_PK zh_CN "
 
12272
 
 
12273
   for ac_header in locale.h
 
12274
do :
 
12275
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
12276
if test "x$ac_cv_header_locale_h" = x""yes; then :
14023
12277
  cat >>confdefs.h <<_ACEOF
14024
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
12278
#define HAVE_LOCALE_H 1
14025
12279
_ACEOF
14026
12280
 
14027
12281
fi
14029
12283
done
14030
12284
 
14031
12285
    if test $ac_cv_header_locale_h = yes; then
14032
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
12286
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14033
12287
$as_echo_n "checking for LC_MESSAGES... " >&6; }
14034
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
12288
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
14035
12289
  $as_echo_n "(cached) " >&6
14036
12290
else
14037
 
  cat >conftest.$ac_ext <<_ACEOF
14038
 
/* confdefs.h.  */
14039
 
_ACEOF
14040
 
cat confdefs.h >>conftest.$ac_ext
14041
 
cat >>conftest.$ac_ext <<_ACEOF
 
12291
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042
12292
/* end confdefs.h.  */
14043
12293
#include <locale.h>
14044
12294
int
14049
12299
  return 0;
14050
12300
}
14051
12301
_ACEOF
14052
 
rm -f conftest.$ac_objext conftest$ac_exeext
14053
 
if { (ac_try="$ac_link"
14054
 
case "(($ac_try" in
14055
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14056
 
  *) ac_try_echo=$ac_try;;
14057
 
esac
14058
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14059
 
$as_echo "$ac_try_echo") >&5
14060
 
  (eval "$ac_link") 2>conftest.er1
14061
 
  ac_status=$?
14062
 
  grep -v '^ *+' conftest.er1 >conftest.err
14063
 
  rm -f conftest.er1
14064
 
  cat conftest.err >&5
14065
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066
 
  (exit $ac_status); } && {
14067
 
         test -z "$ac_c_werror_flag" ||
14068
 
         test ! -s conftest.err
14069
 
       } && test -s conftest$ac_exeext && {
14070
 
         test "$cross_compiling" = yes ||
14071
 
         $as_test_x conftest$ac_exeext
14072
 
       }; then
 
12302
if ac_fn_c_try_link "$LINENO"; then :
14073
12303
  am_cv_val_LC_MESSAGES=yes
14074
12304
else
14075
 
  $as_echo "$as_me: failed program was:" >&5
14076
 
sed 's/^/| /' conftest.$ac_ext >&5
14077
 
 
14078
 
        am_cv_val_LC_MESSAGES=no
14079
 
fi
14080
 
 
14081
 
rm -rf conftest.dSYM
14082
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14083
 
      conftest$ac_exeext conftest.$ac_ext
14084
 
fi
14085
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
12305
  am_cv_val_LC_MESSAGES=no
 
12306
fi
 
12307
rm -f core conftest.err conftest.$ac_objext \
 
12308
    conftest$ac_exeext conftest.$ac_ext
 
12309
fi
 
12310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14086
12311
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14087
12312
    if test $am_cv_val_LC_MESSAGES = yes; then
14088
12313
 
14089
 
cat >>confdefs.h <<\_ACEOF
14090
 
#define HAVE_LC_MESSAGES 1
14091
 
_ACEOF
 
12314
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14092
12315
 
14093
12316
    fi
14094
12317
  fi
14101
12324
    XGETTEXT=:
14102
12325
    INTLLIBS=
14103
12326
 
14104
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
14105
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
14106
 
$as_echo_n "checking for libintl.h... " >&6; }
14107
 
if test "${ac_cv_header_libintl_h+set}" = set; then
14108
 
  $as_echo_n "(cached) " >&6
14109
 
fi
14110
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
14111
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
14112
 
else
14113
 
  # Is the header compilable?
14114
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
14115
 
$as_echo_n "checking libintl.h usability... " >&6; }
14116
 
cat >conftest.$ac_ext <<_ACEOF
14117
 
/* confdefs.h.  */
14118
 
_ACEOF
14119
 
cat confdefs.h >>conftest.$ac_ext
14120
 
cat >>conftest.$ac_ext <<_ACEOF
14121
 
/* end confdefs.h.  */
14122
 
$ac_includes_default
14123
 
#include <libintl.h>
14124
 
_ACEOF
14125
 
rm -f conftest.$ac_objext
14126
 
if { (ac_try="$ac_compile"
14127
 
case "(($ac_try" in
14128
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14129
 
  *) ac_try_echo=$ac_try;;
14130
 
esac
14131
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14132
 
$as_echo "$ac_try_echo") >&5
14133
 
  (eval "$ac_compile") 2>conftest.er1
14134
 
  ac_status=$?
14135
 
  grep -v '^ *+' conftest.er1 >conftest.err
14136
 
  rm -f conftest.er1
14137
 
  cat conftest.err >&5
14138
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139
 
  (exit $ac_status); } && {
14140
 
         test -z "$ac_c_werror_flag" ||
14141
 
         test ! -s conftest.err
14142
 
       } && test -s conftest.$ac_objext; then
14143
 
  ac_header_compiler=yes
14144
 
else
14145
 
  $as_echo "$as_me: failed program was:" >&5
14146
 
sed 's/^/| /' conftest.$ac_ext >&5
14147
 
 
14148
 
        ac_header_compiler=no
14149
 
fi
14150
 
 
14151
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14152
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14153
 
$as_echo "$ac_header_compiler" >&6; }
14154
 
 
14155
 
# Is the header present?
14156
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
14157
 
$as_echo_n "checking libintl.h presence... " >&6; }
14158
 
cat >conftest.$ac_ext <<_ACEOF
14159
 
/* confdefs.h.  */
14160
 
_ACEOF
14161
 
cat confdefs.h >>conftest.$ac_ext
14162
 
cat >>conftest.$ac_ext <<_ACEOF
14163
 
/* end confdefs.h.  */
14164
 
#include <libintl.h>
14165
 
_ACEOF
14166
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14167
 
case "(($ac_try" in
14168
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14169
 
  *) ac_try_echo=$ac_try;;
14170
 
esac
14171
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14172
 
$as_echo "$ac_try_echo") >&5
14173
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14174
 
  ac_status=$?
14175
 
  grep -v '^ *+' conftest.er1 >conftest.err
14176
 
  rm -f conftest.er1
14177
 
  cat conftest.err >&5
14178
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179
 
  (exit $ac_status); } >/dev/null && {
14180
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14181
 
         test ! -s conftest.err
14182
 
       }; then
14183
 
  ac_header_preproc=yes
14184
 
else
14185
 
  $as_echo "$as_me: failed program was:" >&5
14186
 
sed 's/^/| /' conftest.$ac_ext >&5
14187
 
 
14188
 
  ac_header_preproc=no
14189
 
fi
14190
 
 
14191
 
rm -f conftest.err conftest.$ac_ext
14192
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14193
 
$as_echo "$ac_header_preproc" >&6; }
14194
 
 
14195
 
# So?  What about this header?
14196
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14197
 
  yes:no: )
14198
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
14199
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14200
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
14201
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
14202
 
    ac_header_preproc=yes
14203
 
    ;;
14204
 
  no:yes:* )
14205
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
14206
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
14207
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
14208
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
14209
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
14210
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
14211
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
14212
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
14213
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
14214
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
14215
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
14216
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
14217
 
    ( cat <<\_ASBOX
14218
 
## ---------------------------------------- ##
14219
 
## Report this to http://bugzilla.xfce.org/ ##
14220
 
## ---------------------------------------- ##
14221
 
_ASBOX
14222
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
14223
 
    ;;
14224
 
esac
14225
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
14226
 
$as_echo_n "checking for libintl.h... " >&6; }
14227
 
if test "${ac_cv_header_libintl_h+set}" = set; then
14228
 
  $as_echo_n "(cached) " >&6
14229
 
else
14230
 
  ac_cv_header_libintl_h=$ac_header_preproc
14231
 
fi
14232
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
14233
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
14234
 
 
14235
 
fi
14236
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
12327
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
12328
if test "x$ac_cv_header_libintl_h" = x""yes; then :
14237
12329
  gt_cv_func_dgettext_libintl="no"
14238
12330
      libintl_extra_libs=""
14239
12331
 
14240
12332
      #
14241
12333
      # First check in libc
14242
12334
      #
14243
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
12335
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14244
12336
$as_echo_n "checking for ngettext in libc... " >&6; }
14245
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
12337
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
14246
12338
  $as_echo_n "(cached) " >&6
14247
12339
else
14248
 
  cat >conftest.$ac_ext <<_ACEOF
14249
 
/* confdefs.h.  */
14250
 
_ACEOF
14251
 
cat confdefs.h >>conftest.$ac_ext
14252
 
cat >>conftest.$ac_ext <<_ACEOF
 
12340
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253
12341
/* end confdefs.h.  */
14254
12342
 
14255
12343
#include <libintl.h>
14262
12350
  return 0;
14263
12351
}
14264
12352
_ACEOF
14265
 
rm -f conftest.$ac_objext conftest$ac_exeext
14266
 
if { (ac_try="$ac_link"
14267
 
case "(($ac_try" in
14268
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14269
 
  *) ac_try_echo=$ac_try;;
14270
 
esac
14271
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14272
 
$as_echo "$ac_try_echo") >&5
14273
 
  (eval "$ac_link") 2>conftest.er1
14274
 
  ac_status=$?
14275
 
  grep -v '^ *+' conftest.er1 >conftest.err
14276
 
  rm -f conftest.er1
14277
 
  cat conftest.err >&5
14278
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279
 
  (exit $ac_status); } && {
14280
 
         test -z "$ac_c_werror_flag" ||
14281
 
         test ! -s conftest.err
14282
 
       } && test -s conftest$ac_exeext && {
14283
 
         test "$cross_compiling" = yes ||
14284
 
         $as_test_x conftest$ac_exeext
14285
 
       }; then
 
12353
if ac_fn_c_try_link "$LINENO"; then :
14286
12354
  gt_cv_func_ngettext_libc=yes
14287
12355
else
14288
 
  $as_echo "$as_me: failed program was:" >&5
14289
 
sed 's/^/| /' conftest.$ac_ext >&5
14290
 
 
14291
 
        gt_cv_func_ngettext_libc=no
14292
 
fi
14293
 
 
14294
 
rm -rf conftest.dSYM
14295
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14296
 
      conftest$ac_exeext conftest.$ac_ext
14297
 
 
14298
 
fi
14299
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
12356
  gt_cv_func_ngettext_libc=no
 
12357
fi
 
12358
rm -f core conftest.err conftest.$ac_objext \
 
12359
    conftest$ac_exeext conftest.$ac_ext
 
12360
 
 
12361
fi
 
12362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14300
12363
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
14301
12364
 
14302
12365
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14303
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
12366
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14304
12367
$as_echo_n "checking for dgettext in libc... " >&6; }
14305
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
12368
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
14306
12369
  $as_echo_n "(cached) " >&6
14307
12370
else
14308
 
  cat >conftest.$ac_ext <<_ACEOF
14309
 
/* confdefs.h.  */
14310
 
_ACEOF
14311
 
cat confdefs.h >>conftest.$ac_ext
14312
 
cat >>conftest.$ac_ext <<_ACEOF
 
12371
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313
12372
/* end confdefs.h.  */
14314
12373
 
14315
12374
#include <libintl.h>
14322
12381
  return 0;
14323
12382
}
14324
12383
_ACEOF
14325
 
rm -f conftest.$ac_objext conftest$ac_exeext
14326
 
if { (ac_try="$ac_link"
14327
 
case "(($ac_try" in
14328
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14329
 
  *) ac_try_echo=$ac_try;;
14330
 
esac
14331
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14332
 
$as_echo "$ac_try_echo") >&5
14333
 
  (eval "$ac_link") 2>conftest.er1
14334
 
  ac_status=$?
14335
 
  grep -v '^ *+' conftest.er1 >conftest.err
14336
 
  rm -f conftest.er1
14337
 
  cat conftest.err >&5
14338
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339
 
  (exit $ac_status); } && {
14340
 
         test -z "$ac_c_werror_flag" ||
14341
 
         test ! -s conftest.err
14342
 
       } && test -s conftest$ac_exeext && {
14343
 
         test "$cross_compiling" = yes ||
14344
 
         $as_test_x conftest$ac_exeext
14345
 
       }; then
 
12384
if ac_fn_c_try_link "$LINENO"; then :
14346
12385
  gt_cv_func_dgettext_libc=yes
14347
12386
else
14348
 
  $as_echo "$as_me: failed program was:" >&5
14349
 
sed 's/^/| /' conftest.$ac_ext >&5
14350
 
 
14351
 
        gt_cv_func_dgettext_libc=no
14352
 
fi
14353
 
 
14354
 
rm -rf conftest.dSYM
14355
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14356
 
      conftest$ac_exeext conftest.$ac_ext
14357
 
 
14358
 
fi
14359
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
12387
  gt_cv_func_dgettext_libc=no
 
12388
fi
 
12389
rm -f core conftest.err conftest.$ac_objext \
 
12390
    conftest$ac_exeext conftest.$ac_ext
 
12391
 
 
12392
fi
 
12393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14360
12394
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14361
12395
      fi
14362
12396
 
14363
12397
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14364
 
 
14365
 
for ac_func in bind_textdomain_codeset
14366
 
do
14367
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14368
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14369
 
$as_echo_n "checking for $ac_func... " >&6; }
14370
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14371
 
  $as_echo_n "(cached) " >&6
14372
 
else
14373
 
  cat >conftest.$ac_ext <<_ACEOF
14374
 
/* confdefs.h.  */
14375
 
_ACEOF
14376
 
cat confdefs.h >>conftest.$ac_ext
14377
 
cat >>conftest.$ac_ext <<_ACEOF
14378
 
/* end confdefs.h.  */
14379
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14380
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14381
 
#define $ac_func innocuous_$ac_func
14382
 
 
14383
 
/* System header to define __stub macros and hopefully few prototypes,
14384
 
    which can conflict with char $ac_func (); below.
14385
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14386
 
    <limits.h> exists even on freestanding compilers.  */
14387
 
 
14388
 
#ifdef __STDC__
14389
 
# include <limits.h>
14390
 
#else
14391
 
# include <assert.h>
14392
 
#endif
14393
 
 
14394
 
#undef $ac_func
14395
 
 
14396
 
/* Override any GCC internal prototype to avoid an error.
14397
 
   Use char because int might match the return type of a GCC
14398
 
   builtin and then its argument prototype would still apply.  */
14399
 
#ifdef __cplusplus
14400
 
extern "C"
14401
 
#endif
14402
 
char $ac_func ();
14403
 
/* The GNU C library defines this for functions which it implements
14404
 
    to always fail with ENOSYS.  Some functions are actually named
14405
 
    something starting with __ and the normal name is an alias.  */
14406
 
#if defined __stub_$ac_func || defined __stub___$ac_func
14407
 
choke me
14408
 
#endif
14409
 
 
14410
 
int
14411
 
main ()
14412
 
{
14413
 
return $ac_func ();
14414
 
  ;
14415
 
  return 0;
14416
 
}
14417
 
_ACEOF
14418
 
rm -f conftest.$ac_objext conftest$ac_exeext
14419
 
if { (ac_try="$ac_link"
14420
 
case "(($ac_try" in
14421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14422
 
  *) ac_try_echo=$ac_try;;
14423
 
esac
14424
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14425
 
$as_echo "$ac_try_echo") >&5
14426
 
  (eval "$ac_link") 2>conftest.er1
14427
 
  ac_status=$?
14428
 
  grep -v '^ *+' conftest.er1 >conftest.err
14429
 
  rm -f conftest.er1
14430
 
  cat conftest.err >&5
14431
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432
 
  (exit $ac_status); } && {
14433
 
         test -z "$ac_c_werror_flag" ||
14434
 
         test ! -s conftest.err
14435
 
       } && test -s conftest$ac_exeext && {
14436
 
         test "$cross_compiling" = yes ||
14437
 
         $as_test_x conftest$ac_exeext
14438
 
       }; then
14439
 
  eval "$as_ac_var=yes"
14440
 
else
14441
 
  $as_echo "$as_me: failed program was:" >&5
14442
 
sed 's/^/| /' conftest.$ac_ext >&5
14443
 
 
14444
 
        eval "$as_ac_var=no"
14445
 
fi
14446
 
 
14447
 
rm -rf conftest.dSYM
14448
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14449
 
      conftest$ac_exeext conftest.$ac_ext
14450
 
fi
14451
 
ac_res=`eval 'as_val=${'$as_ac_var'}
14452
 
                 $as_echo "$as_val"'`
14453
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14454
 
$as_echo "$ac_res" >&6; }
14455
 
as_val=`eval 'as_val=${'$as_ac_var'}
14456
 
                 $as_echo "$as_val"'`
14457
 
   if test "x$as_val" = x""yes; then
 
12398
        for ac_func in bind_textdomain_codeset
 
12399
do :
 
12400
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12401
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14458
12402
  cat >>confdefs.h <<_ACEOF
14459
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12403
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14460
12404
_ACEOF
14461
12405
 
14462
12406
fi
14471
12415
         || test "$gt_cv_func_ngettext_libc" != "yes" \
14472
12416
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14473
12417
 
14474
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
12418
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14475
12419
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14476
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
12420
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
14477
12421
  $as_echo_n "(cached) " >&6
14478
12422
else
14479
12423
  ac_check_lib_save_LIBS=$LIBS
14480
12424
LIBS="-lintl  $LIBS"
14481
 
cat >conftest.$ac_ext <<_ACEOF
14482
 
/* confdefs.h.  */
14483
 
_ACEOF
14484
 
cat confdefs.h >>conftest.$ac_ext
14485
 
cat >>conftest.$ac_ext <<_ACEOF
 
12425
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14486
12426
/* end confdefs.h.  */
14487
12427
 
14488
12428
/* Override any GCC internal prototype to avoid an error.
14500
12440
  return 0;
14501
12441
}
14502
12442
_ACEOF
14503
 
rm -f conftest.$ac_objext conftest$ac_exeext
14504
 
if { (ac_try="$ac_link"
14505
 
case "(($ac_try" in
14506
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14507
 
  *) ac_try_echo=$ac_try;;
14508
 
esac
14509
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14510
 
$as_echo "$ac_try_echo") >&5
14511
 
  (eval "$ac_link") 2>conftest.er1
14512
 
  ac_status=$?
14513
 
  grep -v '^ *+' conftest.er1 >conftest.err
14514
 
  rm -f conftest.er1
14515
 
  cat conftest.err >&5
14516
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517
 
  (exit $ac_status); } && {
14518
 
         test -z "$ac_c_werror_flag" ||
14519
 
         test ! -s conftest.err
14520
 
       } && test -s conftest$ac_exeext && {
14521
 
         test "$cross_compiling" = yes ||
14522
 
         $as_test_x conftest$ac_exeext
14523
 
       }; then
 
12443
if ac_fn_c_try_link "$LINENO"; then :
14524
12444
  ac_cv_lib_intl_bindtextdomain=yes
14525
12445
else
14526
 
  $as_echo "$as_me: failed program was:" >&5
14527
 
sed 's/^/| /' conftest.$ac_ext >&5
14528
 
 
14529
 
        ac_cv_lib_intl_bindtextdomain=no
 
12446
  ac_cv_lib_intl_bindtextdomain=no
14530
12447
fi
14531
 
 
14532
 
rm -rf conftest.dSYM
14533
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14534
 
      conftest$ac_exeext conftest.$ac_ext
 
12448
rm -f core conftest.err conftest.$ac_objext \
 
12449
    conftest$ac_exeext conftest.$ac_ext
14535
12450
LIBS=$ac_check_lib_save_LIBS
14536
12451
fi
14537
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
12452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14538
12453
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14539
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
14540
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
12454
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
12455
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14541
12456
$as_echo_n "checking for ngettext in -lintl... " >&6; }
14542
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
12457
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
14543
12458
  $as_echo_n "(cached) " >&6
14544
12459
else
14545
12460
  ac_check_lib_save_LIBS=$LIBS
14546
12461
LIBS="-lintl  $LIBS"
14547
 
cat >conftest.$ac_ext <<_ACEOF
14548
 
/* confdefs.h.  */
14549
 
_ACEOF
14550
 
cat confdefs.h >>conftest.$ac_ext
14551
 
cat >>conftest.$ac_ext <<_ACEOF
 
12462
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552
12463
/* end confdefs.h.  */
14553
12464
 
14554
12465
/* Override any GCC internal prototype to avoid an error.
14566
12477
  return 0;
14567
12478
}
14568
12479
_ACEOF
14569
 
rm -f conftest.$ac_objext conftest$ac_exeext
14570
 
if { (ac_try="$ac_link"
14571
 
case "(($ac_try" in
14572
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14573
 
  *) ac_try_echo=$ac_try;;
14574
 
esac
14575
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14576
 
$as_echo "$ac_try_echo") >&5
14577
 
  (eval "$ac_link") 2>conftest.er1
14578
 
  ac_status=$?
14579
 
  grep -v '^ *+' conftest.er1 >conftest.err
14580
 
  rm -f conftest.er1
14581
 
  cat conftest.err >&5
14582
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583
 
  (exit $ac_status); } && {
14584
 
         test -z "$ac_c_werror_flag" ||
14585
 
         test ! -s conftest.err
14586
 
       } && test -s conftest$ac_exeext && {
14587
 
         test "$cross_compiling" = yes ||
14588
 
         $as_test_x conftest$ac_exeext
14589
 
       }; then
 
12480
if ac_fn_c_try_link "$LINENO"; then :
14590
12481
  ac_cv_lib_intl_ngettext=yes
14591
12482
else
14592
 
  $as_echo "$as_me: failed program was:" >&5
14593
 
sed 's/^/| /' conftest.$ac_ext >&5
14594
 
 
14595
 
        ac_cv_lib_intl_ngettext=no
 
12483
  ac_cv_lib_intl_ngettext=no
14596
12484
fi
14597
 
 
14598
 
rm -rf conftest.dSYM
14599
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14600
 
      conftest$ac_exeext conftest.$ac_ext
 
12485
rm -f core conftest.err conftest.$ac_objext \
 
12486
    conftest$ac_exeext conftest.$ac_ext
14601
12487
LIBS=$ac_check_lib_save_LIBS
14602
12488
fi
14603
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
12489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14604
12490
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14605
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
14606
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
12491
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
12492
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14607
12493
$as_echo_n "checking for dgettext in -lintl... " >&6; }
14608
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
12494
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
14609
12495
  $as_echo_n "(cached) " >&6
14610
12496
else
14611
12497
  ac_check_lib_save_LIBS=$LIBS
14612
12498
LIBS="-lintl  $LIBS"
14613
 
cat >conftest.$ac_ext <<_ACEOF
14614
 
/* confdefs.h.  */
14615
 
_ACEOF
14616
 
cat confdefs.h >>conftest.$ac_ext
14617
 
cat >>conftest.$ac_ext <<_ACEOF
 
12499
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14618
12500
/* end confdefs.h.  */
14619
12501
 
14620
12502
/* Override any GCC internal prototype to avoid an error.
14632
12514
  return 0;
14633
12515
}
14634
12516
_ACEOF
14635
 
rm -f conftest.$ac_objext conftest$ac_exeext
14636
 
if { (ac_try="$ac_link"
14637
 
case "(($ac_try" in
14638
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14639
 
  *) ac_try_echo=$ac_try;;
14640
 
esac
14641
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14642
 
$as_echo "$ac_try_echo") >&5
14643
 
  (eval "$ac_link") 2>conftest.er1
14644
 
  ac_status=$?
14645
 
  grep -v '^ *+' conftest.er1 >conftest.err
14646
 
  rm -f conftest.er1
14647
 
  cat conftest.err >&5
14648
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649
 
  (exit $ac_status); } && {
14650
 
         test -z "$ac_c_werror_flag" ||
14651
 
         test ! -s conftest.err
14652
 
       } && test -s conftest$ac_exeext && {
14653
 
         test "$cross_compiling" = yes ||
14654
 
         $as_test_x conftest$ac_exeext
14655
 
       }; then
 
12517
if ac_fn_c_try_link "$LINENO"; then :
14656
12518
  ac_cv_lib_intl_dgettext=yes
14657
12519
else
14658
 
  $as_echo "$as_me: failed program was:" >&5
14659
 
sed 's/^/| /' conftest.$ac_ext >&5
14660
 
 
14661
 
        ac_cv_lib_intl_dgettext=no
 
12520
  ac_cv_lib_intl_dgettext=no
14662
12521
fi
14663
 
 
14664
 
rm -rf conftest.dSYM
14665
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14666
 
      conftest$ac_exeext conftest.$ac_ext
 
12522
rm -f core conftest.err conftest.$ac_objext \
 
12523
    conftest$ac_exeext conftest.$ac_ext
14667
12524
LIBS=$ac_check_lib_save_LIBS
14668
12525
fi
14669
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
12526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14670
12527
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14671
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
12528
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
14672
12529
  gt_cv_func_dgettext_libintl=yes
14673
12530
fi
14674
12531
 
14678
12535
 
14679
12536
 
14680
12537
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
14681
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
12538
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14682
12539
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14683
 
          { $as_echo "$as_me:$LINENO: result: " >&5
 
12540
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14684
12541
$as_echo "" >&6; }
14685
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
12542
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14686
12543
$as_echo_n "checking for ngettext in -lintl... " >&6; }
14687
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
12544
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
14688
12545
  $as_echo_n "(cached) " >&6
14689
12546
else
14690
12547
  ac_check_lib_save_LIBS=$LIBS
14691
12548
LIBS="-lintl -liconv $LIBS"
14692
 
cat >conftest.$ac_ext <<_ACEOF
14693
 
/* confdefs.h.  */
14694
 
_ACEOF
14695
 
cat confdefs.h >>conftest.$ac_ext
14696
 
cat >>conftest.$ac_ext <<_ACEOF
 
12549
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697
12550
/* end confdefs.h.  */
14698
12551
 
14699
12552
/* Override any GCC internal prototype to avoid an error.
14711
12564
  return 0;
14712
12565
}
14713
12566
_ACEOF
14714
 
rm -f conftest.$ac_objext conftest$ac_exeext
14715
 
if { (ac_try="$ac_link"
14716
 
case "(($ac_try" in
14717
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14718
 
  *) ac_try_echo=$ac_try;;
14719
 
esac
14720
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14721
 
$as_echo "$ac_try_echo") >&5
14722
 
  (eval "$ac_link") 2>conftest.er1
14723
 
  ac_status=$?
14724
 
  grep -v '^ *+' conftest.er1 >conftest.err
14725
 
  rm -f conftest.er1
14726
 
  cat conftest.err >&5
14727
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728
 
  (exit $ac_status); } && {
14729
 
         test -z "$ac_c_werror_flag" ||
14730
 
         test ! -s conftest.err
14731
 
       } && test -s conftest$ac_exeext && {
14732
 
         test "$cross_compiling" = yes ||
14733
 
         $as_test_x conftest$ac_exeext
14734
 
       }; then
 
12567
if ac_fn_c_try_link "$LINENO"; then :
14735
12568
  ac_cv_lib_intl_ngettext=yes
14736
12569
else
14737
 
  $as_echo "$as_me: failed program was:" >&5
14738
 
sed 's/^/| /' conftest.$ac_ext >&5
14739
 
 
14740
 
        ac_cv_lib_intl_ngettext=no
 
12570
  ac_cv_lib_intl_ngettext=no
14741
12571
fi
14742
 
 
14743
 
rm -rf conftest.dSYM
14744
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14745
 
      conftest$ac_exeext conftest.$ac_ext
 
12572
rm -f core conftest.err conftest.$ac_objext \
 
12573
    conftest$ac_exeext conftest.$ac_ext
14746
12574
LIBS=$ac_check_lib_save_LIBS
14747
12575
fi
14748
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
12576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14749
12577
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14750
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
14751
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
12578
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
12579
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14752
12580
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
14753
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
12581
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
14754
12582
  $as_echo_n "(cached) " >&6
14755
12583
else
14756
12584
  ac_check_lib_save_LIBS=$LIBS
14757
12585
LIBS="-lintl -liconv $LIBS"
14758
 
cat >conftest.$ac_ext <<_ACEOF
14759
 
/* confdefs.h.  */
14760
 
_ACEOF
14761
 
cat confdefs.h >>conftest.$ac_ext
14762
 
cat >>conftest.$ac_ext <<_ACEOF
 
12586
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763
12587
/* end confdefs.h.  */
14764
12588
 
14765
12589
/* Override any GCC internal prototype to avoid an error.
14777
12601
  return 0;
14778
12602
}
14779
12603
_ACEOF
14780
 
rm -f conftest.$ac_objext conftest$ac_exeext
14781
 
if { (ac_try="$ac_link"
14782
 
case "(($ac_try" in
14783
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14784
 
  *) ac_try_echo=$ac_try;;
14785
 
esac
14786
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14787
 
$as_echo "$ac_try_echo") >&5
14788
 
  (eval "$ac_link") 2>conftest.er1
14789
 
  ac_status=$?
14790
 
  grep -v '^ *+' conftest.er1 >conftest.err
14791
 
  rm -f conftest.er1
14792
 
  cat conftest.err >&5
14793
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794
 
  (exit $ac_status); } && {
14795
 
         test -z "$ac_c_werror_flag" ||
14796
 
         test ! -s conftest.err
14797
 
       } && test -s conftest$ac_exeext && {
14798
 
         test "$cross_compiling" = yes ||
14799
 
         $as_test_x conftest$ac_exeext
14800
 
       }; then
 
12604
if ac_fn_c_try_link "$LINENO"; then :
14801
12605
  ac_cv_lib_intl_dcgettext=yes
14802
12606
else
14803
 
  $as_echo "$as_me: failed program was:" >&5
14804
 
sed 's/^/| /' conftest.$ac_ext >&5
14805
 
 
14806
 
        ac_cv_lib_intl_dcgettext=no
 
12607
  ac_cv_lib_intl_dcgettext=no
14807
12608
fi
14808
 
 
14809
 
rm -rf conftest.dSYM
14810
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14811
 
      conftest$ac_exeext conftest.$ac_ext
 
12609
rm -f core conftest.err conftest.$ac_objext \
 
12610
    conftest$ac_exeext conftest.$ac_ext
14812
12611
LIBS=$ac_check_lib_save_LIBS
14813
12612
fi
14814
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
12613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14815
12614
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14816
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
12615
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
14817
12616
  gt_cv_func_dgettext_libintl=yes
14818
12617
                        libintl_extra_libs=-liconv
14819
12618
else
14835
12634
          glib_save_LIBS="$LIBS"
14836
12635
          LIBS="$LIBS -lintl $libintl_extra_libs"
14837
12636
          unset ac_cv_func_bind_textdomain_codeset
14838
 
 
14839
 
for ac_func in bind_textdomain_codeset
14840
 
do
14841
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14842
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14843
 
$as_echo_n "checking for $ac_func... " >&6; }
14844
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14845
 
  $as_echo_n "(cached) " >&6
14846
 
else
14847
 
  cat >conftest.$ac_ext <<_ACEOF
14848
 
/* confdefs.h.  */
14849
 
_ACEOF
14850
 
cat confdefs.h >>conftest.$ac_ext
14851
 
cat >>conftest.$ac_ext <<_ACEOF
14852
 
/* end confdefs.h.  */
14853
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14854
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14855
 
#define $ac_func innocuous_$ac_func
14856
 
 
14857
 
/* System header to define __stub macros and hopefully few prototypes,
14858
 
    which can conflict with char $ac_func (); below.
14859
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14860
 
    <limits.h> exists even on freestanding compilers.  */
14861
 
 
14862
 
#ifdef __STDC__
14863
 
# include <limits.h>
14864
 
#else
14865
 
# include <assert.h>
14866
 
#endif
14867
 
 
14868
 
#undef $ac_func
14869
 
 
14870
 
/* Override any GCC internal prototype to avoid an error.
14871
 
   Use char because int might match the return type of a GCC
14872
 
   builtin and then its argument prototype would still apply.  */
14873
 
#ifdef __cplusplus
14874
 
extern "C"
14875
 
#endif
14876
 
char $ac_func ();
14877
 
/* The GNU C library defines this for functions which it implements
14878
 
    to always fail with ENOSYS.  Some functions are actually named
14879
 
    something starting with __ and the normal name is an alias.  */
14880
 
#if defined __stub_$ac_func || defined __stub___$ac_func
14881
 
choke me
14882
 
#endif
14883
 
 
14884
 
int
14885
 
main ()
14886
 
{
14887
 
return $ac_func ();
14888
 
  ;
14889
 
  return 0;
14890
 
}
14891
 
_ACEOF
14892
 
rm -f conftest.$ac_objext conftest$ac_exeext
14893
 
if { (ac_try="$ac_link"
14894
 
case "(($ac_try" in
14895
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14896
 
  *) ac_try_echo=$ac_try;;
14897
 
esac
14898
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14899
 
$as_echo "$ac_try_echo") >&5
14900
 
  (eval "$ac_link") 2>conftest.er1
14901
 
  ac_status=$?
14902
 
  grep -v '^ *+' conftest.er1 >conftest.err
14903
 
  rm -f conftest.er1
14904
 
  cat conftest.err >&5
14905
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906
 
  (exit $ac_status); } && {
14907
 
         test -z "$ac_c_werror_flag" ||
14908
 
         test ! -s conftest.err
14909
 
       } && test -s conftest$ac_exeext && {
14910
 
         test "$cross_compiling" = yes ||
14911
 
         $as_test_x conftest$ac_exeext
14912
 
       }; then
14913
 
  eval "$as_ac_var=yes"
14914
 
else
14915
 
  $as_echo "$as_me: failed program was:" >&5
14916
 
sed 's/^/| /' conftest.$ac_ext >&5
14917
 
 
14918
 
        eval "$as_ac_var=no"
14919
 
fi
14920
 
 
14921
 
rm -rf conftest.dSYM
14922
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14923
 
      conftest$ac_exeext conftest.$ac_ext
14924
 
fi
14925
 
ac_res=`eval 'as_val=${'$as_ac_var'}
14926
 
                 $as_echo "$as_val"'`
14927
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14928
 
$as_echo "$ac_res" >&6; }
14929
 
as_val=`eval 'as_val=${'$as_ac_var'}
14930
 
                 $as_echo "$as_val"'`
14931
 
   if test "x$as_val" = x""yes; then
 
12637
          for ac_func in bind_textdomain_codeset
 
12638
do :
 
12639
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12640
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14932
12641
  cat >>confdefs.h <<_ACEOF
14933
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12642
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14934
12643
_ACEOF
14935
12644
 
14936
12645
fi
14960
12669
 
14961
12670
      if test "$gt_cv_have_gettext" = "yes"; then
14962
12671
 
14963
 
cat >>confdefs.h <<\_ACEOF
14964
 
#define HAVE_GETTEXT 1
14965
 
_ACEOF
 
12672
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14966
12673
 
14967
12674
        # Extract the first word of "msgfmt", so it can be a program name with args.
14968
12675
set dummy msgfmt; ac_word=$2
14969
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14970
12677
$as_echo_n "checking for $ac_word... " >&6; }
14971
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
12678
if test "${ac_cv_path_MSGFMT+set}" = set; then :
14972
12679
  $as_echo_n "(cached) " >&6
14973
12680
else
14974
12681
  case "$MSGFMT" in
14993
12700
fi
14994
12701
MSGFMT="$ac_cv_path_MSGFMT"
14995
12702
if test "$MSGFMT" != "no"; then
14996
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
12703
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14997
12704
$as_echo "$MSGFMT" >&6; }
14998
12705
else
14999
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12706
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15000
12707
$as_echo "no" >&6; }
15001
12708
fi
15002
12709
        if test "$MSGFMT" != "no"; then
15003
12710
          glib_save_LIBS="$LIBS"
15004
12711
          LIBS="$LIBS $INTLLIBS"
15005
 
 
15006
 
for ac_func in dcgettext
15007
 
do
15008
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15009
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15010
 
$as_echo_n "checking for $ac_func... " >&6; }
15011
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15012
 
  $as_echo_n "(cached) " >&6
15013
 
else
15014
 
  cat >conftest.$ac_ext <<_ACEOF
15015
 
/* confdefs.h.  */
15016
 
_ACEOF
15017
 
cat confdefs.h >>conftest.$ac_ext
15018
 
cat >>conftest.$ac_ext <<_ACEOF
15019
 
/* end confdefs.h.  */
15020
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15021
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15022
 
#define $ac_func innocuous_$ac_func
15023
 
 
15024
 
/* System header to define __stub macros and hopefully few prototypes,
15025
 
    which can conflict with char $ac_func (); below.
15026
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15027
 
    <limits.h> exists even on freestanding compilers.  */
15028
 
 
15029
 
#ifdef __STDC__
15030
 
# include <limits.h>
15031
 
#else
15032
 
# include <assert.h>
15033
 
#endif
15034
 
 
15035
 
#undef $ac_func
15036
 
 
15037
 
/* Override any GCC internal prototype to avoid an error.
15038
 
   Use char because int might match the return type of a GCC
15039
 
   builtin and then its argument prototype would still apply.  */
15040
 
#ifdef __cplusplus
15041
 
extern "C"
15042
 
#endif
15043
 
char $ac_func ();
15044
 
/* The GNU C library defines this for functions which it implements
15045
 
    to always fail with ENOSYS.  Some functions are actually named
15046
 
    something starting with __ and the normal name is an alias.  */
15047
 
#if defined __stub_$ac_func || defined __stub___$ac_func
15048
 
choke me
15049
 
#endif
15050
 
 
15051
 
int
15052
 
main ()
15053
 
{
15054
 
return $ac_func ();
15055
 
  ;
15056
 
  return 0;
15057
 
}
15058
 
_ACEOF
15059
 
rm -f conftest.$ac_objext conftest$ac_exeext
15060
 
if { (ac_try="$ac_link"
15061
 
case "(($ac_try" in
15062
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15063
 
  *) ac_try_echo=$ac_try;;
15064
 
esac
15065
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15066
 
$as_echo "$ac_try_echo") >&5
15067
 
  (eval "$ac_link") 2>conftest.er1
15068
 
  ac_status=$?
15069
 
  grep -v '^ *+' conftest.er1 >conftest.err
15070
 
  rm -f conftest.er1
15071
 
  cat conftest.err >&5
15072
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073
 
  (exit $ac_status); } && {
15074
 
         test -z "$ac_c_werror_flag" ||
15075
 
         test ! -s conftest.err
15076
 
       } && test -s conftest$ac_exeext && {
15077
 
         test "$cross_compiling" = yes ||
15078
 
         $as_test_x conftest$ac_exeext
15079
 
       }; then
15080
 
  eval "$as_ac_var=yes"
15081
 
else
15082
 
  $as_echo "$as_me: failed program was:" >&5
15083
 
sed 's/^/| /' conftest.$ac_ext >&5
15084
 
 
15085
 
        eval "$as_ac_var=no"
15086
 
fi
15087
 
 
15088
 
rm -rf conftest.dSYM
15089
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15090
 
      conftest$ac_exeext conftest.$ac_ext
15091
 
fi
15092
 
ac_res=`eval 'as_val=${'$as_ac_var'}
15093
 
                 $as_echo "$as_val"'`
15094
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15095
 
$as_echo "$ac_res" >&6; }
15096
 
as_val=`eval 'as_val=${'$as_ac_var'}
15097
 
                 $as_echo "$as_val"'`
15098
 
   if test "x$as_val" = x""yes; then
 
12712
          for ac_func in dcgettext
 
12713
do :
 
12714
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
12715
if test "x$ac_cv_func_dcgettext" = x""yes; then :
15099
12716
  cat >>confdefs.h <<_ACEOF
15100
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12717
#define HAVE_DCGETTEXT 1
15101
12718
_ACEOF
15102
12719
 
15103
12720
fi
15104
12721
done
15105
12722
 
15106
12723
          MSGFMT_OPTS=
15107
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
12724
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15108
12725
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
15109
12726
          cat >conftest.foo <<_ACEOF
15110
12727
 
15119
12736
"Content-Transfer-Encoding: 8bit\n"
15120
12737
 
15121
12738
_ACEOF
15122
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
12739
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15123
12740
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15124
12741
  ac_status=$?
15125
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126
 
  (exit $ac_status); }; then
15127
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12742
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12743
  test $ac_status = 0; }; then
 
12744
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15128
12745
$as_echo "yes" >&6; }
15129
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
12746
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15130
12747
$as_echo "no" >&6; }
15131
12748
echo "$as_me: failed input was:" >&5
15132
12749
sed 's/^/| /' conftest.foo >&5
15134
12751
 
15135
12752
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
15136
12753
set dummy gmsgfmt; ac_word=$2
15137
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15138
12755
$as_echo_n "checking for $ac_word... " >&6; }
15139
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
12756
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
15140
12757
  $as_echo_n "(cached) " >&6
15141
12758
else
15142
12759
  case $GMSGFMT in
15149
12766
do
15150
12767
  IFS=$as_save_IFS
15151
12768
  test -z "$as_dir" && as_dir=.
15152
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12769
    for ac_exec_ext in '' $ac_executable_extensions; do
15153
12770
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15154
12771
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15155
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12772
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15156
12773
    break 2
15157
12774
  fi
15158
12775
done
15159
 
done
 
12776
  done
15160
12777
IFS=$as_save_IFS
15161
12778
 
15162
12779
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15165
12782
fi
15166
12783
GMSGFMT=$ac_cv_path_GMSGFMT
15167
12784
if test -n "$GMSGFMT"; then
15168
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
12785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15169
12786
$as_echo "$GMSGFMT" >&6; }
15170
12787
else
15171
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15172
12789
$as_echo "no" >&6; }
15173
12790
fi
15174
12791
 
15175
12792
 
15176
12793
          # Extract the first word of "xgettext", so it can be a program name with args.
15177
12794
set dummy xgettext; ac_word=$2
15178
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15179
12796
$as_echo_n "checking for $ac_word... " >&6; }
15180
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
12797
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
15181
12798
  $as_echo_n "(cached) " >&6
15182
12799
else
15183
12800
  case "$XGETTEXT" in
15202
12819
fi
15203
12820
XGETTEXT="$ac_cv_path_XGETTEXT"
15204
12821
if test "$XGETTEXT" != ":"; then
15205
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
12822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15206
12823
$as_echo "$XGETTEXT" >&6; }
15207
12824
else
15208
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12825
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15209
12826
$as_echo "no" >&6; }
15210
12827
fi
15211
12828
 
15212
 
          cat >conftest.$ac_ext <<_ACEOF
15213
 
/* confdefs.h.  */
15214
 
_ACEOF
15215
 
cat confdefs.h >>conftest.$ac_ext
15216
 
cat >>conftest.$ac_ext <<_ACEOF
 
12829
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217
12830
/* end confdefs.h.  */
15218
12831
 
15219
12832
int
15225
12838
  return 0;
15226
12839
}
15227
12840
_ACEOF
15228
 
rm -f conftest.$ac_objext conftest$ac_exeext
15229
 
if { (ac_try="$ac_link"
15230
 
case "(($ac_try" in
15231
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15232
 
  *) ac_try_echo=$ac_try;;
15233
 
esac
15234
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15235
 
$as_echo "$ac_try_echo") >&5
15236
 
  (eval "$ac_link") 2>conftest.er1
15237
 
  ac_status=$?
15238
 
  grep -v '^ *+' conftest.er1 >conftest.err
15239
 
  rm -f conftest.er1
15240
 
  cat conftest.err >&5
15241
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242
 
  (exit $ac_status); } && {
15243
 
         test -z "$ac_c_werror_flag" ||
15244
 
         test ! -s conftest.err
15245
 
       } && test -s conftest$ac_exeext && {
15246
 
         test "$cross_compiling" = yes ||
15247
 
         $as_test_x conftest$ac_exeext
15248
 
       }; then
 
12841
if ac_fn_c_try_link "$LINENO"; then :
15249
12842
  CATOBJEXT=.gmo
15250
12843
             DATADIRNAME=share
15251
12844
else
15252
 
  $as_echo "$as_me: failed program was:" >&5
15253
 
sed 's/^/| /' conftest.$ac_ext >&5
15254
 
 
15255
 
        case $host in
 
12845
  case $host in
15256
12846
            *-*-solaris*)
15257
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
15258
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
15259
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
15260
 
  $as_echo_n "(cached) " >&6
15261
 
else
15262
 
  cat >conftest.$ac_ext <<_ACEOF
15263
 
/* confdefs.h.  */
15264
 
_ACEOF
15265
 
cat confdefs.h >>conftest.$ac_ext
15266
 
cat >>conftest.$ac_ext <<_ACEOF
15267
 
/* end confdefs.h.  */
15268
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
15269
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15270
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
15271
 
 
15272
 
/* System header to define __stub macros and hopefully few prototypes,
15273
 
    which can conflict with char bind_textdomain_codeset (); below.
15274
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15275
 
    <limits.h> exists even on freestanding compilers.  */
15276
 
 
15277
 
#ifdef __STDC__
15278
 
# include <limits.h>
15279
 
#else
15280
 
# include <assert.h>
15281
 
#endif
15282
 
 
15283
 
#undef bind_textdomain_codeset
15284
 
 
15285
 
/* Override any GCC internal prototype to avoid an error.
15286
 
   Use char because int might match the return type of a GCC
15287
 
   builtin and then its argument prototype would still apply.  */
15288
 
#ifdef __cplusplus
15289
 
extern "C"
15290
 
#endif
15291
 
char bind_textdomain_codeset ();
15292
 
/* The GNU C library defines this for functions which it implements
15293
 
    to always fail with ENOSYS.  Some functions are actually named
15294
 
    something starting with __ and the normal name is an alias.  */
15295
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
15296
 
choke me
15297
 
#endif
15298
 
 
15299
 
int
15300
 
main ()
15301
 
{
15302
 
return bind_textdomain_codeset ();
15303
 
  ;
15304
 
  return 0;
15305
 
}
15306
 
_ACEOF
15307
 
rm -f conftest.$ac_objext conftest$ac_exeext
15308
 
if { (ac_try="$ac_link"
15309
 
case "(($ac_try" in
15310
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15311
 
  *) ac_try_echo=$ac_try;;
15312
 
esac
15313
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15314
 
$as_echo "$ac_try_echo") >&5
15315
 
  (eval "$ac_link") 2>conftest.er1
15316
 
  ac_status=$?
15317
 
  grep -v '^ *+' conftest.er1 >conftest.err
15318
 
  rm -f conftest.er1
15319
 
  cat conftest.err >&5
15320
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321
 
  (exit $ac_status); } && {
15322
 
         test -z "$ac_c_werror_flag" ||
15323
 
         test ! -s conftest.err
15324
 
       } && test -s conftest$ac_exeext && {
15325
 
         test "$cross_compiling" = yes ||
15326
 
         $as_test_x conftest$ac_exeext
15327
 
       }; then
15328
 
  ac_cv_func_bind_textdomain_codeset=yes
15329
 
else
15330
 
  $as_echo "$as_me: failed program was:" >&5
15331
 
sed 's/^/| /' conftest.$ac_ext >&5
15332
 
 
15333
 
        ac_cv_func_bind_textdomain_codeset=no
15334
 
fi
15335
 
 
15336
 
rm -rf conftest.dSYM
15337
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15338
 
      conftest$ac_exeext conftest.$ac_ext
15339
 
fi
15340
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
15341
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
15342
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
12847
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12848
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
15343
12849
  CATOBJEXT=.gmo
15344
12850
               DATADIRNAME=share
15345
12851
else
15354
12860
            ;;
15355
12861
            esac
15356
12862
fi
15357
 
 
15358
 
rm -rf conftest.dSYM
15359
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15360
 
      conftest$ac_exeext conftest.$ac_ext
 
12863
rm -f core conftest.err conftest.$ac_objext \
 
12864
    conftest$ac_exeext conftest.$ac_ext
15361
12865
          LIBS="$glib_save_LIBS"
15362
12866
          INSTOBJEXT=.mo
15363
12867
        else
15371
12875
 
15372
12876
    if test "$gt_cv_have_gettext" = "yes" ; then
15373
12877
 
15374
 
cat >>confdefs.h <<\_ACEOF
15375
 
#define ENABLE_NLS 1
15376
 
_ACEOF
 
12878
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15377
12879
 
15378
12880
    fi
15379
12881
 
15381
12883
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15382
12884
        : ;
15383
12885
      else
15384
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
12886
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15385
12887
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15386
12888
        XGETTEXT=":"
15387
12889
      fi
15414
12916
     if test "x$ALL_LINGUAS" = "x"; then
15415
12917
       LINGUAS=
15416
12918
     else
15417
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
12919
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15418
12920
$as_echo_n "checking for catalogs to be installed... " >&6; }
15419
12921
       NEW_LINGUAS=
15420
12922
       for presentlang in $ALL_LINGUAS; do
15439
12941
         fi
15440
12942
       done
15441
12943
       LINGUAS=$NEW_LINGUAS
15442
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
12944
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15443
12945
$as_echo "$LINGUAS" >&6; }
15444
12946
     fi
15445
12947
 
15472
12974
        < $srcdir/po/POTFILES.in > po/POTFILES
15473
12975
 
15474
12976
 
15475
 
    { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
15476
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
15477
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
15478
 
  $as_echo_n "(cached) " >&6
15479
 
else
15480
 
  cat >conftest.$ac_ext <<_ACEOF
15481
 
/* confdefs.h.  */
15482
 
_ACEOF
15483
 
cat confdefs.h >>conftest.$ac_ext
15484
 
cat >>conftest.$ac_ext <<_ACEOF
15485
 
/* end confdefs.h.  */
15486
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
15487
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15488
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
15489
 
 
15490
 
/* System header to define __stub macros and hopefully few prototypes,
15491
 
    which can conflict with char bind_textdomain_codeset (); below.
15492
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15493
 
    <limits.h> exists even on freestanding compilers.  */
15494
 
 
15495
 
#ifdef __STDC__
15496
 
# include <limits.h>
15497
 
#else
15498
 
# include <assert.h>
15499
 
#endif
15500
 
 
15501
 
#undef bind_textdomain_codeset
15502
 
 
15503
 
/* Override any GCC internal prototype to avoid an error.
15504
 
   Use char because int might match the return type of a GCC
15505
 
   builtin and then its argument prototype would still apply.  */
15506
 
#ifdef __cplusplus
15507
 
extern "C"
15508
 
#endif
15509
 
char bind_textdomain_codeset ();
15510
 
/* The GNU C library defines this for functions which it implements
15511
 
    to always fail with ENOSYS.  Some functions are actually named
15512
 
    something starting with __ and the normal name is an alias.  */
15513
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
15514
 
choke me
15515
 
#endif
15516
 
 
15517
 
int
15518
 
main ()
15519
 
{
15520
 
return bind_textdomain_codeset ();
15521
 
  ;
15522
 
  return 0;
15523
 
}
15524
 
_ACEOF
15525
 
rm -f conftest.$ac_objext conftest$ac_exeext
15526
 
if { (ac_try="$ac_link"
15527
 
case "(($ac_try" in
15528
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15529
 
  *) ac_try_echo=$ac_try;;
15530
 
esac
15531
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15532
 
$as_echo "$ac_try_echo") >&5
15533
 
  (eval "$ac_link") 2>conftest.er1
15534
 
  ac_status=$?
15535
 
  grep -v '^ *+' conftest.er1 >conftest.err
15536
 
  rm -f conftest.er1
15537
 
  cat conftest.err >&5
15538
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539
 
  (exit $ac_status); } && {
15540
 
         test -z "$ac_c_werror_flag" ||
15541
 
         test ! -s conftest.err
15542
 
       } && test -s conftest$ac_exeext && {
15543
 
         test "$cross_compiling" = yes ||
15544
 
         $as_test_x conftest$ac_exeext
15545
 
       }; then
15546
 
  ac_cv_func_bind_textdomain_codeset=yes
15547
 
else
15548
 
  $as_echo "$as_me: failed program was:" >&5
15549
 
sed 's/^/| /' conftest.$ac_ext >&5
15550
 
 
15551
 
        ac_cv_func_bind_textdomain_codeset=no
15552
 
fi
15553
 
 
15554
 
rm -rf conftest.dSYM
15555
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15556
 
      conftest$ac_exeext conftest.$ac_ext
15557
 
fi
15558
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
15559
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
15560
 
 
15561
 
 
15562
 
    { $as_echo "$as_me:$LINENO: checking for locales directory" >&5
 
12977
    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12978
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
12979
 
 
12980
fi
 
12981
 
 
12982
 
 
12983
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
15563
12984
$as_echo_n "checking for locales directory... " >&6; }
15564
12985
 
15565
12986
# Check whether --with-locales-dir was given.
15566
 
if test "${with_locales_dir+set}" = set; then
 
12987
if test "${with_locales_dir+set}" = set; then :
15567
12988
  withval=$with_locales_dir; localedir=$withval
15568
12989
else
15569
12990
 
15575
12996
 
15576
12997
fi
15577
12998
 
15578
 
  { $as_echo "$as_me:$LINENO: result: $localedir" >&5
 
12999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
15579
13000
$as_echo "$localedir" >&6; }
15580
13001
 
15581
13002
 
15582
 
    { $as_echo "$as_me:$LINENO: checking for additional xgettext flags" >&5
 
13003
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
15583
13004
$as_echo_n "checking for additional xgettext flags... " >&6; }
15584
13005
  if test x"$XGETTEXT_ARGS" = x""; then
15585
13006
    XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
15587
13008
    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
15588
13009
  fi
15589
13010
 
15590
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT_ARGS" >&5
 
13011
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
15591
13012
$as_echo "$XGETTEXT_ARGS" >&6; }
15592
13013
 
15593
13014
 
15615
13036
  if test x"$PKG_CONFIG" = x""; then
15616
13037
    # Extract the first word of "pkg-config", so it can be a program name with args.
15617
13038
set dummy pkg-config; ac_word=$2
15618
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15619
13040
$as_echo_n "checking for $ac_word... " >&6; }
15620
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
13041
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
15621
13042
  $as_echo_n "(cached) " >&6
15622
13043
else
15623
13044
  case $PKG_CONFIG in
15630
13051
do
15631
13052
  IFS=$as_save_IFS
15632
13053
  test -z "$as_dir" && as_dir=.
15633
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13054
    for ac_exec_ext in '' $ac_executable_extensions; do
15634
13055
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15635
13056
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15636
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13057
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15637
13058
    break 2
15638
13059
  fi
15639
13060
done
15640
 
done
 
13061
  done
15641
13062
IFS=$as_save_IFS
15642
13063
 
15643
13064
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15646
13067
fi
15647
13068
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15648
13069
if test -n "$PKG_CONFIG"; then
15649
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
13070
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15650
13071
$as_echo "$PKG_CONFIG" >&6; }
15651
13072
else
15652
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13073
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15653
13074
$as_echo "no" >&6; }
15654
13075
fi
15655
13076
 
15668
13089
    fi
15669
13090
 
15670
13091
    # check pkg-config version
15671
 
    { $as_echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
13092
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
15672
13093
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
15673
13094
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
15674
13095
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
15675
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13096
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
15676
13097
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
15677
13098
    else
15678
13099
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
15679
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13100
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
15680
13101
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
15681
13102
      echo "*** Your version of pkg-config is too old. You need atleast"
15682
13103
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
15689
13110
  fi
15690
13111
 
15691
13112
 
15692
 
  { $as_echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.12.0" >&5
 
13113
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.12.0" >&5
15693
13114
$as_echo_n "checking for gtk+-2.0 >= 2.12.0... " >&6; }
15694
13115
  if $PKG_CONFIG "--atleast-version=2.12.0" "gtk+-2.0" >/dev/null 2>&1; then
15695
13116
    GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-2.0"`
15696
 
    { $as_echo "$as_me:$LINENO: result: $GTK_VERSION" >&5
 
13117
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5
15697
13118
$as_echo "$GTK_VERSION" >&6; }
15698
13119
 
15699
 
    { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
 
13120
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
15700
13121
$as_echo_n "checking GTK_CFLAGS... " >&6; }
15701
13122
    GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0"`
15702
 
    { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
 
13123
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
15703
13124
$as_echo "$GTK_CFLAGS" >&6; }
15704
13125
 
15705
 
    { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5
 
13126
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
15706
13127
$as_echo_n "checking GTK_LIBS... " >&6; }
15707
13128
    GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0"`
15708
 
    { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
 
13129
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
15709
13130
$as_echo "$GTK_LIBS" >&6; }
15710
13131
 
15711
13132
    GTK_REQUIRED_VERSION=2.12.0
15718
13139
 
15719
13140
  elif $PKG_CONFIG --exists "gtk+-2.0" >/dev/null 2>&1; then
15720
13141
    xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-2.0"`
15721
 
    { $as_echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
13142
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15722
13143
$as_echo "found, but $xdt_cv_version" >&6; }
15723
13144
 
15724
13145
 
15731
13152
      exit 1
15732
13153
 
15733
13154
  else
15734
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
13155
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15735
13156
$as_echo "not found" >&6; }
15736
13157
 
15737
13158
 
15753
13174
  if test x"$PKG_CONFIG" = x""; then
15754
13175
    # Extract the first word of "pkg-config", so it can be a program name with args.
15755
13176
set dummy pkg-config; ac_word=$2
15756
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15757
13178
$as_echo_n "checking for $ac_word... " >&6; }
15758
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
13179
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
15759
13180
  $as_echo_n "(cached) " >&6
15760
13181
else
15761
13182
  case $PKG_CONFIG in
15768
13189
do
15769
13190
  IFS=$as_save_IFS
15770
13191
  test -z "$as_dir" && as_dir=.
15771
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13192
    for ac_exec_ext in '' $ac_executable_extensions; do
15772
13193
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15773
13194
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15774
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13195
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15775
13196
    break 2
15776
13197
  fi
15777
13198
done
15778
 
done
 
13199
  done
15779
13200
IFS=$as_save_IFS
15780
13201
 
15781
13202
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15784
13205
fi
15785
13206
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15786
13207
if test -n "$PKG_CONFIG"; then
15787
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
13208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15788
13209
$as_echo "$PKG_CONFIG" >&6; }
15789
13210
else
15790
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15791
13212
$as_echo "no" >&6; }
15792
13213
fi
15793
13214
 
15806
13227
    fi
15807
13228
 
15808
13229
    # check pkg-config version
15809
 
    { $as_echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
13230
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
15810
13231
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
15811
13232
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
15812
13233
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
15813
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13234
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
15814
13235
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
15815
13236
    else
15816
13237
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
15817
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13238
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
15818
13239
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
15819
13240
      echo "*** Your version of pkg-config is too old. You need atleast"
15820
13241
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
15827
13248
  fi
15828
13249
 
15829
13250
 
15830
 
  { $as_echo "$as_me:$LINENO: checking for glib-2.0 >= 2.16.0" >&5
 
13251
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.16.0" >&5
15831
13252
$as_echo_n "checking for glib-2.0 >= 2.16.0... " >&6; }
15832
13253
  if $PKG_CONFIG "--atleast-version=2.16.0" "glib-2.0" >/dev/null 2>&1; then
15833
13254
    GLIB_VERSION=`$PKG_CONFIG --modversion "glib-2.0"`
15834
 
    { $as_echo "$as_me:$LINENO: result: $GLIB_VERSION" >&5
 
13255
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_VERSION" >&5
15835
13256
$as_echo "$GLIB_VERSION" >&6; }
15836
13257
 
15837
 
    { $as_echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
 
13258
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
15838
13259
$as_echo_n "checking GLIB_CFLAGS... " >&6; }
15839
13260
    GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
15840
 
    { $as_echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
 
13261
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
15841
13262
$as_echo "$GLIB_CFLAGS" >&6; }
15842
13263
 
15843
 
    { $as_echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
 
13264
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
15844
13265
$as_echo_n "checking GLIB_LIBS... " >&6; }
15845
13266
    GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
15846
 
    { $as_echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
 
13267
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
15847
13268
$as_echo "$GLIB_LIBS" >&6; }
15848
13269
 
15849
13270
    GLIB_REQUIRED_VERSION=2.16.0
15856
13277
 
15857
13278
  elif $PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1; then
15858
13279
    xdt_cv_version=`$PKG_CONFIG --modversion "glib-2.0"`
15859
 
    { $as_echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
13280
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15860
13281
$as_echo "found, but $xdt_cv_version" >&6; }
15861
13282
 
15862
13283
 
15869
13290
      exit 1
15870
13291
 
15871
13292
  else
15872
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
13293
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15873
13294
$as_echo "not found" >&6; }
15874
13295
 
15875
13296
 
15891
13312
  if test x"$PKG_CONFIG" = x""; then
15892
13313
    # Extract the first word of "pkg-config", so it can be a program name with args.
15893
13314
set dummy pkg-config; ac_word=$2
15894
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15895
13316
$as_echo_n "checking for $ac_word... " >&6; }
15896
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
13317
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
15897
13318
  $as_echo_n "(cached) " >&6
15898
13319
else
15899
13320
  case $PKG_CONFIG in
15906
13327
do
15907
13328
  IFS=$as_save_IFS
15908
13329
  test -z "$as_dir" && as_dir=.
15909
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13330
    for ac_exec_ext in '' $ac_executable_extensions; do
15910
13331
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15911
13332
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15912
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13333
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15913
13334
    break 2
15914
13335
  fi
15915
13336
done
15916
 
done
 
13337
  done
15917
13338
IFS=$as_save_IFS
15918
13339
 
15919
13340
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15922
13343
fi
15923
13344
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15924
13345
if test -n "$PKG_CONFIG"; then
15925
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
13346
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15926
13347
$as_echo "$PKG_CONFIG" >&6; }
15927
13348
else
15928
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13349
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15929
13350
$as_echo "no" >&6; }
15930
13351
fi
15931
13352
 
15944
13365
    fi
15945
13366
 
15946
13367
    # check pkg-config version
15947
 
    { $as_echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
13368
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
15948
13369
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
15949
13370
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
15950
13371
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
15951
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13372
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
15952
13373
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
15953
13374
    else
15954
13375
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
15955
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13376
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
15956
13377
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
15957
13378
      echo "*** Your version of pkg-config is too old. You need atleast"
15958
13379
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
15965
13386
  fi
15966
13387
 
15967
13388
 
15968
 
  { $as_echo "$as_me:$LINENO: checking for gobject-2.0 >= 2.16.0" >&5
 
13389
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-2.0 >= 2.16.0" >&5
15969
13390
$as_echo_n "checking for gobject-2.0 >= 2.16.0... " >&6; }
15970
13391
  if $PKG_CONFIG "--atleast-version=2.16.0" "gobject-2.0" >/dev/null 2>&1; then
15971
13392
    GOBJECT_VERSION=`$PKG_CONFIG --modversion "gobject-2.0"`
15972
 
    { $as_echo "$as_me:$LINENO: result: $GOBJECT_VERSION" >&5
 
13393
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOBJECT_VERSION" >&5
15973
13394
$as_echo "$GOBJECT_VERSION" >&6; }
15974
13395
 
15975
 
    { $as_echo "$as_me:$LINENO: checking GOBJECT_CFLAGS" >&5
 
13396
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GOBJECT_CFLAGS" >&5
15976
13397
$as_echo_n "checking GOBJECT_CFLAGS... " >&6; }
15977
13398
    GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0"`
15978
 
    { $as_echo "$as_me:$LINENO: result: $GOBJECT_CFLAGS" >&5
 
13399
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOBJECT_CFLAGS" >&5
15979
13400
$as_echo "$GOBJECT_CFLAGS" >&6; }
15980
13401
 
15981
 
    { $as_echo "$as_me:$LINENO: checking GOBJECT_LIBS" >&5
 
13402
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GOBJECT_LIBS" >&5
15982
13403
$as_echo_n "checking GOBJECT_LIBS... " >&6; }
15983
13404
    GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0"`
15984
 
    { $as_echo "$as_me:$LINENO: result: $GOBJECT_LIBS" >&5
 
13405
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOBJECT_LIBS" >&5
15985
13406
$as_echo "$GOBJECT_LIBS" >&6; }
15986
13407
 
15987
13408
    GOBJECT_REQUIRED_VERSION=2.16.0
15994
13415
 
15995
13416
  elif $PKG_CONFIG --exists "gobject-2.0" >/dev/null 2>&1; then
15996
13417
    xdt_cv_version=`$PKG_CONFIG --modversion "gobject-2.0"`
15997
 
    { $as_echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
13418
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15998
13419
$as_echo "found, but $xdt_cv_version" >&6; }
15999
13420
 
16000
13421
 
16007
13428
      exit 1
16008
13429
 
16009
13430
  else
16010
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
13431
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16011
13432
$as_echo "not found" >&6; }
16012
13433
 
16013
13434
 
16029
13450
  if test x"$PKG_CONFIG" = x""; then
16030
13451
    # Extract the first word of "pkg-config", so it can be a program name with args.
16031
13452
set dummy pkg-config; ac_word=$2
16032
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16033
13454
$as_echo_n "checking for $ac_word... " >&6; }
16034
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
13455
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
16035
13456
  $as_echo_n "(cached) " >&6
16036
13457
else
16037
13458
  case $PKG_CONFIG in
16044
13465
do
16045
13466
  IFS=$as_save_IFS
16046
13467
  test -z "$as_dir" && as_dir=.
16047
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13468
    for ac_exec_ext in '' $ac_executable_extensions; do
16048
13469
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16049
13470
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16050
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13471
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16051
13472
    break 2
16052
13473
  fi
16053
13474
done
16054
 
done
 
13475
  done
16055
13476
IFS=$as_save_IFS
16056
13477
 
16057
13478
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
16060
13481
fi
16061
13482
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16062
13483
if test -n "$PKG_CONFIG"; then
16063
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
13484
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16064
13485
$as_echo "$PKG_CONFIG" >&6; }
16065
13486
else
16066
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13487
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16067
13488
$as_echo "no" >&6; }
16068
13489
fi
16069
13490
 
16082
13503
    fi
16083
13504
 
16084
13505
    # check pkg-config version
16085
 
    { $as_echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
13506
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
16086
13507
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
16087
13508
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
16088
13509
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16089
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13510
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16090
13511
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16091
13512
    else
16092
13513
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16093
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13514
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16094
13515
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16095
13516
      echo "*** Your version of pkg-config is too old. You need atleast"
16096
13517
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
16103
13524
  fi
16104
13525
 
16105
13526
 
16106
 
  { $as_echo "$as_me:$LINENO: checking for gthread-2.0 >= 2.16.0" >&5
 
13527
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0 >= 2.16.0" >&5
16107
13528
$as_echo_n "checking for gthread-2.0 >= 2.16.0... " >&6; }
16108
13529
  if $PKG_CONFIG "--atleast-version=2.16.0" "gthread-2.0" >/dev/null 2>&1; then
16109
13530
    GTHREAD_VERSION=`$PKG_CONFIG --modversion "gthread-2.0"`
16110
 
    { $as_echo "$as_me:$LINENO: result: $GTHREAD_VERSION" >&5
 
13531
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_VERSION" >&5
16111
13532
$as_echo "$GTHREAD_VERSION" >&6; }
16112
13533
 
16113
 
    { $as_echo "$as_me:$LINENO: checking GTHREAD_CFLAGS" >&5
 
13534
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_CFLAGS" >&5
16114
13535
$as_echo_n "checking GTHREAD_CFLAGS... " >&6; }
16115
13536
    GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0"`
16116
 
    { $as_echo "$as_me:$LINENO: result: $GTHREAD_CFLAGS" >&5
 
13537
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_CFLAGS" >&5
16117
13538
$as_echo "$GTHREAD_CFLAGS" >&6; }
16118
13539
 
16119
 
    { $as_echo "$as_me:$LINENO: checking GTHREAD_LIBS" >&5
 
13540
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_LIBS" >&5
16120
13541
$as_echo_n "checking GTHREAD_LIBS... " >&6; }
16121
13542
    GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0"`
16122
 
    { $as_echo "$as_me:$LINENO: result: $GTHREAD_LIBS" >&5
 
13543
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_LIBS" >&5
16123
13544
$as_echo "$GTHREAD_LIBS" >&6; }
16124
13545
 
16125
13546
    GTHREAD_REQUIRED_VERSION=2.16.0
16132
13553
 
16133
13554
  elif $PKG_CONFIG --exists "gthread-2.0" >/dev/null 2>&1; then
16134
13555
    xdt_cv_version=`$PKG_CONFIG --modversion "gthread-2.0"`
16135
 
    { $as_echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
13556
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
16136
13557
$as_echo "found, but $xdt_cv_version" >&6; }
16137
13558
 
16138
13559
 
16145
13566
      exit 1
16146
13567
 
16147
13568
  else
16148
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
13569
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16149
13570
$as_echo "not found" >&6; }
16150
13571
 
16151
13572
 
16167
13588
  if test x"$PKG_CONFIG" = x""; then
16168
13589
    # Extract the first word of "pkg-config", so it can be a program name with args.
16169
13590
set dummy pkg-config; ac_word=$2
16170
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16171
13592
$as_echo_n "checking for $ac_word... " >&6; }
16172
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
13593
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
16173
13594
  $as_echo_n "(cached) " >&6
16174
13595
else
16175
13596
  case $PKG_CONFIG in
16182
13603
do
16183
13604
  IFS=$as_save_IFS
16184
13605
  test -z "$as_dir" && as_dir=.
16185
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13606
    for ac_exec_ext in '' $ac_executable_extensions; do
16186
13607
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16187
13608
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16188
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13609
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16189
13610
    break 2
16190
13611
  fi
16191
13612
done
16192
 
done
 
13613
  done
16193
13614
IFS=$as_save_IFS
16194
13615
 
16195
13616
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
16198
13619
fi
16199
13620
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16200
13621
if test -n "$PKG_CONFIG"; then
16201
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
13622
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16202
13623
$as_echo "$PKG_CONFIG" >&6; }
16203
13624
else
16204
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13625
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16205
13626
$as_echo "no" >&6; }
16206
13627
fi
16207
13628
 
16220
13641
    fi
16221
13642
 
16222
13643
    # check pkg-config version
16223
 
    { $as_echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
13644
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
16224
13645
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
16225
13646
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
16226
13647
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16227
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13648
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16228
13649
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16229
13650
    else
16230
13651
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16231
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13652
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16232
13653
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16233
13654
      echo "*** Your version of pkg-config is too old. You need atleast"
16234
13655
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
16241
13662
  fi
16242
13663
 
16243
13664
 
16244
 
  { $as_echo "$as_me:$LINENO: checking for gmodule-2.0 >= 2.16.0" >&5
 
13665
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmodule-2.0 >= 2.16.0" >&5
16245
13666
$as_echo_n "checking for gmodule-2.0 >= 2.16.0... " >&6; }
16246
13667
  if $PKG_CONFIG "--atleast-version=2.16.0" "gmodule-2.0" >/dev/null 2>&1; then
16247
13668
    GMODULE_VERSION=`$PKG_CONFIG --modversion "gmodule-2.0"`
16248
 
    { $as_echo "$as_me:$LINENO: result: $GMODULE_VERSION" >&5
 
13669
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_VERSION" >&5
16249
13670
$as_echo "$GMODULE_VERSION" >&6; }
16250
13671
 
16251
 
    { $as_echo "$as_me:$LINENO: checking GMODULE_CFLAGS" >&5
 
13672
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GMODULE_CFLAGS" >&5
16252
13673
$as_echo_n "checking GMODULE_CFLAGS... " >&6; }
16253
13674
    GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0"`
16254
 
    { $as_echo "$as_me:$LINENO: result: $GMODULE_CFLAGS" >&5
 
13675
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_CFLAGS" >&5
16255
13676
$as_echo "$GMODULE_CFLAGS" >&6; }
16256
13677
 
16257
 
    { $as_echo "$as_me:$LINENO: checking GMODULE_LIBS" >&5
 
13678
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GMODULE_LIBS" >&5
16258
13679
$as_echo_n "checking GMODULE_LIBS... " >&6; }
16259
13680
    GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0"`
16260
 
    { $as_echo "$as_me:$LINENO: result: $GMODULE_LIBS" >&5
 
13681
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_LIBS" >&5
16261
13682
$as_echo "$GMODULE_LIBS" >&6; }
16262
13683
 
16263
13684
    GMODULE_REQUIRED_VERSION=2.16.0
16270
13691
 
16271
13692
  elif $PKG_CONFIG --exists "gmodule-2.0" >/dev/null 2>&1; then
16272
13693
    xdt_cv_version=`$PKG_CONFIG --modversion "gmodule-2.0"`
16273
 
    { $as_echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
13694
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
16274
13695
$as_echo "found, but $xdt_cv_version" >&6; }
16275
13696
 
16276
13697
 
16283
13704
      exit 1
16284
13705
 
16285
13706
  else
16286
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
13707
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16287
13708
$as_echo "not found" >&6; }
16288
13709
 
16289
13710
 
16305
13726
  if test x"$PKG_CONFIG" = x""; then
16306
13727
    # Extract the first word of "pkg-config", so it can be a program name with args.
16307
13728
set dummy pkg-config; ac_word=$2
16308
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13729
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16309
13730
$as_echo_n "checking for $ac_word... " >&6; }
16310
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
13731
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
16311
13732
  $as_echo_n "(cached) " >&6
16312
13733
else
16313
13734
  case $PKG_CONFIG in
16320
13741
do
16321
13742
  IFS=$as_save_IFS
16322
13743
  test -z "$as_dir" && as_dir=.
16323
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13744
    for ac_exec_ext in '' $ac_executable_extensions; do
16324
13745
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16325
13746
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16326
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13747
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16327
13748
    break 2
16328
13749
  fi
16329
13750
done
16330
 
done
 
13751
  done
16331
13752
IFS=$as_save_IFS
16332
13753
 
16333
13754
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
16336
13757
fi
16337
13758
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16338
13759
if test -n "$PKG_CONFIG"; then
16339
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
13760
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16340
13761
$as_echo "$PKG_CONFIG" >&6; }
16341
13762
else
16342
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16343
13764
$as_echo "no" >&6; }
16344
13765
fi
16345
13766
 
16358
13779
    fi
16359
13780
 
16360
13781
    # check pkg-config version
16361
 
    { $as_echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
13782
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
16362
13783
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
16363
13784
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
16364
13785
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16365
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13786
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16366
13787
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16367
13788
    else
16368
13789
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16369
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13790
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16370
13791
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16371
13792
      echo "*** Your version of pkg-config is too old. You need atleast"
16372
13793
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
16379
13800
  fi
16380
13801
 
16381
13802
 
16382
 
  { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 0.60" >&5
 
13803
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 0.60" >&5
16383
13804
$as_echo_n "checking for dbus-1 >= 0.60... " >&6; }
16384
13805
  if $PKG_CONFIG "--atleast-version=0.60" "dbus-1" >/dev/null 2>&1; then
16385
13806
    DBUS_VERSION=`$PKG_CONFIG --modversion "dbus-1"`
16386
 
    { $as_echo "$as_me:$LINENO: result: $DBUS_VERSION" >&5
 
13807
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_VERSION" >&5
16387
13808
$as_echo "$DBUS_VERSION" >&6; }
16388
13809
 
16389
 
    { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5
 
13810
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5
16390
13811
$as_echo_n "checking DBUS_CFLAGS... " >&6; }
16391
13812
    DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1"`
16392
 
    { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5
 
13813
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5
16393
13814
$as_echo "$DBUS_CFLAGS" >&6; }
16394
13815
 
16395
 
    { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5
 
13816
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5
16396
13817
$as_echo_n "checking DBUS_LIBS... " >&6; }
16397
13818
    DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1"`
16398
 
    { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5
 
13819
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5
16399
13820
$as_echo "$DBUS_LIBS" >&6; }
16400
13821
 
16401
13822
    DBUS_REQUIRED_VERSION=0.60
16408
13829
 
16409
13830
  elif $PKG_CONFIG --exists "dbus-1" >/dev/null 2>&1; then
16410
13831
    xdt_cv_version=`$PKG_CONFIG --modversion "dbus-1"`
16411
 
    { $as_echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
13832
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
16412
13833
$as_echo "found, but $xdt_cv_version" >&6; }
16413
13834
 
16414
13835
 
16421
13842
      exit 1
16422
13843
 
16423
13844
  else
16424
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
13845
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16425
13846
$as_echo "not found" >&6; }
16426
13847
 
16427
13848
 
16443
13864
  if test x"$PKG_CONFIG" = x""; then
16444
13865
    # Extract the first word of "pkg-config", so it can be a program name with args.
16445
13866
set dummy pkg-config; ac_word=$2
16446
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16447
13868
$as_echo_n "checking for $ac_word... " >&6; }
16448
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
13869
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
16449
13870
  $as_echo_n "(cached) " >&6
16450
13871
else
16451
13872
  case $PKG_CONFIG in
16458
13879
do
16459
13880
  IFS=$as_save_IFS
16460
13881
  test -z "$as_dir" && as_dir=.
16461
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13882
    for ac_exec_ext in '' $ac_executable_extensions; do
16462
13883
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16463
13884
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16464
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13885
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16465
13886
    break 2
16466
13887
  fi
16467
13888
done
16468
 
done
 
13889
  done
16469
13890
IFS=$as_save_IFS
16470
13891
 
16471
13892
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
16474
13895
fi
16475
13896
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16476
13897
if test -n "$PKG_CONFIG"; then
16477
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
13898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16478
13899
$as_echo "$PKG_CONFIG" >&6; }
16479
13900
else
16480
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16481
13902
$as_echo "no" >&6; }
16482
13903
fi
16483
13904
 
16496
13917
    fi
16497
13918
 
16498
13919
    # check pkg-config version
16499
 
    { $as_echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
13920
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
16500
13921
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
16501
13922
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
16502
13923
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16503
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13924
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16504
13925
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16505
13926
    else
16506
13927
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16507
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
13928
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16508
13929
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16509
13930
      echo "*** Your version of pkg-config is too old. You need atleast"
16510
13931
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
16517
13938
  fi
16518
13939
 
16519
13940
 
16520
 
  { $as_echo "$as_me:$LINENO: checking for dbus-glib-1 >= 0.70" >&5
 
13941
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-glib-1 >= 0.70" >&5
16521
13942
$as_echo_n "checking for dbus-glib-1 >= 0.70... " >&6; }
16522
13943
  if $PKG_CONFIG "--atleast-version=0.70" "dbus-glib-1" >/dev/null 2>&1; then
16523
13944
    DBUS_GLIB_VERSION=`$PKG_CONFIG --modversion "dbus-glib-1"`
16524
 
    { $as_echo "$as_me:$LINENO: result: $DBUS_GLIB_VERSION" >&5
 
13945
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_GLIB_VERSION" >&5
16525
13946
$as_echo "$DBUS_GLIB_VERSION" >&6; }
16526
13947
 
16527
 
    { $as_echo "$as_me:$LINENO: checking DBUS_GLIB_CFLAGS" >&5
 
13948
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_GLIB_CFLAGS" >&5
16528
13949
$as_echo_n "checking DBUS_GLIB_CFLAGS... " >&6; }
16529
13950
    DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1"`
16530
 
    { $as_echo "$as_me:$LINENO: result: $DBUS_GLIB_CFLAGS" >&5
 
13951
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_GLIB_CFLAGS" >&5
16531
13952
$as_echo "$DBUS_GLIB_CFLAGS" >&6; }
16532
13953
 
16533
 
    { $as_echo "$as_me:$LINENO: checking DBUS_GLIB_LIBS" >&5
 
13954
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_GLIB_LIBS" >&5
16534
13955
$as_echo_n "checking DBUS_GLIB_LIBS... " >&6; }
16535
13956
    DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1"`
16536
 
    { $as_echo "$as_me:$LINENO: result: $DBUS_GLIB_LIBS" >&5
 
13957
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_GLIB_LIBS" >&5
16537
13958
$as_echo "$DBUS_GLIB_LIBS" >&6; }
16538
13959
 
16539
13960
    DBUS_GLIB_REQUIRED_VERSION=0.70
16546
13967
 
16547
13968
  elif $PKG_CONFIG --exists "dbus-glib-1" >/dev/null 2>&1; then
16548
13969
    xdt_cv_version=`$PKG_CONFIG --modversion "dbus-glib-1"`
16549
 
    { $as_echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
13970
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
16550
13971
$as_echo "found, but $xdt_cv_version" >&6; }
16551
13972
 
16552
13973
 
16559
13980
      exit 1
16560
13981
 
16561
13982
  else
16562
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
13983
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16563
13984
$as_echo "not found" >&6; }
16564
13985
 
16565
13986
 
16581
14002
  if test x"$PKG_CONFIG" = x""; then
16582
14003
    # Extract the first word of "pkg-config", so it can be a program name with args.
16583
14004
set dummy pkg-config; ac_word=$2
16584
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16585
14006
$as_echo_n "checking for $ac_word... " >&6; }
16586
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
14007
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
16587
14008
  $as_echo_n "(cached) " >&6
16588
14009
else
16589
14010
  case $PKG_CONFIG in
16596
14017
do
16597
14018
  IFS=$as_save_IFS
16598
14019
  test -z "$as_dir" && as_dir=.
16599
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14020
    for ac_exec_ext in '' $ac_executable_extensions; do
16600
14021
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16601
14022
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16602
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14023
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16603
14024
    break 2
16604
14025
  fi
16605
14026
done
16606
 
done
 
14027
  done
16607
14028
IFS=$as_save_IFS
16608
14029
 
16609
14030
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
16612
14033
fi
16613
14034
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16614
14035
if test -n "$PKG_CONFIG"; then
16615
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
14036
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16616
14037
$as_echo "$PKG_CONFIG" >&6; }
16617
14038
else
16618
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16619
14040
$as_echo "no" >&6; }
16620
14041
fi
16621
14042
 
16634
14055
    fi
16635
14056
 
16636
14057
    # check pkg-config version
16637
 
    { $as_echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
14058
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
16638
14059
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
16639
14060
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
16640
14061
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16641
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
14062
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16642
14063
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16643
14064
    else
16644
14065
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16645
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
14066
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16646
14067
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16647
14068
      echo "*** Your version of pkg-config is too old. You need atleast"
16648
14069
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
16655
14076
  fi
16656
14077
 
16657
14078
 
16658
 
  { $as_echo "$as_me:$LINENO: checking for libxfconf-0 >= 4.6.0" >&5
 
14079
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfconf-0 >= 4.6.0" >&5
16659
14080
$as_echo_n "checking for libxfconf-0 >= 4.6.0... " >&6; }
16660
14081
  if $PKG_CONFIG "--atleast-version=4.6.0" "libxfconf-0" >/dev/null 2>&1; then
16661
14082
    XFCONF_VERSION=`$PKG_CONFIG --modversion "libxfconf-0"`
16662
 
    { $as_echo "$as_me:$LINENO: result: $XFCONF_VERSION" >&5
 
14083
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_VERSION" >&5
16663
14084
$as_echo "$XFCONF_VERSION" >&6; }
16664
14085
 
16665
 
    { $as_echo "$as_me:$LINENO: checking XFCONF_CFLAGS" >&5
 
14086
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFCONF_CFLAGS" >&5
16666
14087
$as_echo_n "checking XFCONF_CFLAGS... " >&6; }
16667
14088
    XFCONF_CFLAGS=`$PKG_CONFIG --cflags "libxfconf-0"`
16668
 
    { $as_echo "$as_me:$LINENO: result: $XFCONF_CFLAGS" >&5
 
14089
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_CFLAGS" >&5
16669
14090
$as_echo "$XFCONF_CFLAGS" >&6; }
16670
14091
 
16671
 
    { $as_echo "$as_me:$LINENO: checking XFCONF_LIBS" >&5
 
14092
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFCONF_LIBS" >&5
16672
14093
$as_echo_n "checking XFCONF_LIBS... " >&6; }
16673
14094
    XFCONF_LIBS=`$PKG_CONFIG --libs "libxfconf-0"`
16674
 
    { $as_echo "$as_me:$LINENO: result: $XFCONF_LIBS" >&5
 
14095
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_LIBS" >&5
16675
14096
$as_echo "$XFCONF_LIBS" >&6; }
16676
14097
 
16677
14098
    XFCONF_REQUIRED_VERSION=4.6.0
16684
14105
 
16685
14106
  elif $PKG_CONFIG --exists "libxfconf-0" >/dev/null 2>&1; then
16686
14107
    xdt_cv_version=`$PKG_CONFIG --modversion "libxfconf-0"`
16687
 
    { $as_echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
14108
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
16688
14109
$as_echo "found, but $xdt_cv_version" >&6; }
16689
14110
 
16690
14111
 
16697
14118
      exit 1
16698
14119
 
16699
14120
  else
16700
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
14121
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16701
14122
$as_echo "not found" >&6; }
16702
14123
 
16703
14124
 
16719
14140
  if test x"$PKG_CONFIG" = x""; then
16720
14141
    # Extract the first word of "pkg-config", so it can be a program name with args.
16721
14142
set dummy pkg-config; ac_word=$2
16722
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16723
14144
$as_echo_n "checking for $ac_word... " >&6; }
16724
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
14145
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
16725
14146
  $as_echo_n "(cached) " >&6
16726
14147
else
16727
14148
  case $PKG_CONFIG in
16734
14155
do
16735
14156
  IFS=$as_save_IFS
16736
14157
  test -z "$as_dir" && as_dir=.
16737
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14158
    for ac_exec_ext in '' $ac_executable_extensions; do
16738
14159
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16739
14160
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16740
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14161
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16741
14162
    break 2
16742
14163
  fi
16743
14164
done
16744
 
done
 
14165
  done
16745
14166
IFS=$as_save_IFS
16746
14167
 
16747
14168
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
16750
14171
fi
16751
14172
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16752
14173
if test -n "$PKG_CONFIG"; then
16753
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
14174
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16754
14175
$as_echo "$PKG_CONFIG" >&6; }
16755
14176
else
16756
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14177
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16757
14178
$as_echo "no" >&6; }
16758
14179
fi
16759
14180
 
16772
14193
    fi
16773
14194
 
16774
14195
    # check pkg-config version
16775
 
    { $as_echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
14196
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
16776
14197
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
16777
14198
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
16778
14199
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16779
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
14200
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16780
14201
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16781
14202
    else
16782
14203
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16783
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
14204
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16784
14205
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16785
14206
      echo "*** Your version of pkg-config is too old. You need atleast"
16786
14207
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
16793
14214
  fi
16794
14215
 
16795
14216
 
16796
 
  { $as_echo "$as_me:$LINENO: checking for libxfcegui4-1.0 >= 4.6.0" >&5
 
14217
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfcegui4-1.0 >= 4.6.0" >&5
16797
14218
$as_echo_n "checking for libxfcegui4-1.0 >= 4.6.0... " >&6; }
16798
14219
  if $PKG_CONFIG "--atleast-version=4.6.0" "libxfcegui4-1.0" >/dev/null 2>&1; then
16799
14220
    LIBXFCE4GUI_VERSION=`$PKG_CONFIG --modversion "libxfcegui4-1.0"`
16800
 
    { $as_echo "$as_me:$LINENO: result: $LIBXFCE4GUI_VERSION" >&5
 
14221
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4GUI_VERSION" >&5
16801
14222
$as_echo "$LIBXFCE4GUI_VERSION" >&6; }
16802
14223
 
16803
 
    { $as_echo "$as_me:$LINENO: checking LIBXFCE4GUI_CFLAGS" >&5
 
14224
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4GUI_CFLAGS" >&5
16804
14225
$as_echo_n "checking LIBXFCE4GUI_CFLAGS... " >&6; }
16805
14226
    LIBXFCE4GUI_CFLAGS=`$PKG_CONFIG --cflags "libxfcegui4-1.0"`
16806
 
    { $as_echo "$as_me:$LINENO: result: $LIBXFCE4GUI_CFLAGS" >&5
 
14227
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4GUI_CFLAGS" >&5
16807
14228
$as_echo "$LIBXFCE4GUI_CFLAGS" >&6; }
16808
14229
 
16809
 
    { $as_echo "$as_me:$LINENO: checking LIBXFCE4GUI_LIBS" >&5
 
14230
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4GUI_LIBS" >&5
16810
14231
$as_echo_n "checking LIBXFCE4GUI_LIBS... " >&6; }
16811
14232
    LIBXFCE4GUI_LIBS=`$PKG_CONFIG --libs "libxfcegui4-1.0"`
16812
 
    { $as_echo "$as_me:$LINENO: result: $LIBXFCE4GUI_LIBS" >&5
 
14233
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4GUI_LIBS" >&5
16813
14234
$as_echo "$LIBXFCE4GUI_LIBS" >&6; }
16814
14235
 
16815
14236
    LIBXFCE4GUI_REQUIRED_VERSION=4.6.0
16822
14243
 
16823
14244
  elif $PKG_CONFIG --exists "libxfcegui4-1.0" >/dev/null 2>&1; then
16824
14245
    xdt_cv_version=`$PKG_CONFIG --modversion "libxfcegui4-1.0"`
16825
 
    { $as_echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
14246
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
16826
14247
$as_echo "found, but $xdt_cv_version" >&6; }
16827
14248
 
16828
14249
 
16835
14256
      exit 1
16836
14257
 
16837
14258
  else
16838
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
14259
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16839
14260
$as_echo "not found" >&6; }
16840
14261
 
16841
14262
 
16857
14278
  if test x"$PKG_CONFIG" = x""; then
16858
14279
    # Extract the first word of "pkg-config", so it can be a program name with args.
16859
14280
set dummy pkg-config; ac_word=$2
16860
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16861
14282
$as_echo_n "checking for $ac_word... " >&6; }
16862
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
14283
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
16863
14284
  $as_echo_n "(cached) " >&6
16864
14285
else
16865
14286
  case $PKG_CONFIG in
16872
14293
do
16873
14294
  IFS=$as_save_IFS
16874
14295
  test -z "$as_dir" && as_dir=.
16875
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14296
    for ac_exec_ext in '' $ac_executable_extensions; do
16876
14297
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16877
14298
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16878
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14299
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16879
14300
    break 2
16880
14301
  fi
16881
14302
done
16882
 
done
 
14303
  done
16883
14304
IFS=$as_save_IFS
16884
14305
 
16885
14306
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
16888
14309
fi
16889
14310
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16890
14311
if test -n "$PKG_CONFIG"; then
16891
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
14312
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16892
14313
$as_echo "$PKG_CONFIG" >&6; }
16893
14314
else
16894
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14315
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16895
14316
$as_echo "no" >&6; }
16896
14317
fi
16897
14318
 
16910
14331
    fi
16911
14332
 
16912
14333
    # check pkg-config version
16913
 
    { $as_echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
14334
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
16914
14335
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
16915
14336
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
16916
14337
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16917
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
14338
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16918
14339
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16919
14340
    else
16920
14341
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
16921
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
14342
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
16922
14343
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
16923
14344
      echo "*** Your version of pkg-config is too old. You need atleast"
16924
14345
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
16931
14352
  fi
16932
14353
 
16933
14354
 
16934
 
  { $as_echo "$as_me:$LINENO: checking for libxfce4util-1.0 >= 4.6.0" >&5
 
14355
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4util-1.0 >= 4.6.0" >&5
16935
14356
$as_echo_n "checking for libxfce4util-1.0 >= 4.6.0... " >&6; }
16936
14357
  if $PKG_CONFIG "--atleast-version=4.6.0" "libxfce4util-1.0" >/dev/null 2>&1; then
16937
14358
    LIBXFCE4UTIL_VERSION=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
16938
 
    { $as_echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_VERSION" >&5
 
14359
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_VERSION" >&5
16939
14360
$as_echo "$LIBXFCE4UTIL_VERSION" >&6; }
16940
14361
 
16941
 
    { $as_echo "$as_me:$LINENO: checking LIBXFCE4UTIL_CFLAGS" >&5
 
14362
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_CFLAGS" >&5
16942
14363
$as_echo_n "checking LIBXFCE4UTIL_CFLAGS... " >&6; }
16943
14364
    LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0"`
16944
 
    { $as_echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_CFLAGS" >&5
 
14365
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_CFLAGS" >&5
16945
14366
$as_echo "$LIBXFCE4UTIL_CFLAGS" >&6; }
16946
14367
 
16947
 
    { $as_echo "$as_me:$LINENO: checking LIBXFCE4UTIL_LIBS" >&5
 
14368
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_LIBS" >&5
16948
14369
$as_echo_n "checking LIBXFCE4UTIL_LIBS... " >&6; }
16949
14370
    LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0"`
16950
 
    { $as_echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_LIBS" >&5
 
14371
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_LIBS" >&5
16951
14372
$as_echo "$LIBXFCE4UTIL_LIBS" >&6; }
16952
14373
 
16953
14374
    LIBXFCE4UTIL_REQUIRED_VERSION=4.6.0
16960
14381
 
16961
14382
  elif $PKG_CONFIG --exists "libxfce4util-1.0" >/dev/null 2>&1; then
16962
14383
    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
16963
 
    { $as_echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
14384
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
16964
14385
$as_echo "found, but $xdt_cv_version" >&6; }
16965
14386
 
16966
14387
 
16973
14394
      exit 1
16974
14395
 
16975
14396
  else
16976
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
14397
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16977
14398
$as_echo "not found" >&6; }
16978
14399
 
16979
14400
 
16995
14416
  if test x"$PKG_CONFIG" = x""; then
16996
14417
    # Extract the first word of "pkg-config", so it can be a program name with args.
16997
14418
set dummy pkg-config; ac_word=$2
16998
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16999
14420
$as_echo_n "checking for $ac_word... " >&6; }
17000
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
14421
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17001
14422
  $as_echo_n "(cached) " >&6
17002
14423
else
17003
14424
  case $PKG_CONFIG in
17010
14431
do
17011
14432
  IFS=$as_save_IFS
17012
14433
  test -z "$as_dir" && as_dir=.
17013
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14434
    for ac_exec_ext in '' $ac_executable_extensions; do
17014
14435
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17015
14436
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17016
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14437
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17017
14438
    break 2
17018
14439
  fi
17019
14440
done
17020
 
done
 
14441
  done
17021
14442
IFS=$as_save_IFS
17022
14443
 
17023
14444
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17026
14447
fi
17027
14448
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17028
14449
if test -n "$PKG_CONFIG"; then
17029
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
14450
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17030
14451
$as_echo "$PKG_CONFIG" >&6; }
17031
14452
else
17032
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17033
14454
$as_echo "no" >&6; }
17034
14455
fi
17035
14456
 
17048
14469
    fi
17049
14470
 
17050
14471
    # check pkg-config version
17051
 
    { $as_echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
14472
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
17052
14473
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
17053
14474
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
17054
14475
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
17055
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
14476
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
17056
14477
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
17057
14478
    else
17058
14479
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
17059
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
14480
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
17060
14481
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
17061
14482
      echo "*** Your version of pkg-config is too old. You need atleast"
17062
14483
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
17069
14490
  fi
17070
14491
 
17071
14492
 
17072
 
  { $as_echo "$as_me:$LINENO: checking for libnotify >= 0.4.1" >&5
 
14493
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnotify >= 0.4.1" >&5
17073
14494
$as_echo_n "checking for libnotify >= 0.4.1... " >&6; }
17074
14495
  if $PKG_CONFIG "--atleast-version=0.4.1" "libnotify" >/dev/null 2>&1; then
17075
14496
    LIBNOTIFY_VERSION=`$PKG_CONFIG --modversion "libnotify"`
17076
 
    { $as_echo "$as_me:$LINENO: result: $LIBNOTIFY_VERSION" >&5
 
14497
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBNOTIFY_VERSION" >&5
17077
14498
$as_echo "$LIBNOTIFY_VERSION" >&6; }
17078
14499
 
17079
 
    { $as_echo "$as_me:$LINENO: checking LIBNOTIFY_CFLAGS" >&5
 
14500
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBNOTIFY_CFLAGS" >&5
17080
14501
$as_echo_n "checking LIBNOTIFY_CFLAGS... " >&6; }
17081
14502
    LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify"`
17082
 
    { $as_echo "$as_me:$LINENO: result: $LIBNOTIFY_CFLAGS" >&5
 
14503
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBNOTIFY_CFLAGS" >&5
17083
14504
$as_echo "$LIBNOTIFY_CFLAGS" >&6; }
17084
14505
 
17085
 
    { $as_echo "$as_me:$LINENO: checking LIBNOTIFY_LIBS" >&5
 
14506
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBNOTIFY_LIBS" >&5
17086
14507
$as_echo_n "checking LIBNOTIFY_LIBS... " >&6; }
17087
14508
    LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify"`
17088
 
    { $as_echo "$as_me:$LINENO: result: $LIBNOTIFY_LIBS" >&5
 
14509
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBNOTIFY_LIBS" >&5
17089
14510
$as_echo "$LIBNOTIFY_LIBS" >&6; }
17090
14511
 
17091
14512
    LIBNOTIFY_REQUIRED_VERSION=0.4.1
17098
14519
 
17099
14520
  elif $PKG_CONFIG --exists "libnotify" >/dev/null 2>&1; then
17100
14521
    xdt_cv_version=`$PKG_CONFIG --modversion "libnotify"`
17101
 
    { $as_echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
14522
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
17102
14523
$as_echo "found, but $xdt_cv_version" >&6; }
17103
14524
 
17104
14525
 
17111
14532
      exit 1
17112
14533
 
17113
14534
  else
17114
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
14535
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17115
14536
$as_echo "not found" >&6; }
17116
14537
 
17117
14538
 
17130
14551
#=======================================================#
17131
14552
DPMS_LIBS=
17132
14553
# Check whether --enable-dpms was given.
17133
 
if test "${enable_dpms+set}" = set; then
 
14554
if test "${enable_dpms+set}" = set; then :
17134
14555
  enableval=$enable_dpms;
17135
14556
else
17136
14557
  enable_dpms=yes
17138
14559
 
17139
14560
have_dpms="no"
17140
14561
if test x"$enable_dpms" = x"yes"; then
17141
 
     { $as_echo "$as_me:$LINENO: checking for DPMSQueryExtension in -lXext" >&5
 
14562
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPMSQueryExtension in -lXext" >&5
17142
14563
$as_echo_n "checking for DPMSQueryExtension in -lXext... " >&6; }
17143
 
if test "${ac_cv_lib_Xext_DPMSQueryExtension+set}" = set; then
 
14564
if test "${ac_cv_lib_Xext_DPMSQueryExtension+set}" = set; then :
17144
14565
  $as_echo_n "(cached) " >&6
17145
14566
else
17146
14567
  ac_check_lib_save_LIBS=$LIBS
17147
14568
LIBS="-lXext  $LIBS"
17148
 
cat >conftest.$ac_ext <<_ACEOF
17149
 
/* confdefs.h.  */
17150
 
_ACEOF
17151
 
cat confdefs.h >>conftest.$ac_ext
17152
 
cat >>conftest.$ac_ext <<_ACEOF
 
14569
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153
14570
/* end confdefs.h.  */
17154
14571
 
17155
14572
/* Override any GCC internal prototype to avoid an error.
17167
14584
  return 0;
17168
14585
}
17169
14586
_ACEOF
17170
 
rm -f conftest.$ac_objext conftest$ac_exeext
17171
 
if { (ac_try="$ac_link"
17172
 
case "(($ac_try" in
17173
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17174
 
  *) ac_try_echo=$ac_try;;
17175
 
esac
17176
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17177
 
$as_echo "$ac_try_echo") >&5
17178
 
  (eval "$ac_link") 2>conftest.er1
17179
 
  ac_status=$?
17180
 
  grep -v '^ *+' conftest.er1 >conftest.err
17181
 
  rm -f conftest.er1
17182
 
  cat conftest.err >&5
17183
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184
 
  (exit $ac_status); } && {
17185
 
         test -z "$ac_c_werror_flag" ||
17186
 
         test ! -s conftest.err
17187
 
       } && test -s conftest$ac_exeext && {
17188
 
         test "$cross_compiling" = yes ||
17189
 
         $as_test_x conftest$ac_exeext
17190
 
       }; then
 
14587
if ac_fn_c_try_link "$LINENO"; then :
17191
14588
  ac_cv_lib_Xext_DPMSQueryExtension=yes
17192
14589
else
17193
 
  $as_echo "$as_me: failed program was:" >&5
17194
 
sed 's/^/| /' conftest.$ac_ext >&5
17195
 
 
17196
 
        ac_cv_lib_Xext_DPMSQueryExtension=no
 
14590
  ac_cv_lib_Xext_DPMSQueryExtension=no
17197
14591
fi
17198
 
 
17199
 
rm -rf conftest.dSYM
17200
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17201
 
      conftest$ac_exeext conftest.$ac_ext
 
14592
rm -f core conftest.err conftest.$ac_objext \
 
14593
    conftest$ac_exeext conftest.$ac_ext
17202
14594
LIBS=$ac_check_lib_save_LIBS
17203
14595
fi
17204
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_DPMSQueryExtension" >&5
 
14596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_DPMSQueryExtension" >&5
17205
14597
$as_echo "$ac_cv_lib_Xext_DPMSQueryExtension" >&6; }
17206
 
if test "x$ac_cv_lib_Xext_DPMSQueryExtension" = x""yes; then
 
14598
if test "x$ac_cv_lib_Xext_DPMSQueryExtension" = x""yes; then :
17207
14599
   have_dpms="yes"
17208
14600
          DPMS_LIBS=" -lXext -lX11"
17209
14601
 
17210
 
cat >>confdefs.h <<\_ACEOF
17211
 
#define HAVE_DPMS 1
17212
 
_ACEOF
 
14602
$as_echo "#define HAVE_DPMS 1" >>confdefs.h
17213
14603
 
17214
14604
 
17215
14605
fi
17221
14611
#      Check for XF86_XK_Suspend && Hibernate           #
17222
14612
#=======================================================#
17223
14613
 
17224
 
{ $as_echo "$as_me:$LINENO: checking whether XF86XK_Suspend is declared" >&5
17225
 
$as_echo_n "checking whether XF86XK_Suspend is declared... " >&6; }
17226
 
if test "${ac_cv_have_decl_XF86XK_Suspend+set}" = set; then
17227
 
  $as_echo_n "(cached) " >&6
17228
 
else
17229
 
  cat >conftest.$ac_ext <<_ACEOF
17230
 
/* confdefs.h.  */
17231
 
_ACEOF
17232
 
cat confdefs.h >>conftest.$ac_ext
17233
 
cat >>conftest.$ac_ext <<_ACEOF
17234
 
/* end confdefs.h.  */
17235
 
#include <X11/XF86keysym.h>
17236
 
 
17237
 
int
17238
 
main ()
17239
 
{
17240
 
#ifndef XF86XK_Suspend
17241
 
  (void) XF86XK_Suspend;
17242
 
#endif
17243
 
 
17244
 
  ;
17245
 
  return 0;
17246
 
}
17247
 
_ACEOF
17248
 
rm -f conftest.$ac_objext
17249
 
if { (ac_try="$ac_compile"
17250
 
case "(($ac_try" in
17251
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17252
 
  *) ac_try_echo=$ac_try;;
17253
 
esac
17254
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17255
 
$as_echo "$ac_try_echo") >&5
17256
 
  (eval "$ac_compile") 2>conftest.er1
17257
 
  ac_status=$?
17258
 
  grep -v '^ *+' conftest.er1 >conftest.err
17259
 
  rm -f conftest.er1
17260
 
  cat conftest.err >&5
17261
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262
 
  (exit $ac_status); } && {
17263
 
         test -z "$ac_c_werror_flag" ||
17264
 
         test ! -s conftest.err
17265
 
       } && test -s conftest.$ac_objext; then
17266
 
  ac_cv_have_decl_XF86XK_Suspend=yes
17267
 
else
17268
 
  $as_echo "$as_me: failed program was:" >&5
17269
 
sed 's/^/| /' conftest.$ac_ext >&5
17270
 
 
17271
 
        ac_cv_have_decl_XF86XK_Suspend=no
17272
 
fi
17273
 
 
17274
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17275
 
fi
17276
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XF86XK_Suspend" >&5
17277
 
$as_echo "$ac_cv_have_decl_XF86XK_Suspend" >&6; }
17278
 
if test "x$ac_cv_have_decl_XF86XK_Suspend" = x""yes; then
 
14614
ac_fn_c_check_decl "$LINENO" "XF86XK_Suspend" "ac_cv_have_decl_XF86XK_Suspend" "#include <X11/XF86keysym.h>
 
14615
"
 
14616
if test "x$ac_cv_have_decl_XF86XK_Suspend" = x""yes; then :
17279
14617
  have_XF86XK_Suspend=1
17280
14618
else
17281
14619
  have_XF86XK_Suspend=0
17283
14621
 
17284
14622
if test "x${ac_cv_have_decl_XF86XK_Suspend}" != "xno"; then
17285
14623
 
17286
 
cat >>confdefs.h <<\_ACEOF
17287
 
#define HAVE_XF86XK_SUSPEND 1
17288
 
_ACEOF
17289
 
 
17290
 
fi
17291
 
{ $as_echo "$as_me:$LINENO: checking whether XF86XK_Hibernate is declared" >&5
17292
 
$as_echo_n "checking whether XF86XK_Hibernate is declared... " >&6; }
17293
 
if test "${ac_cv_have_decl_XF86XK_Hibernate+set}" = set; then
17294
 
  $as_echo_n "(cached) " >&6
17295
 
else
17296
 
  cat >conftest.$ac_ext <<_ACEOF
17297
 
/* confdefs.h.  */
17298
 
_ACEOF
17299
 
cat confdefs.h >>conftest.$ac_ext
17300
 
cat >>conftest.$ac_ext <<_ACEOF
17301
 
/* end confdefs.h.  */
17302
 
#include <X11/XF86keysym.h>
17303
 
 
17304
 
int
17305
 
main ()
17306
 
{
17307
 
#ifndef XF86XK_Hibernate
17308
 
  (void) XF86XK_Hibernate;
17309
 
#endif
17310
 
 
17311
 
  ;
17312
 
  return 0;
17313
 
}
17314
 
_ACEOF
17315
 
rm -f conftest.$ac_objext
17316
 
if { (ac_try="$ac_compile"
17317
 
case "(($ac_try" in
17318
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17319
 
  *) ac_try_echo=$ac_try;;
17320
 
esac
17321
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17322
 
$as_echo "$ac_try_echo") >&5
17323
 
  (eval "$ac_compile") 2>conftest.er1
17324
 
  ac_status=$?
17325
 
  grep -v '^ *+' conftest.er1 >conftest.err
17326
 
  rm -f conftest.er1
17327
 
  cat conftest.err >&5
17328
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329
 
  (exit $ac_status); } && {
17330
 
         test -z "$ac_c_werror_flag" ||
17331
 
         test ! -s conftest.err
17332
 
       } && test -s conftest.$ac_objext; then
17333
 
  ac_cv_have_decl_XF86XK_Hibernate=yes
17334
 
else
17335
 
  $as_echo "$as_me: failed program was:" >&5
17336
 
sed 's/^/| /' conftest.$ac_ext >&5
17337
 
 
17338
 
        ac_cv_have_decl_XF86XK_Hibernate=no
17339
 
fi
17340
 
 
17341
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17342
 
fi
17343
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XF86XK_Hibernate" >&5
17344
 
$as_echo "$ac_cv_have_decl_XF86XK_Hibernate" >&6; }
17345
 
if test "x$ac_cv_have_decl_XF86XK_Hibernate" = x""yes; then
 
14624
$as_echo "#define HAVE_XF86XK_SUSPEND 1" >>confdefs.h
 
14625
 
 
14626
fi
 
14627
ac_fn_c_check_decl "$LINENO" "XF86XK_Hibernate" "ac_cv_have_decl_XF86XK_Hibernate" "#include <X11/XF86keysym.h>
 
14628
"
 
14629
if test "x$ac_cv_have_decl_XF86XK_Hibernate" = x""yes; then :
17346
14630
  have_XF86XK_Hibernate=1
17347
14631
else
17348
14632
  have_XF86XK_Hibernate=0
17350
14634
 
17351
14635
if test "x${ac_cv_have_decl_XF86XK_Hibernate}" != "xno"; then
17352
14636
 
17353
 
cat >>confdefs.h <<\_ACEOF
17354
 
#define HAVE_XF86XK_HIBERNATE 1
17355
 
_ACEOF
 
14637
$as_echo "#define HAVE_XF86XK_HIBERNATE 1" >>confdefs.h
17356
14638
 
17357
14639
fi
17358
14640
 
17360
14642
#              Network Manager support                  #
17361
14643
#=======================================================#
17362
14644
# Check whether --enable-network-manager was given.
17363
 
if test "${enable_network_manager+set}" = set; then
 
14645
if test "${enable_network_manager+set}" = set; then :
17364
14646
  enableval=$enable_network_manager; ac_network_manager=$enableval
17365
14647
else
17366
14648
  ac_network_manager=yes
17367
14649
fi
17368
14650
 
17369
 
{ $as_echo "$as_me:$LINENO: checking whether to build with network manager support." >&5
 
14651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with network manager support." >&5
17370
14652
$as_echo_n "checking whether to build with network manager support.... " >&6; }
17371
14653
if test "x$ac_network_manager = xyes"; then
17372
14654
 
17373
 
cat >>confdefs.h <<\_ACEOF
17374
 
#define WITH_NETWORK_MANAGER 1
17375
 
_ACEOF
 
14655
$as_echo "#define WITH_NETWORK_MANAGER 1 " >>confdefs.h
17376
14656
 
17377
14657
fi
17378
 
{ $as_echo "$as_me:$LINENO: result: $ac_network_manager" >&5
 
14658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_network_manager" >&5
17379
14659
$as_echo "$ac_network_manager" >&6; }
17380
14660
 
17381
14661
#=======================================================#
17382
14662
#                 Panel plugins ?                       #
17383
14663
#=======================================================#
17384
14664
# Check whether --enable-panel_plugins was given.
17385
 
if test "${enable_panel_plugins+set}" = set; then
 
14665
if test "${enable_panel_plugins+set}" = set; then :
17386
14666
  enableval=$enable_panel_plugins; ac_cv_enable_panel_plugins=$enableval
17387
14667
else
17388
14668
  ac_cv_enable_panel_plugins=yes
17401
14681
  if test x"$PKG_CONFIG" = x""; then
17402
14682
    # Extract the first word of "pkg-config", so it can be a program name with args.
17403
14683
set dummy pkg-config; ac_word=$2
17404
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17405
14685
$as_echo_n "checking for $ac_word... " >&6; }
17406
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
14686
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17407
14687
  $as_echo_n "(cached) " >&6
17408
14688
else
17409
14689
  case $PKG_CONFIG in
17416
14696
do
17417
14697
  IFS=$as_save_IFS
17418
14698
  test -z "$as_dir" && as_dir=.
17419
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14699
    for ac_exec_ext in '' $ac_executable_extensions; do
17420
14700
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17421
14701
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17422
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14702
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17423
14703
    break 2
17424
14704
  fi
17425
14705
done
17426
 
done
 
14706
  done
17427
14707
IFS=$as_save_IFS
17428
14708
 
17429
14709
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17432
14712
fi
17433
14713
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17434
14714
if test -n "$PKG_CONFIG"; then
17435
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
14715
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17436
14716
$as_echo "$PKG_CONFIG" >&6; }
17437
14717
else
17438
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14718
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17439
14719
$as_echo "no" >&6; }
17440
14720
fi
17441
14721
 
17454
14734
    fi
17455
14735
 
17456
14736
    # check pkg-config version
17457
 
    { $as_echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
14737
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
17458
14738
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
17459
14739
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
17460
14740
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
17461
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
14741
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
17462
14742
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
17463
14743
    else
17464
14744
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
17465
 
      { $as_echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
14745
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
17466
14746
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
17467
14747
      echo "*** Your version of pkg-config is too old. You need atleast"
17468
14748
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
17475
14755
  fi
17476
14756
 
17477
14757
 
17478
 
  { $as_echo "$as_me:$LINENO: checking for libxfce4panel-1.0 >= 4.6.0" >&5
 
14758
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4panel-1.0 >= 4.6.0" >&5
17479
14759
$as_echo_n "checking for libxfce4panel-1.0 >= 4.6.0... " >&6; }
17480
14760
  if $PKG_CONFIG "--atleast-version=4.6.0" "libxfce4panel-1.0" >/dev/null 2>&1; then
17481
14761
    LIBXFCE4PANEL_VERSION=`$PKG_CONFIG --modversion "libxfce4panel-1.0"`
17482
 
    { $as_echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_VERSION" >&5
 
14762
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_VERSION" >&5
17483
14763
$as_echo "$LIBXFCE4PANEL_VERSION" >&6; }
17484
14764
 
17485
 
    { $as_echo "$as_me:$LINENO: checking LIBXFCE4PANEL_CFLAGS" >&5
 
14765
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_CFLAGS" >&5
17486
14766
$as_echo_n "checking LIBXFCE4PANEL_CFLAGS... " >&6; }
17487
14767
    LIBXFCE4PANEL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4panel-1.0"`
17488
 
    { $as_echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_CFLAGS" >&5
 
14768
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_CFLAGS" >&5
17489
14769
$as_echo "$LIBXFCE4PANEL_CFLAGS" >&6; }
17490
14770
 
17491
 
    { $as_echo "$as_me:$LINENO: checking LIBXFCE4PANEL_LIBS" >&5
 
14771
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_LIBS" >&5
17492
14772
$as_echo_n "checking LIBXFCE4PANEL_LIBS... " >&6; }
17493
14773
    LIBXFCE4PANEL_LIBS=`$PKG_CONFIG --libs "libxfce4panel-1.0"`
17494
 
    { $as_echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_LIBS" >&5
 
14774
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_LIBS" >&5
17495
14775
$as_echo "$LIBXFCE4PANEL_LIBS" >&6; }
17496
14776
 
17497
14777
    LIBXFCE4PANEL_REQUIRED_VERSION=4.6.0
17504
14784
 
17505
14785
  elif $PKG_CONFIG --exists "libxfce4panel-1.0" >/dev/null 2>&1; then
17506
14786
    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-1.0"`
17507
 
    { $as_echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
14787
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
17508
14788
$as_echo "found, but $xdt_cv_version" >&6; }
17509
14789
 
17510
14790
 
17517
14797
      exit 1
17518
14798
 
17519
14799
  else
17520
 
    { $as_echo "$as_me:$LINENO: result: not found" >&5
 
14800
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17521
14801
$as_echo "not found" >&6; }
17522
14802
 
17523
14803
 
17544
14824
#              Generate html doc                        #
17545
14825
#=======================================================#
17546
14826
# Check whether --enable-xsltproc was given.
17547
 
if test "${enable_xsltproc+set}" = set; then
 
14827
if test "${enable_xsltproc+set}" = set; then :
17548
14828
  enableval=$enable_xsltproc;
17549
14829
else
17550
14830
  enable_xsltproc=no
17553
14833
if test "x$enable_xsltproc" = "xyes"; then
17554
14834
    # Extract the first word of "xsltproc", so it can be a program name with args.
17555
14835
set dummy xsltproc; ac_word=$2
17556
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17557
14837
$as_echo_n "checking for $ac_word... " >&6; }
17558
 
if test "${ac_cv_path_XSLTPROC+set}" = set; then
 
14838
if test "${ac_cv_path_XSLTPROC+set}" = set; then :
17559
14839
  $as_echo_n "(cached) " >&6
17560
14840
else
17561
14841
  case $XSLTPROC in
17568
14848
do
17569
14849
  IFS=$as_save_IFS
17570
14850
  test -z "$as_dir" && as_dir=.
17571
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14851
    for ac_exec_ext in '' $ac_executable_extensions; do
17572
14852
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17573
14853
    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
17574
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14854
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17575
14855
    break 2
17576
14856
  fi
17577
14857
done
17578
 
done
 
14858
  done
17579
14859
IFS=$as_save_IFS
17580
14860
 
17581
14861
  test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
17584
14864
fi
17585
14865
XSLTPROC=$ac_cv_path_XSLTPROC
17586
14866
if test -n "$XSLTPROC"; then
17587
 
  { $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5
 
14867
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
17588
14868
$as_echo "$XSLTPROC" >&6; }
17589
14869
else
17590
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14870
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17591
14871
$as_echo "no" >&6; }
17592
14872
fi
17593
14873
 
17594
14874
 
17595
14875
    if test "x$XSLTPROC" = "xno"; then
17596
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
14876
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17597
14877
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17598
 
{ { $as_echo "$as_me:$LINENO: error: *** xsltproc was requested, but not found.
17599
 
See \`config.log' for more details." >&5
17600
 
$as_echo "$as_me: error: *** xsltproc was requested, but not found.
17601
 
See \`config.log' for more details." >&2;}
17602
 
   { (exit 1); exit 1; }; }; }
 
14878
as_fn_error "*** xsltproc was requested, but not found.
 
14879
See \`config.log' for more details." "$LINENO" 5; }
17603
14880
    fi
17604
14881
fi
17605
14882
 if test "x$enable_xsltproc" = "xyes"; then
17615
14892
#              Support for doc translations             #
17616
14893
#=======================================================#
17617
14894
# Check whether --enable-xml2po was given.
17618
 
if test "${enable_xml2po+set}" = set; then
 
14895
if test "${enable_xml2po+set}" = set; then :
17619
14896
  enableval=$enable_xml2po;
17620
14897
else
17621
14898
  enable_xml2po=no
17624
14901
if test "x$enable_xml2po" = "xyes"; then
17625
14902
    # Extract the first word of "xml2po", so it can be a program name with args.
17626
14903
set dummy xml2po; ac_word=$2
17627
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17628
14905
$as_echo_n "checking for $ac_word... " >&6; }
17629
 
if test "${ac_cv_path_XML2PO+set}" = set; then
 
14906
if test "${ac_cv_path_XML2PO+set}" = set; then :
17630
14907
  $as_echo_n "(cached) " >&6
17631
14908
else
17632
14909
  case $XML2PO in
17639
14916
do
17640
14917
  IFS=$as_save_IFS
17641
14918
  test -z "$as_dir" && as_dir=.
17642
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14919
    for ac_exec_ext in '' $ac_executable_extensions; do
17643
14920
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17644
14921
    ac_cv_path_XML2PO="$as_dir/$ac_word$ac_exec_ext"
17645
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14922
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17646
14923
    break 2
17647
14924
  fi
17648
14925
done
17649
 
done
 
14926
  done
17650
14927
IFS=$as_save_IFS
17651
14928
 
17652
14929
  test -z "$ac_cv_path_XML2PO" && ac_cv_path_XML2PO="no"
17655
14932
fi
17656
14933
XML2PO=$ac_cv_path_XML2PO
17657
14934
if test -n "$XML2PO"; then
17658
 
  { $as_echo "$as_me:$LINENO: result: $XML2PO" >&5
 
14935
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2PO" >&5
17659
14936
$as_echo "$XML2PO" >&6; }
17660
14937
else
17661
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17662
14939
$as_echo "no" >&6; }
17663
14940
fi
17664
14941
 
17665
14942
 
17666
14943
    if test "x$XML2PO" = "xno"; then
17667
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
14944
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17668
14945
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17669
 
{ { $as_echo "$as_me:$LINENO: error: *** xml2po was requested, but not found.
17670
 
See \`config.log' for more details." >&5
17671
 
$as_echo "$as_me: error: *** xml2po was requested, but not found.
17672
 
See \`config.log' for more details." >&2;}
17673
 
   { (exit 1); exit 1; }; }; }
 
14946
as_fn_error "*** xml2po was requested, but not found.
 
14947
See \`config.log' for more details." "$LINENO" 5; }
17674
14948
    fi
17675
14949
fi
17676
14950
 if test "x$enable_xml2po" = "xyes"; then
17687
14961
#=======================================================#
17688
14962
 
17689
14963
  # Check whether --enable-debug was given.
17690
 
if test "${enable_debug+set}" = set; then
 
14964
if test "${enable_debug+set}" = set; then :
17691
14965
  enableval=$enable_debug;
17692
14966
else
17693
14967
  enable_debug=no
17694
14968
fi
17695
14969
 
17696
14970
 
17697
 
  { $as_echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
 
14971
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
17698
14972
$as_echo_n "checking whether to build with debugging support... " >&6; }
17699
14973
  if test x"$enable_debug" != x"no"; then
17700
14974
 
17701
 
cat >>confdefs.h <<\_ACEOF
17702
 
#define DEBUG 1
17703
 
_ACEOF
 
14975
$as_echo "#define DEBUG 1" >>confdefs.h
17704
14976
 
17705
14977
 
17706
14978
    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
17717
14989
 
17718
14990
    if test x"$enable_debug" = x"full"; then
17719
14991
 
17720
 
cat >>confdefs.h <<\_ACEOF
17721
 
#define DEBUG_TRACE 1
17722
 
_ACEOF
 
14992
$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
17723
14993
 
17724
14994
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g3 -Werror"
17725
 
      { $as_echo "$as_me:$LINENO: result: full" >&5
 
14995
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
17726
14996
$as_echo "full" >&6; }
17727
14997
    else
17728
14998
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g"
17729
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14999
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17730
15000
$as_echo "yes" >&6; }
17731
15001
    fi
17732
15002
 
17733
15003
 
17734
15004
  for flag in $xdt_cv_additional_CFLAGS; do
17735
 
    { $as_echo "$as_me:$LINENO: checking if $CC supports $flag" >&5
 
15005
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
17736
15006
$as_echo_n "checking if $CC supports $flag... " >&6; }
17737
15007
    saved_CFLAGS="$CFLAGS"
17738
15008
    CFLAGS="$CFLAGS $flag"
17739
 
    cat >conftest.$ac_ext <<_ACEOF
 
15009
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15010
/* end confdefs.h.  */
17740
15011
 
17741
15012
_ACEOF
17742
 
rm -f conftest.$ac_objext
17743
 
if { (ac_try="$ac_compile"
17744
 
case "(($ac_try" in
17745
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17746
 
  *) ac_try_echo=$ac_try;;
17747
 
esac
17748
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17749
 
$as_echo "$ac_try_echo") >&5
17750
 
  (eval "$ac_compile") 2>conftest.er1
17751
 
  ac_status=$?
17752
 
  grep -v '^ *+' conftest.er1 >conftest.err
17753
 
  rm -f conftest.er1
17754
 
  cat conftest.err >&5
17755
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756
 
  (exit $ac_status); } && {
17757
 
         test -z "$ac_c_werror_flag" ||
17758
 
         test ! -s conftest.err
17759
 
       } && test -s conftest.$ac_objext; then
 
15013
if ac_fn_c_try_compile "$LINENO"; then :
17760
15014
  flag_supported=yes
17761
15015
else
17762
 
  $as_echo "$as_me: failed program was:" >&5
17763
 
sed 's/^/| /' conftest.$ac_ext >&5
17764
 
 
17765
 
        flag_supported=no
 
15016
  flag_supported=no
17766
15017
fi
17767
 
 
17768
15018
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17769
15019
    CFLAGS="$saved_CFLAGS"
17770
 
    { $as_echo "$as_me:$LINENO: result: $flag_supported" >&5
 
15020
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
17771
15021
$as_echo "$flag_supported" >&6; }
17772
15022
 
17773
15023
    if test "x$flag_supported" = "xyes"; then
17783
15033
    CFLAGS="$CFLAGS $supported_CFLAGS"
17784
15034
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
17785
15035
  else
17786
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
15036
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17787
15037
$as_echo "no" >&6; }
17788
15038
  fi
17789
15039
 
17817
15067
    case $ac_val in #(
17818
15068
    *${as_nl}*)
17819
15069
      case $ac_var in #(
17820
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
15070
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17821
15071
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17822
15072
      esac
17823
15073
      case $ac_var in #(
17824
15074
      _ | IFS | as_nl) ;; #(
17825
15075
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17826
 
      *) $as_unset $ac_var ;;
 
15076
      *) { eval $ac_var=; unset $ac_var;} ;;
17827
15077
      esac ;;
17828
15078
    esac
17829
15079
  done
17831
15081
  (set) 2>&1 |
17832
15082
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17833
15083
    *${as_nl}ac_space=\ *)
17834
 
      # `set' does not quote correctly, so add quotes (double-quote
17835
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
15084
      # `set' does not quote correctly, so add quotes: double-quote
 
15085
      # substitution turns \\\\ into \\, and sed turns \\ into \.
17836
15086
      sed -n \
17837
15087
        "s/'/'\\\\''/g;
17838
15088
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17855
15105
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17856
15106
  if test -w "$cache_file"; then
17857
15107
    test "x$cache_file" != "x/dev/null" &&
17858
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
15108
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17859
15109
$as_echo "$as_me: updating cache $cache_file" >&6;}
17860
15110
    cat confcache >$cache_file
17861
15111
  else
17862
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
15112
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17863
15113
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17864
15114
  fi
17865
15115
fi
17879
15129
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17880
15130
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17881
15131
  #    will be set to the directory where LIBOBJS objects are built.
17882
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17883
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
15132
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
15133
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17884
15134
done
17885
15135
LIBOBJS=$ac_libobjs
17886
15136
 
17887
15137
LTLIBOBJS=$ac_ltlibobjs
17888
15138
 
17889
15139
 
 
15140
 if test -n "$EXEEXT"; then
 
15141
  am__EXEEXT_TRUE=
 
15142
  am__EXEEXT_FALSE='#'
 
15143
else
 
15144
  am__EXEEXT_TRUE='#'
 
15145
  am__EXEEXT_FALSE=
 
15146
fi
 
15147
 
17890
15148
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17891
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17892
 
Usually this means the macro was only invoked conditionally." >&5
17893
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17894
 
Usually this means the macro was only invoked conditionally." >&2;}
17895
 
   { (exit 1); exit 1; }; }
 
15149
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
15150
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17896
15151
fi
17897
15152
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17898
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17899
 
Usually this means the macro was only invoked conditionally." >&5
17900
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
17901
 
Usually this means the macro was only invoked conditionally." >&2;}
17902
 
   { (exit 1); exit 1; }; }
17903
 
fi
17904
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17905
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17906
 
Usually this means the macro was only invoked conditionally." >&5
17907
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17908
 
Usually this means the macro was only invoked conditionally." >&2;}
17909
 
   { (exit 1); exit 1; }; }
17910
 
fi
17911
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17912
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17913
 
Usually this means the macro was only invoked conditionally." >&5
17914
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17915
 
Usually this means the macro was only invoked conditionally." >&2;}
17916
 
   { (exit 1); exit 1; }; }
 
15153
  as_fn_error "conditional \"AMDEP\" was never defined.
 
15154
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15155
fi
 
15156
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15157
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
15158
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15159
fi
 
15160
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15161
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
15162
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17917
15163
fi
17918
15164
 
17919
15165
  ac_config_commands="$ac_config_commands po/stamp-it"
17920
15166
 
17921
15167
 
17922
15168
if test -z "${BUILD_PANEL_PLUGINS_TRUE}" && test -z "${BUILD_PANEL_PLUGINS_FALSE}"; then
17923
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PANEL_PLUGINS\" was never defined.
17924
 
Usually this means the macro was only invoked conditionally." >&5
17925
 
$as_echo "$as_me: error: conditional \"BUILD_PANEL_PLUGINS\" was never defined.
17926
 
Usually this means the macro was only invoked conditionally." >&2;}
17927
 
   { (exit 1); exit 1; }; }
 
15169
  as_fn_error "conditional \"BUILD_PANEL_PLUGINS\" was never defined.
 
15170
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17928
15171
fi
17929
15172
if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
17930
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
17931
 
Usually this means the macro was only invoked conditionally." >&5
17932
 
$as_echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
17933
 
Usually this means the macro was only invoked conditionally." >&2;}
17934
 
   { (exit 1); exit 1; }; }
 
15173
  as_fn_error "conditional \"HAVE_XSLTPROC\" was never defined.
 
15174
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17935
15175
fi
17936
15176
if test -z "${ENABLE_XML2PO_TRUE}" && test -z "${ENABLE_XML2PO_FALSE}"; then
17937
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_XML2PO\" was never defined.
17938
 
Usually this means the macro was only invoked conditionally." >&5
17939
 
$as_echo "$as_me: error: conditional \"ENABLE_XML2PO\" was never defined.
17940
 
Usually this means the macro was only invoked conditionally." >&2;}
17941
 
   { (exit 1); exit 1; }; }
 
15177
  as_fn_error "conditional \"ENABLE_XML2PO\" was never defined.
 
15178
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17942
15179
fi
17943
15180
 
17944
15181
: ${CONFIG_STATUS=./config.status}
17945
15182
ac_write_fail=0
17946
15183
ac_clean_files_save=$ac_clean_files
17947
15184
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17948
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
15185
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17949
15186
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17950
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15187
as_write_fail=0
 
15188
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17951
15189
#! $SHELL
17952
15190
# Generated by $as_me.
17953
15191
# Run this file to recreate the current configuration.
17957
15195
debug=false
17958
15196
ac_cs_recheck=false
17959
15197
ac_cs_silent=false
 
15198
 
17960
15199
SHELL=\${CONFIG_SHELL-$SHELL}
17961
 
_ACEOF
17962
 
 
17963
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17964
 
## --------------------- ##
17965
 
## M4sh Initialization.  ##
17966
 
## --------------------- ##
 
15200
export SHELL
 
15201
_ASEOF
 
15202
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
15203
## -------------------- ##
 
15204
## M4sh Initialization. ##
 
15205
## -------------------- ##
17967
15206
 
17968
15207
# Be more Bourne compatible
17969
15208
DUALCASE=1; export DUALCASE # for MKS sh
17970
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
15209
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17971
15210
  emulate sh
17972
15211
  NULLCMD=:
17973
15212
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17975
15214
  alias -g '${1+"$@"}'='"$@"'
17976
15215
  setopt NO_GLOB_SUBST
17977
15216
else
17978
 
  case `(set -o) 2>/dev/null` in
17979
 
  *posix*) set -o posix ;;
 
15217
  case `(set -o) 2>/dev/null` in #(
 
15218
  *posix*) :
 
15219
    set -o posix ;; #(
 
15220
  *) :
 
15221
     ;;
17980
15222
esac
17981
 
 
17982
15223
fi
17983
15224
 
17984
15225
 
17985
 
 
17986
 
 
17987
 
# PATH needs CR
17988
 
# Avoid depending upon Character Ranges.
17989
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17990
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17991
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17992
 
as_cr_digits='0123456789'
17993
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
17994
 
 
17995
15226
as_nl='
17996
15227
'
17997
15228
export as_nl
17999
15230
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18000
15231
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18001
15232
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18002
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15233
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
15234
# but without wasting forks for bash or zsh.
 
15235
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
15236
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15237
  as_echo='print -r --'
 
15238
  as_echo_n='print -rn --'
 
15239
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18003
15240
  as_echo='printf %s\n'
18004
15241
  as_echo_n='printf %s'
18005
15242
else
18010
15247
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18011
15248
    as_echo_n_body='eval
18012
15249
      arg=$1;
18013
 
      case $arg in
 
15250
      case $arg in #(
18014
15251
      *"$as_nl"*)
18015
15252
        expr "X$arg" : "X\\(.*\\)$as_nl";
18016
15253
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18033
15270
  }
18034
15271
fi
18035
15272
 
18036
 
# Support unset when possible.
18037
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18038
 
  as_unset=unset
18039
 
else
18040
 
  as_unset=false
18041
 
fi
18042
 
 
18043
15273
 
18044
15274
# IFS
18045
15275
# We need space, tab and new line, in precisely that order.  Quoting is
18049
15279
IFS=" ""        $as_nl"
18050
15280
 
18051
15281
# Find who we are.  Look in the path if we contain no directory separator.
18052
 
case $0 in
 
15282
case $0 in #((
18053
15283
  *[\\/]* ) as_myself=$0 ;;
18054
15284
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18055
15285
for as_dir in $PATH
18056
15286
do
18057
15287
  IFS=$as_save_IFS
18058
15288
  test -z "$as_dir" && as_dir=.
18059
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18060
 
done
 
15289
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
15290
  done
18061
15291
IFS=$as_save_IFS
18062
15292
 
18063
15293
     ;;
18069
15299
fi
18070
15300
if test ! -f "$as_myself"; then
18071
15301
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18072
 
  { (exit 1); exit 1; }
 
15302
  exit 1
18073
15303
fi
18074
15304
 
18075
 
# Work around bugs in pre-3.0 UWIN ksh.
18076
 
for as_var in ENV MAIL MAILPATH
18077
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
15305
# Unset variables that we do not need and which cause bugs (e.g. in
 
15306
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
15307
# suppresses any "Segmentation fault" message there.  '((' could
 
15308
# trigger a bug in pdksh 5.2.14.
 
15309
for as_var in BASH_ENV ENV MAIL MAILPATH
 
15310
do eval test x\${$as_var+set} = xset \
 
15311
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18078
15312
done
18079
15313
PS1='$ '
18080
15314
PS2='> '
18086
15320
LANGUAGE=C
18087
15321
export LANGUAGE
18088
15322
 
18089
 
# Required to use basename.
 
15323
# CDPATH.
 
15324
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15325
 
 
15326
 
 
15327
# as_fn_error ERROR [LINENO LOG_FD]
 
15328
# ---------------------------------
 
15329
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
15330
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
15331
# script with status $?, using 1 if that was 0.
 
15332
as_fn_error ()
 
15333
{
 
15334
  as_status=$?; test $as_status -eq 0 && as_status=1
 
15335
  if test "$3"; then
 
15336
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15337
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
15338
  fi
 
15339
  $as_echo "$as_me: error: $1" >&2
 
15340
  as_fn_exit $as_status
 
15341
} # as_fn_error
 
15342
 
 
15343
 
 
15344
# as_fn_set_status STATUS
 
15345
# -----------------------
 
15346
# Set $? to STATUS, without forking.
 
15347
as_fn_set_status ()
 
15348
{
 
15349
  return $1
 
15350
} # as_fn_set_status
 
15351
 
 
15352
# as_fn_exit STATUS
 
15353
# -----------------
 
15354
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
15355
as_fn_exit ()
 
15356
{
 
15357
  set +e
 
15358
  as_fn_set_status $1
 
15359
  exit $1
 
15360
} # as_fn_exit
 
15361
 
 
15362
# as_fn_unset VAR
 
15363
# ---------------
 
15364
# Portably unset VAR.
 
15365
as_fn_unset ()
 
15366
{
 
15367
  { eval $1=; unset $1;}
 
15368
}
 
15369
as_unset=as_fn_unset
 
15370
# as_fn_append VAR VALUE
 
15371
# ----------------------
 
15372
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
15373
# advantage of any shell optimizations that allow amortized linear growth over
 
15374
# repeated appends, instead of the typical quadratic growth present in naive
 
15375
# implementations.
 
15376
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
15377
  eval 'as_fn_append ()
 
15378
  {
 
15379
    eval $1+=\$2
 
15380
  }'
 
15381
else
 
15382
  as_fn_append ()
 
15383
  {
 
15384
    eval $1=\$$1\$2
 
15385
  }
 
15386
fi # as_fn_append
 
15387
 
 
15388
# as_fn_arith ARG...
 
15389
# ------------------
 
15390
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
15391
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
15392
# must be portable across $(()) and expr.
 
15393
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
15394
  eval 'as_fn_arith ()
 
15395
  {
 
15396
    as_val=$(( $* ))
 
15397
  }'
 
15398
else
 
15399
  as_fn_arith ()
 
15400
  {
 
15401
    as_val=`expr "$@" || test $? -eq 1`
 
15402
  }
 
15403
fi # as_fn_arith
 
15404
 
 
15405
 
18090
15406
if expr a : '\(a\)' >/dev/null 2>&1 &&
18091
15407
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18092
15408
  as_expr=expr
18100
15416
  as_basename=false
18101
15417
fi
18102
15418
 
 
15419
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
15420
  as_dirname=dirname
 
15421
else
 
15422
  as_dirname=false
 
15423
fi
18103
15424
 
18104
 
# Name of the executable.
18105
15425
as_me=`$as_basename -- "$0" ||
18106
15426
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18107
15427
         X"$0" : 'X\(//\)$' \| \
18121
15441
          }
18122
15442
          s/.*/./; q'`
18123
15443
 
18124
 
# CDPATH.
18125
 
$as_unset CDPATH
18126
 
 
18127
 
 
18128
 
 
18129
 
  as_lineno_1=$LINENO
18130
 
  as_lineno_2=$LINENO
18131
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
18132
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
18133
 
 
18134
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18135
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
18136
 
  # line-number line after each line using $LINENO; the second 'sed'
18137
 
  # does the real work.  The second script uses 'N' to pair each
18138
 
  # line-number line with the line containing $LINENO, and appends
18139
 
  # trailing '-' during substitution so that $LINENO is not a special
18140
 
  # case at line end.
18141
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18142
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
18143
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
18144
 
  sed -n '
18145
 
    p
18146
 
    /[$]LINENO/=
18147
 
  ' <$as_myself |
18148
 
    sed '
18149
 
      s/[$]LINENO.*/&-/
18150
 
      t lineno
18151
 
      b
18152
 
      :lineno
18153
 
      N
18154
 
      :loop
18155
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
18156
 
      t loop
18157
 
      s/-\n.*//
18158
 
    ' >$as_me.lineno &&
18159
 
  chmod +x "$as_me.lineno" ||
18160
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
18161
 
   { (exit 1); exit 1; }; }
18162
 
 
18163
 
  # Don't try to exec as it changes $[0], causing all sort of problems
18164
 
  # (the dirname of $[0] is not the place where we might find the
18165
 
  # original and so on.  Autoconf is especially sensitive to this).
18166
 
  . "./$as_me.lineno"
18167
 
  # Exit status is that of the last command.
18168
 
  exit
18169
 
}
18170
 
 
18171
 
 
18172
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18173
 
  as_dirname=dirname
18174
 
else
18175
 
  as_dirname=false
18176
 
fi
 
15444
# Avoid depending upon Character Ranges.
 
15445
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
15446
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
15447
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
15448
as_cr_digits='0123456789'
 
15449
as_cr_alnum=$as_cr_Letters$as_cr_digits
18177
15450
 
18178
15451
ECHO_C= ECHO_N= ECHO_T=
18179
 
case `echo -n x` in
 
15452
case `echo -n x` in #(((((
18180
15453
-n*)
18181
 
  case `echo 'x\c'` in
 
15454
  case `echo 'xy\c'` in
18182
15455
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
18183
 
  *)   ECHO_C='\c';;
 
15456
  xy)  ECHO_C='\c';;
 
15457
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
15458
       ECHO_T=' ';;
18184
15459
  esac;;
18185
15460
*)
18186
15461
  ECHO_N='-n';;
18187
15462
esac
18188
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
18189
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18190
 
  as_expr=expr
18191
 
else
18192
 
  as_expr=false
18193
 
fi
18194
15463
 
18195
15464
rm -f conf$$ conf$$.exe conf$$.file
18196
15465
if test -d conf$$.dir; then
18219
15488
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18220
15489
rmdir conf$$.dir 2>/dev/null
18221
15490
 
 
15491
 
 
15492
# as_fn_mkdir_p
 
15493
# -------------
 
15494
# Create "$as_dir" as a directory, including parents if necessary.
 
15495
as_fn_mkdir_p ()
 
15496
{
 
15497
 
 
15498
  case $as_dir in #(
 
15499
  -*) as_dir=./$as_dir;;
 
15500
  esac
 
15501
  test -d "$as_dir" || eval $as_mkdir_p || {
 
15502
    as_dirs=
 
15503
    while :; do
 
15504
      case $as_dir in #(
 
15505
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
15506
      *) as_qdir=$as_dir;;
 
15507
      esac
 
15508
      as_dirs="'$as_qdir' $as_dirs"
 
15509
      as_dir=`$as_dirname -- "$as_dir" ||
 
15510
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15511
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
15512
         X"$as_dir" : 'X\(//\)$' \| \
 
15513
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
15514
$as_echo X"$as_dir" |
 
15515
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15516
            s//\1/
 
15517
            q
 
15518
          }
 
15519
          /^X\(\/\/\)[^/].*/{
 
15520
            s//\1/
 
15521
            q
 
15522
          }
 
15523
          /^X\(\/\/\)$/{
 
15524
            s//\1/
 
15525
            q
 
15526
          }
 
15527
          /^X\(\/\).*/{
 
15528
            s//\1/
 
15529
            q
 
15530
          }
 
15531
          s/.*/./; q'`
 
15532
      test -d "$as_dir" && break
 
15533
    done
 
15534
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
15535
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
15536
 
 
15537
 
 
15538
} # as_fn_mkdir_p
18222
15539
if mkdir -p . 2>/dev/null; then
18223
 
  as_mkdir_p=:
 
15540
  as_mkdir_p='mkdir -p "$as_dir"'
18224
15541
else
18225
15542
  test -d ./-p && rmdir ./-p
18226
15543
  as_mkdir_p=false
18239
15556
      if test -d "$1"; then
18240
15557
        test -d "$1/.";
18241
15558
      else
18242
 
        case $1 in
 
15559
        case $1 in #(
18243
15560
        -*)set "./$1";;
18244
15561
        esac;
18245
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
15562
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18246
15563
        ???[sx]*):;;*)false;;esac;fi
18247
15564
    '\'' sh
18248
15565
  '
18257
15574
 
18258
15575
 
18259
15576
exec 6>&1
 
15577
## ----------------------------------- ##
 
15578
## Main body of $CONFIG_STATUS script. ##
 
15579
## ----------------------------------- ##
 
15580
_ASEOF
 
15581
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18260
15582
 
18261
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
15583
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15584
# Save the log message, to keep $0 and so on meaningful, and to
18262
15585
# report actual input values of CONFIG_FILES etc. instead of their
18263
15586
# values after options handling.
18264
15587
ac_log="
18265
 
This file was extended by xfce4-power-manager $as_me 0.8.3.1, which was
18266
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
15588
This file was extended by xfce4-power-manager $as_me 0.8.4, which was
 
15589
generated by GNU Autoconf 2.64.  Invocation command line was
18267
15590
 
18268
15591
  CONFIG_FILES    = $CONFIG_FILES
18269
15592
  CONFIG_HEADERS  = $CONFIG_HEADERS
18295
15618
 
18296
15619
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18297
15620
ac_cs_usage="\
18298
 
\`$as_me' instantiates files from templates according to the
18299
 
current configuration.
 
15621
\`$as_me' instantiates files and other configuration actions
 
15622
from templates according to the current configuration.  Unless the files
 
15623
and actions are specified as TAGs, all are instantiated by default.
18300
15624
 
18301
 
Usage: $0 [OPTION]... [FILE]...
 
15625
Usage: $0 [OPTION]... [TAG]...
18302
15626
 
18303
15627
  -h, --help       print this help, then exit
18304
15628
  -V, --version    print version number and configuration settings, then exit
18320
15644
Configuration commands:
18321
15645
$config_commands
18322
15646
 
18323
 
Report bugs to <bug-autoconf@gnu.org>."
 
15647
Report bugs to <http://bugzilla.xfce.org/>."
18324
15648
 
18325
15649
_ACEOF
18326
15650
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18327
15651
ac_cs_version="\\
18328
 
xfce4-power-manager config.status 0.8.3.1
18329
 
configured by $0, generated by GNU Autoconf 2.63,
 
15652
xfce4-power-manager config.status 0.8.4
 
15653
configured by $0, generated by GNU Autoconf 2.64,
18330
15654
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18331
15655
 
18332
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
15656
Copyright (C) 2009 Free Software Foundation, Inc.
18333
15657
This config.status script is free software; the Free Software Foundation
18334
15658
gives unlimited permission to copy, distribute and modify it."
18335
15659
 
18372
15696
    case $ac_optarg in
18373
15697
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18374
15698
    esac
18375
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
15699
    as_fn_append CONFIG_FILES " '$ac_optarg'"
18376
15700
    ac_need_defaults=false;;
18377
15701
  --header | --heade | --head | --hea )
18378
15702
    $ac_shift
18379
15703
    case $ac_optarg in
18380
15704
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18381
15705
    esac
18382
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
15706
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18383
15707
    ac_need_defaults=false;;
18384
15708
  --he | --h)
18385
15709
    # Conflict between --help and --header
18386
 
    { $as_echo "$as_me: error: ambiguous option: $1
18387
 
Try \`$0 --help' for more information." >&2
18388
 
   { (exit 1); exit 1; }; };;
 
15710
    as_fn_error "ambiguous option: \`$1'
 
15711
Try \`$0 --help' for more information.";;
18389
15712
  --help | --hel | -h )
18390
15713
    $as_echo "$ac_cs_usage"; exit ;;
18391
15714
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18393
15716
    ac_cs_silent=: ;;
18394
15717
 
18395
15718
  # This is an error.
18396
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
18397
 
Try \`$0 --help' for more information." >&2
18398
 
   { (exit 1); exit 1; }; } ;;
 
15719
  -*) as_fn_error "unrecognized option: \`$1'
 
15720
Try \`$0 --help' for more information." ;;
18399
15721
 
18400
 
  *) ac_config_targets="$ac_config_targets $1"
 
15722
  *) as_fn_append ac_config_targets " $1"
18401
15723
     ac_need_defaults=false ;;
18402
15724
 
18403
15725
  esac
18727
16049
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18728
16050
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
18729
16051
 
18730
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18731
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18732
 
   { (exit 1); exit 1; }; };;
 
16052
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18733
16053
  esac
18734
16054
done
18735
16055
 
18756
16076
  trap 'exit_status=$?
18757
16077
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18758
16078
' 0
18759
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
16079
  trap 'as_fn_exit 1' 1 2 13 15
18760
16080
}
18761
16081
# Create a (secure) tmp directory for tmp files.
18762
16082
 
18767
16087
{
18768
16088
  tmp=./conf$$-$RANDOM
18769
16089
  (umask 077 && mkdir "$tmp")
18770
 
} ||
18771
 
{
18772
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
18773
 
   { (exit 1); exit 1; }
18774
 
}
 
16090
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
18775
16091
 
18776
16092
# Set up the scripts for CONFIG_FILES section.
18777
16093
# No need to generate them if there are no CONFIG_FILES.
18779
16095
if test -n "$CONFIG_FILES"; then
18780
16096
 
18781
16097
 
18782
 
ac_cr='
 
 
b"'"
 
16098
ac_cr=`echo X | tr X '\015'`
 
16099
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
16100
# But we know of no other shell where ac_cr would be empty at this
 
16101
# point, so we can use a bashism as a fallback.
 
16102
if test "x$ac_cr" = x; then
 
16103
  eval ac_cr=\$\'\\r\'
 
16104
fi
18783
16105
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18784
16106
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18785
 
  ac_cs_awk_cr='\\r'
 
16107
  ac_cs_awk_cr='\r'
18786
16108
else
18787
16109
  ac_cs_awk_cr=$ac_cr
18788
16110
fi
18796
16118
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18797
16119
  echo "_ACEOF"
18798
16120
} >conf$$subs.sh ||
18799
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18800
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18801
 
   { (exit 1); exit 1; }; }
 
16121
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18802
16122
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18803
16123
ac_delim='%!_!# '
18804
16124
for ac_last_try in false false false false false :; do
18805
16125
  . ./conf$$subs.sh ||
18806
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18807
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18808
 
   { (exit 1); exit 1; }; }
 
16126
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18809
16127
 
18810
16128
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18811
16129
  if test $ac_delim_n = $ac_delim_num; then
18812
16130
    break
18813
16131
  elif $ac_last_try; then
18814
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18815
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18816
 
   { (exit 1); exit 1; }; }
 
16132
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18817
16133
  else
18818
16134
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18819
16135
  fi
18902
16218
else
18903
16219
  cat
18904
16220
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18905
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
18906
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
18907
 
   { (exit 1); exit 1; }; }
 
16221
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
18908
16222
_ACEOF
18909
16223
 
18910
16224
# VPATH may cause trouble with some makes, so we remove $(srcdir),
18945
16259
  if test -z "$ac_t"; then
18946
16260
    break
18947
16261
  elif $ac_last_try; then
18948
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
18949
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
18950
 
   { (exit 1); exit 1; }; }
 
16262
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
18951
16263
  else
18952
16264
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18953
16265
  fi
19032
16344
_ACAWK
19033
16345
_ACEOF
19034
16346
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19035
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
19036
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
19037
 
   { (exit 1); exit 1; }; }
 
16347
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
19038
16348
fi # test -n "$CONFIG_HEADERS"
19039
16349
 
19040
16350
 
19047
16357
  esac
19048
16358
  case $ac_mode$ac_tag in
19049
16359
  :[FHL]*:*);;
19050
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
19051
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
19052
 
   { (exit 1); exit 1; }; };;
 
16360
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
19053
16361
  :[FH]-) ac_tag=-:-;;
19054
16362
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19055
16363
  esac
19077
16385
           [\\/$]*) false;;
19078
16386
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19079
16387
           esac ||
19080
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19081
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19082
 
   { (exit 1); exit 1; }; };;
 
16388
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19083
16389
      esac
19084
16390
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19085
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
16391
      as_fn_append ac_file_inputs " '$ac_f'"
19086
16392
    done
19087
16393
 
19088
16394
    # Let's still pretend it is `configure' which instantiates (i.e., don't
19093
16399
        `' by configure.'
19094
16400
    if test x"$ac_file" != x-; then
19095
16401
      configure_input="$ac_file.  $configure_input"
19096
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
16402
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19097
16403
$as_echo "$as_me: creating $ac_file" >&6;}
19098
16404
    fi
19099
16405
    # Neutralize special characters interpreted by sed in replacement strings.
19106
16412
 
19107
16413
    case $ac_tag in
19108
16414
    *:-:* | *:-) cat >"$tmp/stdin" \
19109
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19110
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19111
 
   { (exit 1); exit 1; }; } ;;
 
16415
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
19112
16416
    esac
19113
16417
    ;;
19114
16418
  esac
19136
16440
            q
19137
16441
          }
19138
16442
          s/.*/./; q'`
19139
 
  { as_dir="$ac_dir"
19140
 
  case $as_dir in #(
19141
 
  -*) as_dir=./$as_dir;;
19142
 
  esac
19143
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19144
 
    as_dirs=
19145
 
    while :; do
19146
 
      case $as_dir in #(
19147
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19148
 
      *) as_qdir=$as_dir;;
19149
 
      esac
19150
 
      as_dirs="'$as_qdir' $as_dirs"
19151
 
      as_dir=`$as_dirname -- "$as_dir" ||
19152
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19153
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
19154
 
         X"$as_dir" : 'X\(//\)$' \| \
19155
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19156
 
$as_echo X"$as_dir" |
19157
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19158
 
            s//\1/
19159
 
            q
19160
 
          }
19161
 
          /^X\(\/\/\)[^/].*/{
19162
 
            s//\1/
19163
 
            q
19164
 
          }
19165
 
          /^X\(\/\/\)$/{
19166
 
            s//\1/
19167
 
            q
19168
 
          }
19169
 
          /^X\(\/\).*/{
19170
 
            s//\1/
19171
 
            q
19172
 
          }
19173
 
          s/.*/./; q'`
19174
 
      test -d "$as_dir" && break
19175
 
    done
19176
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
19177
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19178
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19179
 
   { (exit 1); exit 1; }; }; }
 
16443
  as_dir="$ac_dir"; as_fn_mkdir_p
19180
16444
  ac_builddir=.
19181
16445
 
19182
16446
case "$ac_dir" in
19233
16497
# If the template does not know about datarootdir, expand it.
19234
16498
# FIXME: This hack should be removed a few years after 2.60.
19235
16499
ac_datarootdir_hack=; ac_datarootdir_seen=
19236
 
 
19237
16500
ac_sed_dataroot='
19238
16501
/datarootdir/ {
19239
16502
  p
19243
16506
/@docdir@/p
19244
16507
/@infodir@/p
19245
16508
/@localedir@/p
19246
 
/@mandir@/p
19247
 
'
 
16509
/@mandir@/p'
19248
16510
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19249
16511
*datarootdir*) ac_datarootdir_seen=yes;;
19250
16512
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19251
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
16513
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19252
16514
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19253
16515
_ACEOF
19254
16516
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19258
16520
  s&@infodir@&$infodir&g
19259
16521
  s&@localedir@&$localedir&g
19260
16522
  s&@mandir@&$mandir&g
19261
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
16523
  s&\\\${datarootdir}&$datarootdir&g' ;;
19262
16524
esac
19263
16525
_ACEOF
19264
16526
 
19287
16549
$ac_datarootdir_hack
19288
16550
"
19289
16551
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
19290
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19291
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19292
 
   { (exit 1); exit 1; }; }
 
16552
  || as_fn_error "could not create $ac_file" "$LINENO" 5
19293
16553
 
19294
16554
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19295
16555
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
19296
16556
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
19297
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
16557
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19298
16558
which seems to be undefined.  Please make sure it is defined." >&5
19299
16559
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19300
16560
which seems to be undefined.  Please make sure it is defined." >&2;}
19304
16564
  -) cat "$tmp/out" && rm -f "$tmp/out";;
19305
16565
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19306
16566
  esac \
19307
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19308
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19309
 
   { (exit 1); exit 1; }; }
 
16567
  || as_fn_error "could not create $ac_file" "$LINENO" 5
19310
16568
 ;;
19311
16569
  :H)
19312
16570
  #
19317
16575
      $as_echo "/* $configure_input  */" \
19318
16576
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19319
16577
    } >"$tmp/config.h" \
19320
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19321
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19322
 
   { (exit 1); exit 1; }; }
 
16578
      || as_fn_error "could not create $ac_file" "$LINENO" 5
19323
16579
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19324
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
16580
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19325
16581
$as_echo "$as_me: $ac_file is unchanged" >&6;}
19326
16582
    else
19327
16583
      rm -f "$ac_file"
19328
16584
      mv "$tmp/config.h" "$ac_file" \
19329
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19330
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19331
 
   { (exit 1); exit 1; }; }
 
16585
        || as_fn_error "could not create $ac_file" "$LINENO" 5
19332
16586
    fi
19333
16587
  else
19334
16588
    $as_echo "/* $configure_input  */" \
19335
16589
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19336
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19337
 
$as_echo "$as_me: error: could not create -" >&2;}
19338
 
   { (exit 1); exit 1; }; }
 
16590
      || as_fn_error "could not create -" "$LINENO" 5
19339
16591
  fi
19340
16592
# Compute "$ac_file"'s index in $config_headers.
19341
16593
_am_arg="$ac_file"
19373
16625
          s/.*/./; q'`/stamp-h$_am_stamp_count
19374
16626
 ;;
19375
16627
 
19376
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
16628
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19377
16629
$as_echo "$as_me: executing $ac_file commands" >&6;}
19378
16630
 ;;
19379
16631
  esac
19468
16720
            q
19469
16721
          }
19470
16722
          s/.*/./; q'`
19471
 
      { as_dir=$dirpart/$fdir
19472
 
  case $as_dir in #(
19473
 
  -*) as_dir=./$as_dir;;
19474
 
  esac
19475
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19476
 
    as_dirs=
19477
 
    while :; do
19478
 
      case $as_dir in #(
19479
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19480
 
      *) as_qdir=$as_dir;;
19481
 
      esac
19482
 
      as_dirs="'$as_qdir' $as_dirs"
19483
 
      as_dir=`$as_dirname -- "$as_dir" ||
19484
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19485
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
19486
 
         X"$as_dir" : 'X\(//\)$' \| \
19487
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19488
 
$as_echo X"$as_dir" |
19489
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19490
 
            s//\1/
19491
 
            q
19492
 
          }
19493
 
          /^X\(\/\/\)[^/].*/{
19494
 
            s//\1/
19495
 
            q
19496
 
          }
19497
 
          /^X\(\/\/\)$/{
19498
 
            s//\1/
19499
 
            q
19500
 
          }
19501
 
          /^X\(\/\).*/{
19502
 
            s//\1/
19503
 
            q
19504
 
          }
19505
 
          s/.*/./; q'`
19506
 
      test -d "$as_dir" && break
19507
 
    done
19508
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
19509
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19510
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19511
 
   { (exit 1); exit 1; }; }; }
 
16723
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
19512
16724
      # echo "creating $dirpart/$file"
19513
16725
      echo '# dummy' > "$dirpart/$file"
19514
16726
    done
20155
17367
      esac ;;
20156
17368
    "po/stamp-it":C)
20157
17369
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
20158
 
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
20159
 
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
20160
 
   { (exit 1); exit 1; }; }
 
17370
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
20161
17371
    fi
20162
17372
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
20163
17373
    >"po/stamp-it.tmp"
20180
17390
done # for ac_tag
20181
17391
 
20182
17392
 
20183
 
{ (exit 0); exit 0; }
 
17393
as_fn_exit 0
20184
17394
_ACEOF
20185
 
chmod +x $CONFIG_STATUS
20186
17395
ac_clean_files=$ac_clean_files_save
20187
17396
 
20188
17397
test $ac_write_fail = 0 ||
20189
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
20190
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
20191
 
   { (exit 1); exit 1; }; }
 
17398
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
20192
17399
 
20193
17400
 
20194
17401
# configure is writing to config.log, and then calls config.status.
20209
17416
  exec 5>>config.log
20210
17417
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20211
17418
  # would make configure fail if this is the last instruction.
20212
 
  $ac_cs_success || { (exit 1); exit 1; }
 
17419
  $ac_cs_success || as_fn_exit $?
20213
17420
fi
20214
17421
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20215
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
17422
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20216
17423
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20217
17424
fi
20218
17425