~timchen119/ubuntu/trusty/gnome-bluetooth/lp1035431

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2011-02-27 15:45:22 UTC
  • mfrom: (1.3.2 upstream)
  • mto: (2.2.3 experimental) (1.5.1)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: james.westby@ubuntu.com-20110227154522-dnnoqasv5v3mv42a
Tags: upstream-2.91.5
ImportĀ upstreamĀ versionĀ 2.91.5

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 gnome-bluetooth 2.29.3.
 
3
# Generated by GNU Autoconf 2.66 for gnome-bluetooth 2.91.5.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-bluetooth>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
case $0 in #((
100
95
  *[\\/]* ) as_myself=$0 ;;
101
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
97
for as_dir in $PATH
103
98
do
104
99
  IFS=$as_save_IFS
105
100
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
108
103
IFS=$as_save_IFS
109
104
 
110
105
     ;;
116
111
fi
117
112
if test ! -f "$as_myself"; then
118
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
114
  exit 1
120
115
fi
121
116
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
124
done
126
125
PS1='$ '
127
126
PS2='> '
133
132
LANGUAGE=C
134
133
export LANGUAGE
135
134
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
135
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
137
 
175
138
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
 
 
177
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
178
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
179
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    PATH=/empty FPATH=/empty; export PATH FPATH
 
182
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
183
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 
184
test \$(( 1 + 1 )) = 2 || exit 1"
 
185
  if (eval "$as_required") 2>/dev/null; then :
177
186
  as_have_required=yes
178
187
else
179
188
  as_have_required=no
180
189
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
 
190
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
191
 
 
192
else
 
193
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
194
as_found=false
243
195
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
196
do
245
197
  IFS=$as_save_IFS
246
198
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
199
  as_found=:
 
200
  case $as_dir in #(
248
201
         /*)
249
202
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
203
             # Try only shells that exist, to save several forks.
 
204
             as_shell=$as_dir/$as_base
 
205
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
206
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
207
  CONFIG_SHELL=$as_shell as_have_required=yes
 
208
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
209
  break 2
 
210
fi
 
211
fi
251
212
           done;;
252
213
       esac
 
214
  as_found=false
253
215
done
 
216
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
217
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
218
  CONFIG_SHELL=$SHELL as_have_required=yes
 
219
fi; }
254
220
IFS=$as_save_IFS
255
221
 
256
222
 
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
 
223
      if test "x$CONFIG_SHELL" != x; then :
 
224
  # We cannot yet assume a decent shell, so we have to provide a
 
225
        # neutralization value for shells without unset; and this also
 
226
        # works around shells that cannot unset nonexistent variables.
 
227
        BASH_ENV=/dev/null
 
228
        ENV=/dev/null
 
229
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
230
        export CONFIG_SHELL
368
231
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
232
fi
370
233
 
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.  :-)
 
234
    if test x$as_have_required = xno; then :
 
235
  $as_echo "$0: This script requires a shell more modern than all"
 
236
  $as_echo "$0: the shells that I found on your system."
 
237
  if test x${ZSH_VERSION+set} = xset ; then
 
238
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
239
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
240
  else
 
241
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
242
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-bluetooth
 
243
$0: about your system, including any error possibly output
 
244
$0: before this message. Then install a modern shell, or
 
245
$0: manually run the script under such a shell if you do
 
246
$0: have one."
 
247
  fi
 
248
  exit 1
 
249
fi
 
250
fi
 
251
fi
 
252
SHELL=${CONFIG_SHELL-/bin/sh}
 
253
export SHELL
 
254
# Unset more variables known to interfere with behavior of common tools.
 
255
CLICOLOR_FORCE= GREP_OPTIONS=
 
256
unset CLICOLOR_FORCE GREP_OPTIONS
 
257
 
 
258
## --------------------- ##
 
259
## M4sh Shell Functions. ##
 
260
## --------------------- ##
 
261
# as_fn_unset VAR
 
262
# ---------------
 
263
# Portably unset VAR.
 
264
as_fn_unset ()
 
265
{
 
266
  { eval $1=; unset $1;}
 
267
}
 
268
as_unset=as_fn_unset
 
269
 
 
270
# as_fn_set_status STATUS
 
271
# -----------------------
 
272
# Set $? to STATUS, without forking.
 
273
as_fn_set_status ()
 
274
{
 
275
  return $1
 
276
} # as_fn_set_status
 
277
 
 
278
# as_fn_exit STATUS
 
279
# -----------------
 
280
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
281
as_fn_exit ()
 
282
{
 
283
  set +e
 
284
  as_fn_set_status $1
 
285
  exit $1
 
286
} # as_fn_exit
 
287
 
 
288
# as_fn_mkdir_p
 
289
# -------------
 
290
# Create "$as_dir" as a directory, including parents if necessary.
 
291
as_fn_mkdir_p ()
 
292
{
 
293
 
 
294
  case $as_dir in #(
 
295
  -*) as_dir=./$as_dir;;
 
296
  esac
 
297
  test -d "$as_dir" || eval $as_mkdir_p || {
 
298
    as_dirs=
 
299
    while :; do
 
300
      case $as_dir in #(
 
301
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
302
      *) as_qdir=$as_dir;;
 
303
      esac
 
304
      as_dirs="'$as_qdir' $as_dirs"
 
305
      as_dir=`$as_dirname -- "$as_dir" ||
 
306
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
307
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
308
         X"$as_dir" : 'X\(//\)$' \| \
 
309
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
310
$as_echo X"$as_dir" |
 
311
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          /^X\(\/\/\)[^/].*/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          /^X\(\/\/\)$/{
 
320
            s//\1/
 
321
            q
 
322
          }
 
323
          /^X\(\/\).*/{
 
324
            s//\1/
 
325
            q
 
326
          }
 
327
          s/.*/./; q'`
 
328
      test -d "$as_dir" && break
 
329
    done
 
330
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
331
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
332
 
 
333
 
 
334
} # as_fn_mkdir_p
 
335
# as_fn_append VAR VALUE
 
336
# ----------------------
 
337
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
338
# advantage of any shell optimizations that allow amortized linear growth over
 
339
# repeated appends, instead of the typical quadratic growth present in naive
 
340
# implementations.
 
341
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
342
  eval 'as_fn_append ()
 
343
  {
 
344
    eval $1+=\$2
 
345
  }'
 
346
else
 
347
  as_fn_append ()
 
348
  {
 
349
    eval $1=\$$1\$2
 
350
  }
 
351
fi # as_fn_append
 
352
 
 
353
# as_fn_arith ARG...
 
354
# ------------------
 
355
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
356
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
357
# must be portable across $(()) and expr.
 
358
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
359
  eval 'as_fn_arith ()
 
360
  {
 
361
    as_val=$(( $* ))
 
362
  }'
 
363
else
 
364
  as_fn_arith ()
 
365
  {
 
366
    as_val=`expr "$@" || test $? -eq 1`
 
367
  }
 
368
fi # as_fn_arith
 
369
 
 
370
 
 
371
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
372
# ----------------------------------------
 
373
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
374
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
375
# script with STATUS, using 1 if that was 0.
 
376
as_fn_error ()
 
377
{
 
378
  as_status=$1; test $as_status -eq 0 && as_status=1
 
379
  if test "$4"; then
 
380
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
381
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
382
  fi
 
383
  $as_echo "$as_me: error: $2" >&2
 
384
  as_fn_exit $as_status
 
385
} # as_fn_error
 
386
 
 
387
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
388
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
389
  as_expr=expr
 
390
else
 
391
  as_expr=false
 
392
fi
 
393
 
 
394
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
395
  as_basename=basename
 
396
else
 
397
  as_basename=false
 
398
fi
 
399
 
 
400
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
401
  as_dirname=dirname
 
402
else
 
403
  as_dirname=false
 
404
fi
 
405
 
 
406
as_me=`$as_basename -- "$0" ||
 
407
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
408
         X"$0" : 'X\(//\)$' \| \
 
409
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
410
$as_echo X/"$0" |
 
411
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
412
            s//\1/
 
413
            q
 
414
          }
 
415
          /^X\/\(\/\/\)$/{
 
416
            s//\1/
 
417
            q
 
418
          }
 
419
          /^X\/\(\/\).*/{
 
420
            s//\1/
 
421
            q
 
422
          }
 
423
          s/.*/./; q'`
 
424
 
 
425
# Avoid depending upon Character Ranges.
 
426
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
427
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
428
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
429
as_cr_digits='0123456789'
 
430
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
431
 
 
432
 
 
433
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
434
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
435
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
436
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
437
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
438
  sed -n '
461
439
    p
462
440
    /[$]LINENO/=
473
451
      s/-\n.*//
474
452
    ' >$as_me.lineno &&
475
453
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
454
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
455
 
479
456
  # Don't try to exec as it changes $[0], causing all sort of problems
480
457
  # (the dirname of $[0] is not the place where we might find the
484
461
  exit
485
462
}
486
463
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
464
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
465
case `echo -n x` in #(((((
496
466
-n*)
497
 
  case `echo 'x\c'` in
 
467
  case `echo 'xy\c'` in
498
468
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
469
  xy)  ECHO_C='\c';;
 
470
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
471
       ECHO_T=' ';;
500
472
  esac;;
501
473
*)
502
474
  ECHO_N='-n';;
503
475
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
476
 
511
477
rm -f conf$$ conf$$.exe conf$$.file
512
478
if test -d conf$$.dir; then
536
502
rmdir conf$$.dir 2>/dev/null
537
503
 
538
504
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
505
  as_mkdir_p='mkdir -p "$as_dir"'
540
506
else
541
507
  test -d ./-p && rmdir ./-p
542
508
  as_mkdir_p=false
555
521
      if test -d "$1"; then
556
522
        test -d "$1/.";
557
523
      else
558
 
        case $1 in
 
524
        case $1 in #(
559
525
        -*)set "./$1";;
560
526
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
527
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
528
        ???[sx]*):;;*)false;;esac;fi
563
529
    '\'' sh
564
530
  '
571
537
# Sed expression to map a string onto a valid variable name.
572
538
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
539
 
574
 
 
575
 
 
576
 
 
577
 
# Check that we are running under the correct shell.
578
540
SHELL=${CONFIG_SHELL-/bin/sh}
579
541
 
580
 
case X$lt_ECHO in
581
 
X*--fallback-echo)
582
 
  # Remove one level of quotation (which was required for Make).
583
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584
 
  ;;
585
 
esac
586
 
 
587
 
ECHO=${lt_ECHO-echo}
588
 
if test "X$1" = X--no-reexec; then
589
 
  # Discard the --no-reexec flag, and continue.
590
 
  shift
591
 
elif test "X$1" = X--fallback-echo; then
592
 
  # Avoid inline document here, it may be left over
593
 
  :
594
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595
 
  # Yippee, $ECHO works!
596
 
  :
597
 
else
598
 
  # Restart under the correct shell.
599
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
600
 
fi
601
 
 
602
 
if test "X$1" = X--fallback-echo; then
603
 
  # used as fallback echo
604
 
  shift
605
 
  cat <<_LT_EOF
606
 
$*
607
 
_LT_EOF
608
 
  exit 0
609
 
fi
610
 
 
611
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
612
 
# if CDPATH is set.
613
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
 
 
615
 
if test -z "$lt_ECHO"; then
616
 
  if test "X${echo_test_string+set}" != Xset; then
617
 
    # find a string as large as possible, as long as the shell can cope with it
618
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
622
 
      then
623
 
        break
624
 
      fi
625
 
    done
626
 
  fi
627
 
 
628
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
631
 
    :
632
 
  else
633
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
634
 
    # backslashes.  This makes it impossible to quote backslashes using
635
 
    #   echo "$something" | sed 's/\\/\\\\/g'
636
 
    #
637
 
    # So, first we look for a working echo in the user's PATH.
638
 
 
639
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640
 
    for dir in $PATH /usr/ucb; do
641
 
      IFS="$lt_save_ifs"
642
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
646
 
        ECHO="$dir/echo"
647
 
        break
648
 
      fi
649
 
    done
650
 
    IFS="$lt_save_ifs"
651
 
 
652
 
    if test "X$ECHO" = Xecho; then
653
 
      # We didn't find a better echo, so look for alternatives.
654
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
657
 
        # This shell has a builtin print -r that does the trick.
658
 
        ECHO='print -r'
659
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
661
 
        # If we have ksh, try running configure again with it.
662
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663
 
        export ORIGINAL_CONFIG_SHELL
664
 
        CONFIG_SHELL=/bin/ksh
665
 
        export CONFIG_SHELL
666
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
667
 
      else
668
 
        # Try using printf.
669
 
        ECHO='printf %s\n'
670
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
673
 
          # Cool, printf works
674
 
          :
675
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676
 
             test "X$echo_testing_string" = 'X\t' &&
677
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
679
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
680
 
          export CONFIG_SHELL
681
 
          SHELL="$CONFIG_SHELL"
682
 
          export SHELL
683
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
684
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685
 
             test "X$echo_testing_string" = 'X\t' &&
686
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
688
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
689
 
        else
690
 
          # maybe with a smaller string...
691
 
          prev=:
692
 
 
693
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
695
 
            then
696
 
              break
697
 
            fi
698
 
            prev="$cmd"
699
 
          done
700
 
 
701
 
          if test "$prev" != 'sed 50q "$0"'; then
702
 
            echo_test_string=`eval $prev`
703
 
            export echo_test_string
704
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
705
 
          else
706
 
            # Oops.  We lost completely, so just stick with echo.
707
 
            ECHO=echo
708
 
          fi
709
 
        fi
710
 
      fi
711
 
    fi
712
 
  fi
713
 
fi
714
 
 
715
 
# Copy echo and quote the copy suitably for passing to libtool from
716
 
# the Makefile, instead of quoting the original, which is used later.
717
 
lt_ECHO=$ECHO
718
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
720
 
fi
721
 
 
722
 
 
723
 
 
724
 
 
725
 
exec 7<&0 </dev/null 6>&1
 
542
 
 
543
test -n "$DJDIR" || exec 7<&0 </dev/null
 
544
exec 6>&1
726
545
 
727
546
# Name of the host.
728
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
547
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
729
548
# so uname gets run too.
730
549
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
731
550
 
740
559
subdirs=
741
560
MFLAGS=
742
561
MAKEFLAGS=
743
 
SHELL=${CONFIG_SHELL-/bin/sh}
744
562
 
745
563
# Identity of this package.
746
564
PACKAGE_NAME='gnome-bluetooth'
747
565
PACKAGE_TARNAME='gnome-bluetooth'
748
 
PACKAGE_VERSION='2.29.3'
749
 
PACKAGE_STRING='gnome-bluetooth 2.29.3'
 
566
PACKAGE_VERSION='2.91.5'
 
567
PACKAGE_STRING='gnome-bluetooth 2.91.5'
750
568
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-bluetooth'
 
569
PACKAGE_URL=''
751
570
 
752
571
ac_unique_file="applet/main.c"
753
572
# Factoring default headers for most tests.
786
605
# include <unistd.h>
787
606
#endif"
788
607
 
 
608
gt_needs=
789
609
ac_subst_vars='am__EXEEXT_FALSE
790
610
am__EXEEXT_TRUE
791
611
LTLIBOBJS
804
624
ACLOCAL_AMFLAGS
805
625
HAVE_INTROSPECTION_FALSE
806
626
HAVE_INTROSPECTION_TRUE
 
627
INTROSPECTION_MAKEFILE
 
628
INTROSPECTION_LIBS
 
629
INTROSPECTION_CFLAGS
807
630
INTROSPECTION_TYPELIBDIR
808
631
INTROSPECTION_GIRDIR
809
632
INTROSPECTION_GENERATE
813
636
DBUS_BINDING_TOOL
814
637
WITH_MOBLIN_FALSE
815
638
WITH_MOBLIN_TRUE
 
639
LIBEXECDIR
 
640
PANEL_DIR
 
641
THEME_DIR
816
642
MOBLIN_LIBS
817
643
MOBLIN_CFLAGS
818
644
PLUGINS_LIBS
837
663
APPLET_CFLAGS
838
664
PROPS_LIBS
839
665
PROPS_CFLAGS
 
666
PANELS_DIR
840
667
ICON_UPDATE_FALSE
841
668
ICON_UPDATE_TRUE
842
669
UPDATE_ICON_CACHE
843
670
DESKTOP_UPDATE_FALSE
844
671
DESKTOP_UPDATE_TRUE
845
672
UPDATE_DESKTOP_DATABASE
 
673
GTK_DOC_USE_REBASE_FALSE
 
674
GTK_DOC_USE_REBASE_TRUE
846
675
GTK_DOC_USE_LIBTOOL_FALSE
847
676
GTK_DOC_USE_LIBTOOL_TRUE
 
677
GTK_DOC_BUILD_PDF_FALSE
 
678
GTK_DOC_BUILD_PDF_TRUE
 
679
GTK_DOC_BUILD_HTML_FALSE
 
680
GTK_DOC_BUILD_HTML_TRUE
848
681
ENABLE_GTK_DOC_FALSE
849
682
ENABLE_GTK_DOC_TRUE
 
683
HTML_DIR
 
684
GTKDOC_MKPDF
 
685
GTKDOC_REBASE
850
686
GTKDOC_CHECK
851
 
PKG_CONFIG
852
 
HTML_DIR
853
 
GCONF_SCHEMAS_INSTALL_FALSE
854
 
GCONF_SCHEMAS_INSTALL_TRUE
855
 
GCONF_SCHEMA_FILE_DIR
856
 
GCONF_SCHEMA_CONFIG_SOURCE
857
 
GCONFTOOL
858
687
XMLLINT
 
688
GSETTINGS_RULES
 
689
GLIB_COMPILE_SCHEMAS
 
690
gsettingsschemadir
 
691
PKG_CONFIG_LIBDIR
 
692
PKG_CONFIG_PATH
 
693
PKG_CONFIG
 
694
GSETTINGS_DISABLE_SCHEMAS_COMPILE
 
695
GETTEXT_PACKAGE
 
696
POSUB
 
697
LTLIBINTL
 
698
LIBINTL
 
699
INTLLIBS
 
700
LTLIBICONV
 
701
LIBICONV
 
702
INTL_MACOSX_LIBS
 
703
XGETTEXT_EXTRA_OPTIONS
 
704
XGETTEXT_015
 
705
GMSGFMT_015
 
706
MSGFMT_015
 
707
GETTEXT_MACRO_VERSION
 
708
DATADIRNAME
859
709
ALL_LINGUAS
860
710
INTLTOOL_PERL
 
711
GMSGFMT
 
712
MSGFMT
861
713
MSGMERGE
 
714
XGETTEXT
862
715
INTLTOOL_POLICY_RULE
863
716
INTLTOOL_SERVICE_RULE
864
717
INTLTOOL_THEME_RULE
881
734
INTLTOOL_EXTRACT
882
735
INTLTOOL_MERGE
883
736
INTLTOOL_UPDATE
884
 
MKINSTALLDIRS
885
 
POSUB
886
 
POFILES
887
 
PO_IN_DATADIR_FALSE
888
 
PO_IN_DATADIR_TRUE
889
 
INTLLIBS
890
 
INSTOBJEXT
891
 
GMOFILES
892
 
DATADIRNAME
893
 
CATOBJEXT
894
 
CATALOGS
895
 
XGETTEXT
896
 
GMSGFMT
897
 
MSGFMT_OPTS
898
 
MSGFMT
899
737
USE_NLS
900
 
GETTEXT_PACKAGE
901
738
CPP
902
739
OTOOL64
903
740
OTOOL
904
741
LIPO
905
742
NMEDIT
906
743
DSYMUTIL
907
 
lt_ECHO
908
744
RANLIB
909
745
AR
910
746
OBJDUMP
1001
837
program_transform_name
1002
838
prefix
1003
839
exec_prefix
 
840
PACKAGE_URL
1004
841
PACKAGE_BUGREPORT
1005
842
PACKAGE_STRING
1006
843
PACKAGE_VERSION
1021
858
with_gnu_ld
1022
859
enable_libtool_lock
1023
860
enable_nls
1024
 
with_gconf_source
1025
 
with_gconf_schema_file_dir
1026
 
enable_schemas_install
 
861
enable_rpath
 
862
with_libiconv_prefix
 
863
with_libintl_prefix
 
864
enable_schemas_compile
1027
865
with_html_dir
1028
866
enable_gtk_doc
 
867
enable_gtk_doc_html
 
868
enable_gtk_doc_pdf
1029
869
enable_desktop_update
1030
870
enable_icon_update
1031
871
enable_nautilus_sendto
1051
891
CPPFLAGS
1052
892
CPP
1053
893
PKG_CONFIG
 
894
PKG_CONFIG_PATH
 
895
PKG_CONFIG_LIBDIR
1054
896
PROPS_CFLAGS
1055
897
PROPS_LIBS
1056
898
APPLET_CFLAGS
1181
1023
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1182
1024
    # Reject names that are not valid shell variable names.
1183
1025
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1185
 
   { (exit 1); exit 1; }; }
 
1026
      as_fn_error $? "invalid feature name: $ac_useropt"
1186
1027
    ac_useropt_orig=$ac_useropt
1187
1028
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188
1029
    case $ac_user_opts in
1208
1049
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1209
1050
    # Reject names that are not valid shell variable names.
1210
1051
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1211
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1212
 
   { (exit 1); exit 1; }; }
 
1052
      as_fn_error $? "invalid feature name: $ac_useropt"
1213
1053
    ac_useropt_orig=$ac_useropt
1214
1054
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1215
1055
    case $ac_user_opts in
1413
1253
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1414
1254
    # Reject names that are not valid shell variable names.
1415
1255
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1416
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1417
 
   { (exit 1); exit 1; }; }
 
1256
      as_fn_error $? "invalid package name: $ac_useropt"
1418
1257
    ac_useropt_orig=$ac_useropt
1419
1258
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1420
1259
    case $ac_user_opts in
1430
1269
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1431
1270
    # Reject names that are not valid shell variable names.
1432
1271
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1433
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1434
 
   { (exit 1); exit 1; }; }
 
1272
      as_fn_error $? "invalid package name: $ac_useropt"
1435
1273
    ac_useropt_orig=$ac_useropt
1436
1274
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1437
1275
    case $ac_user_opts in
1461
1299
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1462
1300
    x_libraries=$ac_optarg ;;
1463
1301
 
1464
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1465
 
Try \`$0 --help' for more information." >&2
1466
 
   { (exit 1); exit 1; }; }
 
1302
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1303
Try \`$0 --help' for more information"
1467
1304
    ;;
1468
1305
 
1469
1306
  *=*)
1470
1307
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1471
1308
    # Reject names that are not valid shell variable names.
1472
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1473
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1474
 
   { (exit 1); exit 1; }; }
 
1309
    case $ac_envvar in #(
 
1310
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1311
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1312
    esac
1475
1313
    eval $ac_envvar=\$ac_optarg
1476
1314
    export $ac_envvar ;;
1477
1315
 
1488
1326
 
1489
1327
if test -n "$ac_prev"; then
1490
1328
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1491
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1492
 
   { (exit 1); exit 1; }; }
 
1329
  as_fn_error $? "missing argument to $ac_option"
1493
1330
fi
1494
1331
 
1495
1332
if test -n "$ac_unrecognized_opts"; then
1496
1333
  case $enable_option_checking in
1497
1334
    no) ;;
1498
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1499
 
   { (exit 1); exit 1; }; } ;;
 
1335
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1500
1336
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1501
1337
  esac
1502
1338
fi
1519
1355
    [\\/$]* | ?:[\\/]* )  continue;;
1520
1356
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1521
1357
  esac
1522
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1523
 
   { (exit 1); exit 1; }; }
 
1358
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1524
1359
done
1525
1360
 
1526
1361
# There might be people who depend on the old broken behavior: `$host'
1534
1369
if test "x$host_alias" != x; then
1535
1370
  if test "x$build_alias" = x; then
1536
1371
    cross_compiling=maybe
1537
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1538
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1372
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1373
    If a cross compiler is detected then cross compile mode will be used" >&2
1539
1374
  elif test "x$build_alias" != "x$host_alias"; then
1540
1375
    cross_compiling=yes
1541
1376
  fi
1550
1385
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1551
1386
ac_ls_di=`ls -di .` &&
1552
1387
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1553
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1554
 
   { (exit 1); exit 1; }; }
 
1388
  as_fn_error $? "working directory cannot be determined"
1555
1389
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1556
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1557
 
   { (exit 1); exit 1; }; }
 
1390
  as_fn_error $? "pwd does not report name of working directory"
1558
1391
 
1559
1392
 
1560
1393
# Find the source files, if location was not specified.
1593
1426
fi
1594
1427
if test ! -r "$srcdir/$ac_unique_file"; then
1595
1428
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1596
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1597
 
   { (exit 1); exit 1; }; }
 
1429
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1598
1430
fi
1599
1431
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1600
1432
ac_abs_confdir=`(
1601
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1602
 
   { (exit 1); exit 1; }; }
 
1433
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1603
1434
        pwd)`
1604
1435
# When building in place, set srcdir=.
1605
1436
if test "$ac_abs_confdir" = "$ac_pwd"; then
1625
1456
  # Omit some internal or obsolete options to make the list less imposing.
1626
1457
  # This message is too long to be a string in the A/UX 3.1 sh.
1627
1458
  cat <<_ACEOF
1628
 
\`configure' configures gnome-bluetooth 2.29.3 to adapt to many kinds of systems.
 
1459
\`configure' configures gnome-bluetooth 2.91.5 to adapt to many kinds of systems.
1629
1460
 
1630
1461
Usage: $0 [OPTION]... [VAR=VALUE]...
1631
1462
 
1639
1470
      --help=short        display options specific to this package
1640
1471
      --help=recursive    display the short help of all the included packages
1641
1472
  -V, --version           display version information and exit
1642
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1473
  -q, --quiet, --silent   do not print \`checking ...' messages
1643
1474
      --cache-file=FILE   cache test results in FILE [disabled]
1644
1475
  -C, --config-cache      alias for \`--cache-file=config.cache'
1645
1476
  -n, --no-create         do not create output files
1695
1526
 
1696
1527
if test -n "$ac_init_help"; then
1697
1528
  case $ac_init_help in
1698
 
     short | recursive ) echo "Configuration of gnome-bluetooth 2.29.3:";;
 
1529
     short | recursive ) echo "Configuration of gnome-bluetooth 2.91.5:";;
1699
1530
   esac
1700
1531
  cat <<\_ACEOF
1701
1532
 
1715
1546
                          optimize for fast installation [default=yes]
1716
1547
  --disable-libtool-lock  avoid locking (might break parallel builds)
1717
1548
  --disable-nls           do not use Native Language Support
1718
 
  --disable-schemas-install
1719
 
                          Disable the schemas installation
1720
 
  --enable-gtk-doc        use gtk-doc to build documentation [default=no]
 
1549
  --disable-rpath         do not hardcode runtime library paths
 
1550
  --disable-schemas-compile
 
1551
                          Disable regeneration of gschemas.compiled on install
 
1552
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
 
1553
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
 
1554
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1721
1555
  --disable-desktop-update
1722
1556
                          Disable desktop database update
1723
1557
  --disable-icon-update   Disable icon cache update
1743
1577
  --with-pic              try to use only PIC/non-PIC objects [default=use
1744
1578
                          both]
1745
1579
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1746
 
  --with-gconf-source=sourceaddress
1747
 
                          Config database for installing schema files.
1748
 
  --with-gconf-schema-file-dir=dir
1749
 
                          Directory for installing schema files.
 
1580
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 
1581
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 
1582
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 
1583
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
 
1584
  --without-libintl-prefix     don't search for libintl in includedir and libdir
1750
1585
  --with-html-dir=PATH    path to installed docs
1751
1586
  --with-help-dir=DIR     path to help docs
1752
1587
  --with-omf-dir=DIR      path to OMF files
1759
1594
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1760
1595
              nonstandard directory <lib dir>
1761
1596
  LIBS        libraries to pass to the linker, e.g. -l<library>
1762
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1597
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1763
1598
              you have headers in a nonstandard directory <include dir>
1764
1599
  CPP         C preprocessor
1765
1600
  PKG_CONFIG  path to pkg-config utility
 
1601
  PKG_CONFIG_PATH
 
1602
              directories to add to pkg-config's search path
 
1603
  PKG_CONFIG_LIBDIR
 
1604
              path overriding pkg-config's built-in search path
1766
1605
  PROPS_CFLAGS
1767
1606
              C compiler flags for PROPS, overriding pkg-config
1768
1607
  PROPS_LIBS  linker flags for PROPS, overriding pkg-config
1865
1704
test -n "$ac_init_help" && exit $ac_status
1866
1705
if $ac_init_version; then
1867
1706
  cat <<\_ACEOF
1868
 
gnome-bluetooth configure 2.29.3
1869
 
generated by GNU Autoconf 2.63
 
1707
gnome-bluetooth configure 2.91.5
 
1708
generated by GNU Autoconf 2.66
1870
1709
 
1871
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1872
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1710
Copyright (C) 2010 Free Software Foundation, Inc.
1873
1711
This configure script is free software; the Free Software Foundation
1874
1712
gives unlimited permission to copy, distribute and modify it.
1875
1713
_ACEOF
1876
1714
  exit
1877
1715
fi
 
1716
 
 
1717
## ------------------------ ##
 
1718
## Autoconf initialization. ##
 
1719
## ------------------------ ##
 
1720
 
 
1721
# ac_fn_c_try_compile LINENO
 
1722
# --------------------------
 
1723
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1724
ac_fn_c_try_compile ()
 
1725
{
 
1726
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1727
  rm -f conftest.$ac_objext
 
1728
  if { { ac_try="$ac_compile"
 
1729
case "(($ac_try" in
 
1730
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1731
  *) ac_try_echo=$ac_try;;
 
1732
esac
 
1733
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1734
$as_echo "$ac_try_echo"; } >&5
 
1735
  (eval "$ac_compile") 2>conftest.err
 
1736
  ac_status=$?
 
1737
  if test -s conftest.err; then
 
1738
    grep -v '^ *+' conftest.err >conftest.er1
 
1739
    cat conftest.er1 >&5
 
1740
    mv -f conftest.er1 conftest.err
 
1741
  fi
 
1742
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1743
  test $ac_status = 0; } && {
 
1744
         test -z "$ac_c_werror_flag" ||
 
1745
         test ! -s conftest.err
 
1746
       } && test -s conftest.$ac_objext; then :
 
1747
  ac_retval=0
 
1748
else
 
1749
  $as_echo "$as_me: failed program was:" >&5
 
1750
sed 's/^/| /' conftest.$ac_ext >&5
 
1751
 
 
1752
        ac_retval=1
 
1753
fi
 
1754
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1755
  as_fn_set_status $ac_retval
 
1756
 
 
1757
} # ac_fn_c_try_compile
 
1758
 
 
1759
# ac_fn_c_try_link LINENO
 
1760
# -----------------------
 
1761
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1762
ac_fn_c_try_link ()
 
1763
{
 
1764
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1765
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1766
  if { { ac_try="$ac_link"
 
1767
case "(($ac_try" in
 
1768
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1769
  *) ac_try_echo=$ac_try;;
 
1770
esac
 
1771
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1772
$as_echo "$ac_try_echo"; } >&5
 
1773
  (eval "$ac_link") 2>conftest.err
 
1774
  ac_status=$?
 
1775
  if test -s conftest.err; then
 
1776
    grep -v '^ *+' conftest.err >conftest.er1
 
1777
    cat conftest.er1 >&5
 
1778
    mv -f conftest.er1 conftest.err
 
1779
  fi
 
1780
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1781
  test $ac_status = 0; } && {
 
1782
         test -z "$ac_c_werror_flag" ||
 
1783
         test ! -s conftest.err
 
1784
       } && test -s conftest$ac_exeext && {
 
1785
         test "$cross_compiling" = yes ||
 
1786
         $as_test_x conftest$ac_exeext
 
1787
       }; then :
 
1788
  ac_retval=0
 
1789
else
 
1790
  $as_echo "$as_me: failed program was:" >&5
 
1791
sed 's/^/| /' conftest.$ac_ext >&5
 
1792
 
 
1793
        ac_retval=1
 
1794
fi
 
1795
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1796
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1797
  # interfere with the next link command; also delete a directory that is
 
1798
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1799
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1800
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1801
  as_fn_set_status $ac_retval
 
1802
 
 
1803
} # ac_fn_c_try_link
 
1804
 
 
1805
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1806
# -------------------------------------------------------
 
1807
# Tests whether HEADER exists and can be compiled using the include files in
 
1808
# INCLUDES, setting the cache variable VAR accordingly.
 
1809
ac_fn_c_check_header_compile ()
 
1810
{
 
1811
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1813
$as_echo_n "checking for $2... " >&6; }
 
1814
if eval "test \"\${$3+set}\"" = set; then :
 
1815
  $as_echo_n "(cached) " >&6
 
1816
else
 
1817
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1818
/* end confdefs.h.  */
 
1819
$4
 
1820
#include <$2>
 
1821
_ACEOF
 
1822
if ac_fn_c_try_compile "$LINENO"; then :
 
1823
  eval "$3=yes"
 
1824
else
 
1825
  eval "$3=no"
 
1826
fi
 
1827
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1828
fi
 
1829
eval ac_res=\$$3
 
1830
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1831
$as_echo "$ac_res" >&6; }
 
1832
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1833
 
 
1834
} # ac_fn_c_check_header_compile
 
1835
 
 
1836
# ac_fn_c_try_cpp LINENO
 
1837
# ----------------------
 
1838
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1839
ac_fn_c_try_cpp ()
 
1840
{
 
1841
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1842
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1843
case "(($ac_try" in
 
1844
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1845
  *) ac_try_echo=$ac_try;;
 
1846
esac
 
1847
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1848
$as_echo "$ac_try_echo"; } >&5
 
1849
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1850
  ac_status=$?
 
1851
  if test -s conftest.err; then
 
1852
    grep -v '^ *+' conftest.err >conftest.er1
 
1853
    cat conftest.er1 >&5
 
1854
    mv -f conftest.er1 conftest.err
 
1855
  fi
 
1856
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1857
  test $ac_status = 0; } >/dev/null && {
 
1858
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1859
         test ! -s conftest.err
 
1860
       }; then :
 
1861
  ac_retval=0
 
1862
else
 
1863
  $as_echo "$as_me: failed program was:" >&5
 
1864
sed 's/^/| /' conftest.$ac_ext >&5
 
1865
 
 
1866
    ac_retval=1
 
1867
fi
 
1868
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1869
  as_fn_set_status $ac_retval
 
1870
 
 
1871
} # ac_fn_c_try_cpp
 
1872
 
 
1873
# ac_fn_c_try_run LINENO
 
1874
# ----------------------
 
1875
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1876
# that executables *can* be run.
 
1877
ac_fn_c_try_run ()
 
1878
{
 
1879
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1880
  if { { ac_try="$ac_link"
 
1881
case "(($ac_try" in
 
1882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1883
  *) ac_try_echo=$ac_try;;
 
1884
esac
 
1885
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1886
$as_echo "$ac_try_echo"; } >&5
 
1887
  (eval "$ac_link") 2>&5
 
1888
  ac_status=$?
 
1889
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1890
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1891
  { { case "(($ac_try" in
 
1892
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1893
  *) ac_try_echo=$ac_try;;
 
1894
esac
 
1895
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1896
$as_echo "$ac_try_echo"; } >&5
 
1897
  (eval "$ac_try") 2>&5
 
1898
  ac_status=$?
 
1899
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1900
  test $ac_status = 0; }; }; then :
 
1901
  ac_retval=0
 
1902
else
 
1903
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1904
       $as_echo "$as_me: failed program was:" >&5
 
1905
sed 's/^/| /' conftest.$ac_ext >&5
 
1906
 
 
1907
       ac_retval=$ac_status
 
1908
fi
 
1909
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1910
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1911
  as_fn_set_status $ac_retval
 
1912
 
 
1913
} # ac_fn_c_try_run
 
1914
 
 
1915
# ac_fn_c_check_func LINENO FUNC VAR
 
1916
# ----------------------------------
 
1917
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1918
ac_fn_c_check_func ()
 
1919
{
 
1920
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1921
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1922
$as_echo_n "checking for $2... " >&6; }
 
1923
if eval "test \"\${$3+set}\"" = set; then :
 
1924
  $as_echo_n "(cached) " >&6
 
1925
else
 
1926
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1927
/* end confdefs.h.  */
 
1928
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1929
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1930
#define $2 innocuous_$2
 
1931
 
 
1932
/* System header to define __stub macros and hopefully few prototypes,
 
1933
    which can conflict with char $2 (); below.
 
1934
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1935
    <limits.h> exists even on freestanding compilers.  */
 
1936
 
 
1937
#ifdef __STDC__
 
1938
# include <limits.h>
 
1939
#else
 
1940
# include <assert.h>
 
1941
#endif
 
1942
 
 
1943
#undef $2
 
1944
 
 
1945
/* Override any GCC internal prototype to avoid an error.
 
1946
   Use char because int might match the return type of a GCC
 
1947
   builtin and then its argument prototype would still apply.  */
 
1948
#ifdef __cplusplus
 
1949
extern "C"
 
1950
#endif
 
1951
char $2 ();
 
1952
/* The GNU C library defines this for functions which it implements
 
1953
    to always fail with ENOSYS.  Some functions are actually named
 
1954
    something starting with __ and the normal name is an alias.  */
 
1955
#if defined __stub_$2 || defined __stub___$2
 
1956
choke me
 
1957
#endif
 
1958
 
 
1959
int
 
1960
main ()
 
1961
{
 
1962
return $2 ();
 
1963
  ;
 
1964
  return 0;
 
1965
}
 
1966
_ACEOF
 
1967
if ac_fn_c_try_link "$LINENO"; then :
 
1968
  eval "$3=yes"
 
1969
else
 
1970
  eval "$3=no"
 
1971
fi
 
1972
rm -f core conftest.err conftest.$ac_objext \
 
1973
    conftest$ac_exeext conftest.$ac_ext
 
1974
fi
 
1975
eval ac_res=\$$3
 
1976
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1977
$as_echo "$ac_res" >&6; }
 
1978
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1979
 
 
1980
} # ac_fn_c_check_func
1878
1981
cat >config.log <<_ACEOF
1879
1982
This file contains any messages produced by compilers while
1880
1983
running configure, to aid debugging if configure makes a mistake.
1881
1984
 
1882
 
It was created by gnome-bluetooth $as_me 2.29.3, which was
1883
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1985
It was created by gnome-bluetooth $as_me 2.91.5, which was
 
1986
generated by GNU Autoconf 2.66.  Invocation command line was
1884
1987
 
1885
1988
  $ $0 $@
1886
1989
 
1916
2019
do
1917
2020
  IFS=$as_save_IFS
1918
2021
  test -z "$as_dir" && as_dir=.
1919
 
  $as_echo "PATH: $as_dir"
1920
 
done
 
2022
    $as_echo "PATH: $as_dir"
 
2023
  done
1921
2024
IFS=$as_save_IFS
1922
2025
 
1923
2026
} >&5
1954
2057
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1955
2058
    esac
1956
2059
    case $ac_pass in
1957
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2060
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1958
2061
    2)
1959
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2062
      as_fn_append ac_configure_args1 " '$ac_arg'"
1960
2063
      if test $ac_must_keep_next = true; then
1961
2064
        ac_must_keep_next=false # Got value, back to normal.
1962
2065
      else
1972
2075
          -* ) ac_must_keep_next=true ;;
1973
2076
        esac
1974
2077
      fi
1975
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2078
      as_fn_append ac_configure_args " '$ac_arg'"
1976
2079
      ;;
1977
2080
    esac
1978
2081
  done
1979
2082
done
1980
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1981
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2083
{ ac_configure_args0=; unset ac_configure_args0;}
 
2084
{ ac_configure_args1=; unset ac_configure_args1;}
1982
2085
 
1983
2086
# When interrupted or exit'd, cleanup temporary files, and complete
1984
2087
# config.log.  We remove comments because anyway the quotes in there
1990
2093
  {
1991
2094
    echo
1992
2095
 
1993
 
    cat <<\_ASBOX
1994
 
## ---------------- ##
 
2096
    $as_echo "## ---------------- ##
1995
2097
## Cache variables. ##
1996
 
## ---------------- ##
1997
 
_ASBOX
 
2098
## ---------------- ##"
1998
2099
    echo
1999
2100
    # The following way of writing the cache mishandles newlines in values,
2000
2101
(
2003
2104
    case $ac_val in #(
2004
2105
    *${as_nl}*)
2005
2106
      case $ac_var in #(
2006
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2107
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2007
2108
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2008
2109
      esac
2009
2110
      case $ac_var in #(
2010
2111
      _ | IFS | as_nl) ;; #(
2011
2112
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2012
 
      *) $as_unset $ac_var ;;
 
2113
      *) { eval $ac_var=; unset $ac_var;} ;;
2013
2114
      esac ;;
2014
2115
    esac
2015
2116
  done
2028
2129
)
2029
2130
    echo
2030
2131
 
2031
 
    cat <<\_ASBOX
2032
 
## ----------------- ##
 
2132
    $as_echo "## ----------------- ##
2033
2133
## Output variables. ##
2034
 
## ----------------- ##
2035
 
_ASBOX
 
2134
## ----------------- ##"
2036
2135
    echo
2037
2136
    for ac_var in $ac_subst_vars
2038
2137
    do
2045
2144
    echo
2046
2145
 
2047
2146
    if test -n "$ac_subst_files"; then
2048
 
      cat <<\_ASBOX
2049
 
## ------------------- ##
 
2147
      $as_echo "## ------------------- ##
2050
2148
## File substitutions. ##
2051
 
## ------------------- ##
2052
 
_ASBOX
 
2149
## ------------------- ##"
2053
2150
      echo
2054
2151
      for ac_var in $ac_subst_files
2055
2152
      do
2063
2160
    fi
2064
2161
 
2065
2162
    if test -s confdefs.h; then
2066
 
      cat <<\_ASBOX
2067
 
## ----------- ##
 
2163
      $as_echo "## ----------- ##
2068
2164
## confdefs.h. ##
2069
 
## ----------- ##
2070
 
_ASBOX
 
2165
## ----------- ##"
2071
2166
      echo
2072
2167
      cat confdefs.h
2073
2168
      echo
2081
2176
    exit $exit_status
2082
2177
' 0
2083
2178
for ac_signal in 1 2 13 15; do
2084
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2179
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2085
2180
done
2086
2181
ac_signal=0
2087
2182
 
2088
2183
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2089
2184
rm -f -r conftest* confdefs.h
2090
2185
 
 
2186
$as_echo "/* confdefs.h */" > confdefs.h
 
2187
 
2091
2188
# Predefined preprocessor variables.
2092
2189
 
2093
2190
cat >>confdefs.h <<_ACEOF
2094
2191
#define PACKAGE_NAME "$PACKAGE_NAME"
2095
2192
_ACEOF
2096
2193
 
2097
 
 
2098
2194
cat >>confdefs.h <<_ACEOF
2099
2195
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2100
2196
_ACEOF
2101
2197
 
2102
 
 
2103
2198
cat >>confdefs.h <<_ACEOF
2104
2199
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2105
2200
_ACEOF
2106
2201
 
2107
 
 
2108
2202
cat >>confdefs.h <<_ACEOF
2109
2203
#define PACKAGE_STRING "$PACKAGE_STRING"
2110
2204
_ACEOF
2111
2205
 
2112
 
 
2113
2206
cat >>confdefs.h <<_ACEOF
2114
2207
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2115
2208
_ACEOF
2116
2209
 
 
2210
cat >>confdefs.h <<_ACEOF
 
2211
#define PACKAGE_URL "$PACKAGE_URL"
 
2212
_ACEOF
 
2213
 
2117
2214
 
2118
2215
# Let the site file select an alternate cache file if it wants to.
2119
2216
# Prefer an explicitly selected file to automatically selected ones.
2120
2217
ac_site_file1=NONE
2121
2218
ac_site_file2=NONE
2122
2219
if test -n "$CONFIG_SITE"; then
2123
 
  ac_site_file1=$CONFIG_SITE
 
2220
  # We do not want a PATH search for config.site.
 
2221
  case $CONFIG_SITE in #((
 
2222
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2223
    */*) ac_site_file1=$CONFIG_SITE;;
 
2224
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2225
  esac
2124
2226
elif test "x$prefix" != xNONE; then
2125
2227
  ac_site_file1=$prefix/share/config.site
2126
2228
  ac_site_file2=$prefix/etc/config.site
2131
2233
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2132
2234
do
2133
2235
  test "x$ac_site_file" = xNONE && continue
2134
 
  if test -r "$ac_site_file"; then
2135
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2236
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2237
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2136
2238
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2137
2239
    sed 's/^/| /' "$ac_site_file" >&5
2138
 
    . "$ac_site_file"
 
2240
    . "$ac_site_file" \
 
2241
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2242
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2243
as_fn_error $? "failed to load site script $ac_site_file
 
2244
See \`config.log' for more details" "$LINENO" 5; }
2139
2245
  fi
2140
2246
done
2141
2247
 
2142
2248
if test -r "$cache_file"; then
2143
 
  # Some versions of bash will fail to source /dev/null (special
2144
 
  # files actually), so we avoid doing that.
2145
 
  if test -f "$cache_file"; then
2146
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2249
  # Some versions of bash will fail to source /dev/null (special files
 
2250
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2251
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2252
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2147
2253
$as_echo "$as_me: loading cache $cache_file" >&6;}
2148
2254
    case $cache_file in
2149
2255
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2151
2257
    esac
2152
2258
  fi
2153
2259
else
2154
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2260
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2155
2261
$as_echo "$as_me: creating cache $cache_file" >&6;}
2156
2262
  >$cache_file
2157
2263
fi
2158
2264
 
 
2265
gt_needs="$gt_needs "
2159
2266
# Check that the precious variables saved in the cache have kept the same
2160
2267
# value.
2161
2268
ac_cache_corrupted=false
2166
2273
  eval ac_new_val=\$ac_env_${ac_var}_value
2167
2274
  case $ac_old_set,$ac_new_set in
2168
2275
    set,)
2169
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2276
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2170
2277
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2171
2278
      ac_cache_corrupted=: ;;
2172
2279
    ,set)
2173
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2280
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2174
2281
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2175
2282
      ac_cache_corrupted=: ;;
2176
2283
    ,);;
2180
2287
        ac_old_val_w=`echo x $ac_old_val`
2181
2288
        ac_new_val_w=`echo x $ac_new_val`
2182
2289
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2183
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2290
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2184
2291
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2185
2292
          ac_cache_corrupted=:
2186
2293
        else
2187
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2294
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2188
2295
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2189
2296
          eval $ac_var=\$ac_old_val
2190
2297
        fi
2191
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2298
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2192
2299
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2193
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2300
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2194
2301
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2195
2302
      fi;;
2196
2303
  esac
2202
2309
    esac
2203
2310
    case " $ac_configure_args " in
2204
2311
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2205
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2312
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2206
2313
    esac
2207
2314
  fi
2208
2315
done
2209
2316
if $ac_cache_corrupted; then
2210
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2317
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211
2318
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2319
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2213
2320
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2214
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2215
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2216
 
   { (exit 1); exit 1; }; }
 
2321
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2217
2322
fi
2218
 
 
2219
 
 
2220
 
 
2221
 
 
2222
 
 
2223
 
 
2224
 
 
2225
 
 
2226
 
 
2227
 
 
2228
 
 
2229
 
 
2230
 
 
2231
 
 
2232
 
 
2233
 
 
2234
 
 
2235
 
 
2236
 
 
2237
 
 
2238
 
 
2239
 
 
2240
 
 
2241
 
 
 
2323
## -------------------- ##
 
2324
## Main body of script. ##
 
2325
## -------------------- ##
2242
2326
 
2243
2327
ac_ext=c
2244
2328
ac_cpp='$CPP $CPPFLAGS'
2271
2355
  fi
2272
2356
done
2273
2357
if test -z "$ac_aux_dir"; then
2274
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2275
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2276
 
   { (exit 1); exit 1; }; }
 
2358
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2277
2359
fi
2278
2360
 
2279
2361
# These three variables are undocumented and unsupported,
2299
2381
# OS/2's system install, which has a completely different semantic
2300
2382
# ./install, which can be erroneously created by make from ./install.sh.
2301
2383
# Reject install programs that cannot install multiple files.
2302
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2303
2385
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2304
2386
if test -z "$INSTALL"; then
2305
 
if test "${ac_cv_path_install+set}" = set; then
 
2387
if test "${ac_cv_path_install+set}" = set; then :
2306
2388
  $as_echo_n "(cached) " >&6
2307
2389
else
2308
2390
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310
2392
do
2311
2393
  IFS=$as_save_IFS
2312
2394
  test -z "$as_dir" && as_dir=.
2313
 
  # Account for people who put trailing slashes in PATH elements.
2314
 
case $as_dir/ in
2315
 
  ./ | .// | /cC/* | \
 
2395
    # Account for people who put trailing slashes in PATH elements.
 
2396
case $as_dir/ in #((
 
2397
  ./ | .// | /[cC]/* | \
2316
2398
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2317
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2399
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2318
2400
  /usr/ucb/* ) ;;
2319
2401
  *)
2320
2402
    # OSF1 and SCO ODT 3.0 have their own names for install.
2351
2433
    ;;
2352
2434
esac
2353
2435
 
2354
 
done
 
2436
  done
2355
2437
IFS=$as_save_IFS
2356
2438
 
2357
2439
rm -rf conftest.one conftest.two conftest.dir
2367
2449
    INSTALL=$ac_install_sh
2368
2450
  fi
2369
2451
fi
2370
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2371
2453
$as_echo "$INSTALL" >&6; }
2372
2454
 
2373
2455
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2378
2460
 
2379
2461
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2380
2462
 
2381
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2382
2464
$as_echo_n "checking whether build environment is sane... " >&6; }
2383
2465
# Just in case
2384
2466
sleep 1
2389
2471
'
2390
2472
case `pwd` in
2391
2473
  *[\\\"\#\$\&\'\`$am_lf]*)
2392
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2393
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2394
 
   { (exit 1); exit 1; }; };;
 
2474
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2395
2475
esac
2396
2476
case $srcdir in
2397
2477
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2398
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2399
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2400
 
   { (exit 1); exit 1; }; };;
 
2478
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2401
2479
esac
2402
2480
 
2403
2481
# Do `set' in a subshell so we don't clobber the current shell's
2419
2497
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2420
2498
      # broken ls alias from the environment.  This has actually
2421
2499
      # happened.  Such a system could not be considered "sane".
2422
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2423
 
alias in your environment" >&5
2424
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2425
 
alias in your environment" >&2;}
2426
 
   { (exit 1); exit 1; }; }
 
2500
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2501
alias in your environment" "$LINENO" 5
2427
2502
   fi
2428
2503
 
2429
2504
   test "$2" = conftest.file
2432
2507
   # Ok.
2433
2508
   :
2434
2509
else
2435
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2436
 
Check your system clock" >&5
2437
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2438
 
Check your system clock" >&2;}
2439
 
   { (exit 1); exit 1; }; }
 
2510
   as_fn_error $? "newly created file is older than distributed files!
 
2511
Check your system clock" "$LINENO" 5
2440
2512
fi
2441
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2442
2514
$as_echo "yes" >&6; }
2443
2515
test "$program_prefix" != NONE &&
2444
2516
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2466
2538
  am_missing_run="$MISSING --run "
2467
2539
else
2468
2540
  am_missing_run=
2469
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2541
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2470
2542
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2471
2543
fi
2472
2544
 
2487
2559
  if test -n "$ac_tool_prefix"; then
2488
2560
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2489
2561
set dummy ${ac_tool_prefix}strip; ac_word=$2
2490
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2491
2563
$as_echo_n "checking for $ac_word... " >&6; }
2492
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2564
if test "${ac_cv_prog_STRIP+set}" = set; then :
2493
2565
  $as_echo_n "(cached) " >&6
2494
2566
else
2495
2567
  if test -n "$STRIP"; then
2500
2572
do
2501
2573
  IFS=$as_save_IFS
2502
2574
  test -z "$as_dir" && as_dir=.
2503
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2575
    for ac_exec_ext in '' $ac_executable_extensions; do
2504
2576
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505
2577
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2506
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2578
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2507
2579
    break 2
2508
2580
  fi
2509
2581
done
2510
 
done
 
2582
  done
2511
2583
IFS=$as_save_IFS
2512
2584
 
2513
2585
fi
2514
2586
fi
2515
2587
STRIP=$ac_cv_prog_STRIP
2516
2588
if test -n "$STRIP"; then
2517
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2589
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2518
2590
$as_echo "$STRIP" >&6; }
2519
2591
else
2520
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2592
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2521
2593
$as_echo "no" >&6; }
2522
2594
fi
2523
2595
 
2527
2599
  ac_ct_STRIP=$STRIP
2528
2600
  # Extract the first word of "strip", so it can be a program name with args.
2529
2601
set dummy strip; ac_word=$2
2530
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2531
2603
$as_echo_n "checking for $ac_word... " >&6; }
2532
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2604
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2533
2605
  $as_echo_n "(cached) " >&6
2534
2606
else
2535
2607
  if test -n "$ac_ct_STRIP"; then
2540
2612
do
2541
2613
  IFS=$as_save_IFS
2542
2614
  test -z "$as_dir" && as_dir=.
2543
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2615
    for ac_exec_ext in '' $ac_executable_extensions; do
2544
2616
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2545
2617
    ac_cv_prog_ac_ct_STRIP="strip"
2546
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2618
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2547
2619
    break 2
2548
2620
  fi
2549
2621
done
2550
 
done
 
2622
  done
2551
2623
IFS=$as_save_IFS
2552
2624
 
2553
2625
fi
2554
2626
fi
2555
2627
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2556
2628
if test -n "$ac_ct_STRIP"; then
2557
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2558
2630
$as_echo "$ac_ct_STRIP" >&6; }
2559
2631
else
2560
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2561
2633
$as_echo "no" >&6; }
2562
2634
fi
2563
2635
 
2566
2638
  else
2567
2639
    case $cross_compiling:$ac_tool_warned in
2568
2640
yes:)
2569
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2641
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2570
2642
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2571
2643
ac_tool_warned=yes ;;
2572
2644
esac
2579
2651
fi
2580
2652
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2581
2653
 
2582
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2583
2655
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2584
2656
if test -z "$MKDIR_P"; then
2585
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2657
  if test "${ac_cv_path_mkdir+set}" = set; then :
2586
2658
  $as_echo_n "(cached) " >&6
2587
2659
else
2588
2660
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590
2662
do
2591
2663
  IFS=$as_save_IFS
2592
2664
  test -z "$as_dir" && as_dir=.
2593
 
  for ac_prog in mkdir gmkdir; do
 
2665
    for ac_prog in mkdir gmkdir; do
2594
2666
         for ac_exec_ext in '' $ac_executable_extensions; do
2595
2667
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2596
2668
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2602
2674
           esac
2603
2675
         done
2604
2676
       done
2605
 
done
 
2677
  done
2606
2678
IFS=$as_save_IFS
2607
2679
 
2608
2680
fi
2609
2681
 
 
2682
  test -d ./--version && rmdir ./--version
2610
2683
  if test "${ac_cv_path_mkdir+set}" = set; then
2611
2684
    MKDIR_P="$ac_cv_path_mkdir -p"
2612
2685
  else
2614
2687
    # value for MKDIR_P within a source directory, because that will
2615
2688
    # break other packages using the cache if that directory is
2616
2689
    # removed, or if the value is a relative name.
2617
 
    test -d ./--version && rmdir ./--version
2618
2690
    MKDIR_P="$ac_install_sh -d"
2619
2691
  fi
2620
2692
fi
2621
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2622
2694
$as_echo "$MKDIR_P" >&6; }
2623
2695
 
2624
2696
mkdir_p="$MKDIR_P"
2631
2703
do
2632
2704
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2633
2705
set dummy $ac_prog; ac_word=$2
2634
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635
2707
$as_echo_n "checking for $ac_word... " >&6; }
2636
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2708
if test "${ac_cv_prog_AWK+set}" = set; then :
2637
2709
  $as_echo_n "(cached) " >&6
2638
2710
else
2639
2711
  if test -n "$AWK"; then
2644
2716
do
2645
2717
  IFS=$as_save_IFS
2646
2718
  test -z "$as_dir" && as_dir=.
2647
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2719
    for ac_exec_ext in '' $ac_executable_extensions; do
2648
2720
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2649
2721
    ac_cv_prog_AWK="$ac_prog"
2650
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2722
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2651
2723
    break 2
2652
2724
  fi
2653
2725
done
2654
 
done
 
2726
  done
2655
2727
IFS=$as_save_IFS
2656
2728
 
2657
2729
fi
2658
2730
fi
2659
2731
AWK=$ac_cv_prog_AWK
2660
2732
if test -n "$AWK"; then
2661
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2733
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2662
2734
$as_echo "$AWK" >&6; }
2663
2735
else
2664
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2736
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665
2737
$as_echo "no" >&6; }
2666
2738
fi
2667
2739
 
2669
2741
  test -n "$AWK" && break
2670
2742
done
2671
2743
 
2672
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2673
2745
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2674
2746
set x ${MAKE-make}
2675
2747
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2676
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2748
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2677
2749
  $as_echo_n "(cached) " >&6
2678
2750
else
2679
2751
  cat >conftest.make <<\_ACEOF
2681
2753
all:
2682
2754
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2683
2755
_ACEOF
2684
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2756
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2685
2757
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2686
2758
  *@@@%%%=?*=@@@%%%*)
2687
2759
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2691
2763
rm -f conftest.make
2692
2764
fi
2693
2765
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2694
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2695
2767
$as_echo "yes" >&6; }
2696
2768
  SET_MAKE=
2697
2769
else
2698
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2770
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2699
2771
$as_echo "no" >&6; }
2700
2772
  SET_MAKE="MAKE=${MAKE-make}"
2701
2773
fi
2715
2787
  am__isrc=' -I$(srcdir)'
2716
2788
  # test to see if srcdir already configured
2717
2789
  if test -f $srcdir/config.status; then
2718
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2719
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2720
 
   { (exit 1); exit 1; }; }
 
2790
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2721
2791
  fi
2722
2792
fi
2723
2793
 
2733
2803
 
2734
2804
# Define the identity of the package.
2735
2805
 PACKAGE='gnome-bluetooth'
2736
 
 VERSION='2.29.3'
 
2806
 VERSION='2.91.5'
2737
2807
 
2738
2808
 
2739
2809
cat >>confdefs.h <<_ACEOF
2781
2851
# - If binary compatibility has been broken (eg removed or changed interfaces)
2782
2852
#   change to C+1:0:0
2783
2853
# - If the interface is the same as the previous version, change to C:R+1:A
2784
 
GNOMEBT_LT_VERSION=7:2:0
2785
 
 
2786
 
 
2787
 
 
2788
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2854
GNOMEBT_LT_VERSION=8:0:0
 
2855
 
 
2856
 
 
2857
 
 
2858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2789
2859
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2790
2860
    # Check whether --enable-maintainer-mode was given.
2791
 
if test "${enable_maintainer_mode+set}" = set; then
 
2861
if test "${enable_maintainer_mode+set}" = set; then :
2792
2862
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2793
2863
else
2794
2864
  USE_MAINTAINER_MODE=no
2795
2865
fi
2796
2866
 
2797
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2867
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2798
2868
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2799
2869
   if test $USE_MAINTAINER_MODE = yes; then
2800
2870
  MAINTAINER_MODE_TRUE=
2812
2882
# by either passing --disable-silent-rules to configure or passing V=1
2813
2883
# to make
2814
2884
# Check whether --enable-silent-rules was given.
2815
 
if test "${enable_silent_rules+set}" = set; then
 
2885
if test "${enable_silent_rules+set}" = set; then :
2816
2886
  enableval=$enable_silent_rules;
2817
2887
fi
2818
2888
 
2838
2908
if test -n "$ac_tool_prefix"; then
2839
2909
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2840
2910
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2841
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842
2912
$as_echo_n "checking for $ac_word... " >&6; }
2843
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2913
if test "${ac_cv_prog_CC+set}" = set; then :
2844
2914
  $as_echo_n "(cached) " >&6
2845
2915
else
2846
2916
  if test -n "$CC"; then
2851
2921
do
2852
2922
  IFS=$as_save_IFS
2853
2923
  test -z "$as_dir" && as_dir=.
2854
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2924
    for ac_exec_ext in '' $ac_executable_extensions; do
2855
2925
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856
2926
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2857
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2927
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858
2928
    break 2
2859
2929
  fi
2860
2930
done
2861
 
done
 
2931
  done
2862
2932
IFS=$as_save_IFS
2863
2933
 
2864
2934
fi
2865
2935
fi
2866
2936
CC=$ac_cv_prog_CC
2867
2937
if test -n "$CC"; then
2868
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2869
2939
$as_echo "$CC" >&6; }
2870
2940
else
2871
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2941
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872
2942
$as_echo "no" >&6; }
2873
2943
fi
2874
2944
 
2878
2948
  ac_ct_CC=$CC
2879
2949
  # Extract the first word of "gcc", so it can be a program name with args.
2880
2950
set dummy gcc; ac_word=$2
2881
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882
2952
$as_echo_n "checking for $ac_word... " >&6; }
2883
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2953
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2884
2954
  $as_echo_n "(cached) " >&6
2885
2955
else
2886
2956
  if test -n "$ac_ct_CC"; then
2891
2961
do
2892
2962
  IFS=$as_save_IFS
2893
2963
  test -z "$as_dir" && as_dir=.
2894
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2964
    for ac_exec_ext in '' $ac_executable_extensions; do
2895
2965
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896
2966
    ac_cv_prog_ac_ct_CC="gcc"
2897
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2967
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898
2968
    break 2
2899
2969
  fi
2900
2970
done
2901
 
done
 
2971
  done
2902
2972
IFS=$as_save_IFS
2903
2973
 
2904
2974
fi
2905
2975
fi
2906
2976
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2907
2977
if test -n "$ac_ct_CC"; then
2908
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2978
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2909
2979
$as_echo "$ac_ct_CC" >&6; }
2910
2980
else
2911
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2981
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912
2982
$as_echo "no" >&6; }
2913
2983
fi
2914
2984
 
2917
2987
  else
2918
2988
    case $cross_compiling:$ac_tool_warned in
2919
2989
yes:)
2920
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2990
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2921
2991
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2922
2992
ac_tool_warned=yes ;;
2923
2993
esac
2931
3001
          if test -n "$ac_tool_prefix"; then
2932
3002
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2933
3003
set dummy ${ac_tool_prefix}cc; ac_word=$2
2934
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935
3005
$as_echo_n "checking for $ac_word... " >&6; }
2936
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3006
if test "${ac_cv_prog_CC+set}" = set; then :
2937
3007
  $as_echo_n "(cached) " >&6
2938
3008
else
2939
3009
  if test -n "$CC"; then
2944
3014
do
2945
3015
  IFS=$as_save_IFS
2946
3016
  test -z "$as_dir" && as_dir=.
2947
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3017
    for ac_exec_ext in '' $ac_executable_extensions; do
2948
3018
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949
3019
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2950
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3020
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951
3021
    break 2
2952
3022
  fi
2953
3023
done
2954
 
done
 
3024
  done
2955
3025
IFS=$as_save_IFS
2956
3026
 
2957
3027
fi
2958
3028
fi
2959
3029
CC=$ac_cv_prog_CC
2960
3030
if test -n "$CC"; then
2961
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3031
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2962
3032
$as_echo "$CC" >&6; }
2963
3033
else
2964
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3034
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965
3035
$as_echo "no" >&6; }
2966
3036
fi
2967
3037
 
2971
3041
if test -z "$CC"; then
2972
3042
  # Extract the first word of "cc", so it can be a program name with args.
2973
3043
set dummy cc; ac_word=$2
2974
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975
3045
$as_echo_n "checking for $ac_word... " >&6; }
2976
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3046
if test "${ac_cv_prog_CC+set}" = set; then :
2977
3047
  $as_echo_n "(cached) " >&6
2978
3048
else
2979
3049
  if test -n "$CC"; then
2985
3055
do
2986
3056
  IFS=$as_save_IFS
2987
3057
  test -z "$as_dir" && as_dir=.
2988
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3058
    for ac_exec_ext in '' $ac_executable_extensions; do
2989
3059
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990
3060
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2991
3061
       ac_prog_rejected=yes
2992
3062
       continue
2993
3063
     fi
2994
3064
    ac_cv_prog_CC="cc"
2995
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3065
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996
3066
    break 2
2997
3067
  fi
2998
3068
done
2999
 
done
 
3069
  done
3000
3070
IFS=$as_save_IFS
3001
3071
 
3002
3072
if test $ac_prog_rejected = yes; then
3015
3085
fi
3016
3086
CC=$ac_cv_prog_CC
3017
3087
if test -n "$CC"; then
3018
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3019
3089
$as_echo "$CC" >&6; }
3020
3090
else
3021
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3091
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022
3092
$as_echo "no" >&6; }
3023
3093
fi
3024
3094
 
3030
3100
  do
3031
3101
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3032
3102
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3033
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034
3104
$as_echo_n "checking for $ac_word... " >&6; }
3035
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3105
if test "${ac_cv_prog_CC+set}" = set; then :
3036
3106
  $as_echo_n "(cached) " >&6
3037
3107
else
3038
3108
  if test -n "$CC"; then
3043
3113
do
3044
3114
  IFS=$as_save_IFS
3045
3115
  test -z "$as_dir" && as_dir=.
3046
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3116
    for ac_exec_ext in '' $ac_executable_extensions; do
3047
3117
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048
3118
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3049
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3119
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050
3120
    break 2
3051
3121
  fi
3052
3122
done
3053
 
done
 
3123
  done
3054
3124
IFS=$as_save_IFS
3055
3125
 
3056
3126
fi
3057
3127
fi
3058
3128
CC=$ac_cv_prog_CC
3059
3129
if test -n "$CC"; then
3060
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3130
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3061
3131
$as_echo "$CC" >&6; }
3062
3132
else
3063
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3133
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064
3134
$as_echo "no" >&6; }
3065
3135
fi
3066
3136
 
3074
3144
do
3075
3145
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3076
3146
set dummy $ac_prog; ac_word=$2
3077
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078
3148
$as_echo_n "checking for $ac_word... " >&6; }
3079
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3149
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3080
3150
  $as_echo_n "(cached) " >&6
3081
3151
else
3082
3152
  if test -n "$ac_ct_CC"; then
3087
3157
do
3088
3158
  IFS=$as_save_IFS
3089
3159
  test -z "$as_dir" && as_dir=.
3090
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3160
    for ac_exec_ext in '' $ac_executable_extensions; do
3091
3161
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3092
3162
    ac_cv_prog_ac_ct_CC="$ac_prog"
3093
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3163
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094
3164
    break 2
3095
3165
  fi
3096
3166
done
3097
 
done
 
3167
  done
3098
3168
IFS=$as_save_IFS
3099
3169
 
3100
3170
fi
3101
3171
fi
3102
3172
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3103
3173
if test -n "$ac_ct_CC"; then
3104
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3174
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3105
3175
$as_echo "$ac_ct_CC" >&6; }
3106
3176
else
3107
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3177
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108
3178
$as_echo "no" >&6; }
3109
3179
fi
3110
3180
 
3117
3187
  else
3118
3188
    case $cross_compiling:$ac_tool_warned in
3119
3189
yes:)
3120
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3190
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3121
3191
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3122
3192
ac_tool_warned=yes ;;
3123
3193
esac
3128
3198
fi
3129
3199
 
3130
3200
 
3131
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3201
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132
3202
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3133
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3134
 
See \`config.log' for more details." >&5
3135
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3136
 
See \`config.log' for more details." >&2;}
3137
 
   { (exit 1); exit 1; }; }; }
 
3203
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3204
See \`config.log' for more details" "$LINENO" 5; }
3138
3205
 
3139
3206
# Provide some information about the compiler.
3140
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3207
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3141
3208
set X $ac_compile
3142
3209
ac_compiler=$2
3143
 
{ (ac_try="$ac_compiler --version >&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 --version >&5") 2>&5
3151
 
  ac_status=$?
3152
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153
 
  (exit $ac_status); }
3154
 
{ (ac_try="$ac_compiler -v >&5"
3155
 
case "(($ac_try" in
3156
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157
 
  *) ac_try_echo=$ac_try;;
3158
 
esac
3159
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3160
 
$as_echo "$ac_try_echo") >&5
3161
 
  (eval "$ac_compiler -v >&5") 2>&5
3162
 
  ac_status=$?
3163
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164
 
  (exit $ac_status); }
3165
 
{ (ac_try="$ac_compiler -V >&5"
3166
 
case "(($ac_try" in
3167
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168
 
  *) ac_try_echo=$ac_try;;
3169
 
esac
3170
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3171
 
$as_echo "$ac_try_echo") >&5
3172
 
  (eval "$ac_compiler -V >&5") 2>&5
3173
 
  ac_status=$?
3174
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175
 
  (exit $ac_status); }
 
3210
for ac_option in --version -v -V -qversion; do
 
3211
  { { ac_try="$ac_compiler $ac_option >&5"
 
3212
case "(($ac_try" in
 
3213
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3214
  *) ac_try_echo=$ac_try;;
 
3215
esac
 
3216
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3217
$as_echo "$ac_try_echo"; } >&5
 
3218
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3219
  ac_status=$?
 
3220
  if test -s conftest.err; then
 
3221
    sed '10a\
 
3222
... rest of stderr output deleted ...
 
3223
         10q' conftest.err >conftest.er1
 
3224
    cat conftest.er1 >&5
 
3225
  fi
 
3226
  rm -f conftest.er1 conftest.err
 
3227
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3228
  test $ac_status = 0; }
 
3229
done
3176
3230
 
3177
 
cat >conftest.$ac_ext <<_ACEOF
3178
 
/* confdefs.h.  */
3179
 
_ACEOF
3180
 
cat confdefs.h >>conftest.$ac_ext
3181
 
cat >>conftest.$ac_ext <<_ACEOF
 
3231
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182
3232
/* end confdefs.h.  */
3183
3233
 
3184
3234
int
3194
3244
# Try to create an executable without -o first, disregard a.out.
3195
3245
# It will help us diagnose broken compilers, and finding out an intuition
3196
3246
# of exeext.
3197
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3198
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3248
$as_echo_n "checking whether the C compiler works... " >&6; }
3199
3249
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3200
3250
 
3201
3251
# The possible output files:
3211
3261
done
3212
3262
rm -f $ac_rmfiles
3213
3263
 
3214
 
if { (ac_try="$ac_link_default"
 
3264
if { { ac_try="$ac_link_default"
3215
3265
case "(($ac_try" in
3216
3266
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217
3267
  *) ac_try_echo=$ac_try;;
3218
3268
esac
3219
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3220
 
$as_echo "$ac_try_echo") >&5
 
3269
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3270
$as_echo "$ac_try_echo"; } >&5
3221
3271
  (eval "$ac_link_default") 2>&5
3222
3272
  ac_status=$?
3223
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224
 
  (exit $ac_status); }; then
 
3273
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3274
  test $ac_status = 0; }; then :
3225
3275
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3226
3276
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3227
3277
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3238
3288
        # certainly right.
3239
3289
        break;;
3240
3290
    *.* )
3241
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3291
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3242
3292
        then :; else
3243
3293
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3244
3294
        fi
3257
3307
else
3258
3308
  ac_file=''
3259
3309
fi
 
3310
if test -z "$ac_file"; then :
 
3311
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3312
$as_echo "no" >&6; }
 
3313
$as_echo "$as_me: failed program was:" >&5
 
3314
sed 's/^/| /' conftest.$ac_ext >&5
3260
3315
 
3261
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3316
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3317
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3318
as_fn_error 77 "C compiler cannot create executables
 
3319
See \`config.log' for more details" "$LINENO" 5; }
 
3320
else
 
3321
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3322
$as_echo "yes" >&6; }
 
3323
fi
 
3324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3325
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3262
3327
$as_echo "$ac_file" >&6; }
3263
 
if test -z "$ac_file"; then
3264
 
  $as_echo "$as_me: failed program was:" >&5
3265
 
sed 's/^/| /' conftest.$ac_ext >&5
3266
 
 
3267
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3268
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3269
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3270
 
See \`config.log' for more details." >&5
3271
 
$as_echo "$as_me: error: C compiler cannot create executables
3272
 
See \`config.log' for more details." >&2;}
3273
 
   { (exit 77); exit 77; }; }; }
3274
 
fi
3275
 
 
3276
3328
ac_exeext=$ac_cv_exeext
3277
3329
 
3278
 
# Check that the compiler produces executables we can run.  If not, either
3279
 
# the compiler is broken, or we cross compile.
3280
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3281
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3282
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3283
 
# If not cross compiling, check that we can run a simple program.
3284
 
if test "$cross_compiling" != yes; then
3285
 
  if { ac_try='./$ac_file'
3286
 
  { (case "(($ac_try" in
3287
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3288
 
  *) ac_try_echo=$ac_try;;
3289
 
esac
3290
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3291
 
$as_echo "$ac_try_echo") >&5
3292
 
  (eval "$ac_try") 2>&5
3293
 
  ac_status=$?
3294
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295
 
  (exit $ac_status); }; }; then
3296
 
    cross_compiling=no
3297
 
  else
3298
 
    if test "$cross_compiling" = maybe; then
3299
 
        cross_compiling=yes
3300
 
    else
3301
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3302
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3303
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3304
 
If you meant to cross compile, use \`--host'.
3305
 
See \`config.log' for more details." >&5
3306
 
$as_echo "$as_me: error: cannot run C compiled programs.
3307
 
If you meant to cross compile, use \`--host'.
3308
 
See \`config.log' for more details." >&2;}
3309
 
   { (exit 1); exit 1; }; }; }
3310
 
    fi
3311
 
  fi
3312
 
fi
3313
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3314
 
$as_echo "yes" >&6; }
3315
 
 
3316
3330
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3317
3331
ac_clean_files=$ac_clean_files_save
3318
 
# Check that the compiler produces executables we can run.  If not, either
3319
 
# the compiler is broken, or we cross compile.
3320
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3321
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3322
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3323
 
$as_echo "$cross_compiling" >&6; }
3324
 
 
3325
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3326
3333
$as_echo_n "checking for suffix of executables... " >&6; }
3327
 
if { (ac_try="$ac_link"
 
3334
if { { ac_try="$ac_link"
3328
3335
case "(($ac_try" in
3329
3336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330
3337
  *) ac_try_echo=$ac_try;;
3331
3338
esac
3332
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3333
 
$as_echo "$ac_try_echo") >&5
 
3339
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3340
$as_echo "$ac_try_echo"; } >&5
3334
3341
  (eval "$ac_link") 2>&5
3335
3342
  ac_status=$?
3336
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337
 
  (exit $ac_status); }; then
 
3343
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3344
  test $ac_status = 0; }; then :
3338
3345
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3339
3346
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3340
3347
# work properly (i.e., refer to `conftest.exe'), while it won't with
3349
3356
  esac
3350
3357
done
3351
3358
else
3352
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3359
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3353
3360
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3354
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3355
 
See \`config.log' for more details." >&5
3356
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3357
 
See \`config.log' for more details." >&2;}
3358
 
   { (exit 1); exit 1; }; }; }
 
3361
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3362
See \`config.log' for more details" "$LINENO" 5; }
3359
3363
fi
3360
 
 
3361
 
rm -f conftest$ac_cv_exeext
3362
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3364
rm -f conftest conftest$ac_cv_exeext
 
3365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3363
3366
$as_echo "$ac_cv_exeext" >&6; }
3364
3367
 
3365
3368
rm -f conftest.$ac_ext
3366
3369
EXEEXT=$ac_cv_exeext
3367
3370
ac_exeext=$EXEEXT
3368
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3371
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3372
/* end confdefs.h.  */
 
3373
#include <stdio.h>
 
3374
int
 
3375
main ()
 
3376
{
 
3377
FILE *f = fopen ("conftest.out", "w");
 
3378
 return ferror (f) || fclose (f) != 0;
 
3379
 
 
3380
  ;
 
3381
  return 0;
 
3382
}
 
3383
_ACEOF
 
3384
ac_clean_files="$ac_clean_files conftest.out"
 
3385
# Check that the compiler produces executables we can run.  If not, either
 
3386
# the compiler is broken, or we cross compile.
 
3387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3388
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3389
if test "$cross_compiling" != yes; then
 
3390
  { { ac_try="$ac_link"
 
3391
case "(($ac_try" in
 
3392
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3393
  *) ac_try_echo=$ac_try;;
 
3394
esac
 
3395
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3396
$as_echo "$ac_try_echo"; } >&5
 
3397
  (eval "$ac_link") 2>&5
 
3398
  ac_status=$?
 
3399
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3400
  test $ac_status = 0; }
 
3401
  if { ac_try='./conftest$ac_cv_exeext'
 
3402
  { { case "(($ac_try" in
 
3403
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3404
  *) ac_try_echo=$ac_try;;
 
3405
esac
 
3406
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3407
$as_echo "$ac_try_echo"; } >&5
 
3408
  (eval "$ac_try") 2>&5
 
3409
  ac_status=$?
 
3410
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3411
  test $ac_status = 0; }; }; then
 
3412
    cross_compiling=no
 
3413
  else
 
3414
    if test "$cross_compiling" = maybe; then
 
3415
        cross_compiling=yes
 
3416
    else
 
3417
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3418
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3419
as_fn_error $? "cannot run C compiled programs.
 
3420
If you meant to cross compile, use \`--host'.
 
3421
See \`config.log' for more details" "$LINENO" 5; }
 
3422
    fi
 
3423
  fi
 
3424
fi
 
3425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3426
$as_echo "$cross_compiling" >&6; }
 
3427
 
 
3428
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3429
ac_clean_files=$ac_clean_files_save
 
3430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3369
3431
$as_echo_n "checking for suffix of object files... " >&6; }
3370
 
if test "${ac_cv_objext+set}" = set; then
 
3432
if test "${ac_cv_objext+set}" = set; then :
3371
3433
  $as_echo_n "(cached) " >&6
3372
3434
else
3373
 
  cat >conftest.$ac_ext <<_ACEOF
3374
 
/* confdefs.h.  */
3375
 
_ACEOF
3376
 
cat confdefs.h >>conftest.$ac_ext
3377
 
cat >>conftest.$ac_ext <<_ACEOF
 
3435
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378
3436
/* end confdefs.h.  */
3379
3437
 
3380
3438
int
3386
3444
}
3387
3445
_ACEOF
3388
3446
rm -f conftest.o conftest.obj
3389
 
if { (ac_try="$ac_compile"
 
3447
if { { ac_try="$ac_compile"
3390
3448
case "(($ac_try" in
3391
3449
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392
3450
  *) ac_try_echo=$ac_try;;
3393
3451
esac
3394
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3395
 
$as_echo "$ac_try_echo") >&5
 
3452
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3453
$as_echo "$ac_try_echo"; } >&5
3396
3454
  (eval "$ac_compile") 2>&5
3397
3455
  ac_status=$?
3398
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399
 
  (exit $ac_status); }; then
 
3456
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3457
  test $ac_status = 0; }; then :
3400
3458
  for ac_file in conftest.o conftest.obj conftest.*; do
3401
3459
  test -f "$ac_file" || continue;
3402
3460
  case $ac_file in
3409
3467
  $as_echo "$as_me: failed program was:" >&5
3410
3468
sed 's/^/| /' conftest.$ac_ext >&5
3411
3469
 
3412
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3470
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3413
3471
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3414
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3415
 
See \`config.log' for more details." >&5
3416
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3417
 
See \`config.log' for more details." >&2;}
3418
 
   { (exit 1); exit 1; }; }; }
 
3472
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3473
See \`config.log' for more details" "$LINENO" 5; }
3419
3474
fi
3420
 
 
3421
3475
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3422
3476
fi
3423
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3424
3478
$as_echo "$ac_cv_objext" >&6; }
3425
3479
OBJEXT=$ac_cv_objext
3426
3480
ac_objext=$OBJEXT
3427
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3428
3482
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3429
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3483
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3430
3484
  $as_echo_n "(cached) " >&6
3431
3485
else
3432
 
  cat >conftest.$ac_ext <<_ACEOF
3433
 
/* confdefs.h.  */
3434
 
_ACEOF
3435
 
cat confdefs.h >>conftest.$ac_ext
3436
 
cat >>conftest.$ac_ext <<_ACEOF
 
3486
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437
3487
/* end confdefs.h.  */
3438
3488
 
3439
3489
int
3447
3497
  return 0;
3448
3498
}
3449
3499
_ACEOF
3450
 
rm -f conftest.$ac_objext
3451
 
if { (ac_try="$ac_compile"
3452
 
case "(($ac_try" in
3453
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454
 
  *) ac_try_echo=$ac_try;;
3455
 
esac
3456
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3457
 
$as_echo "$ac_try_echo") >&5
3458
 
  (eval "$ac_compile") 2>conftest.er1
3459
 
  ac_status=$?
3460
 
  grep -v '^ *+' conftest.er1 >conftest.err
3461
 
  rm -f conftest.er1
3462
 
  cat conftest.err >&5
3463
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464
 
  (exit $ac_status); } && {
3465
 
         test -z "$ac_c_werror_flag" ||
3466
 
         test ! -s conftest.err
3467
 
       } && test -s conftest.$ac_objext; then
 
3500
if ac_fn_c_try_compile "$LINENO"; then :
3468
3501
  ac_compiler_gnu=yes
3469
3502
else
3470
 
  $as_echo "$as_me: failed program was:" >&5
3471
 
sed 's/^/| /' conftest.$ac_ext >&5
3472
 
 
3473
 
        ac_compiler_gnu=no
 
3503
  ac_compiler_gnu=no
3474
3504
fi
3475
 
 
3476
3505
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477
3506
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3478
3507
 
3479
3508
fi
3480
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3481
3510
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3482
3511
if test $ac_compiler_gnu = yes; then
3483
3512
  GCC=yes
3486
3515
fi
3487
3516
ac_test_CFLAGS=${CFLAGS+set}
3488
3517
ac_save_CFLAGS=$CFLAGS
3489
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3490
3519
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3491
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3520
if test "${ac_cv_prog_cc_g+set}" = set; then :
3492
3521
  $as_echo_n "(cached) " >&6
3493
3522
else
3494
3523
  ac_save_c_werror_flag=$ac_c_werror_flag
3495
3524
   ac_c_werror_flag=yes
3496
3525
   ac_cv_prog_cc_g=no
3497
3526
   CFLAGS="-g"
3498
 
   cat >conftest.$ac_ext <<_ACEOF
3499
 
/* confdefs.h.  */
3500
 
_ACEOF
3501
 
cat confdefs.h >>conftest.$ac_ext
3502
 
cat >>conftest.$ac_ext <<_ACEOF
 
3527
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503
3528
/* end confdefs.h.  */
3504
3529
 
3505
3530
int
3510
3535
  return 0;
3511
3536
}
3512
3537
_ACEOF
3513
 
rm -f conftest.$ac_objext
3514
 
if { (ac_try="$ac_compile"
3515
 
case "(($ac_try" in
3516
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517
 
  *) ac_try_echo=$ac_try;;
3518
 
esac
3519
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3520
 
$as_echo "$ac_try_echo") >&5
3521
 
  (eval "$ac_compile") 2>conftest.er1
3522
 
  ac_status=$?
3523
 
  grep -v '^ *+' conftest.er1 >conftest.err
3524
 
  rm -f conftest.er1
3525
 
  cat conftest.err >&5
3526
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527
 
  (exit $ac_status); } && {
3528
 
         test -z "$ac_c_werror_flag" ||
3529
 
         test ! -s conftest.err
3530
 
       } && test -s conftest.$ac_objext; then
 
3538
if ac_fn_c_try_compile "$LINENO"; then :
3531
3539
  ac_cv_prog_cc_g=yes
3532
3540
else
3533
 
  $as_echo "$as_me: failed program was:" >&5
3534
 
sed 's/^/| /' conftest.$ac_ext >&5
3535
 
 
3536
 
        CFLAGS=""
3537
 
      cat >conftest.$ac_ext <<_ACEOF
3538
 
/* confdefs.h.  */
3539
 
_ACEOF
3540
 
cat confdefs.h >>conftest.$ac_ext
3541
 
cat >>conftest.$ac_ext <<_ACEOF
 
3541
  CFLAGS=""
 
3542
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542
3543
/* end confdefs.h.  */
3543
3544
 
3544
3545
int
3549
3550
  return 0;
3550
3551
}
3551
3552
_ACEOF
3552
 
rm -f conftest.$ac_objext
3553
 
if { (ac_try="$ac_compile"
3554
 
case "(($ac_try" in
3555
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556
 
  *) ac_try_echo=$ac_try;;
3557
 
esac
3558
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3559
 
$as_echo "$ac_try_echo") >&5
3560
 
  (eval "$ac_compile") 2>conftest.er1
3561
 
  ac_status=$?
3562
 
  grep -v '^ *+' conftest.er1 >conftest.err
3563
 
  rm -f conftest.er1
3564
 
  cat conftest.err >&5
3565
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566
 
  (exit $ac_status); } && {
3567
 
         test -z "$ac_c_werror_flag" ||
3568
 
         test ! -s conftest.err
3569
 
       } && test -s conftest.$ac_objext; then
3570
 
  :
 
3553
if ac_fn_c_try_compile "$LINENO"; then :
 
3554
 
3571
3555
else
3572
 
  $as_echo "$as_me: failed program was:" >&5
3573
 
sed 's/^/| /' conftest.$ac_ext >&5
3574
 
 
3575
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3556
  ac_c_werror_flag=$ac_save_c_werror_flag
3576
3557
         CFLAGS="-g"
3577
 
         cat >conftest.$ac_ext <<_ACEOF
3578
 
/* confdefs.h.  */
3579
 
_ACEOF
3580
 
cat confdefs.h >>conftest.$ac_ext
3581
 
cat >>conftest.$ac_ext <<_ACEOF
 
3558
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582
3559
/* end confdefs.h.  */
3583
3560
 
3584
3561
int
3589
3566
  return 0;
3590
3567
}
3591
3568
_ACEOF
3592
 
rm -f conftest.$ac_objext
3593
 
if { (ac_try="$ac_compile"
3594
 
case "(($ac_try" in
3595
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596
 
  *) ac_try_echo=$ac_try;;
3597
 
esac
3598
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3599
 
$as_echo "$ac_try_echo") >&5
3600
 
  (eval "$ac_compile") 2>conftest.er1
3601
 
  ac_status=$?
3602
 
  grep -v '^ *+' conftest.er1 >conftest.err
3603
 
  rm -f conftest.er1
3604
 
  cat conftest.err >&5
3605
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606
 
  (exit $ac_status); } && {
3607
 
         test -z "$ac_c_werror_flag" ||
3608
 
         test ! -s conftest.err
3609
 
       } && test -s conftest.$ac_objext; then
 
3569
if ac_fn_c_try_compile "$LINENO"; then :
3610
3570
  ac_cv_prog_cc_g=yes
3611
 
else
3612
 
  $as_echo "$as_me: failed program was:" >&5
3613
 
sed 's/^/| /' conftest.$ac_ext >&5
3614
 
 
3615
 
 
3616
 
fi
3617
 
 
3618
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619
 
fi
3620
 
 
3621
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3622
 
fi
3623
 
 
 
3571
fi
 
3572
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3573
fi
 
3574
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3575
fi
3624
3576
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625
3577
   ac_c_werror_flag=$ac_save_c_werror_flag
3626
3578
fi
3627
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3628
3580
$as_echo "$ac_cv_prog_cc_g" >&6; }
3629
3581
if test "$ac_test_CFLAGS" = set; then
3630
3582
  CFLAGS=$ac_save_CFLAGS
3641
3593
    CFLAGS=
3642
3594
  fi
3643
3595
fi
3644
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3645
3597
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3646
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3598
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3647
3599
  $as_echo_n "(cached) " >&6
3648
3600
else
3649
3601
  ac_cv_prog_cc_c89=no
3650
3602
ac_save_CC=$CC
3651
 
cat >conftest.$ac_ext <<_ACEOF
3652
 
/* confdefs.h.  */
3653
 
_ACEOF
3654
 
cat confdefs.h >>conftest.$ac_ext
3655
 
cat >>conftest.$ac_ext <<_ACEOF
 
3603
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656
3604
/* end confdefs.h.  */
3657
3605
#include <stdarg.h>
3658
3606
#include <stdio.h>
3709
3657
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3710
3658
do
3711
3659
  CC="$ac_save_CC $ac_arg"
3712
 
  rm -f conftest.$ac_objext
3713
 
if { (ac_try="$ac_compile"
3714
 
case "(($ac_try" in
3715
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716
 
  *) ac_try_echo=$ac_try;;
3717
 
esac
3718
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3719
 
$as_echo "$ac_try_echo") >&5
3720
 
  (eval "$ac_compile") 2>conftest.er1
3721
 
  ac_status=$?
3722
 
  grep -v '^ *+' conftest.er1 >conftest.err
3723
 
  rm -f conftest.er1
3724
 
  cat conftest.err >&5
3725
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726
 
  (exit $ac_status); } && {
3727
 
         test -z "$ac_c_werror_flag" ||
3728
 
         test ! -s conftest.err
3729
 
       } && test -s conftest.$ac_objext; then
 
3660
  if ac_fn_c_try_compile "$LINENO"; then :
3730
3661
  ac_cv_prog_cc_c89=$ac_arg
3731
 
else
3732
 
  $as_echo "$as_me: failed program was:" >&5
3733
 
sed 's/^/| /' conftest.$ac_ext >&5
3734
 
 
3735
 
 
3736
3662
fi
3737
 
 
3738
3663
rm -f core conftest.err conftest.$ac_objext
3739
3664
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3740
3665
done
3745
3670
# AC_CACHE_VAL
3746
3671
case "x$ac_cv_prog_cc_c89" in
3747
3672
  x)
3748
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3673
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3749
3674
$as_echo "none needed" >&6; } ;;
3750
3675
  xno)
3751
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3676
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3752
3677
$as_echo "unsupported" >&6; } ;;
3753
3678
  *)
3754
3679
    CC="$CC $ac_cv_prog_cc_c89"
3755
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3680
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3756
3681
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3757
3682
esac
 
3683
if test "x$ac_cv_prog_cc_c89" != xno; then :
3758
3684
 
 
3685
fi
3759
3686
 
3760
3687
ac_ext=c
3761
3688
ac_cpp='$CPP $CPPFLAGS'
3774
3701
.PHONY: am__doit
3775
3702
END
3776
3703
# If we don't find an include directive, just comment out the code.
3777
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3778
3705
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3779
3706
am__include="#"
3780
3707
am__quote=
3802
3729
fi
3803
3730
 
3804
3731
 
3805
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3806
3733
$as_echo "$_am_result" >&6; }
3807
3734
rm -f confinc confmf
3808
3735
 
3809
3736
# Check whether --enable-dependency-tracking was given.
3810
 
if test "${enable_dependency_tracking+set}" = set; then
 
3737
if test "${enable_dependency_tracking+set}" = set; then :
3811
3738
  enableval=$enable_dependency_tracking;
3812
3739
fi
3813
3740
 
3827
3754
 
3828
3755
depcc="$CC"   am_compiler_list=
3829
3756
 
3830
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3831
3758
$as_echo_n "checking dependency style of $depcc... " >&6; }
3832
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3759
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3833
3760
  $as_echo_n "(cached) " >&6
3834
3761
else
3835
3762
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3937
3864
fi
3938
3865
 
3939
3866
fi
3940
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3941
3868
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3942
3869
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3943
3870
 
3952
3879
fi
3953
3880
 
3954
3881
 
3955
 
# Find a good install program.  We prefer a C program (faster),
3956
 
# so one script is as good as another.  But avoid the broken or
3957
 
# incompatible versions:
3958
 
# SysV /etc/install, /usr/sbin/install
3959
 
# SunOS /usr/etc/install
3960
 
# IRIX /sbin/install
3961
 
# AIX /bin/install
3962
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
3963
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3964
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3965
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3966
 
# OS/2's system install, which has a completely different semantic
3967
 
# ./install, which can be erroneously created by make from ./install.sh.
3968
 
# Reject install programs that cannot install multiple files.
3969
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3970
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3971
 
if test -z "$INSTALL"; then
3972
 
if test "${ac_cv_path_install+set}" = set; then
3973
 
  $as_echo_n "(cached) " >&6
3974
 
else
3975
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976
 
for as_dir in $PATH
3977
 
do
3978
 
  IFS=$as_save_IFS
3979
 
  test -z "$as_dir" && as_dir=.
3980
 
  # Account for people who put trailing slashes in PATH elements.
3981
 
case $as_dir/ in
3982
 
  ./ | .// | /cC/* | \
3983
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3984
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3985
 
  /usr/ucb/* ) ;;
3986
 
  *)
3987
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
3988
 
    # Don't use installbsd from OSF since it installs stuff as root
3989
 
    # by default.
3990
 
    for ac_prog in ginstall scoinst install; do
3991
 
      for ac_exec_ext in '' $ac_executable_extensions; do
3992
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3993
 
          if test $ac_prog = install &&
3994
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3995
 
            # AIX install.  It has an incompatible calling convention.
3996
 
            :
3997
 
          elif test $ac_prog = install &&
3998
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3999
 
            # program-specific install script used by HP pwplus--don't use.
4000
 
            :
4001
 
          else
4002
 
            rm -rf conftest.one conftest.two conftest.dir
4003
 
            echo one > conftest.one
4004
 
            echo two > conftest.two
4005
 
            mkdir conftest.dir
4006
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4007
 
              test -s conftest.one && test -s conftest.two &&
4008
 
              test -s conftest.dir/conftest.one &&
4009
 
              test -s conftest.dir/conftest.two
4010
 
            then
4011
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4012
 
              break 3
4013
 
            fi
4014
 
          fi
4015
 
        fi
4016
 
      done
4017
 
    done
4018
 
    ;;
4019
 
esac
4020
 
 
4021
 
done
4022
 
IFS=$as_save_IFS
4023
 
 
4024
 
rm -rf conftest.one conftest.two conftest.dir
4025
 
 
4026
 
fi
4027
 
  if test "${ac_cv_path_install+set}" = set; then
4028
 
    INSTALL=$ac_cv_path_install
4029
 
  else
4030
 
    # As a last resort, use the slow shell script.  Don't cache a
4031
 
    # value for INSTALL within a source directory, because that will
4032
 
    # break other packages using the cache if that directory is
4033
 
    # removed, or if the value is a relative name.
4034
 
    INSTALL=$ac_install_sh
4035
 
  fi
4036
 
fi
4037
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4038
 
$as_echo "$INSTALL" >&6; }
4039
 
 
4040
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4041
 
# It thinks the first close brace ends the variable substitution.
4042
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4043
 
 
4044
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4045
 
 
4046
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4047
3882
 
4048
3883
 
4049
3884
# Check whether --enable-static was given.
4050
 
if test "${enable_static+set}" = set; then
 
3885
if test "${enable_static+set}" = set; then :
4051
3886
  enableval=$enable_static; p=${PACKAGE-default}
4052
3887
    case $enableval in
4053
3888
    yes) enable_static=yes ;;
4079
3914
 
4080
3915
case `pwd` in
4081
3916
  *\ * | *\     *)
4082
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
3917
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4083
3918
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4084
3919
esac
4085
3920
 
4086
3921
 
4087
3922
 
4088
 
macro_version='2.2.6'
4089
 
macro_revision='1.3012'
 
3923
macro_version='2.2.10'
 
3924
macro_revision='1.3175'
4090
3925
 
4091
3926
 
4092
3927
 
4104
3939
 
4105
3940
# Make sure we can run config.sub.
4106
3941
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4107
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4108
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4109
 
   { (exit 1); exit 1; }; }
 
3942
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4110
3943
 
4111
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
3944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4112
3945
$as_echo_n "checking build system type... " >&6; }
4113
 
if test "${ac_cv_build+set}" = set; then
 
3946
if test "${ac_cv_build+set}" = set; then :
4114
3947
  $as_echo_n "(cached) " >&6
4115
3948
else
4116
3949
  ac_build_alias=$build_alias
4117
3950
test "x$ac_build_alias" = x &&
4118
3951
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4119
3952
test "x$ac_build_alias" = x &&
4120
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4121
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4122
 
   { (exit 1); exit 1; }; }
 
3953
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4123
3954
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4124
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4125
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4126
 
   { (exit 1); exit 1; }; }
 
3955
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4127
3956
 
4128
3957
fi
4129
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4130
3959
$as_echo "$ac_cv_build" >&6; }
4131
3960
case $ac_cv_build in
4132
3961
*-*-*) ;;
4133
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4134
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4135
 
   { (exit 1); exit 1; }; };;
 
3962
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4136
3963
esac
4137
3964
build=$ac_cv_build
4138
3965
ac_save_IFS=$IFS; IFS='-'
4148
3975
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4149
3976
 
4150
3977
 
4151
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
3978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4152
3979
$as_echo_n "checking host system type... " >&6; }
4153
 
if test "${ac_cv_host+set}" = set; then
 
3980
if test "${ac_cv_host+set}" = set; then :
4154
3981
  $as_echo_n "(cached) " >&6
4155
3982
else
4156
3983
  if test "x$host_alias" = x; then
4157
3984
  ac_cv_host=$ac_cv_build
4158
3985
else
4159
3986
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4160
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4161
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4162
 
   { (exit 1); exit 1; }; }
 
3987
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4163
3988
fi
4164
3989
 
4165
3990
fi
4166
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4167
3992
$as_echo "$ac_cv_host" >&6; }
4168
3993
case $ac_cv_host in
4169
3994
*-*-*) ;;
4170
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4171
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4172
 
   { (exit 1); exit 1; }; };;
 
3995
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4173
3996
esac
4174
3997
host=$ac_cv_host
4175
3998
ac_save_IFS=$IFS; IFS='-'
4185
4008
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4186
4009
 
4187
4010
 
4188
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4011
# Backslashify metacharacters that are still active within
 
4012
# double-quoted strings.
 
4013
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4014
 
 
4015
# Same as above, but do not quote variable references.
 
4016
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4017
 
 
4018
# Sed substitution to delay expansion of an escaped shell variable in a
 
4019
# double_quote_subst'ed string.
 
4020
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4021
 
 
4022
# Sed substitution to delay expansion of an escaped single quote.
 
4023
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4024
 
 
4025
# Sed substitution to avoid accidental globbing in evaled expressions
 
4026
no_glob_subst='s/\*/\\\*/g'
 
4027
 
 
4028
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4029
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4030
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4031
 
 
4032
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4033
$as_echo_n "checking how to print strings... " >&6; }
 
4034
# Test print first, because it will be a builtin if present.
 
4035
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
4036
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4037
  ECHO='print -r --'
 
4038
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4039
  ECHO='printf %s\n'
 
4040
else
 
4041
  # Use this function as a fallback that always works.
 
4042
  func_fallback_echo ()
 
4043
  {
 
4044
    eval 'cat <<_LTECHO_EOF
 
4045
$1
 
4046
_LTECHO_EOF'
 
4047
  }
 
4048
  ECHO='func_fallback_echo'
 
4049
fi
 
4050
 
 
4051
# func_echo_all arg...
 
4052
# Invoke $ECHO with all args, space-separated.
 
4053
func_echo_all ()
 
4054
{
 
4055
    $ECHO ""
 
4056
}
 
4057
 
 
4058
case "$ECHO" in
 
4059
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4060
$as_echo "printf" >&6; } ;;
 
4061
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4062
$as_echo "print -r" >&6; } ;;
 
4063
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4064
$as_echo "cat" >&6; } ;;
 
4065
esac
 
4066
 
 
4067
 
 
4068
 
 
4069
 
 
4070
 
 
4071
 
 
4072
 
 
4073
 
 
4074
 
 
4075
 
 
4076
 
 
4077
 
 
4078
 
 
4079
 
 
4080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4189
4081
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4190
 
if test "${ac_cv_path_SED+set}" = set; then
 
4082
if test "${ac_cv_path_SED+set}" = set; then :
4191
4083
  $as_echo_n "(cached) " >&6
4192
4084
else
4193
4085
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4195
4087
       ac_script="$ac_script$as_nl$ac_script"
4196
4088
     done
4197
4089
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4198
 
     $as_unset ac_script || ac_script=
 
4090
     { ac_script=; unset ac_script;}
4199
4091
     if test -z "$SED"; then
4200
4092
  ac_path_SED_found=false
4201
4093
  # Loop through the user's path and test for each of PROGNAME-LIST
4204
4096
do
4205
4097
  IFS=$as_save_IFS
4206
4098
  test -z "$as_dir" && as_dir=.
4207
 
  for ac_prog in sed gsed; do
 
4099
    for ac_prog in sed gsed; do
4208
4100
    for ac_exec_ext in '' $ac_executable_extensions; do
4209
4101
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4210
4102
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4224
4116
    $as_echo '' >> "conftest.nl"
4225
4117
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4226
4118
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4227
 
    ac_count=`expr $ac_count + 1`
 
4119
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4228
4120
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4229
4121
      # Best one so far, save it but keep looking for a better one
4230
4122
      ac_cv_path_SED="$ac_path_SED"
4239
4131
      $ac_path_SED_found && break 3
4240
4132
    done
4241
4133
  done
4242
 
done
 
4134
  done
4243
4135
IFS=$as_save_IFS
4244
4136
  if test -z "$ac_cv_path_SED"; then
4245
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4246
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4247
 
   { (exit 1); exit 1; }; }
 
4137
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4248
4138
  fi
4249
4139
else
4250
4140
  ac_cv_path_SED=$SED
4251
4141
fi
4252
4142
 
4253
4143
fi
4254
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4255
4145
$as_echo "$ac_cv_path_SED" >&6; }
4256
4146
 SED="$ac_cv_path_SED"
4257
4147
  rm -f conftest.sed
4269
4159
 
4270
4160
 
4271
4161
 
4272
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4273
4163
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4274
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4164
if test "${ac_cv_path_GREP+set}" = set; then :
4275
4165
  $as_echo_n "(cached) " >&6
4276
4166
else
4277
4167
  if test -z "$GREP"; then
4282
4172
do
4283
4173
  IFS=$as_save_IFS
4284
4174
  test -z "$as_dir" && as_dir=.
4285
 
  for ac_prog in grep ggrep; do
 
4175
    for ac_prog in grep ggrep; do
4286
4176
    for ac_exec_ext in '' $ac_executable_extensions; do
4287
4177
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4288
4178
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4302
4192
    $as_echo 'GREP' >> "conftest.nl"
4303
4193
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4304
4194
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4305
 
    ac_count=`expr $ac_count + 1`
 
4195
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4306
4196
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4307
4197
      # Best one so far, save it but keep looking for a better one
4308
4198
      ac_cv_path_GREP="$ac_path_GREP"
4317
4207
      $ac_path_GREP_found && break 3
4318
4208
    done
4319
4209
  done
4320
 
done
 
4210
  done
4321
4211
IFS=$as_save_IFS
4322
4212
  if test -z "$ac_cv_path_GREP"; then
4323
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4324
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4325
 
   { (exit 1); exit 1; }; }
 
4213
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4326
4214
  fi
4327
4215
else
4328
4216
  ac_cv_path_GREP=$GREP
4329
4217
fi
4330
4218
 
4331
4219
fi
4332
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4333
4221
$as_echo "$ac_cv_path_GREP" >&6; }
4334
4222
 GREP="$ac_cv_path_GREP"
4335
4223
 
4336
4224
 
4337
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4225
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4338
4226
$as_echo_n "checking for egrep... " >&6; }
4339
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4227
if test "${ac_cv_path_EGREP+set}" = set; then :
4340
4228
  $as_echo_n "(cached) " >&6
4341
4229
else
4342
4230
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4350
4238
do
4351
4239
  IFS=$as_save_IFS
4352
4240
  test -z "$as_dir" && as_dir=.
4353
 
  for ac_prog in egrep; do
 
4241
    for ac_prog in egrep; do
4354
4242
    for ac_exec_ext in '' $ac_executable_extensions; do
4355
4243
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4356
4244
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4370
4258
    $as_echo 'EGREP' >> "conftest.nl"
4371
4259
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4372
4260
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4373
 
    ac_count=`expr $ac_count + 1`
 
4261
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4374
4262
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4375
4263
      # Best one so far, save it but keep looking for a better one
4376
4264
      ac_cv_path_EGREP="$ac_path_EGREP"
4385
4273
      $ac_path_EGREP_found && break 3
4386
4274
    done
4387
4275
  done
4388
 
done
 
4276
  done
4389
4277
IFS=$as_save_IFS
4390
4278
  if test -z "$ac_cv_path_EGREP"; then
4391
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4392
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4393
 
   { (exit 1); exit 1; }; }
 
4279
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4394
4280
  fi
4395
4281
else
4396
4282
  ac_cv_path_EGREP=$EGREP
4398
4284
 
4399
4285
   fi
4400
4286
fi
4401
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4402
4288
$as_echo "$ac_cv_path_EGREP" >&6; }
4403
4289
 EGREP="$ac_cv_path_EGREP"
4404
4290
 
4405
4291
 
4406
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4407
4293
$as_echo_n "checking for fgrep... " >&6; }
4408
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
4294
if test "${ac_cv_path_FGREP+set}" = set; then :
4409
4295
  $as_echo_n "(cached) " >&6
4410
4296
else
4411
4297
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4419
4305
do
4420
4306
  IFS=$as_save_IFS
4421
4307
  test -z "$as_dir" && as_dir=.
4422
 
  for ac_prog in fgrep; do
 
4308
    for ac_prog in fgrep; do
4423
4309
    for ac_exec_ext in '' $ac_executable_extensions; do
4424
4310
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4425
4311
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4439
4325
    $as_echo 'FGREP' >> "conftest.nl"
4440
4326
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4441
4327
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4442
 
    ac_count=`expr $ac_count + 1`
 
4328
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4443
4329
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4444
4330
      # Best one so far, save it but keep looking for a better one
4445
4331
      ac_cv_path_FGREP="$ac_path_FGREP"
4454
4340
      $ac_path_FGREP_found && break 3
4455
4341
    done
4456
4342
  done
4457
 
done
 
4343
  done
4458
4344
IFS=$as_save_IFS
4459
4345
  if test -z "$ac_cv_path_FGREP"; then
4460
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4461
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4462
 
   { (exit 1); exit 1; }; }
 
4346
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4463
4347
  fi
4464
4348
else
4465
4349
  ac_cv_path_FGREP=$FGREP
4467
4351
 
4468
4352
   fi
4469
4353
fi
4470
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4471
4355
$as_echo "$ac_cv_path_FGREP" >&6; }
4472
4356
 FGREP="$ac_cv_path_FGREP"
4473
4357
 
4493
4377
 
4494
4378
 
4495
4379
# Check whether --with-gnu-ld was given.
4496
 
if test "${with_gnu_ld+set}" = set; then
 
4380
if test "${with_gnu_ld+set}" = set; then :
4497
4381
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4498
4382
else
4499
4383
  with_gnu_ld=no
4502
4386
ac_prog=ld
4503
4387
if test "$GCC" = yes; then
4504
4388
  # Check if gcc -print-prog-name=ld gives a path.
4505
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4389
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4506
4390
$as_echo_n "checking for ld used by $CC... " >&6; }
4507
4391
  case $host in
4508
4392
  *-*-mingw*)
4532
4416
    ;;
4533
4417
  esac
4534
4418
elif test "$with_gnu_ld" = yes; then
4535
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4419
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4536
4420
$as_echo_n "checking for GNU ld... " >&6; }
4537
4421
else
4538
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4422
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4539
4423
$as_echo_n "checking for non-GNU ld... " >&6; }
4540
4424
fi
4541
 
if test "${lt_cv_path_LD+set}" = set; then
 
4425
if test "${lt_cv_path_LD+set}" = set; then :
4542
4426
  $as_echo_n "(cached) " >&6
4543
4427
else
4544
4428
  if test -z "$LD"; then
4569
4453
 
4570
4454
LD="$lt_cv_path_LD"
4571
4455
if test -n "$LD"; then
4572
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4456
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4573
4457
$as_echo "$LD" >&6; }
4574
4458
else
4575
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4459
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4576
4460
$as_echo "no" >&6; }
4577
4461
fi
4578
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4579
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4580
 
   { (exit 1); exit 1; }; }
4581
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4462
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
4463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4582
4464
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4583
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
4465
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4584
4466
  $as_echo_n "(cached) " >&6
4585
4467
else
4586
4468
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4593
4475
  ;;
4594
4476
esac
4595
4477
fi
4596
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4597
4479
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4598
4480
with_gnu_ld=$lt_cv_prog_gnu_ld
4599
4481
 
4605
4487
 
4606
4488
 
4607
4489
 
4608
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4609
4491
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4610
 
if test "${lt_cv_path_NM+set}" = set; then
 
4492
if test "${lt_cv_path_NM+set}" = set; then :
4611
4493
  $as_echo_n "(cached) " >&6
4612
4494
else
4613
4495
  if test -n "$NM"; then
4654
4536
  : ${lt_cv_path_NM=no}
4655
4537
fi
4656
4538
fi
4657
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4658
4540
$as_echo "$lt_cv_path_NM" >&6; }
4659
4541
if test "$lt_cv_path_NM" != "no"; then
4660
4542
  NM="$lt_cv_path_NM"
4661
4543
else
4662
4544
  # Didn't find any BSD compatible name lister, look for dumpbin.
4663
 
  if test -n "$ac_tool_prefix"; then
4664
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4545
  if test -n "$DUMPBIN"; then :
 
4546
    # Let the user override the test.
 
4547
  else
 
4548
    if test -n "$ac_tool_prefix"; then
 
4549
  for ac_prog in dumpbin "link -dump"
4665
4550
  do
4666
4551
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4667
4552
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4668
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4669
4554
$as_echo_n "checking for $ac_word... " >&6; }
4670
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4555
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4671
4556
  $as_echo_n "(cached) " >&6
4672
4557
else
4673
4558
  if test -n "$DUMPBIN"; then
4678
4563
do
4679
4564
  IFS=$as_save_IFS
4680
4565
  test -z "$as_dir" && as_dir=.
4681
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4566
    for ac_exec_ext in '' $ac_executable_extensions; do
4682
4567
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4683
4568
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4684
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4569
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4685
4570
    break 2
4686
4571
  fi
4687
4572
done
4688
 
done
 
4573
  done
4689
4574
IFS=$as_save_IFS
4690
4575
 
4691
4576
fi
4692
4577
fi
4693
4578
DUMPBIN=$ac_cv_prog_DUMPBIN
4694
4579
if test -n "$DUMPBIN"; then
4695
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
4580
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4696
4581
$as_echo "$DUMPBIN" >&6; }
4697
4582
else
4698
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4583
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4699
4584
$as_echo "no" >&6; }
4700
4585
fi
4701
4586
 
4705
4590
fi
4706
4591
if test -z "$DUMPBIN"; then
4707
4592
  ac_ct_DUMPBIN=$DUMPBIN
4708
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4593
  for ac_prog in dumpbin "link -dump"
4709
4594
do
4710
4595
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4711
4596
set dummy $ac_prog; ac_word=$2
4712
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713
4598
$as_echo_n "checking for $ac_word... " >&6; }
4714
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
4599
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4715
4600
  $as_echo_n "(cached) " >&6
4716
4601
else
4717
4602
  if test -n "$ac_ct_DUMPBIN"; then
4722
4607
do
4723
4608
  IFS=$as_save_IFS
4724
4609
  test -z "$as_dir" && as_dir=.
4725
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4610
    for ac_exec_ext in '' $ac_executable_extensions; do
4726
4611
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4727
4612
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4728
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4613
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4729
4614
    break 2
4730
4615
  fi
4731
4616
done
4732
 
done
 
4617
  done
4733
4618
IFS=$as_save_IFS
4734
4619
 
4735
4620
fi
4736
4621
fi
4737
4622
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4738
4623
if test -n "$ac_ct_DUMPBIN"; then
4739
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
4624
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4740
4625
$as_echo "$ac_ct_DUMPBIN" >&6; }
4741
4626
else
4742
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4627
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743
4628
$as_echo "no" >&6; }
4744
4629
fi
4745
4630
 
4752
4637
  else
4753
4638
    case $cross_compiling:$ac_tool_warned in
4754
4639
yes:)
4755
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4640
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4756
4641
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4757
4642
ac_tool_warned=yes ;;
4758
4643
esac
4760
4645
  fi
4761
4646
fi
4762
4647
 
 
4648
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4649
    *COFF*)
 
4650
      DUMPBIN="$DUMPBIN -symbols"
 
4651
      ;;
 
4652
    *)
 
4653
      DUMPBIN=:
 
4654
      ;;
 
4655
    esac
 
4656
  fi
4763
4657
 
4764
4658
  if test "$DUMPBIN" != ":"; then
4765
4659
    NM="$DUMPBIN"
4772
4666
 
4773
4667
 
4774
4668
 
4775
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
4669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4776
4670
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4777
 
if test "${lt_cv_nm_interface+set}" = set; then
 
4671
if test "${lt_cv_nm_interface+set}" = set; then :
4778
4672
  $as_echo_n "(cached) " >&6
4779
4673
else
4780
4674
  lt_cv_nm_interface="BSD nm"
4781
4675
  echo "int some_variable = 0;" > conftest.$ac_ext
4782
 
  (eval echo "\"\$as_me:4782: $ac_compile\"" >&5)
 
4676
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4783
4677
  (eval "$ac_compile" 2>conftest.err)
4784
4678
  cat conftest.err >&5
4785
 
  (eval echo "\"\$as_me:4785: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4679
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4786
4680
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4787
4681
  cat conftest.err >&5
4788
 
  (eval echo "\"\$as_me:4788: output\"" >&5)
 
4682
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4789
4683
  cat conftest.out >&5
4790
4684
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4791
4685
    lt_cv_nm_interface="MS dumpbin"
4792
4686
  fi
4793
4687
  rm -f conftest*
4794
4688
fi
4795
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
4689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4796
4690
$as_echo "$lt_cv_nm_interface" >&6; }
4797
4691
 
4798
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4799
4693
$as_echo_n "checking whether ln -s works... " >&6; }
4800
4694
LN_S=$as_ln_s
4801
4695
if test "$LN_S" = "ln -s"; then
4802
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4803
4697
$as_echo "yes" >&6; }
4804
4698
else
4805
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4806
4700
$as_echo "no, using $LN_S" >&6; }
4807
4701
fi
4808
4702
 
4809
4703
# find the maximum length of command line arguments
4810
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
4704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4811
4705
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4812
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
4706
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4813
4707
  $as_echo_n "(cached) " >&6
4814
4708
else
4815
4709
    i=0
4842
4736
    lt_cv_sys_max_cmd_len=8192;
4843
4737
    ;;
4844
4738
 
 
4739
  mint*)
 
4740
    # On MiNT this can take a long time and run out of memory.
 
4741
    lt_cv_sys_max_cmd_len=8192;
 
4742
    ;;
 
4743
 
4845
4744
  amigaos*)
4846
4745
    # On AmigaOS with pdksh, this test takes hours, literally.
4847
4746
    # So we just punt and use a minimum line length of 8192.
4906
4805
      # If test is not a shell built-in, we'll probably end up computing a
4907
4806
      # maximum length that is only half of the actual maximum length, but
4908
4807
      # we can't tell.
4909
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4910
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4808
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
4809
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4911
4810
              test $i != 17 # 1/2 MB should be enough
4912
4811
      do
4913
4812
        i=`expr $i + 1`
4927
4826
fi
4928
4827
 
4929
4828
if test -n $lt_cv_sys_max_cmd_len ; then
4930
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
4829
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4931
4830
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4932
4831
else
4933
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
4832
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4934
4833
$as_echo "none" >&6; }
4935
4834
fi
4936
4835
max_cmd_len=$lt_cv_sys_max_cmd_len
4944
4843
: ${MV="mv -f"}
4945
4844
: ${RM="rm -f"}
4946
4845
 
4947
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
4846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4948
4847
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4949
4848
# Try some XSI features
4950
4849
xsi_shell=no
4954
4853
    && eval 'test $(( 1 + 1 )) -eq 2 \
4955
4854
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4956
4855
  && xsi_shell=yes
4957
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
4856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4958
4857
$as_echo "$xsi_shell" >&6; }
4959
4858
 
4960
4859
 
4961
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
4860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4962
4861
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4963
4862
lt_shell_append=no
4964
4863
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4965
4864
    >/dev/null 2>&1 \
4966
4865
  && lt_shell_append=yes
4967
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
4866
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4968
4867
$as_echo "$lt_shell_append" >&6; }
4969
4868
 
4970
4869
 
4999
4898
 
5000
4899
 
5001
4900
 
5002
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5003
4902
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5004
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
4903
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5005
4904
  $as_echo_n "(cached) " >&6
5006
4905
else
5007
4906
  lt_cv_ld_reload_flag='-r'
5008
4907
fi
5009
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5010
4909
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5011
4910
reload_flag=$lt_cv_ld_reload_flag
5012
4911
case $reload_flag in
5035
4934
if test -n "$ac_tool_prefix"; then
5036
4935
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5037
4936
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5038
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039
4938
$as_echo_n "checking for $ac_word... " >&6; }
5040
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
4939
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5041
4940
  $as_echo_n "(cached) " >&6
5042
4941
else
5043
4942
  if test -n "$OBJDUMP"; then
5048
4947
do
5049
4948
  IFS=$as_save_IFS
5050
4949
  test -z "$as_dir" && as_dir=.
5051
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4950
    for ac_exec_ext in '' $ac_executable_extensions; do
5052
4951
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5053
4952
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5054
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4953
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055
4954
    break 2
5056
4955
  fi
5057
4956
done
5058
 
done
 
4957
  done
5059
4958
IFS=$as_save_IFS
5060
4959
 
5061
4960
fi
5062
4961
fi
5063
4962
OBJDUMP=$ac_cv_prog_OBJDUMP
5064
4963
if test -n "$OBJDUMP"; then
5065
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
4964
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5066
4965
$as_echo "$OBJDUMP" >&6; }
5067
4966
else
5068
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4967
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069
4968
$as_echo "no" >&6; }
5070
4969
fi
5071
4970
 
5075
4974
  ac_ct_OBJDUMP=$OBJDUMP
5076
4975
  # Extract the first word of "objdump", so it can be a program name with args.
5077
4976
set dummy objdump; ac_word=$2
5078
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079
4978
$as_echo_n "checking for $ac_word... " >&6; }
5080
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
4979
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5081
4980
  $as_echo_n "(cached) " >&6
5082
4981
else
5083
4982
  if test -n "$ac_ct_OBJDUMP"; then
5088
4987
do
5089
4988
  IFS=$as_save_IFS
5090
4989
  test -z "$as_dir" && as_dir=.
5091
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4990
    for ac_exec_ext in '' $ac_executable_extensions; do
5092
4991
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5093
4992
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5094
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4993
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095
4994
    break 2
5096
4995
  fi
5097
4996
done
5098
 
done
 
4997
  done
5099
4998
IFS=$as_save_IFS
5100
4999
 
5101
5000
fi
5102
5001
fi
5103
5002
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5104
5003
if test -n "$ac_ct_OBJDUMP"; then
5105
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5004
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5106
5005
$as_echo "$ac_ct_OBJDUMP" >&6; }
5107
5006
else
5108
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5007
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109
5008
$as_echo "no" >&6; }
5110
5009
fi
5111
5010
 
5114
5013
  else
5115
5014
    case $cross_compiling:$ac_tool_warned in
5116
5015
yes:)
5117
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5016
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5118
5017
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5119
5018
ac_tool_warned=yes ;;
5120
5019
esac
5134
5033
 
5135
5034
 
5136
5035
 
5137
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5138
5037
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5139
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5038
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5140
5039
  $as_echo_n "(cached) " >&6
5141
5040
else
5142
5041
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5178
5077
  # Base MSYS/MinGW do not provide the 'file' command needed by
5179
5078
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5180
5079
  # unless we find 'file', for example because we are cross-compiling.
5181
 
  if ( file / ) >/dev/null 2>&1; then
 
5080
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5081
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5182
5082
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5183
5083
    lt_cv_file_magic_cmd='func_win32_libid'
5184
5084
  else
5185
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5085
    # Keep this pattern in sync with the one in func_win32_libid.
 
5086
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5186
5087
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5187
5088
  fi
5188
5089
  ;;
5189
5090
 
5190
 
cegcc)
 
5091
cegcc*)
5191
5092
  # use the weaker test based on 'objdump'. See mingw*.
5192
5093
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5193
5094
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5217
5118
  lt_cv_deplibs_check_method=pass_all
5218
5119
  ;;
5219
5120
 
 
5121
haiku*)
 
5122
  lt_cv_deplibs_check_method=pass_all
 
5123
  ;;
 
5124
 
5220
5125
hpux10.20* | hpux11*)
5221
5126
  lt_cv_file_magic_cmd=/usr/bin/file
5222
5127
  case $host_cpu in
5225
5130
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5226
5131
    ;;
5227
5132
  hppa*64*)
5228
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
5133
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5229
5134
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5230
5135
    ;;
5231
5136
  *)
5232
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5137
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5233
5138
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5234
5139
    ;;
5235
5140
  esac
5251
5156
  ;;
5252
5157
 
5253
5158
# This must be Linux ELF.
5254
 
linux* | k*bsd*-gnu)
 
5159
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5255
5160
  lt_cv_deplibs_check_method=pass_all
5256
5161
  ;;
5257
5162
 
5330
5235
esac
5331
5236
 
5332
5237
fi
5333
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5334
5239
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5335
5240
file_magic_cmd=$lt_cv_file_magic_cmd
5336
5241
deplibs_check_method=$lt_cv_deplibs_check_method
5350
5255
if test -n "$ac_tool_prefix"; then
5351
5256
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5352
5257
set dummy ${ac_tool_prefix}ar; ac_word=$2
5353
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354
5259
$as_echo_n "checking for $ac_word... " >&6; }
5355
 
if test "${ac_cv_prog_AR+set}" = set; then
 
5260
if test "${ac_cv_prog_AR+set}" = set; then :
5356
5261
  $as_echo_n "(cached) " >&6
5357
5262
else
5358
5263
  if test -n "$AR"; then
5363
5268
do
5364
5269
  IFS=$as_save_IFS
5365
5270
  test -z "$as_dir" && as_dir=.
5366
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5271
    for ac_exec_ext in '' $ac_executable_extensions; do
5367
5272
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5368
5273
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5369
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5274
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370
5275
    break 2
5371
5276
  fi
5372
5277
done
5373
 
done
 
5278
  done
5374
5279
IFS=$as_save_IFS
5375
5280
 
5376
5281
fi
5377
5282
fi
5378
5283
AR=$ac_cv_prog_AR
5379
5284
if test -n "$AR"; then
5380
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5285
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5381
5286
$as_echo "$AR" >&6; }
5382
5287
else
5383
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5288
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384
5289
$as_echo "no" >&6; }
5385
5290
fi
5386
5291
 
5390
5295
  ac_ct_AR=$AR
5391
5296
  # Extract the first word of "ar", so it can be a program name with args.
5392
5297
set dummy ar; ac_word=$2
5393
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394
5299
$as_echo_n "checking for $ac_word... " >&6; }
5395
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5300
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5396
5301
  $as_echo_n "(cached) " >&6
5397
5302
else
5398
5303
  if test -n "$ac_ct_AR"; then
5403
5308
do
5404
5309
  IFS=$as_save_IFS
5405
5310
  test -z "$as_dir" && as_dir=.
5406
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5311
    for ac_exec_ext in '' $ac_executable_extensions; do
5407
5312
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408
5313
    ac_cv_prog_ac_ct_AR="ar"
5409
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5314
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410
5315
    break 2
5411
5316
  fi
5412
5317
done
5413
 
done
 
5318
  done
5414
5319
IFS=$as_save_IFS
5415
5320
 
5416
5321
fi
5417
5322
fi
5418
5323
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5419
5324
if test -n "$ac_ct_AR"; then
5420
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5325
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5421
5326
$as_echo "$ac_ct_AR" >&6; }
5422
5327
else
5423
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5328
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424
5329
$as_echo "no" >&6; }
5425
5330
fi
5426
5331
 
5429
5334
  else
5430
5335
    case $cross_compiling:$ac_tool_warned in
5431
5336
yes:)
5432
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5337
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5433
5338
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5434
5339
ac_tool_warned=yes ;;
5435
5340
esac
5455
5360
if test -n "$ac_tool_prefix"; then
5456
5361
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5457
5362
set dummy ${ac_tool_prefix}strip; ac_word=$2
5458
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5459
5364
$as_echo_n "checking for $ac_word... " >&6; }
5460
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5365
if test "${ac_cv_prog_STRIP+set}" = set; then :
5461
5366
  $as_echo_n "(cached) " >&6
5462
5367
else
5463
5368
  if test -n "$STRIP"; then
5468
5373
do
5469
5374
  IFS=$as_save_IFS
5470
5375
  test -z "$as_dir" && as_dir=.
5471
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5376
    for ac_exec_ext in '' $ac_executable_extensions; do
5472
5377
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5473
5378
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5474
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5379
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5475
5380
    break 2
5476
5381
  fi
5477
5382
done
5478
 
done
 
5383
  done
5479
5384
IFS=$as_save_IFS
5480
5385
 
5481
5386
fi
5482
5387
fi
5483
5388
STRIP=$ac_cv_prog_STRIP
5484
5389
if test -n "$STRIP"; then
5485
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5390
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5486
5391
$as_echo "$STRIP" >&6; }
5487
5392
else
5488
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5489
5394
$as_echo "no" >&6; }
5490
5395
fi
5491
5396
 
5495
5400
  ac_ct_STRIP=$STRIP
5496
5401
  # Extract the first word of "strip", so it can be a program name with args.
5497
5402
set dummy strip; ac_word=$2
5498
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499
5404
$as_echo_n "checking for $ac_word... " >&6; }
5500
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5405
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5501
5406
  $as_echo_n "(cached) " >&6
5502
5407
else
5503
5408
  if test -n "$ac_ct_STRIP"; then
5508
5413
do
5509
5414
  IFS=$as_save_IFS
5510
5415
  test -z "$as_dir" && as_dir=.
5511
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5416
    for ac_exec_ext in '' $ac_executable_extensions; do
5512
5417
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5513
5418
    ac_cv_prog_ac_ct_STRIP="strip"
5514
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5419
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515
5420
    break 2
5516
5421
  fi
5517
5422
done
5518
 
done
 
5423
  done
5519
5424
IFS=$as_save_IFS
5520
5425
 
5521
5426
fi
5522
5427
fi
5523
5428
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5524
5429
if test -n "$ac_ct_STRIP"; then
5525
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5430
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5526
5431
$as_echo "$ac_ct_STRIP" >&6; }
5527
5432
else
5528
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5433
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529
5434
$as_echo "no" >&6; }
5530
5435
fi
5531
5436
 
5534
5439
  else
5535
5440
    case $cross_compiling:$ac_tool_warned in
5536
5441
yes:)
5537
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5442
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5538
5443
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5539
5444
ac_tool_warned=yes ;;
5540
5445
esac
5554
5459
if test -n "$ac_tool_prefix"; then
5555
5460
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5556
5461
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5557
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5558
5463
$as_echo_n "checking for $ac_word... " >&6; }
5559
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5464
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5560
5465
  $as_echo_n "(cached) " >&6
5561
5466
else
5562
5467
  if test -n "$RANLIB"; then
5567
5472
do
5568
5473
  IFS=$as_save_IFS
5569
5474
  test -z "$as_dir" && as_dir=.
5570
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5475
    for ac_exec_ext in '' $ac_executable_extensions; do
5571
5476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5572
5477
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5573
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5478
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574
5479
    break 2
5575
5480
  fi
5576
5481
done
5577
 
done
 
5482
  done
5578
5483
IFS=$as_save_IFS
5579
5484
 
5580
5485
fi
5581
5486
fi
5582
5487
RANLIB=$ac_cv_prog_RANLIB
5583
5488
if test -n "$RANLIB"; then
5584
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5585
5490
$as_echo "$RANLIB" >&6; }
5586
5491
else
5587
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5492
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588
5493
$as_echo "no" >&6; }
5589
5494
fi
5590
5495
 
5594
5499
  ac_ct_RANLIB=$RANLIB
5595
5500
  # Extract the first word of "ranlib", so it can be a program name with args.
5596
5501
set dummy ranlib; ac_word=$2
5597
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5598
5503
$as_echo_n "checking for $ac_word... " >&6; }
5599
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5504
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5600
5505
  $as_echo_n "(cached) " >&6
5601
5506
else
5602
5507
  if test -n "$ac_ct_RANLIB"; then
5607
5512
do
5608
5513
  IFS=$as_save_IFS
5609
5514
  test -z "$as_dir" && as_dir=.
5610
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5515
    for ac_exec_ext in '' $ac_executable_extensions; do
5611
5516
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5612
5517
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5613
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5518
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5614
5519
    break 2
5615
5520
  fi
5616
5521
done
5617
 
done
 
5522
  done
5618
5523
IFS=$as_save_IFS
5619
5524
 
5620
5525
fi
5621
5526
fi
5622
5527
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5623
5528
if test -n "$ac_ct_RANLIB"; then
5624
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5529
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5625
5530
$as_echo "$ac_ct_RANLIB" >&6; }
5626
5531
else
5627
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5532
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5628
5533
$as_echo "no" >&6; }
5629
5534
fi
5630
5535
 
5633
5538
  else
5634
5539
    case $cross_compiling:$ac_tool_warned in
5635
5540
yes:)
5636
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5541
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5637
5542
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5638
5543
ac_tool_warned=yes ;;
5639
5544
esac
5667
5572
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5668
5573
fi
5669
5574
 
 
5575
case $host_os in
 
5576
  darwin*)
 
5577
    lock_old_archive_extraction=yes ;;
 
5578
  *)
 
5579
    lock_old_archive_extraction=no ;;
 
5580
esac
 
5581
 
 
5582
 
 
5583
 
 
5584
 
 
5585
 
 
5586
 
5670
5587
 
5671
5588
 
5672
5589
 
5711
5628
 
5712
5629
 
5713
5630
# Check for command to grab the raw symbol name followed by C symbol from nm.
5714
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5715
5632
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5716
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
5633
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5717
5634
  $as_echo_n "(cached) " >&6
5718
5635
else
5719
5636
 
5829
5746
int main(){nm_test_var='a';nm_test_func();return(0);}
5830
5747
_LT_EOF
5831
5748
 
5832
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5749
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5833
5750
  (eval $ac_compile) 2>&5
5834
5751
  ac_status=$?
5835
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836
 
  (exit $ac_status); }; then
 
5752
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5753
  test $ac_status = 0; }; then
5837
5754
    # Now try to grab the symbols.
5838
5755
    nlist=conftest.nm
5839
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5840
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
5756
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
5757
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5841
5758
  ac_status=$?
5842
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843
 
  (exit $ac_status); } && test -s "$nlist"; then
 
5759
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5760
  test $ac_status = 0; } && test -s "$nlist"; then
5844
5761
      # Try sorting and uniquifying the output.
5845
5762
      if sort "$nlist" | uniq > "$nlist"T; then
5846
5763
        mv -f "$nlist"T "$nlist"
5893
5810
          lt_save_CFLAGS="$CFLAGS"
5894
5811
          LIBS="conftstm.$ac_objext"
5895
5812
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5896
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5813
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5897
5814
  (eval $ac_link) 2>&5
5898
5815
  ac_status=$?
5899
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
5816
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5817
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5901
5818
            pipe_works=yes
5902
5819
          fi
5903
5820
          LIBS="$lt_save_LIBS"
5931
5848
  lt_cv_sys_global_symbol_to_cdecl=
5932
5849
fi
5933
5850
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5934
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
5851
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5935
5852
$as_echo "failed" >&6; }
5936
5853
else
5937
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
5854
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5938
5855
$as_echo "ok" >&6; }
5939
5856
fi
5940
5857
 
5961
5878
 
5962
5879
 
5963
5880
# Check whether --enable-libtool-lock was given.
5964
 
if test "${enable_libtool_lock+set}" = set; then
 
5881
if test "${enable_libtool_lock+set}" = set; then :
5965
5882
  enableval=$enable_libtool_lock;
5966
5883
fi
5967
5884
 
5973
5890
ia64-*-hpux*)
5974
5891
  # Find out which ABI we are using.
5975
5892
  echo 'int i;' > conftest.$ac_ext
5976
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5893
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5977
5894
  (eval $ac_compile) 2>&5
5978
5895
  ac_status=$?
5979
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980
 
  (exit $ac_status); }; then
 
5896
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5897
  test $ac_status = 0; }; then
5981
5898
    case `/usr/bin/file conftest.$ac_objext` in
5982
5899
      *ELF-32*)
5983
5900
        HPUX_IA64_MODE="32"
5991
5908
  ;;
5992
5909
*-*-irix6*)
5993
5910
  # Find out which ABI we are using.
5994
 
  echo '#line 5994 "configure"' > conftest.$ac_ext
5995
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5911
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
5912
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5996
5913
  (eval $ac_compile) 2>&5
5997
5914
  ac_status=$?
5998
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999
 
  (exit $ac_status); }; then
 
5915
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5916
  test $ac_status = 0; }; then
6000
5917
    if test "$lt_cv_prog_gnu_ld" = yes; then
6001
5918
      case `/usr/bin/file conftest.$ac_objext` in
6002
5919
        *32-bit*)
6030
5947
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6031
5948
  # Find out which ABI we are using.
6032
5949
  echo 'int i;' > conftest.$ac_ext
6033
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5950
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6034
5951
  (eval $ac_compile) 2>&5
6035
5952
  ac_status=$?
6036
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037
 
  (exit $ac_status); }; then
 
5953
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5954
  test $ac_status = 0; }; then
6038
5955
    case `/usr/bin/file conftest.o` in
6039
5956
      *32-bit*)
6040
5957
        case $host in
6083
6000
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6084
6001
  SAVE_CFLAGS="$CFLAGS"
6085
6002
  CFLAGS="$CFLAGS -belf"
6086
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6003
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6087
6004
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6088
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6005
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6089
6006
  $as_echo_n "(cached) " >&6
6090
6007
else
6091
6008
  ac_ext=c
6094
6011
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6095
6012
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6096
6013
 
6097
 
     cat >conftest.$ac_ext <<_ACEOF
6098
 
/* confdefs.h.  */
6099
 
_ACEOF
6100
 
cat confdefs.h >>conftest.$ac_ext
6101
 
cat >>conftest.$ac_ext <<_ACEOF
 
6014
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6102
6015
/* end confdefs.h.  */
6103
6016
 
6104
6017
int
6109
6022
  return 0;
6110
6023
}
6111
6024
_ACEOF
6112
 
rm -f conftest.$ac_objext conftest$ac_exeext
6113
 
if { (ac_try="$ac_link"
6114
 
case "(($ac_try" in
6115
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6116
 
  *) ac_try_echo=$ac_try;;
6117
 
esac
6118
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6119
 
$as_echo "$ac_try_echo") >&5
6120
 
  (eval "$ac_link") 2>conftest.er1
6121
 
  ac_status=$?
6122
 
  grep -v '^ *+' conftest.er1 >conftest.err
6123
 
  rm -f conftest.er1
6124
 
  cat conftest.err >&5
6125
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126
 
  (exit $ac_status); } && {
6127
 
         test -z "$ac_c_werror_flag" ||
6128
 
         test ! -s conftest.err
6129
 
       } && test -s conftest$ac_exeext && {
6130
 
         test "$cross_compiling" = yes ||
6131
 
         $as_test_x conftest$ac_exeext
6132
 
       }; then
 
6025
if ac_fn_c_try_link "$LINENO"; then :
6133
6026
  lt_cv_cc_needs_belf=yes
6134
6027
else
6135
 
  $as_echo "$as_me: failed program was:" >&5
6136
 
sed 's/^/| /' conftest.$ac_ext >&5
6137
 
 
6138
 
        lt_cv_cc_needs_belf=no
 
6028
  lt_cv_cc_needs_belf=no
6139
6029
fi
6140
 
 
6141
 
rm -rf conftest.dSYM
6142
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6143
 
      conftest$ac_exeext conftest.$ac_ext
 
6030
rm -f core conftest.err conftest.$ac_objext \
 
6031
    conftest$ac_exeext conftest.$ac_ext
6144
6032
     ac_ext=c
6145
6033
ac_cpp='$CPP $CPPFLAGS'
6146
6034
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6148
6036
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6149
6037
 
6150
6038
fi
6151
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6152
6040
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6153
6041
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6154
6042
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6158
6046
sparc*-*solaris*)
6159
6047
  # Find out which ABI we are using.
6160
6048
  echo 'int i;' > conftest.$ac_ext
6161
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6049
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6162
6050
  (eval $ac_compile) 2>&5
6163
6051
  ac_status=$?
6164
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165
 
  (exit $ac_status); }; then
 
6052
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6053
  test $ac_status = 0; }; then
6166
6054
    case `/usr/bin/file conftest.o` in
6167
6055
    *64-bit*)
6168
6056
      case $lt_cv_prog_gnu_ld in
6188
6076
    if test -n "$ac_tool_prefix"; then
6189
6077
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6190
6078
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6191
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6192
6080
$as_echo_n "checking for $ac_word... " >&6; }
6193
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6081
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6194
6082
  $as_echo_n "(cached) " >&6
6195
6083
else
6196
6084
  if test -n "$DSYMUTIL"; then
6201
6089
do
6202
6090
  IFS=$as_save_IFS
6203
6091
  test -z "$as_dir" && as_dir=.
6204
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6092
    for ac_exec_ext in '' $ac_executable_extensions; do
6205
6093
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6206
6094
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6207
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6095
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6208
6096
    break 2
6209
6097
  fi
6210
6098
done
6211
 
done
 
6099
  done
6212
6100
IFS=$as_save_IFS
6213
6101
 
6214
6102
fi
6215
6103
fi
6216
6104
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6217
6105
if test -n "$DSYMUTIL"; then
6218
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6106
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6219
6107
$as_echo "$DSYMUTIL" >&6; }
6220
6108
else
6221
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6109
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6222
6110
$as_echo "no" >&6; }
6223
6111
fi
6224
6112
 
6228
6116
  ac_ct_DSYMUTIL=$DSYMUTIL
6229
6117
  # Extract the first word of "dsymutil", so it can be a program name with args.
6230
6118
set dummy dsymutil; ac_word=$2
6231
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6232
6120
$as_echo_n "checking for $ac_word... " >&6; }
6233
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6121
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6234
6122
  $as_echo_n "(cached) " >&6
6235
6123
else
6236
6124
  if test -n "$ac_ct_DSYMUTIL"; then
6241
6129
do
6242
6130
  IFS=$as_save_IFS
6243
6131
  test -z "$as_dir" && as_dir=.
6244
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6132
    for ac_exec_ext in '' $ac_executable_extensions; do
6245
6133
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6246
6134
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6247
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6135
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6248
6136
    break 2
6249
6137
  fi
6250
6138
done
6251
 
done
 
6139
  done
6252
6140
IFS=$as_save_IFS
6253
6141
 
6254
6142
fi
6255
6143
fi
6256
6144
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6257
6145
if test -n "$ac_ct_DSYMUTIL"; then
6258
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6146
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6259
6147
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6260
6148
else
6261
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6262
6150
$as_echo "no" >&6; }
6263
6151
fi
6264
6152
 
6267
6155
  else
6268
6156
    case $cross_compiling:$ac_tool_warned in
6269
6157
yes:)
6270
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6158
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6271
6159
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6272
6160
ac_tool_warned=yes ;;
6273
6161
esac
6280
6168
    if test -n "$ac_tool_prefix"; then
6281
6169
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6282
6170
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6283
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6284
6172
$as_echo_n "checking for $ac_word... " >&6; }
6285
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6173
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6286
6174
  $as_echo_n "(cached) " >&6
6287
6175
else
6288
6176
  if test -n "$NMEDIT"; then
6293
6181
do
6294
6182
  IFS=$as_save_IFS
6295
6183
  test -z "$as_dir" && as_dir=.
6296
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6184
    for ac_exec_ext in '' $ac_executable_extensions; do
6297
6185
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6298
6186
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6299
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6187
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6300
6188
    break 2
6301
6189
  fi
6302
6190
done
6303
 
done
 
6191
  done
6304
6192
IFS=$as_save_IFS
6305
6193
 
6306
6194
fi
6307
6195
fi
6308
6196
NMEDIT=$ac_cv_prog_NMEDIT
6309
6197
if test -n "$NMEDIT"; then
6310
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6311
6199
$as_echo "$NMEDIT" >&6; }
6312
6200
else
6313
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6201
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6314
6202
$as_echo "no" >&6; }
6315
6203
fi
6316
6204
 
6320
6208
  ac_ct_NMEDIT=$NMEDIT
6321
6209
  # Extract the first word of "nmedit", so it can be a program name with args.
6322
6210
set dummy nmedit; ac_word=$2
6323
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6324
6212
$as_echo_n "checking for $ac_word... " >&6; }
6325
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6213
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6326
6214
  $as_echo_n "(cached) " >&6
6327
6215
else
6328
6216
  if test -n "$ac_ct_NMEDIT"; then
6333
6221
do
6334
6222
  IFS=$as_save_IFS
6335
6223
  test -z "$as_dir" && as_dir=.
6336
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6224
    for ac_exec_ext in '' $ac_executable_extensions; do
6337
6225
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6338
6226
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6339
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6227
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6340
6228
    break 2
6341
6229
  fi
6342
6230
done
6343
 
done
 
6231
  done
6344
6232
IFS=$as_save_IFS
6345
6233
 
6346
6234
fi
6347
6235
fi
6348
6236
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6349
6237
if test -n "$ac_ct_NMEDIT"; then
6350
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6238
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6351
6239
$as_echo "$ac_ct_NMEDIT" >&6; }
6352
6240
else
6353
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6241
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6354
6242
$as_echo "no" >&6; }
6355
6243
fi
6356
6244
 
6359
6247
  else
6360
6248
    case $cross_compiling:$ac_tool_warned in
6361
6249
yes:)
6362
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6250
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6363
6251
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6364
6252
ac_tool_warned=yes ;;
6365
6253
esac
6372
6260
    if test -n "$ac_tool_prefix"; then
6373
6261
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6374
6262
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6375
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6376
6264
$as_echo_n "checking for $ac_word... " >&6; }
6377
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6265
if test "${ac_cv_prog_LIPO+set}" = set; then :
6378
6266
  $as_echo_n "(cached) " >&6
6379
6267
else
6380
6268
  if test -n "$LIPO"; then
6385
6273
do
6386
6274
  IFS=$as_save_IFS
6387
6275
  test -z "$as_dir" && as_dir=.
6388
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6276
    for ac_exec_ext in '' $ac_executable_extensions; do
6389
6277
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6390
6278
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6391
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6279
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6392
6280
    break 2
6393
6281
  fi
6394
6282
done
6395
 
done
 
6283
  done
6396
6284
IFS=$as_save_IFS
6397
6285
 
6398
6286
fi
6399
6287
fi
6400
6288
LIPO=$ac_cv_prog_LIPO
6401
6289
if test -n "$LIPO"; then
6402
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6290
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6403
6291
$as_echo "$LIPO" >&6; }
6404
6292
else
6405
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6293
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6406
6294
$as_echo "no" >&6; }
6407
6295
fi
6408
6296
 
6412
6300
  ac_ct_LIPO=$LIPO
6413
6301
  # Extract the first word of "lipo", so it can be a program name with args.
6414
6302
set dummy lipo; ac_word=$2
6415
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6416
6304
$as_echo_n "checking for $ac_word... " >&6; }
6417
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6305
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6418
6306
  $as_echo_n "(cached) " >&6
6419
6307
else
6420
6308
  if test -n "$ac_ct_LIPO"; then
6425
6313
do
6426
6314
  IFS=$as_save_IFS
6427
6315
  test -z "$as_dir" && as_dir=.
6428
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6316
    for ac_exec_ext in '' $ac_executable_extensions; do
6429
6317
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6430
6318
    ac_cv_prog_ac_ct_LIPO="lipo"
6431
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6319
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6432
6320
    break 2
6433
6321
  fi
6434
6322
done
6435
 
done
 
6323
  done
6436
6324
IFS=$as_save_IFS
6437
6325
 
6438
6326
fi
6439
6327
fi
6440
6328
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6441
6329
if test -n "$ac_ct_LIPO"; then
6442
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6330
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6443
6331
$as_echo "$ac_ct_LIPO" >&6; }
6444
6332
else
6445
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6333
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6446
6334
$as_echo "no" >&6; }
6447
6335
fi
6448
6336
 
6451
6339
  else
6452
6340
    case $cross_compiling:$ac_tool_warned in
6453
6341
yes:)
6454
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6342
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6455
6343
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6456
6344
ac_tool_warned=yes ;;
6457
6345
esac
6464
6352
    if test -n "$ac_tool_prefix"; then
6465
6353
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6466
6354
set dummy ${ac_tool_prefix}otool; ac_word=$2
6467
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468
6356
$as_echo_n "checking for $ac_word... " >&6; }
6469
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6357
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6470
6358
  $as_echo_n "(cached) " >&6
6471
6359
else
6472
6360
  if test -n "$OTOOL"; then
6477
6365
do
6478
6366
  IFS=$as_save_IFS
6479
6367
  test -z "$as_dir" && as_dir=.
6480
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6368
    for ac_exec_ext in '' $ac_executable_extensions; do
6481
6369
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482
6370
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6483
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6371
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484
6372
    break 2
6485
6373
  fi
6486
6374
done
6487
 
done
 
6375
  done
6488
6376
IFS=$as_save_IFS
6489
6377
 
6490
6378
fi
6491
6379
fi
6492
6380
OTOOL=$ac_cv_prog_OTOOL
6493
6381
if test -n "$OTOOL"; then
6494
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6382
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6495
6383
$as_echo "$OTOOL" >&6; }
6496
6384
else
6497
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6385
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498
6386
$as_echo "no" >&6; }
6499
6387
fi
6500
6388
 
6504
6392
  ac_ct_OTOOL=$OTOOL
6505
6393
  # Extract the first word of "otool", so it can be a program name with args.
6506
6394
set dummy otool; ac_word=$2
6507
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508
6396
$as_echo_n "checking for $ac_word... " >&6; }
6509
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6397
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6510
6398
  $as_echo_n "(cached) " >&6
6511
6399
else
6512
6400
  if test -n "$ac_ct_OTOOL"; then
6517
6405
do
6518
6406
  IFS=$as_save_IFS
6519
6407
  test -z "$as_dir" && as_dir=.
6520
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6408
    for ac_exec_ext in '' $ac_executable_extensions; do
6521
6409
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6522
6410
    ac_cv_prog_ac_ct_OTOOL="otool"
6523
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6411
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6524
6412
    break 2
6525
6413
  fi
6526
6414
done
6527
 
done
 
6415
  done
6528
6416
IFS=$as_save_IFS
6529
6417
 
6530
6418
fi
6531
6419
fi
6532
6420
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6533
6421
if test -n "$ac_ct_OTOOL"; then
6534
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6422
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6535
6423
$as_echo "$ac_ct_OTOOL" >&6; }
6536
6424
else
6537
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6425
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538
6426
$as_echo "no" >&6; }
6539
6427
fi
6540
6428
 
6543
6431
  else
6544
6432
    case $cross_compiling:$ac_tool_warned in
6545
6433
yes:)
6546
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6434
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6547
6435
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6548
6436
ac_tool_warned=yes ;;
6549
6437
esac
6556
6444
    if test -n "$ac_tool_prefix"; then
6557
6445
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6558
6446
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6559
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560
6448
$as_echo_n "checking for $ac_word... " >&6; }
6561
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6449
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6562
6450
  $as_echo_n "(cached) " >&6
6563
6451
else
6564
6452
  if test -n "$OTOOL64"; then
6569
6457
do
6570
6458
  IFS=$as_save_IFS
6571
6459
  test -z "$as_dir" && as_dir=.
6572
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6460
    for ac_exec_ext in '' $ac_executable_extensions; do
6573
6461
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6574
6462
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6575
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6463
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576
6464
    break 2
6577
6465
  fi
6578
6466
done
6579
 
done
 
6467
  done
6580
6468
IFS=$as_save_IFS
6581
6469
 
6582
6470
fi
6583
6471
fi
6584
6472
OTOOL64=$ac_cv_prog_OTOOL64
6585
6473
if test -n "$OTOOL64"; then
6586
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6474
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6587
6475
$as_echo "$OTOOL64" >&6; }
6588
6476
else
6589
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590
6478
$as_echo "no" >&6; }
6591
6479
fi
6592
6480
 
6596
6484
  ac_ct_OTOOL64=$OTOOL64
6597
6485
  # Extract the first word of "otool64", so it can be a program name with args.
6598
6486
set dummy otool64; ac_word=$2
6599
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6600
6488
$as_echo_n "checking for $ac_word... " >&6; }
6601
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6489
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6602
6490
  $as_echo_n "(cached) " >&6
6603
6491
else
6604
6492
  if test -n "$ac_ct_OTOOL64"; then
6609
6497
do
6610
6498
  IFS=$as_save_IFS
6611
6499
  test -z "$as_dir" && as_dir=.
6612
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6500
    for ac_exec_ext in '' $ac_executable_extensions; do
6613
6501
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6614
6502
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6615
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6503
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6616
6504
    break 2
6617
6505
  fi
6618
6506
done
6619
 
done
 
6507
  done
6620
6508
IFS=$as_save_IFS
6621
6509
 
6622
6510
fi
6623
6511
fi
6624
6512
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6625
6513
if test -n "$ac_ct_OTOOL64"; then
6626
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6627
6515
$as_echo "$ac_ct_OTOOL64" >&6; }
6628
6516
else
6629
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6630
6518
$as_echo "no" >&6; }
6631
6519
fi
6632
6520
 
6635
6523
  else
6636
6524
    case $cross_compiling:$ac_tool_warned in
6637
6525
yes:)
6638
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6526
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6639
6527
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6640
6528
ac_tool_warned=yes ;;
6641
6529
esac
6671
6559
 
6672
6560
 
6673
6561
 
6674
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
6562
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6675
6563
$as_echo_n "checking for -single_module linker flag... " >&6; }
6676
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
6564
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6677
6565
  $as_echo_n "(cached) " >&6
6678
6566
else
6679
6567
  lt_cv_apple_cc_single_mod=no
6698
6586
        rm -f conftest.*
6699
6587
      fi
6700
6588
fi
6701
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
6589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6702
6590
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6703
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
6591
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6704
6592
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6705
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
6593
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6706
6594
  $as_echo_n "(cached) " >&6
6707
6595
else
6708
6596
  lt_cv_ld_exported_symbols_list=no
6709
6597
      save_LDFLAGS=$LDFLAGS
6710
6598
      echo "_main" > conftest.sym
6711
6599
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6712
 
      cat >conftest.$ac_ext <<_ACEOF
6713
 
/* confdefs.h.  */
6714
 
_ACEOF
6715
 
cat confdefs.h >>conftest.$ac_ext
6716
 
cat >>conftest.$ac_ext <<_ACEOF
 
6600
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6717
6601
/* end confdefs.h.  */
6718
6602
 
6719
6603
int
6724
6608
  return 0;
6725
6609
}
6726
6610
_ACEOF
6727
 
rm -f conftest.$ac_objext conftest$ac_exeext
6728
 
if { (ac_try="$ac_link"
6729
 
case "(($ac_try" in
6730
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6731
 
  *) ac_try_echo=$ac_try;;
6732
 
esac
6733
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6734
 
$as_echo "$ac_try_echo") >&5
6735
 
  (eval "$ac_link") 2>conftest.er1
6736
 
  ac_status=$?
6737
 
  grep -v '^ *+' conftest.er1 >conftest.err
6738
 
  rm -f conftest.er1
6739
 
  cat conftest.err >&5
6740
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741
 
  (exit $ac_status); } && {
6742
 
         test -z "$ac_c_werror_flag" ||
6743
 
         test ! -s conftest.err
6744
 
       } && test -s conftest$ac_exeext && {
6745
 
         test "$cross_compiling" = yes ||
6746
 
         $as_test_x conftest$ac_exeext
6747
 
       }; then
 
6611
if ac_fn_c_try_link "$LINENO"; then :
6748
6612
  lt_cv_ld_exported_symbols_list=yes
6749
6613
else
6750
 
  $as_echo "$as_me: failed program was:" >&5
6751
 
sed 's/^/| /' conftest.$ac_ext >&5
6752
 
 
6753
 
        lt_cv_ld_exported_symbols_list=no
 
6614
  lt_cv_ld_exported_symbols_list=no
6754
6615
fi
6755
 
 
6756
 
rm -rf conftest.dSYM
6757
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6758
 
      conftest$ac_exeext conftest.$ac_ext
 
6616
rm -f core conftest.err conftest.$ac_objext \
 
6617
    conftest$ac_exeext conftest.$ac_ext
6759
6618
        LDFLAGS="$save_LDFLAGS"
6760
6619
 
6761
6620
fi
6762
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
6621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6763
6622
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6623
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
6624
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
6625
if test "${lt_cv_ld_force_load+set}" = set; then :
 
6626
  $as_echo_n "(cached) " >&6
 
6627
else
 
6628
  lt_cv_ld_force_load=no
 
6629
      cat > conftest.c << _LT_EOF
 
6630
int forced_loaded() { return 2;}
 
6631
_LT_EOF
 
6632
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
6633
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
6634
      echo "$AR cru libconftest.a conftest.o" >&5
 
6635
      $AR cru libconftest.a conftest.o 2>&5
 
6636
      echo "$RANLIB libconftest.a" >&5
 
6637
      $RANLIB libconftest.a 2>&5
 
6638
      cat > conftest.c << _LT_EOF
 
6639
int main() { return 0;}
 
6640
_LT_EOF
 
6641
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
6642
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
6643
      _lt_result=$?
 
6644
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
6645
        lt_cv_ld_force_load=yes
 
6646
      else
 
6647
        cat conftest.err >&5
 
6648
      fi
 
6649
        rm -f conftest.err libconftest.a conftest conftest.c
 
6650
        rm -rf conftest.dSYM
 
6651
 
 
6652
fi
 
6653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
6654
$as_echo "$lt_cv_ld_force_load" >&6; }
6764
6655
    case $host_os in
6765
6656
    rhapsody* | darwin1.[012])
6766
6657
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6788
6679
    else
6789
6680
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6790
6681
    fi
6791
 
    if test "$DSYMUTIL" != ":"; then
 
6682
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6792
6683
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6793
6684
    else
6794
6685
      _lt_dsymutil=
6801
6692
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6802
6693
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6803
6694
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6804
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
6695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6805
6696
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6806
6697
# On Suns, sometimes $CPP names a directory.
6807
6698
if test -n "$CPP" && test -d "$CPP"; then
6808
6699
  CPP=
6809
6700
fi
6810
6701
if test -z "$CPP"; then
6811
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
6702
  if test "${ac_cv_prog_CPP+set}" = set; then :
6812
6703
  $as_echo_n "(cached) " >&6
6813
6704
else
6814
6705
      # Double quotes because CPP needs to be expanded
6823
6714
  # <limits.h> exists even on freestanding compilers.
6824
6715
  # On the NeXT, cc -E runs the code through the compiler's parser,
6825
6716
  # not just through cpp. "Syntax error" is here to catch this case.
6826
 
  cat >conftest.$ac_ext <<_ACEOF
6827
 
/* confdefs.h.  */
6828
 
_ACEOF
6829
 
cat confdefs.h >>conftest.$ac_ext
6830
 
cat >>conftest.$ac_ext <<_ACEOF
 
6717
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6831
6718
/* end confdefs.h.  */
6832
6719
#ifdef __STDC__
6833
6720
# include <limits.h>
6836
6723
#endif
6837
6724
                     Syntax error
6838
6725
_ACEOF
6839
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6840
 
case "(($ac_try" in
6841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6842
 
  *) ac_try_echo=$ac_try;;
6843
 
esac
6844
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6845
 
$as_echo "$ac_try_echo") >&5
6846
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6847
 
  ac_status=$?
6848
 
  grep -v '^ *+' conftest.er1 >conftest.err
6849
 
  rm -f conftest.er1
6850
 
  cat conftest.err >&5
6851
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852
 
  (exit $ac_status); } >/dev/null && {
6853
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6854
 
         test ! -s conftest.err
6855
 
       }; then
6856
 
  :
 
6726
if ac_fn_c_try_cpp "$LINENO"; then :
 
6727
 
6857
6728
else
6858
 
  $as_echo "$as_me: failed program was:" >&5
6859
 
sed 's/^/| /' conftest.$ac_ext >&5
6860
 
 
6861
6729
  # Broken: fails on valid input.
6862
6730
continue
6863
6731
fi
6864
 
 
6865
6732
rm -f conftest.err conftest.$ac_ext
6866
6733
 
6867
6734
  # OK, works on sane cases.  Now check whether nonexistent headers
6868
6735
  # can be detected and how.
6869
 
  cat >conftest.$ac_ext <<_ACEOF
6870
 
/* confdefs.h.  */
6871
 
_ACEOF
6872
 
cat confdefs.h >>conftest.$ac_ext
6873
 
cat >>conftest.$ac_ext <<_ACEOF
 
6736
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6874
6737
/* end confdefs.h.  */
6875
6738
#include <ac_nonexistent.h>
6876
6739
_ACEOF
6877
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6878
 
case "(($ac_try" in
6879
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6880
 
  *) ac_try_echo=$ac_try;;
6881
 
esac
6882
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6883
 
$as_echo "$ac_try_echo") >&5
6884
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6885
 
  ac_status=$?
6886
 
  grep -v '^ *+' conftest.er1 >conftest.err
6887
 
  rm -f conftest.er1
6888
 
  cat conftest.err >&5
6889
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890
 
  (exit $ac_status); } >/dev/null && {
6891
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6892
 
         test ! -s conftest.err
6893
 
       }; then
 
6740
if ac_fn_c_try_cpp "$LINENO"; then :
6894
6741
  # Broken: success on invalid input.
6895
6742
continue
6896
6743
else
6897
 
  $as_echo "$as_me: failed program was:" >&5
6898
 
sed 's/^/| /' conftest.$ac_ext >&5
6899
 
 
6900
6744
  # Passes both tests.
6901
6745
ac_preproc_ok=:
6902
6746
break
6903
6747
fi
6904
 
 
6905
6748
rm -f conftest.err conftest.$ac_ext
6906
6749
 
6907
6750
done
6908
6751
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6909
6752
rm -f conftest.err conftest.$ac_ext
6910
 
if $ac_preproc_ok; then
 
6753
if $ac_preproc_ok; then :
6911
6754
  break
6912
6755
fi
6913
6756
 
6919
6762
else
6920
6763
  ac_cv_prog_CPP=$CPP
6921
6764
fi
6922
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
6765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6923
6766
$as_echo "$CPP" >&6; }
6924
6767
ac_preproc_ok=false
6925
6768
for ac_c_preproc_warn_flag in '' yes
6930
6773
  # <limits.h> exists even on freestanding compilers.
6931
6774
  # On the NeXT, cc -E runs the code through the compiler's parser,
6932
6775
  # not just through cpp. "Syntax error" is here to catch this case.
6933
 
  cat >conftest.$ac_ext <<_ACEOF
6934
 
/* confdefs.h.  */
6935
 
_ACEOF
6936
 
cat confdefs.h >>conftest.$ac_ext
6937
 
cat >>conftest.$ac_ext <<_ACEOF
 
6776
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6938
6777
/* end confdefs.h.  */
6939
6778
#ifdef __STDC__
6940
6779
# include <limits.h>
6943
6782
#endif
6944
6783
                     Syntax error
6945
6784
_ACEOF
6946
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6947
 
case "(($ac_try" in
6948
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6949
 
  *) ac_try_echo=$ac_try;;
6950
 
esac
6951
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6952
 
$as_echo "$ac_try_echo") >&5
6953
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6954
 
  ac_status=$?
6955
 
  grep -v '^ *+' conftest.er1 >conftest.err
6956
 
  rm -f conftest.er1
6957
 
  cat conftest.err >&5
6958
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959
 
  (exit $ac_status); } >/dev/null && {
6960
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6961
 
         test ! -s conftest.err
6962
 
       }; then
6963
 
  :
 
6785
if ac_fn_c_try_cpp "$LINENO"; then :
 
6786
 
6964
6787
else
6965
 
  $as_echo "$as_me: failed program was:" >&5
6966
 
sed 's/^/| /' conftest.$ac_ext >&5
6967
 
 
6968
6788
  # Broken: fails on valid input.
6969
6789
continue
6970
6790
fi
6971
 
 
6972
6791
rm -f conftest.err conftest.$ac_ext
6973
6792
 
6974
6793
  # OK, works on sane cases.  Now check whether nonexistent headers
6975
6794
  # can be detected and how.
6976
 
  cat >conftest.$ac_ext <<_ACEOF
6977
 
/* confdefs.h.  */
6978
 
_ACEOF
6979
 
cat confdefs.h >>conftest.$ac_ext
6980
 
cat >>conftest.$ac_ext <<_ACEOF
 
6795
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6981
6796
/* end confdefs.h.  */
6982
6797
#include <ac_nonexistent.h>
6983
6798
_ACEOF
6984
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6985
 
case "(($ac_try" in
6986
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6987
 
  *) ac_try_echo=$ac_try;;
6988
 
esac
6989
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6990
 
$as_echo "$ac_try_echo") >&5
6991
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6992
 
  ac_status=$?
6993
 
  grep -v '^ *+' conftest.er1 >conftest.err
6994
 
  rm -f conftest.er1
6995
 
  cat conftest.err >&5
6996
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997
 
  (exit $ac_status); } >/dev/null && {
6998
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6999
 
         test ! -s conftest.err
7000
 
       }; then
 
6799
if ac_fn_c_try_cpp "$LINENO"; then :
7001
6800
  # Broken: success on invalid input.
7002
6801
continue
7003
6802
else
7004
 
  $as_echo "$as_me: failed program was:" >&5
7005
 
sed 's/^/| /' conftest.$ac_ext >&5
7006
 
 
7007
6803
  # Passes both tests.
7008
6804
ac_preproc_ok=:
7009
6805
break
7010
6806
fi
7011
 
 
7012
6807
rm -f conftest.err conftest.$ac_ext
7013
6808
 
7014
6809
done
7015
6810
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7016
6811
rm -f conftest.err conftest.$ac_ext
7017
 
if $ac_preproc_ok; then
7018
 
  :
 
6812
if $ac_preproc_ok; then :
 
6813
 
7019
6814
else
7020
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6815
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7021
6816
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7022
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7023
 
See \`config.log' for more details." >&5
7024
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7025
 
See \`config.log' for more details." >&2;}
7026
 
   { (exit 1); exit 1; }; }; }
 
6817
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
6818
See \`config.log' for more details" "$LINENO" 5; }
7027
6819
fi
7028
6820
 
7029
6821
ac_ext=c
7033
6825
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7034
6826
 
7035
6827
 
7036
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
6828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7037
6829
$as_echo_n "checking for ANSI C header files... " >&6; }
7038
 
if test "${ac_cv_header_stdc+set}" = set; then
 
6830
if test "${ac_cv_header_stdc+set}" = set; then :
7039
6831
  $as_echo_n "(cached) " >&6
7040
6832
else
7041
 
  cat >conftest.$ac_ext <<_ACEOF
7042
 
/* confdefs.h.  */
7043
 
_ACEOF
7044
 
cat confdefs.h >>conftest.$ac_ext
7045
 
cat >>conftest.$ac_ext <<_ACEOF
 
6833
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7046
6834
/* end confdefs.h.  */
7047
6835
#include <stdlib.h>
7048
6836
#include <stdarg.h>
7057
6845
  return 0;
7058
6846
}
7059
6847
_ACEOF
7060
 
rm -f conftest.$ac_objext
7061
 
if { (ac_try="$ac_compile"
7062
 
case "(($ac_try" in
7063
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7064
 
  *) ac_try_echo=$ac_try;;
7065
 
esac
7066
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7067
 
$as_echo "$ac_try_echo") >&5
7068
 
  (eval "$ac_compile") 2>conftest.er1
7069
 
  ac_status=$?
7070
 
  grep -v '^ *+' conftest.er1 >conftest.err
7071
 
  rm -f conftest.er1
7072
 
  cat conftest.err >&5
7073
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074
 
  (exit $ac_status); } && {
7075
 
         test -z "$ac_c_werror_flag" ||
7076
 
         test ! -s conftest.err
7077
 
       } && test -s conftest.$ac_objext; then
 
6848
if ac_fn_c_try_compile "$LINENO"; then :
7078
6849
  ac_cv_header_stdc=yes
7079
6850
else
7080
 
  $as_echo "$as_me: failed program was:" >&5
7081
 
sed 's/^/| /' conftest.$ac_ext >&5
7082
 
 
7083
 
        ac_cv_header_stdc=no
 
6851
  ac_cv_header_stdc=no
7084
6852
fi
7085
 
 
7086
6853
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7087
6854
 
7088
6855
if test $ac_cv_header_stdc = yes; then
7089
6856
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7090
 
  cat >conftest.$ac_ext <<_ACEOF
7091
 
/* confdefs.h.  */
7092
 
_ACEOF
7093
 
cat confdefs.h >>conftest.$ac_ext
7094
 
cat >>conftest.$ac_ext <<_ACEOF
 
6857
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7095
6858
/* end confdefs.h.  */
7096
6859
#include <string.h>
7097
6860
 
7098
6861
_ACEOF
7099
6862
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7100
 
  $EGREP "memchr" >/dev/null 2>&1; then
7101
 
  :
 
6863
  $EGREP "memchr" >/dev/null 2>&1; then :
 
6864
 
7102
6865
else
7103
6866
  ac_cv_header_stdc=no
7104
6867
fi
7108
6871
 
7109
6872
if test $ac_cv_header_stdc = yes; then
7110
6873
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7111
 
  cat >conftest.$ac_ext <<_ACEOF
7112
 
/* confdefs.h.  */
7113
 
_ACEOF
7114
 
cat confdefs.h >>conftest.$ac_ext
7115
 
cat >>conftest.$ac_ext <<_ACEOF
 
6874
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116
6875
/* end confdefs.h.  */
7117
6876
#include <stdlib.h>
7118
6877
 
7119
6878
_ACEOF
7120
6879
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7121
 
  $EGREP "free" >/dev/null 2>&1; then
7122
 
  :
 
6880
  $EGREP "free" >/dev/null 2>&1; then :
 
6881
 
7123
6882
else
7124
6883
  ac_cv_header_stdc=no
7125
6884
fi
7129
6888
 
7130
6889
if test $ac_cv_header_stdc = yes; then
7131
6890
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7132
 
  if test "$cross_compiling" = yes; then
 
6891
  if test "$cross_compiling" = yes; then :
7133
6892
  :
7134
6893
else
7135
 
  cat >conftest.$ac_ext <<_ACEOF
7136
 
/* confdefs.h.  */
7137
 
_ACEOF
7138
 
cat confdefs.h >>conftest.$ac_ext
7139
 
cat >>conftest.$ac_ext <<_ACEOF
 
6894
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140
6895
/* end confdefs.h.  */
7141
6896
#include <ctype.h>
7142
6897
#include <stdlib.h>
7163
6918
  return 0;
7164
6919
}
7165
6920
_ACEOF
7166
 
rm -f conftest$ac_exeext
7167
 
if { (ac_try="$ac_link"
7168
 
case "(($ac_try" in
7169
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7170
 
  *) ac_try_echo=$ac_try;;
7171
 
esac
7172
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7173
 
$as_echo "$ac_try_echo") >&5
7174
 
  (eval "$ac_link") 2>&5
7175
 
  ac_status=$?
7176
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7178
 
  { (case "(($ac_try" in
7179
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7180
 
  *) ac_try_echo=$ac_try;;
7181
 
esac
7182
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7183
 
$as_echo "$ac_try_echo") >&5
7184
 
  (eval "$ac_try") 2>&5
7185
 
  ac_status=$?
7186
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187
 
  (exit $ac_status); }; }; then
7188
 
  :
 
6921
if ac_fn_c_try_run "$LINENO"; then :
 
6922
 
7189
6923
else
7190
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
7191
 
$as_echo "$as_me: failed program was:" >&5
7192
 
sed 's/^/| /' conftest.$ac_ext >&5
7193
 
 
7194
 
( exit $ac_status )
7195
 
ac_cv_header_stdc=no
7196
 
fi
7197
 
rm -rf conftest.dSYM
7198
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7199
 
fi
7200
 
 
7201
 
 
7202
 
fi
7203
 
fi
7204
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
6924
  ac_cv_header_stdc=no
 
6925
fi
 
6926
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
6927
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
6928
fi
 
6929
 
 
6930
fi
 
6931
fi
 
6932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7205
6933
$as_echo "$ac_cv_header_stdc" >&6; }
7206
6934
if test $ac_cv_header_stdc = yes; then
7207
6935
 
7208
 
cat >>confdefs.h <<\_ACEOF
7209
 
#define STDC_HEADERS 1
7210
 
_ACEOF
 
6936
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7211
6937
 
7212
6938
fi
7213
6939
 
7214
6940
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7215
 
 
7216
 
 
7217
 
 
7218
 
 
7219
 
 
7220
 
 
7221
 
 
7222
 
 
7223
 
 
7224
6941
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7225
6942
                  inttypes.h stdint.h unistd.h
7226
 
do
7227
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7228
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7229
 
$as_echo_n "checking for $ac_header... " >&6; }
7230
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7231
 
  $as_echo_n "(cached) " >&6
7232
 
else
7233
 
  cat >conftest.$ac_ext <<_ACEOF
7234
 
/* confdefs.h.  */
7235
 
_ACEOF
7236
 
cat confdefs.h >>conftest.$ac_ext
7237
 
cat >>conftest.$ac_ext <<_ACEOF
7238
 
/* end confdefs.h.  */
7239
 
$ac_includes_default
7240
 
 
7241
 
#include <$ac_header>
7242
 
_ACEOF
7243
 
rm -f conftest.$ac_objext
7244
 
if { (ac_try="$ac_compile"
7245
 
case "(($ac_try" in
7246
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7247
 
  *) ac_try_echo=$ac_try;;
7248
 
esac
7249
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7250
 
$as_echo "$ac_try_echo") >&5
7251
 
  (eval "$ac_compile") 2>conftest.er1
7252
 
  ac_status=$?
7253
 
  grep -v '^ *+' conftest.er1 >conftest.err
7254
 
  rm -f conftest.er1
7255
 
  cat conftest.err >&5
7256
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257
 
  (exit $ac_status); } && {
7258
 
         test -z "$ac_c_werror_flag" ||
7259
 
         test ! -s conftest.err
7260
 
       } && test -s conftest.$ac_objext; then
7261
 
  eval "$as_ac_Header=yes"
7262
 
else
7263
 
  $as_echo "$as_me: failed program was:" >&5
7264
 
sed 's/^/| /' conftest.$ac_ext >&5
7265
 
 
7266
 
        eval "$as_ac_Header=no"
7267
 
fi
7268
 
 
7269
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7270
 
fi
7271
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7272
 
                 $as_echo "$as_val"'`
7273
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7274
 
$as_echo "$ac_res" >&6; }
7275
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7276
 
                 $as_echo "$as_val"'`
7277
 
   if test "x$as_val" = x""yes; then
 
6943
do :
 
6944
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6945
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
6946
"
 
6947
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7278
6948
  cat >>confdefs.h <<_ACEOF
7279
6949
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7280
6950
_ACEOF
7284
6954
done
7285
6955
 
7286
6956
 
7287
 
 
7288
6957
for ac_header in dlfcn.h
7289
 
do
7290
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7291
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7292
 
$as_echo_n "checking for $ac_header... " >&6; }
7293
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7294
 
  $as_echo_n "(cached) " >&6
7295
 
else
7296
 
  cat >conftest.$ac_ext <<_ACEOF
7297
 
/* confdefs.h.  */
7298
 
_ACEOF
7299
 
cat confdefs.h >>conftest.$ac_ext
7300
 
cat >>conftest.$ac_ext <<_ACEOF
7301
 
/* end confdefs.h.  */
7302
 
$ac_includes_default
7303
 
 
7304
 
#include <$ac_header>
7305
 
_ACEOF
7306
 
rm -f conftest.$ac_objext
7307
 
if { (ac_try="$ac_compile"
7308
 
case "(($ac_try" in
7309
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7310
 
  *) ac_try_echo=$ac_try;;
7311
 
esac
7312
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7313
 
$as_echo "$ac_try_echo") >&5
7314
 
  (eval "$ac_compile") 2>conftest.er1
7315
 
  ac_status=$?
7316
 
  grep -v '^ *+' conftest.er1 >conftest.err
7317
 
  rm -f conftest.er1
7318
 
  cat conftest.err >&5
7319
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320
 
  (exit $ac_status); } && {
7321
 
         test -z "$ac_c_werror_flag" ||
7322
 
         test ! -s conftest.err
7323
 
       } && test -s conftest.$ac_objext; then
7324
 
  eval "$as_ac_Header=yes"
7325
 
else
7326
 
  $as_echo "$as_me: failed program was:" >&5
7327
 
sed 's/^/| /' conftest.$ac_ext >&5
7328
 
 
7329
 
        eval "$as_ac_Header=no"
7330
 
fi
7331
 
 
7332
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7333
 
fi
7334
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7335
 
                 $as_echo "$as_val"'`
7336
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7337
 
$as_echo "$ac_res" >&6; }
7338
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7339
 
                 $as_echo "$as_val"'`
7340
 
   if test "x$as_val" = x""yes; then
 
6958
do :
 
6959
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
6960
"
 
6961
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7341
6962
  cat >>confdefs.h <<_ACEOF
7342
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6963
#define HAVE_DLFCN_H 1
7343
6964
_ACEOF
7344
6965
 
7345
6966
fi
7348
6969
 
7349
6970
 
7350
6971
 
 
6972
 
 
6973
 
7351
6974
# Set options
7352
6975
 
7353
6976
 
7359
6982
 
7360
6983
 
7361
6984
            # Check whether --enable-shared was given.
7362
 
if test "${enable_shared+set}" = set; then
 
6985
if test "${enable_shared+set}" = set; then :
7363
6986
  enableval=$enable_shared; p=${PACKAGE-default}
7364
6987
    case $enableval in
7365
6988
    yes) enable_shared=yes ;;
7392
7015
 
7393
7016
 
7394
7017
# Check whether --with-pic was given.
7395
 
if test "${with_pic+set}" = set; then
 
7018
if test "${with_pic+set}" = set; then :
7396
7019
  withval=$with_pic; pic_mode="$withval"
7397
7020
else
7398
7021
  pic_mode=default
7408
7031
 
7409
7032
 
7410
7033
  # Check whether --enable-fast-install was given.
7411
 
if test "${enable_fast_install+set}" = set; then
 
7034
if test "${enable_fast_install+set}" = set; then :
7412
7035
  enableval=$enable_fast_install; p=${PACKAGE-default}
7413
7036
    case $enableval in
7414
7037
    yes) enable_fast_install=yes ;;
7470
7093
 
7471
7094
 
7472
7095
 
 
7096
 
7473
7097
test -z "$LN_S" && LN_S="ln -s"
7474
7098
 
7475
7099
 
7489
7113
   setopt NO_GLOB_SUBST
7490
7114
fi
7491
7115
 
7492
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7493
7117
$as_echo_n "checking for objdir... " >&6; }
7494
 
if test "${lt_cv_objdir+set}" = set; then
 
7118
if test "${lt_cv_objdir+set}" = set; then :
7495
7119
  $as_echo_n "(cached) " >&6
7496
7120
else
7497
7121
  rm -f .libs 2>/dev/null
7504
7128
fi
7505
7129
rmdir .libs 2>/dev/null
7506
7130
fi
7507
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7508
7132
$as_echo "$lt_cv_objdir" >&6; }
7509
7133
objdir=$lt_cv_objdir
7510
7134
 
7519
7143
 
7520
7144
 
7521
7145
 
7522
 
 
7523
 
 
7524
 
 
7525
 
 
7526
 
 
7527
 
 
7528
 
 
7529
 
 
7530
 
 
7531
 
 
7532
 
 
7533
 
 
7534
 
 
7535
7146
case $host_os in
7536
7147
aix3*)
7537
7148
  # AIX sometimes has problems with the GCC collect2 program.  For some
7544
7155
  ;;
7545
7156
esac
7546
7157
 
7547
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7548
 
# metacharacters that are still active within double-quoted strings.
7549
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7550
 
 
7551
 
# Same as above, but do not quote variable references.
7552
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7553
 
 
7554
 
# Sed substitution to delay expansion of an escaped shell variable in a
7555
 
# double_quote_subst'ed string.
7556
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7557
 
 
7558
 
# Sed substitution to delay expansion of an escaped single quote.
7559
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7560
 
 
7561
 
# Sed substitution to avoid accidental globbing in evaled expressions
7562
 
no_glob_subst='s/\*/\\\*/g'
7563
 
 
7564
7158
# Global variables:
7565
7159
ofile=libtool
7566
7160
can_build_shared=yes
7589
7183
    *) break;;
7590
7184
  esac
7591
7185
done
7592
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7186
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7593
7187
 
7594
7188
 
7595
7189
# Only perform the check for file, if the check method requires it
7597
7191
case $deplibs_check_method in
7598
7192
file_magic*)
7599
7193
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7600
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7194
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7601
7195
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7602
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7196
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7603
7197
  $as_echo_n "(cached) " >&6
7604
7198
else
7605
7199
  case $MAGIC_CMD in
7650
7244
 
7651
7245
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7652
7246
if test -n "$MAGIC_CMD"; then
7653
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7247
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7654
7248
$as_echo "$MAGIC_CMD" >&6; }
7655
7249
else
7656
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657
7251
$as_echo "no" >&6; }
7658
7252
fi
7659
7253
 
7663
7257
 
7664
7258
if test -z "$lt_cv_path_MAGIC_CMD"; then
7665
7259
  if test -n "$ac_tool_prefix"; then
7666
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7260
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7667
7261
$as_echo_n "checking for file... " >&6; }
7668
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7262
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7669
7263
  $as_echo_n "(cached) " >&6
7670
7264
else
7671
7265
  case $MAGIC_CMD in
7716
7310
 
7717
7311
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7718
7312
if test -n "$MAGIC_CMD"; then
7719
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7720
7314
$as_echo "$MAGIC_CMD" >&6; }
7721
7315
else
7722
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7316
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7723
7317
$as_echo "no" >&6; }
7724
7318
fi
7725
7319
 
7794
7388
lt_prog_compiler_no_builtin_flag=
7795
7389
 
7796
7390
if test "$GCC" = yes; then
7797
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
7391
  case $cc_basename in
 
7392
  nvcc*)
 
7393
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
7394
  *)
 
7395
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
7396
  esac
7798
7397
 
7799
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7398
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7800
7399
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7801
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
7400
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7802
7401
  $as_echo_n "(cached) " >&6
7803
7402
else
7804
7403
  lt_cv_prog_compiler_rtti_exceptions=no
7814
7413
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7815
7414
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7816
7415
   -e 's:$: $lt_compiler_flag:'`
7817
 
   (eval echo "\"\$as_me:7817: $lt_compile\"" >&5)
 
7416
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7818
7417
   (eval "$lt_compile" 2>conftest.err)
7819
7418
   ac_status=$?
7820
7419
   cat conftest.err >&5
7821
 
   echo "$as_me:7821: \$? = $ac_status" >&5
 
7420
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822
7421
   if (exit $ac_status) && test -s "$ac_outfile"; then
7823
7422
     # The compiler can only warn and ignore the option if not recognized
7824
7423
     # So say no if there are warnings other than the usual output.
7825
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7424
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7826
7425
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7827
7426
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7828
7427
       lt_cv_prog_compiler_rtti_exceptions=yes
7831
7430
   $RM conftest*
7832
7431
 
7833
7432
fi
7834
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7835
7434
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7836
7435
 
7837
7436
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7851
7450
lt_prog_compiler_pic=
7852
7451
lt_prog_compiler_static=
7853
7452
 
7854
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7855
7454
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7856
7455
 
7857
7456
  if test "$GCC" = yes; then
7900
7499
      lt_prog_compiler_pic='-fno-common'
7901
7500
      ;;
7902
7501
 
 
7502
    haiku*)
 
7503
      # PIC is the default for Haiku.
 
7504
      # The "-static" flag exists, but is broken.
 
7505
      lt_prog_compiler_static=
 
7506
      ;;
 
7507
 
7903
7508
    hpux*)
7904
7509
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7905
7510
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7942
7547
      lt_prog_compiler_pic='-fPIC'
7943
7548
      ;;
7944
7549
    esac
 
7550
 
 
7551
    case $cc_basename in
 
7552
    nvcc*) # Cuda Compiler Driver 2.2
 
7553
      lt_prog_compiler_wl='-Xlinker '
 
7554
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
7555
      ;;
 
7556
    esac
7945
7557
  else
7946
7558
    # PORTME Check for flag to pass linker flags through the system compiler.
7947
7559
    case $host_os in
7983
7595
      lt_prog_compiler_static='-non_shared'
7984
7596
      ;;
7985
7597
 
7986
 
    linux* | k*bsd*-gnu)
 
7598
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7987
7599
      case $cc_basename in
7988
7600
      # old Intel for x86_64 which still supported -KPIC.
7989
7601
      ecc*)
8004
7616
        lt_prog_compiler_pic='--shared'
8005
7617
        lt_prog_compiler_static='--static'
8006
7618
        ;;
8007
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7619
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8008
7620
        # Portland Group compilers (*not* the Pentium gcc compiler,
8009
7621
        # which looks to be a dead project)
8010
7622
        lt_prog_compiler_wl='-Wl,'
8016
7628
        # All Alpha code is PIC.
8017
7629
        lt_prog_compiler_static='-non_shared'
8018
7630
        ;;
8019
 
      xl*)
8020
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
7631
      xl* | bgxl* | bgf* | mpixl*)
 
7632
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8021
7633
        lt_prog_compiler_wl='-Wl,'
8022
7634
        lt_prog_compiler_pic='-qpic'
8023
7635
        lt_prog_compiler_static='-qstaticlink'
8024
7636
        ;;
8025
7637
      *)
8026
7638
        case `$CC -V 2>&1 | sed 5q` in
 
7639
        *Sun\ F* | *Sun*Fortran*)
 
7640
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7641
          lt_prog_compiler_pic='-KPIC'
 
7642
          lt_prog_compiler_static='-Bstatic'
 
7643
          lt_prog_compiler_wl=''
 
7644
          ;;
8027
7645
        *Sun\ C*)
8028
7646
          # Sun C 5.9
8029
7647
          lt_prog_compiler_pic='-KPIC'
8030
7648
          lt_prog_compiler_static='-Bstatic'
8031
7649
          lt_prog_compiler_wl='-Wl,'
8032
7650
          ;;
8033
 
        *Sun\ F*)
8034
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8035
 
          lt_prog_compiler_pic='-KPIC'
8036
 
          lt_prog_compiler_static='-Bstatic'
8037
 
          lt_prog_compiler_wl=''
8038
 
          ;;
8039
7651
        esac
8040
7652
        ;;
8041
7653
      esac
8066
7678
      lt_prog_compiler_pic='-KPIC'
8067
7679
      lt_prog_compiler_static='-Bstatic'
8068
7680
      case $cc_basename in
8069
 
      f77* | f90* | f95*)
 
7681
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8070
7682
        lt_prog_compiler_wl='-Qoption ld ';;
8071
7683
      *)
8072
7684
        lt_prog_compiler_wl='-Wl,';;
8123
7735
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8124
7736
    ;;
8125
7737
esac
8126
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8127
7739
$as_echo "$lt_prog_compiler_pic" >&6; }
8128
7740
 
8129
7741
 
8135
7747
# Check to make sure the PIC flag actually works.
8136
7748
#
8137
7749
if test -n "$lt_prog_compiler_pic"; then
8138
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7750
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8139
7751
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8140
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
7752
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8141
7753
  $as_echo_n "(cached) " >&6
8142
7754
else
8143
7755
  lt_cv_prog_compiler_pic_works=no
8153
7765
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8154
7766
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8155
7767
   -e 's:$: $lt_compiler_flag:'`
8156
 
   (eval echo "\"\$as_me:8156: $lt_compile\"" >&5)
 
7768
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8157
7769
   (eval "$lt_compile" 2>conftest.err)
8158
7770
   ac_status=$?
8159
7771
   cat conftest.err >&5
8160
 
   echo "$as_me:8160: \$? = $ac_status" >&5
 
7772
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161
7773
   if (exit $ac_status) && test -s "$ac_outfile"; then
8162
7774
     # The compiler can only warn and ignore the option if not recognized
8163
7775
     # So say no if there are warnings other than the usual output.
8164
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7776
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8165
7777
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8166
7778
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8167
7779
       lt_cv_prog_compiler_pic_works=yes
8170
7782
   $RM conftest*
8171
7783
 
8172
7784
fi
8173
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8174
7786
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8175
7787
 
8176
7788
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8194
7806
# Check to make sure the static flag actually works.
8195
7807
#
8196
7808
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8197
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8198
7810
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8199
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
7811
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8200
7812
  $as_echo_n "(cached) " >&6
8201
7813
else
8202
7814
  lt_cv_prog_compiler_static_works=no
8209
7821
     if test -s conftest.err; then
8210
7822
       # Append any errors to the config.log.
8211
7823
       cat conftest.err 1>&5
8212
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7824
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8213
7825
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8214
7826
       if diff conftest.exp conftest.er2 >/dev/null; then
8215
7827
         lt_cv_prog_compiler_static_works=yes
8222
7834
   LDFLAGS="$save_LDFLAGS"
8223
7835
 
8224
7836
fi
8225
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8226
7838
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8227
7839
 
8228
7840
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8237
7849
 
8238
7850
 
8239
7851
 
8240
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7852
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8241
7853
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8242
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7854
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8243
7855
  $as_echo_n "(cached) " >&6
8244
7856
else
8245
7857
  lt_cv_prog_compiler_c_o=no
8258
7870
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8259
7871
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8260
7872
   -e 's:$: $lt_compiler_flag:'`
8261
 
   (eval echo "\"\$as_me:8261: $lt_compile\"" >&5)
 
7873
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8262
7874
   (eval "$lt_compile" 2>out/conftest.err)
8263
7875
   ac_status=$?
8264
7876
   cat out/conftest.err >&5
8265
 
   echo "$as_me:8265: \$? = $ac_status" >&5
 
7877
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266
7878
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8267
7879
   then
8268
7880
     # The compiler can only warn and ignore the option if not recognized
8269
7881
     # So say no if there are warnings
8270
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7882
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8271
7883
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8272
7884
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8273
7885
       lt_cv_prog_compiler_c_o=yes
8284
7896
   $RM conftest*
8285
7897
 
8286
7898
fi
8287
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8288
7900
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8289
7901
 
8290
7902
 
8292
7904
 
8293
7905
 
8294
7906
 
8295
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7907
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8296
7908
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8297
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7909
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8298
7910
  $as_echo_n "(cached) " >&6
8299
7911
else
8300
7912
  lt_cv_prog_compiler_c_o=no
8313
7925
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8314
7926
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8315
7927
   -e 's:$: $lt_compiler_flag:'`
8316
 
   (eval echo "\"\$as_me:8316: $lt_compile\"" >&5)
 
7928
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8317
7929
   (eval "$lt_compile" 2>out/conftest.err)
8318
7930
   ac_status=$?
8319
7931
   cat out/conftest.err >&5
8320
 
   echo "$as_me:8320: \$? = $ac_status" >&5
 
7932
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321
7933
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8322
7934
   then
8323
7935
     # The compiler can only warn and ignore the option if not recognized
8324
7936
     # So say no if there are warnings
8325
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7937
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8326
7938
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8327
7939
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8328
7940
       lt_cv_prog_compiler_c_o=yes
8339
7951
   $RM conftest*
8340
7952
 
8341
7953
fi
8342
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8343
7955
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8344
7956
 
8345
7957
 
8348
7960
hard_links="nottested"
8349
7961
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8350
7962
  # do not overwrite the value of need_locks provided by the user
8351
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7963
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8352
7964
$as_echo_n "checking if we can lock with hard links... " >&6; }
8353
7965
  hard_links=yes
8354
7966
  $RM conftest*
8356
7968
  touch conftest.a
8357
7969
  ln conftest.a conftest.b 2>&5 || hard_links=no
8358
7970
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8359
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
7971
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8360
7972
$as_echo "$hard_links" >&6; }
8361
7973
  if test "$hard_links" = no; then
8362
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
7974
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8363
7975
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8364
7976
    need_locks=warn
8365
7977
  fi
8372
7984
 
8373
7985
 
8374
7986
 
8375
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7987
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8376
7988
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8377
7989
 
8378
7990
  runpath_var=
8435
8047
  esac
8436
8048
 
8437
8049
  ld_shlibs=yes
 
8050
 
 
8051
  # On some targets, GNU ld is compatible enough with the native linker
 
8052
  # that we're better off using the native interface for both.
 
8053
  lt_use_gnu_ld_interface=no
8438
8054
  if test "$with_gnu_ld" = yes; then
 
8055
    case $host_os in
 
8056
      aix*)
 
8057
        # The AIX port of GNU ld has always aspired to compatibility
 
8058
        # with the native linker.  However, as the warning in the GNU ld
 
8059
        # block says, versions before 2.19.5* couldn't really create working
 
8060
        # shared libraries, regardless of the interface used.
 
8061
        case `$LD -v 2>&1` in
 
8062
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8063
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8064
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8065
          *)
 
8066
            lt_use_gnu_ld_interface=yes
 
8067
            ;;
 
8068
        esac
 
8069
        ;;
 
8070
      *)
 
8071
        lt_use_gnu_ld_interface=yes
 
8072
        ;;
 
8073
    esac
 
8074
  fi
 
8075
 
 
8076
  if test "$lt_use_gnu_ld_interface" = yes; then
8439
8077
    # If archive_cmds runs LD, not CC, wlarc should be empty
8440
8078
    wlarc='${wl}'
8441
8079
 
8453
8091
    fi
8454
8092
    supports_anon_versioning=no
8455
8093
    case `$LD -v 2>&1` in
 
8094
      *GNU\ gold*) supports_anon_versioning=yes ;;
8456
8095
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8457
8096
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8458
8097
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8468
8107
        ld_shlibs=no
8469
8108
        cat <<_LT_EOF 1>&2
8470
8109
 
8471
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8110
*** Warning: the GNU linker, at least up to release 2.19, is reported
8472
8111
*** to be unable to reliably create shared libraries on AIX.
8473
8112
*** Therefore, libtool is disabling shared libraries support.  If you
8474
 
*** really care for shared libraries, you may want to modify your PATH
8475
 
*** so that a non-GNU linker is found, and then restart.
 
8113
*** really care for shared libraries, you may want to install binutils
 
8114
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8115
*** You will then need to restart the configuration process.
8476
8116
 
8477
8117
_LT_EOF
8478
8118
      fi
8508
8148
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8509
8149
      # as there is no search path for DLLs.
8510
8150
      hardcode_libdir_flag_spec='-L$libdir'
 
8151
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8511
8152
      allow_undefined_flag=unsupported
8512
8153
      always_export_symbols=no
8513
8154
      enable_shared_with_static_runtimes=yes
8529
8170
      fi
8530
8171
      ;;
8531
8172
 
 
8173
    haiku*)
 
8174
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8175
      link_all_deplibs=yes
 
8176
      ;;
 
8177
 
8532
8178
    interix[3-9]*)
8533
8179
      hardcode_direct=no
8534
8180
      hardcode_shlibpath_var=no
8544
8190
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8545
8191
      ;;
8546
8192
 
8547
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8193
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8548
8194
      tmp_diet=no
8549
8195
      if test "$host_os" = linux-dietlibc; then
8550
8196
        case $cc_basename in
8558
8204
        tmp_sharedflag='-shared'
8559
8205
        case $cc_basename,$host_cpu in
8560
8206
        pgcc*)                          # Portland Group C compiler
8561
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8207
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8562
8208
          tmp_addflag=' $pic_flag'
8563
8209
          ;;
8564
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8565
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8210
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8211
                                        # Portland Group f77 and f90 compilers
 
8212
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8566
8213
          tmp_addflag=' $pic_flag -Mnomain' ;;
8567
8214
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8568
8215
          tmp_addflag=' -i_dynamic' ;;
8573
8220
        lf95*)                          # Lahey Fortran 8.1
8574
8221
          whole_archive_flag_spec=
8575
8222
          tmp_sharedflag='--shared' ;;
8576
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8223
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8577
8224
          tmp_sharedflag='-qmkshrobj'
8578
8225
          tmp_addflag= ;;
 
8226
        nvcc*)  # Cuda Compiler Driver 2.2
 
8227
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
8228
          compiler_needs_object=yes
 
8229
          ;;
8579
8230
        esac
8580
8231
        case `$CC -V 2>&1 | sed 5q` in
8581
8232
        *Sun\ C*)                       # Sun C 5.9
8582
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8233
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8583
8234
          compiler_needs_object=yes
8584
8235
          tmp_sharedflag='-G' ;;
8585
8236
        *Sun\ F*)                       # Sun Fortran 8.3
8595
8246
        fi
8596
8247
 
8597
8248
        case $cc_basename in
8598
 
        xlf*)
 
8249
        xlf* | bgf* | bgxlf* | mpixlf*)
8599
8250
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8600
8251
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8601
8252
          hardcode_libdir_flag_spec=
8602
8253
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8603
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8254
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8604
8255
          if test "x$supports_anon_versioning" = xyes; then
8605
8256
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8606
8257
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8607
8258
              echo "local: *; };" >> $output_objdir/$libname.ver~
8608
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8259
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8609
8260
          fi
8610
8261
          ;;
8611
8262
        esac
8726
8377
      else
8727
8378
        # If we're using GNU nm, then we don't want the "-C" option.
8728
8379
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8380
        # Also, AIX nm treats weak defined symbols like other global
 
8381
        # defined symbols, whereas GNU nm marks them as "W".
8729
8382
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8730
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
8383
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8731
8384
        else
8732
8385
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8733
8386
        fi
8814
8467
        allow_undefined_flag='-berok'
8815
8468
        # Determine the default libpath from the value encoded in an
8816
8469
        # empty executable.
8817
 
        cat >conftest.$ac_ext <<_ACEOF
8818
 
/* confdefs.h.  */
8819
 
_ACEOF
8820
 
cat confdefs.h >>conftest.$ac_ext
8821
 
cat >>conftest.$ac_ext <<_ACEOF
 
8470
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822
8471
/* end confdefs.h.  */
8823
8472
 
8824
8473
int
8829
8478
  return 0;
8830
8479
}
8831
8480
_ACEOF
8832
 
rm -f conftest.$ac_objext conftest$ac_exeext
8833
 
if { (ac_try="$ac_link"
8834
 
case "(($ac_try" in
8835
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8836
 
  *) ac_try_echo=$ac_try;;
8837
 
esac
8838
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8839
 
$as_echo "$ac_try_echo") >&5
8840
 
  (eval "$ac_link") 2>conftest.er1
8841
 
  ac_status=$?
8842
 
  grep -v '^ *+' conftest.er1 >conftest.err
8843
 
  rm -f conftest.er1
8844
 
  cat conftest.err >&5
8845
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846
 
  (exit $ac_status); } && {
8847
 
         test -z "$ac_c_werror_flag" ||
8848
 
         test ! -s conftest.err
8849
 
       } && test -s conftest$ac_exeext && {
8850
 
         test "$cross_compiling" = yes ||
8851
 
         $as_test_x conftest$ac_exeext
8852
 
       }; then
 
8481
if ac_fn_c_try_link "$LINENO"; then :
8853
8482
 
8854
8483
lt_aix_libpath_sed='
8855
8484
    /Import File Strings/,/^$/ {
8863
8492
if test -z "$aix_libpath"; then
8864
8493
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8865
8494
fi
8866
 
else
8867
 
  $as_echo "$as_me: failed program was:" >&5
8868
 
sed 's/^/| /' conftest.$ac_ext >&5
8869
 
 
8870
 
 
8871
8495
fi
8872
 
 
8873
 
rm -rf conftest.dSYM
8874
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8875
 
      conftest$ac_exeext conftest.$ac_ext
 
8496
rm -f core conftest.err conftest.$ac_objext \
 
8497
    conftest$ac_exeext conftest.$ac_ext
8876
8498
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8877
8499
 
8878
8500
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8879
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8501
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8880
8502
      else
8881
8503
        if test "$host_cpu" = ia64; then
8882
8504
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8885
8507
        else
8886
8508
         # Determine the default libpath from the value encoded in an
8887
8509
         # empty executable.
8888
 
         cat >conftest.$ac_ext <<_ACEOF
8889
 
/* confdefs.h.  */
8890
 
_ACEOF
8891
 
cat confdefs.h >>conftest.$ac_ext
8892
 
cat >>conftest.$ac_ext <<_ACEOF
 
8510
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8893
8511
/* end confdefs.h.  */
8894
8512
 
8895
8513
int
8900
8518
  return 0;
8901
8519
}
8902
8520
_ACEOF
8903
 
rm -f conftest.$ac_objext conftest$ac_exeext
8904
 
if { (ac_try="$ac_link"
8905
 
case "(($ac_try" in
8906
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8907
 
  *) ac_try_echo=$ac_try;;
8908
 
esac
8909
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8910
 
$as_echo "$ac_try_echo") >&5
8911
 
  (eval "$ac_link") 2>conftest.er1
8912
 
  ac_status=$?
8913
 
  grep -v '^ *+' conftest.er1 >conftest.err
8914
 
  rm -f conftest.er1
8915
 
  cat conftest.err >&5
8916
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917
 
  (exit $ac_status); } && {
8918
 
         test -z "$ac_c_werror_flag" ||
8919
 
         test ! -s conftest.err
8920
 
       } && test -s conftest$ac_exeext && {
8921
 
         test "$cross_compiling" = yes ||
8922
 
         $as_test_x conftest$ac_exeext
8923
 
       }; then
 
8521
if ac_fn_c_try_link "$LINENO"; then :
8924
8522
 
8925
8523
lt_aix_libpath_sed='
8926
8524
    /Import File Strings/,/^$/ {
8934
8532
if test -z "$aix_libpath"; then
8935
8533
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8936
8534
fi
8937
 
else
8938
 
  $as_echo "$as_me: failed program was:" >&5
8939
 
sed 's/^/| /' conftest.$ac_ext >&5
8940
 
 
8941
 
 
8942
8535
fi
8943
 
 
8944
 
rm -rf conftest.dSYM
8945
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8946
 
      conftest$ac_exeext conftest.$ac_ext
 
8536
rm -f core conftest.err conftest.$ac_objext \
 
8537
    conftest$ac_exeext conftest.$ac_ext
8947
8538
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8948
8539
 
8949
8540
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8951
8542
          # -berok will link without error, but may produce a broken library.
8952
8543
          no_undefined_flag=' ${wl}-bernotok'
8953
8544
          allow_undefined_flag=' ${wl}-berok'
8954
 
          # Exported symbols can be pulled into shared objects from archives
8955
 
          whole_archive_flag_spec='$convenience'
 
8545
          if test "$with_gnu_ld" = yes; then
 
8546
            # We only use this code for GNU lds that support --whole-archive.
 
8547
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
8548
          else
 
8549
            # Exported symbols can be pulled into shared objects from archives
 
8550
            whole_archive_flag_spec='$convenience'
 
8551
          fi
8956
8552
          archive_cmds_need_lc=yes
8957
8553
          # This is similar to how AIX traditionally builds its shared libraries.
8958
8554
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8991
8587
      # Tell ltmain to make .dll files, not .so files.
8992
8588
      shrext_cmds=".dll"
8993
8589
      # FIXME: Setting linknames here is a bad hack.
8994
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8590
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8995
8591
      # The linker will automatically build a .lib file if we build a DLL.
8996
8592
      old_archive_from_new_cmds='true'
8997
8593
      # FIXME: Should let the user specify the lib program.
9007
8603
  hardcode_direct=no
9008
8604
  hardcode_automatic=yes
9009
8605
  hardcode_shlibpath_var=unsupported
9010
 
  whole_archive_flag_spec=''
 
8606
  if test "$lt_cv_ld_force_load" = "yes"; then
 
8607
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
8608
  else
 
8609
    whole_archive_flag_spec=''
 
8610
  fi
9011
8611
  link_all_deplibs=yes
9012
8612
  allow_undefined_flag="$_lt_dar_allow_undefined"
9013
8613
  case $cc_basename in
9015
8615
     *) _lt_dar_can_shared=$GCC ;;
9016
8616
  esac
9017
8617
  if test "$_lt_dar_can_shared" = "yes"; then
9018
 
    output_verbose_link_cmd=echo
 
8618
    output_verbose_link_cmd=func_echo_all
9019
8619
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9020
8620
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9021
8621
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9081
8681
      ;;
9082
8682
 
9083
8683
    hpux10*)
9084
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8684
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9085
8685
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9086
8686
      else
9087
8687
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9100
8700
      ;;
9101
8701
 
9102
8702
    hpux11*)
9103
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8703
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9104
8704
        case $host_cpu in
9105
8705
        hppa*64*)
9106
8706
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9121
8721
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9122
8722
          ;;
9123
8723
        *)
9124
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8724
 
 
8725
          # Older versions of the 11.00 compiler do not understand -b yet
 
8726
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
8727
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
8728
$as_echo_n "checking if $CC understands -b... " >&6; }
 
8729
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
8730
  $as_echo_n "(cached) " >&6
 
8731
else
 
8732
  lt_cv_prog_compiler__b=no
 
8733
   save_LDFLAGS="$LDFLAGS"
 
8734
   LDFLAGS="$LDFLAGS -b"
 
8735
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8736
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8737
     # The linker can only warn and ignore the option if not recognized
 
8738
     # So say no if there are warnings
 
8739
     if test -s conftest.err; then
 
8740
       # Append any errors to the config.log.
 
8741
       cat conftest.err 1>&5
 
8742
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
8743
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8744
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8745
         lt_cv_prog_compiler__b=yes
 
8746
       fi
 
8747
     else
 
8748
       lt_cv_prog_compiler__b=yes
 
8749
     fi
 
8750
   fi
 
8751
   $RM -r conftest*
 
8752
   LDFLAGS="$save_LDFLAGS"
 
8753
 
 
8754
fi
 
8755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
8756
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
8757
 
 
8758
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
8759
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8760
else
 
8761
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8762
fi
 
8763
 
9125
8764
          ;;
9126
8765
        esac
9127
8766
      fi
9149
8788
 
9150
8789
    irix5* | irix6* | nonstopux*)
9151
8790
      if test "$GCC" = yes; then
9152
 
        archive_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 -o $lib'
 
8791
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9153
8792
        # Try to use the -exported_symbol ld option, if it does not
9154
8793
        # work, assume that -exports_file does not work either and
9155
8794
        # implicitly export all symbols.
9156
8795
        save_LDFLAGS="$LDFLAGS"
9157
8796
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9158
 
        cat >conftest.$ac_ext <<_ACEOF
 
8797
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8798
/* end confdefs.h.  */
9159
8799
int foo(void) {}
9160
8800
_ACEOF
9161
 
rm -f conftest.$ac_objext conftest$ac_exeext
9162
 
if { (ac_try="$ac_link"
9163
 
case "(($ac_try" in
9164
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9165
 
  *) ac_try_echo=$ac_try;;
9166
 
esac
9167
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9168
 
$as_echo "$ac_try_echo") >&5
9169
 
  (eval "$ac_link") 2>conftest.er1
9170
 
  ac_status=$?
9171
 
  grep -v '^ *+' conftest.er1 >conftest.err
9172
 
  rm -f conftest.er1
9173
 
  cat conftest.err >&5
9174
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175
 
  (exit $ac_status); } && {
9176
 
         test -z "$ac_c_werror_flag" ||
9177
 
         test ! -s conftest.err
9178
 
       } && test -s conftest$ac_exeext && {
9179
 
         test "$cross_compiling" = yes ||
9180
 
         $as_test_x conftest$ac_exeext
9181
 
       }; then
9182
 
  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'
9183
 
 
9184
 
else
9185
 
  $as_echo "$as_me: failed program was:" >&5
9186
 
sed 's/^/| /' conftest.$ac_ext >&5
9187
 
 
 
8801
if ac_fn_c_try_link "$LINENO"; then :
 
8802
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9188
8803
 
9189
8804
fi
9190
 
 
9191
 
rm -rf conftest.dSYM
9192
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9193
 
      conftest$ac_exeext conftest.$ac_ext
 
8805
rm -f core conftest.err conftest.$ac_objext \
 
8806
    conftest$ac_exeext conftest.$ac_ext
9194
8807
        LDFLAGS="$save_LDFLAGS"
9195
8808
      else
9196
 
        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'
9197
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
8809
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
8810
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9198
8811
      fi
9199
8812
      archive_cmds_need_lc='no'
9200
8813
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9256
8869
      hardcode_libdir_flag_spec='-L$libdir'
9257
8870
      hardcode_minus_L=yes
9258
8871
      allow_undefined_flag=unsupported
9259
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
8872
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9260
8873
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9261
8874
      ;;
9262
8875
 
9263
8876
    osf3*)
9264
8877
      if test "$GCC" = yes; then
9265
8878
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9266
 
        archive_cmds='$CC -shared${allow_undefined_flag} $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 -o $lib'
 
8879
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9267
8880
      else
9268
8881
        allow_undefined_flag=' -expect_unresolved \*'
9269
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
8882
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9270
8883
      fi
9271
8884
      archive_cmds_need_lc='no'
9272
8885
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9276
8889
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9277
8890
      if test "$GCC" = yes; then
9278
8891
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9279
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
8892
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9280
8893
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9281
8894
      else
9282
8895
        allow_undefined_flag=' -expect_unresolved \*'
9283
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
8896
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9284
8897
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9285
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
8898
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9286
8899
 
9287
8900
        # Both c and cxx compiler support -rpath directly
9288
8901
        hardcode_libdir_flag_spec='-rpath $libdir'
9446
9059
    fi
9447
9060
  fi
9448
9061
 
9449
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9450
9063
$as_echo "$ld_shlibs" >&6; }
9451
9064
test "$ld_shlibs" = no && can_build_shared=no
9452
9065
 
9483
9096
      # Test whether the compiler implicitly links with -lc since on some
9484
9097
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9485
9098
      # to ld, don't add -lc before -lgcc.
9486
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9099
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9487
9100
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9488
 
      $RM conftest*
9489
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9101
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
9102
  $as_echo_n "(cached) " >&6
 
9103
else
 
9104
  $RM conftest*
 
9105
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9490
9106
 
9491
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9107
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9492
9108
  (eval $ac_compile) 2>&5
9493
9109
  ac_status=$?
9494
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9495
 
  (exit $ac_status); } 2>conftest.err; then
9496
 
        soname=conftest
9497
 
        lib=conftest
9498
 
        libobjs=conftest.$ac_objext
9499
 
        deplibs=
9500
 
        wl=$lt_prog_compiler_wl
9501
 
        pic_flag=$lt_prog_compiler_pic
9502
 
        compiler_flags=-v
9503
 
        linker_flags=-v
9504
 
        verstring=
9505
 
        output_objdir=.
9506
 
        libname=conftest
9507
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9508
 
        allow_undefined_flag=
9509
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9110
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9111
  test $ac_status = 0; } 2>conftest.err; then
 
9112
          soname=conftest
 
9113
          lib=conftest
 
9114
          libobjs=conftest.$ac_objext
 
9115
          deplibs=
 
9116
          wl=$lt_prog_compiler_wl
 
9117
          pic_flag=$lt_prog_compiler_pic
 
9118
          compiler_flags=-v
 
9119
          linker_flags=-v
 
9120
          verstring=
 
9121
          output_objdir=.
 
9122
          libname=conftest
 
9123
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9124
          allow_undefined_flag=
 
9125
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9510
9126
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9511
9127
  ac_status=$?
9512
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513
 
  (exit $ac_status); }
9514
 
        then
9515
 
          archive_cmds_need_lc=no
9516
 
        else
9517
 
          archive_cmds_need_lc=yes
9518
 
        fi
9519
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9520
 
      else
9521
 
        cat conftest.err 1>&5
9522
 
      fi
9523
 
      $RM conftest*
9524
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9525
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9128
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9129
  test $ac_status = 0; }
 
9130
          then
 
9131
            lt_cv_archive_cmds_need_lc=no
 
9132
          else
 
9133
            lt_cv_archive_cmds_need_lc=yes
 
9134
          fi
 
9135
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9136
        else
 
9137
          cat conftest.err 1>&5
 
9138
        fi
 
9139
        $RM conftest*
 
9140
 
 
9141
fi
 
9142
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9143
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9144
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9526
9145
      ;;
9527
9146
    esac
9528
9147
  fi
9685
9304
 
9686
9305
 
9687
9306
 
9688
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9307
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9689
9308
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9690
9309
 
9691
9310
if test "$GCC" = yes; then
9693
9312
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9694
9313
    *) lt_awk_arg="/^libraries:/" ;;
9695
9314
  esac
9696
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9697
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9315
  case $host_os in
 
9316
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
9317
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
9318
  esac
 
9319
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
9320
  case $lt_search_path_spec in
 
9321
  *\;*)
9698
9322
    # if the path contains ";" then we assume it to be the separator
9699
9323
    # otherwise default to the standard path separator (i.e. ":") - it is
9700
9324
    # assumed that no part of a normal pathname contains ";" but that should
9701
9325
    # okay in the real world where ";" in dirpaths is itself problematic.
9702
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9703
 
  else
9704
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9705
 
  fi
 
9326
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
9327
    ;;
 
9328
  *)
 
9329
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
9330
    ;;
 
9331
  esac
9706
9332
  # Ok, now we have the path, separated by spaces, we can step through it
9707
9333
  # and add multilib dir if necessary.
9708
9334
  lt_tmp_lt_search_path_spec=
9715
9341
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9716
9342
    fi
9717
9343
  done
9718
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9344
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9719
9345
BEGIN {RS=" "; FS="/|\n";} {
9720
9346
  lt_foo="";
9721
9347
  lt_count=0;
9735
9361
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9736
9362
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9737
9363
}'`
9738
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9364
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
9365
  # for these hosts.
 
9366
  case $host_os in
 
9367
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
9368
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
9369
  esac
 
9370
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9739
9371
else
9740
9372
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9741
9373
fi
9823
9455
  m68k)
9824
9456
    library_names_spec='$libname.ixlibrary $libname.a'
9825
9457
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9826
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
9458
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9827
9459
    ;;
9828
9460
  esac
9829
9461
  ;;
9876
9508
    cygwin*)
9877
9509
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9878
9510
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9879
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
9511
 
 
9512
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9880
9513
      ;;
9881
9514
    mingw* | cegcc*)
9882
9515
      # MinGW DLLs use traditional 'lib' prefix
9883
9516
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9884
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9885
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9886
 
        # It is most probably a Windows format PATH printed by
9887
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9888
 
        # path with ; separators, and with drive letters. We can handle the
9889
 
        # drive letters (cygwin fileutils understands them), so leave them,
9890
 
        # especially as we might pass files found there to a mingw objdump,
9891
 
        # which wouldn't understand a cygwinified path. Ahh.
9892
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9893
 
      else
9894
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9895
 
      fi
9896
9517
      ;;
9897
9518
    pw32*)
9898
9519
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9992
9613
  hardcode_into_libs=yes
9993
9614
  ;;
9994
9615
 
 
9616
haiku*)
 
9617
  version_type=linux
 
9618
  need_lib_prefix=no
 
9619
  need_version=no
 
9620
  dynamic_linker="$host_os runtime_loader"
 
9621
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
9622
  soname_spec='${libname}${release}${shared_ext}$major'
 
9623
  shlibpath_var=LIBRARY_PATH
 
9624
  shlibpath_overrides_runpath=yes
 
9625
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
9626
  hardcode_into_libs=yes
 
9627
  ;;
 
9628
 
9995
9629
hpux9* | hpux10* | hpux11*)
9996
9630
  # Give a soname corresponding to the major version so that dld.sl refuses to
9997
9631
  # link against other versions.
10034
9668
    soname_spec='${libname}${release}${shared_ext}$major'
10035
9669
    ;;
10036
9670
  esac
10037
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
9671
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10038
9672
  postinstall_cmds='chmod 555 $lib'
 
9673
  # or fails outright, so override atomically:
 
9674
  install_override_mode=555
10039
9675
  ;;
10040
9676
 
10041
9677
interix[3-9]*)
10093
9729
  ;;
10094
9730
 
10095
9731
# This must be Linux ELF.
10096
 
linux* | k*bsd*-gnu)
 
9732
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10097
9733
  version_type=linux
10098
9734
  need_lib_prefix=no
10099
9735
  need_version=no
10102
9738
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10103
9739
  shlibpath_var=LD_LIBRARY_PATH
10104
9740
  shlibpath_overrides_runpath=no
 
9741
 
10105
9742
  # Some binutils ld are patched to set DT_RUNPATH
10106
 
  save_LDFLAGS=$LDFLAGS
10107
 
  save_libdir=$libdir
10108
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10109
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10110
 
  cat >conftest.$ac_ext <<_ACEOF
10111
 
/* confdefs.h.  */
10112
 
_ACEOF
10113
 
cat confdefs.h >>conftest.$ac_ext
10114
 
cat >>conftest.$ac_ext <<_ACEOF
 
9743
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
9744
  $as_echo_n "(cached) " >&6
 
9745
else
 
9746
  lt_cv_shlibpath_overrides_runpath=no
 
9747
    save_LDFLAGS=$LDFLAGS
 
9748
    save_libdir=$libdir
 
9749
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9750
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9751
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115
9752
/* end confdefs.h.  */
10116
9753
 
10117
9754
int
10122
9759
  return 0;
10123
9760
}
10124
9761
_ACEOF
10125
 
rm -f conftest.$ac_objext conftest$ac_exeext
10126
 
if { (ac_try="$ac_link"
10127
 
case "(($ac_try" in
10128
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10129
 
  *) ac_try_echo=$ac_try;;
10130
 
esac
10131
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10132
 
$as_echo "$ac_try_echo") >&5
10133
 
  (eval "$ac_link") 2>conftest.er1
10134
 
  ac_status=$?
10135
 
  grep -v '^ *+' conftest.er1 >conftest.err
10136
 
  rm -f conftest.er1
10137
 
  cat conftest.err >&5
10138
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139
 
  (exit $ac_status); } && {
10140
 
         test -z "$ac_c_werror_flag" ||
10141
 
         test ! -s conftest.err
10142
 
       } && test -s conftest$ac_exeext && {
10143
 
         test "$cross_compiling" = yes ||
10144
 
         $as_test_x conftest$ac_exeext
10145
 
       }; then
10146
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10147
 
  shlibpath_overrides_runpath=yes
10148
 
fi
10149
 
 
10150
 
else
10151
 
  $as_echo "$as_me: failed program was:" >&5
10152
 
sed 's/^/| /' conftest.$ac_ext >&5
10153
 
 
10154
 
 
10155
 
fi
10156
 
 
10157
 
rm -rf conftest.dSYM
10158
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10159
 
      conftest$ac_exeext conftest.$ac_ext
10160
 
  LDFLAGS=$save_LDFLAGS
10161
 
  libdir=$save_libdir
 
9762
if ac_fn_c_try_link "$LINENO"; then :
 
9763
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
9764
  lt_cv_shlibpath_overrides_runpath=yes
 
9765
fi
 
9766
fi
 
9767
rm -f core conftest.err conftest.$ac_objext \
 
9768
    conftest$ac_exeext conftest.$ac_ext
 
9769
    LDFLAGS=$save_LDFLAGS
 
9770
    libdir=$save_libdir
 
9771
 
 
9772
fi
 
9773
 
 
9774
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10162
9775
 
10163
9776
  # This implies no fast_install, which is unacceptable.
10164
9777
  # Some rework will be needed to allow for fast_install
10170
9783
 
10171
9784
  # Append ld.so.conf contents to the search path
10172
9785
  if test -f /etc/ld.so.conf; then
10173
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
9786
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10174
9787
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
9788
 
10175
9789
  fi
10176
9790
 
10177
9791
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10371
9985
  dynamic_linker=no
10372
9986
  ;;
10373
9987
esac
10374
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10375
9989
$as_echo "$dynamic_linker" >&6; }
10376
9990
test "$dynamic_linker" = no && can_build_shared=no
10377
9991
 
10473
10087
 
10474
10088
 
10475
10089
 
10476
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10090
 
 
10091
 
 
10092
 
 
10093
 
 
10094
 
 
10095
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10477
10096
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10478
10097
hardcode_action=
10479
10098
if test -n "$hardcode_libdir_flag_spec" ||
10498
10117
  # directories.
10499
10118
  hardcode_action=unsupported
10500
10119
fi
10501
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10502
10121
$as_echo "$hardcode_action" >&6; }
10503
10122
 
10504
10123
if test "$hardcode_action" = relink ||
10543
10162
 
10544
10163
  darwin*)
10545
10164
  # if libdl is installed we need to link against it
10546
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10165
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10547
10166
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10548
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10167
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10549
10168
  $as_echo_n "(cached) " >&6
10550
10169
else
10551
10170
  ac_check_lib_save_LIBS=$LIBS
10552
10171
LIBS="-ldl  $LIBS"
10553
 
cat >conftest.$ac_ext <<_ACEOF
10554
 
/* confdefs.h.  */
10555
 
_ACEOF
10556
 
cat confdefs.h >>conftest.$ac_ext
10557
 
cat >>conftest.$ac_ext <<_ACEOF
 
10172
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558
10173
/* end confdefs.h.  */
10559
10174
 
10560
10175
/* Override any GCC internal prototype to avoid an error.
10572
10187
  return 0;
10573
10188
}
10574
10189
_ACEOF
10575
 
rm -f conftest.$ac_objext conftest$ac_exeext
10576
 
if { (ac_try="$ac_link"
10577
 
case "(($ac_try" in
10578
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10579
 
  *) ac_try_echo=$ac_try;;
10580
 
esac
10581
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10582
 
$as_echo "$ac_try_echo") >&5
10583
 
  (eval "$ac_link") 2>conftest.er1
10584
 
  ac_status=$?
10585
 
  grep -v '^ *+' conftest.er1 >conftest.err
10586
 
  rm -f conftest.er1
10587
 
  cat conftest.err >&5
10588
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589
 
  (exit $ac_status); } && {
10590
 
         test -z "$ac_c_werror_flag" ||
10591
 
         test ! -s conftest.err
10592
 
       } && test -s conftest$ac_exeext && {
10593
 
         test "$cross_compiling" = yes ||
10594
 
         $as_test_x conftest$ac_exeext
10595
 
       }; then
 
10190
if ac_fn_c_try_link "$LINENO"; then :
10596
10191
  ac_cv_lib_dl_dlopen=yes
10597
10192
else
10598
 
  $as_echo "$as_me: failed program was:" >&5
10599
 
sed 's/^/| /' conftest.$ac_ext >&5
10600
 
 
10601
 
        ac_cv_lib_dl_dlopen=no
 
10193
  ac_cv_lib_dl_dlopen=no
10602
10194
fi
10603
 
 
10604
 
rm -rf conftest.dSYM
10605
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10606
 
      conftest$ac_exeext conftest.$ac_ext
 
10195
rm -f core conftest.err conftest.$ac_objext \
 
10196
    conftest$ac_exeext conftest.$ac_ext
10607
10197
LIBS=$ac_check_lib_save_LIBS
10608
10198
fi
10609
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10610
10200
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10611
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10201
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10612
10202
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10613
10203
else
10614
10204
 
10621
10211
    ;;
10622
10212
 
10623
10213
  *)
10624
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10625
 
$as_echo_n "checking for shl_load... " >&6; }
10626
 
if test "${ac_cv_func_shl_load+set}" = set; then
10627
 
  $as_echo_n "(cached) " >&6
10628
 
else
10629
 
  cat >conftest.$ac_ext <<_ACEOF
10630
 
/* confdefs.h.  */
10631
 
_ACEOF
10632
 
cat confdefs.h >>conftest.$ac_ext
10633
 
cat >>conftest.$ac_ext <<_ACEOF
10634
 
/* end confdefs.h.  */
10635
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10636
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10637
 
#define shl_load innocuous_shl_load
10638
 
 
10639
 
/* System header to define __stub macros and hopefully few prototypes,
10640
 
    which can conflict with char shl_load (); below.
10641
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10642
 
    <limits.h> exists even on freestanding compilers.  */
10643
 
 
10644
 
#ifdef __STDC__
10645
 
# include <limits.h>
10646
 
#else
10647
 
# include <assert.h>
10648
 
#endif
10649
 
 
10650
 
#undef shl_load
10651
 
 
10652
 
/* Override any GCC internal prototype to avoid an error.
10653
 
   Use char because int might match the return type of a GCC
10654
 
   builtin and then its argument prototype would still apply.  */
10655
 
#ifdef __cplusplus
10656
 
extern "C"
10657
 
#endif
10658
 
char shl_load ();
10659
 
/* The GNU C library defines this for functions which it implements
10660
 
    to always fail with ENOSYS.  Some functions are actually named
10661
 
    something starting with __ and the normal name is an alias.  */
10662
 
#if defined __stub_shl_load || defined __stub___shl_load
10663
 
choke me
10664
 
#endif
10665
 
 
10666
 
int
10667
 
main ()
10668
 
{
10669
 
return shl_load ();
10670
 
  ;
10671
 
  return 0;
10672
 
}
10673
 
_ACEOF
10674
 
rm -f conftest.$ac_objext conftest$ac_exeext
10675
 
if { (ac_try="$ac_link"
10676
 
case "(($ac_try" in
10677
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10678
 
  *) ac_try_echo=$ac_try;;
10679
 
esac
10680
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10681
 
$as_echo "$ac_try_echo") >&5
10682
 
  (eval "$ac_link") 2>conftest.er1
10683
 
  ac_status=$?
10684
 
  grep -v '^ *+' conftest.er1 >conftest.err
10685
 
  rm -f conftest.er1
10686
 
  cat conftest.err >&5
10687
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688
 
  (exit $ac_status); } && {
10689
 
         test -z "$ac_c_werror_flag" ||
10690
 
         test ! -s conftest.err
10691
 
       } && test -s conftest$ac_exeext && {
10692
 
         test "$cross_compiling" = yes ||
10693
 
         $as_test_x conftest$ac_exeext
10694
 
       }; then
10695
 
  ac_cv_func_shl_load=yes
10696
 
else
10697
 
  $as_echo "$as_me: failed program was:" >&5
10698
 
sed 's/^/| /' conftest.$ac_ext >&5
10699
 
 
10700
 
        ac_cv_func_shl_load=no
10701
 
fi
10702
 
 
10703
 
rm -rf conftest.dSYM
10704
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10705
 
      conftest$ac_exeext conftest.$ac_ext
10706
 
fi
10707
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10708
 
$as_echo "$ac_cv_func_shl_load" >&6; }
10709
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
10214
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10215
if test "x$ac_cv_func_shl_load" = x""yes; then :
10710
10216
  lt_cv_dlopen="shl_load"
10711
10217
else
10712
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10218
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10713
10219
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10714
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
10220
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10715
10221
  $as_echo_n "(cached) " >&6
10716
10222
else
10717
10223
  ac_check_lib_save_LIBS=$LIBS
10718
10224
LIBS="-ldld  $LIBS"
10719
 
cat >conftest.$ac_ext <<_ACEOF
10720
 
/* confdefs.h.  */
10721
 
_ACEOF
10722
 
cat confdefs.h >>conftest.$ac_ext
10723
 
cat >>conftest.$ac_ext <<_ACEOF
 
10225
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724
10226
/* end confdefs.h.  */
10725
10227
 
10726
10228
/* Override any GCC internal prototype to avoid an error.
10738
10240
  return 0;
10739
10241
}
10740
10242
_ACEOF
10741
 
rm -f conftest.$ac_objext conftest$ac_exeext
10742
 
if { (ac_try="$ac_link"
10743
 
case "(($ac_try" in
10744
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10745
 
  *) ac_try_echo=$ac_try;;
10746
 
esac
10747
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10748
 
$as_echo "$ac_try_echo") >&5
10749
 
  (eval "$ac_link") 2>conftest.er1
10750
 
  ac_status=$?
10751
 
  grep -v '^ *+' conftest.er1 >conftest.err
10752
 
  rm -f conftest.er1
10753
 
  cat conftest.err >&5
10754
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755
 
  (exit $ac_status); } && {
10756
 
         test -z "$ac_c_werror_flag" ||
10757
 
         test ! -s conftest.err
10758
 
       } && test -s conftest$ac_exeext && {
10759
 
         test "$cross_compiling" = yes ||
10760
 
         $as_test_x conftest$ac_exeext
10761
 
       }; then
 
10243
if ac_fn_c_try_link "$LINENO"; then :
10762
10244
  ac_cv_lib_dld_shl_load=yes
10763
10245
else
10764
 
  $as_echo "$as_me: failed program was:" >&5
10765
 
sed 's/^/| /' conftest.$ac_ext >&5
10766
 
 
10767
 
        ac_cv_lib_dld_shl_load=no
 
10246
  ac_cv_lib_dld_shl_load=no
10768
10247
fi
10769
 
 
10770
 
rm -rf conftest.dSYM
10771
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10772
 
      conftest$ac_exeext conftest.$ac_ext
 
10248
rm -f core conftest.err conftest.$ac_objext \
 
10249
    conftest$ac_exeext conftest.$ac_ext
10773
10250
LIBS=$ac_check_lib_save_LIBS
10774
10251
fi
10775
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10776
10253
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10777
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10254
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10778
10255
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10779
10256
else
10780
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10781
 
$as_echo_n "checking for dlopen... " >&6; }
10782
 
if test "${ac_cv_func_dlopen+set}" = set; then
10783
 
  $as_echo_n "(cached) " >&6
10784
 
else
10785
 
  cat >conftest.$ac_ext <<_ACEOF
10786
 
/* confdefs.h.  */
10787
 
_ACEOF
10788
 
cat confdefs.h >>conftest.$ac_ext
10789
 
cat >>conftest.$ac_ext <<_ACEOF
10790
 
/* end confdefs.h.  */
10791
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10792
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10793
 
#define dlopen innocuous_dlopen
10794
 
 
10795
 
/* System header to define __stub macros and hopefully few prototypes,
10796
 
    which can conflict with char dlopen (); below.
10797
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10798
 
    <limits.h> exists even on freestanding compilers.  */
10799
 
 
10800
 
#ifdef __STDC__
10801
 
# include <limits.h>
10802
 
#else
10803
 
# include <assert.h>
10804
 
#endif
10805
 
 
10806
 
#undef dlopen
10807
 
 
10808
 
/* Override any GCC internal prototype to avoid an error.
10809
 
   Use char because int might match the return type of a GCC
10810
 
   builtin and then its argument prototype would still apply.  */
10811
 
#ifdef __cplusplus
10812
 
extern "C"
10813
 
#endif
10814
 
char dlopen ();
10815
 
/* The GNU C library defines this for functions which it implements
10816
 
    to always fail with ENOSYS.  Some functions are actually named
10817
 
    something starting with __ and the normal name is an alias.  */
10818
 
#if defined __stub_dlopen || defined __stub___dlopen
10819
 
choke me
10820
 
#endif
10821
 
 
10822
 
int
10823
 
main ()
10824
 
{
10825
 
return dlopen ();
10826
 
  ;
10827
 
  return 0;
10828
 
}
10829
 
_ACEOF
10830
 
rm -f conftest.$ac_objext conftest$ac_exeext
10831
 
if { (ac_try="$ac_link"
10832
 
case "(($ac_try" in
10833
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10834
 
  *) ac_try_echo=$ac_try;;
10835
 
esac
10836
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10837
 
$as_echo "$ac_try_echo") >&5
10838
 
  (eval "$ac_link") 2>conftest.er1
10839
 
  ac_status=$?
10840
 
  grep -v '^ *+' conftest.er1 >conftest.err
10841
 
  rm -f conftest.er1
10842
 
  cat conftest.err >&5
10843
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844
 
  (exit $ac_status); } && {
10845
 
         test -z "$ac_c_werror_flag" ||
10846
 
         test ! -s conftest.err
10847
 
       } && test -s conftest$ac_exeext && {
10848
 
         test "$cross_compiling" = yes ||
10849
 
         $as_test_x conftest$ac_exeext
10850
 
       }; then
10851
 
  ac_cv_func_dlopen=yes
10852
 
else
10853
 
  $as_echo "$as_me: failed program was:" >&5
10854
 
sed 's/^/| /' conftest.$ac_ext >&5
10855
 
 
10856
 
        ac_cv_func_dlopen=no
10857
 
fi
10858
 
 
10859
 
rm -rf conftest.dSYM
10860
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10861
 
      conftest$ac_exeext conftest.$ac_ext
10862
 
fi
10863
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10864
 
$as_echo "$ac_cv_func_dlopen" >&6; }
10865
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
10257
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
10258
if test "x$ac_cv_func_dlopen" = x""yes; then :
10866
10259
  lt_cv_dlopen="dlopen"
10867
10260
else
10868
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10261
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10869
10262
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10870
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10263
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10871
10264
  $as_echo_n "(cached) " >&6
10872
10265
else
10873
10266
  ac_check_lib_save_LIBS=$LIBS
10874
10267
LIBS="-ldl  $LIBS"
10875
 
cat >conftest.$ac_ext <<_ACEOF
10876
 
/* confdefs.h.  */
10877
 
_ACEOF
10878
 
cat confdefs.h >>conftest.$ac_ext
10879
 
cat >>conftest.$ac_ext <<_ACEOF
 
10268
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10880
10269
/* end confdefs.h.  */
10881
10270
 
10882
10271
/* Override any GCC internal prototype to avoid an error.
10894
10283
  return 0;
10895
10284
}
10896
10285
_ACEOF
10897
 
rm -f conftest.$ac_objext conftest$ac_exeext
10898
 
if { (ac_try="$ac_link"
10899
 
case "(($ac_try" in
10900
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10901
 
  *) ac_try_echo=$ac_try;;
10902
 
esac
10903
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10904
 
$as_echo "$ac_try_echo") >&5
10905
 
  (eval "$ac_link") 2>conftest.er1
10906
 
  ac_status=$?
10907
 
  grep -v '^ *+' conftest.er1 >conftest.err
10908
 
  rm -f conftest.er1
10909
 
  cat conftest.err >&5
10910
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911
 
  (exit $ac_status); } && {
10912
 
         test -z "$ac_c_werror_flag" ||
10913
 
         test ! -s conftest.err
10914
 
       } && test -s conftest$ac_exeext && {
10915
 
         test "$cross_compiling" = yes ||
10916
 
         $as_test_x conftest$ac_exeext
10917
 
       }; then
 
10286
if ac_fn_c_try_link "$LINENO"; then :
10918
10287
  ac_cv_lib_dl_dlopen=yes
10919
10288
else
10920
 
  $as_echo "$as_me: failed program was:" >&5
10921
 
sed 's/^/| /' conftest.$ac_ext >&5
10922
 
 
10923
 
        ac_cv_lib_dl_dlopen=no
 
10289
  ac_cv_lib_dl_dlopen=no
10924
10290
fi
10925
 
 
10926
 
rm -rf conftest.dSYM
10927
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10928
 
      conftest$ac_exeext conftest.$ac_ext
 
10291
rm -f core conftest.err conftest.$ac_objext \
 
10292
    conftest$ac_exeext conftest.$ac_ext
10929
10293
LIBS=$ac_check_lib_save_LIBS
10930
10294
fi
10931
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10932
10296
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10933
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10297
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10934
10298
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10935
10299
else
10936
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10300
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10937
10301
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10938
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
10302
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10939
10303
  $as_echo_n "(cached) " >&6
10940
10304
else
10941
10305
  ac_check_lib_save_LIBS=$LIBS
10942
10306
LIBS="-lsvld  $LIBS"
10943
 
cat >conftest.$ac_ext <<_ACEOF
10944
 
/* confdefs.h.  */
10945
 
_ACEOF
10946
 
cat confdefs.h >>conftest.$ac_ext
10947
 
cat >>conftest.$ac_ext <<_ACEOF
 
10307
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10948
10308
/* end confdefs.h.  */
10949
10309
 
10950
10310
/* Override any GCC internal prototype to avoid an error.
10962
10322
  return 0;
10963
10323
}
10964
10324
_ACEOF
10965
 
rm -f conftest.$ac_objext conftest$ac_exeext
10966
 
if { (ac_try="$ac_link"
10967
 
case "(($ac_try" in
10968
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10969
 
  *) ac_try_echo=$ac_try;;
10970
 
esac
10971
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10972
 
$as_echo "$ac_try_echo") >&5
10973
 
  (eval "$ac_link") 2>conftest.er1
10974
 
  ac_status=$?
10975
 
  grep -v '^ *+' conftest.er1 >conftest.err
10976
 
  rm -f conftest.er1
10977
 
  cat conftest.err >&5
10978
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979
 
  (exit $ac_status); } && {
10980
 
         test -z "$ac_c_werror_flag" ||
10981
 
         test ! -s conftest.err
10982
 
       } && test -s conftest$ac_exeext && {
10983
 
         test "$cross_compiling" = yes ||
10984
 
         $as_test_x conftest$ac_exeext
10985
 
       }; then
 
10325
if ac_fn_c_try_link "$LINENO"; then :
10986
10326
  ac_cv_lib_svld_dlopen=yes
10987
10327
else
10988
 
  $as_echo "$as_me: failed program was:" >&5
10989
 
sed 's/^/| /' conftest.$ac_ext >&5
10990
 
 
10991
 
        ac_cv_lib_svld_dlopen=no
 
10328
  ac_cv_lib_svld_dlopen=no
10992
10329
fi
10993
 
 
10994
 
rm -rf conftest.dSYM
10995
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10996
 
      conftest$ac_exeext conftest.$ac_ext
 
10330
rm -f core conftest.err conftest.$ac_objext \
 
10331
    conftest$ac_exeext conftest.$ac_ext
10997
10332
LIBS=$ac_check_lib_save_LIBS
10998
10333
fi
10999
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11000
10335
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11001
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
10336
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11002
10337
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11003
10338
else
11004
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10339
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11005
10340
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11006
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
10341
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11007
10342
  $as_echo_n "(cached) " >&6
11008
10343
else
11009
10344
  ac_check_lib_save_LIBS=$LIBS
11010
10345
LIBS="-ldld  $LIBS"
11011
 
cat >conftest.$ac_ext <<_ACEOF
11012
 
/* confdefs.h.  */
11013
 
_ACEOF
11014
 
cat confdefs.h >>conftest.$ac_ext
11015
 
cat >>conftest.$ac_ext <<_ACEOF
 
10346
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016
10347
/* end confdefs.h.  */
11017
10348
 
11018
10349
/* Override any GCC internal prototype to avoid an error.
11030
10361
  return 0;
11031
10362
}
11032
10363
_ACEOF
11033
 
rm -f conftest.$ac_objext conftest$ac_exeext
11034
 
if { (ac_try="$ac_link"
11035
 
case "(($ac_try" in
11036
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11037
 
  *) ac_try_echo=$ac_try;;
11038
 
esac
11039
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11040
 
$as_echo "$ac_try_echo") >&5
11041
 
  (eval "$ac_link") 2>conftest.er1
11042
 
  ac_status=$?
11043
 
  grep -v '^ *+' conftest.er1 >conftest.err
11044
 
  rm -f conftest.er1
11045
 
  cat conftest.err >&5
11046
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047
 
  (exit $ac_status); } && {
11048
 
         test -z "$ac_c_werror_flag" ||
11049
 
         test ! -s conftest.err
11050
 
       } && test -s conftest$ac_exeext && {
11051
 
         test "$cross_compiling" = yes ||
11052
 
         $as_test_x conftest$ac_exeext
11053
 
       }; then
 
10364
if ac_fn_c_try_link "$LINENO"; then :
11054
10365
  ac_cv_lib_dld_dld_link=yes
11055
10366
else
11056
 
  $as_echo "$as_me: failed program was:" >&5
11057
 
sed 's/^/| /' conftest.$ac_ext >&5
11058
 
 
11059
 
        ac_cv_lib_dld_dld_link=no
 
10367
  ac_cv_lib_dld_dld_link=no
11060
10368
fi
11061
 
 
11062
 
rm -rf conftest.dSYM
11063
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11064
 
      conftest$ac_exeext conftest.$ac_ext
 
10369
rm -f core conftest.err conftest.$ac_objext \
 
10370
    conftest$ac_exeext conftest.$ac_ext
11065
10371
LIBS=$ac_check_lib_save_LIBS
11066
10372
fi
11067
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11068
10374
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11069
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10375
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11070
10376
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11071
10377
fi
11072
10378
 
11105
10411
    save_LIBS="$LIBS"
11106
10412
    LIBS="$lt_cv_dlopen_libs $LIBS"
11107
10413
 
11108
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10414
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11109
10415
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11110
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
10416
if test "${lt_cv_dlopen_self+set}" = set; then :
11111
10417
  $as_echo_n "(cached) " >&6
11112
10418
else
11113
10419
          if test "$cross_compiling" = yes; then :
11116
10422
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11117
10423
  lt_status=$lt_dlunknown
11118
10424
  cat > conftest.$ac_ext <<_LT_EOF
11119
 
#line 11119 "configure"
 
10425
#line $LINENO "configure"
11120
10426
#include "confdefs.h"
11121
10427
 
11122
10428
#if HAVE_DLFCN_H
11157
10463
#  endif
11158
10464
#endif
11159
10465
 
11160
 
void fnord() { int i=42;}
 
10466
/* When -fvisbility=hidden is used, assume the code has been annotated
 
10467
   correspondingly for the symbols needed.  */
 
10468
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
10469
void fnord () __attribute__((visibility("default")));
 
10470
#endif
 
10471
 
 
10472
void fnord () { int i=42; }
11161
10473
int main ()
11162
10474
{
11163
10475
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11166
10478
  if (self)
11167
10479
    {
11168
10480
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11169
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10481
      else
 
10482
        {
 
10483
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
10484
          else puts (dlerror ());
 
10485
        }
11170
10486
      /* dlclose (self); */
11171
10487
    }
11172
10488
  else
11175
10491
  return status;
11176
10492
}
11177
10493
_LT_EOF
11178
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10494
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11179
10495
  (eval $ac_link) 2>&5
11180
10496
  ac_status=$?
11181
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10497
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10498
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11183
10499
    (./conftest; exit; ) >&5 2>/dev/null
11184
10500
    lt_status=$?
11185
10501
    case x$lt_status in
11196
10512
 
11197
10513
 
11198
10514
fi
11199
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11200
10516
$as_echo "$lt_cv_dlopen_self" >&6; }
11201
10517
 
11202
10518
    if test "x$lt_cv_dlopen_self" = xyes; then
11203
10519
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11204
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10520
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11205
10521
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11206
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
10522
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11207
10523
  $as_echo_n "(cached) " >&6
11208
10524
else
11209
10525
          if test "$cross_compiling" = yes; then :
11212
10528
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11213
10529
  lt_status=$lt_dlunknown
11214
10530
  cat > conftest.$ac_ext <<_LT_EOF
11215
 
#line 11215 "configure"
 
10531
#line $LINENO "configure"
11216
10532
#include "confdefs.h"
11217
10533
 
11218
10534
#if HAVE_DLFCN_H
11253
10569
#  endif
11254
10570
#endif
11255
10571
 
11256
 
void fnord() { int i=42;}
 
10572
/* When -fvisbility=hidden is used, assume the code has been annotated
 
10573
   correspondingly for the symbols needed.  */
 
10574
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
10575
void fnord () __attribute__((visibility("default")));
 
10576
#endif
 
10577
 
 
10578
void fnord () { int i=42; }
11257
10579
int main ()
11258
10580
{
11259
10581
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11262
10584
  if (self)
11263
10585
    {
11264
10586
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11265
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10587
      else
 
10588
        {
 
10589
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
10590
          else puts (dlerror ());
 
10591
        }
11266
10592
      /* dlclose (self); */
11267
10593
    }
11268
10594
  else
11271
10597
  return status;
11272
10598
}
11273
10599
_LT_EOF
11274
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10600
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11275
10601
  (eval $ac_link) 2>&5
11276
10602
  ac_status=$?
11277
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10603
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10604
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11279
10605
    (./conftest; exit; ) >&5 2>/dev/null
11280
10606
    lt_status=$?
11281
10607
    case x$lt_status in
11292
10618
 
11293
10619
 
11294
10620
fi
11295
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11296
10622
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11297
10623
    fi
11298
10624
 
11331
10657
 
11332
10658
striplib=
11333
10659
old_striplib=
11334
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11335
10661
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11336
10662
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11337
10663
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11338
10664
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11339
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10665
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11340
10666
$as_echo "yes" >&6; }
11341
10667
else
11342
10668
# FIXME - insert some real tests, host_os isn't really good enough
11345
10671
    if test -n "$STRIP" ; then
11346
10672
      striplib="$STRIP -x"
11347
10673
      old_striplib="$STRIP -S"
11348
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10674
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11349
10675
$as_echo "yes" >&6; }
11350
10676
    else
11351
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
10677
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11352
10678
$as_echo "no" >&6; }
11353
10679
    fi
11354
10680
    ;;
11355
10681
  *)
11356
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
10682
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11357
10683
$as_echo "no" >&6; }
11358
10684
    ;;
11359
10685
  esac
11371
10697
 
11372
10698
 
11373
10699
  # Report which library types will actually be built
11374
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10700
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11375
10701
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11376
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10702
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11377
10703
$as_echo "$can_build_shared" >&6; }
11378
10704
 
11379
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10705
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11380
10706
$as_echo_n "checking whether to build shared libraries... " >&6; }
11381
10707
  test "$can_build_shared" = "no" && enable_shared=no
11382
10708
 
11397
10723
    fi
11398
10724
    ;;
11399
10725
  esac
11400
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11401
10727
$as_echo "$enable_shared" >&6; }
11402
10728
 
11403
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10729
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11404
10730
$as_echo_n "checking whether to build static libraries... " >&6; }
11405
10731
  # Make sure either enable_shared or enable_static is yes.
11406
10732
  test "$enable_shared" = yes || enable_static=yes
11407
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
10733
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11408
10734
$as_echo "$enable_static" >&6; }
11409
10735
 
11410
10736
 
11440
10766
 
11441
10767
 
11442
10768
 
11443
 
GETTEXT_PACKAGE=gnome-bluetooth2
11444
 
 
11445
 
 
11446
 
cat >>confdefs.h <<_ACEOF
11447
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
11448
 
_ACEOF
11449
 
 
11450
 
 
11451
 
 
11452
 
 
11453
 
for ac_header in locale.h
11454
 
do
11455
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11456
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11457
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11458
 
$as_echo_n "checking for $ac_header... " >&6; }
11459
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11460
 
  $as_echo_n "(cached) " >&6
11461
 
fi
11462
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
11463
 
                 $as_echo "$as_val"'`
11464
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11465
 
$as_echo "$ac_res" >&6; }
11466
 
else
11467
 
  # Is the header compilable?
11468
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11469
 
$as_echo_n "checking $ac_header usability... " >&6; }
11470
 
cat >conftest.$ac_ext <<_ACEOF
11471
 
/* confdefs.h.  */
11472
 
_ACEOF
11473
 
cat confdefs.h >>conftest.$ac_ext
11474
 
cat >>conftest.$ac_ext <<_ACEOF
11475
 
/* end confdefs.h.  */
11476
 
$ac_includes_default
11477
 
#include <$ac_header>
11478
 
_ACEOF
11479
 
rm -f conftest.$ac_objext
11480
 
if { (ac_try="$ac_compile"
11481
 
case "(($ac_try" in
11482
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11483
 
  *) ac_try_echo=$ac_try;;
11484
 
esac
11485
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11486
 
$as_echo "$ac_try_echo") >&5
11487
 
  (eval "$ac_compile") 2>conftest.er1
11488
 
  ac_status=$?
11489
 
  grep -v '^ *+' conftest.er1 >conftest.err
11490
 
  rm -f conftest.er1
11491
 
  cat conftest.err >&5
11492
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11493
 
  (exit $ac_status); } && {
11494
 
         test -z "$ac_c_werror_flag" ||
11495
 
         test ! -s conftest.err
11496
 
       } && test -s conftest.$ac_objext; then
11497
 
  ac_header_compiler=yes
11498
 
else
11499
 
  $as_echo "$as_me: failed program was:" >&5
11500
 
sed 's/^/| /' conftest.$ac_ext >&5
11501
 
 
11502
 
        ac_header_compiler=no
11503
 
fi
11504
 
 
11505
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11506
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11507
 
$as_echo "$ac_header_compiler" >&6; }
11508
 
 
11509
 
# Is the header present?
11510
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11511
 
$as_echo_n "checking $ac_header presence... " >&6; }
11512
 
cat >conftest.$ac_ext <<_ACEOF
11513
 
/* confdefs.h.  */
11514
 
_ACEOF
11515
 
cat confdefs.h >>conftest.$ac_ext
11516
 
cat >>conftest.$ac_ext <<_ACEOF
11517
 
/* end confdefs.h.  */
11518
 
#include <$ac_header>
11519
 
_ACEOF
11520
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
11521
 
case "(($ac_try" in
11522
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11523
 
  *) ac_try_echo=$ac_try;;
11524
 
esac
11525
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11526
 
$as_echo "$ac_try_echo") >&5
11527
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11528
 
  ac_status=$?
11529
 
  grep -v '^ *+' conftest.er1 >conftest.err
11530
 
  rm -f conftest.er1
11531
 
  cat conftest.err >&5
11532
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533
 
  (exit $ac_status); } >/dev/null && {
11534
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11535
 
         test ! -s conftest.err
11536
 
       }; then
11537
 
  ac_header_preproc=yes
11538
 
else
11539
 
  $as_echo "$as_me: failed program was:" >&5
11540
 
sed 's/^/| /' conftest.$ac_ext >&5
11541
 
 
11542
 
  ac_header_preproc=no
11543
 
fi
11544
 
 
11545
 
rm -f conftest.err conftest.$ac_ext
11546
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11547
 
$as_echo "$ac_header_preproc" >&6; }
11548
 
 
11549
 
# So?  What about this header?
11550
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11551
 
  yes:no: )
11552
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11553
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11554
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11555
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11556
 
    ac_header_preproc=yes
11557
 
    ;;
11558
 
  no:yes:* )
11559
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11560
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11561
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11562
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11563
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11564
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11565
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11566
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11567
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11568
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11569
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11570
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11571
 
    ( cat <<\_ASBOX
11572
 
## ------------------------------------------------------------------------------ ##
11573
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-bluetooth ##
11574
 
## ------------------------------------------------------------------------------ ##
11575
 
_ASBOX
11576
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
11577
 
    ;;
11578
 
esac
11579
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11580
 
$as_echo_n "checking for $ac_header... " >&6; }
11581
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11582
 
  $as_echo_n "(cached) " >&6
11583
 
else
11584
 
  eval "$as_ac_Header=\$ac_header_preproc"
11585
 
fi
11586
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
11587
 
                 $as_echo "$as_val"'`
11588
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11589
 
$as_echo "$ac_res" >&6; }
11590
 
 
11591
 
fi
11592
 
as_val=`eval 'as_val=${'$as_ac_Header'}
11593
 
                 $as_echo "$as_val"'`
11594
 
   if test "x$as_val" = x""yes; then
11595
 
  cat >>confdefs.h <<_ACEOF
11596
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11597
 
_ACEOF
11598
 
 
11599
 
fi
11600
 
 
11601
 
done
11602
 
 
11603
 
    if test $ac_cv_header_locale_h = yes; then
11604
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
11605
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
11606
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
11607
 
  $as_echo_n "(cached) " >&6
11608
 
else
11609
 
  cat >conftest.$ac_ext <<_ACEOF
11610
 
/* confdefs.h.  */
11611
 
_ACEOF
11612
 
cat confdefs.h >>conftest.$ac_ext
11613
 
cat >>conftest.$ac_ext <<_ACEOF
11614
 
/* end confdefs.h.  */
11615
 
#include <locale.h>
11616
 
int
11617
 
main ()
11618
 
{
11619
 
return LC_MESSAGES
11620
 
  ;
11621
 
  return 0;
11622
 
}
11623
 
_ACEOF
11624
 
rm -f conftest.$ac_objext conftest$ac_exeext
11625
 
if { (ac_try="$ac_link"
11626
 
case "(($ac_try" in
11627
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11628
 
  *) ac_try_echo=$ac_try;;
11629
 
esac
11630
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11631
 
$as_echo "$ac_try_echo") >&5
11632
 
  (eval "$ac_link") 2>conftest.er1
11633
 
  ac_status=$?
11634
 
  grep -v '^ *+' conftest.er1 >conftest.err
11635
 
  rm -f conftest.er1
11636
 
  cat conftest.err >&5
11637
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638
 
  (exit $ac_status); } && {
11639
 
         test -z "$ac_c_werror_flag" ||
11640
 
         test ! -s conftest.err
11641
 
       } && test -s conftest$ac_exeext && {
11642
 
         test "$cross_compiling" = yes ||
11643
 
         $as_test_x conftest$ac_exeext
11644
 
       }; then
11645
 
  am_cv_val_LC_MESSAGES=yes
11646
 
else
11647
 
  $as_echo "$as_me: failed program was:" >&5
11648
 
sed 's/^/| /' conftest.$ac_ext >&5
11649
 
 
11650
 
        am_cv_val_LC_MESSAGES=no
11651
 
fi
11652
 
 
11653
 
rm -rf conftest.dSYM
11654
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11655
 
      conftest$ac_exeext conftest.$ac_ext
11656
 
fi
11657
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
11658
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
11659
 
    if test $am_cv_val_LC_MESSAGES = yes; then
11660
 
 
11661
 
cat >>confdefs.h <<\_ACEOF
11662
 
#define HAVE_LC_MESSAGES 1
11663
 
_ACEOF
11664
 
 
11665
 
    fi
11666
 
  fi
11667
 
     USE_NLS=yes
11668
 
 
11669
 
 
11670
 
    gt_cv_have_gettext=no
11671
 
 
11672
 
    CATOBJEXT=NONE
11673
 
    XGETTEXT=:
11674
 
    INTLLIBS=
11675
 
 
11676
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
11677
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
11678
 
$as_echo_n "checking for libintl.h... " >&6; }
11679
 
if test "${ac_cv_header_libintl_h+set}" = set; then
11680
 
  $as_echo_n "(cached) " >&6
11681
 
fi
11682
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
11683
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
11684
 
else
11685
 
  # Is the header compilable?
11686
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
11687
 
$as_echo_n "checking libintl.h usability... " >&6; }
11688
 
cat >conftest.$ac_ext <<_ACEOF
11689
 
/* confdefs.h.  */
11690
 
_ACEOF
11691
 
cat confdefs.h >>conftest.$ac_ext
11692
 
cat >>conftest.$ac_ext <<_ACEOF
11693
 
/* end confdefs.h.  */
11694
 
$ac_includes_default
11695
 
#include <libintl.h>
11696
 
_ACEOF
11697
 
rm -f conftest.$ac_objext
11698
 
if { (ac_try="$ac_compile"
11699
 
case "(($ac_try" in
11700
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11701
 
  *) ac_try_echo=$ac_try;;
11702
 
esac
11703
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11704
 
$as_echo "$ac_try_echo") >&5
11705
 
  (eval "$ac_compile") 2>conftest.er1
11706
 
  ac_status=$?
11707
 
  grep -v '^ *+' conftest.er1 >conftest.err
11708
 
  rm -f conftest.er1
11709
 
  cat conftest.err >&5
11710
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711
 
  (exit $ac_status); } && {
11712
 
         test -z "$ac_c_werror_flag" ||
11713
 
         test ! -s conftest.err
11714
 
       } && test -s conftest.$ac_objext; then
11715
 
  ac_header_compiler=yes
11716
 
else
11717
 
  $as_echo "$as_me: failed program was:" >&5
11718
 
sed 's/^/| /' conftest.$ac_ext >&5
11719
 
 
11720
 
        ac_header_compiler=no
11721
 
fi
11722
 
 
11723
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11724
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11725
 
$as_echo "$ac_header_compiler" >&6; }
11726
 
 
11727
 
# Is the header present?
11728
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
11729
 
$as_echo_n "checking libintl.h presence... " >&6; }
11730
 
cat >conftest.$ac_ext <<_ACEOF
11731
 
/* confdefs.h.  */
11732
 
_ACEOF
11733
 
cat confdefs.h >>conftest.$ac_ext
11734
 
cat >>conftest.$ac_ext <<_ACEOF
11735
 
/* end confdefs.h.  */
11736
 
#include <libintl.h>
11737
 
_ACEOF
11738
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
11739
 
case "(($ac_try" in
11740
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11741
 
  *) ac_try_echo=$ac_try;;
11742
 
esac
11743
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11744
 
$as_echo "$ac_try_echo") >&5
11745
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11746
 
  ac_status=$?
11747
 
  grep -v '^ *+' conftest.er1 >conftest.err
11748
 
  rm -f conftest.er1
11749
 
  cat conftest.err >&5
11750
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751
 
  (exit $ac_status); } >/dev/null && {
11752
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11753
 
         test ! -s conftest.err
11754
 
       }; then
11755
 
  ac_header_preproc=yes
11756
 
else
11757
 
  $as_echo "$as_me: failed program was:" >&5
11758
 
sed 's/^/| /' conftest.$ac_ext >&5
11759
 
 
11760
 
  ac_header_preproc=no
11761
 
fi
11762
 
 
11763
 
rm -f conftest.err conftest.$ac_ext
11764
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11765
 
$as_echo "$ac_header_preproc" >&6; }
11766
 
 
11767
 
# So?  What about this header?
11768
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11769
 
  yes:no: )
11770
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
11771
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11772
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
11773
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
11774
 
    ac_header_preproc=yes
11775
 
    ;;
11776
 
  no:yes:* )
11777
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
11778
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
11779
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
11780
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
11781
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
11782
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
11783
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
11784
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
11785
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
11786
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
11787
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
11788
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
11789
 
    ( cat <<\_ASBOX
11790
 
## ------------------------------------------------------------------------------ ##
11791
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-bluetooth ##
11792
 
## ------------------------------------------------------------------------------ ##
11793
 
_ASBOX
11794
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
11795
 
    ;;
11796
 
esac
11797
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
11798
 
$as_echo_n "checking for libintl.h... " >&6; }
11799
 
if test "${ac_cv_header_libintl_h+set}" = set; then
11800
 
  $as_echo_n "(cached) " >&6
11801
 
else
11802
 
  ac_cv_header_libintl_h=$ac_header_preproc
11803
 
fi
11804
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
11805
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
11806
 
 
11807
 
fi
11808
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
11809
 
  gt_cv_func_dgettext_libintl="no"
11810
 
      libintl_extra_libs=""
11811
 
 
11812
 
      #
11813
 
      # First check in libc
11814
 
      #
11815
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
11816
 
$as_echo_n "checking for ngettext in libc... " >&6; }
11817
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
11818
 
  $as_echo_n "(cached) " >&6
11819
 
else
11820
 
  cat >conftest.$ac_ext <<_ACEOF
11821
 
/* confdefs.h.  */
11822
 
_ACEOF
11823
 
cat confdefs.h >>conftest.$ac_ext
11824
 
cat >>conftest.$ac_ext <<_ACEOF
11825
 
/* end confdefs.h.  */
11826
 
 
11827
 
#include <libintl.h>
11828
 
 
11829
 
int
11830
 
main ()
11831
 
{
11832
 
return !ngettext ("","", 1)
11833
 
  ;
11834
 
  return 0;
11835
 
}
11836
 
_ACEOF
11837
 
rm -f conftest.$ac_objext conftest$ac_exeext
11838
 
if { (ac_try="$ac_link"
11839
 
case "(($ac_try" in
11840
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11841
 
  *) ac_try_echo=$ac_try;;
11842
 
esac
11843
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11844
 
$as_echo "$ac_try_echo") >&5
11845
 
  (eval "$ac_link") 2>conftest.er1
11846
 
  ac_status=$?
11847
 
  grep -v '^ *+' conftest.er1 >conftest.err
11848
 
  rm -f conftest.er1
11849
 
  cat conftest.err >&5
11850
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851
 
  (exit $ac_status); } && {
11852
 
         test -z "$ac_c_werror_flag" ||
11853
 
         test ! -s conftest.err
11854
 
       } && test -s conftest$ac_exeext && {
11855
 
         test "$cross_compiling" = yes ||
11856
 
         $as_test_x conftest$ac_exeext
11857
 
       }; then
11858
 
  gt_cv_func_ngettext_libc=yes
11859
 
else
11860
 
  $as_echo "$as_me: failed program was:" >&5
11861
 
sed 's/^/| /' conftest.$ac_ext >&5
11862
 
 
11863
 
        gt_cv_func_ngettext_libc=no
11864
 
fi
11865
 
 
11866
 
rm -rf conftest.dSYM
11867
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11868
 
      conftest$ac_exeext conftest.$ac_ext
11869
 
 
11870
 
fi
11871
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
11872
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
11873
 
 
11874
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11875
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
11876
 
$as_echo_n "checking for dgettext in libc... " >&6; }
11877
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
11878
 
  $as_echo_n "(cached) " >&6
11879
 
else
11880
 
  cat >conftest.$ac_ext <<_ACEOF
11881
 
/* confdefs.h.  */
11882
 
_ACEOF
11883
 
cat confdefs.h >>conftest.$ac_ext
11884
 
cat >>conftest.$ac_ext <<_ACEOF
11885
 
/* end confdefs.h.  */
11886
 
 
11887
 
#include <libintl.h>
11888
 
 
11889
 
int
11890
 
main ()
11891
 
{
11892
 
return !dgettext ("","")
11893
 
  ;
11894
 
  return 0;
11895
 
}
11896
 
_ACEOF
11897
 
rm -f conftest.$ac_objext conftest$ac_exeext
11898
 
if { (ac_try="$ac_link"
11899
 
case "(($ac_try" in
11900
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11901
 
  *) ac_try_echo=$ac_try;;
11902
 
esac
11903
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11904
 
$as_echo "$ac_try_echo") >&5
11905
 
  (eval "$ac_link") 2>conftest.er1
11906
 
  ac_status=$?
11907
 
  grep -v '^ *+' conftest.er1 >conftest.err
11908
 
  rm -f conftest.er1
11909
 
  cat conftest.err >&5
11910
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911
 
  (exit $ac_status); } && {
11912
 
         test -z "$ac_c_werror_flag" ||
11913
 
         test ! -s conftest.err
11914
 
       } && test -s conftest$ac_exeext && {
11915
 
         test "$cross_compiling" = yes ||
11916
 
         $as_test_x conftest$ac_exeext
11917
 
       }; then
11918
 
  gt_cv_func_dgettext_libc=yes
11919
 
else
11920
 
  $as_echo "$as_me: failed program was:" >&5
11921
 
sed 's/^/| /' conftest.$ac_ext >&5
11922
 
 
11923
 
        gt_cv_func_dgettext_libc=no
11924
 
fi
11925
 
 
11926
 
rm -rf conftest.dSYM
11927
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11928
 
      conftest$ac_exeext conftest.$ac_ext
11929
 
 
11930
 
fi
11931
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
11932
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
11933
 
      fi
11934
 
 
11935
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11936
 
 
11937
 
for ac_func in bind_textdomain_codeset
11938
 
do
11939
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11940
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11941
 
$as_echo_n "checking for $ac_func... " >&6; }
11942
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11943
 
  $as_echo_n "(cached) " >&6
11944
 
else
11945
 
  cat >conftest.$ac_ext <<_ACEOF
11946
 
/* confdefs.h.  */
11947
 
_ACEOF
11948
 
cat confdefs.h >>conftest.$ac_ext
11949
 
cat >>conftest.$ac_ext <<_ACEOF
11950
 
/* end confdefs.h.  */
11951
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11952
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11953
 
#define $ac_func innocuous_$ac_func
11954
 
 
11955
 
/* System header to define __stub macros and hopefully few prototypes,
11956
 
    which can conflict with char $ac_func (); below.
11957
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11958
 
    <limits.h> exists even on freestanding compilers.  */
11959
 
 
11960
 
#ifdef __STDC__
11961
 
# include <limits.h>
11962
 
#else
11963
 
# include <assert.h>
11964
 
#endif
11965
 
 
11966
 
#undef $ac_func
11967
 
 
11968
 
/* Override any GCC internal prototype to avoid an error.
11969
 
   Use char because int might match the return type of a GCC
11970
 
   builtin and then its argument prototype would still apply.  */
11971
 
#ifdef __cplusplus
11972
 
extern "C"
11973
 
#endif
11974
 
char $ac_func ();
11975
 
/* The GNU C library defines this for functions which it implements
11976
 
    to always fail with ENOSYS.  Some functions are actually named
11977
 
    something starting with __ and the normal name is an alias.  */
11978
 
#if defined __stub_$ac_func || defined __stub___$ac_func
11979
 
choke me
11980
 
#endif
11981
 
 
11982
 
int
11983
 
main ()
11984
 
{
11985
 
return $ac_func ();
11986
 
  ;
11987
 
  return 0;
11988
 
}
11989
 
_ACEOF
11990
 
rm -f conftest.$ac_objext conftest$ac_exeext
11991
 
if { (ac_try="$ac_link"
11992
 
case "(($ac_try" in
11993
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11994
 
  *) ac_try_echo=$ac_try;;
11995
 
esac
11996
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11997
 
$as_echo "$ac_try_echo") >&5
11998
 
  (eval "$ac_link") 2>conftest.er1
11999
 
  ac_status=$?
12000
 
  grep -v '^ *+' conftest.er1 >conftest.err
12001
 
  rm -f conftest.er1
12002
 
  cat conftest.err >&5
12003
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004
 
  (exit $ac_status); } && {
12005
 
         test -z "$ac_c_werror_flag" ||
12006
 
         test ! -s conftest.err
12007
 
       } && test -s conftest$ac_exeext && {
12008
 
         test "$cross_compiling" = yes ||
12009
 
         $as_test_x conftest$ac_exeext
12010
 
       }; then
12011
 
  eval "$as_ac_var=yes"
12012
 
else
12013
 
  $as_echo "$as_me: failed program was:" >&5
12014
 
sed 's/^/| /' conftest.$ac_ext >&5
12015
 
 
12016
 
        eval "$as_ac_var=no"
12017
 
fi
12018
 
 
12019
 
rm -rf conftest.dSYM
12020
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12021
 
      conftest$ac_exeext conftest.$ac_ext
12022
 
fi
12023
 
ac_res=`eval 'as_val=${'$as_ac_var'}
12024
 
                 $as_echo "$as_val"'`
12025
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12026
 
$as_echo "$ac_res" >&6; }
12027
 
as_val=`eval 'as_val=${'$as_ac_var'}
12028
 
                 $as_echo "$as_val"'`
12029
 
   if test "x$as_val" = x""yes; then
12030
 
  cat >>confdefs.h <<_ACEOF
12031
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12032
 
_ACEOF
12033
 
 
12034
 
fi
12035
 
done
12036
 
 
12037
 
      fi
12038
 
 
12039
 
      #
12040
 
      # If we don't have everything we want, check in libintl
12041
 
      #
12042
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
12043
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
12044
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12045
 
 
12046
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
12047
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12048
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
12049
 
  $as_echo_n "(cached) " >&6
12050
 
else
12051
 
  ac_check_lib_save_LIBS=$LIBS
12052
 
LIBS="-lintl  $LIBS"
12053
 
cat >conftest.$ac_ext <<_ACEOF
12054
 
/* confdefs.h.  */
12055
 
_ACEOF
12056
 
cat confdefs.h >>conftest.$ac_ext
12057
 
cat >>conftest.$ac_ext <<_ACEOF
12058
 
/* end confdefs.h.  */
12059
 
 
12060
 
/* Override any GCC internal prototype to avoid an error.
12061
 
   Use char because int might match the return type of a GCC
12062
 
   builtin and then its argument prototype would still apply.  */
12063
 
#ifdef __cplusplus
12064
 
extern "C"
12065
 
#endif
12066
 
char bindtextdomain ();
12067
 
int
12068
 
main ()
12069
 
{
12070
 
return bindtextdomain ();
12071
 
  ;
12072
 
  return 0;
12073
 
}
12074
 
_ACEOF
12075
 
rm -f conftest.$ac_objext conftest$ac_exeext
12076
 
if { (ac_try="$ac_link"
12077
 
case "(($ac_try" in
12078
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12079
 
  *) ac_try_echo=$ac_try;;
12080
 
esac
12081
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12082
 
$as_echo "$ac_try_echo") >&5
12083
 
  (eval "$ac_link") 2>conftest.er1
12084
 
  ac_status=$?
12085
 
  grep -v '^ *+' conftest.er1 >conftest.err
12086
 
  rm -f conftest.er1
12087
 
  cat conftest.err >&5
12088
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089
 
  (exit $ac_status); } && {
12090
 
         test -z "$ac_c_werror_flag" ||
12091
 
         test ! -s conftest.err
12092
 
       } && test -s conftest$ac_exeext && {
12093
 
         test "$cross_compiling" = yes ||
12094
 
         $as_test_x conftest$ac_exeext
12095
 
       }; then
12096
 
  ac_cv_lib_intl_bindtextdomain=yes
12097
 
else
12098
 
  $as_echo "$as_me: failed program was:" >&5
12099
 
sed 's/^/| /' conftest.$ac_ext >&5
12100
 
 
12101
 
        ac_cv_lib_intl_bindtextdomain=no
12102
 
fi
12103
 
 
12104
 
rm -rf conftest.dSYM
12105
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12106
 
      conftest$ac_exeext conftest.$ac_ext
12107
 
LIBS=$ac_check_lib_save_LIBS
12108
 
fi
12109
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
12110
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12111
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
12112
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
12113
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12114
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
12115
 
  $as_echo_n "(cached) " >&6
12116
 
else
12117
 
  ac_check_lib_save_LIBS=$LIBS
12118
 
LIBS="-lintl  $LIBS"
12119
 
cat >conftest.$ac_ext <<_ACEOF
12120
 
/* confdefs.h.  */
12121
 
_ACEOF
12122
 
cat confdefs.h >>conftest.$ac_ext
12123
 
cat >>conftest.$ac_ext <<_ACEOF
12124
 
/* end confdefs.h.  */
12125
 
 
12126
 
/* Override any GCC internal prototype to avoid an error.
12127
 
   Use char because int might match the return type of a GCC
12128
 
   builtin and then its argument prototype would still apply.  */
12129
 
#ifdef __cplusplus
12130
 
extern "C"
12131
 
#endif
12132
 
char ngettext ();
12133
 
int
12134
 
main ()
12135
 
{
12136
 
return ngettext ();
12137
 
  ;
12138
 
  return 0;
12139
 
}
12140
 
_ACEOF
12141
 
rm -f conftest.$ac_objext conftest$ac_exeext
12142
 
if { (ac_try="$ac_link"
12143
 
case "(($ac_try" in
12144
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12145
 
  *) ac_try_echo=$ac_try;;
12146
 
esac
12147
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12148
 
$as_echo "$ac_try_echo") >&5
12149
 
  (eval "$ac_link") 2>conftest.er1
12150
 
  ac_status=$?
12151
 
  grep -v '^ *+' conftest.er1 >conftest.err
12152
 
  rm -f conftest.er1
12153
 
  cat conftest.err >&5
12154
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155
 
  (exit $ac_status); } && {
12156
 
         test -z "$ac_c_werror_flag" ||
12157
 
         test ! -s conftest.err
12158
 
       } && test -s conftest$ac_exeext && {
12159
 
         test "$cross_compiling" = yes ||
12160
 
         $as_test_x conftest$ac_exeext
12161
 
       }; then
12162
 
  ac_cv_lib_intl_ngettext=yes
12163
 
else
12164
 
  $as_echo "$as_me: failed program was:" >&5
12165
 
sed 's/^/| /' conftest.$ac_ext >&5
12166
 
 
12167
 
        ac_cv_lib_intl_ngettext=no
12168
 
fi
12169
 
 
12170
 
rm -rf conftest.dSYM
12171
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12172
 
      conftest$ac_exeext conftest.$ac_ext
12173
 
LIBS=$ac_check_lib_save_LIBS
12174
 
fi
12175
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
12176
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12177
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
12178
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
12179
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
12180
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
12181
 
  $as_echo_n "(cached) " >&6
12182
 
else
12183
 
  ac_check_lib_save_LIBS=$LIBS
12184
 
LIBS="-lintl  $LIBS"
12185
 
cat >conftest.$ac_ext <<_ACEOF
12186
 
/* confdefs.h.  */
12187
 
_ACEOF
12188
 
cat confdefs.h >>conftest.$ac_ext
12189
 
cat >>conftest.$ac_ext <<_ACEOF
12190
 
/* end confdefs.h.  */
12191
 
 
12192
 
/* Override any GCC internal prototype to avoid an error.
12193
 
   Use char because int might match the return type of a GCC
12194
 
   builtin and then its argument prototype would still apply.  */
12195
 
#ifdef __cplusplus
12196
 
extern "C"
12197
 
#endif
12198
 
char dgettext ();
12199
 
int
12200
 
main ()
12201
 
{
12202
 
return dgettext ();
12203
 
  ;
12204
 
  return 0;
12205
 
}
12206
 
_ACEOF
12207
 
rm -f conftest.$ac_objext conftest$ac_exeext
12208
 
if { (ac_try="$ac_link"
12209
 
case "(($ac_try" in
12210
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12211
 
  *) ac_try_echo=$ac_try;;
12212
 
esac
12213
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12214
 
$as_echo "$ac_try_echo") >&5
12215
 
  (eval "$ac_link") 2>conftest.er1
12216
 
  ac_status=$?
12217
 
  grep -v '^ *+' conftest.er1 >conftest.err
12218
 
  rm -f conftest.er1
12219
 
  cat conftest.err >&5
12220
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221
 
  (exit $ac_status); } && {
12222
 
         test -z "$ac_c_werror_flag" ||
12223
 
         test ! -s conftest.err
12224
 
       } && test -s conftest$ac_exeext && {
12225
 
         test "$cross_compiling" = yes ||
12226
 
         $as_test_x conftest$ac_exeext
12227
 
       }; then
12228
 
  ac_cv_lib_intl_dgettext=yes
12229
 
else
12230
 
  $as_echo "$as_me: failed program was:" >&5
12231
 
sed 's/^/| /' conftest.$ac_ext >&5
12232
 
 
12233
 
        ac_cv_lib_intl_dgettext=no
12234
 
fi
12235
 
 
12236
 
rm -rf conftest.dSYM
12237
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12238
 
      conftest$ac_exeext conftest.$ac_ext
12239
 
LIBS=$ac_check_lib_save_LIBS
12240
 
fi
12241
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
12242
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12243
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
12244
 
  gt_cv_func_dgettext_libintl=yes
12245
 
fi
12246
 
 
12247
 
fi
12248
 
 
12249
 
fi
12250
 
 
12251
 
 
12252
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12253
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
12254
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12255
 
          { $as_echo "$as_me:$LINENO: result: " >&5
12256
 
$as_echo "" >&6; }
12257
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
12258
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12259
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
12260
 
  $as_echo_n "(cached) " >&6
12261
 
else
12262
 
  ac_check_lib_save_LIBS=$LIBS
12263
 
LIBS="-lintl -liconv $LIBS"
12264
 
cat >conftest.$ac_ext <<_ACEOF
12265
 
/* confdefs.h.  */
12266
 
_ACEOF
12267
 
cat confdefs.h >>conftest.$ac_ext
12268
 
cat >>conftest.$ac_ext <<_ACEOF
12269
 
/* end confdefs.h.  */
12270
 
 
12271
 
/* Override any GCC internal prototype to avoid an error.
12272
 
   Use char because int might match the return type of a GCC
12273
 
   builtin and then its argument prototype would still apply.  */
12274
 
#ifdef __cplusplus
12275
 
extern "C"
12276
 
#endif
12277
 
char ngettext ();
12278
 
int
12279
 
main ()
12280
 
{
12281
 
return ngettext ();
12282
 
  ;
12283
 
  return 0;
12284
 
}
12285
 
_ACEOF
12286
 
rm -f conftest.$ac_objext conftest$ac_exeext
12287
 
if { (ac_try="$ac_link"
12288
 
case "(($ac_try" in
12289
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12290
 
  *) ac_try_echo=$ac_try;;
12291
 
esac
12292
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12293
 
$as_echo "$ac_try_echo") >&5
12294
 
  (eval "$ac_link") 2>conftest.er1
12295
 
  ac_status=$?
12296
 
  grep -v '^ *+' conftest.er1 >conftest.err
12297
 
  rm -f conftest.er1
12298
 
  cat conftest.err >&5
12299
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300
 
  (exit $ac_status); } && {
12301
 
         test -z "$ac_c_werror_flag" ||
12302
 
         test ! -s conftest.err
12303
 
       } && test -s conftest$ac_exeext && {
12304
 
         test "$cross_compiling" = yes ||
12305
 
         $as_test_x conftest$ac_exeext
12306
 
       }; then
12307
 
  ac_cv_lib_intl_ngettext=yes
12308
 
else
12309
 
  $as_echo "$as_me: failed program was:" >&5
12310
 
sed 's/^/| /' conftest.$ac_ext >&5
12311
 
 
12312
 
        ac_cv_lib_intl_ngettext=no
12313
 
fi
12314
 
 
12315
 
rm -rf conftest.dSYM
12316
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12317
 
      conftest$ac_exeext conftest.$ac_ext
12318
 
LIBS=$ac_check_lib_save_LIBS
12319
 
fi
12320
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
12321
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12322
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
12323
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
12324
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
12325
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
12326
 
  $as_echo_n "(cached) " >&6
12327
 
else
12328
 
  ac_check_lib_save_LIBS=$LIBS
12329
 
LIBS="-lintl -liconv $LIBS"
12330
 
cat >conftest.$ac_ext <<_ACEOF
12331
 
/* confdefs.h.  */
12332
 
_ACEOF
12333
 
cat confdefs.h >>conftest.$ac_ext
12334
 
cat >>conftest.$ac_ext <<_ACEOF
12335
 
/* end confdefs.h.  */
12336
 
 
12337
 
/* Override any GCC internal prototype to avoid an error.
12338
 
   Use char because int might match the return type of a GCC
12339
 
   builtin and then its argument prototype would still apply.  */
12340
 
#ifdef __cplusplus
12341
 
extern "C"
12342
 
#endif
12343
 
char dcgettext ();
12344
 
int
12345
 
main ()
12346
 
{
12347
 
return dcgettext ();
12348
 
  ;
12349
 
  return 0;
12350
 
}
12351
 
_ACEOF
12352
 
rm -f conftest.$ac_objext conftest$ac_exeext
12353
 
if { (ac_try="$ac_link"
12354
 
case "(($ac_try" in
12355
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12356
 
  *) ac_try_echo=$ac_try;;
12357
 
esac
12358
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12359
 
$as_echo "$ac_try_echo") >&5
12360
 
  (eval "$ac_link") 2>conftest.er1
12361
 
  ac_status=$?
12362
 
  grep -v '^ *+' conftest.er1 >conftest.err
12363
 
  rm -f conftest.er1
12364
 
  cat conftest.err >&5
12365
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366
 
  (exit $ac_status); } && {
12367
 
         test -z "$ac_c_werror_flag" ||
12368
 
         test ! -s conftest.err
12369
 
       } && test -s conftest$ac_exeext && {
12370
 
         test "$cross_compiling" = yes ||
12371
 
         $as_test_x conftest$ac_exeext
12372
 
       }; then
12373
 
  ac_cv_lib_intl_dcgettext=yes
12374
 
else
12375
 
  $as_echo "$as_me: failed program was:" >&5
12376
 
sed 's/^/| /' conftest.$ac_ext >&5
12377
 
 
12378
 
        ac_cv_lib_intl_dcgettext=no
12379
 
fi
12380
 
 
12381
 
rm -rf conftest.dSYM
12382
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12383
 
      conftest$ac_exeext conftest.$ac_ext
12384
 
LIBS=$ac_check_lib_save_LIBS
12385
 
fi
12386
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
12387
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12388
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
12389
 
  gt_cv_func_dgettext_libintl=yes
12390
 
                        libintl_extra_libs=-liconv
12391
 
else
12392
 
  :
12393
 
fi
12394
 
 
12395
 
else
12396
 
  :
12397
 
fi
12398
 
 
12399
 
        fi
12400
 
 
12401
 
        #
12402
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
12403
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
12404
 
        # and both have dgettext and ngettext
12405
 
        #
12406
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12407
 
          glib_save_LIBS="$LIBS"
12408
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
12409
 
          unset ac_cv_func_bind_textdomain_codeset
12410
 
 
12411
 
for ac_func in bind_textdomain_codeset
12412
 
do
12413
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12414
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12415
 
$as_echo_n "checking for $ac_func... " >&6; }
12416
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12417
 
  $as_echo_n "(cached) " >&6
12418
 
else
12419
 
  cat >conftest.$ac_ext <<_ACEOF
12420
 
/* confdefs.h.  */
12421
 
_ACEOF
12422
 
cat confdefs.h >>conftest.$ac_ext
12423
 
cat >>conftest.$ac_ext <<_ACEOF
12424
 
/* end confdefs.h.  */
12425
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12426
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12427
 
#define $ac_func innocuous_$ac_func
12428
 
 
12429
 
/* System header to define __stub macros and hopefully few prototypes,
12430
 
    which can conflict with char $ac_func (); below.
12431
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12432
 
    <limits.h> exists even on freestanding compilers.  */
12433
 
 
12434
 
#ifdef __STDC__
12435
 
# include <limits.h>
12436
 
#else
12437
 
# include <assert.h>
12438
 
#endif
12439
 
 
12440
 
#undef $ac_func
12441
 
 
12442
 
/* Override any GCC internal prototype to avoid an error.
12443
 
   Use char because int might match the return type of a GCC
12444
 
   builtin and then its argument prototype would still apply.  */
12445
 
#ifdef __cplusplus
12446
 
extern "C"
12447
 
#endif
12448
 
char $ac_func ();
12449
 
/* The GNU C library defines this for functions which it implements
12450
 
    to always fail with ENOSYS.  Some functions are actually named
12451
 
    something starting with __ and the normal name is an alias.  */
12452
 
#if defined __stub_$ac_func || defined __stub___$ac_func
12453
 
choke me
12454
 
#endif
12455
 
 
12456
 
int
12457
 
main ()
12458
 
{
12459
 
return $ac_func ();
12460
 
  ;
12461
 
  return 0;
12462
 
}
12463
 
_ACEOF
12464
 
rm -f conftest.$ac_objext conftest$ac_exeext
12465
 
if { (ac_try="$ac_link"
12466
 
case "(($ac_try" in
12467
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12468
 
  *) ac_try_echo=$ac_try;;
12469
 
esac
12470
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12471
 
$as_echo "$ac_try_echo") >&5
12472
 
  (eval "$ac_link") 2>conftest.er1
12473
 
  ac_status=$?
12474
 
  grep -v '^ *+' conftest.er1 >conftest.err
12475
 
  rm -f conftest.er1
12476
 
  cat conftest.err >&5
12477
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478
 
  (exit $ac_status); } && {
12479
 
         test -z "$ac_c_werror_flag" ||
12480
 
         test ! -s conftest.err
12481
 
       } && test -s conftest$ac_exeext && {
12482
 
         test "$cross_compiling" = yes ||
12483
 
         $as_test_x conftest$ac_exeext
12484
 
       }; then
12485
 
  eval "$as_ac_var=yes"
12486
 
else
12487
 
  $as_echo "$as_me: failed program was:" >&5
12488
 
sed 's/^/| /' conftest.$ac_ext >&5
12489
 
 
12490
 
        eval "$as_ac_var=no"
12491
 
fi
12492
 
 
12493
 
rm -rf conftest.dSYM
12494
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12495
 
      conftest$ac_exeext conftest.$ac_ext
12496
 
fi
12497
 
ac_res=`eval 'as_val=${'$as_ac_var'}
12498
 
                 $as_echo "$as_val"'`
12499
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12500
 
$as_echo "$ac_res" >&6; }
12501
 
as_val=`eval 'as_val=${'$as_ac_var'}
12502
 
                 $as_echo "$as_val"'`
12503
 
   if test "x$as_val" = x""yes; then
12504
 
  cat >>confdefs.h <<_ACEOF
12505
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12506
 
_ACEOF
12507
 
 
12508
 
fi
12509
 
done
12510
 
 
12511
 
          LIBS="$glib_save_LIBS"
12512
 
 
12513
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12514
 
            gt_cv_func_dgettext_libc=no
12515
 
          else
12516
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
12517
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
12518
 
              gt_cv_func_dgettext_libintl=no
12519
 
            fi
12520
 
          fi
12521
 
        fi
12522
 
      fi
12523
 
 
12524
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
12525
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
12526
 
        gt_cv_have_gettext=yes
12527
 
      fi
12528
 
 
12529
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12530
 
        INTLLIBS="-lintl $libintl_extra_libs"
12531
 
      fi
12532
 
 
12533
 
      if test "$gt_cv_have_gettext" = "yes"; then
12534
 
 
12535
 
cat >>confdefs.h <<\_ACEOF
12536
 
#define HAVE_GETTEXT 1
12537
 
_ACEOF
12538
 
 
12539
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
12540
 
set dummy msgfmt; ac_word=$2
12541
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12542
 
$as_echo_n "checking for $ac_word... " >&6; }
12543
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
12544
 
  $as_echo_n "(cached) " >&6
12545
 
else
12546
 
  case "$MSGFMT" in
12547
 
  /*)
12548
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12549
 
  ;;
12550
 
  *)
12551
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12552
 
  for ac_dir in $PATH; do
12553
 
    test -z "$ac_dir" && ac_dir=.
12554
 
    if test -f $ac_dir/$ac_word; then
12555
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12556
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12557
 
        break
12558
 
      fi
12559
 
    fi
12560
 
  done
12561
 
  IFS="$ac_save_ifs"
12562
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12563
 
  ;;
12564
 
esac
12565
 
fi
12566
 
MSGFMT="$ac_cv_path_MSGFMT"
12567
 
if test "$MSGFMT" != "no"; then
12568
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
12569
 
$as_echo "$MSGFMT" >&6; }
12570
 
else
12571
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12572
 
$as_echo "no" >&6; }
12573
 
fi
12574
 
        if test "$MSGFMT" != "no"; then
12575
 
          glib_save_LIBS="$LIBS"
12576
 
          LIBS="$LIBS $INTLLIBS"
12577
 
 
12578
 
for ac_func in dcgettext
12579
 
do
12580
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12581
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12582
 
$as_echo_n "checking for $ac_func... " >&6; }
12583
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12584
 
  $as_echo_n "(cached) " >&6
12585
 
else
12586
 
  cat >conftest.$ac_ext <<_ACEOF
12587
 
/* confdefs.h.  */
12588
 
_ACEOF
12589
 
cat confdefs.h >>conftest.$ac_ext
12590
 
cat >>conftest.$ac_ext <<_ACEOF
12591
 
/* end confdefs.h.  */
12592
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12593
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12594
 
#define $ac_func innocuous_$ac_func
12595
 
 
12596
 
/* System header to define __stub macros and hopefully few prototypes,
12597
 
    which can conflict with char $ac_func (); below.
12598
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12599
 
    <limits.h> exists even on freestanding compilers.  */
12600
 
 
12601
 
#ifdef __STDC__
12602
 
# include <limits.h>
12603
 
#else
12604
 
# include <assert.h>
12605
 
#endif
12606
 
 
12607
 
#undef $ac_func
12608
 
 
12609
 
/* Override any GCC internal prototype to avoid an error.
12610
 
   Use char because int might match the return type of a GCC
12611
 
   builtin and then its argument prototype would still apply.  */
12612
 
#ifdef __cplusplus
12613
 
extern "C"
12614
 
#endif
12615
 
char $ac_func ();
12616
 
/* The GNU C library defines this for functions which it implements
12617
 
    to always fail with ENOSYS.  Some functions are actually named
12618
 
    something starting with __ and the normal name is an alias.  */
12619
 
#if defined __stub_$ac_func || defined __stub___$ac_func
12620
 
choke me
12621
 
#endif
12622
 
 
12623
 
int
12624
 
main ()
12625
 
{
12626
 
return $ac_func ();
12627
 
  ;
12628
 
  return 0;
12629
 
}
12630
 
_ACEOF
12631
 
rm -f conftest.$ac_objext conftest$ac_exeext
12632
 
if { (ac_try="$ac_link"
12633
 
case "(($ac_try" in
12634
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12635
 
  *) ac_try_echo=$ac_try;;
12636
 
esac
12637
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12638
 
$as_echo "$ac_try_echo") >&5
12639
 
  (eval "$ac_link") 2>conftest.er1
12640
 
  ac_status=$?
12641
 
  grep -v '^ *+' conftest.er1 >conftest.err
12642
 
  rm -f conftest.er1
12643
 
  cat conftest.err >&5
12644
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645
 
  (exit $ac_status); } && {
12646
 
         test -z "$ac_c_werror_flag" ||
12647
 
         test ! -s conftest.err
12648
 
       } && test -s conftest$ac_exeext && {
12649
 
         test "$cross_compiling" = yes ||
12650
 
         $as_test_x conftest$ac_exeext
12651
 
       }; then
12652
 
  eval "$as_ac_var=yes"
12653
 
else
12654
 
  $as_echo "$as_me: failed program was:" >&5
12655
 
sed 's/^/| /' conftest.$ac_ext >&5
12656
 
 
12657
 
        eval "$as_ac_var=no"
12658
 
fi
12659
 
 
12660
 
rm -rf conftest.dSYM
12661
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12662
 
      conftest$ac_exeext conftest.$ac_ext
12663
 
fi
12664
 
ac_res=`eval 'as_val=${'$as_ac_var'}
12665
 
                 $as_echo "$as_val"'`
12666
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12667
 
$as_echo "$ac_res" >&6; }
12668
 
as_val=`eval 'as_val=${'$as_ac_var'}
12669
 
                 $as_echo "$as_val"'`
12670
 
   if test "x$as_val" = x""yes; then
12671
 
  cat >>confdefs.h <<_ACEOF
12672
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12673
 
_ACEOF
12674
 
 
12675
 
fi
12676
 
done
12677
 
 
12678
 
          MSGFMT_OPTS=
12679
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
12680
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
12681
 
          cat >conftest.foo <<_ACEOF
12682
 
 
12683
 
msgid ""
12684
 
msgstr ""
12685
 
"Content-Type: text/plain; charset=UTF-8\n"
12686
 
"Project-Id-Version: test 1.0\n"
12687
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
12688
 
"Last-Translator: test <foo@bar.xx>\n"
12689
 
"Language-Team: C <LL@li.org>\n"
12690
 
"MIME-Version: 1.0\n"
12691
 
"Content-Transfer-Encoding: 8bit\n"
12692
 
 
12693
 
_ACEOF
12694
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
12695
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
12696
 
  ac_status=$?
12697
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12698
 
  (exit $ac_status); }; then
12699
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
12700
 
$as_echo "yes" >&6; }
12701
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
12702
 
$as_echo "no" >&6; }
12703
 
echo "$as_me: failed input was:" >&5
12704
 
sed 's/^/| /' conftest.foo >&5
12705
 
fi
12706
 
 
12707
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
12708
 
set dummy gmsgfmt; ac_word=$2
12709
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12710
 
$as_echo_n "checking for $ac_word... " >&6; }
12711
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
12712
 
  $as_echo_n "(cached) " >&6
12713
 
else
12714
 
  case $GMSGFMT in
12715
 
  [\\/]* | ?:[\\/]*)
12716
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12717
 
  ;;
12718
 
  *)
12719
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12720
 
for as_dir in $PATH
12721
 
do
12722
 
  IFS=$as_save_IFS
12723
 
  test -z "$as_dir" && as_dir=.
12724
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12725
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12726
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12727
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12728
 
    break 2
12729
 
  fi
12730
 
done
12731
 
done
12732
 
IFS=$as_save_IFS
12733
 
 
12734
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12735
 
  ;;
12736
 
esac
12737
 
fi
12738
 
GMSGFMT=$ac_cv_path_GMSGFMT
12739
 
if test -n "$GMSGFMT"; then
12740
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
12741
 
$as_echo "$GMSGFMT" >&6; }
12742
 
else
12743
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12744
 
$as_echo "no" >&6; }
12745
 
fi
12746
 
 
12747
 
 
12748
 
          # Extract the first word of "xgettext", so it can be a program name with args.
12749
 
set dummy xgettext; ac_word=$2
12750
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12751
 
$as_echo_n "checking for $ac_word... " >&6; }
12752
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
12753
 
  $as_echo_n "(cached) " >&6
12754
 
else
12755
 
  case "$XGETTEXT" in
12756
 
  /*)
12757
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12758
 
  ;;
12759
 
  *)
12760
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12761
 
  for ac_dir in $PATH; do
12762
 
    test -z "$ac_dir" && ac_dir=.
12763
 
    if test -f $ac_dir/$ac_word; then
12764
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12765
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12766
 
        break
12767
 
      fi
12768
 
    fi
12769
 
  done
12770
 
  IFS="$ac_save_ifs"
12771
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12772
 
  ;;
12773
 
esac
12774
 
fi
12775
 
XGETTEXT="$ac_cv_path_XGETTEXT"
12776
 
if test "$XGETTEXT" != ":"; then
12777
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
12778
 
$as_echo "$XGETTEXT" >&6; }
12779
 
else
12780
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12781
 
$as_echo "no" >&6; }
12782
 
fi
12783
 
 
12784
 
          cat >conftest.$ac_ext <<_ACEOF
12785
 
/* confdefs.h.  */
12786
 
_ACEOF
12787
 
cat confdefs.h >>conftest.$ac_ext
12788
 
cat >>conftest.$ac_ext <<_ACEOF
12789
 
/* end confdefs.h.  */
12790
 
 
12791
 
int
12792
 
main ()
12793
 
{
12794
 
extern int _nl_msg_cat_cntr;
12795
 
                         return _nl_msg_cat_cntr
12796
 
  ;
12797
 
  return 0;
12798
 
}
12799
 
_ACEOF
12800
 
rm -f conftest.$ac_objext conftest$ac_exeext
12801
 
if { (ac_try="$ac_link"
12802
 
case "(($ac_try" in
12803
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12804
 
  *) ac_try_echo=$ac_try;;
12805
 
esac
12806
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12807
 
$as_echo "$ac_try_echo") >&5
12808
 
  (eval "$ac_link") 2>conftest.er1
12809
 
  ac_status=$?
12810
 
  grep -v '^ *+' conftest.er1 >conftest.err
12811
 
  rm -f conftest.er1
12812
 
  cat conftest.err >&5
12813
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814
 
  (exit $ac_status); } && {
12815
 
         test -z "$ac_c_werror_flag" ||
12816
 
         test ! -s conftest.err
12817
 
       } && test -s conftest$ac_exeext && {
12818
 
         test "$cross_compiling" = yes ||
12819
 
         $as_test_x conftest$ac_exeext
12820
 
       }; then
12821
 
  CATOBJEXT=.gmo
12822
 
             DATADIRNAME=share
12823
 
else
12824
 
  $as_echo "$as_me: failed program was:" >&5
12825
 
sed 's/^/| /' conftest.$ac_ext >&5
12826
 
 
12827
 
        case $host in
12828
 
            *-*-solaris*)
12829
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
12830
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
12831
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
12832
 
  $as_echo_n "(cached) " >&6
12833
 
else
12834
 
  cat >conftest.$ac_ext <<_ACEOF
12835
 
/* confdefs.h.  */
12836
 
_ACEOF
12837
 
cat confdefs.h >>conftest.$ac_ext
12838
 
cat >>conftest.$ac_ext <<_ACEOF
12839
 
/* end confdefs.h.  */
12840
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
12841
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12842
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
12843
 
 
12844
 
/* System header to define __stub macros and hopefully few prototypes,
12845
 
    which can conflict with char bind_textdomain_codeset (); below.
12846
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12847
 
    <limits.h> exists even on freestanding compilers.  */
12848
 
 
12849
 
#ifdef __STDC__
12850
 
# include <limits.h>
12851
 
#else
12852
 
# include <assert.h>
12853
 
#endif
12854
 
 
12855
 
#undef bind_textdomain_codeset
12856
 
 
12857
 
/* Override any GCC internal prototype to avoid an error.
12858
 
   Use char because int might match the return type of a GCC
12859
 
   builtin and then its argument prototype would still apply.  */
12860
 
#ifdef __cplusplus
12861
 
extern "C"
12862
 
#endif
12863
 
char bind_textdomain_codeset ();
12864
 
/* The GNU C library defines this for functions which it implements
12865
 
    to always fail with ENOSYS.  Some functions are actually named
12866
 
    something starting with __ and the normal name is an alias.  */
12867
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
12868
 
choke me
12869
 
#endif
12870
 
 
12871
 
int
12872
 
main ()
12873
 
{
12874
 
return bind_textdomain_codeset ();
12875
 
  ;
12876
 
  return 0;
12877
 
}
12878
 
_ACEOF
12879
 
rm -f conftest.$ac_objext conftest$ac_exeext
12880
 
if { (ac_try="$ac_link"
12881
 
case "(($ac_try" in
12882
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12883
 
  *) ac_try_echo=$ac_try;;
12884
 
esac
12885
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12886
 
$as_echo "$ac_try_echo") >&5
12887
 
  (eval "$ac_link") 2>conftest.er1
12888
 
  ac_status=$?
12889
 
  grep -v '^ *+' conftest.er1 >conftest.err
12890
 
  rm -f conftest.er1
12891
 
  cat conftest.err >&5
12892
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893
 
  (exit $ac_status); } && {
12894
 
         test -z "$ac_c_werror_flag" ||
12895
 
         test ! -s conftest.err
12896
 
       } && test -s conftest$ac_exeext && {
12897
 
         test "$cross_compiling" = yes ||
12898
 
         $as_test_x conftest$ac_exeext
12899
 
       }; then
12900
 
  ac_cv_func_bind_textdomain_codeset=yes
12901
 
else
12902
 
  $as_echo "$as_me: failed program was:" >&5
12903
 
sed 's/^/| /' conftest.$ac_ext >&5
12904
 
 
12905
 
        ac_cv_func_bind_textdomain_codeset=no
12906
 
fi
12907
 
 
12908
 
rm -rf conftest.dSYM
12909
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12910
 
      conftest$ac_exeext conftest.$ac_ext
12911
 
fi
12912
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
12913
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
12914
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
12915
 
  CATOBJEXT=.gmo
12916
 
               DATADIRNAME=share
12917
 
else
12918
 
  CATOBJEXT=.mo
12919
 
               DATADIRNAME=lib
12920
 
fi
12921
 
 
12922
 
            ;;
12923
 
            *)
12924
 
            CATOBJEXT=.mo
12925
 
            DATADIRNAME=lib
12926
 
            ;;
12927
 
            esac
12928
 
fi
12929
 
 
12930
 
rm -rf conftest.dSYM
12931
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12932
 
      conftest$ac_exeext conftest.$ac_ext
12933
 
          LIBS="$glib_save_LIBS"
12934
 
          INSTOBJEXT=.mo
12935
 
        else
12936
 
          gt_cv_have_gettext=no
12937
 
        fi
12938
 
      fi
12939
 
 
12940
 
fi
12941
 
 
12942
 
 
12943
 
 
12944
 
    if test "$gt_cv_have_gettext" = "yes" ; then
12945
 
 
12946
 
cat >>confdefs.h <<\_ACEOF
12947
 
#define ENABLE_NLS 1
12948
 
_ACEOF
12949
 
 
12950
 
    fi
12951
 
 
12952
 
        if test "$XGETTEXT" != ":"; then
12953
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12954
 
        : ;
12955
 
      else
12956
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
12957
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12958
 
        XGETTEXT=":"
12959
 
      fi
12960
 
    fi
12961
 
 
12962
 
    # We need to process the po/ directory.
12963
 
    POSUB=po
12964
 
 
12965
 
    ac_config_commands="$ac_config_commands default-1"
12966
 
 
12967
 
 
12968
 
                for lang in $ALL_LINGUAS; do
12969
 
      GMOFILES="$GMOFILES $lang.gmo"
12970
 
      POFILES="$POFILES $lang.po"
12971
 
    done
12972
 
 
12973
 
 
12974
 
 
12975
 
 
12976
 
 
12977
 
 
12978
 
 
12979
 
 
12980
 
 
12981
 
 
12982
 
 
12983
 
 
12984
 
 
12985
 
   if test "$gt_cv_have_gettext" = "yes"; then
12986
 
     if test "x$ALL_LINGUAS" = "x"; then
12987
 
       LINGUAS=
12988
 
     else
12989
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
12990
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
12991
 
       NEW_LINGUAS=
12992
 
       for presentlang in $ALL_LINGUAS; do
12993
 
         useit=no
12994
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12995
 
           desiredlanguages="$LINGUAS"
12996
 
         else
12997
 
           desiredlanguages="$ALL_LINGUAS"
12998
 
         fi
12999
 
         for desiredlang in $desiredlanguages; do
13000
 
           # Use the presentlang catalog if desiredlang is
13001
 
           #   a. equal to presentlang, or
13002
 
           #   b. a variant of presentlang (because in this case,
13003
 
           #      presentlang can be used as a fallback for messages
13004
 
           #      which are not translated in the desiredlang catalog).
13005
 
           case "$desiredlang" in
13006
 
             "$presentlang"*) useit=yes;;
13007
 
           esac
13008
 
         done
13009
 
         if test $useit = yes; then
13010
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13011
 
         fi
13012
 
       done
13013
 
       LINGUAS=$NEW_LINGUAS
13014
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
13015
 
$as_echo "$LINGUAS" >&6; }
13016
 
     fi
13017
 
 
13018
 
          if test -n "$LINGUAS"; then
13019
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13020
 
     fi
13021
 
   fi
13022
 
 
13023
 
            MKINSTALLDIRS=
13024
 
   if test -n "$ac_aux_dir"; then
13025
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13026
 
   fi
13027
 
   if test -z "$MKINSTALLDIRS"; then
13028
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13029
 
   fi
13030
 
 
13031
 
 
13032
 
         test -d po || mkdir po
13033
 
   if test "x$srcdir" != "x."; then
13034
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13035
 
       posrcprefix="$srcdir/"
13036
 
     else
13037
 
       posrcprefix="../$srcdir/"
13038
 
     fi
13039
 
   else
13040
 
     posrcprefix="../"
13041
 
   fi
13042
 
   rm -f po/POTFILES
13043
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13044
 
        < $srcdir/po/POTFILES.in > po/POTFILES
13045
 
 
13046
 
 
13047
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
10769
# i18n stuff
 
10770
 
 
10771
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13048
10772
$as_echo_n "checking whether NLS is requested... " >&6; }
13049
10773
    # Check whether --enable-nls was given.
13050
 
if test "${enable_nls+set}" = set; then
 
10774
if test "${enable_nls+set}" = set; then :
13051
10775
  enableval=$enable_nls; USE_NLS=$enableval
13052
10776
else
13053
10777
  USE_NLS=yes
13054
10778
fi
13055
10779
 
13056
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
10780
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13057
10781
$as_echo "$USE_NLS" >&6; }
13058
10782
 
13059
10783
 
13061
10785
 
13062
10786
case "$am__api_version" in
13063
10787
    1.01234)
13064
 
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
13065
 
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
13066
 
   { (exit 1); exit 1; }; }
 
10788
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13067
10789
    ;;
13068
10790
    *)
13069
10791
    ;;
13070
10792
esac
13071
10793
 
13072
 
if test -n "0.35.0"; then
13073
 
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
13074
 
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
 
10794
if test -n "0.40.0"; then
 
10795
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
 
10796
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
13075
10797
 
13076
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
10798
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13077
10799
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13078
10800
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13079
10801
 
13080
 
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
10802
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13081
10803
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13082
10804
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13083
 
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
13084
 
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
13085
 
   { (exit 1); exit 1; }; }
 
10805
        as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
13086
10806
fi
13087
10807
 
13088
10808
# Extract the first word of "intltool-update", so it can be a program name with args.
13089
10809
set dummy intltool-update; ac_word=$2
13090
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13091
10811
$as_echo_n "checking for $ac_word... " >&6; }
13092
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
10812
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
13093
10813
  $as_echo_n "(cached) " >&6
13094
10814
else
13095
10815
  case $INTLTOOL_UPDATE in
13102
10822
do
13103
10823
  IFS=$as_save_IFS
13104
10824
  test -z "$as_dir" && as_dir=.
13105
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10825
    for ac_exec_ext in '' $ac_executable_extensions; do
13106
10826
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13107
10827
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13108
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10828
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13109
10829
    break 2
13110
10830
  fi
13111
10831
done
13112
 
done
 
10832
  done
13113
10833
IFS=$as_save_IFS
13114
10834
 
13115
10835
  ;;
13117
10837
fi
13118
10838
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13119
10839
if test -n "$INTLTOOL_UPDATE"; then
13120
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
10840
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13121
10841
$as_echo "$INTLTOOL_UPDATE" >&6; }
13122
10842
else
13123
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13124
10844
$as_echo "no" >&6; }
13125
10845
fi
13126
10846
 
13127
10847
 
13128
10848
# Extract the first word of "intltool-merge", so it can be a program name with args.
13129
10849
set dummy intltool-merge; ac_word=$2
13130
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13131
10851
$as_echo_n "checking for $ac_word... " >&6; }
13132
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
10852
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
13133
10853
  $as_echo_n "(cached) " >&6
13134
10854
else
13135
10855
  case $INTLTOOL_MERGE in
13142
10862
do
13143
10863
  IFS=$as_save_IFS
13144
10864
  test -z "$as_dir" && as_dir=.
13145
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10865
    for ac_exec_ext in '' $ac_executable_extensions; do
13146
10866
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13147
10867
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13148
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10868
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13149
10869
    break 2
13150
10870
  fi
13151
10871
done
13152
 
done
 
10872
  done
13153
10873
IFS=$as_save_IFS
13154
10874
 
13155
10875
  ;;
13157
10877
fi
13158
10878
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13159
10879
if test -n "$INTLTOOL_MERGE"; then
13160
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
10880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13161
10881
$as_echo "$INTLTOOL_MERGE" >&6; }
13162
10882
else
13163
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13164
10884
$as_echo "no" >&6; }
13165
10885
fi
13166
10886
 
13167
10887
 
13168
10888
# Extract the first word of "intltool-extract", so it can be a program name with args.
13169
10889
set dummy intltool-extract; ac_word=$2
13170
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13171
10891
$as_echo_n "checking for $ac_word... " >&6; }
13172
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
10892
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
13173
10893
  $as_echo_n "(cached) " >&6
13174
10894
else
13175
10895
  case $INTLTOOL_EXTRACT in
13182
10902
do
13183
10903
  IFS=$as_save_IFS
13184
10904
  test -z "$as_dir" && as_dir=.
13185
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10905
    for ac_exec_ext in '' $ac_executable_extensions; do
13186
10906
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13187
10907
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13188
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10908
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13189
10909
    break 2
13190
10910
  fi
13191
10911
done
13192
 
done
 
10912
  done
13193
10913
IFS=$as_save_IFS
13194
10914
 
13195
10915
  ;;
13197
10917
fi
13198
10918
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13199
10919
if test -n "$INTLTOOL_EXTRACT"; then
13200
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
10920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13201
10921
$as_echo "$INTLTOOL_EXTRACT" >&6; }
13202
10922
else
13203
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13204
10924
$as_echo "no" >&6; }
13205
10925
fi
13206
10926
 
13207
10927
 
13208
10928
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13209
 
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
13210
 
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
13211
 
   { (exit 1); exit 1; }; }
 
10929
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13212
10930
fi
13213
10931
 
13214
10932
  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 $< $@'
13330
11048
# Check the gettext tools to make sure they are GNU
13331
11049
# Extract the first word of "xgettext", so it can be a program name with args.
13332
11050
set dummy xgettext; ac_word=$2
13333
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13334
11052
$as_echo_n "checking for $ac_word... " >&6; }
13335
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
11053
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13336
11054
  $as_echo_n "(cached) " >&6
13337
11055
else
13338
11056
  case $XGETTEXT in
13345
11063
do
13346
11064
  IFS=$as_save_IFS
13347
11065
  test -z "$as_dir" && as_dir=.
13348
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11066
    for ac_exec_ext in '' $ac_executable_extensions; do
13349
11067
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13350
11068
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13351
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11069
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13352
11070
    break 2
13353
11071
  fi
13354
11072
done
13355
 
done
 
11073
  done
13356
11074
IFS=$as_save_IFS
13357
11075
 
13358
11076
  ;;
13360
11078
fi
13361
11079
XGETTEXT=$ac_cv_path_XGETTEXT
13362
11080
if test -n "$XGETTEXT"; then
13363
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
11081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13364
11082
$as_echo "$XGETTEXT" >&6; }
13365
11083
else
13366
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11084
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367
11085
$as_echo "no" >&6; }
13368
11086
fi
13369
11087
 
13370
11088
 
13371
11089
# Extract the first word of "msgmerge", so it can be a program name with args.
13372
11090
set dummy msgmerge; ac_word=$2
13373
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13374
11092
$as_echo_n "checking for $ac_word... " >&6; }
13375
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
11093
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
13376
11094
  $as_echo_n "(cached) " >&6
13377
11095
else
13378
11096
  case $MSGMERGE in
13385
11103
do
13386
11104
  IFS=$as_save_IFS
13387
11105
  test -z "$as_dir" && as_dir=.
13388
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11106
    for ac_exec_ext in '' $ac_executable_extensions; do
13389
11107
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13390
11108
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13391
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11109
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13392
11110
    break 2
13393
11111
  fi
13394
11112
done
13395
 
done
 
11113
  done
13396
11114
IFS=$as_save_IFS
13397
11115
 
13398
11116
  ;;
13400
11118
fi
13401
11119
MSGMERGE=$ac_cv_path_MSGMERGE
13402
11120
if test -n "$MSGMERGE"; then
13403
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
11121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13404
11122
$as_echo "$MSGMERGE" >&6; }
13405
11123
else
13406
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11124
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13407
11125
$as_echo "no" >&6; }
13408
11126
fi
13409
11127
 
13410
11128
 
13411
11129
# Extract the first word of "msgfmt", so it can be a program name with args.
13412
11130
set dummy msgfmt; ac_word=$2
13413
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13414
11132
$as_echo_n "checking for $ac_word... " >&6; }
13415
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
11133
if test "${ac_cv_path_MSGFMT+set}" = set; then :
13416
11134
  $as_echo_n "(cached) " >&6
13417
11135
else
13418
11136
  case $MSGFMT in
13425
11143
do
13426
11144
  IFS=$as_save_IFS
13427
11145
  test -z "$as_dir" && as_dir=.
13428
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11146
    for ac_exec_ext in '' $ac_executable_extensions; do
13429
11147
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13430
11148
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13431
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11149
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13432
11150
    break 2
13433
11151
  fi
13434
11152
done
13435
 
done
 
11153
  done
13436
11154
IFS=$as_save_IFS
13437
11155
 
13438
11156
  ;;
13440
11158
fi
13441
11159
MSGFMT=$ac_cv_path_MSGFMT
13442
11160
if test -n "$MSGFMT"; then
13443
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
11161
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13444
11162
$as_echo "$MSGFMT" >&6; }
13445
11163
else
13446
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11164
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13447
11165
$as_echo "no" >&6; }
13448
11166
fi
13449
11167
 
13450
11168
 
13451
11169
# Extract the first word of "gmsgfmt", so it can be a program name with args.
13452
11170
set dummy gmsgfmt; ac_word=$2
13453
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13454
11172
$as_echo_n "checking for $ac_word... " >&6; }
13455
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
11173
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13456
11174
  $as_echo_n "(cached) " >&6
13457
11175
else
13458
11176
  case $GMSGFMT in
13465
11183
do
13466
11184
  IFS=$as_save_IFS
13467
11185
  test -z "$as_dir" && as_dir=.
13468
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11186
    for ac_exec_ext in '' $ac_executable_extensions; do
13469
11187
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13470
11188
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13471
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11189
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13472
11190
    break 2
13473
11191
  fi
13474
11192
done
13475
 
done
 
11193
  done
13476
11194
IFS=$as_save_IFS
13477
11195
 
13478
11196
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13481
11199
fi
13482
11200
GMSGFMT=$ac_cv_path_GMSGFMT
13483
11201
if test -n "$GMSGFMT"; then
13484
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
11202
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13485
11203
$as_echo "$GMSGFMT" >&6; }
13486
11204
else
13487
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11205
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13488
11206
$as_echo "no" >&6; }
13489
11207
fi
13490
11208
 
13491
11209
 
13492
11210
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13493
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
13494
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
13495
 
   { (exit 1); exit 1; }; }
 
11211
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13496
11212
fi
13497
11213
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13498
11214
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13499
11215
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13500
11216
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13501
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
13502
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
13503
 
   { (exit 1); exit 1; }; }
 
11217
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13504
11218
fi
13505
11219
 
13506
11220
# Extract the first word of "perl", so it can be a program name with args.
13507
11221
set dummy perl; ac_word=$2
13508
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11222
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13509
11223
$as_echo_n "checking for $ac_word... " >&6; }
13510
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
11224
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
13511
11225
  $as_echo_n "(cached) " >&6
13512
11226
else
13513
11227
  case $INTLTOOL_PERL in
13520
11234
do
13521
11235
  IFS=$as_save_IFS
13522
11236
  test -z "$as_dir" && as_dir=.
13523
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11237
    for ac_exec_ext in '' $ac_executable_extensions; do
13524
11238
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13525
11239
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13526
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11240
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13527
11241
    break 2
13528
11242
  fi
13529
11243
done
13530
 
done
 
11244
  done
13531
11245
IFS=$as_save_IFS
13532
11246
 
13533
11247
  ;;
13535
11249
fi
13536
11250
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13537
11251
if test -n "$INTLTOOL_PERL"; then
13538
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
11252
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13539
11253
$as_echo "$INTLTOOL_PERL" >&6; }
13540
11254
else
13541
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11255
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13542
11256
$as_echo "no" >&6; }
13543
11257
fi
13544
11258
 
13545
11259
 
13546
11260
if test -z "$INTLTOOL_PERL"; then
13547
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
13548
 
$as_echo "$as_me: error: perl not found" >&2;}
13549
 
   { (exit 1); exit 1; }; }
 
11261
   as_fn_error $? "perl not found" "$LINENO" 5
13550
11262
fi
13551
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
11263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13552
11264
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
13553
11265
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13554
11266
if test $? -ne 0; then
13555
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
13556
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
13557
 
   { (exit 1); exit 1; }; }
 
11267
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13558
11268
else
13559
11269
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
13560
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
11270
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13561
11271
$as_echo "$IT_PERL_VERSION" >&6; }
13562
11272
fi
13563
11273
if test "x" != "xno-xml"; then
13564
 
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
11274
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13565
11275
$as_echo_n "checking for XML::Parser... " >&6; }
13566
11276
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13567
 
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
11277
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13568
11278
$as_echo "ok" >&6; }
13569
11279
   else
13570
 
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
13571
 
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
13572
 
   { (exit 1); exit 1; }; }
 
11280
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13573
11281
   fi
13574
11282
fi
13575
11283
 
13579
11287
# Set DATADIRNAME correctly if it is not set yet
13580
11288
# (copied from glib-gettext.m4)
13581
11289
if test -z "$DATADIRNAME"; then
13582
 
  cat >conftest.$ac_ext <<_ACEOF
13583
 
/* confdefs.h.  */
13584
 
_ACEOF
13585
 
cat confdefs.h >>conftest.$ac_ext
13586
 
cat >>conftest.$ac_ext <<_ACEOF
 
11290
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13587
11291
/* end confdefs.h.  */
13588
11292
 
13589
11293
int
13595
11299
  return 0;
13596
11300
}
13597
11301
_ACEOF
13598
 
rm -f conftest.$ac_objext conftest$ac_exeext
13599
 
if { (ac_try="$ac_link"
13600
 
case "(($ac_try" in
13601
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13602
 
  *) ac_try_echo=$ac_try;;
13603
 
esac
13604
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13605
 
$as_echo "$ac_try_echo") >&5
13606
 
  (eval "$ac_link") 2>conftest.er1
13607
 
  ac_status=$?
13608
 
  grep -v '^ *+' conftest.er1 >conftest.err
13609
 
  rm -f conftest.er1
13610
 
  cat conftest.err >&5
13611
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612
 
  (exit $ac_status); } && {
13613
 
         test -z "$ac_c_werror_flag" ||
13614
 
         test ! -s conftest.err
13615
 
       } && test -s conftest$ac_exeext && {
13616
 
         test "$cross_compiling" = yes ||
13617
 
         $as_test_x conftest$ac_exeext
13618
 
       }; then
 
11302
if ac_fn_c_try_link "$LINENO"; then :
13619
11303
  DATADIRNAME=share
13620
11304
else
13621
 
  $as_echo "$as_me: failed program was:" >&5
13622
 
sed 's/^/| /' conftest.$ac_ext >&5
13623
 
 
13624
 
        case $host in
 
11305
  case $host in
13625
11306
    *-*-solaris*)
13626
 
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
13627
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
13628
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
13629
 
  $as_echo_n "(cached) " >&6
13630
 
else
13631
 
  cat >conftest.$ac_ext <<_ACEOF
13632
 
/* confdefs.h.  */
13633
 
_ACEOF
13634
 
cat confdefs.h >>conftest.$ac_ext
13635
 
cat >>conftest.$ac_ext <<_ACEOF
13636
 
/* end confdefs.h.  */
13637
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
13638
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13639
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
13640
 
 
13641
 
/* System header to define __stub macros and hopefully few prototypes,
13642
 
    which can conflict with char bind_textdomain_codeset (); below.
13643
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13644
 
    <limits.h> exists even on freestanding compilers.  */
13645
 
 
13646
 
#ifdef __STDC__
13647
 
# include <limits.h>
13648
 
#else
13649
 
# include <assert.h>
13650
 
#endif
13651
 
 
13652
 
#undef bind_textdomain_codeset
13653
 
 
13654
 
/* Override any GCC internal prototype to avoid an error.
13655
 
   Use char because int might match the return type of a GCC
13656
 
   builtin and then its argument prototype would still apply.  */
13657
 
#ifdef __cplusplus
13658
 
extern "C"
13659
 
#endif
13660
 
char bind_textdomain_codeset ();
13661
 
/* The GNU C library defines this for functions which it implements
13662
 
    to always fail with ENOSYS.  Some functions are actually named
13663
 
    something starting with __ and the normal name is an alias.  */
13664
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
13665
 
choke me
13666
 
#endif
13667
 
 
13668
 
int
13669
 
main ()
13670
 
{
13671
 
return bind_textdomain_codeset ();
13672
 
  ;
13673
 
  return 0;
13674
 
}
13675
 
_ACEOF
13676
 
rm -f conftest.$ac_objext conftest$ac_exeext
13677
 
if { (ac_try="$ac_link"
13678
 
case "(($ac_try" in
13679
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13680
 
  *) ac_try_echo=$ac_try;;
13681
 
esac
13682
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13683
 
$as_echo "$ac_try_echo") >&5
13684
 
  (eval "$ac_link") 2>conftest.er1
13685
 
  ac_status=$?
13686
 
  grep -v '^ *+' conftest.er1 >conftest.err
13687
 
  rm -f conftest.er1
13688
 
  cat conftest.err >&5
13689
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690
 
  (exit $ac_status); } && {
13691
 
         test -z "$ac_c_werror_flag" ||
13692
 
         test ! -s conftest.err
13693
 
       } && test -s conftest$ac_exeext && {
13694
 
         test "$cross_compiling" = yes ||
13695
 
         $as_test_x conftest$ac_exeext
13696
 
       }; then
13697
 
  ac_cv_func_bind_textdomain_codeset=yes
13698
 
else
13699
 
  $as_echo "$as_me: failed program was:" >&5
13700
 
sed 's/^/| /' conftest.$ac_ext >&5
13701
 
 
13702
 
        ac_cv_func_bind_textdomain_codeset=no
13703
 
fi
13704
 
 
13705
 
rm -rf conftest.dSYM
13706
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13707
 
      conftest$ac_exeext conftest.$ac_ext
13708
 
fi
13709
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
13710
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
13711
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
11307
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11308
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13712
11309
  DATADIRNAME=share
13713
11310
else
13714
11311
  DATADIRNAME=lib
13720
11317
    ;;
13721
11318
    esac
13722
11319
fi
13723
 
 
13724
 
rm -rf conftest.dSYM
13725
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13726
 
      conftest$ac_exeext conftest.$ac_ext
13727
 
fi
13728
 
 
13729
 
 
13730
 
 
13731
 
 
13732
 
 
13733
 
 
13734
 
# Extract the first word of "xmllint", so it can be a program name with args.
13735
 
set dummy xmllint; ac_word=$2
13736
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13737
 
$as_echo_n "checking for $ac_word... " >&6; }
13738
 
if test "${ac_cv_path_XMLLINT+set}" = set; then
13739
 
  $as_echo_n "(cached) " >&6
13740
 
else
13741
 
  case $XMLLINT in
13742
 
  [\\/]* | ?:[\\/]*)
13743
 
  ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
13744
 
  ;;
13745
 
  *)
13746
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13747
 
for as_dir in $PATH
13748
 
do
13749
 
  IFS=$as_save_IFS
13750
 
  test -z "$as_dir" && as_dir=.
13751
 
  for ac_exec_ext in '' $ac_executable_extensions; do
13752
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13753
 
    ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
13754
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13755
 
    break 2
13756
 
  fi
13757
 
done
13758
 
done
13759
 
IFS=$as_save_IFS
13760
 
 
13761
 
  ;;
13762
 
esac
13763
 
fi
13764
 
XMLLINT=$ac_cv_path_XMLLINT
13765
 
if test -n "$XMLLINT"; then
13766
 
  { $as_echo "$as_me:$LINENO: result: $XMLLINT" >&5
13767
 
$as_echo "$XMLLINT" >&6; }
13768
 
else
13769
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13770
 
$as_echo "no" >&6; }
13771
 
fi
13772
 
 
13773
 
 
13774
 
# Extract the first word of "gconftool-2", so it can be a program name with args.
13775
 
set dummy gconftool-2; ac_word=$2
13776
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13777
 
$as_echo_n "checking for $ac_word... " >&6; }
13778
 
if test "${ac_cv_path_GCONFTOOL+set}" = set; then
13779
 
  $as_echo_n "(cached) " >&6
13780
 
else
13781
 
  case $GCONFTOOL in
13782
 
  [\\/]* | ?:[\\/]*)
13783
 
  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
13784
 
  ;;
13785
 
  *)
13786
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13787
 
for as_dir in $PATH
13788
 
do
13789
 
  IFS=$as_save_IFS
13790
 
  test -z "$as_dir" && as_dir=.
13791
 
  for ac_exec_ext in '' $ac_executable_extensions; do
13792
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13793
 
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
13794
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13795
 
    break 2
13796
 
  fi
13797
 
done
13798
 
done
13799
 
IFS=$as_save_IFS
13800
 
 
13801
 
  ;;
13802
 
esac
13803
 
fi
13804
 
GCONFTOOL=$ac_cv_path_GCONFTOOL
13805
 
if test -n "$GCONFTOOL"; then
13806
 
  { $as_echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
13807
 
$as_echo "$GCONFTOOL" >&6; }
13808
 
else
13809
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13810
 
$as_echo "no" >&6; }
13811
 
fi
13812
 
 
13813
 
 
13814
 
 
13815
 
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
13816
 
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
13817
 
  else
13818
 
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
13819
 
  fi
13820
 
 
13821
 
 
13822
 
# Check whether --with-gconf-source was given.
13823
 
if test "${with_gconf_source+set}" = set; then
13824
 
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
13825
 
fi
13826
 
 
13827
 
 
13828
 
 
13829
 
  { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
13830
 
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
13831
 
 
13832
 
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
13833
 
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
13834
 
  fi
13835
 
 
13836
 
 
13837
 
# Check whether --with-gconf-schema-file-dir was given.
13838
 
if test "${with_gconf_schema_file_dir+set}" = set; then
13839
 
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
13840
 
fi
13841
 
 
13842
 
 
13843
 
 
13844
 
  { $as_echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
13845
 
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
13846
 
 
13847
 
  # Check whether --enable-schemas-install was given.
13848
 
if test "${enable_schemas_install+set}" = set; then
13849
 
  enableval=$enable_schemas_install; case ${enableval} in
13850
 
       yes|no) ;;
13851
 
       *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
13852
 
$as_echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
13853
 
   { (exit 1); exit 1; }; } ;;
 
11320
rm -f core conftest.err conftest.$ac_objext \
 
11321
    conftest$ac_exeext conftest.$ac_ext
 
11322
fi
 
11323
 
 
11324
 
 
11325
 
 
11326
 
 
11327
 
 
11328
 
 
11329
 
 
11330
 
 
11331
      GETTEXT_MACRO_VERSION=0.18
 
11332
 
 
11333
 
 
11334
 
 
11335
 
 
11336
# Prepare PATH_SEPARATOR.
 
11337
# The user is always right.
 
11338
if test "${PATH_SEPARATOR+set}" != set; then
 
11339
  echo "#! /bin/sh" >conf$$.sh
 
11340
  echo  "exit 0"   >>conf$$.sh
 
11341
  chmod +x conf$$.sh
 
11342
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
11343
    PATH_SEPARATOR=';'
 
11344
  else
 
11345
    PATH_SEPARATOR=:
 
11346
  fi
 
11347
  rm -f conf$$.sh
 
11348
fi
 
11349
 
 
11350
# Find out how to test for executable files. Don't use a zero-byte file,
 
11351
# as systems may use methods other than mode bits to determine executability.
 
11352
cat >conf$$.file <<_ASEOF
 
11353
#! /bin/sh
 
11354
exit 0
 
11355
_ASEOF
 
11356
chmod +x conf$$.file
 
11357
if test -x conf$$.file >/dev/null 2>&1; then
 
11358
  ac_executable_p="test -x"
 
11359
else
 
11360
  ac_executable_p="test -f"
 
11361
fi
 
11362
rm -f conf$$.file
 
11363
 
 
11364
# Extract the first word of "msgfmt", so it can be a program name with args.
 
11365
set dummy msgfmt; ac_word=$2
 
11366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11367
$as_echo_n "checking for $ac_word... " >&6; }
 
11368
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
11369
  $as_echo_n "(cached) " >&6
 
11370
else
 
11371
  case "$MSGFMT" in
 
11372
  [\\/]* | ?:[\\/]*)
 
11373
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
11374
    ;;
 
11375
  *)
 
11376
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
11377
    for ac_dir in $PATH; do
 
11378
      IFS="$ac_save_IFS"
 
11379
      test -z "$ac_dir" && ac_dir=.
 
11380
      for ac_exec_ext in '' $ac_executable_extensions; do
 
11381
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
11382
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
11383
          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
 
11384
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
11385
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
 
11386
            break 2
 
11387
          fi
 
11388
        fi
 
11389
      done
 
11390
    done
 
11391
    IFS="$ac_save_IFS"
 
11392
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
 
11393
    ;;
 
11394
esac
 
11395
fi
 
11396
MSGFMT="$ac_cv_path_MSGFMT"
 
11397
if test "$MSGFMT" != ":"; then
 
11398
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
11399
$as_echo "$MSGFMT" >&6; }
 
11400
else
 
11401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11402
$as_echo "no" >&6; }
 
11403
fi
 
11404
 
 
11405
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
11406
set dummy gmsgfmt; ac_word=$2
 
11407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11408
$as_echo_n "checking for $ac_word... " >&6; }
 
11409
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
11410
  $as_echo_n "(cached) " >&6
 
11411
else
 
11412
  case $GMSGFMT in
 
11413
  [\\/]* | ?:[\\/]*)
 
11414
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
11415
  ;;
 
11416
  *)
 
11417
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11418
for as_dir in $PATH
 
11419
do
 
11420
  IFS=$as_save_IFS
 
11421
  test -z "$as_dir" && as_dir=.
 
11422
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11423
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11424
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
11425
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11426
    break 2
 
11427
  fi
 
11428
done
 
11429
  done
 
11430
IFS=$as_save_IFS
 
11431
 
 
11432
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
11433
  ;;
 
11434
esac
 
11435
fi
 
11436
GMSGFMT=$ac_cv_path_GMSGFMT
 
11437
if test -n "$GMSGFMT"; then
 
11438
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
11439
$as_echo "$GMSGFMT" >&6; }
 
11440
else
 
11441
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11442
$as_echo "no" >&6; }
 
11443
fi
 
11444
 
 
11445
 
 
11446
 
 
11447
    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
11448
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
 
11449
    *) MSGFMT_015=$MSGFMT ;;
 
11450
  esac
 
11451
 
 
11452
  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
11453
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
 
11454
    *) GMSGFMT_015=$GMSGFMT ;;
 
11455
  esac
 
11456
 
 
11457
 
 
11458
 
 
11459
# Prepare PATH_SEPARATOR.
 
11460
# The user is always right.
 
11461
if test "${PATH_SEPARATOR+set}" != set; then
 
11462
  echo "#! /bin/sh" >conf$$.sh
 
11463
  echo  "exit 0"   >>conf$$.sh
 
11464
  chmod +x conf$$.sh
 
11465
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
11466
    PATH_SEPARATOR=';'
 
11467
  else
 
11468
    PATH_SEPARATOR=:
 
11469
  fi
 
11470
  rm -f conf$$.sh
 
11471
fi
 
11472
 
 
11473
# Find out how to test for executable files. Don't use a zero-byte file,
 
11474
# as systems may use methods other than mode bits to determine executability.
 
11475
cat >conf$$.file <<_ASEOF
 
11476
#! /bin/sh
 
11477
exit 0
 
11478
_ASEOF
 
11479
chmod +x conf$$.file
 
11480
if test -x conf$$.file >/dev/null 2>&1; then
 
11481
  ac_executable_p="test -x"
 
11482
else
 
11483
  ac_executable_p="test -f"
 
11484
fi
 
11485
rm -f conf$$.file
 
11486
 
 
11487
# Extract the first word of "xgettext", so it can be a program name with args.
 
11488
set dummy xgettext; ac_word=$2
 
11489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11490
$as_echo_n "checking for $ac_word... " >&6; }
 
11491
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
11492
  $as_echo_n "(cached) " >&6
 
11493
else
 
11494
  case "$XGETTEXT" in
 
11495
  [\\/]* | ?:[\\/]*)
 
11496
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
11497
    ;;
 
11498
  *)
 
11499
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
11500
    for ac_dir in $PATH; do
 
11501
      IFS="$ac_save_IFS"
 
11502
      test -z "$ac_dir" && ac_dir=.
 
11503
      for ac_exec_ext in '' $ac_executable_extensions; do
 
11504
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
11505
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
11506
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
 
11507
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
11508
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
 
11509
            break 2
 
11510
          fi
 
11511
        fi
 
11512
      done
 
11513
    done
 
11514
    IFS="$ac_save_IFS"
 
11515
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
11516
    ;;
 
11517
esac
 
11518
fi
 
11519
XGETTEXT="$ac_cv_path_XGETTEXT"
 
11520
if test "$XGETTEXT" != ":"; then
 
11521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
11522
$as_echo "$XGETTEXT" >&6; }
 
11523
else
 
11524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11525
$as_echo "no" >&6; }
 
11526
fi
 
11527
 
 
11528
    rm -f messages.po
 
11529
 
 
11530
    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
11531
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
 
11532
    *) XGETTEXT_015=$XGETTEXT ;;
 
11533
  esac
 
11534
 
 
11535
 
 
11536
 
 
11537
# Prepare PATH_SEPARATOR.
 
11538
# The user is always right.
 
11539
if test "${PATH_SEPARATOR+set}" != set; then
 
11540
  echo "#! /bin/sh" >conf$$.sh
 
11541
  echo  "exit 0"   >>conf$$.sh
 
11542
  chmod +x conf$$.sh
 
11543
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
11544
    PATH_SEPARATOR=';'
 
11545
  else
 
11546
    PATH_SEPARATOR=:
 
11547
  fi
 
11548
  rm -f conf$$.sh
 
11549
fi
 
11550
 
 
11551
# Find out how to test for executable files. Don't use a zero-byte file,
 
11552
# as systems may use methods other than mode bits to determine executability.
 
11553
cat >conf$$.file <<_ASEOF
 
11554
#! /bin/sh
 
11555
exit 0
 
11556
_ASEOF
 
11557
chmod +x conf$$.file
 
11558
if test -x conf$$.file >/dev/null 2>&1; then
 
11559
  ac_executable_p="test -x"
 
11560
else
 
11561
  ac_executable_p="test -f"
 
11562
fi
 
11563
rm -f conf$$.file
 
11564
 
 
11565
# Extract the first word of "msgmerge", so it can be a program name with args.
 
11566
set dummy msgmerge; ac_word=$2
 
11567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11568
$as_echo_n "checking for $ac_word... " >&6; }
 
11569
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
11570
  $as_echo_n "(cached) " >&6
 
11571
else
 
11572
  case "$MSGMERGE" in
 
11573
  [\\/]* | ?:[\\/]*)
 
11574
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
11575
    ;;
 
11576
  *)
 
11577
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
11578
    for ac_dir in $PATH; do
 
11579
      IFS="$ac_save_IFS"
 
11580
      test -z "$ac_dir" && ac_dir=.
 
11581
      for ac_exec_ext in '' $ac_executable_extensions; do
 
11582
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
11583
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
11584
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
 
11585
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
 
11586
            break 2
 
11587
          fi
 
11588
        fi
 
11589
      done
 
11590
    done
 
11591
    IFS="$ac_save_IFS"
 
11592
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
 
11593
    ;;
 
11594
esac
 
11595
fi
 
11596
MSGMERGE="$ac_cv_path_MSGMERGE"
 
11597
if test "$MSGMERGE" != ":"; then
 
11598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
11599
$as_echo "$MSGMERGE" >&6; }
 
11600
else
 
11601
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11602
$as_echo "no" >&6; }
 
11603
fi
 
11604
 
 
11605
 
 
11606
        test -n "$localedir" || localedir='${datadir}/locale'
 
11607
 
 
11608
 
 
11609
    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
 
11610
 
 
11611
 
 
11612
  ac_config_commands="$ac_config_commands po-directories"
 
11613
 
 
11614
 
 
11615
 
 
11616
      if test "X$prefix" = "XNONE"; then
 
11617
    acl_final_prefix="$ac_default_prefix"
 
11618
  else
 
11619
    acl_final_prefix="$prefix"
 
11620
  fi
 
11621
  if test "X$exec_prefix" = "XNONE"; then
 
11622
    acl_final_exec_prefix='${prefix}'
 
11623
  else
 
11624
    acl_final_exec_prefix="$exec_prefix"
 
11625
  fi
 
11626
  acl_save_prefix="$prefix"
 
11627
  prefix="$acl_final_prefix"
 
11628
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
11629
  prefix="$acl_save_prefix"
 
11630
 
 
11631
 
 
11632
# Check whether --with-gnu-ld was given.
 
11633
if test "${with_gnu_ld+set}" = set; then :
 
11634
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
11635
else
 
11636
  with_gnu_ld=no
 
11637
fi
 
11638
 
 
11639
# Prepare PATH_SEPARATOR.
 
11640
# The user is always right.
 
11641
if test "${PATH_SEPARATOR+set}" != set; then
 
11642
  echo "#! /bin/sh" >conf$$.sh
 
11643
  echo  "exit 0"   >>conf$$.sh
 
11644
  chmod +x conf$$.sh
 
11645
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
11646
    PATH_SEPARATOR=';'
 
11647
  else
 
11648
    PATH_SEPARATOR=:
 
11649
  fi
 
11650
  rm -f conf$$.sh
 
11651
fi
 
11652
ac_prog=ld
 
11653
if test "$GCC" = yes; then
 
11654
  # Check if gcc -print-prog-name=ld gives a path.
 
11655
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
 
11656
$as_echo_n "checking for ld used by GCC... " >&6; }
 
11657
  case $host in
 
11658
  *-*-mingw*)
 
11659
    # gcc leaves a trailing carriage return which upsets mingw
 
11660
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
11661
  *)
 
11662
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
11663
  esac
 
11664
  case $ac_prog in
 
11665
    # Accept absolute paths.
 
11666
    [\\/]* | [A-Za-z]:[\\/]*)
 
11667
      re_direlt='/[^/][^/]*/\.\./'
 
11668
      # Canonicalize the path of ld
 
11669
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
11670
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
11671
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
11672
      done
 
11673
      test -z "$LD" && LD="$ac_prog"
 
11674
      ;;
 
11675
  "")
 
11676
    # If it fails, then pretend we aren't using GCC.
 
11677
    ac_prog=ld
 
11678
    ;;
 
11679
  *)
 
11680
    # If it is relative, then search for the first ld in PATH.
 
11681
    with_gnu_ld=unknown
 
11682
    ;;
 
11683
  esac
 
11684
elif test "$with_gnu_ld" = yes; then
 
11685
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
11686
$as_echo_n "checking for GNU ld... " >&6; }
 
11687
else
 
11688
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
11689
$as_echo_n "checking for non-GNU ld... " >&6; }
 
11690
fi
 
11691
if test "${acl_cv_path_LD+set}" = set; then :
 
11692
  $as_echo_n "(cached) " >&6
 
11693
else
 
11694
  if test -z "$LD"; then
 
11695
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 
11696
  for ac_dir in $PATH; do
 
11697
    test -z "$ac_dir" && ac_dir=.
 
11698
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
11699
      acl_cv_path_LD="$ac_dir/$ac_prog"
 
11700
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
11701
      # but apparently some GNU ld's only accept -v.
 
11702
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
11703
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
11704
      *GNU* | *'with BFD'*)
 
11705
        test "$with_gnu_ld" != no && break ;;
 
11706
      *)
 
11707
        test "$with_gnu_ld" != yes && break ;;
13854
11708
      esac
13855
 
fi
13856
 
 
13857
 
   if test "$enable_schemas_install" != no; then
13858
 
  GCONF_SCHEMAS_INSTALL_TRUE=
13859
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
13860
 
else
13861
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
13862
 
  GCONF_SCHEMAS_INSTALL_FALSE=
13863
 
fi
 
11709
    fi
 
11710
  done
 
11711
  IFS="$ac_save_ifs"
 
11712
else
 
11713
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
11714
fi
 
11715
fi
 
11716
 
 
11717
LD="$acl_cv_path_LD"
 
11718
if test -n "$LD"; then
 
11719
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
11720
$as_echo "$LD" >&6; }
 
11721
else
 
11722
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11723
$as_echo "no" >&6; }
 
11724
fi
 
11725
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
11726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
11727
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
11728
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
 
11729
  $as_echo_n "(cached) " >&6
 
11730
else
 
11731
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
11732
case `$LD -v 2>&1 </dev/null` in
 
11733
*GNU* | *'with BFD'*)
 
11734
  acl_cv_prog_gnu_ld=yes ;;
 
11735
*)
 
11736
  acl_cv_prog_gnu_ld=no ;;
 
11737
esac
 
11738
fi
 
11739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
 
11740
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
 
11741
with_gnu_ld=$acl_cv_prog_gnu_ld
 
11742
 
 
11743
 
 
11744
 
 
11745
 
 
11746
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
 
11747
$as_echo_n "checking for shared library run path origin... " >&6; }
 
11748
if test "${acl_cv_rpath+set}" = set; then :
 
11749
  $as_echo_n "(cached) " >&6
 
11750
else
 
11751
 
 
11752
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
 
11753
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
 
11754
    . ./conftest.sh
 
11755
    rm -f ./conftest.sh
 
11756
    acl_cv_rpath=done
 
11757
 
 
11758
fi
 
11759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
 
11760
$as_echo "$acl_cv_rpath" >&6; }
 
11761
  wl="$acl_cv_wl"
 
11762
  acl_libext="$acl_cv_libext"
 
11763
  acl_shlibext="$acl_cv_shlibext"
 
11764
  acl_libname_spec="$acl_cv_libname_spec"
 
11765
  acl_library_names_spec="$acl_cv_library_names_spec"
 
11766
  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
 
11767
  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 
11768
  acl_hardcode_direct="$acl_cv_hardcode_direct"
 
11769
  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
 
11770
    # Check whether --enable-rpath was given.
 
11771
if test "${enable_rpath+set}" = set; then :
 
11772
  enableval=$enable_rpath; :
 
11773
else
 
11774
  enable_rpath=yes
 
11775
fi
 
11776
 
 
11777
 
 
11778
 
 
11779
 
 
11780
  acl_libdirstem=lib
 
11781
  acl_libdirstem2=
 
11782
  case "$host_os" in
 
11783
    solaris*)
 
11784
                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
 
11785
$as_echo_n "checking for 64-bit host... " >&6; }
 
11786
if test "${gl_cv_solaris_64bit+set}" = set; then :
 
11787
  $as_echo_n "(cached) " >&6
 
11788
else
 
11789
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11790
/* end confdefs.h.  */
 
11791
 
 
11792
#ifdef _LP64
 
11793
sixtyfour bits
 
11794
#endif
 
11795
 
 
11796
_ACEOF
 
11797
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
11798
  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
 
11799
  gl_cv_solaris_64bit=yes
 
11800
else
 
11801
  gl_cv_solaris_64bit=no
 
11802
fi
 
11803
rm -f conftest*
 
11804
 
 
11805
 
 
11806
fi
 
11807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
 
11808
$as_echo "$gl_cv_solaris_64bit" >&6; }
 
11809
      if test $gl_cv_solaris_64bit = yes; then
 
11810
        acl_libdirstem=lib/64
 
11811
        case "$host_cpu" in
 
11812
          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
 
11813
          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
 
11814
        esac
 
11815
      fi
 
11816
      ;;
 
11817
    *)
 
11818
      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 
11819
      if test -n "$searchpath"; then
 
11820
        acl_save_IFS="${IFS=    }"; IFS=":"
 
11821
        for searchdir in $searchpath; do
 
11822
          if test -d "$searchdir"; then
 
11823
            case "$searchdir" in
 
11824
              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 
11825
              */../ | */.. )
 
11826
                # Better ignore directories of this form. They are misleading.
 
11827
                ;;
 
11828
              *) searchdir=`cd "$searchdir" && pwd`
 
11829
                 case "$searchdir" in
 
11830
                   */lib64 ) acl_libdirstem=lib64 ;;
 
11831
                 esac ;;
 
11832
            esac
 
11833
          fi
 
11834
        done
 
11835
        IFS="$acl_save_IFS"
 
11836
      fi
 
11837
      ;;
 
11838
  esac
 
11839
  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
 
11840
 
 
11841
 
 
11842
 
 
11843
 
 
11844
 
 
11845
 
 
11846
 
 
11847
 
 
11848
 
 
11849
 
 
11850
 
 
11851
 
 
11852
    use_additional=yes
 
11853
 
 
11854
  acl_save_prefix="$prefix"
 
11855
  prefix="$acl_final_prefix"
 
11856
  acl_save_exec_prefix="$exec_prefix"
 
11857
  exec_prefix="$acl_final_exec_prefix"
 
11858
 
 
11859
    eval additional_includedir=\"$includedir\"
 
11860
    eval additional_libdir=\"$libdir\"
 
11861
 
 
11862
  exec_prefix="$acl_save_exec_prefix"
 
11863
  prefix="$acl_save_prefix"
 
11864
 
 
11865
 
 
11866
# Check whether --with-libiconv-prefix was given.
 
11867
if test "${with_libiconv_prefix+set}" = set; then :
 
11868
  withval=$with_libiconv_prefix;
 
11869
    if test "X$withval" = "Xno"; then
 
11870
      use_additional=no
 
11871
    else
 
11872
      if test "X$withval" = "X"; then
 
11873
 
 
11874
  acl_save_prefix="$prefix"
 
11875
  prefix="$acl_final_prefix"
 
11876
  acl_save_exec_prefix="$exec_prefix"
 
11877
  exec_prefix="$acl_final_exec_prefix"
 
11878
 
 
11879
          eval additional_includedir=\"$includedir\"
 
11880
          eval additional_libdir=\"$libdir\"
 
11881
 
 
11882
  exec_prefix="$acl_save_exec_prefix"
 
11883
  prefix="$acl_save_prefix"
 
11884
 
 
11885
      else
 
11886
        additional_includedir="$withval/include"
 
11887
        additional_libdir="$withval/$acl_libdirstem"
 
11888
        if test "$acl_libdirstem2" != "$acl_libdirstem" \
 
11889
           && ! test -d "$withval/$acl_libdirstem"; then
 
11890
          additional_libdir="$withval/$acl_libdirstem2"
 
11891
        fi
 
11892
      fi
 
11893
    fi
 
11894
 
 
11895
fi
 
11896
 
 
11897
      LIBICONV=
 
11898
  LTLIBICONV=
 
11899
  INCICONV=
 
11900
  LIBICONV_PREFIX=
 
11901
      HAVE_LIBICONV=
 
11902
  rpathdirs=
 
11903
  ltrpathdirs=
 
11904
  names_already_handled=
 
11905
  names_next_round='iconv '
 
11906
  while test -n "$names_next_round"; do
 
11907
    names_this_round="$names_next_round"
 
11908
    names_next_round=
 
11909
    for name in $names_this_round; do
 
11910
      already_handled=
 
11911
      for n in $names_already_handled; do
 
11912
        if test "$n" = "$name"; then
 
11913
          already_handled=yes
 
11914
          break
 
11915
        fi
 
11916
      done
 
11917
      if test -z "$already_handled"; then
 
11918
        names_already_handled="$names_already_handled $name"
 
11919
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
11920
        eval value=\"\$HAVE_LIB$uppername\"
 
11921
        if test -n "$value"; then
 
11922
          if test "$value" = yes; then
 
11923
            eval value=\"\$LIB$uppername\"
 
11924
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
 
11925
            eval value=\"\$LTLIB$uppername\"
 
11926
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
 
11927
          else
 
11928
                                    :
 
11929
          fi
 
11930
        else
 
11931
                              found_dir=
 
11932
          found_la=
 
11933
          found_so=
 
11934
          found_a=
 
11935
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
11936
          if test -n "$acl_shlibext"; then
 
11937
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
11938
          else
 
11939
            shrext=
 
11940
          fi
 
11941
          if test $use_additional = yes; then
 
11942
            dir="$additional_libdir"
 
11943
                                    if test -n "$acl_shlibext"; then
 
11944
              if test -f "$dir/$libname$shrext"; then
 
11945
                found_dir="$dir"
 
11946
                found_so="$dir/$libname$shrext"
 
11947
              else
 
11948
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
11949
                  ver=`(cd "$dir" && \
 
11950
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
11951
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
11952
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
11953
                        | sed 1q ) 2>/dev/null`
 
11954
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
11955
                    found_dir="$dir"
 
11956
                    found_so="$dir/$libname$shrext.$ver"
 
11957
                  fi
 
11958
                else
 
11959
                  eval library_names=\"$acl_library_names_spec\"
 
11960
                  for f in $library_names; do
 
11961
                    if test -f "$dir/$f"; then
 
11962
                      found_dir="$dir"
 
11963
                      found_so="$dir/$f"
 
11964
                      break
 
11965
                    fi
 
11966
                  done
 
11967
                fi
 
11968
              fi
 
11969
            fi
 
11970
                        if test "X$found_dir" = "X"; then
 
11971
              if test -f "$dir/$libname.$acl_libext"; then
 
11972
                found_dir="$dir"
 
11973
                found_a="$dir/$libname.$acl_libext"
 
11974
              fi
 
11975
            fi
 
11976
            if test "X$found_dir" != "X"; then
 
11977
              if test -f "$dir/$libname.la"; then
 
11978
                found_la="$dir/$libname.la"
 
11979
              fi
 
11980
            fi
 
11981
          fi
 
11982
          if test "X$found_dir" = "X"; then
 
11983
            for x in $LDFLAGS $LTLIBICONV; do
 
11984
 
 
11985
  acl_save_prefix="$prefix"
 
11986
  prefix="$acl_final_prefix"
 
11987
  acl_save_exec_prefix="$exec_prefix"
 
11988
  exec_prefix="$acl_final_exec_prefix"
 
11989
  eval x=\"$x\"
 
11990
  exec_prefix="$acl_save_exec_prefix"
 
11991
  prefix="$acl_save_prefix"
 
11992
 
 
11993
              case "$x" in
 
11994
                -L*)
 
11995
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
11996
                                    if test -n "$acl_shlibext"; then
 
11997
                    if test -f "$dir/$libname$shrext"; then
 
11998
                      found_dir="$dir"
 
11999
                      found_so="$dir/$libname$shrext"
 
12000
                    else
 
12001
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
12002
                        ver=`(cd "$dir" && \
 
12003
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
12004
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
12005
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
12006
                              | sed 1q ) 2>/dev/null`
 
12007
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
12008
                          found_dir="$dir"
 
12009
                          found_so="$dir/$libname$shrext.$ver"
 
12010
                        fi
 
12011
                      else
 
12012
                        eval library_names=\"$acl_library_names_spec\"
 
12013
                        for f in $library_names; do
 
12014
                          if test -f "$dir/$f"; then
 
12015
                            found_dir="$dir"
 
12016
                            found_so="$dir/$f"
 
12017
                            break
 
12018
                          fi
 
12019
                        done
 
12020
                      fi
 
12021
                    fi
 
12022
                  fi
 
12023
                                    if test "X$found_dir" = "X"; then
 
12024
                    if test -f "$dir/$libname.$acl_libext"; then
 
12025
                      found_dir="$dir"
 
12026
                      found_a="$dir/$libname.$acl_libext"
 
12027
                    fi
 
12028
                  fi
 
12029
                  if test "X$found_dir" != "X"; then
 
12030
                    if test -f "$dir/$libname.la"; then
 
12031
                      found_la="$dir/$libname.la"
 
12032
                    fi
 
12033
                  fi
 
12034
                  ;;
 
12035
              esac
 
12036
              if test "X$found_dir" != "X"; then
 
12037
                break
 
12038
              fi
 
12039
            done
 
12040
          fi
 
12041
          if test "X$found_dir" != "X"; then
 
12042
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
 
12043
            if test "X$found_so" != "X"; then
 
12044
                                                        if test "$enable_rpath" = no \
 
12045
                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
 
12046
                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
 
12047
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
12048
              else
 
12049
                                                                                haveit=
 
12050
                for x in $ltrpathdirs; do
 
12051
                  if test "X$x" = "X$found_dir"; then
 
12052
                    haveit=yes
 
12053
                    break
 
12054
                  fi
 
12055
                done
 
12056
                if test -z "$haveit"; then
 
12057
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
12058
                fi
 
12059
                                if test "$acl_hardcode_direct" = yes; then
 
12060
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
12061
                else
 
12062
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
12063
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
12064
                                                            haveit=
 
12065
                    for x in $rpathdirs; do
 
12066
                      if test "X$x" = "X$found_dir"; then
 
12067
                        haveit=yes
 
12068
                        break
 
12069
                      fi
 
12070
                    done
 
12071
                    if test -z "$haveit"; then
 
12072
                      rpathdirs="$rpathdirs $found_dir"
 
12073
                    fi
 
12074
                  else
 
12075
                                                                                haveit=
 
12076
                    for x in $LDFLAGS $LIBICONV; do
 
12077
 
 
12078
  acl_save_prefix="$prefix"
 
12079
  prefix="$acl_final_prefix"
 
12080
  acl_save_exec_prefix="$exec_prefix"
 
12081
  exec_prefix="$acl_final_exec_prefix"
 
12082
  eval x=\"$x\"
 
12083
  exec_prefix="$acl_save_exec_prefix"
 
12084
  prefix="$acl_save_prefix"
 
12085
 
 
12086
                      if test "X$x" = "X-L$found_dir"; then
 
12087
                        haveit=yes
 
12088
                        break
 
12089
                      fi
 
12090
                    done
 
12091
                    if test -z "$haveit"; then
 
12092
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
 
12093
                    fi
 
12094
                    if test "$acl_hardcode_minus_L" != no; then
 
12095
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
12096
                    else
 
12097
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
12098
                    fi
 
12099
                  fi
 
12100
                fi
 
12101
              fi
 
12102
            else
 
12103
              if test "X$found_a" != "X"; then
 
12104
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
 
12105
              else
 
12106
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
 
12107
              fi
 
12108
            fi
 
12109
                        additional_includedir=
 
12110
            case "$found_dir" in
 
12111
              */$acl_libdirstem | */$acl_libdirstem/)
 
12112
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
12113
                if test "$name" = 'iconv'; then
 
12114
                  LIBICONV_PREFIX="$basedir"
 
12115
                fi
 
12116
                additional_includedir="$basedir/include"
 
12117
                ;;
 
12118
              */$acl_libdirstem2 | */$acl_libdirstem2/)
 
12119
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
 
12120
                if test "$name" = 'iconv'; then
 
12121
                  LIBICONV_PREFIX="$basedir"
 
12122
                fi
 
12123
                additional_includedir="$basedir/include"
 
12124
                ;;
 
12125
            esac
 
12126
            if test "X$additional_includedir" != "X"; then
 
12127
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
12128
                haveit=
 
12129
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
12130
                  if test -n "$GCC"; then
 
12131
                    case $host_os in
 
12132
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
12133
                    esac
 
12134
                  fi
 
12135
                fi
 
12136
                if test -z "$haveit"; then
 
12137
                  for x in $CPPFLAGS $INCICONV; do
 
12138
 
 
12139
  acl_save_prefix="$prefix"
 
12140
  prefix="$acl_final_prefix"
 
12141
  acl_save_exec_prefix="$exec_prefix"
 
12142
  exec_prefix="$acl_final_exec_prefix"
 
12143
  eval x=\"$x\"
 
12144
  exec_prefix="$acl_save_exec_prefix"
 
12145
  prefix="$acl_save_prefix"
 
12146
 
 
12147
                    if test "X$x" = "X-I$additional_includedir"; then
 
12148
                      haveit=yes
 
12149
                      break
 
12150
                    fi
 
12151
                  done
 
12152
                  if test -z "$haveit"; then
 
12153
                    if test -d "$additional_includedir"; then
 
12154
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
 
12155
                    fi
 
12156
                  fi
 
12157
                fi
 
12158
              fi
 
12159
            fi
 
12160
                        if test -n "$found_la"; then
 
12161
                                                        save_libdir="$libdir"
 
12162
              case "$found_la" in
 
12163
                */* | *\\*) . "$found_la" ;;
 
12164
                *) . "./$found_la" ;;
 
12165
              esac
 
12166
              libdir="$save_libdir"
 
12167
                            for dep in $dependency_libs; do
 
12168
                case "$dep" in
 
12169
                  -L*)
 
12170
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
12171
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
 
12172
                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
 
12173
                      haveit=
 
12174
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
 
12175
                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
 
12176
                        if test -n "$GCC"; then
 
12177
                          case $host_os in
 
12178
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
12179
                          esac
 
12180
                        fi
 
12181
                      fi
 
12182
                      if test -z "$haveit"; then
 
12183
                        haveit=
 
12184
                        for x in $LDFLAGS $LIBICONV; do
 
12185
 
 
12186
  acl_save_prefix="$prefix"
 
12187
  prefix="$acl_final_prefix"
 
12188
  acl_save_exec_prefix="$exec_prefix"
 
12189
  exec_prefix="$acl_final_exec_prefix"
 
12190
  eval x=\"$x\"
 
12191
  exec_prefix="$acl_save_exec_prefix"
 
12192
  prefix="$acl_save_prefix"
 
12193
 
 
12194
                          if test "X$x" = "X-L$additional_libdir"; then
 
12195
                            haveit=yes
 
12196
                            break
 
12197
                          fi
 
12198
                        done
 
12199
                        if test -z "$haveit"; then
 
12200
                          if test -d "$additional_libdir"; then
 
12201
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
 
12202
                          fi
 
12203
                        fi
 
12204
                        haveit=
 
12205
                        for x in $LDFLAGS $LTLIBICONV; do
 
12206
 
 
12207
  acl_save_prefix="$prefix"
 
12208
  prefix="$acl_final_prefix"
 
12209
  acl_save_exec_prefix="$exec_prefix"
 
12210
  exec_prefix="$acl_final_exec_prefix"
 
12211
  eval x=\"$x\"
 
12212
  exec_prefix="$acl_save_exec_prefix"
 
12213
  prefix="$acl_save_prefix"
 
12214
 
 
12215
                          if test "X$x" = "X-L$additional_libdir"; then
 
12216
                            haveit=yes
 
12217
                            break
 
12218
                          fi
 
12219
                        done
 
12220
                        if test -z "$haveit"; then
 
12221
                          if test -d "$additional_libdir"; then
 
12222
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
 
12223
                          fi
 
12224
                        fi
 
12225
                      fi
 
12226
                    fi
 
12227
                    ;;
 
12228
                  -R*)
 
12229
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
12230
                    if test "$enable_rpath" != no; then
 
12231
                                                                  haveit=
 
12232
                      for x in $rpathdirs; do
 
12233
                        if test "X$x" = "X$dir"; then
 
12234
                          haveit=yes
 
12235
                          break
 
12236
                        fi
 
12237
                      done
 
12238
                      if test -z "$haveit"; then
 
12239
                        rpathdirs="$rpathdirs $dir"
 
12240
                      fi
 
12241
                                                                  haveit=
 
12242
                      for x in $ltrpathdirs; do
 
12243
                        if test "X$x" = "X$dir"; then
 
12244
                          haveit=yes
 
12245
                          break
 
12246
                        fi
 
12247
                      done
 
12248
                      if test -z "$haveit"; then
 
12249
                        ltrpathdirs="$ltrpathdirs $dir"
 
12250
                      fi
 
12251
                    fi
 
12252
                    ;;
 
12253
                  -l*)
 
12254
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
12255
                    ;;
 
12256
                  *.la)
 
12257
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
12258
                    ;;
 
12259
                  *)
 
12260
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
 
12261
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
 
12262
                    ;;
 
12263
                esac
 
12264
              done
 
12265
            fi
 
12266
          else
 
12267
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
12268
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
 
12269
          fi
 
12270
        fi
 
12271
      fi
 
12272
    done
 
12273
  done
 
12274
  if test "X$rpathdirs" != "X"; then
 
12275
    if test -n "$acl_hardcode_libdir_separator"; then
 
12276
                        alldirs=
 
12277
      for found_dir in $rpathdirs; do
 
12278
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
12279
      done
 
12280
            acl_save_libdir="$libdir"
 
12281
      libdir="$alldirs"
 
12282
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
12283
      libdir="$acl_save_libdir"
 
12284
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
12285
    else
 
12286
            for found_dir in $rpathdirs; do
 
12287
        acl_save_libdir="$libdir"
 
12288
        libdir="$found_dir"
 
12289
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
12290
        libdir="$acl_save_libdir"
 
12291
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
12292
      done
 
12293
    fi
 
12294
  fi
 
12295
  if test "X$ltrpathdirs" != "X"; then
 
12296
            for found_dir in $ltrpathdirs; do
 
12297
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
 
12298
    done
 
12299
  fi
 
12300
 
 
12301
 
 
12302
 
 
12303
 
 
12304
 
 
12305
 
 
12306
 
 
12307
 
 
12308
 
 
12309
 
 
12310
 
 
12311
 
 
12312
 
 
12313
 
 
12314
 
 
12315
 
 
12316
 
 
12317
 
 
12318
 
 
12319
 
 
12320
 
 
12321
 
 
12322
 
 
12323
 
 
12324
 
 
12325
 
 
12326
 
 
12327
 
 
12328
 
 
12329
 
 
12330
 
 
12331
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
 
12332
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
 
12333
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
 
12334
  $as_echo_n "(cached) " >&6
 
12335
else
 
12336
  gt_save_LIBS="$LIBS"
 
12337
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
12338
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12339
/* end confdefs.h.  */
 
12340
#include <CoreFoundation/CFPreferences.h>
 
12341
int
 
12342
main ()
 
12343
{
 
12344
CFPreferencesCopyAppValue(NULL, NULL)
 
12345
  ;
 
12346
  return 0;
 
12347
}
 
12348
_ACEOF
 
12349
if ac_fn_c_try_link "$LINENO"; then :
 
12350
  gt_cv_func_CFPreferencesCopyAppValue=yes
 
12351
else
 
12352
  gt_cv_func_CFPreferencesCopyAppValue=no
 
12353
fi
 
12354
rm -f core conftest.err conftest.$ac_objext \
 
12355
    conftest$ac_exeext conftest.$ac_ext
 
12356
     LIBS="$gt_save_LIBS"
 
12357
fi
 
12358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
12359
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
 
12360
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
 
12361
 
 
12362
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
 
12363
 
 
12364
  fi
 
12365
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
 
12366
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
 
12367
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
 
12368
  $as_echo_n "(cached) " >&6
 
12369
else
 
12370
  gt_save_LIBS="$LIBS"
 
12371
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
12372
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12373
/* end confdefs.h.  */
 
12374
#include <CoreFoundation/CFLocale.h>
 
12375
int
 
12376
main ()
 
12377
{
 
12378
CFLocaleCopyCurrent();
 
12379
  ;
 
12380
  return 0;
 
12381
}
 
12382
_ACEOF
 
12383
if ac_fn_c_try_link "$LINENO"; then :
 
12384
  gt_cv_func_CFLocaleCopyCurrent=yes
 
12385
else
 
12386
  gt_cv_func_CFLocaleCopyCurrent=no
 
12387
fi
 
12388
rm -f core conftest.err conftest.$ac_objext \
 
12389
    conftest$ac_exeext conftest.$ac_ext
 
12390
     LIBS="$gt_save_LIBS"
 
12391
fi
 
12392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
12393
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
 
12394
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
12395
 
 
12396
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
 
12397
 
 
12398
  fi
 
12399
  INTL_MACOSX_LIBS=
 
12400
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
12401
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
 
12402
  fi
 
12403
 
 
12404
 
 
12405
 
 
12406
 
 
12407
 
 
12408
 
 
12409
  LIBINTL=
 
12410
  LTLIBINTL=
 
12411
  POSUB=
 
12412
 
 
12413
    case " $gt_needs " in
 
12414
    *" need-formatstring-macros "*) gt_api_version=3 ;;
 
12415
    *" need-ngettext "*) gt_api_version=2 ;;
 
12416
    *) gt_api_version=1 ;;
 
12417
  esac
 
12418
  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
 
12419
  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
 
12420
 
 
12421
    if test "$USE_NLS" = "yes"; then
 
12422
    gt_use_preinstalled_gnugettext=no
 
12423
 
 
12424
 
 
12425
        if test $gt_api_version -ge 3; then
 
12426
          gt_revision_test_code='
 
12427
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
 
12428
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
 
12429
#endif
 
12430
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
 
12431
'
 
12432
        else
 
12433
          gt_revision_test_code=
 
12434
        fi
 
12435
        if test $gt_api_version -ge 2; then
 
12436
          gt_expression_test_code=' + * ngettext ("", "", 0)'
 
12437
        else
 
12438
          gt_expression_test_code=
 
12439
        fi
 
12440
 
 
12441
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
 
12442
$as_echo_n "checking for GNU gettext in libc... " >&6; }
 
12443
if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
 
12444
  $as_echo_n "(cached) " >&6
 
12445
else
 
12446
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12447
/* end confdefs.h.  */
 
12448
#include <libintl.h>
 
12449
$gt_revision_test_code
 
12450
extern int _nl_msg_cat_cntr;
 
12451
extern int *_nl_domain_bindings;
 
12452
int
 
12453
main ()
 
12454
{
 
12455
bindtextdomain ("", "");
 
12456
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
 
12457
  ;
 
12458
  return 0;
 
12459
}
 
12460
_ACEOF
 
12461
if ac_fn_c_try_link "$LINENO"; then :
 
12462
  eval "$gt_func_gnugettext_libc=yes"
 
12463
else
 
12464
  eval "$gt_func_gnugettext_libc=no"
 
12465
fi
 
12466
rm -f core conftest.err conftest.$ac_objext \
 
12467
    conftest$ac_exeext conftest.$ac_ext
 
12468
fi
 
12469
eval ac_res=\$$gt_func_gnugettext_libc
 
12470
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
12471
$as_echo "$ac_res" >&6; }
 
12472
 
 
12473
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
 
12474
 
 
12475
 
 
12476
 
 
12477
 
 
12478
 
 
12479
          am_save_CPPFLAGS="$CPPFLAGS"
 
12480
 
 
12481
  for element in $INCICONV; do
 
12482
    haveit=
 
12483
    for x in $CPPFLAGS; do
 
12484
 
 
12485
  acl_save_prefix="$prefix"
 
12486
  prefix="$acl_final_prefix"
 
12487
  acl_save_exec_prefix="$exec_prefix"
 
12488
  exec_prefix="$acl_final_exec_prefix"
 
12489
  eval x=\"$x\"
 
12490
  exec_prefix="$acl_save_exec_prefix"
 
12491
  prefix="$acl_save_prefix"
 
12492
 
 
12493
      if test "X$x" = "X$element"; then
 
12494
        haveit=yes
 
12495
        break
 
12496
      fi
 
12497
    done
 
12498
    if test -z "$haveit"; then
 
12499
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
12500
    fi
 
12501
  done
 
12502
 
 
12503
 
 
12504
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 
12505
$as_echo_n "checking for iconv... " >&6; }
 
12506
if test "${am_cv_func_iconv+set}" = set; then :
 
12507
  $as_echo_n "(cached) " >&6
 
12508
else
 
12509
 
 
12510
    am_cv_func_iconv="no, consider installing GNU libiconv"
 
12511
    am_cv_lib_iconv=no
 
12512
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12513
/* end confdefs.h.  */
 
12514
#include <stdlib.h>
 
12515
#include <iconv.h>
 
12516
int
 
12517
main ()
 
12518
{
 
12519
iconv_t cd = iconv_open("","");
 
12520
       iconv(cd,NULL,NULL,NULL,NULL);
 
12521
       iconv_close(cd);
 
12522
  ;
 
12523
  return 0;
 
12524
}
 
12525
_ACEOF
 
12526
if ac_fn_c_try_link "$LINENO"; then :
 
12527
  am_cv_func_iconv=yes
 
12528
fi
 
12529
rm -f core conftest.err conftest.$ac_objext \
 
12530
    conftest$ac_exeext conftest.$ac_ext
 
12531
    if test "$am_cv_func_iconv" != yes; then
 
12532
      am_save_LIBS="$LIBS"
 
12533
      LIBS="$LIBS $LIBICONV"
 
12534
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12535
/* end confdefs.h.  */
 
12536
#include <stdlib.h>
 
12537
#include <iconv.h>
 
12538
int
 
12539
main ()
 
12540
{
 
12541
iconv_t cd = iconv_open("","");
 
12542
         iconv(cd,NULL,NULL,NULL,NULL);
 
12543
         iconv_close(cd);
 
12544
  ;
 
12545
  return 0;
 
12546
}
 
12547
_ACEOF
 
12548
if ac_fn_c_try_link "$LINENO"; then :
 
12549
  am_cv_lib_iconv=yes
 
12550
        am_cv_func_iconv=yes
 
12551
fi
 
12552
rm -f core conftest.err conftest.$ac_objext \
 
12553
    conftest$ac_exeext conftest.$ac_ext
 
12554
      LIBS="$am_save_LIBS"
 
12555
    fi
 
12556
 
 
12557
fi
 
12558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
 
12559
$as_echo "$am_cv_func_iconv" >&6; }
 
12560
  if test "$am_cv_func_iconv" = yes; then
 
12561
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
 
12562
$as_echo_n "checking for working iconv... " >&6; }
 
12563
if test "${am_cv_func_iconv_works+set}" = set; then :
 
12564
  $as_echo_n "(cached) " >&6
 
12565
else
 
12566
 
 
12567
            am_save_LIBS="$LIBS"
 
12568
      if test $am_cv_lib_iconv = yes; then
 
12569
        LIBS="$LIBS $LIBICONV"
 
12570
      fi
 
12571
      if test "$cross_compiling" = yes; then :
 
12572
  case "$host_os" in
 
12573
           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
 
12574
           *)            am_cv_func_iconv_works="guessing yes" ;;
 
12575
         esac
 
12576
else
 
12577
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12578
/* end confdefs.h.  */
 
12579
 
 
12580
#include <iconv.h>
 
12581
#include <string.h>
 
12582
int main ()
 
12583
{
 
12584
  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
 
12585
     returns.  */
 
12586
  {
 
12587
    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
 
12588
    if (cd_utf8_to_88591 != (iconv_t)(-1))
 
12589
      {
 
12590
        static const char input[] = "\342\202\254"; /* EURO SIGN */
 
12591
        char buf[10];
 
12592
        const char *inptr = input;
 
12593
        size_t inbytesleft = strlen (input);
 
12594
        char *outptr = buf;
 
12595
        size_t outbytesleft = sizeof (buf);
 
12596
        size_t res = iconv (cd_utf8_to_88591,
 
12597
                            (char **) &inptr, &inbytesleft,
 
12598
                            &outptr, &outbytesleft);
 
12599
        if (res == 0)
 
12600
          return 1;
 
12601
      }
 
12602
  }
 
12603
  /* Test against Solaris 10 bug: Failures are not distinguishable from
 
12604
     successful returns.  */
 
12605
  {
 
12606
    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
 
12607
    if (cd_ascii_to_88591 != (iconv_t)(-1))
 
12608
      {
 
12609
        static const char input[] = "\263";
 
12610
        char buf[10];
 
12611
        const char *inptr = input;
 
12612
        size_t inbytesleft = strlen (input);
 
12613
        char *outptr = buf;
 
12614
        size_t outbytesleft = sizeof (buf);
 
12615
        size_t res = iconv (cd_ascii_to_88591,
 
12616
                            (char **) &inptr, &inbytesleft,
 
12617
                            &outptr, &outbytesleft);
 
12618
        if (res == 0)
 
12619
          return 1;
 
12620
      }
 
12621
  }
 
12622
#if 0 /* This bug could be worked around by the caller.  */
 
12623
  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
 
12624
  {
 
12625
    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
 
12626
    if (cd_88591_to_utf8 != (iconv_t)(-1))
 
12627
      {
 
12628
        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
 
12629
        char buf[50];
 
12630
        const char *inptr = input;
 
12631
        size_t inbytesleft = strlen (input);
 
12632
        char *outptr = buf;
 
12633
        size_t outbytesleft = sizeof (buf);
 
12634
        size_t res = iconv (cd_88591_to_utf8,
 
12635
                            (char **) &inptr, &inbytesleft,
 
12636
                            &outptr, &outbytesleft);
 
12637
        if ((int)res > 0)
 
12638
          return 1;
 
12639
      }
 
12640
  }
 
12641
#endif
 
12642
  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
 
12643
     provided.  */
 
12644
  if (/* Try standardized names.  */
 
12645
      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
 
12646
      /* Try IRIX, OSF/1 names.  */
 
12647
      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
 
12648
      /* Try AIX names.  */
 
12649
      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
 
12650
      /* Try HP-UX names.  */
 
12651
      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
 
12652
    return 1;
 
12653
  return 0;
 
12654
}
 
12655
_ACEOF
 
12656
if ac_fn_c_try_run "$LINENO"; then :
 
12657
  am_cv_func_iconv_works=yes
 
12658
else
 
12659
  am_cv_func_iconv_works=no
 
12660
fi
 
12661
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
12662
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
12663
fi
 
12664
 
 
12665
      LIBS="$am_save_LIBS"
 
12666
 
 
12667
fi
 
12668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
 
12669
$as_echo "$am_cv_func_iconv_works" >&6; }
 
12670
    case "$am_cv_func_iconv_works" in
 
12671
      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
 
12672
      *)   am_func_iconv=yes ;;
 
12673
    esac
 
12674
  else
 
12675
    am_func_iconv=no am_cv_lib_iconv=no
 
12676
  fi
 
12677
  if test "$am_func_iconv" = yes; then
 
12678
 
 
12679
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
12680
 
 
12681
  fi
 
12682
  if test "$am_cv_lib_iconv" = yes; then
 
12683
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
 
12684
$as_echo_n "checking how to link with libiconv... " >&6; }
 
12685
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
 
12686
$as_echo "$LIBICONV" >&6; }
 
12687
  else
 
12688
            CPPFLAGS="$am_save_CPPFLAGS"
 
12689
    LIBICONV=
 
12690
    LTLIBICONV=
 
12691
  fi
 
12692
 
 
12693
 
 
12694
 
 
12695
 
 
12696
 
 
12697
 
 
12698
 
 
12699
 
 
12700
 
 
12701
 
 
12702
 
 
12703
    use_additional=yes
 
12704
 
 
12705
  acl_save_prefix="$prefix"
 
12706
  prefix="$acl_final_prefix"
 
12707
  acl_save_exec_prefix="$exec_prefix"
 
12708
  exec_prefix="$acl_final_exec_prefix"
 
12709
 
 
12710
    eval additional_includedir=\"$includedir\"
 
12711
    eval additional_libdir=\"$libdir\"
 
12712
 
 
12713
  exec_prefix="$acl_save_exec_prefix"
 
12714
  prefix="$acl_save_prefix"
 
12715
 
 
12716
 
 
12717
# Check whether --with-libintl-prefix was given.
 
12718
if test "${with_libintl_prefix+set}" = set; then :
 
12719
  withval=$with_libintl_prefix;
 
12720
    if test "X$withval" = "Xno"; then
 
12721
      use_additional=no
 
12722
    else
 
12723
      if test "X$withval" = "X"; then
 
12724
 
 
12725
  acl_save_prefix="$prefix"
 
12726
  prefix="$acl_final_prefix"
 
12727
  acl_save_exec_prefix="$exec_prefix"
 
12728
  exec_prefix="$acl_final_exec_prefix"
 
12729
 
 
12730
          eval additional_includedir=\"$includedir\"
 
12731
          eval additional_libdir=\"$libdir\"
 
12732
 
 
12733
  exec_prefix="$acl_save_exec_prefix"
 
12734
  prefix="$acl_save_prefix"
 
12735
 
 
12736
      else
 
12737
        additional_includedir="$withval/include"
 
12738
        additional_libdir="$withval/$acl_libdirstem"
 
12739
        if test "$acl_libdirstem2" != "$acl_libdirstem" \
 
12740
           && ! test -d "$withval/$acl_libdirstem"; then
 
12741
          additional_libdir="$withval/$acl_libdirstem2"
 
12742
        fi
 
12743
      fi
 
12744
    fi
 
12745
 
 
12746
fi
 
12747
 
 
12748
      LIBINTL=
 
12749
  LTLIBINTL=
 
12750
  INCINTL=
 
12751
  LIBINTL_PREFIX=
 
12752
      HAVE_LIBINTL=
 
12753
  rpathdirs=
 
12754
  ltrpathdirs=
 
12755
  names_already_handled=
 
12756
  names_next_round='intl '
 
12757
  while test -n "$names_next_round"; do
 
12758
    names_this_round="$names_next_round"
 
12759
    names_next_round=
 
12760
    for name in $names_this_round; do
 
12761
      already_handled=
 
12762
      for n in $names_already_handled; do
 
12763
        if test "$n" = "$name"; then
 
12764
          already_handled=yes
 
12765
          break
 
12766
        fi
 
12767
      done
 
12768
      if test -z "$already_handled"; then
 
12769
        names_already_handled="$names_already_handled $name"
 
12770
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
12771
        eval value=\"\$HAVE_LIB$uppername\"
 
12772
        if test -n "$value"; then
 
12773
          if test "$value" = yes; then
 
12774
            eval value=\"\$LIB$uppername\"
 
12775
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
 
12776
            eval value=\"\$LTLIB$uppername\"
 
12777
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
 
12778
          else
 
12779
                                    :
 
12780
          fi
 
12781
        else
 
12782
                              found_dir=
 
12783
          found_la=
 
12784
          found_so=
 
12785
          found_a=
 
12786
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
12787
          if test -n "$acl_shlibext"; then
 
12788
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
12789
          else
 
12790
            shrext=
 
12791
          fi
 
12792
          if test $use_additional = yes; then
 
12793
            dir="$additional_libdir"
 
12794
                                    if test -n "$acl_shlibext"; then
 
12795
              if test -f "$dir/$libname$shrext"; then
 
12796
                found_dir="$dir"
 
12797
                found_so="$dir/$libname$shrext"
 
12798
              else
 
12799
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
12800
                  ver=`(cd "$dir" && \
 
12801
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
12802
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
12803
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
12804
                        | sed 1q ) 2>/dev/null`
 
12805
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
12806
                    found_dir="$dir"
 
12807
                    found_so="$dir/$libname$shrext.$ver"
 
12808
                  fi
 
12809
                else
 
12810
                  eval library_names=\"$acl_library_names_spec\"
 
12811
                  for f in $library_names; do
 
12812
                    if test -f "$dir/$f"; then
 
12813
                      found_dir="$dir"
 
12814
                      found_so="$dir/$f"
 
12815
                      break
 
12816
                    fi
 
12817
                  done
 
12818
                fi
 
12819
              fi
 
12820
            fi
 
12821
                        if test "X$found_dir" = "X"; then
 
12822
              if test -f "$dir/$libname.$acl_libext"; then
 
12823
                found_dir="$dir"
 
12824
                found_a="$dir/$libname.$acl_libext"
 
12825
              fi
 
12826
            fi
 
12827
            if test "X$found_dir" != "X"; then
 
12828
              if test -f "$dir/$libname.la"; then
 
12829
                found_la="$dir/$libname.la"
 
12830
              fi
 
12831
            fi
 
12832
          fi
 
12833
          if test "X$found_dir" = "X"; then
 
12834
            for x in $LDFLAGS $LTLIBINTL; do
 
12835
 
 
12836
  acl_save_prefix="$prefix"
 
12837
  prefix="$acl_final_prefix"
 
12838
  acl_save_exec_prefix="$exec_prefix"
 
12839
  exec_prefix="$acl_final_exec_prefix"
 
12840
  eval x=\"$x\"
 
12841
  exec_prefix="$acl_save_exec_prefix"
 
12842
  prefix="$acl_save_prefix"
 
12843
 
 
12844
              case "$x" in
 
12845
                -L*)
 
12846
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
12847
                                    if test -n "$acl_shlibext"; then
 
12848
                    if test -f "$dir/$libname$shrext"; then
 
12849
                      found_dir="$dir"
 
12850
                      found_so="$dir/$libname$shrext"
 
12851
                    else
 
12852
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
12853
                        ver=`(cd "$dir" && \
 
12854
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
12855
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
12856
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
12857
                              | sed 1q ) 2>/dev/null`
 
12858
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
12859
                          found_dir="$dir"
 
12860
                          found_so="$dir/$libname$shrext.$ver"
 
12861
                        fi
 
12862
                      else
 
12863
                        eval library_names=\"$acl_library_names_spec\"
 
12864
                        for f in $library_names; do
 
12865
                          if test -f "$dir/$f"; then
 
12866
                            found_dir="$dir"
 
12867
                            found_so="$dir/$f"
 
12868
                            break
 
12869
                          fi
 
12870
                        done
 
12871
                      fi
 
12872
                    fi
 
12873
                  fi
 
12874
                                    if test "X$found_dir" = "X"; then
 
12875
                    if test -f "$dir/$libname.$acl_libext"; then
 
12876
                      found_dir="$dir"
 
12877
                      found_a="$dir/$libname.$acl_libext"
 
12878
                    fi
 
12879
                  fi
 
12880
                  if test "X$found_dir" != "X"; then
 
12881
                    if test -f "$dir/$libname.la"; then
 
12882
                      found_la="$dir/$libname.la"
 
12883
                    fi
 
12884
                  fi
 
12885
                  ;;
 
12886
              esac
 
12887
              if test "X$found_dir" != "X"; then
 
12888
                break
 
12889
              fi
 
12890
            done
 
12891
          fi
 
12892
          if test "X$found_dir" != "X"; then
 
12893
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
 
12894
            if test "X$found_so" != "X"; then
 
12895
                                                        if test "$enable_rpath" = no \
 
12896
                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
 
12897
                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
 
12898
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
12899
              else
 
12900
                                                                                haveit=
 
12901
                for x in $ltrpathdirs; do
 
12902
                  if test "X$x" = "X$found_dir"; then
 
12903
                    haveit=yes
 
12904
                    break
 
12905
                  fi
 
12906
                done
 
12907
                if test -z "$haveit"; then
 
12908
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
12909
                fi
 
12910
                                if test "$acl_hardcode_direct" = yes; then
 
12911
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
12912
                else
 
12913
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
12914
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
12915
                                                            haveit=
 
12916
                    for x in $rpathdirs; do
 
12917
                      if test "X$x" = "X$found_dir"; then
 
12918
                        haveit=yes
 
12919
                        break
 
12920
                      fi
 
12921
                    done
 
12922
                    if test -z "$haveit"; then
 
12923
                      rpathdirs="$rpathdirs $found_dir"
 
12924
                    fi
 
12925
                  else
 
12926
                                                                                haveit=
 
12927
                    for x in $LDFLAGS $LIBINTL; do
 
12928
 
 
12929
  acl_save_prefix="$prefix"
 
12930
  prefix="$acl_final_prefix"
 
12931
  acl_save_exec_prefix="$exec_prefix"
 
12932
  exec_prefix="$acl_final_exec_prefix"
 
12933
  eval x=\"$x\"
 
12934
  exec_prefix="$acl_save_exec_prefix"
 
12935
  prefix="$acl_save_prefix"
 
12936
 
 
12937
                      if test "X$x" = "X-L$found_dir"; then
 
12938
                        haveit=yes
 
12939
                        break
 
12940
                      fi
 
12941
                    done
 
12942
                    if test -z "$haveit"; then
 
12943
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
 
12944
                    fi
 
12945
                    if test "$acl_hardcode_minus_L" != no; then
 
12946
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
12947
                    else
 
12948
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
12949
                    fi
 
12950
                  fi
 
12951
                fi
 
12952
              fi
 
12953
            else
 
12954
              if test "X$found_a" != "X"; then
 
12955
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
 
12956
              else
 
12957
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
 
12958
              fi
 
12959
            fi
 
12960
                        additional_includedir=
 
12961
            case "$found_dir" in
 
12962
              */$acl_libdirstem | */$acl_libdirstem/)
 
12963
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
12964
                if test "$name" = 'intl'; then
 
12965
                  LIBINTL_PREFIX="$basedir"
 
12966
                fi
 
12967
                additional_includedir="$basedir/include"
 
12968
                ;;
 
12969
              */$acl_libdirstem2 | */$acl_libdirstem2/)
 
12970
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
 
12971
                if test "$name" = 'intl'; then
 
12972
                  LIBINTL_PREFIX="$basedir"
 
12973
                fi
 
12974
                additional_includedir="$basedir/include"
 
12975
                ;;
 
12976
            esac
 
12977
            if test "X$additional_includedir" != "X"; then
 
12978
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
12979
                haveit=
 
12980
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
12981
                  if test -n "$GCC"; then
 
12982
                    case $host_os in
 
12983
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
12984
                    esac
 
12985
                  fi
 
12986
                fi
 
12987
                if test -z "$haveit"; then
 
12988
                  for x in $CPPFLAGS $INCINTL; do
 
12989
 
 
12990
  acl_save_prefix="$prefix"
 
12991
  prefix="$acl_final_prefix"
 
12992
  acl_save_exec_prefix="$exec_prefix"
 
12993
  exec_prefix="$acl_final_exec_prefix"
 
12994
  eval x=\"$x\"
 
12995
  exec_prefix="$acl_save_exec_prefix"
 
12996
  prefix="$acl_save_prefix"
 
12997
 
 
12998
                    if test "X$x" = "X-I$additional_includedir"; then
 
12999
                      haveit=yes
 
13000
                      break
 
13001
                    fi
 
13002
                  done
 
13003
                  if test -z "$haveit"; then
 
13004
                    if test -d "$additional_includedir"; then
 
13005
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
 
13006
                    fi
 
13007
                  fi
 
13008
                fi
 
13009
              fi
 
13010
            fi
 
13011
                        if test -n "$found_la"; then
 
13012
                                                        save_libdir="$libdir"
 
13013
              case "$found_la" in
 
13014
                */* | *\\*) . "$found_la" ;;
 
13015
                *) . "./$found_la" ;;
 
13016
              esac
 
13017
              libdir="$save_libdir"
 
13018
                            for dep in $dependency_libs; do
 
13019
                case "$dep" in
 
13020
                  -L*)
 
13021
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
13022
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
 
13023
                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
 
13024
                      haveit=
 
13025
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
 
13026
                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
 
13027
                        if test -n "$GCC"; then
 
13028
                          case $host_os in
 
13029
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13030
                          esac
 
13031
                        fi
 
13032
                      fi
 
13033
                      if test -z "$haveit"; then
 
13034
                        haveit=
 
13035
                        for x in $LDFLAGS $LIBINTL; do
 
13036
 
 
13037
  acl_save_prefix="$prefix"
 
13038
  prefix="$acl_final_prefix"
 
13039
  acl_save_exec_prefix="$exec_prefix"
 
13040
  exec_prefix="$acl_final_exec_prefix"
 
13041
  eval x=\"$x\"
 
13042
  exec_prefix="$acl_save_exec_prefix"
 
13043
  prefix="$acl_save_prefix"
 
13044
 
 
13045
                          if test "X$x" = "X-L$additional_libdir"; then
 
13046
                            haveit=yes
 
13047
                            break
 
13048
                          fi
 
13049
                        done
 
13050
                        if test -z "$haveit"; then
 
13051
                          if test -d "$additional_libdir"; then
 
13052
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
 
13053
                          fi
 
13054
                        fi
 
13055
                        haveit=
 
13056
                        for x in $LDFLAGS $LTLIBINTL; do
 
13057
 
 
13058
  acl_save_prefix="$prefix"
 
13059
  prefix="$acl_final_prefix"
 
13060
  acl_save_exec_prefix="$exec_prefix"
 
13061
  exec_prefix="$acl_final_exec_prefix"
 
13062
  eval x=\"$x\"
 
13063
  exec_prefix="$acl_save_exec_prefix"
 
13064
  prefix="$acl_save_prefix"
 
13065
 
 
13066
                          if test "X$x" = "X-L$additional_libdir"; then
 
13067
                            haveit=yes
 
13068
                            break
 
13069
                          fi
 
13070
                        done
 
13071
                        if test -z "$haveit"; then
 
13072
                          if test -d "$additional_libdir"; then
 
13073
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
 
13074
                          fi
 
13075
                        fi
 
13076
                      fi
 
13077
                    fi
 
13078
                    ;;
 
13079
                  -R*)
 
13080
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
13081
                    if test "$enable_rpath" != no; then
 
13082
                                                                  haveit=
 
13083
                      for x in $rpathdirs; do
 
13084
                        if test "X$x" = "X$dir"; then
 
13085
                          haveit=yes
 
13086
                          break
 
13087
                        fi
 
13088
                      done
 
13089
                      if test -z "$haveit"; then
 
13090
                        rpathdirs="$rpathdirs $dir"
 
13091
                      fi
 
13092
                                                                  haveit=
 
13093
                      for x in $ltrpathdirs; do
 
13094
                        if test "X$x" = "X$dir"; then
 
13095
                          haveit=yes
 
13096
                          break
 
13097
                        fi
 
13098
                      done
 
13099
                      if test -z "$haveit"; then
 
13100
                        ltrpathdirs="$ltrpathdirs $dir"
 
13101
                      fi
 
13102
                    fi
 
13103
                    ;;
 
13104
                  -l*)
 
13105
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
13106
                    ;;
 
13107
                  *.la)
 
13108
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
13109
                    ;;
 
13110
                  *)
 
13111
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
 
13112
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
 
13113
                    ;;
 
13114
                esac
 
13115
              done
 
13116
            fi
 
13117
          else
 
13118
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
13119
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
 
13120
          fi
 
13121
        fi
 
13122
      fi
 
13123
    done
 
13124
  done
 
13125
  if test "X$rpathdirs" != "X"; then
 
13126
    if test -n "$acl_hardcode_libdir_separator"; then
 
13127
                        alldirs=
 
13128
      for found_dir in $rpathdirs; do
 
13129
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
13130
      done
 
13131
            acl_save_libdir="$libdir"
 
13132
      libdir="$alldirs"
 
13133
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
13134
      libdir="$acl_save_libdir"
 
13135
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
13136
    else
 
13137
            for found_dir in $rpathdirs; do
 
13138
        acl_save_libdir="$libdir"
 
13139
        libdir="$found_dir"
 
13140
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
13141
        libdir="$acl_save_libdir"
 
13142
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
13143
      done
 
13144
    fi
 
13145
  fi
 
13146
  if test "X$ltrpathdirs" != "X"; then
 
13147
            for found_dir in $ltrpathdirs; do
 
13148
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
 
13149
    done
 
13150
  fi
 
13151
 
 
13152
 
 
13153
 
 
13154
 
 
13155
 
 
13156
 
 
13157
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
 
13158
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
 
13159
if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
 
13160
  $as_echo_n "(cached) " >&6
 
13161
else
 
13162
  gt_save_CPPFLAGS="$CPPFLAGS"
 
13163
            CPPFLAGS="$CPPFLAGS $INCINTL"
 
13164
            gt_save_LIBS="$LIBS"
 
13165
            LIBS="$LIBS $LIBINTL"
 
13166
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13167
/* end confdefs.h.  */
 
13168
#include <libintl.h>
 
13169
$gt_revision_test_code
 
13170
extern int _nl_msg_cat_cntr;
 
13171
extern
 
13172
#ifdef __cplusplus
 
13173
"C"
 
13174
#endif
 
13175
const char *_nl_expand_alias (const char *);
 
13176
int
 
13177
main ()
 
13178
{
 
13179
bindtextdomain ("", "");
 
13180
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
13181
  ;
 
13182
  return 0;
 
13183
}
 
13184
_ACEOF
 
13185
if ac_fn_c_try_link "$LINENO"; then :
 
13186
  eval "$gt_func_gnugettext_libintl=yes"
 
13187
else
 
13188
  eval "$gt_func_gnugettext_libintl=no"
 
13189
fi
 
13190
rm -f core conftest.err conftest.$ac_objext \
 
13191
    conftest$ac_exeext conftest.$ac_ext
 
13192
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
 
13193
              LIBS="$LIBS $LIBICONV"
 
13194
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13195
/* end confdefs.h.  */
 
13196
#include <libintl.h>
 
13197
$gt_revision_test_code
 
13198
extern int _nl_msg_cat_cntr;
 
13199
extern
 
13200
#ifdef __cplusplus
 
13201
"C"
 
13202
#endif
 
13203
const char *_nl_expand_alias (const char *);
 
13204
int
 
13205
main ()
 
13206
{
 
13207
bindtextdomain ("", "");
 
13208
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
13209
  ;
 
13210
  return 0;
 
13211
}
 
13212
_ACEOF
 
13213
if ac_fn_c_try_link "$LINENO"; then :
 
13214
  LIBINTL="$LIBINTL $LIBICONV"
 
13215
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
 
13216
                eval "$gt_func_gnugettext_libintl=yes"
 
13217
 
 
13218
fi
 
13219
rm -f core conftest.err conftest.$ac_objext \
 
13220
    conftest$ac_exeext conftest.$ac_ext
 
13221
            fi
 
13222
            CPPFLAGS="$gt_save_CPPFLAGS"
 
13223
            LIBS="$gt_save_LIBS"
 
13224
fi
 
13225
eval ac_res=\$$gt_func_gnugettext_libintl
 
13226
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
13227
$as_echo "$ac_res" >&6; }
 
13228
        fi
 
13229
 
 
13230
                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
 
13231
           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
 
13232
                && test "$PACKAGE" != gettext-runtime \
 
13233
                && test "$PACKAGE" != gettext-tools; }; then
 
13234
          gt_use_preinstalled_gnugettext=yes
 
13235
        else
 
13236
                    LIBINTL=
 
13237
          LTLIBINTL=
 
13238
          INCINTL=
 
13239
        fi
 
13240
 
 
13241
 
 
13242
 
 
13243
    if test -n "$INTL_MACOSX_LIBS"; then
 
13244
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
13245
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
13246
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
 
13247
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
 
13248
      fi
 
13249
    fi
 
13250
 
 
13251
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
13252
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
13253
 
 
13254
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
13255
 
 
13256
    else
 
13257
      USE_NLS=no
 
13258
    fi
 
13259
  fi
 
13260
 
 
13261
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
 
13262
$as_echo_n "checking whether to use NLS... " >&6; }
 
13263
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
13264
$as_echo "$USE_NLS" >&6; }
 
13265
  if test "$USE_NLS" = "yes"; then
 
13266
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
 
13267
$as_echo_n "checking where the gettext function comes from... " >&6; }
 
13268
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
13269
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
13270
        gt_source="external libintl"
 
13271
      else
 
13272
        gt_source="libc"
 
13273
      fi
 
13274
    else
 
13275
      gt_source="included intl directory"
 
13276
    fi
 
13277
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
 
13278
$as_echo "$gt_source" >&6; }
 
13279
  fi
 
13280
 
 
13281
  if test "$USE_NLS" = "yes"; then
 
13282
 
 
13283
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
13284
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
13285
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
 
13286
$as_echo_n "checking how to link with libintl... " >&6; }
 
13287
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
 
13288
$as_echo "$LIBINTL" >&6; }
 
13289
 
 
13290
  for element in $INCINTL; do
 
13291
    haveit=
 
13292
    for x in $CPPFLAGS; do
 
13293
 
 
13294
  acl_save_prefix="$prefix"
 
13295
  prefix="$acl_final_prefix"
 
13296
  acl_save_exec_prefix="$exec_prefix"
 
13297
  exec_prefix="$acl_final_exec_prefix"
 
13298
  eval x=\"$x\"
 
13299
  exec_prefix="$acl_save_exec_prefix"
 
13300
  prefix="$acl_save_prefix"
 
13301
 
 
13302
      if test "X$x" = "X$element"; then
 
13303
        haveit=yes
 
13304
        break
 
13305
      fi
 
13306
    done
 
13307
    if test -z "$haveit"; then
 
13308
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
13309
    fi
 
13310
  done
 
13311
 
 
13312
      fi
 
13313
 
 
13314
 
 
13315
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
13316
 
 
13317
 
 
13318
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
 
13319
 
 
13320
    fi
 
13321
 
 
13322
        POSUB=po
 
13323
  fi
 
13324
 
 
13325
 
 
13326
 
 
13327
    INTLLIBS="$LIBINTL"
 
13328
 
 
13329
 
 
13330
 
 
13331
 
 
13332
 
 
13333
 
 
13334
 
 
13335
 
 
13336
GETTEXT_PACKAGE=gnome-bluetooth2
 
13337
 
 
13338
 
 
13339
cat >>confdefs.h <<_ACEOF
 
13340
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
13341
_ACEOF
 
13342
 
 
13343
 
 
13344
 
 
13345
 
 
13346
  # Check whether --enable-schemas-compile was given.
 
13347
if test "${enable_schemas_compile+set}" = set; then :
 
13348
  enableval=$enable_schemas_compile; case ${enableval} in
 
13349
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
 
13350
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
 
13351
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
 
13352
                 esac
 
13353
fi
 
13354
 
 
13355
 
 
13356
 
13864
13357
 
13865
13358
 
13866
13359
 
13870
13363
        if test -n "$ac_tool_prefix"; then
13871
13364
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13872
13365
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13873
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13874
13367
$as_echo_n "checking for $ac_word... " >&6; }
13875
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
13368
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13876
13369
  $as_echo_n "(cached) " >&6
13877
13370
else
13878
13371
  case $PKG_CONFIG in
13885
13378
do
13886
13379
  IFS=$as_save_IFS
13887
13380
  test -z "$as_dir" && as_dir=.
13888
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13381
    for ac_exec_ext in '' $ac_executable_extensions; do
13889
13382
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13890
13383
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13891
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13384
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13892
13385
    break 2
13893
13386
  fi
13894
13387
done
13895
 
done
 
13388
  done
13896
13389
IFS=$as_save_IFS
13897
13390
 
13898
13391
  ;;
13900
13393
fi
13901
13394
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13902
13395
if test -n "$PKG_CONFIG"; then
13903
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
13396
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13904
13397
$as_echo "$PKG_CONFIG" >&6; }
13905
13398
else
13906
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13399
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13907
13400
$as_echo "no" >&6; }
13908
13401
fi
13909
13402
 
13913
13406
  ac_pt_PKG_CONFIG=$PKG_CONFIG
13914
13407
  # Extract the first word of "pkg-config", so it can be a program name with args.
13915
13408
set dummy pkg-config; ac_word=$2
13916
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13917
13410
$as_echo_n "checking for $ac_word... " >&6; }
13918
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
13411
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13919
13412
  $as_echo_n "(cached) " >&6
13920
13413
else
13921
13414
  case $ac_pt_PKG_CONFIG in
13928
13421
do
13929
13422
  IFS=$as_save_IFS
13930
13423
  test -z "$as_dir" && as_dir=.
13931
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13424
    for ac_exec_ext in '' $ac_executable_extensions; do
13932
13425
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13933
13426
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13934
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13427
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13935
13428
    break 2
13936
13429
  fi
13937
13430
done
13938
 
done
 
13431
  done
13939
13432
IFS=$as_save_IFS
13940
13433
 
13941
13434
  ;;
13943
13436
fi
13944
13437
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13945
13438
if test -n "$ac_pt_PKG_CONFIG"; then
13946
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
13439
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13947
13440
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13948
13441
else
13949
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13442
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13950
13443
$as_echo "no" >&6; }
13951
13444
fi
13952
13445
 
13955
13448
  else
13956
13449
    case $cross_compiling:$ac_tool_warned in
13957
13450
yes:)
13958
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
13451
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13959
13452
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13960
13453
ac_tool_warned=yes ;;
13961
13454
esac
13967
13460
 
13968
13461
fi
13969
13462
if test -n "$PKG_CONFIG"; then
13970
 
        _pkg_min_version=0.9.0
13971
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
13463
        _pkg_min_version=0.16
 
13464
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13972
13465
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13973
13466
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13974
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13467
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13975
13468
$as_echo "yes" >&6; }
13976
13469
        else
13977
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
13470
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13978
13471
$as_echo "no" >&6; }
13979
13472
                PKG_CONFIG=""
13980
13473
        fi
13981
 
 
13982
 
fi
 
13474
fi
 
13475
  gsettingsschemadir=${datadir}/glib-2.0/schemas
 
13476
 
 
13477
  if test x$cross_compiling != xyes; then
 
13478
    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
 
13479
  else
 
13480
    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
 
13481
set dummy glib-compile-schemas; ac_word=$2
 
13482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13483
$as_echo_n "checking for $ac_word... " >&6; }
 
13484
if test "${ac_cv_path_GLIB_COMPILE_SCHEMAS+set}" = set; then :
 
13485
  $as_echo_n "(cached) " >&6
 
13486
else
 
13487
  case $GLIB_COMPILE_SCHEMAS in
 
13488
  [\\/]* | ?:[\\/]*)
 
13489
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
 
13490
  ;;
 
13491
  *)
 
13492
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13493
for as_dir in $PATH
 
13494
do
 
13495
  IFS=$as_save_IFS
 
13496
  test -z "$as_dir" && as_dir=.
 
13497
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13498
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13499
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
 
13500
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13501
    break 2
 
13502
  fi
 
13503
done
 
13504
  done
 
13505
IFS=$as_save_IFS
 
13506
 
 
13507
  ;;
 
13508
esac
 
13509
fi
 
13510
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
 
13511
if test -n "$GLIB_COMPILE_SCHEMAS"; then
 
13512
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
 
13513
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
 
13514
else
 
13515
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13516
$as_echo "no" >&6; }
 
13517
fi
 
13518
 
 
13519
 
 
13520
  fi
 
13521
 
 
13522
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
 
13523
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
 
13524
  else
 
13525
    :
 
13526
  fi
 
13527
 
 
13528
  GSETTINGS_RULES='
 
13529
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
 
13530
 
 
13531
mostlyclean-am: clean-gsettings-schemas
 
13532
 
 
13533
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
 
13534
 
 
13535
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
 
13536
        $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
 
13537
 
 
13538
all-am: $(gsettings_SCHEMAS:.xml=.valid)
 
13539
uninstall-am: uninstall-gsettings-schemas
 
13540
install-data-am: install-gsettings-schemas
 
13541
 
 
13542
.SECONDARY: $(gsettings_SCHEMAS)
 
13543
 
 
13544
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
 
13545
        @$(NORMAL_INSTALL)
 
13546
        if test -n "$^"; then \
 
13547
                test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
 
13548
                $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
 
13549
                test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
 
13550
        fi
 
13551
 
 
13552
uninstall-gsettings-schemas:
 
13553
        @$(NORMAL_UNINSTALL)
 
13554
        @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
 
13555
        files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
 
13556
        test -n "$$files" || exit 0; \
 
13557
        echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
 
13558
        cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
 
13559
        test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
 
13560
 
 
13561
clean-gsettings-schemas:
 
13562
        rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
 
13563
 
 
13564
ifdef gsettings_ENUM_NAMESPACE
 
13565
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
 
13566
        $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
 
13567
endif
 
13568
'
 
13569
 
 
13570
 
 
13571
 
 
13572
 
 
13573
 
 
13574
 
 
13575
 
 
13576
# Extract the first word of "xmllint", so it can be a program name with args.
 
13577
set dummy xmllint; ac_word=$2
 
13578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13579
$as_echo_n "checking for $ac_word... " >&6; }
 
13580
if test "${ac_cv_path_XMLLINT+set}" = set; then :
 
13581
  $as_echo_n "(cached) " >&6
 
13582
else
 
13583
  case $XMLLINT in
 
13584
  [\\/]* | ?:[\\/]*)
 
13585
  ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
 
13586
  ;;
 
13587
  *)
 
13588
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13589
for as_dir in $PATH
 
13590
do
 
13591
  IFS=$as_save_IFS
 
13592
  test -z "$as_dir" && as_dir=.
 
13593
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13594
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13595
    ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
 
13596
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13597
    break 2
 
13598
  fi
 
13599
done
 
13600
  done
 
13601
IFS=$as_save_IFS
 
13602
 
 
13603
  ;;
 
13604
esac
 
13605
fi
 
13606
XMLLINT=$ac_cv_path_XMLLINT
 
13607
if test -n "$XMLLINT"; then
 
13608
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
 
13609
$as_echo "$XMLLINT" >&6; }
 
13610
else
 
13611
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13612
$as_echo "no" >&6; }
 
13613
fi
 
13614
 
 
13615
 
 
13616
 
 
13617
 
 
13618
 
 
13619
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
 
13620
set dummy gtkdoc-check; ac_word=$2
 
13621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13622
$as_echo_n "checking for $ac_word... " >&6; }
 
13623
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
 
13624
  $as_echo_n "(cached) " >&6
 
13625
else
 
13626
  case $GTKDOC_CHECK in
 
13627
  [\\/]* | ?:[\\/]*)
 
13628
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
 
13629
  ;;
 
13630
  *)
 
13631
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13632
for as_dir in $PATH
 
13633
do
 
13634
  IFS=$as_save_IFS
 
13635
  test -z "$as_dir" && as_dir=.
 
13636
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13637
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13638
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
 
13639
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13640
    break 2
 
13641
  fi
 
13642
done
 
13643
  done
 
13644
IFS=$as_save_IFS
 
13645
 
 
13646
  ;;
 
13647
esac
 
13648
fi
 
13649
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
 
13650
if test -n "$GTKDOC_CHECK"; then
 
13651
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
 
13652
$as_echo "$GTKDOC_CHECK" >&6; }
 
13653
else
 
13654
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13655
$as_echo "no" >&6; }
 
13656
fi
 
13657
 
 
13658
 
 
13659
  for ac_prog in gtkdoc-rebase
 
13660
do
 
13661
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
13662
set dummy $ac_prog; ac_word=$2
 
13663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13664
$as_echo_n "checking for $ac_word... " >&6; }
 
13665
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
 
13666
  $as_echo_n "(cached) " >&6
 
13667
else
 
13668
  case $GTKDOC_REBASE in
 
13669
  [\\/]* | ?:[\\/]*)
 
13670
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
 
13671
  ;;
 
13672
  *)
 
13673
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13674
for as_dir in $PATH
 
13675
do
 
13676
  IFS=$as_save_IFS
 
13677
  test -z "$as_dir" && as_dir=.
 
13678
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13679
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13680
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
 
13681
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13682
    break 2
 
13683
  fi
 
13684
done
 
13685
  done
 
13686
IFS=$as_save_IFS
 
13687
 
 
13688
  ;;
 
13689
esac
 
13690
fi
 
13691
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
 
13692
if test -n "$GTKDOC_REBASE"; then
 
13693
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
 
13694
$as_echo "$GTKDOC_REBASE" >&6; }
 
13695
else
 
13696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13697
$as_echo "no" >&6; }
 
13698
fi
 
13699
 
 
13700
 
 
13701
  test -n "$GTKDOC_REBASE" && break
 
13702
done
 
13703
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
 
13704
 
 
13705
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
 
13706
set dummy gtkdoc-mkpdf; ac_word=$2
 
13707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13708
$as_echo_n "checking for $ac_word... " >&6; }
 
13709
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
 
13710
  $as_echo_n "(cached) " >&6
 
13711
else
 
13712
  case $GTKDOC_MKPDF in
 
13713
  [\\/]* | ?:[\\/]*)
 
13714
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
 
13715
  ;;
 
13716
  *)
 
13717
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13718
for as_dir in $PATH
 
13719
do
 
13720
  IFS=$as_save_IFS
 
13721
  test -z "$as_dir" && as_dir=.
 
13722
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13723
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13724
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
 
13725
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13726
    break 2
 
13727
  fi
 
13728
done
 
13729
  done
 
13730
IFS=$as_save_IFS
 
13731
 
 
13732
  ;;
 
13733
esac
 
13734
fi
 
13735
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
 
13736
if test -n "$GTKDOC_MKPDF"; then
 
13737
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
 
13738
$as_echo "$GTKDOC_MKPDF" >&6; }
 
13739
else
 
13740
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13741
$as_echo "no" >&6; }
 
13742
fi
 
13743
 
 
13744
 
13983
13745
 
13984
13746
 
13985
13747
# Check whether --with-html-dir was given.
13986
 
if test "${with_html_dir+set}" = set; then
 
13748
if test "${with_html_dir+set}" = set; then :
13987
13749
  withval=$with_html_dir;
13988
13750
else
13989
13751
  with_html_dir='${datadir}/gtk-doc/html'
13993
13755
 
13994
13756
 
13995
13757
    # Check whether --enable-gtk-doc was given.
13996
 
if test "${enable_gtk_doc+set}" = set; then
 
13758
if test "${enable_gtk_doc+set}" = set; then :
13997
13759
  enableval=$enable_gtk_doc;
13998
13760
else
13999
13761
  enable_gtk_doc=no
14002
13764
 
14003
13765
  if test x$enable_gtk_doc = xyes; then
14004
13766
    if test -n "$PKG_CONFIG" && \
14005
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.9\"") >&5
 
13767
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.9\""; } >&5
14006
13768
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.9") 2>&5
14007
13769
  ac_status=$?
14008
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009
 
  (exit $ac_status); }; then
 
13770
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13771
  test $ac_status = 0; }; then
14010
13772
  :
14011
13773
else
14012
 
  { { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.9 installed to build gtk-doc" >&5
14013
 
$as_echo "$as_me: error: You need to have gtk-doc >= 1.9 installed to build gtk-doc" >&2;}
14014
 
   { (exit 1); exit 1; }; }
 
13774
  as_fn_error $? "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5
14015
13775
fi
14016
13776
  fi
14017
13777
 
14018
 
  { $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5
 
13778
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14019
13779
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14020
 
  { $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5
 
13780
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14021
13781
$as_echo "$enable_gtk_doc" >&6; }
14022
13782
 
14023
 
  for ac_prog in gtkdoc-check
14024
 
do
14025
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
14026
 
set dummy $ac_prog; ac_word=$2
14027
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14028
 
$as_echo_n "checking for $ac_word... " >&6; }
14029
 
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then
14030
 
  $as_echo_n "(cached) " >&6
14031
 
else
14032
 
  case $GTKDOC_CHECK in
14033
 
  [\\/]* | ?:[\\/]*)
14034
 
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14035
 
  ;;
14036
 
  *)
14037
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14038
 
for as_dir in $PATH
14039
 
do
14040
 
  IFS=$as_save_IFS
14041
 
  test -z "$as_dir" && as_dir=.
14042
 
  for ac_exec_ext in '' $ac_executable_extensions; do
14043
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14044
 
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14045
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14046
 
    break 2
 
13783
    # Check whether --enable-gtk-doc-html was given.
 
13784
if test "${enable_gtk_doc_html+set}" = set; then :
 
13785
  enableval=$enable_gtk_doc_html;
 
13786
else
 
13787
  enable_gtk_doc_html=yes
 
13788
fi
 
13789
 
 
13790
    # Check whether --enable-gtk-doc-pdf was given.
 
13791
if test "${enable_gtk_doc_pdf+set}" = set; then :
 
13792
  enableval=$enable_gtk_doc_pdf;
 
13793
else
 
13794
  enable_gtk_doc_pdf=no
 
13795
fi
 
13796
 
 
13797
 
 
13798
  if test -z "$GTKDOC_MKPDF"; then
 
13799
    enable_gtk_doc_pdf=no
14047
13800
  fi
14048
 
done
14049
 
done
14050
 
IFS=$as_save_IFS
14051
 
 
14052
 
  ;;
14053
 
esac
14054
 
fi
14055
 
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14056
 
if test -n "$GTKDOC_CHECK"; then
14057
 
  { $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5
14058
 
$as_echo "$GTKDOC_CHECK" >&6; }
14059
 
else
14060
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
14061
 
$as_echo "no" >&6; }
14062
 
fi
14063
 
 
14064
 
 
14065
 
  test -n "$GTKDOC_CHECK" && break
14066
 
done
14067
13801
 
14068
13802
 
14069
13803
   if test x$enable_gtk_doc = xyes; then
14074
13808
  ENABLE_GTK_DOC_FALSE=
14075
13809
fi
14076
13810
 
 
13811
   if test x$enable_gtk_doc_html = xyes; then
 
13812
  GTK_DOC_BUILD_HTML_TRUE=
 
13813
  GTK_DOC_BUILD_HTML_FALSE='#'
 
13814
else
 
13815
  GTK_DOC_BUILD_HTML_TRUE='#'
 
13816
  GTK_DOC_BUILD_HTML_FALSE=
 
13817
fi
 
13818
 
 
13819
   if test x$enable_gtk_doc_pdf = xyes; then
 
13820
  GTK_DOC_BUILD_PDF_TRUE=
 
13821
  GTK_DOC_BUILD_PDF_FALSE='#'
 
13822
else
 
13823
  GTK_DOC_BUILD_PDF_TRUE='#'
 
13824
  GTK_DOC_BUILD_PDF_FALSE=
 
13825
fi
 
13826
 
14077
13827
   if test -n "$LIBTOOL"; then
14078
13828
  GTK_DOC_USE_LIBTOOL_TRUE=
14079
13829
  GTK_DOC_USE_LIBTOOL_FALSE='#'
14082
13832
  GTK_DOC_USE_LIBTOOL_FALSE=
14083
13833
fi
14084
13834
 
 
13835
   if test -n "$GTKDOC_REBASE"; then
 
13836
  GTK_DOC_USE_REBASE_TRUE=
 
13837
  GTK_DOC_USE_REBASE_FALSE='#'
 
13838
else
 
13839
  GTK_DOC_USE_REBASE_TRUE='#'
 
13840
  GTK_DOC_USE_REBASE_FALSE=
 
13841
fi
 
13842
 
14085
13843
 
14086
13844
 
14087
13845
 
14091
13849
 
14092
13850
 
14093
13851
# Check whether --enable-desktop-update was given.
14094
 
if test "${enable_desktop_update+set}" = set; then
 
13852
if test "${enable_desktop_update+set}" = set; then :
14095
13853
  enableval=$enable_desktop_update;
14096
13854
fi
14097
13855
 
14098
13856
if (test "$enable_desktop_update" != no); then
14099
13857
        # Extract the first word of "update-desktop-database", so it can be a program name with args.
14100
13858
set dummy update-desktop-database; ac_word=$2
14101
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14102
13860
$as_echo_n "checking for $ac_word... " >&6; }
14103
 
if test "${ac_cv_path_UPDATE_DESKTOP_DATABASE+set}" = set; then
 
13861
if test "${ac_cv_path_UPDATE_DESKTOP_DATABASE+set}" = set; then :
14104
13862
  $as_echo_n "(cached) " >&6
14105
13863
else
14106
13864
  case $UPDATE_DESKTOP_DATABASE in
14113
13871
do
14114
13872
  IFS=$as_save_IFS
14115
13873
  test -z "$as_dir" && as_dir=.
14116
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13874
    for ac_exec_ext in '' $ac_executable_extensions; do
14117
13875
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14118
13876
    ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
14119
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13877
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14120
13878
    break 2
14121
13879
  fi
14122
13880
done
14123
 
done
 
13881
  done
14124
13882
IFS=$as_save_IFS
14125
13883
 
14126
13884
  ;;
14128
13886
fi
14129
13887
UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
14130
13888
if test -n "$UPDATE_DESKTOP_DATABASE"; then
14131
 
  { $as_echo "$as_me:$LINENO: result: $UPDATE_DESKTOP_DATABASE" >&5
 
13889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
14132
13890
$as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
14133
13891
else
14134
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13892
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14135
13893
$as_echo "no" >&6; }
14136
13894
fi
14137
13895
 
14147
13905
 
14148
13906
 
14149
13907
# Check whether --enable-icon-update was given.
14150
 
if test "${enable_icon_update+set}" = set; then
 
13908
if test "${enable_icon_update+set}" = set; then :
14151
13909
  enableval=$enable_icon_update;
14152
13910
fi
14153
13911
 
14154
13912
if (test "$enable_icon_update" != no); then
14155
13913
        # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
14156
13914
set dummy gtk-update-icon-cache; ac_word=$2
14157
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14158
13916
$as_echo_n "checking for $ac_word... " >&6; }
14159
 
if test "${ac_cv_path_UPDATE_ICON_CACHE+set}" = set; then
 
13917
if test "${ac_cv_path_UPDATE_ICON_CACHE+set}" = set; then :
14160
13918
  $as_echo_n "(cached) " >&6
14161
13919
else
14162
13920
  case $UPDATE_ICON_CACHE in
14169
13927
do
14170
13928
  IFS=$as_save_IFS
14171
13929
  test -z "$as_dir" && as_dir=.
14172
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13930
    for ac_exec_ext in '' $ac_executable_extensions; do
14173
13931
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14174
13932
    ac_cv_path_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
14175
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13933
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14176
13934
    break 2
14177
13935
  fi
14178
13936
done
14179
 
done
 
13937
  done
14180
13938
IFS=$as_save_IFS
14181
13939
 
14182
13940
  ;;
14184
13942
fi
14185
13943
UPDATE_ICON_CACHE=$ac_cv_path_UPDATE_ICON_CACHE
14186
13944
if test -n "$UPDATE_ICON_CACHE"; then
14187
 
  { $as_echo "$as_me:$LINENO: result: $UPDATE_ICON_CACHE" >&5
 
13945
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_ICON_CACHE" >&5
14188
13946
$as_echo "$UPDATE_ICON_CACHE" >&6; }
14189
13947
else
14190
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13948
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14191
13949
$as_echo "no" >&6; }
14192
13950
fi
14193
13951
 
14202
13960
fi
14203
13961
 
14204
13962
 
14205
 
GTK_REQUIRED=2.15.0
 
13963
GTK_REQUIRED=2.91.3
 
13964
GLIB_REQUIRED=2.25.7
14206
13965
DBUS_GLIB_REQUIRED=0.74
14207
 
NOTIFY_REQUIRED=0.4.3
14208
 
NAUTILUS_SENDTO_REQUIRED=2.28.0.1
 
13966
NOTIFY_REQUIRED=0.7.0
 
13967
NAUTILUS_SENDTO_REQUIRED=2.29.0
 
13968
NAUTILUS_SENDTO_MAX_REQUIRED=2.91.0
 
13969
 
 
13970
PANELS_DIR="${libdir}/control-center-1/panels"
 
13971
 
14209
13972
 
14210
13973
 
14211
13974
pkg_failed=no
14212
 
{ $as_echo "$as_me:$LINENO: checking for PROPS" >&5
 
13975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PROPS" >&5
14213
13976
$as_echo_n "checking for PROPS... " >&6; }
14214
13977
 
14215
13978
if test -n "$PROPS_CFLAGS"; then
14216
13979
    pkg_cv_PROPS_CFLAGS="$PROPS_CFLAGS"
14217
13980
 elif test -n "$PKG_CONFIG"; then
14218
13981
    if test -n "$PKG_CONFIG" && \
14219
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
14220
 
                  gconf-2.0
14221
 
                  gtk+-2.0
14222
 
                  unique-1.0\"") >&5
 
13982
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
 
13983
                  glib-2.0 >= \$GLIB_REQUIRED
 
13984
                  gtk+-3.0 >= 2.90.7
 
13985
                  libgnome-control-center\""; } >&5
14223
13986
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14224
 
                  gconf-2.0
14225
 
                  gtk+-2.0
14226
 
                  unique-1.0") 2>&5
 
13987
                  glib-2.0 >= $GLIB_REQUIRED
 
13988
                  gtk+-3.0 >= 2.90.7
 
13989
                  libgnome-control-center") 2>&5
14227
13990
  ac_status=$?
14228
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229
 
  (exit $ac_status); }; then
 
13991
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13992
  test $ac_status = 0; }; then
14230
13993
  pkg_cv_PROPS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14231
 
                  gconf-2.0
14232
 
                  gtk+-2.0
14233
 
                  unique-1.0" 2>/dev/null`
 
13994
                  glib-2.0 >= $GLIB_REQUIRED
 
13995
                  gtk+-3.0 >= 2.90.7
 
13996
                  libgnome-control-center" 2>/dev/null`
14234
13997
else
14235
13998
  pkg_failed=yes
14236
13999
fi
14241
14004
    pkg_cv_PROPS_LIBS="$PROPS_LIBS"
14242
14005
 elif test -n "$PKG_CONFIG"; then
14243
14006
    if test -n "$PKG_CONFIG" && \
14244
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
14245
 
                  gconf-2.0
14246
 
                  gtk+-2.0
14247
 
                  unique-1.0\"") >&5
 
14007
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
 
14008
                  glib-2.0 >= \$GLIB_REQUIRED
 
14009
                  gtk+-3.0 >= 2.90.7
 
14010
                  libgnome-control-center\""; } >&5
14248
14011
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14249
 
                  gconf-2.0
14250
 
                  gtk+-2.0
14251
 
                  unique-1.0") 2>&5
 
14012
                  glib-2.0 >= $GLIB_REQUIRED
 
14013
                  gtk+-3.0 >= 2.90.7
 
14014
                  libgnome-control-center") 2>&5
14252
14015
  ac_status=$?
14253
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254
 
  (exit $ac_status); }; then
 
14016
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14017
  test $ac_status = 0; }; then
14255
14018
  pkg_cv_PROPS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14256
 
                  gconf-2.0
14257
 
                  gtk+-2.0
14258
 
                  unique-1.0" 2>/dev/null`
 
14019
                  glib-2.0 >= $GLIB_REQUIRED
 
14020
                  gtk+-3.0 >= 2.90.7
 
14021
                  libgnome-control-center" 2>/dev/null`
14259
14022
else
14260
14023
  pkg_failed=yes
14261
14024
fi
14266
14029
 
14267
14030
 
14268
14031
if test $pkg_failed = yes; then
 
14032
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14033
$as_echo "no" >&6; }
14269
14034
 
14270
14035
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14271
14036
        _pkg_short_errors_supported=yes
14274
14039
fi
14275
14040
        if test $_pkg_short_errors_supported = yes; then
14276
14041
                PROPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14277
 
                  gconf-2.0
14278
 
                  gtk+-2.0
14279
 
                  unique-1.0" 2>&1`
 
14042
                  glib-2.0 >= $GLIB_REQUIRED
 
14043
                  gtk+-3.0 >= 2.90.7
 
14044
                  libgnome-control-center" 2>&1`
14280
14045
        else
14281
14046
                PROPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14282
 
                  gconf-2.0
14283
 
                  gtk+-2.0
14284
 
                  unique-1.0" 2>&1`
 
14047
                  glib-2.0 >= $GLIB_REQUIRED
 
14048
                  gtk+-3.0 >= 2.90.7
 
14049
                  libgnome-control-center" 2>&1`
14285
14050
        fi
14286
14051
        # Put the nasty error message in config.log where it belongs
14287
14052
        echo "$PROPS_PKG_ERRORS" >&5
14288
14053
 
14289
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14290
 
                  gconf-2.0
14291
 
                  gtk+-2.0
14292
 
                  unique-1.0) were not met:
14293
 
 
14294
 
$PROPS_PKG_ERRORS
14295
 
 
14296
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14297
 
installed software in a non-standard prefix.
14298
 
 
14299
 
Alternatively, you may set the environment variables PROPS_CFLAGS
14300
 
and PROPS_LIBS to avoid the need to call pkg-config.
14301
 
See the pkg-config man page for more details.
14302
 
" >&5
14303
 
$as_echo "$as_me: error: Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14304
 
                  gconf-2.0
14305
 
                  gtk+-2.0
14306
 
                  unique-1.0) were not met:
14307
 
 
14308
 
$PROPS_PKG_ERRORS
14309
 
 
14310
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14311
 
installed software in a non-standard prefix.
14312
 
 
14313
 
Alternatively, you may set the environment variables PROPS_CFLAGS
14314
 
and PROPS_LIBS to avoid the need to call pkg-config.
14315
 
See the pkg-config man page for more details.
14316
 
" >&2;}
14317
 
   { (exit 1); exit 1; }; }
 
14054
        as_fn_error $? "Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
 
14055
                  glib-2.0 >= $GLIB_REQUIRED
 
14056
                  gtk+-3.0 >= 2.90.7
 
14057
                  libgnome-control-center) were not met:
 
14058
 
 
14059
$PROPS_PKG_ERRORS
 
14060
 
 
14061
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14062
installed software in a non-standard prefix.
 
14063
 
 
14064
Alternatively, you may set the environment variables PROPS_CFLAGS
 
14065
and PROPS_LIBS to avoid the need to call pkg-config.
 
14066
See the pkg-config man page for more details." "$LINENO" 5
 
14067
 
14318
14068
elif test $pkg_failed = untried; then
14319
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
14069
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14070
$as_echo "no" >&6; }
 
14071
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14320
14072
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14321
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14322
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14323
 
path to pkg-config.
14324
 
 
14325
 
Alternatively, you may set the environment variables PROPS_CFLAGS
14326
 
and PROPS_LIBS to avoid the need to call pkg-config.
14327
 
See the pkg-config man page for more details.
14328
 
 
14329
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14330
 
See \`config.log' for more details." >&5
14331
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14332
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14333
 
path to pkg-config.
14334
 
 
14335
 
Alternatively, you may set the environment variables PROPS_CFLAGS
14336
 
and PROPS_LIBS to avoid the need to call pkg-config.
14337
 
See the pkg-config man page for more details.
14338
 
 
14339
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14340
 
See \`config.log' for more details." >&2;}
14341
 
   { (exit 1); exit 1; }; }; }
 
14073
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14074
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14075
path to pkg-config.
 
14076
 
 
14077
Alternatively, you may set the environment variables PROPS_CFLAGS
 
14078
and PROPS_LIBS to avoid the need to call pkg-config.
 
14079
See the pkg-config man page for more details.
 
14080
 
 
14081
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14082
See \`config.log' for more details" "$LINENO" 5; }
 
14083
 
14342
14084
else
14343
14085
        PROPS_CFLAGS=$pkg_cv_PROPS_CFLAGS
14344
14086
        PROPS_LIBS=$pkg_cv_PROPS_LIBS
14345
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14087
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14346
14088
$as_echo "yes" >&6; }
14347
 
        :
 
14089
 
14348
14090
fi
14349
14091
 
14350
14092
 
14351
14093
pkg_failed=no
14352
 
{ $as_echo "$as_me:$LINENO: checking for APPLET" >&5
 
14094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPLET" >&5
14353
14095
$as_echo_n "checking for APPLET... " >&6; }
14354
14096
 
14355
14097
if test -n "$APPLET_CFLAGS"; then
14356
14098
    pkg_cv_APPLET_CFLAGS="$APPLET_CFLAGS"
14357
14099
 elif test -n "$PKG_CONFIG"; then
14358
14100
    if test -n "$PKG_CONFIG" && \
14359
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
14360
 
                  gconf-2.0
 
14101
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
14361
14102
                  gmodule-export-2.0
14362
 
                  gtk+-2.0 >= \$GTK_REQUIRED
14363
 
                  libnotify >= \$NOTIFY_REQUIRED
14364
 
                  unique-1.0\"") >&5
 
14103
                  glib-2.0 >= \$GLIB_REQUIRED
 
14104
                  gtk+-3.0 >= \$GTK_REQUIRED
 
14105
                  libnotify >= \$NOTIFY_REQUIRED\""; } >&5
14365
14106
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14366
 
                  gconf-2.0
14367
14107
                  gmodule-export-2.0
14368
 
                  gtk+-2.0 >= $GTK_REQUIRED
14369
 
                  libnotify >= $NOTIFY_REQUIRED
14370
 
                  unique-1.0") 2>&5
 
14108
                  glib-2.0 >= $GLIB_REQUIRED
 
14109
                  gtk+-3.0 >= $GTK_REQUIRED
 
14110
                  libnotify >= $NOTIFY_REQUIRED") 2>&5
14371
14111
  ac_status=$?
14372
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373
 
  (exit $ac_status); }; then
 
14112
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14113
  test $ac_status = 0; }; then
14374
14114
  pkg_cv_APPLET_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14375
 
                  gconf-2.0
14376
14115
                  gmodule-export-2.0
14377
 
                  gtk+-2.0 >= $GTK_REQUIRED
14378
 
                  libnotify >= $NOTIFY_REQUIRED
14379
 
                  unique-1.0" 2>/dev/null`
 
14116
                  glib-2.0 >= $GLIB_REQUIRED
 
14117
                  gtk+-3.0 >= $GTK_REQUIRED
 
14118
                  libnotify >= $NOTIFY_REQUIRED" 2>/dev/null`
14380
14119
else
14381
14120
  pkg_failed=yes
14382
14121
fi
14387
14126
    pkg_cv_APPLET_LIBS="$APPLET_LIBS"
14388
14127
 elif test -n "$PKG_CONFIG"; then
14389
14128
    if test -n "$PKG_CONFIG" && \
14390
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
14391
 
                  gconf-2.0
 
14129
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
14392
14130
                  gmodule-export-2.0
14393
 
                  gtk+-2.0 >= \$GTK_REQUIRED
14394
 
                  libnotify >= \$NOTIFY_REQUIRED
14395
 
                  unique-1.0\"") >&5
 
14131
                  glib-2.0 >= \$GLIB_REQUIRED
 
14132
                  gtk+-3.0 >= \$GTK_REQUIRED
 
14133
                  libnotify >= \$NOTIFY_REQUIRED\""; } >&5
14396
14134
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14397
 
                  gconf-2.0
14398
14135
                  gmodule-export-2.0
14399
 
                  gtk+-2.0 >= $GTK_REQUIRED
14400
 
                  libnotify >= $NOTIFY_REQUIRED
14401
 
                  unique-1.0") 2>&5
 
14136
                  glib-2.0 >= $GLIB_REQUIRED
 
14137
                  gtk+-3.0 >= $GTK_REQUIRED
 
14138
                  libnotify >= $NOTIFY_REQUIRED") 2>&5
14402
14139
  ac_status=$?
14403
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404
 
  (exit $ac_status); }; then
 
14140
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14141
  test $ac_status = 0; }; then
14405
14142
  pkg_cv_APPLET_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14406
 
                  gconf-2.0
14407
14143
                  gmodule-export-2.0
14408
 
                  gtk+-2.0 >= $GTK_REQUIRED
14409
 
                  libnotify >= $NOTIFY_REQUIRED
14410
 
                  unique-1.0" 2>/dev/null`
 
14144
                  glib-2.0 >= $GLIB_REQUIRED
 
14145
                  gtk+-3.0 >= $GTK_REQUIRED
 
14146
                  libnotify >= $NOTIFY_REQUIRED" 2>/dev/null`
14411
14147
else
14412
14148
  pkg_failed=yes
14413
14149
fi
14418
14154
 
14419
14155
 
14420
14156
if test $pkg_failed = yes; then
 
14157
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14158
$as_echo "no" >&6; }
14421
14159
 
14422
14160
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14423
14161
        _pkg_short_errors_supported=yes
14426
14164
fi
14427
14165
        if test $_pkg_short_errors_supported = yes; then
14428
14166
                APPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14429
 
                  gconf-2.0
14430
14167
                  gmodule-export-2.0
14431
 
                  gtk+-2.0 >= $GTK_REQUIRED
14432
 
                  libnotify >= $NOTIFY_REQUIRED
14433
 
                  unique-1.0" 2>&1`
 
14168
                  glib-2.0 >= $GLIB_REQUIRED
 
14169
                  gtk+-3.0 >= $GTK_REQUIRED
 
14170
                  libnotify >= $NOTIFY_REQUIRED" 2>&1`
14434
14171
        else
14435
14172
                APPLET_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14436
 
                  gconf-2.0
14437
14173
                  gmodule-export-2.0
14438
 
                  gtk+-2.0 >= $GTK_REQUIRED
14439
 
                  libnotify >= $NOTIFY_REQUIRED
14440
 
                  unique-1.0" 2>&1`
 
14174
                  glib-2.0 >= $GLIB_REQUIRED
 
14175
                  gtk+-3.0 >= $GTK_REQUIRED
 
14176
                  libnotify >= $NOTIFY_REQUIRED" 2>&1`
14441
14177
        fi
14442
14178
        # Put the nasty error message in config.log where it belongs
14443
14179
        echo "$APPLET_PKG_ERRORS" >&5
14444
14180
 
14445
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14446
 
                  gconf-2.0
14447
 
                  gmodule-export-2.0
14448
 
                  gtk+-2.0 >= $GTK_REQUIRED
14449
 
                  libnotify >= $NOTIFY_REQUIRED
14450
 
                  unique-1.0) were not met:
14451
 
 
14452
 
$APPLET_PKG_ERRORS
14453
 
 
14454
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14455
 
installed software in a non-standard prefix.
14456
 
 
14457
 
Alternatively, you may set the environment variables APPLET_CFLAGS
14458
 
and APPLET_LIBS to avoid the need to call pkg-config.
14459
 
See the pkg-config man page for more details.
14460
 
" >&5
14461
 
$as_echo "$as_me: error: Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14462
 
                  gconf-2.0
14463
 
                  gmodule-export-2.0
14464
 
                  gtk+-2.0 >= $GTK_REQUIRED
14465
 
                  libnotify >= $NOTIFY_REQUIRED
14466
 
                  unique-1.0) were not met:
14467
 
 
14468
 
$APPLET_PKG_ERRORS
14469
 
 
14470
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14471
 
installed software in a non-standard prefix.
14472
 
 
14473
 
Alternatively, you may set the environment variables APPLET_CFLAGS
14474
 
and APPLET_LIBS to avoid the need to call pkg-config.
14475
 
See the pkg-config man page for more details.
14476
 
" >&2;}
14477
 
   { (exit 1); exit 1; }; }
 
14181
        as_fn_error $? "Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
 
14182
                  gmodule-export-2.0
 
14183
                  glib-2.0 >= $GLIB_REQUIRED
 
14184
                  gtk+-3.0 >= $GTK_REQUIRED
 
14185
                  libnotify >= $NOTIFY_REQUIRED) were not met:
 
14186
 
 
14187
$APPLET_PKG_ERRORS
 
14188
 
 
14189
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14190
installed software in a non-standard prefix.
 
14191
 
 
14192
Alternatively, you may set the environment variables APPLET_CFLAGS
 
14193
and APPLET_LIBS to avoid the need to call pkg-config.
 
14194
See the pkg-config man page for more details." "$LINENO" 5
 
14195
 
14478
14196
elif test $pkg_failed = untried; then
14479
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
14197
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14198
$as_echo "no" >&6; }
 
14199
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14480
14200
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14481
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14482
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14483
 
path to pkg-config.
14484
 
 
14485
 
Alternatively, you may set the environment variables APPLET_CFLAGS
14486
 
and APPLET_LIBS to avoid the need to call pkg-config.
14487
 
See the pkg-config man page for more details.
14488
 
 
14489
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14490
 
See \`config.log' for more details." >&5
14491
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14492
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14493
 
path to pkg-config.
14494
 
 
14495
 
Alternatively, you may set the environment variables APPLET_CFLAGS
14496
 
and APPLET_LIBS to avoid the need to call pkg-config.
14497
 
See the pkg-config man page for more details.
14498
 
 
14499
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14500
 
See \`config.log' for more details." >&2;}
14501
 
   { (exit 1); exit 1; }; }; }
 
14201
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14202
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14203
path to pkg-config.
 
14204
 
 
14205
Alternatively, you may set the environment variables APPLET_CFLAGS
 
14206
and APPLET_LIBS to avoid the need to call pkg-config.
 
14207
See the pkg-config man page for more details.
 
14208
 
 
14209
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14210
See \`config.log' for more details" "$LINENO" 5; }
 
14211
 
14502
14212
else
14503
14213
        APPLET_CFLAGS=$pkg_cv_APPLET_CFLAGS
14504
14214
        APPLET_LIBS=$pkg_cv_APPLET_LIBS
14505
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14215
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14506
14216
$as_echo "yes" >&6; }
14507
 
        :
 
14217
 
14508
14218
fi
14509
14219
 
14510
14220
 
14511
14221
pkg_failed=no
14512
 
{ $as_echo "$as_me:$LINENO: checking for SENDTO" >&5
 
14222
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SENDTO" >&5
14513
14223
$as_echo_n "checking for SENDTO... " >&6; }
14514
14224
 
14515
14225
if test -n "$SENDTO_CFLAGS"; then
14516
14226
    pkg_cv_SENDTO_CFLAGS="$SENDTO_CFLAGS"
14517
14227
 elif test -n "$PKG_CONFIG"; then
14518
14228
    if test -n "$PKG_CONFIG" && \
14519
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
14520
 
                  gtk+-2.0
14521
 
                  gio-2.0\"") >&5
 
14229
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
 
14230
                  gtk+-3.0
 
14231
                  gio-2.0\""; } >&5
14522
14232
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14523
 
                  gtk+-2.0
 
14233
                  gtk+-3.0
14524
14234
                  gio-2.0") 2>&5
14525
14235
  ac_status=$?
14526
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527
 
  (exit $ac_status); }; then
 
14236
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14237
  test $ac_status = 0; }; then
14528
14238
  pkg_cv_SENDTO_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14529
 
                  gtk+-2.0
 
14239
                  gtk+-3.0
14530
14240
                  gio-2.0" 2>/dev/null`
14531
14241
else
14532
14242
  pkg_failed=yes
14538
14248
    pkg_cv_SENDTO_LIBS="$SENDTO_LIBS"
14539
14249
 elif test -n "$PKG_CONFIG"; then
14540
14250
    if test -n "$PKG_CONFIG" && \
14541
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
14542
 
                  gtk+-2.0
14543
 
                  gio-2.0\"") >&5
 
14251
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
 
14252
                  gtk+-3.0
 
14253
                  gio-2.0\""; } >&5
14544
14254
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14545
 
                  gtk+-2.0
 
14255
                  gtk+-3.0
14546
14256
                  gio-2.0") 2>&5
14547
14257
  ac_status=$?
14548
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549
 
  (exit $ac_status); }; then
 
14258
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14259
  test $ac_status = 0; }; then
14550
14260
  pkg_cv_SENDTO_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14551
 
                  gtk+-2.0
 
14261
                  gtk+-3.0
14552
14262
                  gio-2.0" 2>/dev/null`
14553
14263
else
14554
14264
  pkg_failed=yes
14560
14270
 
14561
14271
 
14562
14272
if test $pkg_failed = yes; then
 
14273
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14274
$as_echo "no" >&6; }
14563
14275
 
14564
14276
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14565
14277
        _pkg_short_errors_supported=yes
14568
14280
fi
14569
14281
        if test $_pkg_short_errors_supported = yes; then
14570
14282
                SENDTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14571
 
                  gtk+-2.0
 
14283
                  gtk+-3.0
14572
14284
                  gio-2.0" 2>&1`
14573
14285
        else
14574
14286
                SENDTO_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14575
 
                  gtk+-2.0
 
14287
                  gtk+-3.0
14576
14288
                  gio-2.0" 2>&1`
14577
14289
        fi
14578
14290
        # Put the nasty error message in config.log where it belongs
14579
14291
        echo "$SENDTO_PKG_ERRORS" >&5
14580
14292
 
14581
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14582
 
                  gtk+-2.0
14583
 
                  gio-2.0) were not met:
14584
 
 
14585
 
$SENDTO_PKG_ERRORS
14586
 
 
14587
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14588
 
installed software in a non-standard prefix.
14589
 
 
14590
 
Alternatively, you may set the environment variables SENDTO_CFLAGS
14591
 
and SENDTO_LIBS to avoid the need to call pkg-config.
14592
 
See the pkg-config man page for more details.
14593
 
" >&5
14594
 
$as_echo "$as_me: error: Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14595
 
                  gtk+-2.0
14596
 
                  gio-2.0) were not met:
14597
 
 
14598
 
$SENDTO_PKG_ERRORS
14599
 
 
14600
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14601
 
installed software in a non-standard prefix.
14602
 
 
14603
 
Alternatively, you may set the environment variables SENDTO_CFLAGS
14604
 
and SENDTO_LIBS to avoid the need to call pkg-config.
14605
 
See the pkg-config man page for more details.
14606
 
" >&2;}
14607
 
   { (exit 1); exit 1; }; }
 
14293
        as_fn_error $? "Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
 
14294
                  gtk+-3.0
 
14295
                  gio-2.0) were not met:
 
14296
 
 
14297
$SENDTO_PKG_ERRORS
 
14298
 
 
14299
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14300
installed software in a non-standard prefix.
 
14301
 
 
14302
Alternatively, you may set the environment variables SENDTO_CFLAGS
 
14303
and SENDTO_LIBS to avoid the need to call pkg-config.
 
14304
See the pkg-config man page for more details." "$LINENO" 5
 
14305
 
14608
14306
elif test $pkg_failed = untried; then
14609
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
14307
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14308
$as_echo "no" >&6; }
 
14309
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14610
14310
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14611
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14612
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14613
 
path to pkg-config.
14614
 
 
14615
 
Alternatively, you may set the environment variables SENDTO_CFLAGS
14616
 
and SENDTO_LIBS to avoid the need to call pkg-config.
14617
 
See the pkg-config man page for more details.
14618
 
 
14619
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14620
 
See \`config.log' for more details." >&5
14621
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14622
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14623
 
path to pkg-config.
14624
 
 
14625
 
Alternatively, you may set the environment variables SENDTO_CFLAGS
14626
 
and SENDTO_LIBS to avoid the need to call pkg-config.
14627
 
See the pkg-config man page for more details.
14628
 
 
14629
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14630
 
See \`config.log' for more details." >&2;}
14631
 
   { (exit 1); exit 1; }; }; }
 
14311
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14312
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14313
path to pkg-config.
 
14314
 
 
14315
Alternatively, you may set the environment variables SENDTO_CFLAGS
 
14316
and SENDTO_LIBS to avoid the need to call pkg-config.
 
14317
See the pkg-config man page for more details.
 
14318
 
 
14319
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14320
See \`config.log' for more details" "$LINENO" 5; }
 
14321
 
14632
14322
else
14633
14323
        SENDTO_CFLAGS=$pkg_cv_SENDTO_CFLAGS
14634
14324
        SENDTO_LIBS=$pkg_cv_SENDTO_LIBS
14635
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14325
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14636
14326
$as_echo "yes" >&6; }
14637
 
        :
 
14327
 
14638
14328
fi
14639
14329
 
14640
14330
# Check whether --enable-nautilus-sendto was given.
14641
 
if test "${enable_nautilus_sendto+set}" = set; then
 
14331
if test "${enable_nautilus_sendto+set}" = set; then :
14642
14332
  enableval=$enable_nautilus_sendto;
14643
 
else
14644
 
  enable_nst=yes
14645
14333
fi
14646
14334
 
14647
14335
 
14648
 
if test "x$enable_nst" != "xno"; then
 
14336
if test "x$enable_nautilus_sendto" != "xno"; then
14649
14337
 
14650
14338
pkg_failed=no
14651
 
{ $as_echo "$as_me:$LINENO: checking for NST" >&5
 
14339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NST" >&5
14652
14340
$as_echo_n "checking for NST... " >&6; }
14653
14341
 
14654
14342
if test -n "$NST_CFLAGS"; then
14655
14343
    pkg_cv_NST_CFLAGS="$NST_CFLAGS"
14656
14344
 elif test -n "$PKG_CONFIG"; then
14657
14345
    if test -n "$PKG_CONFIG" && \
14658
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
14659
 
      nautilus-sendto >= \$NAUTILUS_SENDTO_REQUIRED gconf-2.0
14660
 
   \"") >&5
 
14346
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
14347
      nautilus-sendto >= \$NAUTILUS_SENDTO_REQUIRED
 
14348
      nautilus-sendto < \$NAUTILUS_SENDTO_MAX_REQUIRED
 
14349
   \""; } >&5
14661
14350
  ($PKG_CONFIG --exists --print-errors "
14662
 
      nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED gconf-2.0
 
14351
      nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED
 
14352
      nautilus-sendto < $NAUTILUS_SENDTO_MAX_REQUIRED
14663
14353
   ") 2>&5
14664
14354
  ac_status=$?
14665
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666
 
  (exit $ac_status); }; then
 
14355
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14356
  test $ac_status = 0; }; then
14667
14357
  pkg_cv_NST_CFLAGS=`$PKG_CONFIG --cflags "
14668
 
      nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED gconf-2.0
 
14358
      nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED
 
14359
      nautilus-sendto < $NAUTILUS_SENDTO_MAX_REQUIRED
14669
14360
   " 2>/dev/null`
14670
14361
else
14671
14362
  pkg_failed=yes
14677
14368
    pkg_cv_NST_LIBS="$NST_LIBS"
14678
14369
 elif test -n "$PKG_CONFIG"; then
14679
14370
    if test -n "$PKG_CONFIG" && \
14680
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
14681
 
      nautilus-sendto >= \$NAUTILUS_SENDTO_REQUIRED gconf-2.0
14682
 
   \"") >&5
 
14371
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
14372
      nautilus-sendto >= \$NAUTILUS_SENDTO_REQUIRED
 
14373
      nautilus-sendto < \$NAUTILUS_SENDTO_MAX_REQUIRED
 
14374
   \""; } >&5
14683
14375
  ($PKG_CONFIG --exists --print-errors "
14684
 
      nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED gconf-2.0
 
14376
      nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED
 
14377
      nautilus-sendto < $NAUTILUS_SENDTO_MAX_REQUIRED
14685
14378
   ") 2>&5
14686
14379
  ac_status=$?
14687
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688
 
  (exit $ac_status); }; then
 
14380
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14381
  test $ac_status = 0; }; then
14689
14382
  pkg_cv_NST_LIBS=`$PKG_CONFIG --libs "
14690
 
      nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED gconf-2.0
 
14383
      nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED
 
14384
      nautilus-sendto < $NAUTILUS_SENDTO_MAX_REQUIRED
14691
14385
   " 2>/dev/null`
14692
14386
else
14693
14387
  pkg_failed=yes
14699
14393
 
14700
14394
 
14701
14395
if test $pkg_failed = yes; then
 
14396
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14397
$as_echo "no" >&6; }
14702
14398
 
14703
14399
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14704
14400
        _pkg_short_errors_supported=yes
14707
14403
fi
14708
14404
        if test $_pkg_short_errors_supported = yes; then
14709
14405
                NST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14710
 
      nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED gconf-2.0
 
14406
      nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED
 
14407
      nautilus-sendto < $NAUTILUS_SENDTO_MAX_REQUIRED
14711
14408
   " 2>&1`
14712
14409
        else
14713
14410
                NST_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14714
 
      nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED gconf-2.0
 
14411
      nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED
 
14412
      nautilus-sendto < $NAUTILUS_SENDTO_MAX_REQUIRED
14715
14413
   " 2>&1`
14716
14414
        fi
14717
14415
        # Put the nasty error message in config.log where it belongs
14718
14416
        echo "$NST_PKG_ERRORS" >&5
14719
14417
 
14720
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14418
        have_nst="no"
 
14419
elif test $pkg_failed = untried; then
 
14420
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14721
14421
$as_echo "no" >&6; }
14722
 
                have_nst="no"
14723
 
elif test $pkg_failed = untried; then
14724
14422
        have_nst="no"
14725
14423
else
14726
14424
        NST_CFLAGS=$pkg_cv_NST_CFLAGS
14727
14425
        NST_LIBS=$pkg_cv_NST_LIBS
14728
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14426
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14729
14427
$as_echo "yes" >&6; }
14730
14428
        have_nst="yes"
14731
14429
fi
14733
14431
   have_nst=no
14734
14432
fi
14735
14433
 
14736
 
if test "x$enable_nst" = "xyes" -a "x$have_nst" != "xyes"; then
14737
 
   { { $as_echo "$as_me:$LINENO: error: Couldn't find nautilus-sendto dependencies." >&5
14738
 
$as_echo "$as_me: error: Couldn't find nautilus-sendto dependencies." >&2;}
14739
 
   { (exit 1); exit 1; }; }
 
14434
if test "x$enable_nautilus_sendto" = "xyes" -a "x$have_nst" != "xyes"; then
 
14435
   as_fn_error $? "Couldn't find nautilus-sendto dependencies." "$LINENO" 5
14740
14436
fi
14741
14437
 
14742
14438
 if test "x$have_nst" = "xyes"; then
14750
14446
 
14751
14447
 
14752
14448
pkg_failed=no
14753
 
{ $as_echo "$as_me:$LINENO: checking for WIZARD" >&5
 
14449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WIZARD" >&5
14754
14450
$as_echo_n "checking for WIZARD... " >&6; }
14755
14451
 
14756
14452
if test -n "$WIZARD_CFLAGS"; then
14757
14453
    pkg_cv_WIZARD_CFLAGS="$WIZARD_CFLAGS"
14758
14454
 elif test -n "$PKG_CONFIG"; then
14759
14455
    if test -n "$PKG_CONFIG" && \
14760
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
 
14456
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
14761
14457
                  gmodule-export-2.0
14762
 
                  gtk+-2.0
14763
 
                  unique-1.0\"") >&5
 
14458
                  gtk+-3.0\""; } >&5
14764
14459
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14765
14460
                  gmodule-export-2.0
14766
 
                  gtk+-2.0
14767
 
                  unique-1.0") 2>&5
 
14461
                  gtk+-3.0") 2>&5
14768
14462
  ac_status=$?
14769
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770
 
  (exit $ac_status); }; then
 
14463
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14464
  test $ac_status = 0; }; then
14771
14465
  pkg_cv_WIZARD_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14772
14466
                  gmodule-export-2.0
14773
 
                  gtk+-2.0
14774
 
                  unique-1.0" 2>/dev/null`
 
14467
                  gtk+-3.0" 2>/dev/null`
14775
14468
else
14776
14469
  pkg_failed=yes
14777
14470
fi
14782
14475
    pkg_cv_WIZARD_LIBS="$WIZARD_LIBS"
14783
14476
 elif test -n "$PKG_CONFIG"; then
14784
14477
    if test -n "$PKG_CONFIG" && \
14785
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
 
14478
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
14786
14479
                  gmodule-export-2.0
14787
 
                  gtk+-2.0
14788
 
                  unique-1.0\"") >&5
 
14480
                  gtk+-3.0\""; } >&5
14789
14481
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14790
14482
                  gmodule-export-2.0
14791
 
                  gtk+-2.0
14792
 
                  unique-1.0") 2>&5
 
14483
                  gtk+-3.0") 2>&5
14793
14484
  ac_status=$?
14794
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795
 
  (exit $ac_status); }; then
 
14485
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14486
  test $ac_status = 0; }; then
14796
14487
  pkg_cv_WIZARD_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14797
14488
                  gmodule-export-2.0
14798
 
                  gtk+-2.0
14799
 
                  unique-1.0" 2>/dev/null`
 
14489
                  gtk+-3.0" 2>/dev/null`
14800
14490
else
14801
14491
  pkg_failed=yes
14802
14492
fi
14807
14497
 
14808
14498
 
14809
14499
if test $pkg_failed = yes; then
 
14500
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14501
$as_echo "no" >&6; }
14810
14502
 
14811
14503
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14812
14504
        _pkg_short_errors_supported=yes
14816
14508
        if test $_pkg_short_errors_supported = yes; then
14817
14509
                WIZARD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14818
14510
                  gmodule-export-2.0
14819
 
                  gtk+-2.0
14820
 
                  unique-1.0" 2>&1`
 
14511
                  gtk+-3.0" 2>&1`
14821
14512
        else
14822
14513
                WIZARD_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14823
14514
                  gmodule-export-2.0
14824
 
                  gtk+-2.0
14825
 
                  unique-1.0" 2>&1`
 
14515
                  gtk+-3.0" 2>&1`
14826
14516
        fi
14827
14517
        # Put the nasty error message in config.log where it belongs
14828
14518
        echo "$WIZARD_PKG_ERRORS" >&5
14829
14519
 
14830
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14831
 
                  gmodule-export-2.0
14832
 
                  gtk+-2.0
14833
 
                  unique-1.0) were not met:
14834
 
 
14835
 
$WIZARD_PKG_ERRORS
14836
 
 
14837
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14838
 
installed software in a non-standard prefix.
14839
 
 
14840
 
Alternatively, you may set the environment variables WIZARD_CFLAGS
14841
 
and WIZARD_LIBS to avoid the need to call pkg-config.
14842
 
See the pkg-config man page for more details.
14843
 
" >&5
14844
 
$as_echo "$as_me: error: Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14845
 
                  gmodule-export-2.0
14846
 
                  gtk+-2.0
14847
 
                  unique-1.0) were not met:
14848
 
 
14849
 
$WIZARD_PKG_ERRORS
14850
 
 
14851
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14852
 
installed software in a non-standard prefix.
14853
 
 
14854
 
Alternatively, you may set the environment variables WIZARD_CFLAGS
14855
 
and WIZARD_LIBS to avoid the need to call pkg-config.
14856
 
See the pkg-config man page for more details.
14857
 
" >&2;}
14858
 
   { (exit 1); exit 1; }; }
 
14520
        as_fn_error $? "Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
 
14521
                  gmodule-export-2.0
 
14522
                  gtk+-3.0) were not met:
 
14523
 
 
14524
$WIZARD_PKG_ERRORS
 
14525
 
 
14526
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14527
installed software in a non-standard prefix.
 
14528
 
 
14529
Alternatively, you may set the environment variables WIZARD_CFLAGS
 
14530
and WIZARD_LIBS to avoid the need to call pkg-config.
 
14531
See the pkg-config man page for more details." "$LINENO" 5
 
14532
 
14859
14533
elif test $pkg_failed = untried; then
14860
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
14534
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14535
$as_echo "no" >&6; }
 
14536
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14861
14537
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14862
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14863
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14864
 
path to pkg-config.
14865
 
 
14866
 
Alternatively, you may set the environment variables WIZARD_CFLAGS
14867
 
and WIZARD_LIBS to avoid the need to call pkg-config.
14868
 
See the pkg-config man page for more details.
14869
 
 
14870
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14871
 
See \`config.log' for more details." >&5
14872
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14873
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14874
 
path to pkg-config.
14875
 
 
14876
 
Alternatively, you may set the environment variables WIZARD_CFLAGS
14877
 
and WIZARD_LIBS to avoid the need to call pkg-config.
14878
 
See the pkg-config man page for more details.
14879
 
 
14880
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14881
 
See \`config.log' for more details." >&2;}
14882
 
   { (exit 1); exit 1; }; }; }
 
14538
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14539
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14540
path to pkg-config.
 
14541
 
 
14542
Alternatively, you may set the environment variables WIZARD_CFLAGS
 
14543
and WIZARD_LIBS to avoid the need to call pkg-config.
 
14544
See the pkg-config man page for more details.
 
14545
 
 
14546
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14547
See \`config.log' for more details" "$LINENO" 5; }
 
14548
 
14883
14549
else
14884
14550
        WIZARD_CFLAGS=$pkg_cv_WIZARD_CFLAGS
14885
14551
        WIZARD_LIBS=$pkg_cv_WIZARD_LIBS
14886
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14552
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14887
14553
$as_echo "yes" >&6; }
14888
 
        :
 
14554
 
14889
14555
fi
14890
14556
 
14891
14557
 
14892
14558
pkg_failed=no
14893
 
{ $as_echo "$as_me:$LINENO: checking for INPUT" >&5
 
14559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INPUT" >&5
14894
14560
$as_echo_n "checking for INPUT... " >&6; }
14895
14561
 
14896
14562
if test -n "$INPUT_CFLAGS"; then
14897
14563
    pkg_cv_INPUT_CFLAGS="$INPUT_CFLAGS"
14898
14564
 elif test -n "$PKG_CONFIG"; then
14899
14565
    if test -n "$PKG_CONFIG" && \
14900
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xi
14901
 
                  gtk+-2.0\"") >&5
 
14566
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi
 
14567
                  x11
 
14568
                  gtk+-3.0\""; } >&5
14902
14569
  ($PKG_CONFIG --exists --print-errors "xi
14903
 
                  gtk+-2.0") 2>&5
 
14570
                  x11
 
14571
                  gtk+-3.0") 2>&5
14904
14572
  ac_status=$?
14905
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906
 
  (exit $ac_status); }; then
 
14573
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14574
  test $ac_status = 0; }; then
14907
14575
  pkg_cv_INPUT_CFLAGS=`$PKG_CONFIG --cflags "xi
14908
 
                  gtk+-2.0" 2>/dev/null`
 
14576
                  x11
 
14577
                  gtk+-3.0" 2>/dev/null`
14909
14578
else
14910
14579
  pkg_failed=yes
14911
14580
fi
14916
14585
    pkg_cv_INPUT_LIBS="$INPUT_LIBS"
14917
14586
 elif test -n "$PKG_CONFIG"; then
14918
14587
    if test -n "$PKG_CONFIG" && \
14919
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xi
14920
 
                  gtk+-2.0\"") >&5
 
14588
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi
 
14589
                  x11
 
14590
                  gtk+-3.0\""; } >&5
14921
14591
  ($PKG_CONFIG --exists --print-errors "xi
14922
 
                  gtk+-2.0") 2>&5
 
14592
                  x11
 
14593
                  gtk+-3.0") 2>&5
14923
14594
  ac_status=$?
14924
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925
 
  (exit $ac_status); }; then
 
14595
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14596
  test $ac_status = 0; }; then
14926
14597
  pkg_cv_INPUT_LIBS=`$PKG_CONFIG --libs "xi
14927
 
                  gtk+-2.0" 2>/dev/null`
 
14598
                  x11
 
14599
                  gtk+-3.0" 2>/dev/null`
14928
14600
else
14929
14601
  pkg_failed=yes
14930
14602
fi
14935
14607
 
14936
14608
 
14937
14609
if test $pkg_failed = yes; then
 
14610
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14611
$as_echo "no" >&6; }
14938
14612
 
14939
14613
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14940
14614
        _pkg_short_errors_supported=yes
14943
14617
fi
14944
14618
        if test $_pkg_short_errors_supported = yes; then
14945
14619
                INPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xi
14946
 
                  gtk+-2.0" 2>&1`
 
14620
                  x11
 
14621
                  gtk+-3.0" 2>&1`
14947
14622
        else
14948
14623
                INPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xi
14949
 
                  gtk+-2.0" 2>&1`
 
14624
                  x11
 
14625
                  gtk+-3.0" 2>&1`
14950
14626
        fi
14951
14627
        # Put the nasty error message in config.log where it belongs
14952
14628
        echo "$INPUT_PKG_ERRORS" >&5
14953
14629
 
14954
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (xi
14955
 
                  gtk+-2.0) were not met:
14956
 
 
14957
 
$INPUT_PKG_ERRORS
14958
 
 
14959
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14960
 
installed software in a non-standard prefix.
14961
 
 
14962
 
Alternatively, you may set the environment variables INPUT_CFLAGS
14963
 
and INPUT_LIBS to avoid the need to call pkg-config.
14964
 
See the pkg-config man page for more details.
14965
 
" >&5
14966
 
$as_echo "$as_me: error: Package requirements (xi
14967
 
                  gtk+-2.0) were not met:
14968
 
 
14969
 
$INPUT_PKG_ERRORS
14970
 
 
14971
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14972
 
installed software in a non-standard prefix.
14973
 
 
14974
 
Alternatively, you may set the environment variables INPUT_CFLAGS
14975
 
and INPUT_LIBS to avoid the need to call pkg-config.
14976
 
See the pkg-config man page for more details.
14977
 
" >&2;}
14978
 
   { (exit 1); exit 1; }; }
 
14630
        as_fn_error $? "Package requirements (xi
 
14631
                  x11
 
14632
                  gtk+-3.0) were not met:
 
14633
 
 
14634
$INPUT_PKG_ERRORS
 
14635
 
 
14636
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14637
installed software in a non-standard prefix.
 
14638
 
 
14639
Alternatively, you may set the environment variables INPUT_CFLAGS
 
14640
and INPUT_LIBS to avoid the need to call pkg-config.
 
14641
See the pkg-config man page for more details." "$LINENO" 5
 
14642
 
14979
14643
elif test $pkg_failed = untried; then
14980
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
14644
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14645
$as_echo "no" >&6; }
 
14646
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14981
14647
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14982
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14983
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14984
 
path to pkg-config.
14985
 
 
14986
 
Alternatively, you may set the environment variables INPUT_CFLAGS
14987
 
and INPUT_LIBS to avoid the need to call pkg-config.
14988
 
See the pkg-config man page for more details.
14989
 
 
14990
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14991
 
See \`config.log' for more details." >&5
14992
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14993
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14994
 
path to pkg-config.
14995
 
 
14996
 
Alternatively, you may set the environment variables INPUT_CFLAGS
14997
 
and INPUT_LIBS to avoid the need to call pkg-config.
14998
 
See the pkg-config man page for more details.
14999
 
 
15000
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15001
 
See \`config.log' for more details." >&2;}
15002
 
   { (exit 1); exit 1; }; }; }
 
14648
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14649
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14650
path to pkg-config.
 
14651
 
 
14652
Alternatively, you may set the environment variables INPUT_CFLAGS
 
14653
and INPUT_LIBS to avoid the need to call pkg-config.
 
14654
See the pkg-config man page for more details.
 
14655
 
 
14656
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14657
See \`config.log' for more details" "$LINENO" 5; }
 
14658
 
15003
14659
else
15004
14660
        INPUT_CFLAGS=$pkg_cv_INPUT_CFLAGS
15005
14661
        INPUT_LIBS=$pkg_cv_INPUT_LIBS
15006
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14662
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15007
14663
$as_echo "yes" >&6; }
15008
 
        :
 
14664
 
15009
14665
fi
15010
14666
 
15011
14667
 
15012
14668
pkg_failed=no
15013
 
{ $as_echo "$as_me:$LINENO: checking for LIBGNOMEBT" >&5
 
14669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEBT" >&5
15014
14670
$as_echo_n "checking for LIBGNOMEBT... " >&6; }
15015
14671
 
15016
14672
if test -n "$LIBGNOMEBT_CFLAGS"; then
15017
14673
    pkg_cv_LIBGNOMEBT_CFLAGS="$LIBGNOMEBT_CFLAGS"
15018
14674
 elif test -n "$PKG_CONFIG"; then
15019
14675
    if test -n "$PKG_CONFIG" && \
15020
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
15021
 
                  gtk+-2.0\"") >&5
 
14676
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
 
14677
                  gtk+-3.0\""; } >&5
15022
14678
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15023
 
                  gtk+-2.0") 2>&5
 
14679
                  gtk+-3.0") 2>&5
15024
14680
  ac_status=$?
15025
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026
 
  (exit $ac_status); }; then
 
14681
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14682
  test $ac_status = 0; }; then
15027
14683
  pkg_cv_LIBGNOMEBT_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15028
 
                  gtk+-2.0" 2>/dev/null`
 
14684
                  gtk+-3.0" 2>/dev/null`
15029
14685
else
15030
14686
  pkg_failed=yes
15031
14687
fi
15036
14692
    pkg_cv_LIBGNOMEBT_LIBS="$LIBGNOMEBT_LIBS"
15037
14693
 elif test -n "$PKG_CONFIG"; then
15038
14694
    if test -n "$PKG_CONFIG" && \
15039
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
15040
 
                  gtk+-2.0\"") >&5
 
14695
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
 
14696
                  gtk+-3.0\""; } >&5
15041
14697
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15042
 
                  gtk+-2.0") 2>&5
 
14698
                  gtk+-3.0") 2>&5
15043
14699
  ac_status=$?
15044
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045
 
  (exit $ac_status); }; then
 
14700
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14701
  test $ac_status = 0; }; then
15046
14702
  pkg_cv_LIBGNOMEBT_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15047
 
                  gtk+-2.0" 2>/dev/null`
 
14703
                  gtk+-3.0" 2>/dev/null`
15048
14704
else
15049
14705
  pkg_failed=yes
15050
14706
fi
15055
14711
 
15056
14712
 
15057
14713
if test $pkg_failed = yes; then
 
14714
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14715
$as_echo "no" >&6; }
15058
14716
 
15059
14717
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15060
14718
        _pkg_short_errors_supported=yes
15063
14721
fi
15064
14722
        if test $_pkg_short_errors_supported = yes; then
15065
14723
                LIBGNOMEBT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15066
 
                  gtk+-2.0" 2>&1`
 
14724
                  gtk+-3.0" 2>&1`
15067
14725
        else
15068
14726
                LIBGNOMEBT_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15069
 
                  gtk+-2.0" 2>&1`
 
14727
                  gtk+-3.0" 2>&1`
15070
14728
        fi
15071
14729
        # Put the nasty error message in config.log where it belongs
15072
14730
        echo "$LIBGNOMEBT_PKG_ERRORS" >&5
15073
14731
 
15074
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15075
 
                  gtk+-2.0) were not met:
15076
 
 
15077
 
$LIBGNOMEBT_PKG_ERRORS
15078
 
 
15079
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15080
 
installed software in a non-standard prefix.
15081
 
 
15082
 
Alternatively, you may set the environment variables LIBGNOMEBT_CFLAGS
15083
 
and LIBGNOMEBT_LIBS to avoid the need to call pkg-config.
15084
 
See the pkg-config man page for more details.
15085
 
" >&5
15086
 
$as_echo "$as_me: error: Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15087
 
                  gtk+-2.0) were not met:
15088
 
 
15089
 
$LIBGNOMEBT_PKG_ERRORS
15090
 
 
15091
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15092
 
installed software in a non-standard prefix.
15093
 
 
15094
 
Alternatively, you may set the environment variables LIBGNOMEBT_CFLAGS
15095
 
and LIBGNOMEBT_LIBS to avoid the need to call pkg-config.
15096
 
See the pkg-config man page for more details.
15097
 
" >&2;}
15098
 
   { (exit 1); exit 1; }; }
 
14732
        as_fn_error $? "Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
 
14733
                  gtk+-3.0) were not met:
 
14734
 
 
14735
$LIBGNOMEBT_PKG_ERRORS
 
14736
 
 
14737
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14738
installed software in a non-standard prefix.
 
14739
 
 
14740
Alternatively, you may set the environment variables LIBGNOMEBT_CFLAGS
 
14741
and LIBGNOMEBT_LIBS to avoid the need to call pkg-config.
 
14742
See the pkg-config man page for more details." "$LINENO" 5
 
14743
 
15099
14744
elif test $pkg_failed = untried; then
15100
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
14745
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14746
$as_echo "no" >&6; }
 
14747
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15101
14748
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15102
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15103
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15104
 
path to pkg-config.
15105
 
 
15106
 
Alternatively, you may set the environment variables LIBGNOMEBT_CFLAGS
15107
 
and LIBGNOMEBT_LIBS to avoid the need to call pkg-config.
15108
 
See the pkg-config man page for more details.
15109
 
 
15110
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15111
 
See \`config.log' for more details." >&5
15112
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15113
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15114
 
path to pkg-config.
15115
 
 
15116
 
Alternatively, you may set the environment variables LIBGNOMEBT_CFLAGS
15117
 
and LIBGNOMEBT_LIBS to avoid the need to call pkg-config.
15118
 
See the pkg-config man page for more details.
15119
 
 
15120
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15121
 
See \`config.log' for more details." >&2;}
15122
 
   { (exit 1); exit 1; }; }; }
 
14749
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14750
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14751
path to pkg-config.
 
14752
 
 
14753
Alternatively, you may set the environment variables LIBGNOMEBT_CFLAGS
 
14754
and LIBGNOMEBT_LIBS to avoid the need to call pkg-config.
 
14755
See the pkg-config man page for more details.
 
14756
 
 
14757
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14758
See \`config.log' for more details" "$LINENO" 5; }
 
14759
 
15123
14760
else
15124
14761
        LIBGNOMEBT_CFLAGS=$pkg_cv_LIBGNOMEBT_CFLAGS
15125
14762
        LIBGNOMEBT_LIBS=$pkg_cv_LIBGNOMEBT_LIBS
15126
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14763
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15127
14764
$as_echo "yes" >&6; }
15128
 
        :
 
14765
 
15129
14766
fi
15130
14767
 
15131
14768
 
15132
14769
pkg_failed=no
15133
 
{ $as_echo "$as_me:$LINENO: checking for COMMON" >&5
 
14770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for COMMON" >&5
15134
14771
$as_echo_n "checking for COMMON... " >&6; }
15135
14772
 
15136
14773
if test -n "$COMMON_CFLAGS"; then
15137
14774
    pkg_cv_COMMON_CFLAGS="$COMMON_CFLAGS"
15138
14775
 elif test -n "$PKG_CONFIG"; then
15139
14776
    if test -n "$PKG_CONFIG" && \
15140
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
 
14777
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
15141
14778
                  gmodule-2.0
15142
 
                  gtk+-2.0\"") >&5
 
14779
                  gtk+-3.0\""; } >&5
15143
14780
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15144
14781
                  gmodule-2.0
15145
 
                  gtk+-2.0") 2>&5
 
14782
                  gtk+-3.0") 2>&5
15146
14783
  ac_status=$?
15147
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148
 
  (exit $ac_status); }; then
 
14784
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14785
  test $ac_status = 0; }; then
15149
14786
  pkg_cv_COMMON_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15150
14787
                  gmodule-2.0
15151
 
                  gtk+-2.0" 2>/dev/null`
 
14788
                  gtk+-3.0" 2>/dev/null`
15152
14789
else
15153
14790
  pkg_failed=yes
15154
14791
fi
15159
14796
    pkg_cv_COMMON_LIBS="$COMMON_LIBS"
15160
14797
 elif test -n "$PKG_CONFIG"; then
15161
14798
    if test -n "$PKG_CONFIG" && \
15162
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
 
14799
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
15163
14800
                  gmodule-2.0
15164
 
                  gtk+-2.0\"") >&5
 
14801
                  gtk+-3.0\""; } >&5
15165
14802
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15166
14803
                  gmodule-2.0
15167
 
                  gtk+-2.0") 2>&5
 
14804
                  gtk+-3.0") 2>&5
15168
14805
  ac_status=$?
15169
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170
 
  (exit $ac_status); }; then
 
14806
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14807
  test $ac_status = 0; }; then
15171
14808
  pkg_cv_COMMON_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15172
14809
                  gmodule-2.0
15173
 
                  gtk+-2.0" 2>/dev/null`
 
14810
                  gtk+-3.0" 2>/dev/null`
15174
14811
else
15175
14812
  pkg_failed=yes
15176
14813
fi
15181
14818
 
15182
14819
 
15183
14820
if test $pkg_failed = yes; then
 
14821
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14822
$as_echo "no" >&6; }
15184
14823
 
15185
14824
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15186
14825
        _pkg_short_errors_supported=yes
15190
14829
        if test $_pkg_short_errors_supported = yes; then
15191
14830
                COMMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15192
14831
                  gmodule-2.0
15193
 
                  gtk+-2.0" 2>&1`
 
14832
                  gtk+-3.0" 2>&1`
15194
14833
        else
15195
14834
                COMMON_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15196
14835
                  gmodule-2.0
15197
 
                  gtk+-2.0" 2>&1`
 
14836
                  gtk+-3.0" 2>&1`
15198
14837
        fi
15199
14838
        # Put the nasty error message in config.log where it belongs
15200
14839
        echo "$COMMON_PKG_ERRORS" >&5
15201
14840
 
15202
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15203
 
                  gmodule-2.0
15204
 
                  gtk+-2.0) were not met:
15205
 
 
15206
 
$COMMON_PKG_ERRORS
15207
 
 
15208
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15209
 
installed software in a non-standard prefix.
15210
 
 
15211
 
Alternatively, you may set the environment variables COMMON_CFLAGS
15212
 
and COMMON_LIBS to avoid the need to call pkg-config.
15213
 
See the pkg-config man page for more details.
15214
 
" >&5
15215
 
$as_echo "$as_me: error: Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
15216
 
                  gmodule-2.0
15217
 
                  gtk+-2.0) were not met:
15218
 
 
15219
 
$COMMON_PKG_ERRORS
15220
 
 
15221
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15222
 
installed software in a non-standard prefix.
15223
 
 
15224
 
Alternatively, you may set the environment variables COMMON_CFLAGS
15225
 
and COMMON_LIBS to avoid the need to call pkg-config.
15226
 
See the pkg-config man page for more details.
15227
 
" >&2;}
15228
 
   { (exit 1); exit 1; }; }
 
14841
        as_fn_error $? "Package requirements (dbus-glib-1 >= $DBUS_GLIB_REQUIRED
 
14842
                  gmodule-2.0
 
14843
                  gtk+-3.0) were not met:
 
14844
 
 
14845
$COMMON_PKG_ERRORS
 
14846
 
 
14847
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14848
installed software in a non-standard prefix.
 
14849
 
 
14850
Alternatively, you may set the environment variables COMMON_CFLAGS
 
14851
and COMMON_LIBS to avoid the need to call pkg-config.
 
14852
See the pkg-config man page for more details." "$LINENO" 5
 
14853
 
15229
14854
elif test $pkg_failed = untried; then
15230
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
14855
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14856
$as_echo "no" >&6; }
 
14857
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15231
14858
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15232
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15233
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15234
 
path to pkg-config.
15235
 
 
15236
 
Alternatively, you may set the environment variables COMMON_CFLAGS
15237
 
and COMMON_LIBS to avoid the need to call pkg-config.
15238
 
See the pkg-config man page for more details.
15239
 
 
15240
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15241
 
See \`config.log' for more details." >&5
15242
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15243
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15244
 
path to pkg-config.
15245
 
 
15246
 
Alternatively, you may set the environment variables COMMON_CFLAGS
15247
 
and COMMON_LIBS to avoid the need to call pkg-config.
15248
 
See the pkg-config man page for more details.
15249
 
 
15250
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15251
 
See \`config.log' for more details." >&2;}
15252
 
   { (exit 1); exit 1; }; }; }
 
14859
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14860
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14861
path to pkg-config.
 
14862
 
 
14863
Alternatively, you may set the environment variables COMMON_CFLAGS
 
14864
and COMMON_LIBS to avoid the need to call pkg-config.
 
14865
See the pkg-config man page for more details.
 
14866
 
 
14867
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14868
See \`config.log' for more details" "$LINENO" 5; }
 
14869
 
15253
14870
else
15254
14871
        COMMON_CFLAGS=$pkg_cv_COMMON_CFLAGS
15255
14872
        COMMON_LIBS=$pkg_cv_COMMON_LIBS
15256
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14873
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15257
14874
$as_echo "yes" >&6; }
15258
 
        :
 
14875
 
15259
14876
fi
15260
14877
 
15261
14878
 
15262
14879
pkg_failed=no
15263
 
{ $as_echo "$as_me:$LINENO: checking for GEOCLUE" >&5
 
14880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEOCLUE" >&5
15264
14881
$as_echo_n "checking for GEOCLUE... " >&6; }
15265
14882
 
15266
14883
if test -n "$GEOCLUE_CFLAGS"; then
15267
14884
    pkg_cv_GEOCLUE_CFLAGS="$GEOCLUE_CFLAGS"
15268
14885
 elif test -n "$PKG_CONFIG"; then
15269
14886
    if test -n "$PKG_CONFIG" && \
15270
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0
15271
 
                  dbus-glib-1\"") >&5
 
14887
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0
 
14888
                  dbus-glib-1\""; } >&5
15272
14889
  ($PKG_CONFIG --exists --print-errors "gconf-2.0
15273
14890
                  dbus-glib-1") 2>&5
15274
14891
  ac_status=$?
15275
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276
 
  (exit $ac_status); }; then
 
14892
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14893
  test $ac_status = 0; }; then
15277
14894
  pkg_cv_GEOCLUE_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0
15278
14895
                  dbus-glib-1" 2>/dev/null`
15279
14896
else
15286
14903
    pkg_cv_GEOCLUE_LIBS="$GEOCLUE_LIBS"
15287
14904
 elif test -n "$PKG_CONFIG"; then
15288
14905
    if test -n "$PKG_CONFIG" && \
15289
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0
15290
 
                  dbus-glib-1\"") >&5
 
14906
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0
 
14907
                  dbus-glib-1\""; } >&5
15291
14908
  ($PKG_CONFIG --exists --print-errors "gconf-2.0
15292
14909
                  dbus-glib-1") 2>&5
15293
14910
  ac_status=$?
15294
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295
 
  (exit $ac_status); }; then
 
14911
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14912
  test $ac_status = 0; }; then
15296
14913
  pkg_cv_GEOCLUE_LIBS=`$PKG_CONFIG --libs "gconf-2.0
15297
14914
                  dbus-glib-1" 2>/dev/null`
15298
14915
else
15305
14922
 
15306
14923
 
15307
14924
if test $pkg_failed = yes; then
 
14925
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14926
$as_echo "no" >&6; }
15308
14927
 
15309
14928
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15310
14929
        _pkg_short_errors_supported=yes
15321
14940
        # Put the nasty error message in config.log where it belongs
15322
14941
        echo "$GEOCLUE_PKG_ERRORS" >&5
15323
14942
 
15324
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gconf-2.0
15325
 
                  dbus-glib-1) were not met:
15326
 
 
15327
 
$GEOCLUE_PKG_ERRORS
15328
 
 
15329
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15330
 
installed software in a non-standard prefix.
15331
 
 
15332
 
Alternatively, you may set the environment variables GEOCLUE_CFLAGS
15333
 
and GEOCLUE_LIBS to avoid the need to call pkg-config.
15334
 
See the pkg-config man page for more details.
15335
 
" >&5
15336
 
$as_echo "$as_me: error: Package requirements (gconf-2.0
15337
 
                  dbus-glib-1) were not met:
15338
 
 
15339
 
$GEOCLUE_PKG_ERRORS
15340
 
 
15341
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15342
 
installed software in a non-standard prefix.
15343
 
 
15344
 
Alternatively, you may set the environment variables GEOCLUE_CFLAGS
15345
 
and GEOCLUE_LIBS to avoid the need to call pkg-config.
15346
 
See the pkg-config man page for more details.
15347
 
" >&2;}
15348
 
   { (exit 1); exit 1; }; }
 
14943
        as_fn_error $? "Package requirements (gconf-2.0
 
14944
                  dbus-glib-1) were not met:
 
14945
 
 
14946
$GEOCLUE_PKG_ERRORS
 
14947
 
 
14948
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14949
installed software in a non-standard prefix.
 
14950
 
 
14951
Alternatively, you may set the environment variables GEOCLUE_CFLAGS
 
14952
and GEOCLUE_LIBS to avoid the need to call pkg-config.
 
14953
See the pkg-config man page for more details." "$LINENO" 5
 
14954
 
15349
14955
elif test $pkg_failed = untried; then
15350
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
14956
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14957
$as_echo "no" >&6; }
 
14958
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15351
14959
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15352
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15353
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15354
 
path to pkg-config.
15355
 
 
15356
 
Alternatively, you may set the environment variables GEOCLUE_CFLAGS
15357
 
and GEOCLUE_LIBS to avoid the need to call pkg-config.
15358
 
See the pkg-config man page for more details.
15359
 
 
15360
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15361
 
See \`config.log' for more details." >&5
15362
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15363
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15364
 
path to pkg-config.
15365
 
 
15366
 
Alternatively, you may set the environment variables GEOCLUE_CFLAGS
15367
 
and GEOCLUE_LIBS to avoid the need to call pkg-config.
15368
 
See the pkg-config man page for more details.
15369
 
 
15370
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15371
 
See \`config.log' for more details." >&2;}
15372
 
   { (exit 1); exit 1; }; }; }
 
14960
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14961
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14962
path to pkg-config.
 
14963
 
 
14964
Alternatively, you may set the environment variables GEOCLUE_CFLAGS
 
14965
and GEOCLUE_LIBS to avoid the need to call pkg-config.
 
14966
See the pkg-config man page for more details.
 
14967
 
 
14968
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14969
See \`config.log' for more details" "$LINENO" 5; }
 
14970
 
15373
14971
else
15374
14972
        GEOCLUE_CFLAGS=$pkg_cv_GEOCLUE_CFLAGS
15375
14973
        GEOCLUE_LIBS=$pkg_cv_GEOCLUE_LIBS
15376
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14974
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15377
14975
$as_echo "yes" >&6; }
15378
 
        :
 
14976
 
15379
14977
fi
15380
14978
 
15381
14979
 
15382
14980
pkg_failed=no
15383
 
{ $as_echo "$as_me:$LINENO: checking for PLUGINS" >&5
 
14981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PLUGINS" >&5
15384
14982
$as_echo_n "checking for PLUGINS... " >&6; }
15385
14983
 
15386
14984
if test -n "$PLUGINS_CFLAGS"; then
15387
14985
    pkg_cv_PLUGINS_CFLAGS="$PLUGINS_CFLAGS"
15388
14986
 elif test -n "$PKG_CONFIG"; then
15389
14987
    if test -n "$PKG_CONFIG" && \
15390
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
15391
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
 
14988
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
 
14989
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
15392
14990
  ac_status=$?
15393
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394
 
  (exit $ac_status); }; then
15395
 
  pkg_cv_PLUGINS_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
 
14991
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14992
  test $ac_status = 0; }; then
 
14993
  pkg_cv_PLUGINS_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
15396
14994
else
15397
14995
  pkg_failed=yes
15398
14996
fi
15403
15001
    pkg_cv_PLUGINS_LIBS="$PLUGINS_LIBS"
15404
15002
 elif test -n "$PKG_CONFIG"; then
15405
15003
    if test -n "$PKG_CONFIG" && \
15406
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
15407
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
 
15004
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
 
15005
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
15408
15006
  ac_status=$?
15409
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410
 
  (exit $ac_status); }; then
15411
 
  pkg_cv_PLUGINS_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
 
15007
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15008
  test $ac_status = 0; }; then
 
15009
  pkg_cv_PLUGINS_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
15412
15010
else
15413
15011
  pkg_failed=yes
15414
15012
fi
15419
15017
 
15420
15018
 
15421
15019
if test $pkg_failed = yes; then
 
15020
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15021
$as_echo "no" >&6; }
15422
15022
 
15423
15023
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15424
15024
        _pkg_short_errors_supported=yes
15426
15026
        _pkg_short_errors_supported=no
15427
15027
fi
15428
15028
        if test $_pkg_short_errors_supported = yes; then
15429
 
                PLUGINS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
 
15029
                PLUGINS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0" 2>&1`
15430
15030
        else
15431
 
                PLUGINS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
 
15031
                PLUGINS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0" 2>&1`
15432
15032
        fi
15433
15033
        # Put the nasty error message in config.log where it belongs
15434
15034
        echo "$PLUGINS_PKG_ERRORS" >&5
15435
15035
 
15436
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
15437
 
 
15438
 
$PLUGINS_PKG_ERRORS
15439
 
 
15440
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15441
 
installed software in a non-standard prefix.
15442
 
 
15443
 
Alternatively, you may set the environment variables PLUGINS_CFLAGS
15444
 
and PLUGINS_LIBS to avoid the need to call pkg-config.
15445
 
See the pkg-config man page for more details.
15446
 
" >&5
15447
 
$as_echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
15448
 
 
15449
 
$PLUGINS_PKG_ERRORS
15450
 
 
15451
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15452
 
installed software in a non-standard prefix.
15453
 
 
15454
 
Alternatively, you may set the environment variables PLUGINS_CFLAGS
15455
 
and PLUGINS_LIBS to avoid the need to call pkg-config.
15456
 
See the pkg-config man page for more details.
15457
 
" >&2;}
15458
 
   { (exit 1); exit 1; }; }
 
15036
        as_fn_error $? "Package requirements (gtk+-3.0) were not met:
 
15037
 
 
15038
$PLUGINS_PKG_ERRORS
 
15039
 
 
15040
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15041
installed software in a non-standard prefix.
 
15042
 
 
15043
Alternatively, you may set the environment variables PLUGINS_CFLAGS
 
15044
and PLUGINS_LIBS to avoid the need to call pkg-config.
 
15045
See the pkg-config man page for more details." "$LINENO" 5
 
15046
 
15459
15047
elif test $pkg_failed = untried; then
15460
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15048
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15049
$as_echo "no" >&6; }
 
15050
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15461
15051
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15462
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15463
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15464
 
path to pkg-config.
15465
 
 
15466
 
Alternatively, you may set the environment variables PLUGINS_CFLAGS
15467
 
and PLUGINS_LIBS to avoid the need to call pkg-config.
15468
 
See the pkg-config man page for more details.
15469
 
 
15470
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15471
 
See \`config.log' for more details." >&5
15472
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15473
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15474
 
path to pkg-config.
15475
 
 
15476
 
Alternatively, you may set the environment variables PLUGINS_CFLAGS
15477
 
and PLUGINS_LIBS to avoid the need to call pkg-config.
15478
 
See the pkg-config man page for more details.
15479
 
 
15480
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15481
 
See \`config.log' for more details." >&2;}
15482
 
   { (exit 1); exit 1; }; }; }
 
15052
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
15053
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15054
path to pkg-config.
 
15055
 
 
15056
Alternatively, you may set the environment variables PLUGINS_CFLAGS
 
15057
and PLUGINS_LIBS to avoid the need to call pkg-config.
 
15058
See the pkg-config man page for more details.
 
15059
 
 
15060
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15061
See \`config.log' for more details" "$LINENO" 5; }
 
15062
 
15483
15063
else
15484
15064
        PLUGINS_CFLAGS=$pkg_cv_PLUGINS_CFLAGS
15485
15065
        PLUGINS_LIBS=$pkg_cv_PLUGINS_LIBS
15486
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15066
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15487
15067
$as_echo "yes" >&6; }
15488
 
        :
 
15068
 
15489
15069
fi
15490
15070
 
15491
15071
# Check whether --enable-moblin was given.
15492
 
if test "${enable_moblin+set}" = set; then
 
15072
if test "${enable_moblin+set}" = set; then :
15493
15073
  enableval=$enable_moblin;
15494
15074
else
15495
15075
  enable_moblin=auto
15499
15079
if test "x$enable_moblin" != "xno"; then
15500
15080
 
15501
15081
pkg_failed=no
15502
 
{ $as_echo "$as_me:$LINENO: checking for MOBLIN" >&5
 
15082
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MOBLIN" >&5
15503
15083
$as_echo_n "checking for MOBLIN... " >&6; }
15504
15084
 
15505
15085
if test -n "$MOBLIN_CFLAGS"; then
15506
15086
    pkg_cv_MOBLIN_CFLAGS="$MOBLIN_CFLAGS"
15507
15087
 elif test -n "$PKG_CONFIG"; then
15508
15088
    if test -n "$PKG_CONFIG" && \
15509
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
 
15089
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15510
15090
      dbus-glib-1,
15511
 
      gtk+-2.0,
15512
 
      nbtk-gtk-1.2
 
15091
      gtk+-3.0,
 
15092
      mx-gtk-1.0
15513
15093
      moblin-panel
15514
 
   \"") >&5
 
15094
   \""; } >&5
15515
15095
  ($PKG_CONFIG --exists --print-errors "
15516
15096
      dbus-glib-1,
15517
 
      gtk+-2.0,
15518
 
      nbtk-gtk-1.2
 
15097
      gtk+-3.0,
 
15098
      mx-gtk-1.0
15519
15099
      moblin-panel
15520
15100
   ") 2>&5
15521
15101
  ac_status=$?
15522
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523
 
  (exit $ac_status); }; then
 
15102
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15103
  test $ac_status = 0; }; then
15524
15104
  pkg_cv_MOBLIN_CFLAGS=`$PKG_CONFIG --cflags "
15525
15105
      dbus-glib-1,
15526
 
      gtk+-2.0,
15527
 
      nbtk-gtk-1.2
 
15106
      gtk+-3.0,
 
15107
      mx-gtk-1.0
15528
15108
      moblin-panel
15529
15109
   " 2>/dev/null`
15530
15110
else
15537
15117
    pkg_cv_MOBLIN_LIBS="$MOBLIN_LIBS"
15538
15118
 elif test -n "$PKG_CONFIG"; then
15539
15119
    if test -n "$PKG_CONFIG" && \
15540
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
 
15120
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15541
15121
      dbus-glib-1,
15542
 
      gtk+-2.0,
15543
 
      nbtk-gtk-1.2
 
15122
      gtk+-3.0,
 
15123
      mx-gtk-1.0
15544
15124
      moblin-panel
15545
 
   \"") >&5
 
15125
   \""; } >&5
15546
15126
  ($PKG_CONFIG --exists --print-errors "
15547
15127
      dbus-glib-1,
15548
 
      gtk+-2.0,
15549
 
      nbtk-gtk-1.2
 
15128
      gtk+-3.0,
 
15129
      mx-gtk-1.0
15550
15130
      moblin-panel
15551
15131
   ") 2>&5
15552
15132
  ac_status=$?
15553
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554
 
  (exit $ac_status); }; then
 
15133
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15134
  test $ac_status = 0; }; then
15555
15135
  pkg_cv_MOBLIN_LIBS=`$PKG_CONFIG --libs "
15556
15136
      dbus-glib-1,
15557
 
      gtk+-2.0,
15558
 
      nbtk-gtk-1.2
 
15137
      gtk+-3.0,
 
15138
      mx-gtk-1.0
15559
15139
      moblin-panel
15560
15140
   " 2>/dev/null`
15561
15141
else
15568
15148
 
15569
15149
 
15570
15150
if test $pkg_failed = yes; then
 
15151
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15152
$as_echo "no" >&6; }
15571
15153
 
15572
15154
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15573
15155
        _pkg_short_errors_supported=yes
15577
15159
        if test $_pkg_short_errors_supported = yes; then
15578
15160
                MOBLIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15579
15161
      dbus-glib-1,
15580
 
      gtk+-2.0,
15581
 
      nbtk-gtk-1.2
 
15162
      gtk+-3.0,
 
15163
      mx-gtk-1.0
15582
15164
      moblin-panel
15583
15165
   " 2>&1`
15584
15166
        else
15585
15167
                MOBLIN_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15586
15168
      dbus-glib-1,
15587
 
      gtk+-2.0,
15588
 
      nbtk-gtk-1.2
 
15169
      gtk+-3.0,
 
15170
      mx-gtk-1.0
15589
15171
      moblin-panel
15590
15172
   " 2>&1`
15591
15173
        fi
15592
15174
        # Put the nasty error message in config.log where it belongs
15593
15175
        echo "$MOBLIN_PKG_ERRORS" >&5
15594
15176
 
15595
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
15177
        have_moblin="no"
 
15178
elif test $pkg_failed = untried; then
 
15179
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15596
15180
$as_echo "no" >&6; }
15597
 
                have_moblin="no"
15598
 
elif test $pkg_failed = untried; then
15599
15181
        have_moblin="no"
15600
15182
else
15601
15183
        MOBLIN_CFLAGS=$pkg_cv_MOBLIN_CFLAGS
15602
15184
        MOBLIN_LIBS=$pkg_cv_MOBLIN_LIBS
15603
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15185
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15604
15186
$as_echo "yes" >&6; }
15605
15187
        have_moblin="yes"
15606
15188
fi
 
15189
 
 
15190
   THEME_DIR="${datadir}/${PACKAGE}/theme"
 
15191
 
 
15192
  EXP_VAR=THEME_DIR
 
15193
  FROM_VAR=$THEME_DIR
 
15194
 
 
15195
    prefix_save=$prefix
 
15196
  exec_prefix_save=$exec_prefix
 
15197
 
 
15198
    if test "x$prefix" = "xNONE"; then
 
15199
    prefix="$ac_default_prefix"
 
15200
  fi
 
15201
    if test "x$exec_prefix" = "xNONE"; then
 
15202
    exec_prefix=$prefix
 
15203
  fi
 
15204
 
 
15205
  full_var="$FROM_VAR"
 
15206
    while true; do
 
15207
    new_full_var="`eval echo $full_var`"
 
15208
    if test "x$new_full_var" = "x$full_var"; then break; fi
 
15209
    full_var=$new_full_var
 
15210
  done
 
15211
 
 
15212
    full_var=$new_full_var
 
15213
  THEME_DIR="$full_var"
 
15214
 
 
15215
 
 
15216
    prefix=$prefix_save
 
15217
  exec_prefix=$exec_prefix_save
 
15218
 
 
15219
 
 
15220
cat >>confdefs.h <<_ACEOF
 
15221
#define THEME_DIR "$THEME_DIR"
 
15222
_ACEOF
 
15223
 
 
15224
 
 
15225
   PANEL_DIR=$($PKG_CONFIG moblin-panel --variable=moblin_panel_panels_dir)
 
15226
 
 
15227
 
 
15228
 
 
15229
  EXP_VAR=LIBEXECDIR
 
15230
  FROM_VAR=$libexecdir
 
15231
 
 
15232
    prefix_save=$prefix
 
15233
  exec_prefix_save=$exec_prefix
 
15234
 
 
15235
    if test "x$prefix" = "xNONE"; then
 
15236
    prefix="$ac_default_prefix"
 
15237
  fi
 
15238
    if test "x$exec_prefix" = "xNONE"; then
 
15239
    exec_prefix=$prefix
 
15240
  fi
 
15241
 
 
15242
  full_var="$FROM_VAR"
 
15243
    while true; do
 
15244
    new_full_var="`eval echo $full_var`"
 
15245
    if test "x$new_full_var" = "x$full_var"; then break; fi
 
15246
    full_var=$new_full_var
 
15247
  done
 
15248
 
 
15249
    full_var=$new_full_var
 
15250
  LIBEXECDIR="$full_var"
 
15251
 
 
15252
 
 
15253
    prefix=$prefix_save
 
15254
  exec_prefix=$exec_prefix_save
 
15255
 
15607
15256
else
15608
15257
   have_moblin=no
15609
15258
fi
15610
15259
 
15611
15260
if test "x$enable_moblin" = "xyes" -a "x$have_moblin" != "xyes"; then
15612
 
   { { $as_echo "$as_me:$LINENO: error: Couldn't find Moblin dependencies." >&5
15613
 
$as_echo "$as_me: error: Couldn't find Moblin dependencies." >&2;}
15614
 
   { (exit 1); exit 1; }; }
 
15261
   as_fn_error $? "Couldn't find Moblin dependencies." "$LINENO" 5
15615
15262
fi
15616
15263
 if test "x$have_moblin" = "xyes"; then
15617
15264
  WITH_MOBLIN_TRUE=
15632
15279
 
15633
15280
 
15634
15281
                # Check whether --enable-introspection was given.
15635
 
if test "${enable_introspection+set}" = set; then
 
15282
if test "${enable_introspection+set}" = set; then :
15636
15283
  enableval=$enable_introspection;
15637
15284
else
15638
15285
  enable_introspection=auto
15639
15286
fi
15640
15287
 
15641
15288
 
15642
 
    { $as_echo "$as_me:$LINENO: checking for gobject-introspection" >&5
 
15289
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
15643
15290
$as_echo_n "checking for gobject-introspection... " >&6; }
15644
15291
 
15645
 
        case $enable_introspection in
15646
 
  no)         found_introspection="no (disabled, use --enable-introspection to enable)"
15647
 
     ;;
15648
 
      yes)         if test -n "$PKG_CONFIG" && \
15649
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\"") >&5
 
15292
        case $enable_introspection in #(
 
15293
  no) :
 
15294
            found_introspection="no (disabled, use --enable-introspection to enable)"
 
15295
     ;; #(
 
15296
      yes) :
 
15297
            if test -n "$PKG_CONFIG" && \
 
15298
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
15650
15299
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
15651
15300
  ac_status=$?
15652
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653
 
  (exit $ac_status); }; then
 
15301
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15302
  test $ac_status = 0; }; then
15654
15303
  :
15655
15304
else
15656
 
  { { $as_echo "$as_me:$LINENO: error: gobject-introspection-1.0 is not installed" >&5
15657
 
$as_echo "$as_me: error: gobject-introspection-1.0 is not installed" >&2;}
15658
 
   { (exit 1); exit 1; }; }
 
15305
  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
15659
15306
fi
15660
15307
        if test -n "$PKG_CONFIG" && \
15661
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\"") >&5
15662
 
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.3") 2>&5
 
15308
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
 
15309
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
15663
15310
  ac_status=$?
15664
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665
 
  (exit $ac_status); }; then
 
15311
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15312
  test $ac_status = 0; }; then
15666
15313
  found_introspection=yes
15667
15314
else
15668
 
  { { $as_echo "$as_me:$LINENO: error: You need to have gobject-introspection >= 0.6.3 installed to build gnome-bluetooth" >&5
15669
 
$as_echo "$as_me: error: You need to have gobject-introspection >= 0.6.3 installed to build gnome-bluetooth" >&2;}
15670
 
   { (exit 1); exit 1; }; }
 
15315
  as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build gnome-bluetooth" "$LINENO" 5
15671
15316
fi
15672
 
     ;;
15673
 
      auto)         if test -n "$PKG_CONFIG" && \
15674
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\"") >&5
15675
 
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.3") 2>&5
 
15317
     ;; #(
 
15318
      auto) :
 
15319
            if test -n "$PKG_CONFIG" && \
 
15320
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
 
15321
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
15676
15322
  ac_status=$?
15677
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678
 
  (exit $ac_status); }; then
 
15323
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15324
  test $ac_status = 0; }; then
15679
15325
  found_introspection=yes
15680
15326
else
15681
15327
  found_introspection=no
15682
15328
fi
15683
 
     ;;
15684
 
  *)             { { $as_echo "$as_me:$LINENO: error: invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" >&5
15685
 
$as_echo "$as_me: error: invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" >&2;}
15686
 
   { (exit 1); exit 1; }; }
 
15329
     ;; #(
 
15330
  *) :
 
15331
                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
15687
15332
     ;;
15688
15333
esac
15689
 
 
15690
 
    { $as_echo "$as_me:$LINENO: result: $found_introspection" >&5
 
15334
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
15691
15335
$as_echo "$found_introspection" >&6; }
15692
15336
 
15693
15337
    INTROSPECTION_SCANNER=
15701
15345
       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
15702
15346
       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
15703
15347
       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
 
15348
       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
 
15349
       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
 
15350
       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
15704
15351
    fi
15705
15352
 
15706
15353
 
15708
15355
 
15709
15356
 
15710
15357
 
 
15358
 
 
15359
 
 
15360
 
15711
15361
     if test "x$found_introspection" = "xyes"; then
15712
15362
  HAVE_INTROSPECTION_TRUE=
15713
15363
  HAVE_INTROSPECTION_FALSE='#'
15731
15381
 
15732
15382
 
15733
15383
        # Check whether --enable-debug was given.
15734
 
if test "${enable_debug+set}" = set; then
 
15384
if test "${enable_debug+set}" = set; then :
15735
15385
  enableval=$enable_debug;
15736
15386
else
15737
15387
  enable_debug=no
15740
15390
 
15741
15391
        if test x$enable_debug = xyes ; then
15742
15392
 
15743
 
cat >>confdefs.h <<\_ACEOF
15744
 
#define GNOME_ENABLE_DEBUG 1
15745
 
_ACEOF
 
15393
$as_echo "#define GNOME_ENABLE_DEBUG 1" >>confdefs.h
15746
15394
 
15747
15395
        fi
15748
15396
 
15749
15397
 
15750
15398
 
15751
15399
    # Check whether --enable-compile-warnings was given.
15752
 
if test "${enable_compile_warnings+set}" = set; then
 
15400
if test "${enable_compile_warnings+set}" = set; then :
15753
15401
  enableval=$enable_compile_warnings;
15754
15402
else
15755
15403
  enable_compile_warnings="maximum"
15780
15428
        for option in -Wno-sign-compare; do
15781
15429
                SAVE_CFLAGS="$CFLAGS"
15782
15430
                CFLAGS="$CFLAGS $option"
15783
 
                { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
 
15431
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
15784
15432
$as_echo_n "checking whether gcc understands $option... " >&6; }
15785
 
                cat >conftest.$ac_ext <<_ACEOF
15786
 
/* confdefs.h.  */
15787
 
_ACEOF
15788
 
cat confdefs.h >>conftest.$ac_ext
15789
 
cat >>conftest.$ac_ext <<_ACEOF
 
15433
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15790
15434
/* end confdefs.h.  */
15791
15435
 
15792
15436
int
15797
15441
  return 0;
15798
15442
}
15799
15443
_ACEOF
15800
 
rm -f conftest.$ac_objext
15801
 
if { (ac_try="$ac_compile"
15802
 
case "(($ac_try" in
15803
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15804
 
  *) ac_try_echo=$ac_try;;
15805
 
esac
15806
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15807
 
$as_echo "$ac_try_echo") >&5
15808
 
  (eval "$ac_compile") 2>conftest.er1
15809
 
  ac_status=$?
15810
 
  grep -v '^ *+' conftest.er1 >conftest.err
15811
 
  rm -f conftest.er1
15812
 
  cat conftest.err >&5
15813
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814
 
  (exit $ac_status); } && {
15815
 
         test -z "$ac_c_werror_flag" ||
15816
 
         test ! -s conftest.err
15817
 
       } && test -s conftest.$ac_objext; then
 
15444
if ac_fn_c_try_compile "$LINENO"; then :
15818
15445
  has_option=yes
15819
15446
else
15820
 
  $as_echo "$as_me: failed program was:" >&5
15821
 
sed 's/^/| /' conftest.$ac_ext >&5
15822
 
 
15823
 
        has_option=no
 
15447
  has_option=no
15824
15448
fi
15825
 
 
15826
15449
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15827
15450
                CFLAGS="$SAVE_CFLAGS"
15828
 
                { $as_echo "$as_me:$LINENO: result: $has_option" >&5
 
15451
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
15829
15452
$as_echo "$has_option" >&6; }
15830
15453
                if test $has_option = yes; then
15831
15454
                  warning_flags="$warning_flags $option"
15839
15462
        fi
15840
15463
        ;;
15841
15464
    *)
15842
 
        { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
15843
 
$as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
15844
 
   { (exit 1); exit 1; }; }
 
15465
        as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
15845
15466
        ;;
15846
15467
    esac
15847
15468
    CFLAGS="$realsave_CFLAGS"
15848
 
    { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
 
15469
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
15849
15470
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
15850
 
    { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
 
15471
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
15851
15472
$as_echo "$warning_flags" >&6; }
15852
15473
 
15853
15474
    # Check whether --enable-iso-c was given.
15854
 
if test "${enable_iso_c+set}" = set; then
 
15475
if test "${enable_iso_c+set}" = set; then :
15855
15476
  enableval=$enable_iso_c;
15856
15477
else
15857
15478
  enable_iso_c=no
15858
15479
fi
15859
15480
 
15860
15481
 
15861
 
    { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
 
15482
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
15862
15483
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
15863
15484
    complCFLAGS=
15864
15485
    if test "x$enable_iso_c" != "xno"; then
15873
15494
        esac
15874
15495
        fi
15875
15496
    fi
15876
 
    { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
 
15497
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
15877
15498
$as_echo "$complCFLAGS" >&6; }
15878
15499
 
15879
15500
    WARN_CFLAGS="$warning_flags $complCFLAGS"
15881
15502
 
15882
15503
 
15883
15504
  # Check whether --enable-cxx-warnings was given.
15884
 
if test "${enable_cxx_warnings+set}" = set; then
 
15505
if test "${enable_cxx_warnings+set}" = set; then :
15885
15506
  enableval=$enable_cxx_warnings;
15886
15507
else
15887
15508
  enable_cxx_warnings="minimum"
15888
15509
fi
15889
15510
 
15890
15511
 
15891
 
  { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C++ compiler" >&5
 
15512
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
15892
15513
$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
15893
15514
  warnCXXFLAGS=
15894
15515
  if test "x$GXX" != xyes; then
15908
15529
      fi
15909
15530
    fi
15910
15531
  fi
15911
 
  { $as_echo "$as_me:$LINENO: result: $warnCXXFLAGS" >&5
 
15532
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warnCXXFLAGS" >&5
15912
15533
$as_echo "$warnCXXFLAGS" >&6; }
15913
15534
 
15914
15535
   # Check whether --enable-iso-cxx was given.
15915
 
if test "${enable_iso_cxx+set}" = set; then
 
15536
if test "${enable_iso_cxx+set}" = set; then :
15916
15537
  enableval=$enable_iso_cxx;
15917
15538
else
15918
15539
  enable_iso_cxx=no
15919
15540
fi
15920
15541
 
15921
15542
 
15922
 
   { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C++ compiler" >&5
 
15543
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C++ compiler" >&5
15923
15544
$as_echo_n "checking what language compliance flags to pass to the C++ compiler... " >&6; }
15924
15545
   complCXXFLAGS=
15925
15546
   if test "x$enable_iso_cxx" != "xno"; then
15935
15556
      esac
15936
15557
     fi
15937
15558
   fi
15938
 
  { $as_echo "$as_me:$LINENO: result: $complCXXFLAGS" >&5
 
15559
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCXXFLAGS" >&5
15939
15560
$as_echo "$complCXXFLAGS" >&6; }
15940
15561
 
15941
15562
  WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
15958
15579
 
15959
15580
gdu_cv_version_required=0.3.2
15960
15581
 
15961
 
{ $as_echo "$as_me:$LINENO: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
 
15582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
15962
15583
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
15963
15584
if test -n "$PKG_CONFIG" && \
15964
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
 
15585
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
15965
15586
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
15966
15587
  ac_status=$?
15967
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968
 
  (exit $ac_status); }; then
 
15588
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15589
  test $ac_status = 0; }; then
15969
15590
  gdu_cv_have_gdu=yes
15970
15591
else
15971
15592
  gdu_cv_have_gdu=no
15972
15593
fi
15973
15594
 
15974
15595
if test "$gdu_cv_have_gdu" = "yes"; then
15975
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15596
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15976
15597
$as_echo "yes" >&6; }
15977
15598
        :
15978
15599
else
15979
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
15600
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15980
15601
$as_echo "no" >&6; }
15981
 
        { { $as_echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
15982
 
$as_echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
15983
 
   { (exit 1); exit 1; }; }
 
15602
        as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
15984
15603
fi
15985
15604
 
15986
15605
 
15987
15606
 
15988
15607
# Check whether --with-help-dir was given.
15989
 
if test "${with_help_dir+set}" = set; then
 
15608
if test "${with_help_dir+set}" = set; then :
15990
15609
  withval=$with_help_dir;
15991
15610
else
15992
15611
  with_help_dir='${datadir}/gnome/help'
15997
15616
 
15998
15617
 
15999
15618
# Check whether --with-omf-dir was given.
16000
 
if test "${with_omf_dir+set}" = set; then
 
15619
if test "${with_omf_dir+set}" = set; then :
16001
15620
  withval=$with_omf_dir;
16002
15621
else
16003
15622
  with_omf_dir='${datadir}/omf'
16008
15627
 
16009
15628
 
16010
15629
# Check whether --with-help-formats was given.
16011
 
if test "${with_help_formats+set}" = set; then
 
15630
if test "${with_help_formats+set}" = set; then :
16012
15631
  withval=$with_help_formats;
16013
15632
else
16014
15633
  with_help_formats=''
16018
15637
 
16019
15638
 
16020
15639
# Check whether --enable-scrollkeeper was given.
16021
 
if test "${enable_scrollkeeper+set}" = set; then
 
15640
if test "${enable_scrollkeeper+set}" = set; then :
16022
15641
  enableval=$enable_scrollkeeper;
16023
15642
else
16024
15643
  enable_scrollkeeper=yes
16047
15666
 
16048
15667
 
16049
15668
 
16050
 
ac_config_files="$ac_config_files Makefile gnome-bluetooth-1.0.pc icons/Makefile lib/Makefile lib/plugins/Makefile applet/Makefile applet/bluetooth-applet.desktop.in properties/Makefile properties/bluetooth-properties.desktop.in wizard/Makefile sendto/Makefile moblin/Makefile moblin/bluetooth-panel.desktop.in moblin/theme/Makefile moblin/moblin-copy-n-paste/Makefile moblin/moblin-icons/Makefile docs/Makefile docs/reference/Makefile docs/reference/libgnome-bluetooth/Makefile docs/reference/libgnome-bluetooth/version.xml po/Makefile.in help/Makefile"
 
15669
ac_config_files="$ac_config_files Makefile gnome-bluetooth-1.0.pc icons/Makefile lib/Makefile lib/plugins/Makefile applet/Makefile applet/bluetooth-applet.desktop.in properties/Makefile properties/bluetooth-properties.desktop.in wizard/Makefile sendto/Makefile moblin/Makefile moblin/bluetooth-panel.desktop.in moblin/org.moblin.UX.Shell.Panels.bluetooth.service moblin/theme/Makefile moblin/moblin-copy-n-paste/Makefile moblin/moblin-icons/Makefile docs/Makefile docs/reference/Makefile docs/reference/libgnome-bluetooth/Makefile docs/reference/libgnome-bluetooth/version.xml po/Makefile.in help/Makefile"
16051
15670
 
16052
15671
cat >confcache <<\_ACEOF
16053
15672
# This file is a shell script that caches the results of configure
16076
15695
    case $ac_val in #(
16077
15696
    *${as_nl}*)
16078
15697
      case $ac_var in #(
16079
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
15698
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16080
15699
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16081
15700
      esac
16082
15701
      case $ac_var in #(
16083
15702
      _ | IFS | as_nl) ;; #(
16084
15703
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16085
 
      *) $as_unset $ac_var ;;
 
15704
      *) { eval $ac_var=; unset $ac_var;} ;;
16086
15705
      esac ;;
16087
15706
    esac
16088
15707
  done
16090
15709
  (set) 2>&1 |
16091
15710
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16092
15711
    *${as_nl}ac_space=\ *)
16093
 
      # `set' does not quote correctly, so add quotes (double-quote
16094
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
15712
      # `set' does not quote correctly, so add quotes: double-quote
 
15713
      # substitution turns \\\\ into \\, and sed turns \\ into \.
16095
15714
      sed -n \
16096
15715
        "s/'/'\\\\''/g;
16097
15716
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16114
15733
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16115
15734
  if test -w "$cache_file"; then
16116
15735
    test "x$cache_file" != "x/dev/null" &&
16117
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
15736
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16118
15737
$as_echo "$as_me: updating cache $cache_file" >&6;}
16119
15738
    cat confcache >$cache_file
16120
15739
  else
16121
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
15740
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16122
15741
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16123
15742
  fi
16124
15743
fi
16132
15751
 
16133
15752
ac_libobjs=
16134
15753
ac_ltlibobjs=
 
15754
U=
16135
15755
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16136
15756
  # 1. Remove the extension, and $U if already installed.
16137
15757
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16138
15758
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16139
15759
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16140
15760
  #    will be set to the directory where LIBOBJS objects are built.
16141
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16142
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
15761
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
15762
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16143
15763
done
16144
15764
LIBOBJS=$ac_libobjs
16145
15765
 
16155
15775
fi
16156
15776
 
16157
15777
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16158
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16159
 
Usually this means the macro was only invoked conditionally." >&5
16160
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16161
 
Usually this means the macro was only invoked conditionally." >&2;}
16162
 
   { (exit 1); exit 1; }; }
 
15778
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
15779
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16163
15780
fi
16164
15781
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16165
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16166
 
Usually this means the macro was only invoked conditionally." >&5
16167
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
16168
 
Usually this means the macro was only invoked conditionally." >&2;}
16169
 
   { (exit 1); exit 1; }; }
 
15782
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
15783
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16170
15784
fi
16171
15785
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16172
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16173
 
Usually this means the macro was only invoked conditionally." >&5
16174
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16175
 
Usually this means the macro was only invoked conditionally." >&2;}
16176
 
   { (exit 1); exit 1; }; }
 
15786
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
15787
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16177
15788
fi
16178
15789
 
16179
15790
  ac_config_commands="$ac_config_commands po/stamp-it"
16180
15791
 
16181
15792
 
16182
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
16183
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
16184
 
Usually this means the macro was only invoked conditionally." >&5
16185
 
$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
16186
 
Usually this means the macro was only invoked conditionally." >&2;}
16187
 
   { (exit 1); exit 1; }; }
16188
 
fi
16189
15793
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16190
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
16191
 
Usually this means the macro was only invoked conditionally." >&5
16192
 
$as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
16193
 
Usually this means the macro was only invoked conditionally." >&2;}
16194
 
   { (exit 1); exit 1; }; }
 
15794
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
 
15795
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15796
fi
 
15797
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
 
15798
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
 
15799
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15800
fi
 
15801
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
 
15802
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
 
15803
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16195
15804
fi
16196
15805
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16197
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16198
 
Usually this means the macro was only invoked conditionally." >&5
16199
 
$as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16200
 
Usually this means the macro was only invoked conditionally." >&2;}
16201
 
   { (exit 1); exit 1; }; }
 
15806
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
15807
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15808
fi
 
15809
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
 
15810
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
15811
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16202
15812
fi
16203
15813
if test -z "${DESKTOP_UPDATE_TRUE}" && test -z "${DESKTOP_UPDATE_FALSE}"; then
16204
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"DESKTOP_UPDATE\" was never defined.
16205
 
Usually this means the macro was only invoked conditionally." >&5
16206
 
$as_echo "$as_me: error: conditional \"DESKTOP_UPDATE\" was never defined.
16207
 
Usually this means the macro was only invoked conditionally." >&2;}
16208
 
   { (exit 1); exit 1; }; }
 
15814
  as_fn_error $? "conditional \"DESKTOP_UPDATE\" was never defined.
 
15815
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16209
15816
fi
16210
15817
if test -z "${ICON_UPDATE_TRUE}" && test -z "${ICON_UPDATE_FALSE}"; then
16211
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ICON_UPDATE\" was never defined.
16212
 
Usually this means the macro was only invoked conditionally." >&5
16213
 
$as_echo "$as_me: error: conditional \"ICON_UPDATE\" was never defined.
16214
 
Usually this means the macro was only invoked conditionally." >&2;}
16215
 
   { (exit 1); exit 1; }; }
 
15818
  as_fn_error $? "conditional \"ICON_UPDATE\" was never defined.
 
15819
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16216
15820
fi
16217
15821
if test -z "${HAVE_NST_TRUE}" && test -z "${HAVE_NST_FALSE}"; then
16218
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_NST\" was never defined.
16219
 
Usually this means the macro was only invoked conditionally." >&5
16220
 
$as_echo "$as_me: error: conditional \"HAVE_NST\" was never defined.
16221
 
Usually this means the macro was only invoked conditionally." >&2;}
16222
 
   { (exit 1); exit 1; }; }
 
15822
  as_fn_error $? "conditional \"HAVE_NST\" was never defined.
 
15823
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16223
15824
fi
16224
15825
if test -z "${WITH_MOBLIN_TRUE}" && test -z "${WITH_MOBLIN_FALSE}"; then
16225
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_MOBLIN\" was never defined.
16226
 
Usually this means the macro was only invoked conditionally." >&5
16227
 
$as_echo "$as_me: error: conditional \"WITH_MOBLIN\" was never defined.
16228
 
Usually this means the macro was only invoked conditionally." >&2;}
16229
 
   { (exit 1); exit 1; }; }
 
15826
  as_fn_error $? "conditional \"WITH_MOBLIN\" was never defined.
 
15827
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16230
15828
fi
16231
15829
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
16232
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_INTROSPECTION\" was never defined.
16233
 
Usually this means the macro was only invoked conditionally." >&5
16234
 
$as_echo "$as_me: error: conditional \"HAVE_INTROSPECTION\" was never defined.
16235
 
Usually this means the macro was only invoked conditionally." >&2;}
16236
 
   { (exit 1); exit 1; }; }
 
15830
  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
 
15831
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16237
15832
fi
16238
15833
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
16239
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
16240
 
Usually this means the macro was only invoked conditionally." >&5
16241
 
$as_echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
16242
 
Usually this means the macro was only invoked conditionally." >&2;}
16243
 
   { (exit 1); exit 1; }; }
 
15834
  as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
 
15835
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16244
15836
fi
16245
15837
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
16246
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
16247
 
Usually this means the macro was only invoked conditionally." >&5
16248
 
$as_echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
16249
 
Usually this means the macro was only invoked conditionally." >&2;}
16250
 
   { (exit 1); exit 1; }; }
 
15838
  as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
 
15839
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16251
15840
fi
16252
15841
 
16253
15842
: ${CONFIG_STATUS=./config.status}
16254
15843
ac_write_fail=0
16255
15844
ac_clean_files_save=$ac_clean_files
16256
15845
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16257
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
15846
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16258
15847
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16259
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15848
as_write_fail=0
 
15849
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16260
15850
#! $SHELL
16261
15851
# Generated by $as_me.
16262
15852
# Run this file to recreate the current configuration.
16266
15856
debug=false
16267
15857
ac_cs_recheck=false
16268
15858
ac_cs_silent=false
 
15859
 
16269
15860
SHELL=\${CONFIG_SHELL-$SHELL}
16270
 
_ACEOF
16271
 
 
16272
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16273
 
## --------------------- ##
16274
 
## M4sh Initialization.  ##
16275
 
## --------------------- ##
 
15861
export SHELL
 
15862
_ASEOF
 
15863
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
15864
## -------------------- ##
 
15865
## M4sh Initialization. ##
 
15866
## -------------------- ##
16276
15867
 
16277
15868
# Be more Bourne compatible
16278
15869
DUALCASE=1; export DUALCASE # for MKS sh
16279
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
15870
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16280
15871
  emulate sh
16281
15872
  NULLCMD=:
16282
15873
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16284
15875
  alias -g '${1+"$@"}'='"$@"'
16285
15876
  setopt NO_GLOB_SUBST
16286
15877
else
16287
 
  case `(set -o) 2>/dev/null` in
16288
 
  *posix*) set -o posix ;;
 
15878
  case `(set -o) 2>/dev/null` in #(
 
15879
  *posix*) :
 
15880
    set -o posix ;; #(
 
15881
  *) :
 
15882
     ;;
16289
15883
esac
16290
 
 
16291
15884
fi
16292
15885
 
16293
15886
 
16294
 
 
16295
 
 
16296
 
# PATH needs CR
16297
 
# Avoid depending upon Character Ranges.
16298
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16299
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16300
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16301
 
as_cr_digits='0123456789'
16302
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
16303
 
 
16304
15887
as_nl='
16305
15888
'
16306
15889
export as_nl
16308
15891
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16309
15892
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16310
15893
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16311
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15894
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
15895
# but without wasting forks for bash or zsh.
 
15896
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
15897
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15898
  as_echo='print -r --'
 
15899
  as_echo_n='print -rn --'
 
15900
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16312
15901
  as_echo='printf %s\n'
16313
15902
  as_echo_n='printf %s'
16314
15903
else
16319
15908
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16320
15909
    as_echo_n_body='eval
16321
15910
      arg=$1;
16322
 
      case $arg in
 
15911
      case $arg in #(
16323
15912
      *"$as_nl"*)
16324
15913
        expr "X$arg" : "X\\(.*\\)$as_nl";
16325
15914
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16342
15931
  }
16343
15932
fi
16344
15933
 
16345
 
# Support unset when possible.
16346
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16347
 
  as_unset=unset
16348
 
else
16349
 
  as_unset=false
16350
 
fi
16351
 
 
16352
15934
 
16353
15935
# IFS
16354
15936
# We need space, tab and new line, in precisely that order.  Quoting is
16358
15940
IFS=" ""        $as_nl"
16359
15941
 
16360
15942
# Find who we are.  Look in the path if we contain no directory separator.
16361
 
case $0 in
 
15943
case $0 in #((
16362
15944
  *[\\/]* ) as_myself=$0 ;;
16363
15945
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16364
15946
for as_dir in $PATH
16365
15947
do
16366
15948
  IFS=$as_save_IFS
16367
15949
  test -z "$as_dir" && as_dir=.
16368
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16369
 
done
 
15950
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
15951
  done
16370
15952
IFS=$as_save_IFS
16371
15953
 
16372
15954
     ;;
16378
15960
fi
16379
15961
if test ! -f "$as_myself"; then
16380
15962
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16381
 
  { (exit 1); exit 1; }
 
15963
  exit 1
16382
15964
fi
16383
15965
 
16384
 
# Work around bugs in pre-3.0 UWIN ksh.
16385
 
for as_var in ENV MAIL MAILPATH
16386
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
15966
# Unset variables that we do not need and which cause bugs (e.g. in
 
15967
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
15968
# suppresses any "Segmentation fault" message there.  '((' could
 
15969
# trigger a bug in pdksh 5.2.14.
 
15970
for as_var in BASH_ENV ENV MAIL MAILPATH
 
15971
do eval test x\${$as_var+set} = xset \
 
15972
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16387
15973
done
16388
15974
PS1='$ '
16389
15975
PS2='> '
16395
15981
LANGUAGE=C
16396
15982
export LANGUAGE
16397
15983
 
16398
 
# Required to use basename.
 
15984
# CDPATH.
 
15985
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15986
 
 
15987
 
 
15988
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
15989
# ----------------------------------------
 
15990
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
15991
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
15992
# script with STATUS, using 1 if that was 0.
 
15993
as_fn_error ()
 
15994
{
 
15995
  as_status=$1; test $as_status -eq 0 && as_status=1
 
15996
  if test "$4"; then
 
15997
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15998
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
15999
  fi
 
16000
  $as_echo "$as_me: error: $2" >&2
 
16001
  as_fn_exit $as_status
 
16002
} # as_fn_error
 
16003
 
 
16004
 
 
16005
# as_fn_set_status STATUS
 
16006
# -----------------------
 
16007
# Set $? to STATUS, without forking.
 
16008
as_fn_set_status ()
 
16009
{
 
16010
  return $1
 
16011
} # as_fn_set_status
 
16012
 
 
16013
# as_fn_exit STATUS
 
16014
# -----------------
 
16015
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
16016
as_fn_exit ()
 
16017
{
 
16018
  set +e
 
16019
  as_fn_set_status $1
 
16020
  exit $1
 
16021
} # as_fn_exit
 
16022
 
 
16023
# as_fn_unset VAR
 
16024
# ---------------
 
16025
# Portably unset VAR.
 
16026
as_fn_unset ()
 
16027
{
 
16028
  { eval $1=; unset $1;}
 
16029
}
 
16030
as_unset=as_fn_unset
 
16031
# as_fn_append VAR VALUE
 
16032
# ----------------------
 
16033
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
16034
# advantage of any shell optimizations that allow amortized linear growth over
 
16035
# repeated appends, instead of the typical quadratic growth present in naive
 
16036
# implementations.
 
16037
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
16038
  eval 'as_fn_append ()
 
16039
  {
 
16040
    eval $1+=\$2
 
16041
  }'
 
16042
else
 
16043
  as_fn_append ()
 
16044
  {
 
16045
    eval $1=\$$1\$2
 
16046
  }
 
16047
fi # as_fn_append
 
16048
 
 
16049
# as_fn_arith ARG...
 
16050
# ------------------
 
16051
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
16052
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
16053
# must be portable across $(()) and expr.
 
16054
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
16055
  eval 'as_fn_arith ()
 
16056
  {
 
16057
    as_val=$(( $* ))
 
16058
  }'
 
16059
else
 
16060
  as_fn_arith ()
 
16061
  {
 
16062
    as_val=`expr "$@" || test $? -eq 1`
 
16063
  }
 
16064
fi # as_fn_arith
 
16065
 
 
16066
 
16399
16067
if expr a : '\(a\)' >/dev/null 2>&1 &&
16400
16068
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16401
16069
  as_expr=expr
16409
16077
  as_basename=false
16410
16078
fi
16411
16079
 
 
16080
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
16081
  as_dirname=dirname
 
16082
else
 
16083
  as_dirname=false
 
16084
fi
16412
16085
 
16413
 
# Name of the executable.
16414
16086
as_me=`$as_basename -- "$0" ||
16415
16087
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16416
16088
         X"$0" : 'X\(//\)$' \| \
16430
16102
          }
16431
16103
          s/.*/./; q'`
16432
16104
 
16433
 
# CDPATH.
16434
 
$as_unset CDPATH
16435
 
 
16436
 
 
16437
 
 
16438
 
  as_lineno_1=$LINENO
16439
 
  as_lineno_2=$LINENO
16440
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
16441
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
16442
 
 
16443
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16444
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
16445
 
  # line-number line after each line using $LINENO; the second 'sed'
16446
 
  # does the real work.  The second script uses 'N' to pair each
16447
 
  # line-number line with the line containing $LINENO, and appends
16448
 
  # trailing '-' during substitution so that $LINENO is not a special
16449
 
  # case at line end.
16450
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16451
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
16452
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
16453
 
  sed -n '
16454
 
    p
16455
 
    /[$]LINENO/=
16456
 
  ' <$as_myself |
16457
 
    sed '
16458
 
      s/[$]LINENO.*/&-/
16459
 
      t lineno
16460
 
      b
16461
 
      :lineno
16462
 
      N
16463
 
      :loop
16464
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16465
 
      t loop
16466
 
      s/-\n.*//
16467
 
    ' >$as_me.lineno &&
16468
 
  chmod +x "$as_me.lineno" ||
16469
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16470
 
   { (exit 1); exit 1; }; }
16471
 
 
16472
 
  # Don't try to exec as it changes $[0], causing all sort of problems
16473
 
  # (the dirname of $[0] is not the place where we might find the
16474
 
  # original and so on.  Autoconf is especially sensitive to this).
16475
 
  . "./$as_me.lineno"
16476
 
  # Exit status is that of the last command.
16477
 
  exit
16478
 
}
16479
 
 
16480
 
 
16481
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16482
 
  as_dirname=dirname
16483
 
else
16484
 
  as_dirname=false
16485
 
fi
 
16105
# Avoid depending upon Character Ranges.
 
16106
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
16107
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
16108
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
16109
as_cr_digits='0123456789'
 
16110
as_cr_alnum=$as_cr_Letters$as_cr_digits
16486
16111
 
16487
16112
ECHO_C= ECHO_N= ECHO_T=
16488
 
case `echo -n x` in
 
16113
case `echo -n x` in #(((((
16489
16114
-n*)
16490
 
  case `echo 'x\c'` in
 
16115
  case `echo 'xy\c'` in
16491
16116
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16492
 
  *)   ECHO_C='\c';;
 
16117
  xy)  ECHO_C='\c';;
 
16118
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
16119
       ECHO_T=' ';;
16493
16120
  esac;;
16494
16121
*)
16495
16122
  ECHO_N='-n';;
16496
16123
esac
16497
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
16498
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16499
 
  as_expr=expr
16500
 
else
16501
 
  as_expr=false
16502
 
fi
16503
16124
 
16504
16125
rm -f conf$$ conf$$.exe conf$$.file
16505
16126
if test -d conf$$.dir; then
16528
16149
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16529
16150
rmdir conf$$.dir 2>/dev/null
16530
16151
 
 
16152
 
 
16153
# as_fn_mkdir_p
 
16154
# -------------
 
16155
# Create "$as_dir" as a directory, including parents if necessary.
 
16156
as_fn_mkdir_p ()
 
16157
{
 
16158
 
 
16159
  case $as_dir in #(
 
16160
  -*) as_dir=./$as_dir;;
 
16161
  esac
 
16162
  test -d "$as_dir" || eval $as_mkdir_p || {
 
16163
    as_dirs=
 
16164
    while :; do
 
16165
      case $as_dir in #(
 
16166
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
16167
      *) as_qdir=$as_dir;;
 
16168
      esac
 
16169
      as_dirs="'$as_qdir' $as_dirs"
 
16170
      as_dir=`$as_dirname -- "$as_dir" ||
 
16171
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16172
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
16173
         X"$as_dir" : 'X\(//\)$' \| \
 
16174
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
16175
$as_echo X"$as_dir" |
 
16176
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16177
            s//\1/
 
16178
            q
 
16179
          }
 
16180
          /^X\(\/\/\)[^/].*/{
 
16181
            s//\1/
 
16182
            q
 
16183
          }
 
16184
          /^X\(\/\/\)$/{
 
16185
            s//\1/
 
16186
            q
 
16187
          }
 
16188
          /^X\(\/\).*/{
 
16189
            s//\1/
 
16190
            q
 
16191
          }
 
16192
          s/.*/./; q'`
 
16193
      test -d "$as_dir" && break
 
16194
    done
 
16195
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
16196
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
16197
 
 
16198
 
 
16199
} # as_fn_mkdir_p
16531
16200
if mkdir -p . 2>/dev/null; then
16532
 
  as_mkdir_p=:
 
16201
  as_mkdir_p='mkdir -p "$as_dir"'
16533
16202
else
16534
16203
  test -d ./-p && rmdir ./-p
16535
16204
  as_mkdir_p=false
16548
16217
      if test -d "$1"; then
16549
16218
        test -d "$1/.";
16550
16219
      else
16551
 
        case $1 in
 
16220
        case $1 in #(
16552
16221
        -*)set "./$1";;
16553
16222
        esac;
16554
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
16223
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16555
16224
        ???[sx]*):;;*)false;;esac;fi
16556
16225
    '\'' sh
16557
16226
  '
16566
16235
 
16567
16236
 
16568
16237
exec 6>&1
 
16238
## ----------------------------------- ##
 
16239
## Main body of $CONFIG_STATUS script. ##
 
16240
## ----------------------------------- ##
 
16241
_ASEOF
 
16242
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16569
16243
 
16570
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
16244
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16245
# Save the log message, to keep $0 and so on meaningful, and to
16571
16246
# report actual input values of CONFIG_FILES etc. instead of their
16572
16247
# values after options handling.
16573
16248
ac_log="
16574
 
This file was extended by gnome-bluetooth $as_me 2.29.3, which was
16575
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
16249
This file was extended by gnome-bluetooth $as_me 2.91.5, which was
 
16250
generated by GNU Autoconf 2.66.  Invocation command line was
16576
16251
 
16577
16252
  CONFIG_FILES    = $CONFIG_FILES
16578
16253
  CONFIG_HEADERS  = $CONFIG_HEADERS
16604
16279
 
16605
16280
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16606
16281
ac_cs_usage="\
16607
 
\`$as_me' instantiates files from templates according to the
16608
 
current configuration.
 
16282
\`$as_me' instantiates files and other configuration actions
 
16283
from templates according to the current configuration.  Unless the files
 
16284
and actions are specified as TAGs, all are instantiated by default.
16609
16285
 
16610
 
Usage: $0 [OPTION]... [FILE]...
 
16286
Usage: $0 [OPTION]... [TAG]...
16611
16287
 
16612
16288
  -h, --help       print this help, then exit
16613
16289
  -V, --version    print version number and configuration settings, then exit
 
16290
      --config     print configuration, then exit
16614
16291
  -q, --quiet, --silent
16615
16292
                   do not print progress messages
16616
16293
  -d, --debug      don't remove temporary files
16629
16306
Configuration commands:
16630
16307
$config_commands
16631
16308
 
16632
 
Report bugs to <bug-autoconf@gnu.org>."
 
16309
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-bluetooth>."
16633
16310
 
16634
16311
_ACEOF
16635
16312
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16313
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16636
16314
ac_cs_version="\\
16637
 
gnome-bluetooth config.status 2.29.3
16638
 
configured by $0, generated by GNU Autoconf 2.63,
16639
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
16315
gnome-bluetooth config.status 2.91.5
 
16316
configured by $0, generated by GNU Autoconf 2.66,
 
16317
  with options \\"\$ac_cs_config\\"
16640
16318
 
16641
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
16319
Copyright (C) 2010 Free Software Foundation, Inc.
16642
16320
This config.status script is free software; the Free Software Foundation
16643
16321
gives unlimited permission to copy, distribute and modify it."
16644
16322
 
16674
16352
    ac_cs_recheck=: ;;
16675
16353
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16676
16354
    $as_echo "$ac_cs_version"; exit ;;
 
16355
  --config | --confi | --conf | --con | --co | --c )
 
16356
    $as_echo "$ac_cs_config"; exit ;;
16677
16357
  --debug | --debu | --deb | --de | --d | -d )
16678
16358
    debug=: ;;
16679
16359
  --file | --fil | --fi | --f )
16681
16361
    case $ac_optarg in
16682
16362
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16683
16363
    esac
16684
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
16364
    as_fn_append CONFIG_FILES " '$ac_optarg'"
16685
16365
    ac_need_defaults=false;;
16686
16366
  --header | --heade | --head | --hea )
16687
16367
    $ac_shift
16688
16368
    case $ac_optarg in
16689
16369
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16690
16370
    esac
16691
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
16371
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16692
16372
    ac_need_defaults=false;;
16693
16373
  --he | --h)
16694
16374
    # Conflict between --help and --header
16695
 
    { $as_echo "$as_me: error: ambiguous option: $1
16696
 
Try \`$0 --help' for more information." >&2
16697
 
   { (exit 1); exit 1; }; };;
 
16375
    as_fn_error $? "ambiguous option: \`$1'
 
16376
Try \`$0 --help' for more information.";;
16698
16377
  --help | --hel | -h )
16699
16378
    $as_echo "$ac_cs_usage"; exit ;;
16700
16379
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16702
16381
    ac_cs_silent=: ;;
16703
16382
 
16704
16383
  # This is an error.
16705
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
16706
 
Try \`$0 --help' for more information." >&2
16707
 
   { (exit 1); exit 1; }; } ;;
 
16384
  -*) as_fn_error $? "unrecognized option: \`$1'
 
16385
Try \`$0 --help' for more information." ;;
16708
16386
 
16709
 
  *) ac_config_targets="$ac_config_targets $1"
 
16387
  *) as_fn_append ac_config_targets " $1"
16710
16388
     ac_need_defaults=false ;;
16711
16389
 
16712
16390
  esac
16757
16435
sed_quote_subst='$sed_quote_subst'
16758
16436
double_quote_subst='$double_quote_subst'
16759
16437
delay_variable_subst='$delay_variable_subst'
16760
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16761
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16762
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16763
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16764
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16765
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16766
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16767
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16768
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16769
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16770
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16771
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16772
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16773
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16774
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16775
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16776
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16777
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16778
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16779
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16780
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16781
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16782
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16783
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16784
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16785
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16786
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16787
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16788
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16789
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16790
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16791
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16792
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16793
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16794
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16795
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16796
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16797
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16798
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16799
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16800
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16801
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16802
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16803
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16804
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16805
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16806
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16807
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16808
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16809
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16810
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16811
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16812
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16813
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16814
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16815
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16816
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16817
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16818
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16819
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16820
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16821
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16822
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16823
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16824
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16825
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16826
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16827
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16828
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16829
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16830
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16831
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16832
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16833
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16834
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16835
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16836
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16837
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16838
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16839
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16840
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16841
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16842
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16843
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16844
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16845
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16846
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16847
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16848
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16849
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16850
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16851
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16852
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16853
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16854
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16855
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16856
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16857
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16858
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16859
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16860
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16861
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16862
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16863
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16864
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16865
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16866
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16867
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16868
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16869
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16870
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16871
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16872
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16873
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16874
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16875
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16876
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16877
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16438
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
16439
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
16440
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
16441
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
16442
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
16443
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
16444
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
16445
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
16446
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
16447
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
16448
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
16449
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
16450
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
16451
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
16452
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
16453
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
16454
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
16455
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
16456
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
16457
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
16458
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
16459
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
16460
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
16461
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
16462
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
16463
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
16464
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
16465
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
16466
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
16467
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
16468
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
16469
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
16470
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
16471
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
16472
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
16473
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
16474
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
16475
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16476
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16477
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
16478
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
16479
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
16480
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
16481
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
16482
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
16483
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
16484
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
16485
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
16486
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
16487
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
16488
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
16489
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
16490
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
16491
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
16492
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
16493
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
16494
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
16495
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
16496
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
16497
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
16498
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
16499
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
16500
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
16501
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
16502
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
16503
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
16504
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
16505
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16506
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16507
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
16508
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
16509
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
16510
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
16511
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
16512
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
16513
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
16514
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
16515
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
16516
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
16517
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16518
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
16519
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
16520
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
16521
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
16522
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
16523
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
16524
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
16525
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
16526
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
16527
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
 
16528
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
16529
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
16530
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
16531
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
16532
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
16533
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
16534
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
16535
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
16536
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
16537
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
16538
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
16539
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
16540
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
16541
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
16542
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
16543
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
16544
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
16545
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16546
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16547
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
16548
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
16549
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
16550
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
16551
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
16552
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
16553
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
16554
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
16555
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
16556
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
16557
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16878
16558
 
16879
16559
LTCC='$LTCC'
16880
16560
LTCFLAGS='$LTCFLAGS'
16881
16561
compiler='$compiler_DEFAULT'
16882
16562
 
 
16563
# A function that is used when there is no print builtin or printf.
 
16564
func_fallback_echo ()
 
16565
{
 
16566
  eval 'cat <<_LTECHO_EOF
 
16567
\$1
 
16568
_LTECHO_EOF'
 
16569
}
 
16570
 
16883
16571
# Quote evaled strings.
16884
 
for var in SED \
 
16572
for var in SHELL \
 
16573
ECHO \
 
16574
SED \
16885
16575
GREP \
16886
16576
EGREP \
16887
16577
FGREP \
16905
16595
lt_cv_sys_global_symbol_to_cdecl \
16906
16596
lt_cv_sys_global_symbol_to_c_name_address \
16907
16597
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16908
 
SHELL \
16909
 
ECHO \
16910
16598
lt_prog_compiler_no_builtin_flag \
16911
16599
lt_prog_compiler_wl \
16912
16600
lt_prog_compiler_pic \
16936
16624
libname_spec \
16937
16625
library_names_spec \
16938
16626
soname_spec \
 
16627
install_override_mode \
16939
16628
finish_eval \
16940
16629
old_striplib \
16941
16630
striplib; do
16942
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16631
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16943
16632
    *[\\\\\\\`\\"\\\$]*)
16944
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16633
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16945
16634
      ;;
16946
16635
    *)
16947
16636
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16968
16657
finish_cmds \
16969
16658
sys_lib_search_path_spec \
16970
16659
sys_lib_dlsearch_path_spec; do
16971
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16660
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16972
16661
    *[\\\\\\\`\\"\\\$]*)
16973
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16662
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16974
16663
      ;;
16975
16664
    *)
16976
16665
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16978
16667
    esac
16979
16668
done
16980
16669
 
16981
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
16982
 
case \$lt_ECHO in
16983
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16984
 
  ;;
16985
 
esac
16986
 
 
16987
16670
ac_aux_dir='$ac_aux_dir'
16988
16671
xsi_shell='$xsi_shell'
16989
16672
lt_shell_append='$lt_shell_append'
17003
16686
 
17004
16687
 
17005
16688
 
 
16689
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
 
16690
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
 
16691
    # from automake < 1.5.
 
16692
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
 
16693
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
 
16694
    LINGUAS="${LINGUAS-%UNSET%}"
17006
16695
 
17007
16696
 
17008
16697
_ACEOF
17016
16705
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17017
16706
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17018
16707
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17019
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
16708
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17020
16709
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17021
16710
    "gnome-bluetooth-1.0.pc") CONFIG_FILES="$CONFIG_FILES gnome-bluetooth-1.0.pc" ;;
17022
16711
    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
17030
16719
    "sendto/Makefile") CONFIG_FILES="$CONFIG_FILES sendto/Makefile" ;;
17031
16720
    "moblin/Makefile") CONFIG_FILES="$CONFIG_FILES moblin/Makefile" ;;
17032
16721
    "moblin/bluetooth-panel.desktop.in") CONFIG_FILES="$CONFIG_FILES moblin/bluetooth-panel.desktop.in" ;;
 
16722
    "moblin/org.moblin.UX.Shell.Panels.bluetooth.service") CONFIG_FILES="$CONFIG_FILES moblin/org.moblin.UX.Shell.Panels.bluetooth.service" ;;
17033
16723
    "moblin/theme/Makefile") CONFIG_FILES="$CONFIG_FILES moblin/theme/Makefile" ;;
17034
16724
    "moblin/moblin-copy-n-paste/Makefile") CONFIG_FILES="$CONFIG_FILES moblin/moblin-copy-n-paste/Makefile" ;;
17035
16725
    "moblin/moblin-icons/Makefile") CONFIG_FILES="$CONFIG_FILES moblin/moblin-icons/Makefile" ;;
17041
16731
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
17042
16732
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17043
16733
 
17044
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17045
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17046
 
   { (exit 1); exit 1; }; };;
 
16734
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17047
16735
  esac
17048
16736
done
17049
16737
 
17070
16758
  trap 'exit_status=$?
17071
16759
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17072
16760
' 0
17073
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
16761
  trap 'as_fn_exit 1' 1 2 13 15
17074
16762
}
17075
16763
# Create a (secure) tmp directory for tmp files.
17076
16764
 
17081
16769
{
17082
16770
  tmp=./conf$$-$RANDOM
17083
16771
  (umask 077 && mkdir "$tmp")
17084
 
} ||
17085
 
{
17086
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
17087
 
   { (exit 1); exit 1; }
17088
 
}
 
16772
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17089
16773
 
17090
16774
# Set up the scripts for CONFIG_FILES section.
17091
16775
# No need to generate them if there are no CONFIG_FILES.
17093
16777
if test -n "$CONFIG_FILES"; then
17094
16778
 
17095
16779
 
17096
 
ac_cr='
 
 
b"'"
 
16780
ac_cr=`echo X | tr X '\015'`
 
16781
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
16782
# But we know of no other shell where ac_cr would be empty at this
 
16783
# point, so we can use a bashism as a fallback.
 
16784
if test "x$ac_cr" = x; then
 
16785
  eval ac_cr=\$\'\\r\'
 
16786
fi
17097
16787
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17098
16788
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17099
16789
  ac_cs_awk_cr='\\r'
17110
16800
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17111
16801
  echo "_ACEOF"
17112
16802
} >conf$$subs.sh ||
17113
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17114
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17115
 
   { (exit 1); exit 1; }; }
17116
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
16803
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16804
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17117
16805
ac_delim='%!_!# '
17118
16806
for ac_last_try in false false false false false :; do
17119
16807
  . ./conf$$subs.sh ||
17120
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17121
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17122
 
   { (exit 1); exit 1; }; }
 
16808
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17123
16809
 
17124
16810
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17125
16811
  if test $ac_delim_n = $ac_delim_num; then
17126
16812
    break
17127
16813
  elif $ac_last_try; then
17128
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17129
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17130
 
   { (exit 1); exit 1; }; }
 
16814
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17131
16815
  else
17132
16816
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17133
16817
  fi
17149
16833
t delim
17150
16834
:nl
17151
16835
h
17152
 
s/\(.\{148\}\).*/\1/
 
16836
s/\(.\{148\}\)..*/\1/
17153
16837
t more1
17154
16838
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17155
16839
p
17163
16847
t nl
17164
16848
:delim
17165
16849
h
17166
 
s/\(.\{148\}\).*/\1/
 
16850
s/\(.\{148\}\)..*/\1/
17167
16851
t more2
17168
16852
s/["\\]/\\&/g; s/^/"/; s/$/"/
17169
16853
p
17216
16900
else
17217
16901
  cat
17218
16902
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17219
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
17220
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
17221
 
   { (exit 1); exit 1; }; }
 
16903
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17222
16904
_ACEOF
17223
16905
 
17224
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
17225
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
16906
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
16907
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17226
16908
# trailing colons and then remove the whole line if VPATH becomes empty
17227
16909
# (actually we leave an empty line to preserve line numbers).
17228
16910
if test "x$srcdir" = x.; then
17229
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
17230
 
s/:*\$(srcdir):*/:/
17231
 
s/:*\${srcdir}:*/:/
17232
 
s/:*@srcdir@:*/:/
17233
 
s/^\([^=]*=[     ]*\):*/\1/
 
16911
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
16912
h
 
16913
s///
 
16914
s/^/:/
 
16915
s/[      ]*$/:/
 
16916
s/:\$(srcdir):/:/g
 
16917
s/:\${srcdir}:/:/g
 
16918
s/:@srcdir@:/:/g
 
16919
s/^:*//
17234
16920
s/:*$//
 
16921
x
 
16922
s/\(=[   ]*\).*/\1/
 
16923
G
 
16924
s/\n//
17235
16925
s/^[^=]*=[       ]*$//
17236
16926
}'
17237
16927
fi
17259
16949
  if test -z "$ac_t"; then
17260
16950
    break
17261
16951
  elif $ac_last_try; then
17262
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
17263
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
17264
 
   { (exit 1); exit 1; }; }
 
16952
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17265
16953
  else
17266
16954
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17267
16955
  fi
17346
17034
_ACAWK
17347
17035
_ACEOF
17348
17036
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17349
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
17350
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
17351
 
   { (exit 1); exit 1; }; }
 
17037
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17352
17038
fi # test -n "$CONFIG_HEADERS"
17353
17039
 
17354
17040
 
17361
17047
  esac
17362
17048
  case $ac_mode$ac_tag in
17363
17049
  :[FHL]*:*);;
17364
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
17365
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
17366
 
   { (exit 1); exit 1; }; };;
 
17050
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17367
17051
  :[FH]-) ac_tag=-:-;;
17368
17052
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17369
17053
  esac
17391
17075
           [\\/$]*) false;;
17392
17076
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17393
17077
           esac ||
17394
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
17395
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
17396
 
   { (exit 1); exit 1; }; };;
 
17078
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17397
17079
      esac
17398
17080
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17399
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
17081
      as_fn_append ac_file_inputs " '$ac_f'"
17400
17082
    done
17401
17083
 
17402
17084
    # Let's still pretend it is `configure' which instantiates (i.e., don't
17407
17089
        `' by configure.'
17408
17090
    if test x"$ac_file" != x-; then
17409
17091
      configure_input="$ac_file.  $configure_input"
17410
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
17092
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17411
17093
$as_echo "$as_me: creating $ac_file" >&6;}
17412
17094
    fi
17413
17095
    # Neutralize special characters interpreted by sed in replacement strings.
17420
17102
 
17421
17103
    case $ac_tag in
17422
17104
    *:-:* | *:-) cat >"$tmp/stdin" \
17423
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17424
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17425
 
   { (exit 1); exit 1; }; } ;;
 
17105
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17426
17106
    esac
17427
17107
    ;;
17428
17108
  esac
17450
17130
            q
17451
17131
          }
17452
17132
          s/.*/./; q'`
17453
 
  { as_dir="$ac_dir"
17454
 
  case $as_dir in #(
17455
 
  -*) as_dir=./$as_dir;;
17456
 
  esac
17457
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17458
 
    as_dirs=
17459
 
    while :; do
17460
 
      case $as_dir in #(
17461
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17462
 
      *) as_qdir=$as_dir;;
17463
 
      esac
17464
 
      as_dirs="'$as_qdir' $as_dirs"
17465
 
      as_dir=`$as_dirname -- "$as_dir" ||
17466
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17467
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
17468
 
         X"$as_dir" : 'X\(//\)$' \| \
17469
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17470
 
$as_echo X"$as_dir" |
17471
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17472
 
            s//\1/
17473
 
            q
17474
 
          }
17475
 
          /^X\(\/\/\)[^/].*/{
17476
 
            s//\1/
17477
 
            q
17478
 
          }
17479
 
          /^X\(\/\/\)$/{
17480
 
            s//\1/
17481
 
            q
17482
 
          }
17483
 
          /^X\(\/\).*/{
17484
 
            s//\1/
17485
 
            q
17486
 
          }
17487
 
          s/.*/./; q'`
17488
 
      test -d "$as_dir" && break
17489
 
    done
17490
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
17491
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17492
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
17493
 
   { (exit 1); exit 1; }; }; }
 
17133
  as_dir="$ac_dir"; as_fn_mkdir_p
17494
17134
  ac_builddir=.
17495
17135
 
17496
17136
case "$ac_dir" in
17547
17187
# If the template does not know about datarootdir, expand it.
17548
17188
# FIXME: This hack should be removed a few years after 2.60.
17549
17189
ac_datarootdir_hack=; ac_datarootdir_seen=
17550
 
 
17551
17190
ac_sed_dataroot='
17552
17191
/datarootdir/ {
17553
17192
  p
17557
17196
/@docdir@/p
17558
17197
/@infodir@/p
17559
17198
/@localedir@/p
17560
 
/@mandir@/p
17561
 
'
 
17199
/@mandir@/p'
17562
17200
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17563
17201
*datarootdir*) ac_datarootdir_seen=yes;;
17564
17202
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17565
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
17203
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17566
17204
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17567
17205
_ACEOF
17568
17206
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17572
17210
  s&@infodir@&$infodir&g
17573
17211
  s&@localedir@&$localedir&g
17574
17212
  s&@mandir@&$mandir&g
17575
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
17213
  s&\\\${datarootdir}&$datarootdir&g' ;;
17576
17214
esac
17577
17215
_ACEOF
17578
17216
 
17601
17239
$ac_datarootdir_hack
17602
17240
"
17603
17241
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17604
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17605
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17606
 
   { (exit 1); exit 1; }; }
 
17242
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17607
17243
 
17608
17244
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17609
17245
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17610
17246
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17611
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17612
 
which seems to be undefined.  Please make sure it is defined." >&5
 
17247
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
17248
which seems to be undefined.  Please make sure it is defined" >&5
17613
17249
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17614
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
17250
which seems to be undefined.  Please make sure it is defined" >&2;}
17615
17251
 
17616
17252
  rm -f "$tmp/stdin"
17617
17253
  case $ac_file in
17618
17254
  -) cat "$tmp/out" && rm -f "$tmp/out";;
17619
17255
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17620
17256
  esac \
17621
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17622
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17623
 
   { (exit 1); exit 1; }; }
 
17257
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17624
17258
 ;;
17625
17259
  :H)
17626
17260
  #
17631
17265
      $as_echo "/* $configure_input  */" \
17632
17266
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17633
17267
    } >"$tmp/config.h" \
17634
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17635
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17636
 
   { (exit 1); exit 1; }; }
 
17268
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17637
17269
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17638
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
17270
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17639
17271
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17640
17272
    else
17641
17273
      rm -f "$ac_file"
17642
17274
      mv "$tmp/config.h" "$ac_file" \
17643
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17644
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17645
 
   { (exit 1); exit 1; }; }
 
17275
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17646
17276
    fi
17647
17277
  else
17648
17278
    $as_echo "/* $configure_input  */" \
17649
17279
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17650
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
17651
 
$as_echo "$as_me: error: could not create -" >&2;}
17652
 
   { (exit 1); exit 1; }; }
 
17280
      || as_fn_error $? "could not create -" "$LINENO" 5
17653
17281
  fi
17654
17282
# Compute "$ac_file"'s index in $config_headers.
17655
17283
_am_arg="$ac_file"
17687
17315
          s/.*/./; q'`/stamp-h$_am_stamp_count
17688
17316
 ;;
17689
17317
 
17690
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
17318
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17691
17319
$as_echo "$as_me: executing $ac_file commands" >&6;}
17692
17320
 ;;
17693
17321
  esac
17782
17410
            q
17783
17411
          }
17784
17412
          s/.*/./; q'`
17785
 
      { as_dir=$dirpart/$fdir
17786
 
  case $as_dir in #(
17787
 
  -*) as_dir=./$as_dir;;
17788
 
  esac
17789
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17790
 
    as_dirs=
17791
 
    while :; do
17792
 
      case $as_dir in #(
17793
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17794
 
      *) as_qdir=$as_dir;;
17795
 
      esac
17796
 
      as_dirs="'$as_qdir' $as_dirs"
17797
 
      as_dir=`$as_dirname -- "$as_dir" ||
17798
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17799
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
17800
 
         X"$as_dir" : 'X\(//\)$' \| \
17801
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17802
 
$as_echo X"$as_dir" |
17803
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17804
 
            s//\1/
17805
 
            q
17806
 
          }
17807
 
          /^X\(\/\/\)[^/].*/{
17808
 
            s//\1/
17809
 
            q
17810
 
          }
17811
 
          /^X\(\/\/\)$/{
17812
 
            s//\1/
17813
 
            q
17814
 
          }
17815
 
          /^X\(\/\).*/{
17816
 
            s//\1/
17817
 
            q
17818
 
          }
17819
 
          s/.*/./; q'`
17820
 
      test -d "$as_dir" && break
17821
 
    done
17822
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
17823
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17824
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
17825
 
   { (exit 1); exit 1; }; }; }
 
17413
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
17826
17414
      # echo "creating $dirpart/$file"
17827
17415
      echo '# dummy' > "$dirpart/$file"
17828
17416
    done
17850
17438
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17851
17439
#
17852
17440
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17853
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
17441
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
17442
#                 Inc.
17854
17443
#   Written by Gordon Matzigkeit, 1996
17855
17444
#
17856
17445
#   This file is part of GNU Libtool.
17898
17487
# Whether or not to optimize for fast installation.
17899
17488
fast_install=$enable_fast_install
17900
17489
 
 
17490
# Shell to use when invoking shell scripts.
 
17491
SHELL=$lt_SHELL
 
17492
 
 
17493
# An echo program that protects backslashes.
 
17494
ECHO=$lt_ECHO
 
17495
 
17901
17496
# The host system.
17902
17497
host_alias=$host_alias
17903
17498
host=$host
17947
17542
# turn newlines into spaces.
17948
17543
NL2SP=$lt_lt_NL2SP
17949
17544
 
17950
 
# How to create reloadable object files.
17951
 
reload_flag=$lt_reload_flag
17952
 
reload_cmds=$lt_reload_cmds
17953
 
 
17954
17545
# An object symbol dumper.
17955
17546
OBJDUMP=$lt_OBJDUMP
17956
17547
 
17972
17563
old_postinstall_cmds=$lt_old_postinstall_cmds
17973
17564
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17974
17565
 
 
17566
# Whether to use a lock for old archive extraction.
 
17567
lock_old_archive_extraction=$lock_old_archive_extraction
 
17568
 
17975
17569
# A C compiler.
17976
17570
LTCC=$lt_CC
17977
17571
 
17993
17587
# The name of the directory that contains temporary libtool files.
17994
17588
objdir=$objdir
17995
17589
 
17996
 
# Shell to use when invoking shell scripts.
17997
 
SHELL=$lt_SHELL
17998
 
 
17999
 
# An echo program that does not interpret backslashes.
18000
 
ECHO=$lt_ECHO
18001
 
 
18002
17590
# Used to examine libraries when file_magic_cmd begins with "file".
18003
17591
MAGIC_CMD=$MAGIC_CMD
18004
17592
 
18061
17649
# The coded name of the library, if different from the real name.
18062
17650
soname_spec=$lt_soname_spec
18063
17651
 
 
17652
# Permission mode override for installation of shared libraries.
 
17653
install_override_mode=$lt_install_override_mode
 
17654
 
18064
17655
# Command to use after installation of a shared archive.
18065
17656
postinstall_cmds=$lt_postinstall_cmds
18066
17657
 
18100
17691
# The linker used to build libraries.
18101
17692
LD=$lt_LD
18102
17693
 
 
17694
# How to create reloadable object files.
 
17695
reload_flag=$lt_reload_flag
 
17696
reload_cmds=$lt_reload_cmds
 
17697
 
18103
17698
# Commands used to build an old-style archive.
18104
17699
old_archive_cmds=$lt_old_archive_cmds
18105
17700
 
18359
17954
func_dirname ()
18360
17955
{
18361
17956
  # Extract subdirectory from the argument.
18362
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
17957
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
18363
17958
  if test "X$func_dirname_result" = "X${1}"; then
18364
17959
    func_dirname_result="${3}"
18365
17960
  else
18370
17965
# func_basename file
18371
17966
func_basename ()
18372
17967
{
18373
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
17968
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
18374
17969
}
18375
17970
 
18376
17971
 
18383
17978
func_stripname ()
18384
17979
{
18385
17980
  case ${2} in
18386
 
    .*) func_stripname_result=`$ECHO "X${3}" \
18387
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18388
 
    *)  func_stripname_result=`$ECHO "X${3}" \
18389
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
17981
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
17982
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18390
17983
  esac
18391
17984
}
18392
17985
 
18397
17990
# func_opt_split
18398
17991
func_opt_split ()
18399
17992
{
18400
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18401
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
17993
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
 
17994
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18402
17995
}
18403
17996
 
18404
17997
# func_lo2o object
18405
17998
func_lo2o ()
18406
17999
{
18407
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
18000
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
18408
18001
}
18409
18002
 
18410
18003
# func_xform libobj-or-source
18411
18004
func_xform ()
18412
18005
{
18413
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
18006
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18414
18007
}
18415
18008
 
18416
18009
# func_arith arithmetic-term...
18464
18057
  chmod +x "$ofile"
18465
18058
 
18466
18059
 ;;
18467
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18468
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18469
 
      esac ;;
 
18060
    "po-directories":C)
 
18061
    for ac_file in $CONFIG_FILES; do
 
18062
      # Support "outfile[:infile[:infile...]]"
 
18063
      case "$ac_file" in
 
18064
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
18065
      esac
 
18066
      # PO directories have a Makefile.in generated from Makefile.in.in.
 
18067
      case "$ac_file" in */Makefile.in)
 
18068
        # Adjust a relative srcdir.
 
18069
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
 
18070
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
 
18071
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
 
18072
        # In autoconf-2.13 it is called $ac_given_srcdir.
 
18073
        # In autoconf-2.50 it is called $srcdir.
 
18074
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
 
18075
        case "$ac_given_srcdir" in
 
18076
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
 
18077
          /*) top_srcdir="$ac_given_srcdir" ;;
 
18078
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
18079
        esac
 
18080
        # Treat a directory as a PO directory if and only if it has a
 
18081
        # POTFILES.in file. This allows packages to have multiple PO
 
18082
        # directories under different names or in different locations.
 
18083
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
 
18084
          rm -f "$ac_dir/POTFILES"
 
18085
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
 
18086
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
18087
          POMAKEFILEDEPS="POTFILES.in"
 
18088
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
 
18089
          # on $ac_dir but don't depend on user-specified configuration
 
18090
          # parameters.
 
18091
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
 
18092
            # The LINGUAS file contains the set of available languages.
 
18093
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
 
18094
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
 
18095
            fi
 
18096
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
18097
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
18098
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
 
18099
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
 
18100
          else
 
18101
            # The set of available languages was given in configure.in.
 
18102
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
18103
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
 
18104
          fi
 
18105
          # Compute POFILES
 
18106
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
 
18107
          # Compute UPDATEPOFILES
 
18108
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
 
18109
          # Compute DUMMYPOFILES
 
18110
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
 
18111
          # Compute GMOFILES
 
18112
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
 
18113
          case "$ac_given_srcdir" in
 
18114
            .) srcdirpre= ;;
 
18115
            *) srcdirpre='$(srcdir)/' ;;
 
18116
          esac
 
18117
          POFILES=
 
18118
          UPDATEPOFILES=
 
18119
          DUMMYPOFILES=
 
18120
          GMOFILES=
 
18121
          for lang in $ALL_LINGUAS; do
 
18122
            POFILES="$POFILES $srcdirpre$lang.po"
 
18123
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
 
18124
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
18125
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
 
18126
          done
 
18127
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
 
18128
          # environment variable.
 
18129
          INST_LINGUAS=
 
18130
          if test -n "$ALL_LINGUAS"; then
 
18131
            for presentlang in $ALL_LINGUAS; do
 
18132
              useit=no
 
18133
              if test "%UNSET%" != "$LINGUAS"; then
 
18134
                desiredlanguages="$LINGUAS"
 
18135
              else
 
18136
                desiredlanguages="$ALL_LINGUAS"
 
18137
              fi
 
18138
              for desiredlang in $desiredlanguages; do
 
18139
                # Use the presentlang catalog if desiredlang is
 
18140
                #   a. equal to presentlang, or
 
18141
                #   b. a variant of presentlang (because in this case,
 
18142
                #      presentlang can be used as a fallback for messages
 
18143
                #      which are not translated in the desiredlang catalog).
 
18144
                case "$desiredlang" in
 
18145
                  "$presentlang"*) useit=yes;;
 
18146
                esac
 
18147
              done
 
18148
              if test $useit = yes; then
 
18149
                INST_LINGUAS="$INST_LINGUAS $presentlang"
 
18150
              fi
 
18151
            done
 
18152
          fi
 
18153
          CATALOGS=
 
18154
          if test -n "$INST_LINGUAS"; then
 
18155
            for lang in $INST_LINGUAS; do
 
18156
              CATALOGS="$CATALOGS $lang.gmo"
 
18157
            done
 
18158
          fi
 
18159
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
 
18160
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
 
18161
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
 
18162
            if test -f "$f"; then
 
18163
              case "$f" in
 
18164
                *.orig | *.bak | *~) ;;
 
18165
                *) cat "$f" >> "$ac_dir/Makefile" ;;
 
18166
              esac
 
18167
            fi
 
18168
          done
 
18169
        fi
 
18170
        ;;
 
18171
      esac
 
18172
    done ;;
18470
18173
    "po/stamp-it":C)
18471
18174
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18472
 
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
18473
 
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
18474
 
   { (exit 1); exit 1; }; }
 
18175
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18475
18176
    fi
18476
18177
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18477
18178
    >"po/stamp-it.tmp"
18494
18195
done # for ac_tag
18495
18196
 
18496
18197
 
18497
 
{ (exit 0); exit 0; }
 
18198
as_fn_exit 0
18498
18199
_ACEOF
18499
 
chmod +x $CONFIG_STATUS
18500
18200
ac_clean_files=$ac_clean_files_save
18501
18201
 
18502
18202
test $ac_write_fail = 0 ||
18503
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
18504
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
18505
 
   { (exit 1); exit 1; }; }
 
18203
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18506
18204
 
18507
18205
 
18508
18206
# configure is writing to config.log, and then calls config.status.
18523
18221
  exec 5>>config.log
18524
18222
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18525
18223
  # would make configure fail if this is the last instruction.
18526
 
  $ac_cs_success || { (exit 1); exit 1; }
 
18224
  $ac_cs_success || as_fn_exit 1
18527
18225
fi
18528
18226
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18529
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
18227
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18530
18228
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18531
18229
fi
18532
18230