~ubuntu-branches/ubuntu/quantal/desktop-file-utils/quantal

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-11-03 14:52:04 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20101103145204-jbpthc6vzm1gu2w5
Tags: 0.17-0ubuntu1
* New upstream release
* debian/source:
  - Use source version 3.0
* debian/rules:
  - Stop using simple-patchsys.mk

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 desktop-file-utils 0.16.
 
3
# Generated by GNU Autoconf 2.65 for desktop-file-utils 0.17.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
# Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
case $0 in #((
100
95
  *[\\/]* ) as_myself=$0 ;;
101
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
97
for as_dir in $PATH
103
98
do
104
99
  IFS=$as_save_IFS
105
100
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
108
103
IFS=$as_save_IFS
109
104
 
110
105
     ;;
116
111
fi
117
112
if test ! -f "$as_myself"; then
118
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
114
  exit 1
120
115
fi
121
116
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
124
done
126
125
PS1='$ '
127
126
PS2='> '
133
132
LANGUAGE=C
134
133
export LANGUAGE
135
134
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
135
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
137
 
175
138
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
177
178
  as_have_required=yes
178
179
else
179
180
  as_have_required=no
180
181
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
 
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
188
do
245
189
  IFS=$as_save_IFS
246
190
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
191
  as_found=:
 
192
  case $as_dir in #(
248
193
         /*)
249
194
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
251
204
           done;;
252
205
       esac
 
206
  as_found=false
253
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
254
212
IFS=$as_save_IFS
255
213
 
256
214
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
222
        export CONFIG_SHELL
368
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
224
fi
370
225
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
234
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils
 
235
$0: about your system, including any error possibly output
 
236
$0: before this message. Then install a modern shell, or
 
237
$0: manually run the script under such a shell if you do
 
238
$0: have one."
 
239
  fi
 
240
  exit 1
 
241
fi
 
242
fi
 
243
fi
 
244
SHELL=${CONFIG_SHELL-/bin/sh}
 
245
export SHELL
 
246
# Unset more variables known to interfere with behavior of common tools.
 
247
CLICOLOR_FORCE= GREP_OPTIONS=
 
248
unset CLICOLOR_FORCE GREP_OPTIONS
 
249
 
 
250
## --------------------- ##
 
251
## M4sh Shell Functions. ##
 
252
## --------------------- ##
 
253
# as_fn_unset VAR
 
254
# ---------------
 
255
# Portably unset VAR.
 
256
as_fn_unset ()
 
257
{
 
258
  { eval $1=; unset $1;}
 
259
}
 
260
as_unset=as_fn_unset
 
261
 
 
262
# as_fn_set_status STATUS
 
263
# -----------------------
 
264
# Set $? to STATUS, without forking.
 
265
as_fn_set_status ()
 
266
{
 
267
  return $1
 
268
} # as_fn_set_status
 
269
 
 
270
# as_fn_exit STATUS
 
271
# -----------------
 
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
273
as_fn_exit ()
 
274
{
 
275
  set +e
 
276
  as_fn_set_status $1
 
277
  exit $1
 
278
} # as_fn_exit
 
279
 
 
280
# as_fn_mkdir_p
 
281
# -------------
 
282
# Create "$as_dir" as a directory, including parents if necessary.
 
283
as_fn_mkdir_p ()
 
284
{
 
285
 
 
286
  case $as_dir in #(
 
287
  -*) as_dir=./$as_dir;;
 
288
  esac
 
289
  test -d "$as_dir" || eval $as_mkdir_p || {
 
290
    as_dirs=
 
291
    while :; do
 
292
      case $as_dir in #(
 
293
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
294
      *) as_qdir=$as_dir;;
 
295
      esac
 
296
      as_dirs="'$as_qdir' $as_dirs"
 
297
      as_dir=`$as_dirname -- "$as_dir" ||
 
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
299
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
300
         X"$as_dir" : 'X\(//\)$' \| \
 
301
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
302
$as_echo X"$as_dir" |
 
303
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)[^/].*/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\/\)$/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          /^X\(\/\).*/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          s/.*/./; q'`
 
320
      test -d "$as_dir" && break
 
321
    done
 
322
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
323
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
324
 
 
325
 
 
326
} # as_fn_mkdir_p
 
327
# as_fn_append VAR VALUE
 
328
# ----------------------
 
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
330
# advantage of any shell optimizations that allow amortized linear growth over
 
331
# repeated appends, instead of the typical quadratic growth present in naive
 
332
# implementations.
 
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
334
  eval 'as_fn_append ()
 
335
  {
 
336
    eval $1+=\$2
 
337
  }'
 
338
else
 
339
  as_fn_append ()
 
340
  {
 
341
    eval $1=\$$1\$2
 
342
  }
 
343
fi # as_fn_append
 
344
 
 
345
# as_fn_arith ARG...
 
346
# ------------------
 
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
349
# must be portable across $(()) and expr.
 
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
351
  eval 'as_fn_arith ()
 
352
  {
 
353
    as_val=$(( $* ))
 
354
  }'
 
355
else
 
356
  as_fn_arith ()
 
357
  {
 
358
    as_val=`expr "$@" || test $? -eq 1`
 
359
  }
 
360
fi # as_fn_arith
 
361
 
 
362
 
 
363
# as_fn_error ERROR [LINENO LOG_FD]
 
364
# ---------------------------------
 
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
367
# script with status $?, using 1 if that was 0.
 
368
as_fn_error ()
 
369
{
 
370
  as_status=$?; test $as_status -eq 0 && as_status=1
 
371
  if test "$3"; then
 
372
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
373
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
374
  fi
 
375
  $as_echo "$as_me: error: $1" >&2
 
376
  as_fn_exit $as_status
 
377
} # as_fn_error
 
378
 
 
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
380
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
381
  as_expr=expr
 
382
else
 
383
  as_expr=false
 
384
fi
 
385
 
 
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
387
  as_basename=basename
 
388
else
 
389
  as_basename=false
 
390
fi
 
391
 
 
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
393
  as_dirname=dirname
 
394
else
 
395
  as_dirname=false
 
396
fi
 
397
 
 
398
as_me=`$as_basename -- "$0" ||
 
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
400
         X"$0" : 'X\(//\)$' \| \
 
401
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
402
$as_echo X/"$0" |
 
403
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\/\)$/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          /^X\/\(\/\).*/{
 
412
            s//\1/
 
413
            q
 
414
          }
 
415
          s/.*/./; q'`
 
416
 
 
417
# Avoid depending upon Character Ranges.
 
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
421
as_cr_digits='0123456789'
 
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
426
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
427
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
428
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
429
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
430
  sed -n '
461
431
    p
462
432
    /[$]LINENO/=
473
443
      s/-\n.*//
474
444
    ' >$as_me.lineno &&
475
445
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
446
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
447
 
479
448
  # Don't try to exec as it changes $[0], causing all sort of problems
480
449
  # (the dirname of $[0] is not the place where we might find the
484
453
  exit
485
454
}
486
455
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
456
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
457
case `echo -n x` in #(((((
496
458
-n*)
497
 
  case `echo 'x\c'` in
 
459
  case `echo 'xy\c'` in
498
460
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
461
  xy)  ECHO_C='\c';;
 
462
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
463
       ECHO_T=' ';;
500
464
  esac;;
501
465
*)
502
466
  ECHO_N='-n';;
503
467
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
468
 
511
469
rm -f conf$$ conf$$.exe conf$$.file
512
470
if test -d conf$$.dir; then
536
494
rmdir conf$$.dir 2>/dev/null
537
495
 
538
496
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
497
  as_mkdir_p='mkdir -p "$as_dir"'
540
498
else
541
499
  test -d ./-p && rmdir ./-p
542
500
  as_mkdir_p=false
555
513
      if test -d "$1"; then
556
514
        test -d "$1/.";
557
515
      else
558
 
        case $1 in
 
516
        case $1 in #(
559
517
        -*)set "./$1";;
560
518
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
519
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
520
        ???[sx]*):;;*)false;;esac;fi
563
521
    '\'' sh
564
522
  '
573
531
 
574
532
 
575
533
 
576
 
 
577
534
# Check that we are running under the correct shell.
578
535
SHELL=${CONFIG_SHELL-/bin/sh}
579
536
 
722
679
 
723
680
 
724
681
 
725
 
exec 7<&0 </dev/null 6>&1
 
682
test -n "$DJDIR" || exec 7<&0 </dev/null
 
683
exec 6>&1
726
684
 
727
685
# Name of the host.
728
686
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
740
698
subdirs=
741
699
MFLAGS=
742
700
MAKEFLAGS=
743
 
SHELL=${CONFIG_SHELL-/bin/sh}
744
701
 
745
702
# Identity of this package.
746
703
PACKAGE_NAME='desktop-file-utils'
747
704
PACKAGE_TARNAME='desktop-file-utils'
748
 
PACKAGE_VERSION='0.16'
749
 
PACKAGE_STRING='desktop-file-utils 0.16'
 
705
PACKAGE_VERSION='0.17'
 
706
PACKAGE_STRING='desktop-file-utils 0.17'
750
707
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils'
 
708
PACKAGE_URL=''
751
709
 
752
710
ac_unique_file="src/validate.h"
753
711
# Factoring default headers for most tests.
795
753
EMACS
796
754
DESKTOP_FILE_UTILS_LIBS
797
755
DESKTOP_FILE_UTILS_CFLAGS
 
756
PKG_CONFIG_LIBDIR
 
757
PKG_CONFIG_PATH
798
758
PKG_CONFIG
799
759
OTOOL64
800
760
OTOOL
899
859
program_transform_name
900
860
prefix
901
861
exec_prefix
 
862
PACKAGE_URL
902
863
PACKAGE_BUGREPORT
903
864
PACKAGE_STRING
904
865
PACKAGE_VERSION
930
891
CPPFLAGS
931
892
CPP
932
893
PKG_CONFIG
 
894
PKG_CONFIG_PATH
 
895
PKG_CONFIG_LIBDIR
933
896
DESKTOP_FILE_UTILS_CFLAGS
934
897
DESKTOP_FILE_UTILS_LIBS
935
898
EMACS
1042
1005
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1043
1006
    # Reject names that are not valid shell variable names.
1044
1007
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1046
 
   { (exit 1); exit 1; }; }
 
1008
      as_fn_error "invalid feature name: $ac_useropt"
1047
1009
    ac_useropt_orig=$ac_useropt
1048
1010
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049
1011
    case $ac_user_opts in
1069
1031
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1070
1032
    # Reject names that are not valid shell variable names.
1071
1033
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1073
 
   { (exit 1); exit 1; }; }
 
1034
      as_fn_error "invalid feature name: $ac_useropt"
1074
1035
    ac_useropt_orig=$ac_useropt
1075
1036
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076
1037
    case $ac_user_opts in
1274
1235
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1275
1236
    # Reject names that are not valid shell variable names.
1276
1237
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1277
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1278
 
   { (exit 1); exit 1; }; }
 
1238
      as_fn_error "invalid package name: $ac_useropt"
1279
1239
    ac_useropt_orig=$ac_useropt
1280
1240
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1281
1241
    case $ac_user_opts in
1291
1251
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1292
1252
    # Reject names that are not valid shell variable names.
1293
1253
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1294
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1295
 
   { (exit 1); exit 1; }; }
 
1254
      as_fn_error "invalid package name: $ac_useropt"
1296
1255
    ac_useropt_orig=$ac_useropt
1297
1256
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298
1257
    case $ac_user_opts in
1322
1281
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1323
1282
    x_libraries=$ac_optarg ;;
1324
1283
 
1325
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1326
 
Try \`$0 --help' for more information." >&2
1327
 
   { (exit 1); exit 1; }; }
 
1284
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1285
Try \`$0 --help' for more information."
1328
1286
    ;;
1329
1287
 
1330
1288
  *=*)
1331
1289
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1332
1290
    # Reject names that are not valid shell variable names.
1333
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1334
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1335
 
   { (exit 1); exit 1; }; }
 
1291
    case $ac_envvar in #(
 
1292
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1293
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1294
    esac
1336
1295
    eval $ac_envvar=\$ac_optarg
1337
1296
    export $ac_envvar ;;
1338
1297
 
1349
1308
 
1350
1309
if test -n "$ac_prev"; then
1351
1310
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1352
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1353
 
   { (exit 1); exit 1; }; }
 
1311
  as_fn_error "missing argument to $ac_option"
1354
1312
fi
1355
1313
 
1356
1314
if test -n "$ac_unrecognized_opts"; then
1357
1315
  case $enable_option_checking in
1358
1316
    no) ;;
1359
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1360
 
   { (exit 1); exit 1; }; } ;;
 
1317
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1361
1318
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362
1319
  esac
1363
1320
fi
1380
1337
    [\\/$]* | ?:[\\/]* )  continue;;
1381
1338
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1382
1339
  esac
1383
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1384
 
   { (exit 1); exit 1; }; }
 
1340
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1385
1341
done
1386
1342
 
1387
1343
# There might be people who depend on the old broken behavior: `$host'
1411
1367
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1412
1368
ac_ls_di=`ls -di .` &&
1413
1369
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1414
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1415
 
   { (exit 1); exit 1; }; }
 
1370
  as_fn_error "working directory cannot be determined"
1416
1371
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1417
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1418
 
   { (exit 1); exit 1; }; }
 
1372
  as_fn_error "pwd does not report name of working directory"
1419
1373
 
1420
1374
 
1421
1375
# Find the source files, if location was not specified.
1454
1408
fi
1455
1409
if test ! -r "$srcdir/$ac_unique_file"; then
1456
1410
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1457
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1458
 
   { (exit 1); exit 1; }; }
 
1411
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1459
1412
fi
1460
1413
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1461
1414
ac_abs_confdir=`(
1462
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1463
 
   { (exit 1); exit 1; }; }
 
1415
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1464
1416
        pwd)`
1465
1417
# When building in place, set srcdir=.
1466
1418
if test "$ac_abs_confdir" = "$ac_pwd"; then
1486
1438
  # Omit some internal or obsolete options to make the list less imposing.
1487
1439
  # This message is too long to be a string in the A/UX 3.1 sh.
1488
1440
  cat <<_ACEOF
1489
 
\`configure' configures desktop-file-utils 0.16 to adapt to many kinds of systems.
 
1441
\`configure' configures desktop-file-utils 0.17 to adapt to many kinds of systems.
1490
1442
 
1491
1443
Usage: $0 [OPTION]... [VAR=VALUE]...
1492
1444
 
1557
1509
 
1558
1510
if test -n "$ac_init_help"; then
1559
1511
  case $ac_init_help in
1560
 
     short | recursive ) echo "Configuration of desktop-file-utils 0.16:";;
 
1512
     short | recursive ) echo "Configuration of desktop-file-utils 0.17:";;
1561
1513
   esac
1562
1514
  cat <<\_ACEOF
1563
1515
 
1591
1543
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1592
1544
              nonstandard directory <lib dir>
1593
1545
  LIBS        libraries to pass to the linker, e.g. -l<library>
1594
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1546
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1595
1547
              you have headers in a nonstandard directory <include dir>
1596
1548
  CPP         C preprocessor
1597
1549
  PKG_CONFIG  path to pkg-config utility
 
1550
  PKG_CONFIG_PATH
 
1551
              directories to add to pkg-config's search path
 
1552
  PKG_CONFIG_LIBDIR
 
1553
              path overriding pkg-config's built-in search path
1598
1554
  DESKTOP_FILE_UTILS_CFLAGS
1599
1555
              C compiler flags for DESKTOP_FILE_UTILS, overriding pkg-config
1600
1556
  DESKTOP_FILE_UTILS_LIBS
1669
1625
test -n "$ac_init_help" && exit $ac_status
1670
1626
if $ac_init_version; then
1671
1627
  cat <<\_ACEOF
1672
 
desktop-file-utils configure 0.16
1673
 
generated by GNU Autoconf 2.63
 
1628
desktop-file-utils configure 0.17
 
1629
generated by GNU Autoconf 2.65
1674
1630
 
1675
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1676
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1631
Copyright (C) 2009 Free Software Foundation, Inc.
1677
1632
This configure script is free software; the Free Software Foundation
1678
1633
gives unlimited permission to copy, distribute and modify it.
1679
1634
_ACEOF
1680
1635
  exit
1681
1636
fi
 
1637
 
 
1638
## ------------------------ ##
 
1639
## Autoconf initialization. ##
 
1640
## ------------------------ ##
 
1641
 
 
1642
# ac_fn_c_try_compile LINENO
 
1643
# --------------------------
 
1644
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1645
ac_fn_c_try_compile ()
 
1646
{
 
1647
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1648
  rm -f conftest.$ac_objext
 
1649
  if { { ac_try="$ac_compile"
 
1650
case "(($ac_try" in
 
1651
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1652
  *) ac_try_echo=$ac_try;;
 
1653
esac
 
1654
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1655
$as_echo "$ac_try_echo"; } >&5
 
1656
  (eval "$ac_compile") 2>conftest.err
 
1657
  ac_status=$?
 
1658
  if test -s conftest.err; then
 
1659
    grep -v '^ *+' conftest.err >conftest.er1
 
1660
    cat conftest.er1 >&5
 
1661
    mv -f conftest.er1 conftest.err
 
1662
  fi
 
1663
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1664
  test $ac_status = 0; } && {
 
1665
         test -z "$ac_c_werror_flag" ||
 
1666
         test ! -s conftest.err
 
1667
       } && test -s conftest.$ac_objext; then :
 
1668
  ac_retval=0
 
1669
else
 
1670
  $as_echo "$as_me: failed program was:" >&5
 
1671
sed 's/^/| /' conftest.$ac_ext >&5
 
1672
 
 
1673
        ac_retval=1
 
1674
fi
 
1675
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1676
  as_fn_set_status $ac_retval
 
1677
 
 
1678
} # ac_fn_c_try_compile
 
1679
 
 
1680
# ac_fn_c_try_link LINENO
 
1681
# -----------------------
 
1682
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1683
ac_fn_c_try_link ()
 
1684
{
 
1685
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1686
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1687
  if { { ac_try="$ac_link"
 
1688
case "(($ac_try" in
 
1689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1690
  *) ac_try_echo=$ac_try;;
 
1691
esac
 
1692
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1693
$as_echo "$ac_try_echo"; } >&5
 
1694
  (eval "$ac_link") 2>conftest.err
 
1695
  ac_status=$?
 
1696
  if test -s conftest.err; then
 
1697
    grep -v '^ *+' conftest.err >conftest.er1
 
1698
    cat conftest.er1 >&5
 
1699
    mv -f conftest.er1 conftest.err
 
1700
  fi
 
1701
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1702
  test $ac_status = 0; } && {
 
1703
         test -z "$ac_c_werror_flag" ||
 
1704
         test ! -s conftest.err
 
1705
       } && test -s conftest$ac_exeext && {
 
1706
         test "$cross_compiling" = yes ||
 
1707
         $as_test_x conftest$ac_exeext
 
1708
       }; then :
 
1709
  ac_retval=0
 
1710
else
 
1711
  $as_echo "$as_me: failed program was:" >&5
 
1712
sed 's/^/| /' conftest.$ac_ext >&5
 
1713
 
 
1714
        ac_retval=1
 
1715
fi
 
1716
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1717
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1718
  # interfere with the next link command; also delete a directory that is
 
1719
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1720
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1721
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1722
  as_fn_set_status $ac_retval
 
1723
 
 
1724
} # ac_fn_c_try_link
 
1725
 
 
1726
# ac_fn_c_try_cpp LINENO
 
1727
# ----------------------
 
1728
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1729
ac_fn_c_try_cpp ()
 
1730
{
 
1731
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1732
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1733
case "(($ac_try" in
 
1734
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1735
  *) ac_try_echo=$ac_try;;
 
1736
esac
 
1737
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1738
$as_echo "$ac_try_echo"; } >&5
 
1739
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1740
  ac_status=$?
 
1741
  if test -s conftest.err; then
 
1742
    grep -v '^ *+' conftest.err >conftest.er1
 
1743
    cat conftest.er1 >&5
 
1744
    mv -f conftest.er1 conftest.err
 
1745
  fi
 
1746
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1747
  test $ac_status = 0; } >/dev/null && {
 
1748
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1749
         test ! -s conftest.err
 
1750
       }; then :
 
1751
  ac_retval=0
 
1752
else
 
1753
  $as_echo "$as_me: failed program was:" >&5
 
1754
sed 's/^/| /' conftest.$ac_ext >&5
 
1755
 
 
1756
    ac_retval=1
 
1757
fi
 
1758
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1759
  as_fn_set_status $ac_retval
 
1760
 
 
1761
} # ac_fn_c_try_cpp
 
1762
 
 
1763
# ac_fn_c_try_run LINENO
 
1764
# ----------------------
 
1765
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1766
# that executables *can* be run.
 
1767
ac_fn_c_try_run ()
 
1768
{
 
1769
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1770
  if { { ac_try="$ac_link"
 
1771
case "(($ac_try" in
 
1772
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1773
  *) ac_try_echo=$ac_try;;
 
1774
esac
 
1775
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1776
$as_echo "$ac_try_echo"; } >&5
 
1777
  (eval "$ac_link") 2>&5
 
1778
  ac_status=$?
 
1779
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1780
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1781
  { { case "(($ac_try" in
 
1782
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1783
  *) ac_try_echo=$ac_try;;
 
1784
esac
 
1785
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1786
$as_echo "$ac_try_echo"; } >&5
 
1787
  (eval "$ac_try") 2>&5
 
1788
  ac_status=$?
 
1789
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1790
  test $ac_status = 0; }; }; then :
 
1791
  ac_retval=0
 
1792
else
 
1793
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1794
       $as_echo "$as_me: failed program was:" >&5
 
1795
sed 's/^/| /' conftest.$ac_ext >&5
 
1796
 
 
1797
       ac_retval=$ac_status
 
1798
fi
 
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_run
 
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 { as_var=$3; eval "test \"\${$as_var+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_check_func LINENO FUNC VAR
 
1837
# ----------------------------------
 
1838
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1839
ac_fn_c_check_func ()
 
1840
{
 
1841
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1842
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1843
$as_echo_n "checking for $2... " >&6; }
 
1844
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1845
  $as_echo_n "(cached) " >&6
 
1846
else
 
1847
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1848
/* end confdefs.h.  */
 
1849
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1850
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1851
#define $2 innocuous_$2
 
1852
 
 
1853
/* System header to define __stub macros and hopefully few prototypes,
 
1854
    which can conflict with char $2 (); below.
 
1855
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1856
    <limits.h> exists even on freestanding compilers.  */
 
1857
 
 
1858
#ifdef __STDC__
 
1859
# include <limits.h>
 
1860
#else
 
1861
# include <assert.h>
 
1862
#endif
 
1863
 
 
1864
#undef $2
 
1865
 
 
1866
/* Override any GCC internal prototype to avoid an error.
 
1867
   Use char because int might match the return type of a GCC
 
1868
   builtin and then its argument prototype would still apply.  */
 
1869
#ifdef __cplusplus
 
1870
extern "C"
 
1871
#endif
 
1872
char $2 ();
 
1873
/* The GNU C library defines this for functions which it implements
 
1874
    to always fail with ENOSYS.  Some functions are actually named
 
1875
    something starting with __ and the normal name is an alias.  */
 
1876
#if defined __stub_$2 || defined __stub___$2
 
1877
choke me
 
1878
#endif
 
1879
 
 
1880
int
 
1881
main ()
 
1882
{
 
1883
return $2 ();
 
1884
  ;
 
1885
  return 0;
 
1886
}
 
1887
_ACEOF
 
1888
if ac_fn_c_try_link "$LINENO"; then :
 
1889
  eval "$3=yes"
 
1890
else
 
1891
  eval "$3=no"
 
1892
fi
 
1893
rm -f core conftest.err conftest.$ac_objext \
 
1894
    conftest$ac_exeext conftest.$ac_ext
 
1895
fi
 
1896
eval ac_res=\$$3
 
1897
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1898
$as_echo "$ac_res" >&6; }
 
1899
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1900
 
 
1901
} # ac_fn_c_check_func
1682
1902
cat >config.log <<_ACEOF
1683
1903
This file contains any messages produced by compilers while
1684
1904
running configure, to aid debugging if configure makes a mistake.
1685
1905
 
1686
 
It was created by desktop-file-utils $as_me 0.16, which was
1687
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1906
It was created by desktop-file-utils $as_me 0.17, which was
 
1907
generated by GNU Autoconf 2.65.  Invocation command line was
1688
1908
 
1689
1909
  $ $0 $@
1690
1910
 
1720
1940
do
1721
1941
  IFS=$as_save_IFS
1722
1942
  test -z "$as_dir" && as_dir=.
1723
 
  $as_echo "PATH: $as_dir"
1724
 
done
 
1943
    $as_echo "PATH: $as_dir"
 
1944
  done
1725
1945
IFS=$as_save_IFS
1726
1946
 
1727
1947
} >&5
1758
1978
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1759
1979
    esac
1760
1980
    case $ac_pass in
1761
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1981
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1762
1982
    2)
1763
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1983
      as_fn_append ac_configure_args1 " '$ac_arg'"
1764
1984
      if test $ac_must_keep_next = true; then
1765
1985
        ac_must_keep_next=false # Got value, back to normal.
1766
1986
      else
1776
1996
          -* ) ac_must_keep_next=true ;;
1777
1997
        esac
1778
1998
      fi
1779
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1999
      as_fn_append ac_configure_args " '$ac_arg'"
1780
2000
      ;;
1781
2001
    esac
1782
2002
  done
1783
2003
done
1784
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1785
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2004
{ ac_configure_args0=; unset ac_configure_args0;}
 
2005
{ ac_configure_args1=; unset ac_configure_args1;}
1786
2006
 
1787
2007
# When interrupted or exit'd, cleanup temporary files, and complete
1788
2008
# config.log.  We remove comments because anyway the quotes in there
1807
2027
    case $ac_val in #(
1808
2028
    *${as_nl}*)
1809
2029
      case $ac_var in #(
1810
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2030
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1811
2031
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1812
2032
      esac
1813
2033
      case $ac_var in #(
1814
2034
      _ | IFS | as_nl) ;; #(
1815
2035
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1816
 
      *) $as_unset $ac_var ;;
 
2036
      *) { eval $ac_var=; unset $ac_var;} ;;
1817
2037
      esac ;;
1818
2038
    esac
1819
2039
  done
1885
2105
    exit $exit_status
1886
2106
' 0
1887
2107
for ac_signal in 1 2 13 15; do
1888
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2108
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1889
2109
done
1890
2110
ac_signal=0
1891
2111
 
1892
2112
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1893
2113
rm -f -r conftest* confdefs.h
1894
2114
 
 
2115
$as_echo "/* confdefs.h */" > confdefs.h
 
2116
 
1895
2117
# Predefined preprocessor variables.
1896
2118
 
1897
2119
cat >>confdefs.h <<_ACEOF
1898
2120
#define PACKAGE_NAME "$PACKAGE_NAME"
1899
2121
_ACEOF
1900
2122
 
1901
 
 
1902
2123
cat >>confdefs.h <<_ACEOF
1903
2124
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1904
2125
_ACEOF
1905
2126
 
1906
 
 
1907
2127
cat >>confdefs.h <<_ACEOF
1908
2128
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1909
2129
_ACEOF
1910
2130
 
1911
 
 
1912
2131
cat >>confdefs.h <<_ACEOF
1913
2132
#define PACKAGE_STRING "$PACKAGE_STRING"
1914
2133
_ACEOF
1915
2134
 
1916
 
 
1917
2135
cat >>confdefs.h <<_ACEOF
1918
2136
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1919
2137
_ACEOF
1920
2138
 
 
2139
cat >>confdefs.h <<_ACEOF
 
2140
#define PACKAGE_URL "$PACKAGE_URL"
 
2141
_ACEOF
 
2142
 
1921
2143
 
1922
2144
# Let the site file select an alternate cache file if it wants to.
1923
2145
# Prefer an explicitly selected file to automatically selected ones.
1935
2157
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1936
2158
do
1937
2159
  test "x$ac_site_file" = xNONE && continue
1938
 
  if test -r "$ac_site_file"; then
1939
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2160
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2161
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1940
2162
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1941
2163
    sed 's/^/| /' "$ac_site_file" >&5
1942
2164
    . "$ac_site_file"
1944
2166
done
1945
2167
 
1946
2168
if test -r "$cache_file"; then
1947
 
  # Some versions of bash will fail to source /dev/null (special
1948
 
  # files actually), so we avoid doing that.
1949
 
  if test -f "$cache_file"; then
1950
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2169
  # Some versions of bash will fail to source /dev/null (special files
 
2170
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2171
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2172
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1951
2173
$as_echo "$as_me: loading cache $cache_file" >&6;}
1952
2174
    case $cache_file in
1953
2175
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1955
2177
    esac
1956
2178
  fi
1957
2179
else
1958
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2180
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1959
2181
$as_echo "$as_me: creating cache $cache_file" >&6;}
1960
2182
  >$cache_file
1961
2183
fi
1970
2192
  eval ac_new_val=\$ac_env_${ac_var}_value
1971
2193
  case $ac_old_set,$ac_new_set in
1972
2194
    set,)
1973
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2195
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1974
2196
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1975
2197
      ac_cache_corrupted=: ;;
1976
2198
    ,set)
1977
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2199
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1978
2200
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1979
2201
      ac_cache_corrupted=: ;;
1980
2202
    ,);;
1984
2206
        ac_old_val_w=`echo x $ac_old_val`
1985
2207
        ac_new_val_w=`echo x $ac_new_val`
1986
2208
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1987
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2209
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1988
2210
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1989
2211
          ac_cache_corrupted=:
1990
2212
        else
1991
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2213
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1992
2214
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1993
2215
          eval $ac_var=\$ac_old_val
1994
2216
        fi
1995
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2217
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1996
2218
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1997
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2219
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1998
2220
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1999
2221
      fi;;
2000
2222
  esac
2006
2228
    esac
2007
2229
    case " $ac_configure_args " in
2008
2230
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2009
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2231
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2010
2232
    esac
2011
2233
  fi
2012
2234
done
2013
2235
if $ac_cache_corrupted; then
2014
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2236
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2015
2237
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2016
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2238
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2017
2239
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2018
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2019
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2020
 
   { (exit 1); exit 1; }; }
 
2240
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2021
2241
fi
2022
 
 
2023
 
 
2024
 
 
2025
 
 
2026
 
 
2027
 
 
2028
 
 
2029
 
 
2030
 
 
2031
 
 
2032
 
 
2033
 
 
2034
 
 
2035
 
 
2036
 
 
2037
 
 
2038
 
 
2039
 
 
2040
 
 
2041
 
 
2042
 
 
2043
 
 
2044
 
 
2045
 
 
 
2242
## -------------------- ##
 
2243
## Main body of script. ##
 
2244
## -------------------- ##
2046
2245
 
2047
2246
ac_ext=c
2048
2247
ac_cpp='$CPP $CPPFLAGS'
2057
2256
 
2058
2257
ac_aux_dir=
2059
2258
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2060
 
  if test -f "$ac_dir/install-sh"; then
2061
 
    ac_aux_dir=$ac_dir
2062
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2063
 
    break
2064
 
  elif test -f "$ac_dir/install.sh"; then
2065
 
    ac_aux_dir=$ac_dir
2066
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2067
 
    break
2068
 
  elif test -f "$ac_dir/shtool"; then
2069
 
    ac_aux_dir=$ac_dir
2070
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2071
 
    break
2072
 
  fi
 
2259
  for ac_t in install-sh install.sh shtool; do
 
2260
    if test -f "$ac_dir/$ac_t"; then
 
2261
      ac_aux_dir=$ac_dir
 
2262
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2263
      break 2
 
2264
    fi
 
2265
  done
2073
2266
done
2074
2267
if test -z "$ac_aux_dir"; then
2075
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2076
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2077
 
   { (exit 1); exit 1; }; }
 
2268
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2078
2269
fi
2079
2270
 
2080
2271
# These three variables are undocumented and unsupported,
2100
2291
# OS/2's system install, which has a completely different semantic
2101
2292
# ./install, which can be erroneously created by make from ./install.sh.
2102
2293
# Reject install programs that cannot install multiple files.
2103
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2104
2295
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2105
2296
if test -z "$INSTALL"; then
2106
 
if test "${ac_cv_path_install+set}" = set; then
 
2297
if test "${ac_cv_path_install+set}" = set; then :
2107
2298
  $as_echo_n "(cached) " >&6
2108
2299
else
2109
2300
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111
2302
do
2112
2303
  IFS=$as_save_IFS
2113
2304
  test -z "$as_dir" && as_dir=.
2114
 
  # Account for people who put trailing slashes in PATH elements.
2115
 
case $as_dir/ in
2116
 
  ./ | .// | /cC/* | \
 
2305
    # Account for people who put trailing slashes in PATH elements.
 
2306
case $as_dir/ in #((
 
2307
  ./ | .// | /[cC]/* | \
2117
2308
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2118
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2309
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2119
2310
  /usr/ucb/* ) ;;
2120
2311
  *)
2121
2312
    # OSF1 and SCO ODT 3.0 have their own names for install.
2152
2343
    ;;
2153
2344
esac
2154
2345
 
2155
 
done
 
2346
  done
2156
2347
IFS=$as_save_IFS
2157
2348
 
2158
2349
rm -rf conftest.one conftest.two conftest.dir
2168
2359
    INSTALL=$ac_install_sh
2169
2360
  fi
2170
2361
fi
2171
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2172
2363
$as_echo "$INSTALL" >&6; }
2173
2364
 
2174
2365
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2179
2370
 
2180
2371
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2181
2372
 
2182
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2183
2374
$as_echo_n "checking whether build environment is sane... " >&6; }
2184
2375
# Just in case
2185
2376
sleep 1
2190
2381
'
2191
2382
case `pwd` in
2192
2383
  *[\\\"\#\$\&\'\`$am_lf]*)
2193
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2194
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2195
 
   { (exit 1); exit 1; }; };;
 
2384
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2196
2385
esac
2197
2386
case $srcdir in
2198
2387
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2199
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2200
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2201
 
   { (exit 1); exit 1; }; };;
 
2388
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2202
2389
esac
2203
2390
 
2204
2391
# Do `set' in a subshell so we don't clobber the current shell's
2220
2407
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2221
2408
      # broken ls alias from the environment.  This has actually
2222
2409
      # happened.  Such a system could not be considered "sane".
2223
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2224
 
alias in your environment" >&5
2225
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2226
 
alias in your environment" >&2;}
2227
 
   { (exit 1); exit 1; }; }
 
2410
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2411
alias in your environment" "$LINENO" 5
2228
2412
   fi
2229
2413
 
2230
2414
   test "$2" = conftest.file
2233
2417
   # Ok.
2234
2418
   :
2235
2419
else
2236
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2237
 
Check your system clock" >&5
2238
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2239
 
Check your system clock" >&2;}
2240
 
   { (exit 1); exit 1; }; }
 
2420
   as_fn_error "newly created file is older than distributed files!
 
2421
Check your system clock" "$LINENO" 5
2241
2422
fi
2242
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2243
2424
$as_echo "yes" >&6; }
2244
2425
test "$program_prefix" != NONE &&
2245
2426
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2267
2448
  am_missing_run="$MISSING --run "
2268
2449
else
2269
2450
  am_missing_run=
2270
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2451
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2271
2452
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2272
2453
fi
2273
2454
 
2288
2469
  if test -n "$ac_tool_prefix"; then
2289
2470
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2290
2471
set dummy ${ac_tool_prefix}strip; ac_word=$2
2291
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2292
2473
$as_echo_n "checking for $ac_word... " >&6; }
2293
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2474
if test "${ac_cv_prog_STRIP+set}" = set; then :
2294
2475
  $as_echo_n "(cached) " >&6
2295
2476
else
2296
2477
  if test -n "$STRIP"; then
2301
2482
do
2302
2483
  IFS=$as_save_IFS
2303
2484
  test -z "$as_dir" && as_dir=.
2304
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2485
    for ac_exec_ext in '' $ac_executable_extensions; do
2305
2486
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2306
2487
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2307
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2488
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2308
2489
    break 2
2309
2490
  fi
2310
2491
done
2311
 
done
 
2492
  done
2312
2493
IFS=$as_save_IFS
2313
2494
 
2314
2495
fi
2315
2496
fi
2316
2497
STRIP=$ac_cv_prog_STRIP
2317
2498
if test -n "$STRIP"; then
2318
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2499
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2319
2500
$as_echo "$STRIP" >&6; }
2320
2501
else
2321
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2502
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2322
2503
$as_echo "no" >&6; }
2323
2504
fi
2324
2505
 
2328
2509
  ac_ct_STRIP=$STRIP
2329
2510
  # Extract the first word of "strip", so it can be a program name with args.
2330
2511
set dummy strip; ac_word=$2
2331
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2332
2513
$as_echo_n "checking for $ac_word... " >&6; }
2333
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2514
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2334
2515
  $as_echo_n "(cached) " >&6
2335
2516
else
2336
2517
  if test -n "$ac_ct_STRIP"; then
2341
2522
do
2342
2523
  IFS=$as_save_IFS
2343
2524
  test -z "$as_dir" && as_dir=.
2344
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2525
    for ac_exec_ext in '' $ac_executable_extensions; do
2345
2526
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346
2527
    ac_cv_prog_ac_ct_STRIP="strip"
2347
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2528
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2348
2529
    break 2
2349
2530
  fi
2350
2531
done
2351
 
done
 
2532
  done
2352
2533
IFS=$as_save_IFS
2353
2534
 
2354
2535
fi
2355
2536
fi
2356
2537
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2357
2538
if test -n "$ac_ct_STRIP"; then
2358
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2539
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2359
2540
$as_echo "$ac_ct_STRIP" >&6; }
2360
2541
else
2361
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2542
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2362
2543
$as_echo "no" >&6; }
2363
2544
fi
2364
2545
 
2367
2548
  else
2368
2549
    case $cross_compiling:$ac_tool_warned in
2369
2550
yes:)
2370
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2551
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2371
2552
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2372
2553
ac_tool_warned=yes ;;
2373
2554
esac
2380
2561
fi
2381
2562
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2382
2563
 
2383
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2384
2565
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2385
2566
if test -z "$MKDIR_P"; then
2386
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2567
  if test "${ac_cv_path_mkdir+set}" = set; then :
2387
2568
  $as_echo_n "(cached) " >&6
2388
2569
else
2389
2570
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391
2572
do
2392
2573
  IFS=$as_save_IFS
2393
2574
  test -z "$as_dir" && as_dir=.
2394
 
  for ac_prog in mkdir gmkdir; do
 
2575
    for ac_prog in mkdir gmkdir; do
2395
2576
         for ac_exec_ext in '' $ac_executable_extensions; do
2396
2577
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2397
2578
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2403
2584
           esac
2404
2585
         done
2405
2586
       done
2406
 
done
 
2587
  done
2407
2588
IFS=$as_save_IFS
2408
2589
 
2409
2590
fi
2410
2591
 
 
2592
  test -d ./--version && rmdir ./--version
2411
2593
  if test "${ac_cv_path_mkdir+set}" = set; then
2412
2594
    MKDIR_P="$ac_cv_path_mkdir -p"
2413
2595
  else
2415
2597
    # value for MKDIR_P within a source directory, because that will
2416
2598
    # break other packages using the cache if that directory is
2417
2599
    # removed, or if the value is a relative name.
2418
 
    test -d ./--version && rmdir ./--version
2419
2600
    MKDIR_P="$ac_install_sh -d"
2420
2601
  fi
2421
2602
fi
2422
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2423
2604
$as_echo "$MKDIR_P" >&6; }
2424
2605
 
2425
2606
mkdir_p="$MKDIR_P"
2432
2613
do
2433
2614
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2434
2615
set dummy $ac_prog; ac_word=$2
2435
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2436
2617
$as_echo_n "checking for $ac_word... " >&6; }
2437
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2618
if test "${ac_cv_prog_AWK+set}" = set; then :
2438
2619
  $as_echo_n "(cached) " >&6
2439
2620
else
2440
2621
  if test -n "$AWK"; then
2445
2626
do
2446
2627
  IFS=$as_save_IFS
2447
2628
  test -z "$as_dir" && as_dir=.
2448
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2629
    for ac_exec_ext in '' $ac_executable_extensions; do
2449
2630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2450
2631
    ac_cv_prog_AWK="$ac_prog"
2451
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2632
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2452
2633
    break 2
2453
2634
  fi
2454
2635
done
2455
 
done
 
2636
  done
2456
2637
IFS=$as_save_IFS
2457
2638
 
2458
2639
fi
2459
2640
fi
2460
2641
AWK=$ac_cv_prog_AWK
2461
2642
if test -n "$AWK"; then
2462
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2643
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2463
2644
$as_echo "$AWK" >&6; }
2464
2645
else
2465
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2646
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2466
2647
$as_echo "no" >&6; }
2467
2648
fi
2468
2649
 
2470
2651
  test -n "$AWK" && break
2471
2652
done
2472
2653
 
2473
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2474
2655
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2475
2656
set x ${MAKE-make}
2476
2657
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2477
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2658
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2478
2659
  $as_echo_n "(cached) " >&6
2479
2660
else
2480
2661
  cat >conftest.make <<\_ACEOF
2492
2673
rm -f conftest.make
2493
2674
fi
2494
2675
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2495
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2676
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2496
2677
$as_echo "yes" >&6; }
2497
2678
  SET_MAKE=
2498
2679
else
2499
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2680
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2500
2681
$as_echo "no" >&6; }
2501
2682
  SET_MAKE="MAKE=${MAKE-make}"
2502
2683
fi
2516
2697
  am__isrc=' -I$(srcdir)'
2517
2698
  # test to see if srcdir already configured
2518
2699
  if test -f $srcdir/config.status; then
2519
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2520
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2521
 
   { (exit 1); exit 1; }; }
 
2700
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2522
2701
  fi
2523
2702
fi
2524
2703
 
2534
2713
 
2535
2714
# Define the identity of the package.
2536
2715
 PACKAGE='desktop-file-utils'
2537
 
 VERSION='0.16'
 
2716
 VERSION='0.17'
2538
2717
 
2539
2718
 
2540
2719
cat >>confdefs.h <<_ACEOF
2575
2754
 
2576
2755
 
2577
2756
# Check whether --enable-silent-rules was given.
2578
 
if test "${enable_silent_rules+set}" = set; then
 
2757
if test "${enable_silent_rules+set}" = set; then :
2579
2758
  enableval=$enable_silent_rules;
2580
2759
fi
2581
2760
 
2595
2774
 
2596
2775
 
2597
2776
 
2598
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2599
2778
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2600
2779
    # Check whether --enable-maintainer-mode was given.
2601
 
if test "${enable_maintainer_mode+set}" = set; then
 
2780
if test "${enable_maintainer_mode+set}" = set; then :
2602
2781
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2603
2782
else
2604
2783
  USE_MAINTAINER_MODE=no
2605
2784
fi
2606
2785
 
2607
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2786
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2608
2787
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2609
2788
   if test $USE_MAINTAINER_MODE = yes; then
2610
2789
  MAINTAINER_MODE_TRUE=
2626
2805
if test -n "$ac_tool_prefix"; then
2627
2806
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2628
2807
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2629
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2630
2809
$as_echo_n "checking for $ac_word... " >&6; }
2631
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2810
if test "${ac_cv_prog_CC+set}" = set; then :
2632
2811
  $as_echo_n "(cached) " >&6
2633
2812
else
2634
2813
  if test -n "$CC"; then
2639
2818
do
2640
2819
  IFS=$as_save_IFS
2641
2820
  test -z "$as_dir" && as_dir=.
2642
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2821
    for ac_exec_ext in '' $ac_executable_extensions; do
2643
2822
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2644
2823
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2645
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2824
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646
2825
    break 2
2647
2826
  fi
2648
2827
done
2649
 
done
 
2828
  done
2650
2829
IFS=$as_save_IFS
2651
2830
 
2652
2831
fi
2653
2832
fi
2654
2833
CC=$ac_cv_prog_CC
2655
2834
if test -n "$CC"; then
2656
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2835
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2657
2836
$as_echo "$CC" >&6; }
2658
2837
else
2659
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2838
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2660
2839
$as_echo "no" >&6; }
2661
2840
fi
2662
2841
 
2666
2845
  ac_ct_CC=$CC
2667
2846
  # Extract the first word of "gcc", so it can be a program name with args.
2668
2847
set dummy gcc; ac_word=$2
2669
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670
2849
$as_echo_n "checking for $ac_word... " >&6; }
2671
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2850
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2672
2851
  $as_echo_n "(cached) " >&6
2673
2852
else
2674
2853
  if test -n "$ac_ct_CC"; then
2679
2858
do
2680
2859
  IFS=$as_save_IFS
2681
2860
  test -z "$as_dir" && as_dir=.
2682
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2861
    for ac_exec_ext in '' $ac_executable_extensions; do
2683
2862
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684
2863
    ac_cv_prog_ac_ct_CC="gcc"
2685
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2864
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686
2865
    break 2
2687
2866
  fi
2688
2867
done
2689
 
done
 
2868
  done
2690
2869
IFS=$as_save_IFS
2691
2870
 
2692
2871
fi
2693
2872
fi
2694
2873
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2695
2874
if test -n "$ac_ct_CC"; then
2696
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2875
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2697
2876
$as_echo "$ac_ct_CC" >&6; }
2698
2877
else
2699
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2878
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700
2879
$as_echo "no" >&6; }
2701
2880
fi
2702
2881
 
2705
2884
  else
2706
2885
    case $cross_compiling:$ac_tool_warned in
2707
2886
yes:)
2708
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2887
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2709
2888
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2710
2889
ac_tool_warned=yes ;;
2711
2890
esac
2719
2898
          if test -n "$ac_tool_prefix"; then
2720
2899
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2721
2900
set dummy ${ac_tool_prefix}cc; ac_word=$2
2722
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723
2902
$as_echo_n "checking for $ac_word... " >&6; }
2724
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2903
if test "${ac_cv_prog_CC+set}" = set; then :
2725
2904
  $as_echo_n "(cached) " >&6
2726
2905
else
2727
2906
  if test -n "$CC"; then
2732
2911
do
2733
2912
  IFS=$as_save_IFS
2734
2913
  test -z "$as_dir" && as_dir=.
2735
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2914
    for ac_exec_ext in '' $ac_executable_extensions; do
2736
2915
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737
2916
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2738
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2917
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2739
2918
    break 2
2740
2919
  fi
2741
2920
done
2742
 
done
 
2921
  done
2743
2922
IFS=$as_save_IFS
2744
2923
 
2745
2924
fi
2746
2925
fi
2747
2926
CC=$ac_cv_prog_CC
2748
2927
if test -n "$CC"; then
2749
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2928
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2750
2929
$as_echo "$CC" >&6; }
2751
2930
else
2752
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2931
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753
2932
$as_echo "no" >&6; }
2754
2933
fi
2755
2934
 
2759
2938
if test -z "$CC"; then
2760
2939
  # Extract the first word of "cc", so it can be a program name with args.
2761
2940
set dummy cc; ac_word=$2
2762
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763
2942
$as_echo_n "checking for $ac_word... " >&6; }
2764
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2943
if test "${ac_cv_prog_CC+set}" = set; then :
2765
2944
  $as_echo_n "(cached) " >&6
2766
2945
else
2767
2946
  if test -n "$CC"; then
2773
2952
do
2774
2953
  IFS=$as_save_IFS
2775
2954
  test -z "$as_dir" && as_dir=.
2776
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2955
    for ac_exec_ext in '' $ac_executable_extensions; do
2777
2956
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2778
2957
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2779
2958
       ac_prog_rejected=yes
2780
2959
       continue
2781
2960
     fi
2782
2961
    ac_cv_prog_CC="cc"
2783
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2962
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784
2963
    break 2
2785
2964
  fi
2786
2965
done
2787
 
done
 
2966
  done
2788
2967
IFS=$as_save_IFS
2789
2968
 
2790
2969
if test $ac_prog_rejected = yes; then
2803
2982
fi
2804
2983
CC=$ac_cv_prog_CC
2805
2984
if test -n "$CC"; then
2806
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2807
2986
$as_echo "$CC" >&6; }
2808
2987
else
2809
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2988
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810
2989
$as_echo "no" >&6; }
2811
2990
fi
2812
2991
 
2818
2997
  do
2819
2998
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2820
2999
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2821
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822
3001
$as_echo_n "checking for $ac_word... " >&6; }
2823
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3002
if test "${ac_cv_prog_CC+set}" = set; then :
2824
3003
  $as_echo_n "(cached) " >&6
2825
3004
else
2826
3005
  if test -n "$CC"; then
2831
3010
do
2832
3011
  IFS=$as_save_IFS
2833
3012
  test -z "$as_dir" && as_dir=.
2834
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3013
    for ac_exec_ext in '' $ac_executable_extensions; do
2835
3014
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836
3015
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2837
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3016
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838
3017
    break 2
2839
3018
  fi
2840
3019
done
2841
 
done
 
3020
  done
2842
3021
IFS=$as_save_IFS
2843
3022
 
2844
3023
fi
2845
3024
fi
2846
3025
CC=$ac_cv_prog_CC
2847
3026
if test -n "$CC"; then
2848
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3027
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2849
3028
$as_echo "$CC" >&6; }
2850
3029
else
2851
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3030
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852
3031
$as_echo "no" >&6; }
2853
3032
fi
2854
3033
 
2862
3041
do
2863
3042
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2864
3043
set dummy $ac_prog; ac_word=$2
2865
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2866
3045
$as_echo_n "checking for $ac_word... " >&6; }
2867
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3046
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2868
3047
  $as_echo_n "(cached) " >&6
2869
3048
else
2870
3049
  if test -n "$ac_ct_CC"; then
2875
3054
do
2876
3055
  IFS=$as_save_IFS
2877
3056
  test -z "$as_dir" && as_dir=.
2878
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3057
    for ac_exec_ext in '' $ac_executable_extensions; do
2879
3058
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880
3059
    ac_cv_prog_ac_ct_CC="$ac_prog"
2881
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3060
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2882
3061
    break 2
2883
3062
  fi
2884
3063
done
2885
 
done
 
3064
  done
2886
3065
IFS=$as_save_IFS
2887
3066
 
2888
3067
fi
2889
3068
fi
2890
3069
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2891
3070
if test -n "$ac_ct_CC"; then
2892
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3071
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2893
3072
$as_echo "$ac_ct_CC" >&6; }
2894
3073
else
2895
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3074
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896
3075
$as_echo "no" >&6; }
2897
3076
fi
2898
3077
 
2905
3084
  else
2906
3085
    case $cross_compiling:$ac_tool_warned in
2907
3086
yes:)
2908
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3087
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2909
3088
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2910
3089
ac_tool_warned=yes ;;
2911
3090
esac
2916
3095
fi
2917
3096
 
2918
3097
 
2919
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3098
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2920
3099
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2921
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2922
 
See \`config.log' for more details." >&5
2923
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2924
 
See \`config.log' for more details." >&2;}
2925
 
   { (exit 1); exit 1; }; }; }
 
3100
as_fn_error "no acceptable C compiler found in \$PATH
 
3101
See \`config.log' for more details." "$LINENO" 5; }
2926
3102
 
2927
3103
# Provide some information about the compiler.
2928
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3104
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2929
3105
set X $ac_compile
2930
3106
ac_compiler=$2
2931
 
{ (ac_try="$ac_compiler --version >&5"
2932
 
case "(($ac_try" in
2933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934
 
  *) ac_try_echo=$ac_try;;
2935
 
esac
2936
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2937
 
$as_echo "$ac_try_echo") >&5
2938
 
  (eval "$ac_compiler --version >&5") 2>&5
2939
 
  ac_status=$?
2940
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941
 
  (exit $ac_status); }
2942
 
{ (ac_try="$ac_compiler -v >&5"
2943
 
case "(($ac_try" in
2944
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945
 
  *) ac_try_echo=$ac_try;;
2946
 
esac
2947
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2948
 
$as_echo "$ac_try_echo") >&5
2949
 
  (eval "$ac_compiler -v >&5") 2>&5
2950
 
  ac_status=$?
2951
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952
 
  (exit $ac_status); }
2953
 
{ (ac_try="$ac_compiler -V >&5"
2954
 
case "(($ac_try" in
2955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956
 
  *) ac_try_echo=$ac_try;;
2957
 
esac
2958
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2959
 
$as_echo "$ac_try_echo") >&5
2960
 
  (eval "$ac_compiler -V >&5") 2>&5
2961
 
  ac_status=$?
2962
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963
 
  (exit $ac_status); }
 
3107
for ac_option in --version -v -V -qversion; do
 
3108
  { { ac_try="$ac_compiler $ac_option >&5"
 
3109
case "(($ac_try" in
 
3110
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3111
  *) ac_try_echo=$ac_try;;
 
3112
esac
 
3113
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3114
$as_echo "$ac_try_echo"; } >&5
 
3115
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3116
  ac_status=$?
 
3117
  if test -s conftest.err; then
 
3118
    sed '10a\
 
3119
... rest of stderr output deleted ...
 
3120
         10q' conftest.err >conftest.er1
 
3121
    cat conftest.er1 >&5
 
3122
  fi
 
3123
  rm -f conftest.er1 conftest.err
 
3124
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3125
  test $ac_status = 0; }
 
3126
done
2964
3127
 
2965
 
cat >conftest.$ac_ext <<_ACEOF
2966
 
/* confdefs.h.  */
2967
 
_ACEOF
2968
 
cat confdefs.h >>conftest.$ac_ext
2969
 
cat >>conftest.$ac_ext <<_ACEOF
 
3128
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2970
3129
/* end confdefs.h.  */
2971
3130
 
2972
3131
int
2982
3141
# Try to create an executable without -o first, disregard a.out.
2983
3142
# It will help us diagnose broken compilers, and finding out an intuition
2984
3143
# of exeext.
2985
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2986
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3145
$as_echo_n "checking whether the C compiler works... " >&6; }
2987
3146
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2988
3147
 
2989
3148
# The possible output files:
2999
3158
done
3000
3159
rm -f $ac_rmfiles
3001
3160
 
3002
 
if { (ac_try="$ac_link_default"
 
3161
if { { ac_try="$ac_link_default"
3003
3162
case "(($ac_try" in
3004
3163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005
3164
  *) ac_try_echo=$ac_try;;
3006
3165
esac
3007
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3008
 
$as_echo "$ac_try_echo") >&5
 
3166
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3167
$as_echo "$ac_try_echo"; } >&5
3009
3168
  (eval "$ac_link_default") 2>&5
3010
3169
  ac_status=$?
3011
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012
 
  (exit $ac_status); }; then
 
3170
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3171
  test $ac_status = 0; }; then :
3013
3172
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3014
3173
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3015
3174
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3026
3185
        # certainly right.
3027
3186
        break;;
3028
3187
    *.* )
3029
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3188
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3030
3189
        then :; else
3031
3190
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3032
3191
        fi
3045
3204
else
3046
3205
  ac_file=''
3047
3206
fi
 
3207
if test -z "$ac_file"; then :
 
3208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3209
$as_echo "no" >&6; }
 
3210
$as_echo "$as_me: failed program was:" >&5
 
3211
sed 's/^/| /' conftest.$ac_ext >&5
3048
3212
 
3049
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3213
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3214
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3215
{ as_fn_set_status 77
 
3216
as_fn_error "C compiler cannot create executables
 
3217
See \`config.log' for more details." "$LINENO" 5; }; }
 
3218
else
 
3219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3220
$as_echo "yes" >&6; }
 
3221
fi
 
3222
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3223
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3050
3225
$as_echo "$ac_file" >&6; }
3051
 
if test -z "$ac_file"; then
3052
 
  $as_echo "$as_me: failed program was:" >&5
3053
 
sed 's/^/| /' conftest.$ac_ext >&5
3054
 
 
3055
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3056
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3057
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3058
 
See \`config.log' for more details." >&5
3059
 
$as_echo "$as_me: error: C compiler cannot create executables
3060
 
See \`config.log' for more details." >&2;}
3061
 
   { (exit 77); exit 77; }; }; }
3062
 
fi
3063
 
 
3064
3226
ac_exeext=$ac_cv_exeext
3065
3227
 
3066
 
# Check that the compiler produces executables we can run.  If not, either
3067
 
# the compiler is broken, or we cross compile.
3068
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3069
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3070
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3071
 
# If not cross compiling, check that we can run a simple program.
3072
 
if test "$cross_compiling" != yes; then
3073
 
  if { ac_try='./$ac_file'
3074
 
  { (case "(($ac_try" in
3075
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076
 
  *) ac_try_echo=$ac_try;;
3077
 
esac
3078
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3079
 
$as_echo "$ac_try_echo") >&5
3080
 
  (eval "$ac_try") 2>&5
3081
 
  ac_status=$?
3082
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083
 
  (exit $ac_status); }; }; then
3084
 
    cross_compiling=no
3085
 
  else
3086
 
    if test "$cross_compiling" = maybe; then
3087
 
        cross_compiling=yes
3088
 
    else
3089
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3090
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3092
 
If you meant to cross compile, use \`--host'.
3093
 
See \`config.log' for more details." >&5
3094
 
$as_echo "$as_me: error: cannot run C compiled programs.
3095
 
If you meant to cross compile, use \`--host'.
3096
 
See \`config.log' for more details." >&2;}
3097
 
   { (exit 1); exit 1; }; }; }
3098
 
    fi
3099
 
  fi
3100
 
fi
3101
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3102
 
$as_echo "yes" >&6; }
3103
 
 
3104
3228
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3105
3229
ac_clean_files=$ac_clean_files_save
3106
 
# Check that the compiler produces executables we can run.  If not, either
3107
 
# the compiler is broken, or we cross compile.
3108
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3109
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3110
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3111
 
$as_echo "$cross_compiling" >&6; }
3112
 
 
3113
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3114
3231
$as_echo_n "checking for suffix of executables... " >&6; }
3115
 
if { (ac_try="$ac_link"
 
3232
if { { ac_try="$ac_link"
3116
3233
case "(($ac_try" in
3117
3234
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118
3235
  *) ac_try_echo=$ac_try;;
3119
3236
esac
3120
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3121
 
$as_echo "$ac_try_echo") >&5
 
3237
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3238
$as_echo "$ac_try_echo"; } >&5
3122
3239
  (eval "$ac_link") 2>&5
3123
3240
  ac_status=$?
3124
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125
 
  (exit $ac_status); }; then
 
3241
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3242
  test $ac_status = 0; }; then :
3126
3243
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3127
3244
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3128
3245
# work properly (i.e., refer to `conftest.exe'), while it won't with
3137
3254
  esac
3138
3255
done
3139
3256
else
3140
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3257
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141
3258
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3143
 
See \`config.log' for more details." >&5
3144
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3145
 
See \`config.log' for more details." >&2;}
3146
 
   { (exit 1); exit 1; }; }; }
 
3259
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3260
See \`config.log' for more details." "$LINENO" 5; }
3147
3261
fi
3148
 
 
3149
 
rm -f conftest$ac_cv_exeext
3150
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3262
rm -f conftest conftest$ac_cv_exeext
 
3263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3151
3264
$as_echo "$ac_cv_exeext" >&6; }
3152
3265
 
3153
3266
rm -f conftest.$ac_ext
3154
3267
EXEEXT=$ac_cv_exeext
3155
3268
ac_exeext=$EXEEXT
3156
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3269
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3270
/* end confdefs.h.  */
 
3271
#include <stdio.h>
 
3272
int
 
3273
main ()
 
3274
{
 
3275
FILE *f = fopen ("conftest.out", "w");
 
3276
 return ferror (f) || fclose (f) != 0;
 
3277
 
 
3278
  ;
 
3279
  return 0;
 
3280
}
 
3281
_ACEOF
 
3282
ac_clean_files="$ac_clean_files conftest.out"
 
3283
# Check that the compiler produces executables we can run.  If not, either
 
3284
# the compiler is broken, or we cross compile.
 
3285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3286
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3287
if test "$cross_compiling" != yes; then
 
3288
  { { ac_try="$ac_link"
 
3289
case "(($ac_try" in
 
3290
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3291
  *) ac_try_echo=$ac_try;;
 
3292
esac
 
3293
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3294
$as_echo "$ac_try_echo"; } >&5
 
3295
  (eval "$ac_link") 2>&5
 
3296
  ac_status=$?
 
3297
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3298
  test $ac_status = 0; }
 
3299
  if { ac_try='./conftest$ac_cv_exeext'
 
3300
  { { case "(($ac_try" in
 
3301
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3302
  *) ac_try_echo=$ac_try;;
 
3303
esac
 
3304
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3305
$as_echo "$ac_try_echo"; } >&5
 
3306
  (eval "$ac_try") 2>&5
 
3307
  ac_status=$?
 
3308
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3309
  test $ac_status = 0; }; }; then
 
3310
    cross_compiling=no
 
3311
  else
 
3312
    if test "$cross_compiling" = maybe; then
 
3313
        cross_compiling=yes
 
3314
    else
 
3315
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3316
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3317
as_fn_error "cannot run C compiled programs.
 
3318
If you meant to cross compile, use \`--host'.
 
3319
See \`config.log' for more details." "$LINENO" 5; }
 
3320
    fi
 
3321
  fi
 
3322
fi
 
3323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3324
$as_echo "$cross_compiling" >&6; }
 
3325
 
 
3326
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3327
ac_clean_files=$ac_clean_files_save
 
3328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3157
3329
$as_echo_n "checking for suffix of object files... " >&6; }
3158
 
if test "${ac_cv_objext+set}" = set; then
 
3330
if test "${ac_cv_objext+set}" = set; then :
3159
3331
  $as_echo_n "(cached) " >&6
3160
3332
else
3161
 
  cat >conftest.$ac_ext <<_ACEOF
3162
 
/* confdefs.h.  */
3163
 
_ACEOF
3164
 
cat confdefs.h >>conftest.$ac_ext
3165
 
cat >>conftest.$ac_ext <<_ACEOF
 
3333
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166
3334
/* end confdefs.h.  */
3167
3335
 
3168
3336
int
3174
3342
}
3175
3343
_ACEOF
3176
3344
rm -f conftest.o conftest.obj
3177
 
if { (ac_try="$ac_compile"
 
3345
if { { ac_try="$ac_compile"
3178
3346
case "(($ac_try" in
3179
3347
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180
3348
  *) ac_try_echo=$ac_try;;
3181
3349
esac
3182
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3183
 
$as_echo "$ac_try_echo") >&5
 
3350
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3351
$as_echo "$ac_try_echo"; } >&5
3184
3352
  (eval "$ac_compile") 2>&5
3185
3353
  ac_status=$?
3186
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187
 
  (exit $ac_status); }; then
 
3354
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3355
  test $ac_status = 0; }; then :
3188
3356
  for ac_file in conftest.o conftest.obj conftest.*; do
3189
3357
  test -f "$ac_file" || continue;
3190
3358
  case $ac_file in
3197
3365
  $as_echo "$as_me: failed program was:" >&5
3198
3366
sed 's/^/| /' conftest.$ac_ext >&5
3199
3367
 
3200
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3368
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3201
3369
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3202
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3203
 
See \`config.log' for more details." >&5
3204
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3205
 
See \`config.log' for more details." >&2;}
3206
 
   { (exit 1); exit 1; }; }; }
 
3370
as_fn_error "cannot compute suffix of object files: cannot compile
 
3371
See \`config.log' for more details." "$LINENO" 5; }
3207
3372
fi
3208
 
 
3209
3373
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3210
3374
fi
3211
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3212
3376
$as_echo "$ac_cv_objext" >&6; }
3213
3377
OBJEXT=$ac_cv_objext
3214
3378
ac_objext=$OBJEXT
3215
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3216
3380
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3217
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3381
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3218
3382
  $as_echo_n "(cached) " >&6
3219
3383
else
3220
 
  cat >conftest.$ac_ext <<_ACEOF
3221
 
/* confdefs.h.  */
3222
 
_ACEOF
3223
 
cat confdefs.h >>conftest.$ac_ext
3224
 
cat >>conftest.$ac_ext <<_ACEOF
 
3384
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225
3385
/* end confdefs.h.  */
3226
3386
 
3227
3387
int
3235
3395
  return 0;
3236
3396
}
3237
3397
_ACEOF
3238
 
rm -f conftest.$ac_objext
3239
 
if { (ac_try="$ac_compile"
3240
 
case "(($ac_try" in
3241
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242
 
  *) ac_try_echo=$ac_try;;
3243
 
esac
3244
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3245
 
$as_echo "$ac_try_echo") >&5
3246
 
  (eval "$ac_compile") 2>conftest.er1
3247
 
  ac_status=$?
3248
 
  grep -v '^ *+' conftest.er1 >conftest.err
3249
 
  rm -f conftest.er1
3250
 
  cat conftest.err >&5
3251
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252
 
  (exit $ac_status); } && {
3253
 
         test -z "$ac_c_werror_flag" ||
3254
 
         test ! -s conftest.err
3255
 
       } && test -s conftest.$ac_objext; then
 
3398
if ac_fn_c_try_compile "$LINENO"; then :
3256
3399
  ac_compiler_gnu=yes
3257
3400
else
3258
 
  $as_echo "$as_me: failed program was:" >&5
3259
 
sed 's/^/| /' conftest.$ac_ext >&5
3260
 
 
3261
 
        ac_compiler_gnu=no
 
3401
  ac_compiler_gnu=no
3262
3402
fi
3263
 
 
3264
3403
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3265
3404
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3266
3405
 
3267
3406
fi
3268
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3269
3408
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3270
3409
if test $ac_compiler_gnu = yes; then
3271
3410
  GCC=yes
3274
3413
fi
3275
3414
ac_test_CFLAGS=${CFLAGS+set}
3276
3415
ac_save_CFLAGS=$CFLAGS
3277
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3278
3417
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3279
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3418
if test "${ac_cv_prog_cc_g+set}" = set; then :
3280
3419
  $as_echo_n "(cached) " >&6
3281
3420
else
3282
3421
  ac_save_c_werror_flag=$ac_c_werror_flag
3283
3422
   ac_c_werror_flag=yes
3284
3423
   ac_cv_prog_cc_g=no
3285
3424
   CFLAGS="-g"
3286
 
   cat >conftest.$ac_ext <<_ACEOF
3287
 
/* confdefs.h.  */
3288
 
_ACEOF
3289
 
cat confdefs.h >>conftest.$ac_ext
3290
 
cat >>conftest.$ac_ext <<_ACEOF
 
3425
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291
3426
/* end confdefs.h.  */
3292
3427
 
3293
3428
int
3298
3433
  return 0;
3299
3434
}
3300
3435
_ACEOF
3301
 
rm -f conftest.$ac_objext
3302
 
if { (ac_try="$ac_compile"
3303
 
case "(($ac_try" in
3304
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305
 
  *) ac_try_echo=$ac_try;;
3306
 
esac
3307
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3308
 
$as_echo "$ac_try_echo") >&5
3309
 
  (eval "$ac_compile") 2>conftest.er1
3310
 
  ac_status=$?
3311
 
  grep -v '^ *+' conftest.er1 >conftest.err
3312
 
  rm -f conftest.er1
3313
 
  cat conftest.err >&5
3314
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315
 
  (exit $ac_status); } && {
3316
 
         test -z "$ac_c_werror_flag" ||
3317
 
         test ! -s conftest.err
3318
 
       } && test -s conftest.$ac_objext; then
 
3436
if ac_fn_c_try_compile "$LINENO"; then :
3319
3437
  ac_cv_prog_cc_g=yes
3320
3438
else
3321
 
  $as_echo "$as_me: failed program was:" >&5
3322
 
sed 's/^/| /' conftest.$ac_ext >&5
3323
 
 
3324
 
        CFLAGS=""
3325
 
      cat >conftest.$ac_ext <<_ACEOF
3326
 
/* confdefs.h.  */
3327
 
_ACEOF
3328
 
cat confdefs.h >>conftest.$ac_ext
3329
 
cat >>conftest.$ac_ext <<_ACEOF
 
3439
  CFLAGS=""
 
3440
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330
3441
/* end confdefs.h.  */
3331
3442
 
3332
3443
int
3337
3448
  return 0;
3338
3449
}
3339
3450
_ACEOF
3340
 
rm -f conftest.$ac_objext
3341
 
if { (ac_try="$ac_compile"
3342
 
case "(($ac_try" in
3343
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344
 
  *) ac_try_echo=$ac_try;;
3345
 
esac
3346
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3347
 
$as_echo "$ac_try_echo") >&5
3348
 
  (eval "$ac_compile") 2>conftest.er1
3349
 
  ac_status=$?
3350
 
  grep -v '^ *+' conftest.er1 >conftest.err
3351
 
  rm -f conftest.er1
3352
 
  cat conftest.err >&5
3353
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354
 
  (exit $ac_status); } && {
3355
 
         test -z "$ac_c_werror_flag" ||
3356
 
         test ! -s conftest.err
3357
 
       } && test -s conftest.$ac_objext; then
3358
 
  :
 
3451
if ac_fn_c_try_compile "$LINENO"; then :
 
3452
 
3359
3453
else
3360
 
  $as_echo "$as_me: failed program was:" >&5
3361
 
sed 's/^/| /' conftest.$ac_ext >&5
3362
 
 
3363
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3454
  ac_c_werror_flag=$ac_save_c_werror_flag
3364
3455
         CFLAGS="-g"
3365
 
         cat >conftest.$ac_ext <<_ACEOF
3366
 
/* confdefs.h.  */
3367
 
_ACEOF
3368
 
cat confdefs.h >>conftest.$ac_ext
3369
 
cat >>conftest.$ac_ext <<_ACEOF
 
3456
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370
3457
/* end confdefs.h.  */
3371
3458
 
3372
3459
int
3377
3464
  return 0;
3378
3465
}
3379
3466
_ACEOF
3380
 
rm -f conftest.$ac_objext
3381
 
if { (ac_try="$ac_compile"
3382
 
case "(($ac_try" in
3383
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384
 
  *) ac_try_echo=$ac_try;;
3385
 
esac
3386
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3387
 
$as_echo "$ac_try_echo") >&5
3388
 
  (eval "$ac_compile") 2>conftest.er1
3389
 
  ac_status=$?
3390
 
  grep -v '^ *+' conftest.er1 >conftest.err
3391
 
  rm -f conftest.er1
3392
 
  cat conftest.err >&5
3393
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394
 
  (exit $ac_status); } && {
3395
 
         test -z "$ac_c_werror_flag" ||
3396
 
         test ! -s conftest.err
3397
 
       } && test -s conftest.$ac_objext; then
 
3467
if ac_fn_c_try_compile "$LINENO"; then :
3398
3468
  ac_cv_prog_cc_g=yes
3399
 
else
3400
 
  $as_echo "$as_me: failed program was:" >&5
3401
 
sed 's/^/| /' conftest.$ac_ext >&5
3402
 
 
3403
 
 
3404
 
fi
3405
 
 
3406
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407
 
fi
3408
 
 
3409
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410
 
fi
3411
 
 
 
3469
fi
 
3470
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3471
fi
 
3472
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3473
fi
3412
3474
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3413
3475
   ac_c_werror_flag=$ac_save_c_werror_flag
3414
3476
fi
3415
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3416
3478
$as_echo "$ac_cv_prog_cc_g" >&6; }
3417
3479
if test "$ac_test_CFLAGS" = set; then
3418
3480
  CFLAGS=$ac_save_CFLAGS
3429
3491
    CFLAGS=
3430
3492
  fi
3431
3493
fi
3432
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3433
3495
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3434
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3496
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3435
3497
  $as_echo_n "(cached) " >&6
3436
3498
else
3437
3499
  ac_cv_prog_cc_c89=no
3438
3500
ac_save_CC=$CC
3439
 
cat >conftest.$ac_ext <<_ACEOF
3440
 
/* confdefs.h.  */
3441
 
_ACEOF
3442
 
cat confdefs.h >>conftest.$ac_ext
3443
 
cat >>conftest.$ac_ext <<_ACEOF
 
3501
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444
3502
/* end confdefs.h.  */
3445
3503
#include <stdarg.h>
3446
3504
#include <stdio.h>
3497
3555
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3498
3556
do
3499
3557
  CC="$ac_save_CC $ac_arg"
3500
 
  rm -f conftest.$ac_objext
3501
 
if { (ac_try="$ac_compile"
3502
 
case "(($ac_try" in
3503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3504
 
  *) ac_try_echo=$ac_try;;
3505
 
esac
3506
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3507
 
$as_echo "$ac_try_echo") >&5
3508
 
  (eval "$ac_compile") 2>conftest.er1
3509
 
  ac_status=$?
3510
 
  grep -v '^ *+' conftest.er1 >conftest.err
3511
 
  rm -f conftest.er1
3512
 
  cat conftest.err >&5
3513
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514
 
  (exit $ac_status); } && {
3515
 
         test -z "$ac_c_werror_flag" ||
3516
 
         test ! -s conftest.err
3517
 
       } && test -s conftest.$ac_objext; then
 
3558
  if ac_fn_c_try_compile "$LINENO"; then :
3518
3559
  ac_cv_prog_cc_c89=$ac_arg
3519
 
else
3520
 
  $as_echo "$as_me: failed program was:" >&5
3521
 
sed 's/^/| /' conftest.$ac_ext >&5
3522
 
 
3523
 
 
3524
3560
fi
3525
 
 
3526
3561
rm -f core conftest.err conftest.$ac_objext
3527
3562
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3528
3563
done
3533
3568
# AC_CACHE_VAL
3534
3569
case "x$ac_cv_prog_cc_c89" in
3535
3570
  x)
3536
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3571
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3537
3572
$as_echo "none needed" >&6; } ;;
3538
3573
  xno)
3539
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3574
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3540
3575
$as_echo "unsupported" >&6; } ;;
3541
3576
  *)
3542
3577
    CC="$CC $ac_cv_prog_cc_c89"
3543
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3578
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3544
3579
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3545
3580
esac
 
3581
if test "x$ac_cv_prog_cc_c89" != xno; then :
3546
3582
 
 
3583
fi
3547
3584
 
3548
3585
ac_ext=c
3549
3586
ac_cpp='$CPP $CPPFLAGS'
3562
3599
.PHONY: am__doit
3563
3600
END
3564
3601
# If we don't find an include directive, just comment out the code.
3565
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3566
3603
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3567
3604
am__include="#"
3568
3605
am__quote=
3590
3627
fi
3591
3628
 
3592
3629
 
3593
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3594
3631
$as_echo "$_am_result" >&6; }
3595
3632
rm -f confinc confmf
3596
3633
 
3597
3634
# Check whether --enable-dependency-tracking was given.
3598
 
if test "${enable_dependency_tracking+set}" = set; then
 
3635
if test "${enable_dependency_tracking+set}" = set; then :
3599
3636
  enableval=$enable_dependency_tracking;
3600
3637
fi
3601
3638
 
3615
3652
 
3616
3653
depcc="$CC"   am_compiler_list=
3617
3654
 
3618
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3619
3656
$as_echo_n "checking dependency style of $depcc... " >&6; }
3620
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3657
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3621
3658
  $as_echo_n "(cached) " >&6
3622
3659
else
3623
3660
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3725
3762
fi
3726
3763
 
3727
3764
fi
3728
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3729
3766
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3730
3767
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3731
3768
 
3741
3778
 
3742
3779
 
3743
3780
 
3744
 
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3745
3782
$as_echo_n "checking for library containing strerror... " >&6; }
3746
 
if test "${ac_cv_search_strerror+set}" = set; then
 
3783
if test "${ac_cv_search_strerror+set}" = set; then :
3747
3784
  $as_echo_n "(cached) " >&6
3748
3785
else
3749
3786
  ac_func_search_save_LIBS=$LIBS
3750
 
cat >conftest.$ac_ext <<_ACEOF
3751
 
/* confdefs.h.  */
3752
 
_ACEOF
3753
 
cat confdefs.h >>conftest.$ac_ext
3754
 
cat >>conftest.$ac_ext <<_ACEOF
 
3787
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755
3788
/* end confdefs.h.  */
3756
3789
 
3757
3790
/* Override any GCC internal prototype to avoid an error.
3776
3809
    ac_res=-l$ac_lib
3777
3810
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3778
3811
  fi
3779
 
  rm -f conftest.$ac_objext conftest$ac_exeext
3780
 
if { (ac_try="$ac_link"
3781
 
case "(($ac_try" in
3782
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783
 
  *) ac_try_echo=$ac_try;;
3784
 
esac
3785
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3786
 
$as_echo "$ac_try_echo") >&5
3787
 
  (eval "$ac_link") 2>conftest.er1
3788
 
  ac_status=$?
3789
 
  grep -v '^ *+' conftest.er1 >conftest.err
3790
 
  rm -f conftest.er1
3791
 
  cat conftest.err >&5
3792
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793
 
  (exit $ac_status); } && {
3794
 
         test -z "$ac_c_werror_flag" ||
3795
 
         test ! -s conftest.err
3796
 
       } && test -s conftest$ac_exeext && {
3797
 
         test "$cross_compiling" = yes ||
3798
 
         $as_test_x conftest$ac_exeext
3799
 
       }; then
 
3812
  if ac_fn_c_try_link "$LINENO"; then :
3800
3813
  ac_cv_search_strerror=$ac_res
3801
 
else
3802
 
  $as_echo "$as_me: failed program was:" >&5
3803
 
sed 's/^/| /' conftest.$ac_ext >&5
3804
 
 
3805
 
 
3806
3814
fi
3807
 
 
3808
 
rm -rf conftest.dSYM
3809
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3810
 
      conftest$ac_exeext
3811
 
  if test "${ac_cv_search_strerror+set}" = set; then
 
3815
rm -f core conftest.err conftest.$ac_objext \
 
3816
    conftest$ac_exeext
 
3817
  if test "${ac_cv_search_strerror+set}" = set; then :
3812
3818
  break
3813
3819
fi
3814
3820
done
3815
 
if test "${ac_cv_search_strerror+set}" = set; then
3816
 
  :
 
3821
if test "${ac_cv_search_strerror+set}" = set; then :
 
3822
 
3817
3823
else
3818
3824
  ac_cv_search_strerror=no
3819
3825
fi
3820
3826
rm conftest.$ac_ext
3821
3827
LIBS=$ac_func_search_save_LIBS
3822
3828
fi
3823
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3824
3830
$as_echo "$ac_cv_search_strerror" >&6; }
3825
3831
ac_res=$ac_cv_search_strerror
3826
 
if test "$ac_res" != no; then
 
3832
if test "$ac_res" != no; then :
3827
3833
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3828
3834
 
3829
3835
fi
3833
3839
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3834
3840
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3835
3841
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3836
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3837
3843
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3838
3844
# On Suns, sometimes $CPP names a directory.
3839
3845
if test -n "$CPP" && test -d "$CPP"; then
3840
3846
  CPP=
3841
3847
fi
3842
3848
if test -z "$CPP"; then
3843
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3849
  if test "${ac_cv_prog_CPP+set}" = set; then :
3844
3850
  $as_echo_n "(cached) " >&6
3845
3851
else
3846
3852
      # Double quotes because CPP needs to be expanded
3855
3861
  # <limits.h> exists even on freestanding compilers.
3856
3862
  # On the NeXT, cc -E runs the code through the compiler's parser,
3857
3863
  # not just through cpp. "Syntax error" is here to catch this case.
3858
 
  cat >conftest.$ac_ext <<_ACEOF
3859
 
/* confdefs.h.  */
3860
 
_ACEOF
3861
 
cat confdefs.h >>conftest.$ac_ext
3862
 
cat >>conftest.$ac_ext <<_ACEOF
 
3864
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863
3865
/* end confdefs.h.  */
3864
3866
#ifdef __STDC__
3865
3867
# include <limits.h>
3868
3870
#endif
3869
3871
                     Syntax error
3870
3872
_ACEOF
3871
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3872
 
case "(($ac_try" in
3873
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874
 
  *) ac_try_echo=$ac_try;;
3875
 
esac
3876
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3877
 
$as_echo "$ac_try_echo") >&5
3878
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3879
 
  ac_status=$?
3880
 
  grep -v '^ *+' conftest.er1 >conftest.err
3881
 
  rm -f conftest.er1
3882
 
  cat conftest.err >&5
3883
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884
 
  (exit $ac_status); } >/dev/null && {
3885
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3886
 
         test ! -s conftest.err
3887
 
       }; then
3888
 
  :
 
3873
if ac_fn_c_try_cpp "$LINENO"; then :
 
3874
 
3889
3875
else
3890
 
  $as_echo "$as_me: failed program was:" >&5
3891
 
sed 's/^/| /' conftest.$ac_ext >&5
3892
 
 
3893
3876
  # Broken: fails on valid input.
3894
3877
continue
3895
3878
fi
3896
 
 
3897
3879
rm -f conftest.err conftest.$ac_ext
3898
3880
 
3899
3881
  # OK, works on sane cases.  Now check whether nonexistent headers
3900
3882
  # can be detected and how.
3901
 
  cat >conftest.$ac_ext <<_ACEOF
3902
 
/* confdefs.h.  */
3903
 
_ACEOF
3904
 
cat confdefs.h >>conftest.$ac_ext
3905
 
cat >>conftest.$ac_ext <<_ACEOF
 
3883
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906
3884
/* end confdefs.h.  */
3907
3885
#include <ac_nonexistent.h>
3908
3886
_ACEOF
3909
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3910
 
case "(($ac_try" in
3911
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3912
 
  *) ac_try_echo=$ac_try;;
3913
 
esac
3914
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3915
 
$as_echo "$ac_try_echo") >&5
3916
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3917
 
  ac_status=$?
3918
 
  grep -v '^ *+' conftest.er1 >conftest.err
3919
 
  rm -f conftest.er1
3920
 
  cat conftest.err >&5
3921
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922
 
  (exit $ac_status); } >/dev/null && {
3923
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3924
 
         test ! -s conftest.err
3925
 
       }; then
 
3887
if ac_fn_c_try_cpp "$LINENO"; then :
3926
3888
  # Broken: success on invalid input.
3927
3889
continue
3928
3890
else
3929
 
  $as_echo "$as_me: failed program was:" >&5
3930
 
sed 's/^/| /' conftest.$ac_ext >&5
3931
 
 
3932
3891
  # Passes both tests.
3933
3892
ac_preproc_ok=:
3934
3893
break
3935
3894
fi
3936
 
 
3937
3895
rm -f conftest.err conftest.$ac_ext
3938
3896
 
3939
3897
done
3940
3898
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3941
3899
rm -f conftest.err conftest.$ac_ext
3942
 
if $ac_preproc_ok; then
 
3900
if $ac_preproc_ok; then :
3943
3901
  break
3944
3902
fi
3945
3903
 
3951
3909
else
3952
3910
  ac_cv_prog_CPP=$CPP
3953
3911
fi
3954
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3955
3913
$as_echo "$CPP" >&6; }
3956
3914
ac_preproc_ok=false
3957
3915
for ac_c_preproc_warn_flag in '' yes
3962
3920
  # <limits.h> exists even on freestanding compilers.
3963
3921
  # On the NeXT, cc -E runs the code through the compiler's parser,
3964
3922
  # not just through cpp. "Syntax error" is here to catch this case.
3965
 
  cat >conftest.$ac_ext <<_ACEOF
3966
 
/* confdefs.h.  */
3967
 
_ACEOF
3968
 
cat confdefs.h >>conftest.$ac_ext
3969
 
cat >>conftest.$ac_ext <<_ACEOF
 
3923
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3970
3924
/* end confdefs.h.  */
3971
3925
#ifdef __STDC__
3972
3926
# include <limits.h>
3975
3929
#endif
3976
3930
                     Syntax error
3977
3931
_ACEOF
3978
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3979
 
case "(($ac_try" in
3980
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981
 
  *) ac_try_echo=$ac_try;;
3982
 
esac
3983
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3984
 
$as_echo "$ac_try_echo") >&5
3985
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3986
 
  ac_status=$?
3987
 
  grep -v '^ *+' conftest.er1 >conftest.err
3988
 
  rm -f conftest.er1
3989
 
  cat conftest.err >&5
3990
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991
 
  (exit $ac_status); } >/dev/null && {
3992
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3993
 
         test ! -s conftest.err
3994
 
       }; then
3995
 
  :
 
3932
if ac_fn_c_try_cpp "$LINENO"; then :
 
3933
 
3996
3934
else
3997
 
  $as_echo "$as_me: failed program was:" >&5
3998
 
sed 's/^/| /' conftest.$ac_ext >&5
3999
 
 
4000
3935
  # Broken: fails on valid input.
4001
3936
continue
4002
3937
fi
4003
 
 
4004
3938
rm -f conftest.err conftest.$ac_ext
4005
3939
 
4006
3940
  # OK, works on sane cases.  Now check whether nonexistent headers
4007
3941
  # can be detected and how.
4008
 
  cat >conftest.$ac_ext <<_ACEOF
4009
 
/* confdefs.h.  */
4010
 
_ACEOF
4011
 
cat confdefs.h >>conftest.$ac_ext
4012
 
cat >>conftest.$ac_ext <<_ACEOF
 
3942
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4013
3943
/* end confdefs.h.  */
4014
3944
#include <ac_nonexistent.h>
4015
3945
_ACEOF
4016
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4017
 
case "(($ac_try" in
4018
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019
 
  *) ac_try_echo=$ac_try;;
4020
 
esac
4021
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4022
 
$as_echo "$ac_try_echo") >&5
4023
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4024
 
  ac_status=$?
4025
 
  grep -v '^ *+' conftest.er1 >conftest.err
4026
 
  rm -f conftest.er1
4027
 
  cat conftest.err >&5
4028
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029
 
  (exit $ac_status); } >/dev/null && {
4030
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4031
 
         test ! -s conftest.err
4032
 
       }; then
 
3946
if ac_fn_c_try_cpp "$LINENO"; then :
4033
3947
  # Broken: success on invalid input.
4034
3948
continue
4035
3949
else
4036
 
  $as_echo "$as_me: failed program was:" >&5
4037
 
sed 's/^/| /' conftest.$ac_ext >&5
4038
 
 
4039
3950
  # Passes both tests.
4040
3951
ac_preproc_ok=:
4041
3952
break
4042
3953
fi
4043
 
 
4044
3954
rm -f conftest.err conftest.$ac_ext
4045
3955
 
4046
3956
done
4047
3957
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4048
3958
rm -f conftest.err conftest.$ac_ext
4049
 
if $ac_preproc_ok; then
4050
 
  :
 
3959
if $ac_preproc_ok; then :
 
3960
 
4051
3961
else
4052
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3962
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053
3963
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4055
 
See \`config.log' for more details." >&5
4056
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4057
 
See \`config.log' for more details." >&2;}
4058
 
   { (exit 1); exit 1; }; }; }
 
3964
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
3965
See \`config.log' for more details." "$LINENO" 5; }
4059
3966
fi
4060
3967
 
4061
3968
ac_ext=c
4065
3972
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4066
3973
 
4067
3974
 
4068
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4069
3976
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4070
 
if test "${ac_cv_path_GREP+set}" = set; then
 
3977
if test "${ac_cv_path_GREP+set}" = set; then :
4071
3978
  $as_echo_n "(cached) " >&6
4072
3979
else
4073
3980
  if test -z "$GREP"; then
4078
3985
do
4079
3986
  IFS=$as_save_IFS
4080
3987
  test -z "$as_dir" && as_dir=.
4081
 
  for ac_prog in grep ggrep; do
 
3988
    for ac_prog in grep ggrep; do
4082
3989
    for ac_exec_ext in '' $ac_executable_extensions; do
4083
3990
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4084
3991
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4098
4005
    $as_echo 'GREP' >> "conftest.nl"
4099
4006
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4100
4007
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4101
 
    ac_count=`expr $ac_count + 1`
 
4008
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4102
4009
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4103
4010
      # Best one so far, save it but keep looking for a better one
4104
4011
      ac_cv_path_GREP="$ac_path_GREP"
4113
4020
      $ac_path_GREP_found && break 3
4114
4021
    done
4115
4022
  done
4116
 
done
 
4023
  done
4117
4024
IFS=$as_save_IFS
4118
4025
  if test -z "$ac_cv_path_GREP"; then
4119
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4120
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4121
 
   { (exit 1); exit 1; }; }
 
4026
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4122
4027
  fi
4123
4028
else
4124
4029
  ac_cv_path_GREP=$GREP
4125
4030
fi
4126
4031
 
4127
4032
fi
4128
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4129
4034
$as_echo "$ac_cv_path_GREP" >&6; }
4130
4035
 GREP="$ac_cv_path_GREP"
4131
4036
 
4132
4037
 
4133
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4134
4039
$as_echo_n "checking for egrep... " >&6; }
4135
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4040
if test "${ac_cv_path_EGREP+set}" = set; then :
4136
4041
  $as_echo_n "(cached) " >&6
4137
4042
else
4138
4043
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4146
4051
do
4147
4052
  IFS=$as_save_IFS
4148
4053
  test -z "$as_dir" && as_dir=.
4149
 
  for ac_prog in egrep; do
 
4054
    for ac_prog in egrep; do
4150
4055
    for ac_exec_ext in '' $ac_executable_extensions; do
4151
4056
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4152
4057
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4166
4071
    $as_echo 'EGREP' >> "conftest.nl"
4167
4072
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4168
4073
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4169
 
    ac_count=`expr $ac_count + 1`
 
4074
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4170
4075
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4171
4076
      # Best one so far, save it but keep looking for a better one
4172
4077
      ac_cv_path_EGREP="$ac_path_EGREP"
4181
4086
      $ac_path_EGREP_found && break 3
4182
4087
    done
4183
4088
  done
4184
 
done
 
4089
  done
4185
4090
IFS=$as_save_IFS
4186
4091
  if test -z "$ac_cv_path_EGREP"; then
4187
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4188
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4189
 
   { (exit 1); exit 1; }; }
 
4092
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4190
4093
  fi
4191
4094
else
4192
4095
  ac_cv_path_EGREP=$EGREP
4194
4097
 
4195
4098
   fi
4196
4099
fi
4197
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4198
4101
$as_echo "$ac_cv_path_EGREP" >&6; }
4199
4102
 EGREP="$ac_cv_path_EGREP"
4200
4103
 
4201
4104
 
4202
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4203
4106
$as_echo_n "checking for ANSI C header files... " >&6; }
4204
 
if test "${ac_cv_header_stdc+set}" = set; then
 
4107
if test "${ac_cv_header_stdc+set}" = set; then :
4205
4108
  $as_echo_n "(cached) " >&6
4206
4109
else
4207
 
  cat >conftest.$ac_ext <<_ACEOF
4208
 
/* confdefs.h.  */
4209
 
_ACEOF
4210
 
cat confdefs.h >>conftest.$ac_ext
4211
 
cat >>conftest.$ac_ext <<_ACEOF
 
4110
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212
4111
/* end confdefs.h.  */
4213
4112
#include <stdlib.h>
4214
4113
#include <stdarg.h>
4223
4122
  return 0;
4224
4123
}
4225
4124
_ACEOF
4226
 
rm -f conftest.$ac_objext
4227
 
if { (ac_try="$ac_compile"
4228
 
case "(($ac_try" in
4229
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4230
 
  *) ac_try_echo=$ac_try;;
4231
 
esac
4232
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4233
 
$as_echo "$ac_try_echo") >&5
4234
 
  (eval "$ac_compile") 2>conftest.er1
4235
 
  ac_status=$?
4236
 
  grep -v '^ *+' conftest.er1 >conftest.err
4237
 
  rm -f conftest.er1
4238
 
  cat conftest.err >&5
4239
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240
 
  (exit $ac_status); } && {
4241
 
         test -z "$ac_c_werror_flag" ||
4242
 
         test ! -s conftest.err
4243
 
       } && test -s conftest.$ac_objext; then
 
4125
if ac_fn_c_try_compile "$LINENO"; then :
4244
4126
  ac_cv_header_stdc=yes
4245
4127
else
4246
 
  $as_echo "$as_me: failed program was:" >&5
4247
 
sed 's/^/| /' conftest.$ac_ext >&5
4248
 
 
4249
 
        ac_cv_header_stdc=no
 
4128
  ac_cv_header_stdc=no
4250
4129
fi
4251
 
 
4252
4130
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4253
4131
 
4254
4132
if test $ac_cv_header_stdc = yes; then
4255
4133
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4256
 
  cat >conftest.$ac_ext <<_ACEOF
4257
 
/* confdefs.h.  */
4258
 
_ACEOF
4259
 
cat confdefs.h >>conftest.$ac_ext
4260
 
cat >>conftest.$ac_ext <<_ACEOF
 
4134
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4261
4135
/* end confdefs.h.  */
4262
4136
#include <string.h>
4263
4137
 
4264
4138
_ACEOF
4265
4139
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4266
 
  $EGREP "memchr" >/dev/null 2>&1; then
4267
 
  :
 
4140
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4141
 
4268
4142
else
4269
4143
  ac_cv_header_stdc=no
4270
4144
fi
4274
4148
 
4275
4149
if test $ac_cv_header_stdc = yes; then
4276
4150
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4277
 
  cat >conftest.$ac_ext <<_ACEOF
4278
 
/* confdefs.h.  */
4279
 
_ACEOF
4280
 
cat confdefs.h >>conftest.$ac_ext
4281
 
cat >>conftest.$ac_ext <<_ACEOF
 
4151
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282
4152
/* end confdefs.h.  */
4283
4153
#include <stdlib.h>
4284
4154
 
4285
4155
_ACEOF
4286
4156
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4287
 
  $EGREP "free" >/dev/null 2>&1; then
4288
 
  :
 
4157
  $EGREP "free" >/dev/null 2>&1; then :
 
4158
 
4289
4159
else
4290
4160
  ac_cv_header_stdc=no
4291
4161
fi
4295
4165
 
4296
4166
if test $ac_cv_header_stdc = yes; then
4297
4167
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4298
 
  if test "$cross_compiling" = yes; then
 
4168
  if test "$cross_compiling" = yes; then :
4299
4169
  :
4300
4170
else
4301
 
  cat >conftest.$ac_ext <<_ACEOF
4302
 
/* confdefs.h.  */
4303
 
_ACEOF
4304
 
cat confdefs.h >>conftest.$ac_ext
4305
 
cat >>conftest.$ac_ext <<_ACEOF
 
4171
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306
4172
/* end confdefs.h.  */
4307
4173
#include <ctype.h>
4308
4174
#include <stdlib.h>
4329
4195
  return 0;
4330
4196
}
4331
4197
_ACEOF
4332
 
rm -f conftest$ac_exeext
4333
 
if { (ac_try="$ac_link"
4334
 
case "(($ac_try" in
4335
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4336
 
  *) ac_try_echo=$ac_try;;
4337
 
esac
4338
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4339
 
$as_echo "$ac_try_echo") >&5
4340
 
  (eval "$ac_link") 2>&5
4341
 
  ac_status=$?
4342
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4344
 
  { (case "(($ac_try" in
4345
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4346
 
  *) ac_try_echo=$ac_try;;
4347
 
esac
4348
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4349
 
$as_echo "$ac_try_echo") >&5
4350
 
  (eval "$ac_try") 2>&5
4351
 
  ac_status=$?
4352
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353
 
  (exit $ac_status); }; }; then
4354
 
  :
 
4198
if ac_fn_c_try_run "$LINENO"; then :
 
4199
 
4355
4200
else
4356
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4357
 
$as_echo "$as_me: failed program was:" >&5
4358
 
sed 's/^/| /' conftest.$ac_ext >&5
4359
 
 
4360
 
( exit $ac_status )
4361
 
ac_cv_header_stdc=no
4362
 
fi
4363
 
rm -rf conftest.dSYM
4364
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4365
 
fi
4366
 
 
4367
 
 
4368
 
fi
4369
 
fi
4370
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4201
  ac_cv_header_stdc=no
 
4202
fi
 
4203
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4204
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4205
fi
 
4206
 
 
4207
fi
 
4208
fi
 
4209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4371
4210
$as_echo "$ac_cv_header_stdc" >&6; }
4372
4211
if test $ac_cv_header_stdc = yes; then
4373
4212
 
4374
 
cat >>confdefs.h <<\_ACEOF
4375
 
#define STDC_HEADERS 1
4376
 
_ACEOF
 
4213
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4377
4214
 
4378
4215
fi
4379
4216
 
4380
4217
case `pwd` in
4381
4218
  *\ * | *\     *)
4382
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4219
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4383
4220
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4384
4221
esac
4385
4222
 
4386
4223
 
4387
4224
 
4388
 
macro_version='2.2.6'
4389
 
macro_revision='1.3012'
 
4225
macro_version='2.2.6b'
 
4226
macro_revision='1.3017'
4390
4227
 
4391
4228
 
4392
4229
 
4404
4241
 
4405
4242
# Make sure we can run config.sub.
4406
4243
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4407
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4408
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4409
 
   { (exit 1); exit 1; }; }
 
4244
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4410
4245
 
4411
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4412
4247
$as_echo_n "checking build system type... " >&6; }
4413
 
if test "${ac_cv_build+set}" = set; then
 
4248
if test "${ac_cv_build+set}" = set; then :
4414
4249
  $as_echo_n "(cached) " >&6
4415
4250
else
4416
4251
  ac_build_alias=$build_alias
4417
4252
test "x$ac_build_alias" = x &&
4418
4253
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4419
4254
test "x$ac_build_alias" = x &&
4420
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4421
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4422
 
   { (exit 1); exit 1; }; }
 
4255
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4423
4256
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4424
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4425
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4426
 
   { (exit 1); exit 1; }; }
 
4257
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4427
4258
 
4428
4259
fi
4429
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4430
4261
$as_echo "$ac_cv_build" >&6; }
4431
4262
case $ac_cv_build in
4432
4263
*-*-*) ;;
4433
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4434
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4435
 
   { (exit 1); exit 1; }; };;
 
4264
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4436
4265
esac
4437
4266
build=$ac_cv_build
4438
4267
ac_save_IFS=$IFS; IFS='-'
4448
4277
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4449
4278
 
4450
4279
 
4451
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4452
4281
$as_echo_n "checking host system type... " >&6; }
4453
 
if test "${ac_cv_host+set}" = set; then
 
4282
if test "${ac_cv_host+set}" = set; then :
4454
4283
  $as_echo_n "(cached) " >&6
4455
4284
else
4456
4285
  if test "x$host_alias" = x; then
4457
4286
  ac_cv_host=$ac_cv_build
4458
4287
else
4459
4288
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4460
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4461
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4462
 
   { (exit 1); exit 1; }; }
 
4289
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4463
4290
fi
4464
4291
 
4465
4292
fi
4466
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4467
4294
$as_echo "$ac_cv_host" >&6; }
4468
4295
case $ac_cv_host in
4469
4296
*-*-*) ;;
4470
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4471
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4472
 
   { (exit 1); exit 1; }; };;
 
4297
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4473
4298
esac
4474
4299
host=$ac_cv_host
4475
4300
ac_save_IFS=$IFS; IFS='-'
4485
4310
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4486
4311
 
4487
4312
 
4488
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4489
4314
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4490
 
if test "${ac_cv_path_SED+set}" = set; then
 
4315
if test "${ac_cv_path_SED+set}" = set; then :
4491
4316
  $as_echo_n "(cached) " >&6
4492
4317
else
4493
4318
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4495
4320
       ac_script="$ac_script$as_nl$ac_script"
4496
4321
     done
4497
4322
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4498
 
     $as_unset ac_script || ac_script=
 
4323
     { ac_script=; unset ac_script;}
4499
4324
     if test -z "$SED"; then
4500
4325
  ac_path_SED_found=false
4501
4326
  # Loop through the user's path and test for each of PROGNAME-LIST
4504
4329
do
4505
4330
  IFS=$as_save_IFS
4506
4331
  test -z "$as_dir" && as_dir=.
4507
 
  for ac_prog in sed gsed; do
 
4332
    for ac_prog in sed gsed; do
4508
4333
    for ac_exec_ext in '' $ac_executable_extensions; do
4509
4334
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4510
4335
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4524
4349
    $as_echo '' >> "conftest.nl"
4525
4350
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4526
4351
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4527
 
    ac_count=`expr $ac_count + 1`
 
4352
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4528
4353
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4529
4354
      # Best one so far, save it but keep looking for a better one
4530
4355
      ac_cv_path_SED="$ac_path_SED"
4539
4364
      $ac_path_SED_found && break 3
4540
4365
    done
4541
4366
  done
4542
 
done
 
4367
  done
4543
4368
IFS=$as_save_IFS
4544
4369
  if test -z "$ac_cv_path_SED"; then
4545
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4546
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4547
 
   { (exit 1); exit 1; }; }
 
4370
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4548
4371
  fi
4549
4372
else
4550
4373
  ac_cv_path_SED=$SED
4551
4374
fi
4552
4375
 
4553
4376
fi
4554
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4555
4378
$as_echo "$ac_cv_path_SED" >&6; }
4556
4379
 SED="$ac_cv_path_SED"
4557
4380
  rm -f conftest.sed
4569
4392
 
4570
4393
 
4571
4394
 
4572
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4573
4396
$as_echo_n "checking for fgrep... " >&6; }
4574
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
4397
if test "${ac_cv_path_FGREP+set}" = set; then :
4575
4398
  $as_echo_n "(cached) " >&6
4576
4399
else
4577
4400
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4585
4408
do
4586
4409
  IFS=$as_save_IFS
4587
4410
  test -z "$as_dir" && as_dir=.
4588
 
  for ac_prog in fgrep; do
 
4411
    for ac_prog in fgrep; do
4589
4412
    for ac_exec_ext in '' $ac_executable_extensions; do
4590
4413
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4591
4414
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4605
4428
    $as_echo 'FGREP' >> "conftest.nl"
4606
4429
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4607
4430
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4608
 
    ac_count=`expr $ac_count + 1`
 
4431
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4609
4432
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4610
4433
      # Best one so far, save it but keep looking for a better one
4611
4434
      ac_cv_path_FGREP="$ac_path_FGREP"
4620
4443
      $ac_path_FGREP_found && break 3
4621
4444
    done
4622
4445
  done
4623
 
done
 
4446
  done
4624
4447
IFS=$as_save_IFS
4625
4448
  if test -z "$ac_cv_path_FGREP"; then
4626
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4627
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4628
 
   { (exit 1); exit 1; }; }
 
4449
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4629
4450
  fi
4630
4451
else
4631
4452
  ac_cv_path_FGREP=$FGREP
4633
4454
 
4634
4455
   fi
4635
4456
fi
4636
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4637
4458
$as_echo "$ac_cv_path_FGREP" >&6; }
4638
4459
 FGREP="$ac_cv_path_FGREP"
4639
4460
 
4659
4480
 
4660
4481
 
4661
4482
# Check whether --with-gnu-ld was given.
4662
 
if test "${with_gnu_ld+set}" = set; then
 
4483
if test "${with_gnu_ld+set}" = set; then :
4663
4484
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4664
4485
else
4665
4486
  with_gnu_ld=no
4668
4489
ac_prog=ld
4669
4490
if test "$GCC" = yes; then
4670
4491
  # Check if gcc -print-prog-name=ld gives a path.
4671
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4492
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4672
4493
$as_echo_n "checking for ld used by $CC... " >&6; }
4673
4494
  case $host in
4674
4495
  *-*-mingw*)
4698
4519
    ;;
4699
4520
  esac
4700
4521
elif test "$with_gnu_ld" = yes; then
4701
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4522
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4702
4523
$as_echo_n "checking for GNU ld... " >&6; }
4703
4524
else
4704
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4525
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4705
4526
$as_echo_n "checking for non-GNU ld... " >&6; }
4706
4527
fi
4707
 
if test "${lt_cv_path_LD+set}" = set; then
 
4528
if test "${lt_cv_path_LD+set}" = set; then :
4708
4529
  $as_echo_n "(cached) " >&6
4709
4530
else
4710
4531
  if test -z "$LD"; then
4735
4556
 
4736
4557
LD="$lt_cv_path_LD"
4737
4558
if test -n "$LD"; then
4738
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4559
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4739
4560
$as_echo "$LD" >&6; }
4740
4561
else
4741
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4562
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742
4563
$as_echo "no" >&6; }
4743
4564
fi
4744
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4745
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4746
 
   { (exit 1); exit 1; }; }
4747
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4565
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4748
4567
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4749
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
4568
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4750
4569
  $as_echo_n "(cached) " >&6
4751
4570
else
4752
4571
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4759
4578
  ;;
4760
4579
esac
4761
4580
fi
4762
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4763
4582
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4764
4583
with_gnu_ld=$lt_cv_prog_gnu_ld
4765
4584
 
4771
4590
 
4772
4591
 
4773
4592
 
4774
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4775
4594
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4776
 
if test "${lt_cv_path_NM+set}" = set; then
 
4595
if test "${lt_cv_path_NM+set}" = set; then :
4777
4596
  $as_echo_n "(cached) " >&6
4778
4597
else
4779
4598
  if test -n "$NM"; then
4820
4639
  : ${lt_cv_path_NM=no}
4821
4640
fi
4822
4641
fi
4823
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4824
4643
$as_echo "$lt_cv_path_NM" >&6; }
4825
4644
if test "$lt_cv_path_NM" != "no"; then
4826
4645
  NM="$lt_cv_path_NM"
4831
4650
  do
4832
4651
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4833
4652
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4834
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835
4654
$as_echo_n "checking for $ac_word... " >&6; }
4836
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4655
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4837
4656
  $as_echo_n "(cached) " >&6
4838
4657
else
4839
4658
  if test -n "$DUMPBIN"; then
4844
4663
do
4845
4664
  IFS=$as_save_IFS
4846
4665
  test -z "$as_dir" && as_dir=.
4847
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4666
    for ac_exec_ext in '' $ac_executable_extensions; do
4848
4667
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4849
4668
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4850
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4669
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4851
4670
    break 2
4852
4671
  fi
4853
4672
done
4854
 
done
 
4673
  done
4855
4674
IFS=$as_save_IFS
4856
4675
 
4857
4676
fi
4858
4677
fi
4859
4678
DUMPBIN=$ac_cv_prog_DUMPBIN
4860
4679
if test -n "$DUMPBIN"; then
4861
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
4680
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4862
4681
$as_echo "$DUMPBIN" >&6; }
4863
4682
else
4864
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4683
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865
4684
$as_echo "no" >&6; }
4866
4685
fi
4867
4686
 
4875
4694
do
4876
4695
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4877
4696
set dummy $ac_prog; ac_word=$2
4878
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879
4698
$as_echo_n "checking for $ac_word... " >&6; }
4880
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
4699
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4881
4700
  $as_echo_n "(cached) " >&6
4882
4701
else
4883
4702
  if test -n "$ac_ct_DUMPBIN"; then
4888
4707
do
4889
4708
  IFS=$as_save_IFS
4890
4709
  test -z "$as_dir" && as_dir=.
4891
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4710
    for ac_exec_ext in '' $ac_executable_extensions; do
4892
4711
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4893
4712
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4894
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4713
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895
4714
    break 2
4896
4715
  fi
4897
4716
done
4898
 
done
 
4717
  done
4899
4718
IFS=$as_save_IFS
4900
4719
 
4901
4720
fi
4902
4721
fi
4903
4722
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4904
4723
if test -n "$ac_ct_DUMPBIN"; then
4905
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
4724
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4906
4725
$as_echo "$ac_ct_DUMPBIN" >&6; }
4907
4726
else
4908
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4727
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909
4728
$as_echo "no" >&6; }
4910
4729
fi
4911
4730
 
4918
4737
  else
4919
4738
    case $cross_compiling:$ac_tool_warned in
4920
4739
yes:)
4921
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4740
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4922
4741
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4923
4742
ac_tool_warned=yes ;;
4924
4743
esac
4938
4757
 
4939
4758
 
4940
4759
 
4941
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
4760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4942
4761
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4943
 
if test "${lt_cv_nm_interface+set}" = set; then
 
4762
if test "${lt_cv_nm_interface+set}" = set; then :
4944
4763
  $as_echo_n "(cached) " >&6
4945
4764
else
4946
4765
  lt_cv_nm_interface="BSD nm"
4947
4766
  echo "int some_variable = 0;" > conftest.$ac_ext
4948
 
  (eval echo "\"\$as_me:4948: $ac_compile\"" >&5)
 
4767
  (eval echo "\"\$as_me:4767: $ac_compile\"" >&5)
4949
4768
  (eval "$ac_compile" 2>conftest.err)
4950
4769
  cat conftest.err >&5
4951
 
  (eval echo "\"\$as_me:4951: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4770
  (eval echo "\"\$as_me:4770: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4952
4771
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4953
4772
  cat conftest.err >&5
4954
 
  (eval echo "\"\$as_me:4954: output\"" >&5)
 
4773
  (eval echo "\"\$as_me:4773: output\"" >&5)
4955
4774
  cat conftest.out >&5
4956
4775
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4957
4776
    lt_cv_nm_interface="MS dumpbin"
4958
4777
  fi
4959
4778
  rm -f conftest*
4960
4779
fi
4961
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
4780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4962
4781
$as_echo "$lt_cv_nm_interface" >&6; }
4963
4782
 
4964
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4965
4784
$as_echo_n "checking whether ln -s works... " >&6; }
4966
4785
LN_S=$as_ln_s
4967
4786
if test "$LN_S" = "ln -s"; then
4968
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4787
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4969
4788
$as_echo "yes" >&6; }
4970
4789
else
4971
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4790
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4972
4791
$as_echo "no, using $LN_S" >&6; }
4973
4792
fi
4974
4793
 
4975
4794
# find the maximum length of command line arguments
4976
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
4795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4977
4796
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4978
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
4797
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4979
4798
  $as_echo_n "(cached) " >&6
4980
4799
else
4981
4800
    i=0
5093
4912
fi
5094
4913
 
5095
4914
if test -n $lt_cv_sys_max_cmd_len ; then
5096
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
4915
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5097
4916
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5098
4917
else
5099
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
4918
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5100
4919
$as_echo "none" >&6; }
5101
4920
fi
5102
4921
max_cmd_len=$lt_cv_sys_max_cmd_len
5110
4929
: ${MV="mv -f"}
5111
4930
: ${RM="rm -f"}
5112
4931
 
5113
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
4932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5114
4933
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5115
4934
# Try some XSI features
5116
4935
xsi_shell=no
5120
4939
    && eval 'test $(( 1 + 1 )) -eq 2 \
5121
4940
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5122
4941
  && xsi_shell=yes
5123
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
4942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5124
4943
$as_echo "$xsi_shell" >&6; }
5125
4944
 
5126
4945
 
5127
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
4946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5128
4947
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5129
4948
lt_shell_append=no
5130
4949
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5131
4950
    >/dev/null 2>&1 \
5132
4951
  && lt_shell_append=yes
5133
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
4952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5134
4953
$as_echo "$lt_shell_append" >&6; }
5135
4954
 
5136
4955
 
5165
4984
 
5166
4985
 
5167
4986
 
5168
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5169
4988
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5170
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
4989
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5171
4990
  $as_echo_n "(cached) " >&6
5172
4991
else
5173
4992
  lt_cv_ld_reload_flag='-r'
5174
4993
fi
5175
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5176
4995
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5177
4996
reload_flag=$lt_cv_ld_reload_flag
5178
4997
case $reload_flag in
5201
5020
if test -n "$ac_tool_prefix"; then
5202
5021
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5203
5022
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5204
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205
5024
$as_echo_n "checking for $ac_word... " >&6; }
5206
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5025
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5207
5026
  $as_echo_n "(cached) " >&6
5208
5027
else
5209
5028
  if test -n "$OBJDUMP"; then
5214
5033
do
5215
5034
  IFS=$as_save_IFS
5216
5035
  test -z "$as_dir" && as_dir=.
5217
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5036
    for ac_exec_ext in '' $ac_executable_extensions; do
5218
5037
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219
5038
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5220
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5039
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221
5040
    break 2
5222
5041
  fi
5223
5042
done
5224
 
done
 
5043
  done
5225
5044
IFS=$as_save_IFS
5226
5045
 
5227
5046
fi
5228
5047
fi
5229
5048
OBJDUMP=$ac_cv_prog_OBJDUMP
5230
5049
if test -n "$OBJDUMP"; then
5231
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5050
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5232
5051
$as_echo "$OBJDUMP" >&6; }
5233
5052
else
5234
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5053
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235
5054
$as_echo "no" >&6; }
5236
5055
fi
5237
5056
 
5241
5060
  ac_ct_OBJDUMP=$OBJDUMP
5242
5061
  # Extract the first word of "objdump", so it can be a program name with args.
5243
5062
set dummy objdump; ac_word=$2
5244
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245
5064
$as_echo_n "checking for $ac_word... " >&6; }
5246
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5065
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5247
5066
  $as_echo_n "(cached) " >&6
5248
5067
else
5249
5068
  if test -n "$ac_ct_OBJDUMP"; then
5254
5073
do
5255
5074
  IFS=$as_save_IFS
5256
5075
  test -z "$as_dir" && as_dir=.
5257
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5076
    for ac_exec_ext in '' $ac_executable_extensions; do
5258
5077
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259
5078
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5260
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5079
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261
5080
    break 2
5262
5081
  fi
5263
5082
done
5264
 
done
 
5083
  done
5265
5084
IFS=$as_save_IFS
5266
5085
 
5267
5086
fi
5268
5087
fi
5269
5088
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5270
5089
if test -n "$ac_ct_OBJDUMP"; then
5271
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5090
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5272
5091
$as_echo "$ac_ct_OBJDUMP" >&6; }
5273
5092
else
5274
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5093
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275
5094
$as_echo "no" >&6; }
5276
5095
fi
5277
5096
 
5280
5099
  else
5281
5100
    case $cross_compiling:$ac_tool_warned in
5282
5101
yes:)
5283
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5102
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5284
5103
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285
5104
ac_tool_warned=yes ;;
5286
5105
esac
5300
5119
 
5301
5120
 
5302
5121
 
5303
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5304
5123
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5305
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5124
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5306
5125
  $as_echo_n "(cached) " >&6
5307
5126
else
5308
5127
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5496
5315
esac
5497
5316
 
5498
5317
fi
5499
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5500
5319
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5501
5320
file_magic_cmd=$lt_cv_file_magic_cmd
5502
5321
deplibs_check_method=$lt_cv_deplibs_check_method
5516
5335
if test -n "$ac_tool_prefix"; then
5517
5336
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5518
5337
set dummy ${ac_tool_prefix}ar; ac_word=$2
5519
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520
5339
$as_echo_n "checking for $ac_word... " >&6; }
5521
 
if test "${ac_cv_prog_AR+set}" = set; then
 
5340
if test "${ac_cv_prog_AR+set}" = set; then :
5522
5341
  $as_echo_n "(cached) " >&6
5523
5342
else
5524
5343
  if test -n "$AR"; then
5529
5348
do
5530
5349
  IFS=$as_save_IFS
5531
5350
  test -z "$as_dir" && as_dir=.
5532
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5351
    for ac_exec_ext in '' $ac_executable_extensions; do
5533
5352
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5534
5353
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5535
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5354
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536
5355
    break 2
5537
5356
  fi
5538
5357
done
5539
 
done
 
5358
  done
5540
5359
IFS=$as_save_IFS
5541
5360
 
5542
5361
fi
5543
5362
fi
5544
5363
AR=$ac_cv_prog_AR
5545
5364
if test -n "$AR"; then
5546
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5365
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5547
5366
$as_echo "$AR" >&6; }
5548
5367
else
5549
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5368
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550
5369
$as_echo "no" >&6; }
5551
5370
fi
5552
5371
 
5556
5375
  ac_ct_AR=$AR
5557
5376
  # Extract the first word of "ar", so it can be a program name with args.
5558
5377
set dummy ar; ac_word=$2
5559
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560
5379
$as_echo_n "checking for $ac_word... " >&6; }
5561
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5380
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5562
5381
  $as_echo_n "(cached) " >&6
5563
5382
else
5564
5383
  if test -n "$ac_ct_AR"; then
5569
5388
do
5570
5389
  IFS=$as_save_IFS
5571
5390
  test -z "$as_dir" && as_dir=.
5572
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5391
    for ac_exec_ext in '' $ac_executable_extensions; do
5573
5392
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5574
5393
    ac_cv_prog_ac_ct_AR="ar"
5575
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5394
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5576
5395
    break 2
5577
5396
  fi
5578
5397
done
5579
 
done
 
5398
  done
5580
5399
IFS=$as_save_IFS
5581
5400
 
5582
5401
fi
5583
5402
fi
5584
5403
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5585
5404
if test -n "$ac_ct_AR"; then
5586
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5587
5406
$as_echo "$ac_ct_AR" >&6; }
5588
5407
else
5589
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5408
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590
5409
$as_echo "no" >&6; }
5591
5410
fi
5592
5411
 
5595
5414
  else
5596
5415
    case $cross_compiling:$ac_tool_warned in
5597
5416
yes:)
5598
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5417
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5599
5418
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5600
5419
ac_tool_warned=yes ;;
5601
5420
esac
5621
5440
if test -n "$ac_tool_prefix"; then
5622
5441
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5623
5442
set dummy ${ac_tool_prefix}strip; ac_word=$2
5624
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625
5444
$as_echo_n "checking for $ac_word... " >&6; }
5626
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5445
if test "${ac_cv_prog_STRIP+set}" = set; then :
5627
5446
  $as_echo_n "(cached) " >&6
5628
5447
else
5629
5448
  if test -n "$STRIP"; then
5634
5453
do
5635
5454
  IFS=$as_save_IFS
5636
5455
  test -z "$as_dir" && as_dir=.
5637
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5456
    for ac_exec_ext in '' $ac_executable_extensions; do
5638
5457
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639
5458
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5640
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5459
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641
5460
    break 2
5642
5461
  fi
5643
5462
done
5644
 
done
 
5463
  done
5645
5464
IFS=$as_save_IFS
5646
5465
 
5647
5466
fi
5648
5467
fi
5649
5468
STRIP=$ac_cv_prog_STRIP
5650
5469
if test -n "$STRIP"; then
5651
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5470
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5652
5471
$as_echo "$STRIP" >&6; }
5653
5472
else
5654
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5473
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655
5474
$as_echo "no" >&6; }
5656
5475
fi
5657
5476
 
5661
5480
  ac_ct_STRIP=$STRIP
5662
5481
  # Extract the first word of "strip", so it can be a program name with args.
5663
5482
set dummy strip; ac_word=$2
5664
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665
5484
$as_echo_n "checking for $ac_word... " >&6; }
5666
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5485
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5667
5486
  $as_echo_n "(cached) " >&6
5668
5487
else
5669
5488
  if test -n "$ac_ct_STRIP"; then
5674
5493
do
5675
5494
  IFS=$as_save_IFS
5676
5495
  test -z "$as_dir" && as_dir=.
5677
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5496
    for ac_exec_ext in '' $ac_executable_extensions; do
5678
5497
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679
5498
    ac_cv_prog_ac_ct_STRIP="strip"
5680
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5499
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681
5500
    break 2
5682
5501
  fi
5683
5502
done
5684
 
done
 
5503
  done
5685
5504
IFS=$as_save_IFS
5686
5505
 
5687
5506
fi
5688
5507
fi
5689
5508
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5690
5509
if test -n "$ac_ct_STRIP"; then
5691
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5510
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5692
5511
$as_echo "$ac_ct_STRIP" >&6; }
5693
5512
else
5694
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5513
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695
5514
$as_echo "no" >&6; }
5696
5515
fi
5697
5516
 
5700
5519
  else
5701
5520
    case $cross_compiling:$ac_tool_warned in
5702
5521
yes:)
5703
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5522
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704
5523
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705
5524
ac_tool_warned=yes ;;
5706
5525
esac
5720
5539
if test -n "$ac_tool_prefix"; then
5721
5540
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5722
5541
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5723
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5724
5543
$as_echo_n "checking for $ac_word... " >&6; }
5725
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5544
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5726
5545
  $as_echo_n "(cached) " >&6
5727
5546
else
5728
5547
  if test -n "$RANLIB"; then
5733
5552
do
5734
5553
  IFS=$as_save_IFS
5735
5554
  test -z "$as_dir" && as_dir=.
5736
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5555
    for ac_exec_ext in '' $ac_executable_extensions; do
5737
5556
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5738
5557
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5739
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5558
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5740
5559
    break 2
5741
5560
  fi
5742
5561
done
5743
 
done
 
5562
  done
5744
5563
IFS=$as_save_IFS
5745
5564
 
5746
5565
fi
5747
5566
fi
5748
5567
RANLIB=$ac_cv_prog_RANLIB
5749
5568
if test -n "$RANLIB"; then
5750
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5569
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5751
5570
$as_echo "$RANLIB" >&6; }
5752
5571
else
5753
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5572
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754
5573
$as_echo "no" >&6; }
5755
5574
fi
5756
5575
 
5760
5579
  ac_ct_RANLIB=$RANLIB
5761
5580
  # Extract the first word of "ranlib", so it can be a program name with args.
5762
5581
set dummy ranlib; ac_word=$2
5763
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764
5583
$as_echo_n "checking for $ac_word... " >&6; }
5765
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5584
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5766
5585
  $as_echo_n "(cached) " >&6
5767
5586
else
5768
5587
  if test -n "$ac_ct_RANLIB"; then
5773
5592
do
5774
5593
  IFS=$as_save_IFS
5775
5594
  test -z "$as_dir" && as_dir=.
5776
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5595
    for ac_exec_ext in '' $ac_executable_extensions; do
5777
5596
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778
5597
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5779
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5598
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780
5599
    break 2
5781
5600
  fi
5782
5601
done
5783
 
done
 
5602
  done
5784
5603
IFS=$as_save_IFS
5785
5604
 
5786
5605
fi
5787
5606
fi
5788
5607
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5789
5608
if test -n "$ac_ct_RANLIB"; then
5790
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5609
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5791
5610
$as_echo "$ac_ct_RANLIB" >&6; }
5792
5611
else
5793
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5612
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794
5613
$as_echo "no" >&6; }
5795
5614
fi
5796
5615
 
5799
5618
  else
5800
5619
    case $cross_compiling:$ac_tool_warned in
5801
5620
yes:)
5802
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5621
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5803
5622
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5804
5623
ac_tool_warned=yes ;;
5805
5624
esac
5877
5696
 
5878
5697
 
5879
5698
# Check for command to grab the raw symbol name followed by C symbol from nm.
5880
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5881
5700
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5882
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
5701
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5883
5702
  $as_echo_n "(cached) " >&6
5884
5703
else
5885
5704
 
5995
5814
int main(){nm_test_var='a';nm_test_func();return(0);}
5996
5815
_LT_EOF
5997
5816
 
5998
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5817
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5999
5818
  (eval $ac_compile) 2>&5
6000
5819
  ac_status=$?
6001
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002
 
  (exit $ac_status); }; then
 
5820
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5821
  test $ac_status = 0; }; then
6003
5822
    # Now try to grab the symbols.
6004
5823
    nlist=conftest.nm
6005
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
5824
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6006
5825
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6007
5826
  ac_status=$?
6008
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009
 
  (exit $ac_status); } && test -s "$nlist"; then
 
5827
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5828
  test $ac_status = 0; } && test -s "$nlist"; then
6010
5829
      # Try sorting and uniquifying the output.
6011
5830
      if sort "$nlist" | uniq > "$nlist"T; then
6012
5831
        mv -f "$nlist"T "$nlist"
6059
5878
          lt_save_CFLAGS="$CFLAGS"
6060
5879
          LIBS="conftstm.$ac_objext"
6061
5880
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6062
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5881
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6063
5882
  (eval $ac_link) 2>&5
6064
5883
  ac_status=$?
6065
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
5884
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5885
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6067
5886
            pipe_works=yes
6068
5887
          fi
6069
5888
          LIBS="$lt_save_LIBS"
6097
5916
  lt_cv_sys_global_symbol_to_cdecl=
6098
5917
fi
6099
5918
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6100
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
5919
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6101
5920
$as_echo "failed" >&6; }
6102
5921
else
6103
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
5922
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6104
5923
$as_echo "ok" >&6; }
6105
5924
fi
6106
5925
 
6126
5945
 
6127
5946
 
6128
5947
# Check whether --enable-libtool-lock was given.
6129
 
if test "${enable_libtool_lock+set}" = set; then
 
5948
if test "${enable_libtool_lock+set}" = set; then :
6130
5949
  enableval=$enable_libtool_lock;
6131
5950
fi
6132
5951
 
6138
5957
ia64-*-hpux*)
6139
5958
  # Find out which ABI we are using.
6140
5959
  echo 'int i;' > conftest.$ac_ext
6141
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5960
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6142
5961
  (eval $ac_compile) 2>&5
6143
5962
  ac_status=$?
6144
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145
 
  (exit $ac_status); }; then
 
5963
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5964
  test $ac_status = 0; }; then
6146
5965
    case `/usr/bin/file conftest.$ac_objext` in
6147
5966
      *ELF-32*)
6148
5967
        HPUX_IA64_MODE="32"
6156
5975
  ;;
6157
5976
*-*-irix6*)
6158
5977
  # Find out which ABI we are using.
6159
 
  echo '#line 6159 "configure"' > conftest.$ac_ext
6160
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5978
  echo '#line 5978 "configure"' > conftest.$ac_ext
 
5979
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6161
5980
  (eval $ac_compile) 2>&5
6162
5981
  ac_status=$?
6163
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164
 
  (exit $ac_status); }; then
 
5982
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5983
  test $ac_status = 0; }; then
6165
5984
    if test "$lt_cv_prog_gnu_ld" = yes; then
6166
5985
      case `/usr/bin/file conftest.$ac_objext` in
6167
5986
        *32-bit*)
6195
6014
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6196
6015
  # Find out which ABI we are using.
6197
6016
  echo 'int i;' > conftest.$ac_ext
6198
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6017
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6199
6018
  (eval $ac_compile) 2>&5
6200
6019
  ac_status=$?
6201
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202
 
  (exit $ac_status); }; then
 
6020
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6021
  test $ac_status = 0; }; then
6203
6022
    case `/usr/bin/file conftest.o` in
6204
6023
      *32-bit*)
6205
6024
        case $host in
6248
6067
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6249
6068
  SAVE_CFLAGS="$CFLAGS"
6250
6069
  CFLAGS="$CFLAGS -belf"
6251
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6070
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6252
6071
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6253
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6072
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6254
6073
  $as_echo_n "(cached) " >&6
6255
6074
else
6256
6075
  ac_ext=c
6259
6078
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6260
6079
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6261
6080
 
6262
 
     cat >conftest.$ac_ext <<_ACEOF
6263
 
/* confdefs.h.  */
6264
 
_ACEOF
6265
 
cat confdefs.h >>conftest.$ac_ext
6266
 
cat >>conftest.$ac_ext <<_ACEOF
 
6081
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267
6082
/* end confdefs.h.  */
6268
6083
 
6269
6084
int
6274
6089
  return 0;
6275
6090
}
6276
6091
_ACEOF
6277
 
rm -f conftest.$ac_objext conftest$ac_exeext
6278
 
if { (ac_try="$ac_link"
6279
 
case "(($ac_try" in
6280
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6281
 
  *) ac_try_echo=$ac_try;;
6282
 
esac
6283
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6284
 
$as_echo "$ac_try_echo") >&5
6285
 
  (eval "$ac_link") 2>conftest.er1
6286
 
  ac_status=$?
6287
 
  grep -v '^ *+' conftest.er1 >conftest.err
6288
 
  rm -f conftest.er1
6289
 
  cat conftest.err >&5
6290
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291
 
  (exit $ac_status); } && {
6292
 
         test -z "$ac_c_werror_flag" ||
6293
 
         test ! -s conftest.err
6294
 
       } && test -s conftest$ac_exeext && {
6295
 
         test "$cross_compiling" = yes ||
6296
 
         $as_test_x conftest$ac_exeext
6297
 
       }; then
 
6092
if ac_fn_c_try_link "$LINENO"; then :
6298
6093
  lt_cv_cc_needs_belf=yes
6299
6094
else
6300
 
  $as_echo "$as_me: failed program was:" >&5
6301
 
sed 's/^/| /' conftest.$ac_ext >&5
6302
 
 
6303
 
        lt_cv_cc_needs_belf=no
 
6095
  lt_cv_cc_needs_belf=no
6304
6096
fi
6305
 
 
6306
 
rm -rf conftest.dSYM
6307
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6308
 
      conftest$ac_exeext conftest.$ac_ext
 
6097
rm -f core conftest.err conftest.$ac_objext \
 
6098
    conftest$ac_exeext conftest.$ac_ext
6309
6099
     ac_ext=c
6310
6100
ac_cpp='$CPP $CPPFLAGS'
6311
6101
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6313
6103
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6314
6104
 
6315
6105
fi
6316
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6317
6107
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6318
6108
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6319
6109
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6323
6113
sparc*-*solaris*)
6324
6114
  # Find out which ABI we are using.
6325
6115
  echo 'int i;' > conftest.$ac_ext
6326
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6116
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6327
6117
  (eval $ac_compile) 2>&5
6328
6118
  ac_status=$?
6329
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330
 
  (exit $ac_status); }; then
 
6119
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6120
  test $ac_status = 0; }; then
6331
6121
    case `/usr/bin/file conftest.o` in
6332
6122
    *64-bit*)
6333
6123
      case $lt_cv_prog_gnu_ld in
6353
6143
    if test -n "$ac_tool_prefix"; then
6354
6144
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6355
6145
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6356
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6357
6147
$as_echo_n "checking for $ac_word... " >&6; }
6358
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6148
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6359
6149
  $as_echo_n "(cached) " >&6
6360
6150
else
6361
6151
  if test -n "$DSYMUTIL"; then
6366
6156
do
6367
6157
  IFS=$as_save_IFS
6368
6158
  test -z "$as_dir" && as_dir=.
6369
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6159
    for ac_exec_ext in '' $ac_executable_extensions; do
6370
6160
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6371
6161
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6372
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6162
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6373
6163
    break 2
6374
6164
  fi
6375
6165
done
6376
 
done
 
6166
  done
6377
6167
IFS=$as_save_IFS
6378
6168
 
6379
6169
fi
6380
6170
fi
6381
6171
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6382
6172
if test -n "$DSYMUTIL"; then
6383
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6173
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6384
6174
$as_echo "$DSYMUTIL" >&6; }
6385
6175
else
6386
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6176
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6387
6177
$as_echo "no" >&6; }
6388
6178
fi
6389
6179
 
6393
6183
  ac_ct_DSYMUTIL=$DSYMUTIL
6394
6184
  # Extract the first word of "dsymutil", so it can be a program name with args.
6395
6185
set dummy dsymutil; ac_word=$2
6396
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6397
6187
$as_echo_n "checking for $ac_word... " >&6; }
6398
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6188
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6399
6189
  $as_echo_n "(cached) " >&6
6400
6190
else
6401
6191
  if test -n "$ac_ct_DSYMUTIL"; then
6406
6196
do
6407
6197
  IFS=$as_save_IFS
6408
6198
  test -z "$as_dir" && as_dir=.
6409
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6199
    for ac_exec_ext in '' $ac_executable_extensions; do
6410
6200
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6411
6201
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6412
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6202
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6413
6203
    break 2
6414
6204
  fi
6415
6205
done
6416
 
done
 
6206
  done
6417
6207
IFS=$as_save_IFS
6418
6208
 
6419
6209
fi
6420
6210
fi
6421
6211
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6422
6212
if test -n "$ac_ct_DSYMUTIL"; then
6423
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6213
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6424
6214
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6425
6215
else
6426
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6216
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6427
6217
$as_echo "no" >&6; }
6428
6218
fi
6429
6219
 
6432
6222
  else
6433
6223
    case $cross_compiling:$ac_tool_warned in
6434
6224
yes:)
6435
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6225
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6436
6226
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6437
6227
ac_tool_warned=yes ;;
6438
6228
esac
6445
6235
    if test -n "$ac_tool_prefix"; then
6446
6236
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6447
6237
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6448
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449
6239
$as_echo_n "checking for $ac_word... " >&6; }
6450
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6240
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6451
6241
  $as_echo_n "(cached) " >&6
6452
6242
else
6453
6243
  if test -n "$NMEDIT"; then
6458
6248
do
6459
6249
  IFS=$as_save_IFS
6460
6250
  test -z "$as_dir" && as_dir=.
6461
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6251
    for ac_exec_ext in '' $ac_executable_extensions; do
6462
6252
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6463
6253
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6464
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6254
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6465
6255
    break 2
6466
6256
  fi
6467
6257
done
6468
 
done
 
6258
  done
6469
6259
IFS=$as_save_IFS
6470
6260
 
6471
6261
fi
6472
6262
fi
6473
6263
NMEDIT=$ac_cv_prog_NMEDIT
6474
6264
if test -n "$NMEDIT"; then
6475
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6476
6266
$as_echo "$NMEDIT" >&6; }
6477
6267
else
6478
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6268
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6479
6269
$as_echo "no" >&6; }
6480
6270
fi
6481
6271
 
6485
6275
  ac_ct_NMEDIT=$NMEDIT
6486
6276
  # Extract the first word of "nmedit", so it can be a program name with args.
6487
6277
set dummy nmedit; ac_word=$2
6488
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489
6279
$as_echo_n "checking for $ac_word... " >&6; }
6490
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6280
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6491
6281
  $as_echo_n "(cached) " >&6
6492
6282
else
6493
6283
  if test -n "$ac_ct_NMEDIT"; then
6498
6288
do
6499
6289
  IFS=$as_save_IFS
6500
6290
  test -z "$as_dir" && as_dir=.
6501
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6291
    for ac_exec_ext in '' $ac_executable_extensions; do
6502
6292
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6503
6293
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6504
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6294
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505
6295
    break 2
6506
6296
  fi
6507
6297
done
6508
 
done
 
6298
  done
6509
6299
IFS=$as_save_IFS
6510
6300
 
6511
6301
fi
6512
6302
fi
6513
6303
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6514
6304
if test -n "$ac_ct_NMEDIT"; then
6515
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6516
6306
$as_echo "$ac_ct_NMEDIT" >&6; }
6517
6307
else
6518
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6308
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519
6309
$as_echo "no" >&6; }
6520
6310
fi
6521
6311
 
6524
6314
  else
6525
6315
    case $cross_compiling:$ac_tool_warned in
6526
6316
yes:)
6527
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6317
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6528
6318
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6529
6319
ac_tool_warned=yes ;;
6530
6320
esac
6537
6327
    if test -n "$ac_tool_prefix"; then
6538
6328
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6539
6329
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6540
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541
6331
$as_echo_n "checking for $ac_word... " >&6; }
6542
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6332
if test "${ac_cv_prog_LIPO+set}" = set; then :
6543
6333
  $as_echo_n "(cached) " >&6
6544
6334
else
6545
6335
  if test -n "$LIPO"; then
6550
6340
do
6551
6341
  IFS=$as_save_IFS
6552
6342
  test -z "$as_dir" && as_dir=.
6553
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6343
    for ac_exec_ext in '' $ac_executable_extensions; do
6554
6344
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555
6345
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6556
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6346
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6557
6347
    break 2
6558
6348
  fi
6559
6349
done
6560
 
done
 
6350
  done
6561
6351
IFS=$as_save_IFS
6562
6352
 
6563
6353
fi
6564
6354
fi
6565
6355
LIPO=$ac_cv_prog_LIPO
6566
6356
if test -n "$LIPO"; then
6567
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6357
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6568
6358
$as_echo "$LIPO" >&6; }
6569
6359
else
6570
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6360
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571
6361
$as_echo "no" >&6; }
6572
6362
fi
6573
6363
 
6577
6367
  ac_ct_LIPO=$LIPO
6578
6368
  # Extract the first word of "lipo", so it can be a program name with args.
6579
6369
set dummy lipo; ac_word=$2
6580
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581
6371
$as_echo_n "checking for $ac_word... " >&6; }
6582
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6372
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6583
6373
  $as_echo_n "(cached) " >&6
6584
6374
else
6585
6375
  if test -n "$ac_ct_LIPO"; then
6590
6380
do
6591
6381
  IFS=$as_save_IFS
6592
6382
  test -z "$as_dir" && as_dir=.
6593
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6383
    for ac_exec_ext in '' $ac_executable_extensions; do
6594
6384
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6595
6385
    ac_cv_prog_ac_ct_LIPO="lipo"
6596
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6386
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597
6387
    break 2
6598
6388
  fi
6599
6389
done
6600
 
done
 
6390
  done
6601
6391
IFS=$as_save_IFS
6602
6392
 
6603
6393
fi
6604
6394
fi
6605
6395
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6606
6396
if test -n "$ac_ct_LIPO"; then
6607
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6397
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6608
6398
$as_echo "$ac_ct_LIPO" >&6; }
6609
6399
else
6610
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6400
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611
6401
$as_echo "no" >&6; }
6612
6402
fi
6613
6403
 
6616
6406
  else
6617
6407
    case $cross_compiling:$ac_tool_warned in
6618
6408
yes:)
6619
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6409
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6620
6410
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6621
6411
ac_tool_warned=yes ;;
6622
6412
esac
6629
6419
    if test -n "$ac_tool_prefix"; then
6630
6420
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6631
6421
set dummy ${ac_tool_prefix}otool; ac_word=$2
6632
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633
6423
$as_echo_n "checking for $ac_word... " >&6; }
6634
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6424
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6635
6425
  $as_echo_n "(cached) " >&6
6636
6426
else
6637
6427
  if test -n "$OTOOL"; then
6642
6432
do
6643
6433
  IFS=$as_save_IFS
6644
6434
  test -z "$as_dir" && as_dir=.
6645
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6435
    for ac_exec_ext in '' $ac_executable_extensions; do
6646
6436
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647
6437
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6648
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6438
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649
6439
    break 2
6650
6440
  fi
6651
6441
done
6652
 
done
 
6442
  done
6653
6443
IFS=$as_save_IFS
6654
6444
 
6655
6445
fi
6656
6446
fi
6657
6447
OTOOL=$ac_cv_prog_OTOOL
6658
6448
if test -n "$OTOOL"; then
6659
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6449
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6660
6450
$as_echo "$OTOOL" >&6; }
6661
6451
else
6662
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6452
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663
6453
$as_echo "no" >&6; }
6664
6454
fi
6665
6455
 
6669
6459
  ac_ct_OTOOL=$OTOOL
6670
6460
  # Extract the first word of "otool", so it can be a program name with args.
6671
6461
set dummy otool; ac_word=$2
6672
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673
6463
$as_echo_n "checking for $ac_word... " >&6; }
6674
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6464
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6675
6465
  $as_echo_n "(cached) " >&6
6676
6466
else
6677
6467
  if test -n "$ac_ct_OTOOL"; then
6682
6472
do
6683
6473
  IFS=$as_save_IFS
6684
6474
  test -z "$as_dir" && as_dir=.
6685
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6475
    for ac_exec_ext in '' $ac_executable_extensions; do
6686
6476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6687
6477
    ac_cv_prog_ac_ct_OTOOL="otool"
6688
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6478
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689
6479
    break 2
6690
6480
  fi
6691
6481
done
6692
 
done
 
6482
  done
6693
6483
IFS=$as_save_IFS
6694
6484
 
6695
6485
fi
6696
6486
fi
6697
6487
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6698
6488
if test -n "$ac_ct_OTOOL"; then
6699
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6700
6490
$as_echo "$ac_ct_OTOOL" >&6; }
6701
6491
else
6702
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6492
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703
6493
$as_echo "no" >&6; }
6704
6494
fi
6705
6495
 
6708
6498
  else
6709
6499
    case $cross_compiling:$ac_tool_warned in
6710
6500
yes:)
6711
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6501
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6712
6502
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6713
6503
ac_tool_warned=yes ;;
6714
6504
esac
6721
6511
    if test -n "$ac_tool_prefix"; then
6722
6512
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6723
6513
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6724
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725
6515
$as_echo_n "checking for $ac_word... " >&6; }
6726
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6516
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6727
6517
  $as_echo_n "(cached) " >&6
6728
6518
else
6729
6519
  if test -n "$OTOOL64"; then
6734
6524
do
6735
6525
  IFS=$as_save_IFS
6736
6526
  test -z "$as_dir" && as_dir=.
6737
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6527
    for ac_exec_ext in '' $ac_executable_extensions; do
6738
6528
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739
6529
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6740
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6530
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6741
6531
    break 2
6742
6532
  fi
6743
6533
done
6744
 
done
 
6534
  done
6745
6535
IFS=$as_save_IFS
6746
6536
 
6747
6537
fi
6748
6538
fi
6749
6539
OTOOL64=$ac_cv_prog_OTOOL64
6750
6540
if test -n "$OTOOL64"; then
6751
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6541
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6752
6542
$as_echo "$OTOOL64" >&6; }
6753
6543
else
6754
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6544
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755
6545
$as_echo "no" >&6; }
6756
6546
fi
6757
6547
 
6761
6551
  ac_ct_OTOOL64=$OTOOL64
6762
6552
  # Extract the first word of "otool64", so it can be a program name with args.
6763
6553
set dummy otool64; ac_word=$2
6764
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6765
6555
$as_echo_n "checking for $ac_word... " >&6; }
6766
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6556
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6767
6557
  $as_echo_n "(cached) " >&6
6768
6558
else
6769
6559
  if test -n "$ac_ct_OTOOL64"; then
6774
6564
do
6775
6565
  IFS=$as_save_IFS
6776
6566
  test -z "$as_dir" && as_dir=.
6777
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6567
    for ac_exec_ext in '' $ac_executable_extensions; do
6778
6568
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6779
6569
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6780
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6570
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6781
6571
    break 2
6782
6572
  fi
6783
6573
done
6784
 
done
 
6574
  done
6785
6575
IFS=$as_save_IFS
6786
6576
 
6787
6577
fi
6788
6578
fi
6789
6579
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6790
6580
if test -n "$ac_ct_OTOOL64"; then
6791
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6581
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6792
6582
$as_echo "$ac_ct_OTOOL64" >&6; }
6793
6583
else
6794
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6584
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795
6585
$as_echo "no" >&6; }
6796
6586
fi
6797
6587
 
6800
6590
  else
6801
6591
    case $cross_compiling:$ac_tool_warned in
6802
6592
yes:)
6803
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6593
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6804
6594
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6805
6595
ac_tool_warned=yes ;;
6806
6596
esac
6836
6626
 
6837
6627
 
6838
6628
 
6839
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
6629
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6840
6630
$as_echo_n "checking for -single_module linker flag... " >&6; }
6841
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
6631
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6842
6632
  $as_echo_n "(cached) " >&6
6843
6633
else
6844
6634
  lt_cv_apple_cc_single_mod=no
6863
6653
        rm -f conftest.*
6864
6654
      fi
6865
6655
fi
6866
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
6656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6867
6657
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6868
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
6658
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6869
6659
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6870
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
6660
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6871
6661
  $as_echo_n "(cached) " >&6
6872
6662
else
6873
6663
  lt_cv_ld_exported_symbols_list=no
6874
6664
      save_LDFLAGS=$LDFLAGS
6875
6665
      echo "_main" > conftest.sym
6876
6666
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6877
 
      cat >conftest.$ac_ext <<_ACEOF
6878
 
/* confdefs.h.  */
6879
 
_ACEOF
6880
 
cat confdefs.h >>conftest.$ac_ext
6881
 
cat >>conftest.$ac_ext <<_ACEOF
 
6667
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6882
6668
/* end confdefs.h.  */
6883
6669
 
6884
6670
int
6889
6675
  return 0;
6890
6676
}
6891
6677
_ACEOF
6892
 
rm -f conftest.$ac_objext conftest$ac_exeext
6893
 
if { (ac_try="$ac_link"
6894
 
case "(($ac_try" in
6895
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6896
 
  *) ac_try_echo=$ac_try;;
6897
 
esac
6898
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6899
 
$as_echo "$ac_try_echo") >&5
6900
 
  (eval "$ac_link") 2>conftest.er1
6901
 
  ac_status=$?
6902
 
  grep -v '^ *+' conftest.er1 >conftest.err
6903
 
  rm -f conftest.er1
6904
 
  cat conftest.err >&5
6905
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906
 
  (exit $ac_status); } && {
6907
 
         test -z "$ac_c_werror_flag" ||
6908
 
         test ! -s conftest.err
6909
 
       } && test -s conftest$ac_exeext && {
6910
 
         test "$cross_compiling" = yes ||
6911
 
         $as_test_x conftest$ac_exeext
6912
 
       }; then
 
6678
if ac_fn_c_try_link "$LINENO"; then :
6913
6679
  lt_cv_ld_exported_symbols_list=yes
6914
6680
else
6915
 
  $as_echo "$as_me: failed program was:" >&5
6916
 
sed 's/^/| /' conftest.$ac_ext >&5
6917
 
 
6918
 
        lt_cv_ld_exported_symbols_list=no
 
6681
  lt_cv_ld_exported_symbols_list=no
6919
6682
fi
6920
 
 
6921
 
rm -rf conftest.dSYM
6922
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6923
 
      conftest$ac_exeext conftest.$ac_ext
 
6683
rm -f core conftest.err conftest.$ac_objext \
 
6684
    conftest$ac_exeext conftest.$ac_ext
6924
6685
        LDFLAGS="$save_LDFLAGS"
6925
6686
 
6926
6687
fi
6927
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
6688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6928
6689
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6929
6690
    case $host_os in
6930
6691
    rhapsody* | darwin1.[012])
6962
6723
  esac
6963
6724
 
6964
6725
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6965
 
 
6966
 
 
6967
 
 
6968
 
 
6969
 
 
6970
 
 
6971
 
 
6972
 
 
6973
 
 
6974
6726
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6975
6727
                  inttypes.h stdint.h unistd.h
6976
 
do
6977
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6978
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6979
 
$as_echo_n "checking for $ac_header... " >&6; }
6980
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6981
 
  $as_echo_n "(cached) " >&6
6982
 
else
6983
 
  cat >conftest.$ac_ext <<_ACEOF
6984
 
/* confdefs.h.  */
6985
 
_ACEOF
6986
 
cat confdefs.h >>conftest.$ac_ext
6987
 
cat >>conftest.$ac_ext <<_ACEOF
6988
 
/* end confdefs.h.  */
6989
 
$ac_includes_default
6990
 
 
6991
 
#include <$ac_header>
6992
 
_ACEOF
6993
 
rm -f conftest.$ac_objext
6994
 
if { (ac_try="$ac_compile"
6995
 
case "(($ac_try" in
6996
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6997
 
  *) ac_try_echo=$ac_try;;
6998
 
esac
6999
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7000
 
$as_echo "$ac_try_echo") >&5
7001
 
  (eval "$ac_compile") 2>conftest.er1
7002
 
  ac_status=$?
7003
 
  grep -v '^ *+' conftest.er1 >conftest.err
7004
 
  rm -f conftest.er1
7005
 
  cat conftest.err >&5
7006
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007
 
  (exit $ac_status); } && {
7008
 
         test -z "$ac_c_werror_flag" ||
7009
 
         test ! -s conftest.err
7010
 
       } && test -s conftest.$ac_objext; then
7011
 
  eval "$as_ac_Header=yes"
7012
 
else
7013
 
  $as_echo "$as_me: failed program was:" >&5
7014
 
sed 's/^/| /' conftest.$ac_ext >&5
7015
 
 
7016
 
        eval "$as_ac_Header=no"
7017
 
fi
7018
 
 
7019
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7020
 
fi
7021
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7022
 
                 $as_echo "$as_val"'`
7023
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7024
 
$as_echo "$ac_res" >&6; }
7025
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7026
 
                 $as_echo "$as_val"'`
7027
 
   if test "x$as_val" = x""yes; then
 
6728
do :
 
6729
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6730
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
6731
"
 
6732
eval as_val=\$$as_ac_Header
 
6733
   if test "x$as_val" = x""yes; then :
7028
6734
  cat >>confdefs.h <<_ACEOF
7029
6735
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7030
6736
_ACEOF
7034
6740
done
7035
6741
 
7036
6742
 
7037
 
 
7038
6743
for ac_header in dlfcn.h
7039
 
do
7040
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7041
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7042
 
$as_echo_n "checking for $ac_header... " >&6; }
7043
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7044
 
  $as_echo_n "(cached) " >&6
7045
 
else
7046
 
  cat >conftest.$ac_ext <<_ACEOF
7047
 
/* confdefs.h.  */
7048
 
_ACEOF
7049
 
cat confdefs.h >>conftest.$ac_ext
7050
 
cat >>conftest.$ac_ext <<_ACEOF
7051
 
/* end confdefs.h.  */
7052
 
$ac_includes_default
7053
 
 
7054
 
#include <$ac_header>
7055
 
_ACEOF
7056
 
rm -f conftest.$ac_objext
7057
 
if { (ac_try="$ac_compile"
7058
 
case "(($ac_try" in
7059
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7060
 
  *) ac_try_echo=$ac_try;;
7061
 
esac
7062
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7063
 
$as_echo "$ac_try_echo") >&5
7064
 
  (eval "$ac_compile") 2>conftest.er1
7065
 
  ac_status=$?
7066
 
  grep -v '^ *+' conftest.er1 >conftest.err
7067
 
  rm -f conftest.er1
7068
 
  cat conftest.err >&5
7069
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070
 
  (exit $ac_status); } && {
7071
 
         test -z "$ac_c_werror_flag" ||
7072
 
         test ! -s conftest.err
7073
 
       } && test -s conftest.$ac_objext; then
7074
 
  eval "$as_ac_Header=yes"
7075
 
else
7076
 
  $as_echo "$as_me: failed program was:" >&5
7077
 
sed 's/^/| /' conftest.$ac_ext >&5
7078
 
 
7079
 
        eval "$as_ac_Header=no"
7080
 
fi
7081
 
 
7082
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7083
 
fi
7084
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7085
 
                 $as_echo "$as_val"'`
7086
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7087
 
$as_echo "$ac_res" >&6; }
7088
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7089
 
                 $as_echo "$as_val"'`
7090
 
   if test "x$as_val" = x""yes; then
 
6744
do :
 
6745
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
6746
"
 
6747
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7091
6748
  cat >>confdefs.h <<_ACEOF
7092
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6749
#define HAVE_DLFCN_H 1
7093
6750
_ACEOF
7094
6751
 
7095
6752
fi
7109
6766
 
7110
6767
 
7111
6768
            # Check whether --enable-shared was given.
7112
 
if test "${enable_shared+set}" = set; then
 
6769
if test "${enable_shared+set}" = set; then :
7113
6770
  enableval=$enable_shared; p=${PACKAGE-default}
7114
6771
    case $enableval in
7115
6772
    yes) enable_shared=yes ;;
7140
6797
 
7141
6798
 
7142
6799
  # Check whether --enable-static was given.
7143
 
if test "${enable_static+set}" = set; then
 
6800
if test "${enable_static+set}" = set; then :
7144
6801
  enableval=$enable_static; p=${PACKAGE-default}
7145
6802
    case $enableval in
7146
6803
    yes) enable_static=yes ;;
7172
6829
 
7173
6830
 
7174
6831
# Check whether --with-pic was given.
7175
 
if test "${with_pic+set}" = set; then
 
6832
if test "${with_pic+set}" = set; then :
7176
6833
  withval=$with_pic; pic_mode="$withval"
7177
6834
else
7178
6835
  pic_mode=default
7188
6845
 
7189
6846
 
7190
6847
  # Check whether --enable-fast-install was given.
7191
 
if test "${enable_fast_install+set}" = set; then
 
6848
if test "${enable_fast_install+set}" = set; then :
7192
6849
  enableval=$enable_fast_install; p=${PACKAGE-default}
7193
6850
    case $enableval in
7194
6851
    yes) enable_fast_install=yes ;;
7269
6926
   setopt NO_GLOB_SUBST
7270
6927
fi
7271
6928
 
7272
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
6929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7273
6930
$as_echo_n "checking for objdir... " >&6; }
7274
 
if test "${lt_cv_objdir+set}" = set; then
 
6931
if test "${lt_cv_objdir+set}" = set; then :
7275
6932
  $as_echo_n "(cached) " >&6
7276
6933
else
7277
6934
  rm -f .libs 2>/dev/null
7284
6941
fi
7285
6942
rmdir .libs 2>/dev/null
7286
6943
fi
7287
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7288
6945
$as_echo "$lt_cv_objdir" >&6; }
7289
6946
objdir=$lt_cv_objdir
7290
6947
 
7377
7034
case $deplibs_check_method in
7378
7035
file_magic*)
7379
7036
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7380
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7037
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7381
7038
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7382
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7039
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7383
7040
  $as_echo_n "(cached) " >&6
7384
7041
else
7385
7042
  case $MAGIC_CMD in
7430
7087
 
7431
7088
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7432
7089
if test -n "$MAGIC_CMD"; then
7433
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7090
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7434
7091
$as_echo "$MAGIC_CMD" >&6; }
7435
7092
else
7436
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7093
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7437
7094
$as_echo "no" >&6; }
7438
7095
fi
7439
7096
 
7443
7100
 
7444
7101
if test -z "$lt_cv_path_MAGIC_CMD"; then
7445
7102
  if test -n "$ac_tool_prefix"; then
7446
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7103
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7447
7104
$as_echo_n "checking for file... " >&6; }
7448
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7105
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7449
7106
  $as_echo_n "(cached) " >&6
7450
7107
else
7451
7108
  case $MAGIC_CMD in
7496
7153
 
7497
7154
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7498
7155
if test -n "$MAGIC_CMD"; then
7499
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7156
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7500
7157
$as_echo "$MAGIC_CMD" >&6; }
7501
7158
else
7502
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7159
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503
7160
$as_echo "no" >&6; }
7504
7161
fi
7505
7162
 
7576
7233
if test "$GCC" = yes; then
7577
7234
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7578
7235
 
7579
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7236
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7580
7237
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7581
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
7238
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7582
7239
  $as_echo_n "(cached) " >&6
7583
7240
else
7584
7241
  lt_cv_prog_compiler_rtti_exceptions=no
7594
7251
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7595
7252
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7596
7253
   -e 's:$: $lt_compiler_flag:'`
7597
 
   (eval echo "\"\$as_me:7597: $lt_compile\"" >&5)
 
7254
   (eval echo "\"\$as_me:7254: $lt_compile\"" >&5)
7598
7255
   (eval "$lt_compile" 2>conftest.err)
7599
7256
   ac_status=$?
7600
7257
   cat conftest.err >&5
7601
 
   echo "$as_me:7601: \$? = $ac_status" >&5
 
7258
   echo "$as_me:7258: \$? = $ac_status" >&5
7602
7259
   if (exit $ac_status) && test -s "$ac_outfile"; then
7603
7260
     # The compiler can only warn and ignore the option if not recognized
7604
7261
     # So say no if there are warnings other than the usual output.
7611
7268
   $RM conftest*
7612
7269
 
7613
7270
fi
7614
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7615
7272
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7616
7273
 
7617
7274
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7631
7288
lt_prog_compiler_pic=
7632
7289
lt_prog_compiler_static=
7633
7290
 
7634
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7635
7292
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7636
7293
 
7637
7294
  if test "$GCC" = yes; then
7903
7560
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7904
7561
    ;;
7905
7562
esac
7906
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7907
7564
$as_echo "$lt_prog_compiler_pic" >&6; }
7908
7565
 
7909
7566
 
7915
7572
# Check to make sure the PIC flag actually works.
7916
7573
#
7917
7574
if test -n "$lt_prog_compiler_pic"; then
7918
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7575
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7919
7576
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7920
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
7577
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7921
7578
  $as_echo_n "(cached) " >&6
7922
7579
else
7923
7580
  lt_cv_prog_compiler_pic_works=no
7933
7590
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7934
7591
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7935
7592
   -e 's:$: $lt_compiler_flag:'`
7936
 
   (eval echo "\"\$as_me:7936: $lt_compile\"" >&5)
 
7593
   (eval echo "\"\$as_me:7593: $lt_compile\"" >&5)
7937
7594
   (eval "$lt_compile" 2>conftest.err)
7938
7595
   ac_status=$?
7939
7596
   cat conftest.err >&5
7940
 
   echo "$as_me:7940: \$? = $ac_status" >&5
 
7597
   echo "$as_me:7597: \$? = $ac_status" >&5
7941
7598
   if (exit $ac_status) && test -s "$ac_outfile"; then
7942
7599
     # The compiler can only warn and ignore the option if not recognized
7943
7600
     # So say no if there are warnings other than the usual output.
7950
7607
   $RM conftest*
7951
7608
 
7952
7609
fi
7953
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7954
7611
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7955
7612
 
7956
7613
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7974
7631
# Check to make sure the static flag actually works.
7975
7632
#
7976
7633
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7977
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7978
7635
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7979
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
7636
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7980
7637
  $as_echo_n "(cached) " >&6
7981
7638
else
7982
7639
  lt_cv_prog_compiler_static_works=no
8002
7659
   LDFLAGS="$save_LDFLAGS"
8003
7660
 
8004
7661
fi
8005
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8006
7663
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8007
7664
 
8008
7665
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8017
7674
 
8018
7675
 
8019
7676
 
8020
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7677
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8021
7678
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8022
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7679
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8023
7680
  $as_echo_n "(cached) " >&6
8024
7681
else
8025
7682
  lt_cv_prog_compiler_c_o=no
8038
7695
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8039
7696
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8040
7697
   -e 's:$: $lt_compiler_flag:'`
8041
 
   (eval echo "\"\$as_me:8041: $lt_compile\"" >&5)
 
7698
   (eval echo "\"\$as_me:7698: $lt_compile\"" >&5)
8042
7699
   (eval "$lt_compile" 2>out/conftest.err)
8043
7700
   ac_status=$?
8044
7701
   cat out/conftest.err >&5
8045
 
   echo "$as_me:8045: \$? = $ac_status" >&5
 
7702
   echo "$as_me:7702: \$? = $ac_status" >&5
8046
7703
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8047
7704
   then
8048
7705
     # The compiler can only warn and ignore the option if not recognized
8064
7721
   $RM conftest*
8065
7722
 
8066
7723
fi
8067
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8068
7725
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8069
7726
 
8070
7727
 
8072
7729
 
8073
7730
 
8074
7731
 
8075
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7732
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8076
7733
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8077
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7734
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8078
7735
  $as_echo_n "(cached) " >&6
8079
7736
else
8080
7737
  lt_cv_prog_compiler_c_o=no
8093
7750
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8094
7751
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8095
7752
   -e 's:$: $lt_compiler_flag:'`
8096
 
   (eval echo "\"\$as_me:8096: $lt_compile\"" >&5)
 
7753
   (eval echo "\"\$as_me:7753: $lt_compile\"" >&5)
8097
7754
   (eval "$lt_compile" 2>out/conftest.err)
8098
7755
   ac_status=$?
8099
7756
   cat out/conftest.err >&5
8100
 
   echo "$as_me:8100: \$? = $ac_status" >&5
 
7757
   echo "$as_me:7757: \$? = $ac_status" >&5
8101
7758
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8102
7759
   then
8103
7760
     # The compiler can only warn and ignore the option if not recognized
8119
7776
   $RM conftest*
8120
7777
 
8121
7778
fi
8122
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8123
7780
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8124
7781
 
8125
7782
 
8128
7785
hard_links="nottested"
8129
7786
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8130
7787
  # do not overwrite the value of need_locks provided by the user
8131
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7788
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8132
7789
$as_echo_n "checking if we can lock with hard links... " >&6; }
8133
7790
  hard_links=yes
8134
7791
  $RM conftest*
8136
7793
  touch conftest.a
8137
7794
  ln conftest.a conftest.b 2>&5 || hard_links=no
8138
7795
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8139
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
7796
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8140
7797
$as_echo "$hard_links" >&6; }
8141
7798
  if test "$hard_links" = no; then
8142
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
7799
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8143
7800
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8144
7801
    need_locks=warn
8145
7802
  fi
8152
7809
 
8153
7810
 
8154
7811
 
8155
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8156
7813
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8157
7814
 
8158
7815
  runpath_var=
8594
8251
        allow_undefined_flag='-berok'
8595
8252
        # Determine the default libpath from the value encoded in an
8596
8253
        # empty executable.
8597
 
        cat >conftest.$ac_ext <<_ACEOF
8598
 
/* confdefs.h.  */
8599
 
_ACEOF
8600
 
cat confdefs.h >>conftest.$ac_ext
8601
 
cat >>conftest.$ac_ext <<_ACEOF
 
8254
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8602
8255
/* end confdefs.h.  */
8603
8256
 
8604
8257
int
8609
8262
  return 0;
8610
8263
}
8611
8264
_ACEOF
8612
 
rm -f conftest.$ac_objext conftest$ac_exeext
8613
 
if { (ac_try="$ac_link"
8614
 
case "(($ac_try" in
8615
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8616
 
  *) ac_try_echo=$ac_try;;
8617
 
esac
8618
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8619
 
$as_echo "$ac_try_echo") >&5
8620
 
  (eval "$ac_link") 2>conftest.er1
8621
 
  ac_status=$?
8622
 
  grep -v '^ *+' conftest.er1 >conftest.err
8623
 
  rm -f conftest.er1
8624
 
  cat conftest.err >&5
8625
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8626
 
  (exit $ac_status); } && {
8627
 
         test -z "$ac_c_werror_flag" ||
8628
 
         test ! -s conftest.err
8629
 
       } && test -s conftest$ac_exeext && {
8630
 
         test "$cross_compiling" = yes ||
8631
 
         $as_test_x conftest$ac_exeext
8632
 
       }; then
 
8265
if ac_fn_c_try_link "$LINENO"; then :
8633
8266
 
8634
8267
lt_aix_libpath_sed='
8635
8268
    /Import File Strings/,/^$/ {
8643
8276
if test -z "$aix_libpath"; then
8644
8277
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8645
8278
fi
8646
 
else
8647
 
  $as_echo "$as_me: failed program was:" >&5
8648
 
sed 's/^/| /' conftest.$ac_ext >&5
8649
 
 
8650
 
 
8651
8279
fi
8652
 
 
8653
 
rm -rf conftest.dSYM
8654
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8655
 
      conftest$ac_exeext conftest.$ac_ext
 
8280
rm -f core conftest.err conftest.$ac_objext \
 
8281
    conftest$ac_exeext conftest.$ac_ext
8656
8282
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8657
8283
 
8658
8284
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8665
8291
        else
8666
8292
         # Determine the default libpath from the value encoded in an
8667
8293
         # empty executable.
8668
 
         cat >conftest.$ac_ext <<_ACEOF
8669
 
/* confdefs.h.  */
8670
 
_ACEOF
8671
 
cat confdefs.h >>conftest.$ac_ext
8672
 
cat >>conftest.$ac_ext <<_ACEOF
 
8294
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8673
8295
/* end confdefs.h.  */
8674
8296
 
8675
8297
int
8680
8302
  return 0;
8681
8303
}
8682
8304
_ACEOF
8683
 
rm -f conftest.$ac_objext conftest$ac_exeext
8684
 
if { (ac_try="$ac_link"
8685
 
case "(($ac_try" in
8686
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8687
 
  *) ac_try_echo=$ac_try;;
8688
 
esac
8689
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8690
 
$as_echo "$ac_try_echo") >&5
8691
 
  (eval "$ac_link") 2>conftest.er1
8692
 
  ac_status=$?
8693
 
  grep -v '^ *+' conftest.er1 >conftest.err
8694
 
  rm -f conftest.er1
8695
 
  cat conftest.err >&5
8696
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697
 
  (exit $ac_status); } && {
8698
 
         test -z "$ac_c_werror_flag" ||
8699
 
         test ! -s conftest.err
8700
 
       } && test -s conftest$ac_exeext && {
8701
 
         test "$cross_compiling" = yes ||
8702
 
         $as_test_x conftest$ac_exeext
8703
 
       }; then
 
8305
if ac_fn_c_try_link "$LINENO"; then :
8704
8306
 
8705
8307
lt_aix_libpath_sed='
8706
8308
    /Import File Strings/,/^$/ {
8714
8316
if test -z "$aix_libpath"; then
8715
8317
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8716
8318
fi
8717
 
else
8718
 
  $as_echo "$as_me: failed program was:" >&5
8719
 
sed 's/^/| /' conftest.$ac_ext >&5
8720
 
 
8721
 
 
8722
8319
fi
8723
 
 
8724
 
rm -rf conftest.dSYM
8725
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8726
 
      conftest$ac_exeext conftest.$ac_ext
 
8320
rm -f core conftest.err conftest.$ac_objext \
 
8321
    conftest$ac_exeext conftest.$ac_ext
8727
8322
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8728
8323
 
8729
8324
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8935
8530
        # implicitly export all symbols.
8936
8531
        save_LDFLAGS="$LDFLAGS"
8937
8532
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8938
 
        cat >conftest.$ac_ext <<_ACEOF
 
8533
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8534
/* end confdefs.h.  */
8939
8535
int foo(void) {}
8940
8536
_ACEOF
8941
 
rm -f conftest.$ac_objext conftest$ac_exeext
8942
 
if { (ac_try="$ac_link"
8943
 
case "(($ac_try" in
8944
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8945
 
  *) ac_try_echo=$ac_try;;
8946
 
esac
8947
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8948
 
$as_echo "$ac_try_echo") >&5
8949
 
  (eval "$ac_link") 2>conftest.er1
8950
 
  ac_status=$?
8951
 
  grep -v '^ *+' conftest.er1 >conftest.err
8952
 
  rm -f conftest.er1
8953
 
  cat conftest.err >&5
8954
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955
 
  (exit $ac_status); } && {
8956
 
         test -z "$ac_c_werror_flag" ||
8957
 
         test ! -s conftest.err
8958
 
       } && test -s conftest$ac_exeext && {
8959
 
         test "$cross_compiling" = yes ||
8960
 
         $as_test_x conftest$ac_exeext
8961
 
       }; then
 
8537
if ac_fn_c_try_link "$LINENO"; then :
8962
8538
  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'
8963
8539
 
8964
 
else
8965
 
  $as_echo "$as_me: failed program was:" >&5
8966
 
sed 's/^/| /' conftest.$ac_ext >&5
8967
 
 
8968
 
 
8969
8540
fi
8970
 
 
8971
 
rm -rf conftest.dSYM
8972
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8973
 
      conftest$ac_exeext conftest.$ac_ext
 
8541
rm -f core conftest.err conftest.$ac_objext \
 
8542
    conftest$ac_exeext conftest.$ac_ext
8974
8543
        LDFLAGS="$save_LDFLAGS"
8975
8544
      else
8976
8545
        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'
9226
8795
    fi
9227
8796
  fi
9228
8797
 
9229
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9230
8799
$as_echo "$ld_shlibs" >&6; }
9231
8800
test "$ld_shlibs" = no && can_build_shared=no
9232
8801
 
9263
8832
      # Test whether the compiler implicitly links with -lc since on some
9264
8833
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9265
8834
      # to ld, don't add -lc before -lgcc.
9266
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8835
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9267
8836
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9268
8837
      $RM conftest*
9269
8838
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9270
8839
 
9271
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8840
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9272
8841
  (eval $ac_compile) 2>&5
9273
8842
  ac_status=$?
9274
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275
 
  (exit $ac_status); } 2>conftest.err; then
 
8843
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8844
  test $ac_status = 0; } 2>conftest.err; then
9276
8845
        soname=conftest
9277
8846
        lib=conftest
9278
8847
        libobjs=conftest.$ac_objext
9286
8855
        libname=conftest
9287
8856
        lt_save_allow_undefined_flag=$allow_undefined_flag
9288
8857
        allow_undefined_flag=
9289
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
8858
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9290
8859
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9291
8860
  ac_status=$?
9292
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293
 
  (exit $ac_status); }
 
8861
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8862
  test $ac_status = 0; }
9294
8863
        then
9295
8864
          archive_cmds_need_lc=no
9296
8865
        else
9301
8870
        cat conftest.err 1>&5
9302
8871
      fi
9303
8872
      $RM conftest*
9304
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8873
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9305
8874
$as_echo "$archive_cmds_need_lc" >&6; }
9306
8875
      ;;
9307
8876
    esac
9465
9034
 
9466
9035
 
9467
9036
 
9468
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9037
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9469
9038
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9470
9039
 
9471
9040
if test "$GCC" = yes; then
9887
9456
  save_libdir=$libdir
9888
9457
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9889
9458
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9890
 
  cat >conftest.$ac_ext <<_ACEOF
9891
 
/* confdefs.h.  */
9892
 
_ACEOF
9893
 
cat confdefs.h >>conftest.$ac_ext
9894
 
cat >>conftest.$ac_ext <<_ACEOF
 
9459
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895
9460
/* end confdefs.h.  */
9896
9461
 
9897
9462
int
9902
9467
  return 0;
9903
9468
}
9904
9469
_ACEOF
9905
 
rm -f conftest.$ac_objext conftest$ac_exeext
9906
 
if { (ac_try="$ac_link"
9907
 
case "(($ac_try" in
9908
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9909
 
  *) ac_try_echo=$ac_try;;
9910
 
esac
9911
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9912
 
$as_echo "$ac_try_echo") >&5
9913
 
  (eval "$ac_link") 2>conftest.er1
9914
 
  ac_status=$?
9915
 
  grep -v '^ *+' conftest.er1 >conftest.err
9916
 
  rm -f conftest.er1
9917
 
  cat conftest.err >&5
9918
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919
 
  (exit $ac_status); } && {
9920
 
         test -z "$ac_c_werror_flag" ||
9921
 
         test ! -s conftest.err
9922
 
       } && test -s conftest$ac_exeext && {
9923
 
         test "$cross_compiling" = yes ||
9924
 
         $as_test_x conftest$ac_exeext
9925
 
       }; then
9926
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
9470
if ac_fn_c_try_link "$LINENO"; then :
 
9471
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9927
9472
  shlibpath_overrides_runpath=yes
9928
9473
fi
9929
 
 
9930
 
else
9931
 
  $as_echo "$as_me: failed program was:" >&5
9932
 
sed 's/^/| /' conftest.$ac_ext >&5
9933
 
 
9934
 
 
9935
9474
fi
9936
 
 
9937
 
rm -rf conftest.dSYM
9938
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9939
 
      conftest$ac_exeext conftest.$ac_ext
 
9475
rm -f core conftest.err conftest.$ac_objext \
 
9476
    conftest$ac_exeext conftest.$ac_ext
9940
9477
  LDFLAGS=$save_LDFLAGS
9941
9478
  libdir=$save_libdir
9942
9479
 
10148
9685
  dynamic_linker=no
10149
9686
  ;;
10150
9687
esac
10151
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10152
9689
$as_echo "$dynamic_linker" >&6; }
10153
9690
test "$dynamic_linker" = no && can_build_shared=no
10154
9691
 
10250
9787
 
10251
9788
 
10252
9789
 
10253
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9790
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10254
9791
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10255
9792
hardcode_action=
10256
9793
if test -n "$hardcode_libdir_flag_spec" ||
10275
9812
  # directories.
10276
9813
  hardcode_action=unsupported
10277
9814
fi
10278
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10279
9816
$as_echo "$hardcode_action" >&6; }
10280
9817
 
10281
9818
if test "$hardcode_action" = relink ||
10320
9857
 
10321
9858
  darwin*)
10322
9859
  # if libdl is installed we need to link against it
10323
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9860
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10324
9861
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10325
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
9862
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10326
9863
  $as_echo_n "(cached) " >&6
10327
9864
else
10328
9865
  ac_check_lib_save_LIBS=$LIBS
10329
9866
LIBS="-ldl  $LIBS"
10330
 
cat >conftest.$ac_ext <<_ACEOF
10331
 
/* confdefs.h.  */
10332
 
_ACEOF
10333
 
cat confdefs.h >>conftest.$ac_ext
10334
 
cat >>conftest.$ac_ext <<_ACEOF
 
9867
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10335
9868
/* end confdefs.h.  */
10336
9869
 
10337
9870
/* Override any GCC internal prototype to avoid an error.
10349
9882
  return 0;
10350
9883
}
10351
9884
_ACEOF
10352
 
rm -f conftest.$ac_objext conftest$ac_exeext
10353
 
if { (ac_try="$ac_link"
10354
 
case "(($ac_try" in
10355
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10356
 
  *) ac_try_echo=$ac_try;;
10357
 
esac
10358
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10359
 
$as_echo "$ac_try_echo") >&5
10360
 
  (eval "$ac_link") 2>conftest.er1
10361
 
  ac_status=$?
10362
 
  grep -v '^ *+' conftest.er1 >conftest.err
10363
 
  rm -f conftest.er1
10364
 
  cat conftest.err >&5
10365
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366
 
  (exit $ac_status); } && {
10367
 
         test -z "$ac_c_werror_flag" ||
10368
 
         test ! -s conftest.err
10369
 
       } && test -s conftest$ac_exeext && {
10370
 
         test "$cross_compiling" = yes ||
10371
 
         $as_test_x conftest$ac_exeext
10372
 
       }; then
 
9885
if ac_fn_c_try_link "$LINENO"; then :
10373
9886
  ac_cv_lib_dl_dlopen=yes
10374
9887
else
10375
 
  $as_echo "$as_me: failed program was:" >&5
10376
 
sed 's/^/| /' conftest.$ac_ext >&5
10377
 
 
10378
 
        ac_cv_lib_dl_dlopen=no
 
9888
  ac_cv_lib_dl_dlopen=no
10379
9889
fi
10380
 
 
10381
 
rm -rf conftest.dSYM
10382
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10383
 
      conftest$ac_exeext conftest.$ac_ext
 
9890
rm -f core conftest.err conftest.$ac_objext \
 
9891
    conftest$ac_exeext conftest.$ac_ext
10384
9892
LIBS=$ac_check_lib_save_LIBS
10385
9893
fi
10386
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10387
9895
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10388
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
9896
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10389
9897
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10390
9898
else
10391
9899
 
10398
9906
    ;;
10399
9907
 
10400
9908
  *)
10401
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10402
 
$as_echo_n "checking for shl_load... " >&6; }
10403
 
if test "${ac_cv_func_shl_load+set}" = set; then
10404
 
  $as_echo_n "(cached) " >&6
10405
 
else
10406
 
  cat >conftest.$ac_ext <<_ACEOF
10407
 
/* confdefs.h.  */
10408
 
_ACEOF
10409
 
cat confdefs.h >>conftest.$ac_ext
10410
 
cat >>conftest.$ac_ext <<_ACEOF
10411
 
/* end confdefs.h.  */
10412
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10413
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10414
 
#define shl_load innocuous_shl_load
10415
 
 
10416
 
/* System header to define __stub macros and hopefully few prototypes,
10417
 
    which can conflict with char shl_load (); below.
10418
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10419
 
    <limits.h> exists even on freestanding compilers.  */
10420
 
 
10421
 
#ifdef __STDC__
10422
 
# include <limits.h>
10423
 
#else
10424
 
# include <assert.h>
10425
 
#endif
10426
 
 
10427
 
#undef shl_load
10428
 
 
10429
 
/* Override any GCC internal prototype to avoid an error.
10430
 
   Use char because int might match the return type of a GCC
10431
 
   builtin and then its argument prototype would still apply.  */
10432
 
#ifdef __cplusplus
10433
 
extern "C"
10434
 
#endif
10435
 
char shl_load ();
10436
 
/* The GNU C library defines this for functions which it implements
10437
 
    to always fail with ENOSYS.  Some functions are actually named
10438
 
    something starting with __ and the normal name is an alias.  */
10439
 
#if defined __stub_shl_load || defined __stub___shl_load
10440
 
choke me
10441
 
#endif
10442
 
 
10443
 
int
10444
 
main ()
10445
 
{
10446
 
return shl_load ();
10447
 
  ;
10448
 
  return 0;
10449
 
}
10450
 
_ACEOF
10451
 
rm -f conftest.$ac_objext conftest$ac_exeext
10452
 
if { (ac_try="$ac_link"
10453
 
case "(($ac_try" in
10454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10455
 
  *) ac_try_echo=$ac_try;;
10456
 
esac
10457
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10458
 
$as_echo "$ac_try_echo") >&5
10459
 
  (eval "$ac_link") 2>conftest.er1
10460
 
  ac_status=$?
10461
 
  grep -v '^ *+' conftest.er1 >conftest.err
10462
 
  rm -f conftest.er1
10463
 
  cat conftest.err >&5
10464
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465
 
  (exit $ac_status); } && {
10466
 
         test -z "$ac_c_werror_flag" ||
10467
 
         test ! -s conftest.err
10468
 
       } && test -s conftest$ac_exeext && {
10469
 
         test "$cross_compiling" = yes ||
10470
 
         $as_test_x conftest$ac_exeext
10471
 
       }; then
10472
 
  ac_cv_func_shl_load=yes
10473
 
else
10474
 
  $as_echo "$as_me: failed program was:" >&5
10475
 
sed 's/^/| /' conftest.$ac_ext >&5
10476
 
 
10477
 
        ac_cv_func_shl_load=no
10478
 
fi
10479
 
 
10480
 
rm -rf conftest.dSYM
10481
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10482
 
      conftest$ac_exeext conftest.$ac_ext
10483
 
fi
10484
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10485
 
$as_echo "$ac_cv_func_shl_load" >&6; }
10486
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
9909
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
9910
if test "x$ac_cv_func_shl_load" = x""yes; then :
10487
9911
  lt_cv_dlopen="shl_load"
10488
9912
else
10489
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9913
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10490
9914
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10491
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
9915
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10492
9916
  $as_echo_n "(cached) " >&6
10493
9917
else
10494
9918
  ac_check_lib_save_LIBS=$LIBS
10495
9919
LIBS="-ldld  $LIBS"
10496
 
cat >conftest.$ac_ext <<_ACEOF
10497
 
/* confdefs.h.  */
10498
 
_ACEOF
10499
 
cat confdefs.h >>conftest.$ac_ext
10500
 
cat >>conftest.$ac_ext <<_ACEOF
 
9920
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501
9921
/* end confdefs.h.  */
10502
9922
 
10503
9923
/* Override any GCC internal prototype to avoid an error.
10515
9935
  return 0;
10516
9936
}
10517
9937
_ACEOF
10518
 
rm -f conftest.$ac_objext conftest$ac_exeext
10519
 
if { (ac_try="$ac_link"
10520
 
case "(($ac_try" in
10521
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10522
 
  *) ac_try_echo=$ac_try;;
10523
 
esac
10524
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10525
 
$as_echo "$ac_try_echo") >&5
10526
 
  (eval "$ac_link") 2>conftest.er1
10527
 
  ac_status=$?
10528
 
  grep -v '^ *+' conftest.er1 >conftest.err
10529
 
  rm -f conftest.er1
10530
 
  cat conftest.err >&5
10531
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532
 
  (exit $ac_status); } && {
10533
 
         test -z "$ac_c_werror_flag" ||
10534
 
         test ! -s conftest.err
10535
 
       } && test -s conftest$ac_exeext && {
10536
 
         test "$cross_compiling" = yes ||
10537
 
         $as_test_x conftest$ac_exeext
10538
 
       }; then
 
9938
if ac_fn_c_try_link "$LINENO"; then :
10539
9939
  ac_cv_lib_dld_shl_load=yes
10540
9940
else
10541
 
  $as_echo "$as_me: failed program was:" >&5
10542
 
sed 's/^/| /' conftest.$ac_ext >&5
10543
 
 
10544
 
        ac_cv_lib_dld_shl_load=no
 
9941
  ac_cv_lib_dld_shl_load=no
10545
9942
fi
10546
 
 
10547
 
rm -rf conftest.dSYM
10548
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10549
 
      conftest$ac_exeext conftest.$ac_ext
 
9943
rm -f core conftest.err conftest.$ac_objext \
 
9944
    conftest$ac_exeext conftest.$ac_ext
10550
9945
LIBS=$ac_check_lib_save_LIBS
10551
9946
fi
10552
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10553
9948
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10554
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
9949
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10555
9950
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10556
9951
else
10557
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10558
 
$as_echo_n "checking for dlopen... " >&6; }
10559
 
if test "${ac_cv_func_dlopen+set}" = set; then
10560
 
  $as_echo_n "(cached) " >&6
10561
 
else
10562
 
  cat >conftest.$ac_ext <<_ACEOF
10563
 
/* confdefs.h.  */
10564
 
_ACEOF
10565
 
cat confdefs.h >>conftest.$ac_ext
10566
 
cat >>conftest.$ac_ext <<_ACEOF
10567
 
/* end confdefs.h.  */
10568
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10569
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10570
 
#define dlopen innocuous_dlopen
10571
 
 
10572
 
/* System header to define __stub macros and hopefully few prototypes,
10573
 
    which can conflict with char dlopen (); below.
10574
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10575
 
    <limits.h> exists even on freestanding compilers.  */
10576
 
 
10577
 
#ifdef __STDC__
10578
 
# include <limits.h>
10579
 
#else
10580
 
# include <assert.h>
10581
 
#endif
10582
 
 
10583
 
#undef dlopen
10584
 
 
10585
 
/* Override any GCC internal prototype to avoid an error.
10586
 
   Use char because int might match the return type of a GCC
10587
 
   builtin and then its argument prototype would still apply.  */
10588
 
#ifdef __cplusplus
10589
 
extern "C"
10590
 
#endif
10591
 
char dlopen ();
10592
 
/* The GNU C library defines this for functions which it implements
10593
 
    to always fail with ENOSYS.  Some functions are actually named
10594
 
    something starting with __ and the normal name is an alias.  */
10595
 
#if defined __stub_dlopen || defined __stub___dlopen
10596
 
choke me
10597
 
#endif
10598
 
 
10599
 
int
10600
 
main ()
10601
 
{
10602
 
return dlopen ();
10603
 
  ;
10604
 
  return 0;
10605
 
}
10606
 
_ACEOF
10607
 
rm -f conftest.$ac_objext conftest$ac_exeext
10608
 
if { (ac_try="$ac_link"
10609
 
case "(($ac_try" in
10610
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10611
 
  *) ac_try_echo=$ac_try;;
10612
 
esac
10613
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10614
 
$as_echo "$ac_try_echo") >&5
10615
 
  (eval "$ac_link") 2>conftest.er1
10616
 
  ac_status=$?
10617
 
  grep -v '^ *+' conftest.er1 >conftest.err
10618
 
  rm -f conftest.er1
10619
 
  cat conftest.err >&5
10620
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621
 
  (exit $ac_status); } && {
10622
 
         test -z "$ac_c_werror_flag" ||
10623
 
         test ! -s conftest.err
10624
 
       } && test -s conftest$ac_exeext && {
10625
 
         test "$cross_compiling" = yes ||
10626
 
         $as_test_x conftest$ac_exeext
10627
 
       }; then
10628
 
  ac_cv_func_dlopen=yes
10629
 
else
10630
 
  $as_echo "$as_me: failed program was:" >&5
10631
 
sed 's/^/| /' conftest.$ac_ext >&5
10632
 
 
10633
 
        ac_cv_func_dlopen=no
10634
 
fi
10635
 
 
10636
 
rm -rf conftest.dSYM
10637
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10638
 
      conftest$ac_exeext conftest.$ac_ext
10639
 
fi
10640
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10641
 
$as_echo "$ac_cv_func_dlopen" >&6; }
10642
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
9952
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
9953
if test "x$ac_cv_func_dlopen" = x""yes; then :
10643
9954
  lt_cv_dlopen="dlopen"
10644
9955
else
10645
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9956
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10646
9957
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10647
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
9958
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10648
9959
  $as_echo_n "(cached) " >&6
10649
9960
else
10650
9961
  ac_check_lib_save_LIBS=$LIBS
10651
9962
LIBS="-ldl  $LIBS"
10652
 
cat >conftest.$ac_ext <<_ACEOF
10653
 
/* confdefs.h.  */
10654
 
_ACEOF
10655
 
cat confdefs.h >>conftest.$ac_ext
10656
 
cat >>conftest.$ac_ext <<_ACEOF
 
9963
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657
9964
/* end confdefs.h.  */
10658
9965
 
10659
9966
/* Override any GCC internal prototype to avoid an error.
10671
9978
  return 0;
10672
9979
}
10673
9980
_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
 
9981
if ac_fn_c_try_link "$LINENO"; then :
10695
9982
  ac_cv_lib_dl_dlopen=yes
10696
9983
else
10697
 
  $as_echo "$as_me: failed program was:" >&5
10698
 
sed 's/^/| /' conftest.$ac_ext >&5
10699
 
 
10700
 
        ac_cv_lib_dl_dlopen=no
 
9984
  ac_cv_lib_dl_dlopen=no
10701
9985
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
 
9986
rm -f core conftest.err conftest.$ac_objext \
 
9987
    conftest$ac_exeext conftest.$ac_ext
10706
9988
LIBS=$ac_check_lib_save_LIBS
10707
9989
fi
10708
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10709
9991
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10710
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
9992
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10711
9993
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10712
9994
else
10713
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
9995
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10714
9996
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10715
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
9997
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10716
9998
  $as_echo_n "(cached) " >&6
10717
9999
else
10718
10000
  ac_check_lib_save_LIBS=$LIBS
10719
10001
LIBS="-lsvld  $LIBS"
10720
 
cat >conftest.$ac_ext <<_ACEOF
10721
 
/* confdefs.h.  */
10722
 
_ACEOF
10723
 
cat confdefs.h >>conftest.$ac_ext
10724
 
cat >>conftest.$ac_ext <<_ACEOF
 
10002
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10725
10003
/* end confdefs.h.  */
10726
10004
 
10727
10005
/* Override any GCC internal prototype to avoid an error.
10739
10017
  return 0;
10740
10018
}
10741
10019
_ACEOF
10742
 
rm -f conftest.$ac_objext conftest$ac_exeext
10743
 
if { (ac_try="$ac_link"
10744
 
case "(($ac_try" in
10745
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10746
 
  *) ac_try_echo=$ac_try;;
10747
 
esac
10748
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10749
 
$as_echo "$ac_try_echo") >&5
10750
 
  (eval "$ac_link") 2>conftest.er1
10751
 
  ac_status=$?
10752
 
  grep -v '^ *+' conftest.er1 >conftest.err
10753
 
  rm -f conftest.er1
10754
 
  cat conftest.err >&5
10755
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756
 
  (exit $ac_status); } && {
10757
 
         test -z "$ac_c_werror_flag" ||
10758
 
         test ! -s conftest.err
10759
 
       } && test -s conftest$ac_exeext && {
10760
 
         test "$cross_compiling" = yes ||
10761
 
         $as_test_x conftest$ac_exeext
10762
 
       }; then
 
10020
if ac_fn_c_try_link "$LINENO"; then :
10763
10021
  ac_cv_lib_svld_dlopen=yes
10764
10022
else
10765
 
  $as_echo "$as_me: failed program was:" >&5
10766
 
sed 's/^/| /' conftest.$ac_ext >&5
10767
 
 
10768
 
        ac_cv_lib_svld_dlopen=no
 
10023
  ac_cv_lib_svld_dlopen=no
10769
10024
fi
10770
 
 
10771
 
rm -rf conftest.dSYM
10772
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10773
 
      conftest$ac_exeext conftest.$ac_ext
 
10025
rm -f core conftest.err conftest.$ac_objext \
 
10026
    conftest$ac_exeext conftest.$ac_ext
10774
10027
LIBS=$ac_check_lib_save_LIBS
10775
10028
fi
10776
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10777
10030
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10778
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
10031
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10779
10032
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10780
10033
else
10781
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10034
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10782
10035
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10783
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
10036
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10784
10037
  $as_echo_n "(cached) " >&6
10785
10038
else
10786
10039
  ac_check_lib_save_LIBS=$LIBS
10787
10040
LIBS="-ldld  $LIBS"
10788
 
cat >conftest.$ac_ext <<_ACEOF
10789
 
/* confdefs.h.  */
10790
 
_ACEOF
10791
 
cat confdefs.h >>conftest.$ac_ext
10792
 
cat >>conftest.$ac_ext <<_ACEOF
 
10041
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793
10042
/* end confdefs.h.  */
10794
10043
 
10795
10044
/* Override any GCC internal prototype to avoid an error.
10807
10056
  return 0;
10808
10057
}
10809
10058
_ACEOF
10810
 
rm -f conftest.$ac_objext conftest$ac_exeext
10811
 
if { (ac_try="$ac_link"
10812
 
case "(($ac_try" in
10813
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10814
 
  *) ac_try_echo=$ac_try;;
10815
 
esac
10816
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10817
 
$as_echo "$ac_try_echo") >&5
10818
 
  (eval "$ac_link") 2>conftest.er1
10819
 
  ac_status=$?
10820
 
  grep -v '^ *+' conftest.er1 >conftest.err
10821
 
  rm -f conftest.er1
10822
 
  cat conftest.err >&5
10823
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824
 
  (exit $ac_status); } && {
10825
 
         test -z "$ac_c_werror_flag" ||
10826
 
         test ! -s conftest.err
10827
 
       } && test -s conftest$ac_exeext && {
10828
 
         test "$cross_compiling" = yes ||
10829
 
         $as_test_x conftest$ac_exeext
10830
 
       }; then
 
10059
if ac_fn_c_try_link "$LINENO"; then :
10831
10060
  ac_cv_lib_dld_dld_link=yes
10832
10061
else
10833
 
  $as_echo "$as_me: failed program was:" >&5
10834
 
sed 's/^/| /' conftest.$ac_ext >&5
10835
 
 
10836
 
        ac_cv_lib_dld_dld_link=no
 
10062
  ac_cv_lib_dld_dld_link=no
10837
10063
fi
10838
 
 
10839
 
rm -rf conftest.dSYM
10840
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10841
 
      conftest$ac_exeext conftest.$ac_ext
 
10064
rm -f core conftest.err conftest.$ac_objext \
 
10065
    conftest$ac_exeext conftest.$ac_ext
10842
10066
LIBS=$ac_check_lib_save_LIBS
10843
10067
fi
10844
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10845
10069
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10846
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10070
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10847
10071
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10848
10072
fi
10849
10073
 
10882
10106
    save_LIBS="$LIBS"
10883
10107
    LIBS="$lt_cv_dlopen_libs $LIBS"
10884
10108
 
10885
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10109
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10886
10110
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10887
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
10111
if test "${lt_cv_dlopen_self+set}" = set; then :
10888
10112
  $as_echo_n "(cached) " >&6
10889
10113
else
10890
10114
          if test "$cross_compiling" = yes; then :
10893
10117
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10894
10118
  lt_status=$lt_dlunknown
10895
10119
  cat > conftest.$ac_ext <<_LT_EOF
10896
 
#line 10896 "configure"
 
10120
#line 10120 "configure"
10897
10121
#include "confdefs.h"
10898
10122
 
10899
10123
#if HAVE_DLFCN_H
10952
10176
  return status;
10953
10177
}
10954
10178
_LT_EOF
10955
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10179
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10956
10180
  (eval $ac_link) 2>&5
10957
10181
  ac_status=$?
10958
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10182
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10183
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10960
10184
    (./conftest; exit; ) >&5 2>/dev/null
10961
10185
    lt_status=$?
10962
10186
    case x$lt_status in
10973
10197
 
10974
10198
 
10975
10199
fi
10976
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10977
10201
$as_echo "$lt_cv_dlopen_self" >&6; }
10978
10202
 
10979
10203
    if test "x$lt_cv_dlopen_self" = xyes; then
10980
10204
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10981
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10205
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10982
10206
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10983
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
10207
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10984
10208
  $as_echo_n "(cached) " >&6
10985
10209
else
10986
10210
          if test "$cross_compiling" = yes; then :
10989
10213
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10990
10214
  lt_status=$lt_dlunknown
10991
10215
  cat > conftest.$ac_ext <<_LT_EOF
10992
 
#line 10992 "configure"
 
10216
#line 10216 "configure"
10993
10217
#include "confdefs.h"
10994
10218
 
10995
10219
#if HAVE_DLFCN_H
11048
10272
  return status;
11049
10273
}
11050
10274
_LT_EOF
11051
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10275
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11052
10276
  (eval $ac_link) 2>&5
11053
10277
  ac_status=$?
11054
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10278
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10279
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11056
10280
    (./conftest; exit; ) >&5 2>/dev/null
11057
10281
    lt_status=$?
11058
10282
    case x$lt_status in
11069
10293
 
11070
10294
 
11071
10295
fi
11072
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11073
10297
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11074
10298
    fi
11075
10299
 
11108
10332
 
11109
10333
striplib=
11110
10334
old_striplib=
11111
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11112
10336
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11113
10337
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11114
10338
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11115
10339
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11116
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10340
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11117
10341
$as_echo "yes" >&6; }
11118
10342
else
11119
10343
# FIXME - insert some real tests, host_os isn't really good enough
11122
10346
    if test -n "$STRIP" ; then
11123
10347
      striplib="$STRIP -x"
11124
10348
      old_striplib="$STRIP -S"
11125
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10349
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11126
10350
$as_echo "yes" >&6; }
11127
10351
    else
11128
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
10352
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11129
10353
$as_echo "no" >&6; }
11130
10354
    fi
11131
10355
    ;;
11132
10356
  *)
11133
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
10357
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11134
10358
$as_echo "no" >&6; }
11135
10359
    ;;
11136
10360
  esac
11148
10372
 
11149
10373
 
11150
10374
  # Report which library types will actually be built
11151
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10375
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11152
10376
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11153
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11154
10378
$as_echo "$can_build_shared" >&6; }
11155
10379
 
11156
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10380
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11157
10381
$as_echo_n "checking whether to build shared libraries... " >&6; }
11158
10382
  test "$can_build_shared" = "no" && enable_shared=no
11159
10383
 
11174
10398
    fi
11175
10399
    ;;
11176
10400
  esac
11177
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11178
10402
$as_echo "$enable_shared" >&6; }
11179
10403
 
11180
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10404
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11181
10405
$as_echo_n "checking whether to build static libraries... " >&6; }
11182
10406
  # Make sure either enable_shared or enable_static is yes.
11183
10407
  test "$enable_shared" = yes || enable_static=yes
11184
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
10408
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11185
10409
$as_echo "$enable_static" >&6; }
11186
10410
 
11187
10411
 
11284
10508
  fi
11285
10509
  else
11286
10510
  if test x$enable_gcov = xyes; then
11287
 
    { { $as_echo "$as_me:$LINENO: error: --enable-gcov can only be used with gcc" >&5
11288
 
$as_echo "$as_me: error: --enable-gcov can only be used with gcc" >&2;}
11289
 
   { (exit 1); exit 1; }; }
 
10511
    as_fn_error "--enable-gcov can only be used with gcc" "$LINENO" 5
11290
10512
  fi
11291
10513
fi
11292
10514
 
11296
10518
 
11297
10519
 
11298
10520
 
 
10521
 
 
10522
 
 
10523
 
 
10524
 
11299
10525
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11300
10526
        if test -n "$ac_tool_prefix"; then
11301
10527
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11302
10528
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11303
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11304
10530
$as_echo_n "checking for $ac_word... " >&6; }
11305
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
10531
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11306
10532
  $as_echo_n "(cached) " >&6
11307
10533
else
11308
10534
  case $PKG_CONFIG in
11315
10541
do
11316
10542
  IFS=$as_save_IFS
11317
10543
  test -z "$as_dir" && as_dir=.
11318
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10544
    for ac_exec_ext in '' $ac_executable_extensions; do
11319
10545
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11320
10546
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11321
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10547
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11322
10548
    break 2
11323
10549
  fi
11324
10550
done
11325
 
done
 
10551
  done
11326
10552
IFS=$as_save_IFS
11327
10553
 
11328
10554
  ;;
11330
10556
fi
11331
10557
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11332
10558
if test -n "$PKG_CONFIG"; then
11333
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
10559
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11334
10560
$as_echo "$PKG_CONFIG" >&6; }
11335
10561
else
11336
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10562
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11337
10563
$as_echo "no" >&6; }
11338
10564
fi
11339
10565
 
11343
10569
  ac_pt_PKG_CONFIG=$PKG_CONFIG
11344
10570
  # Extract the first word of "pkg-config", so it can be a program name with args.
11345
10571
set dummy pkg-config; ac_word=$2
11346
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11347
10573
$as_echo_n "checking for $ac_word... " >&6; }
11348
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
10574
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11349
10575
  $as_echo_n "(cached) " >&6
11350
10576
else
11351
10577
  case $ac_pt_PKG_CONFIG in
11358
10584
do
11359
10585
  IFS=$as_save_IFS
11360
10586
  test -z "$as_dir" && as_dir=.
11361
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10587
    for ac_exec_ext in '' $ac_executable_extensions; do
11362
10588
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11363
10589
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11364
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10590
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11365
10591
    break 2
11366
10592
  fi
11367
10593
done
11368
 
done
 
10594
  done
11369
10595
IFS=$as_save_IFS
11370
10596
 
11371
10597
  ;;
11373
10599
fi
11374
10600
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11375
10601
if test -n "$ac_pt_PKG_CONFIG"; then
11376
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
10602
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11377
10603
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11378
10604
else
11379
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11380
10606
$as_echo "no" >&6; }
11381
10607
fi
11382
10608
 
11385
10611
  else
11386
10612
    case $cross_compiling:$ac_tool_warned in
11387
10613
yes:)
11388
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
10614
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11389
10615
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11390
10616
ac_tool_warned=yes ;;
11391
10617
esac
11398
10624
fi
11399
10625
if test -n "$PKG_CONFIG"; then
11400
10626
        _pkg_min_version=0.9.0
11401
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
10627
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11402
10628
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11403
10629
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11404
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10630
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11405
10631
$as_echo "yes" >&6; }
11406
10632
        else
11407
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
10633
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11408
10634
$as_echo "no" >&6; }
11409
10635
                PKG_CONFIG=""
11410
10636
        fi
11411
 
 
11412
10637
fi
11413
10638
 
11414
10639
pkg_failed=no
11415
 
{ $as_echo "$as_me:$LINENO: checking for DESKTOP_FILE_UTILS" >&5
 
10640
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DESKTOP_FILE_UTILS" >&5
11416
10641
$as_echo_n "checking for DESKTOP_FILE_UTILS... " >&6; }
11417
10642
 
11418
10643
if test -n "$DESKTOP_FILE_UTILS_CFLAGS"; then
11419
10644
    pkg_cv_DESKTOP_FILE_UTILS_CFLAGS="$DESKTOP_FILE_UTILS_CFLAGS"
11420
10645
 elif test -n "$PKG_CONFIG"; then
11421
10646
    if test -n "$PKG_CONFIG" && \
11422
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.8.0\"") >&5
 
10647
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.8.0\""; } >&5
11423
10648
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.8.0") 2>&5
11424
10649
  ac_status=$?
11425
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426
 
  (exit $ac_status); }; then
 
10650
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10651
  test $ac_status = 0; }; then
11427
10652
  pkg_cv_DESKTOP_FILE_UTILS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.8.0" 2>/dev/null`
11428
10653
else
11429
10654
  pkg_failed=yes
11435
10660
    pkg_cv_DESKTOP_FILE_UTILS_LIBS="$DESKTOP_FILE_UTILS_LIBS"
11436
10661
 elif test -n "$PKG_CONFIG"; then
11437
10662
    if test -n "$PKG_CONFIG" && \
11438
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.8.0\"") >&5
 
10663
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.8.0\""; } >&5
11439
10664
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.8.0") 2>&5
11440
10665
  ac_status=$?
11441
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442
 
  (exit $ac_status); }; then
 
10666
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10667
  test $ac_status = 0; }; then
11443
10668
  pkg_cv_DESKTOP_FILE_UTILS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.8.0" 2>/dev/null`
11444
10669
else
11445
10670
  pkg_failed=yes
11451
10676
 
11452
10677
 
11453
10678
if test $pkg_failed = yes; then
 
10679
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10680
$as_echo "no" >&6; }
11454
10681
 
11455
10682
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11456
10683
        _pkg_short_errors_supported=yes
11465
10692
        # Put the nasty error message in config.log where it belongs
11466
10693
        echo "$DESKTOP_FILE_UTILS_PKG_ERRORS" >&5
11467
10694
 
11468
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.8.0) were not met:
11469
 
 
11470
 
$DESKTOP_FILE_UTILS_PKG_ERRORS
11471
 
 
11472
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11473
 
installed software in a non-standard prefix.
11474
 
 
11475
 
Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
11476
 
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
11477
 
See the pkg-config man page for more details.
11478
 
" >&5
11479
 
$as_echo "$as_me: error: Package requirements (glib-2.0 >= 2.8.0) were not met:
11480
 
 
11481
 
$DESKTOP_FILE_UTILS_PKG_ERRORS
11482
 
 
11483
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11484
 
installed software in a non-standard prefix.
11485
 
 
11486
 
Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
11487
 
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
11488
 
See the pkg-config man page for more details.
11489
 
" >&2;}
11490
 
   { (exit 1); exit 1; }; }
 
10695
        as_fn_error "Package requirements (glib-2.0 >= 2.8.0) were not met:
 
10696
 
 
10697
$DESKTOP_FILE_UTILS_PKG_ERRORS
 
10698
 
 
10699
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
10700
installed software in a non-standard prefix.
 
10701
 
 
10702
Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
 
10703
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
 
10704
See the pkg-config man page for more details." "$LINENO" 5
11491
10705
elif test $pkg_failed = untried; then
11492
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
10706
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10707
$as_echo "no" >&6; }
 
10708
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11493
10709
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11494
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
11495
 
is in your PATH or set the PKG_CONFIG environment variable to the full
11496
 
path to pkg-config.
11497
 
 
11498
 
Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
11499
 
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
11500
 
See the pkg-config man page for more details.
11501
 
 
11502
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11503
 
See \`config.log' for more details." >&5
11504
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
11505
 
is in your PATH or set the PKG_CONFIG environment variable to the full
11506
 
path to pkg-config.
11507
 
 
11508
 
Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
11509
 
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
11510
 
See the pkg-config man page for more details.
11511
 
 
11512
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11513
 
See \`config.log' for more details." >&2;}
11514
 
   { (exit 1); exit 1; }; }; }
 
10710
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
10711
is in your PATH or set the PKG_CONFIG environment variable to the full
 
10712
path to pkg-config.
 
10713
 
 
10714
Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
 
10715
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
 
10716
See the pkg-config man page for more details.
 
10717
 
 
10718
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
10719
See \`config.log' for more details." "$LINENO" 5; }
11515
10720
else
11516
10721
        DESKTOP_FILE_UTILS_CFLAGS=$pkg_cv_DESKTOP_FILE_UTILS_CFLAGS
11517
10722
        DESKTOP_FILE_UTILS_LIBS=$pkg_cv_DESKTOP_FILE_UTILS_LIBS
11518
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10723
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11519
10724
$as_echo "yes" >&6; }
11520
 
        :
 
10725
 
11521
10726
fi
11522
10727
 
11523
10728
 # If set to t, that means we are running in a shell under Emacs.
11527
10732
do
11528
10733
  # Extract the first word of "$ac_prog", so it can be a program name with args.
11529
10734
set dummy $ac_prog; ac_word=$2
11530
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11531
10736
$as_echo_n "checking for $ac_word... " >&6; }
11532
 
if test "${ac_cv_prog_EMACS+set}" = set; then
 
10737
if test "${ac_cv_prog_EMACS+set}" = set; then :
11533
10738
  $as_echo_n "(cached) " >&6
11534
10739
else
11535
10740
  if test -n "$EMACS"; then
11540
10745
do
11541
10746
  IFS=$as_save_IFS
11542
10747
  test -z "$as_dir" && as_dir=.
11543
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10748
    for ac_exec_ext in '' $ac_executable_extensions; do
11544
10749
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11545
10750
    ac_cv_prog_EMACS="$ac_prog"
11546
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10751
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11547
10752
    break 2
11548
10753
  fi
11549
10754
done
11550
 
done
 
10755
  done
11551
10756
IFS=$as_save_IFS
11552
10757
 
11553
10758
fi
11554
10759
fi
11555
10760
EMACS=$ac_cv_prog_EMACS
11556
10761
if test -n "$EMACS"; then
11557
 
  { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
 
10762
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5
11558
10763
$as_echo "$EMACS" >&6; }
11559
10764
else
11560
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10765
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11561
10766
$as_echo "no" >&6; }
11562
10767
fi
11563
10768
 
11570
10775
 
11571
10776
 
11572
10777
# Check whether --with-lispdir was given.
11573
 
if test "${with_lispdir+set}" = set; then
 
10778
if test "${with_lispdir+set}" = set; then :
11574
10779
  withval=$with_lispdir;  lispdir="$withval"
11575
 
   { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
 
10780
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
11576
10781
$as_echo_n "checking where .elc files should go... " >&6; }
11577
 
   { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
 
10782
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
11578
10783
$as_echo "$lispdir" >&6; }
11579
10784
else
11580
10785
 
11581
 
 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
 
10786
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
11582
10787
$as_echo_n "checking where .elc files should go... " >&6; }
11583
 
if test "${am_cv_lispdir+set}" = set; then
 
10788
if test "${am_cv_lispdir+set}" = set; then :
11584
10789
  $as_echo_n "(cached) " >&6
11585
10790
else
11586
10791
 
11591
10796
  #  which is non-obvious for non-emacs users.
11592
10797
  # Redirecting /dev/null should help a bit; pity we can't detect "broken"
11593
10798
  #  emacsen earlier and avoid running this altogether.
11594
 
  { ($as_echo "$as_me:$LINENO: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out") >&5
 
10799
  { { $as_echo "$as_me:${as_lineno-$LINENO}: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out"; } >&5
11595
10800
  ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
11596
10801
  ac_status=$?
11597
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598
 
  (exit $ac_status); }
 
10802
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10803
  test $ac_status = 0; }
11599
10804
        am_cv_lispdir=`sed -n \
11600
10805
       -e 's,/$,,' \
11601
10806
       -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
11607
10812
   test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
11608
10813
 
11609
10814
fi
11610
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
 
10815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_lispdir" >&5
11611
10816
$as_echo "$am_cv_lispdir" >&6; }
11612
10817
  lispdir="$am_cv_lispdir"
11613
10818
 
11616
10821
 
11617
10822
 
11618
10823
 
11619
 
ac_config_files="$ac_config_files Makefile src/Makefile misc/Makefile"
 
10824
ac_config_files="$ac_config_files Makefile man/Makefile misc/Makefile src/Makefile"
11620
10825
 
11621
10826
 
11622
10827
cat >confcache <<\_ACEOF
11646
10851
    case $ac_val in #(
11647
10852
    *${as_nl}*)
11648
10853
      case $ac_var in #(
11649
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
10854
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11650
10855
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11651
10856
      esac
11652
10857
      case $ac_var in #(
11653
10858
      _ | IFS | as_nl) ;; #(
11654
10859
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11655
 
      *) $as_unset $ac_var ;;
 
10860
      *) { eval $ac_var=; unset $ac_var;} ;;
11656
10861
      esac ;;
11657
10862
    esac
11658
10863
  done
11660
10865
  (set) 2>&1 |
11661
10866
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
11662
10867
    *${as_nl}ac_space=\ *)
11663
 
      # `set' does not quote correctly, so add quotes (double-quote
11664
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
10868
      # `set' does not quote correctly, so add quotes: double-quote
 
10869
      # substitution turns \\\\ into \\, and sed turns \\ into \.
11665
10870
      sed -n \
11666
10871
        "s/'/'\\\\''/g;
11667
10872
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11684
10889
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11685
10890
  if test -w "$cache_file"; then
11686
10891
    test "x$cache_file" != "x/dev/null" &&
11687
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
10892
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11688
10893
$as_echo "$as_me: updating cache $cache_file" >&6;}
11689
10894
    cat confcache >$cache_file
11690
10895
  else
11691
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
10896
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11692
10897
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11693
10898
  fi
11694
10899
fi
11708
10913
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11709
10914
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11710
10915
  #    will be set to the directory where LIBOBJS objects are built.
11711
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11712
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
10916
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
10917
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11713
10918
done
11714
10919
LIBOBJS=$ac_libobjs
11715
10920
 
11725
10930
fi
11726
10931
 
11727
10932
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11728
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11729
 
Usually this means the macro was only invoked conditionally." >&5
11730
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11731
 
Usually this means the macro was only invoked conditionally." >&2;}
11732
 
   { (exit 1); exit 1; }; }
 
10933
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
10934
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11733
10935
fi
11734
10936
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11735
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11736
 
Usually this means the macro was only invoked conditionally." >&5
11737
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
11738
 
Usually this means the macro was only invoked conditionally." >&2;}
11739
 
   { (exit 1); exit 1; }; }
 
10937
  as_fn_error "conditional \"AMDEP\" was never defined.
 
10938
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11740
10939
fi
11741
10940
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11742
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11743
 
Usually this means the macro was only invoked conditionally." >&5
11744
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11745
 
Usually this means the macro was only invoked conditionally." >&2;}
11746
 
   { (exit 1); exit 1; }; }
 
10941
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
10942
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11747
10943
fi
11748
10944
 
11749
10945
: ${CONFIG_STATUS=./config.status}
11750
10946
ac_write_fail=0
11751
10947
ac_clean_files_save=$ac_clean_files
11752
10948
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11753
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
10949
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11754
10950
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11755
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
10951
as_write_fail=0
 
10952
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11756
10953
#! $SHELL
11757
10954
# Generated by $as_me.
11758
10955
# Run this file to recreate the current configuration.
11762
10959
debug=false
11763
10960
ac_cs_recheck=false
11764
10961
ac_cs_silent=false
 
10962
 
11765
10963
SHELL=\${CONFIG_SHELL-$SHELL}
11766
 
_ACEOF
11767
 
 
11768
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11769
 
## --------------------- ##
11770
 
## M4sh Initialization.  ##
11771
 
## --------------------- ##
 
10964
export SHELL
 
10965
_ASEOF
 
10966
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
10967
## -------------------- ##
 
10968
## M4sh Initialization. ##
 
10969
## -------------------- ##
11772
10970
 
11773
10971
# Be more Bourne compatible
11774
10972
DUALCASE=1; export DUALCASE # for MKS sh
11775
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
10973
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11776
10974
  emulate sh
11777
10975
  NULLCMD=:
11778
10976
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11780
10978
  alias -g '${1+"$@"}'='"$@"'
11781
10979
  setopt NO_GLOB_SUBST
11782
10980
else
11783
 
  case `(set -o) 2>/dev/null` in
11784
 
  *posix*) set -o posix ;;
 
10981
  case `(set -o) 2>/dev/null` in #(
 
10982
  *posix*) :
 
10983
    set -o posix ;; #(
 
10984
  *) :
 
10985
     ;;
11785
10986
esac
11786
 
 
11787
10987
fi
11788
10988
 
11789
10989
 
11790
 
 
11791
 
 
11792
 
# PATH needs CR
11793
 
# Avoid depending upon Character Ranges.
11794
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11795
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11796
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11797
 
as_cr_digits='0123456789'
11798
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
11799
 
 
11800
10990
as_nl='
11801
10991
'
11802
10992
export as_nl
11804
10994
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11805
10995
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11806
10996
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11807
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
10997
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
10998
# but without wasting forks for bash or zsh.
 
10999
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
11000
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
11001
  as_echo='print -r --'
 
11002
  as_echo_n='print -rn --'
 
11003
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11808
11004
  as_echo='printf %s\n'
11809
11005
  as_echo_n='printf %s'
11810
11006
else
11815
11011
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11816
11012
    as_echo_n_body='eval
11817
11013
      arg=$1;
11818
 
      case $arg in
 
11014
      case $arg in #(
11819
11015
      *"$as_nl"*)
11820
11016
        expr "X$arg" : "X\\(.*\\)$as_nl";
11821
11017
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11838
11034
  }
11839
11035
fi
11840
11036
 
11841
 
# Support unset when possible.
11842
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11843
 
  as_unset=unset
11844
 
else
11845
 
  as_unset=false
11846
 
fi
11847
 
 
11848
11037
 
11849
11038
# IFS
11850
11039
# We need space, tab and new line, in precisely that order.  Quoting is
11854
11043
IFS=" ""        $as_nl"
11855
11044
 
11856
11045
# Find who we are.  Look in the path if we contain no directory separator.
11857
 
case $0 in
 
11046
case $0 in #((
11858
11047
  *[\\/]* ) as_myself=$0 ;;
11859
11048
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11860
11049
for as_dir in $PATH
11861
11050
do
11862
11051
  IFS=$as_save_IFS
11863
11052
  test -z "$as_dir" && as_dir=.
11864
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11865
 
done
 
11053
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
11054
  done
11866
11055
IFS=$as_save_IFS
11867
11056
 
11868
11057
     ;;
11874
11063
fi
11875
11064
if test ! -f "$as_myself"; then
11876
11065
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11877
 
  { (exit 1); exit 1; }
 
11066
  exit 1
11878
11067
fi
11879
11068
 
11880
 
# Work around bugs in pre-3.0 UWIN ksh.
11881
 
for as_var in ENV MAIL MAILPATH
11882
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
11069
# Unset variables that we do not need and which cause bugs (e.g. in
 
11070
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
11071
# suppresses any "Segmentation fault" message there.  '((' could
 
11072
# trigger a bug in pdksh 5.2.14.
 
11073
for as_var in BASH_ENV ENV MAIL MAILPATH
 
11074
do eval test x\${$as_var+set} = xset \
 
11075
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11883
11076
done
11884
11077
PS1='$ '
11885
11078
PS2='> '
11891
11084
LANGUAGE=C
11892
11085
export LANGUAGE
11893
11086
 
11894
 
# Required to use basename.
 
11087
# CDPATH.
 
11088
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
11089
 
 
11090
 
 
11091
# as_fn_error ERROR [LINENO LOG_FD]
 
11092
# ---------------------------------
 
11093
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
11094
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
11095
# script with status $?, using 1 if that was 0.
 
11096
as_fn_error ()
 
11097
{
 
11098
  as_status=$?; test $as_status -eq 0 && as_status=1
 
11099
  if test "$3"; then
 
11100
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
11101
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
11102
  fi
 
11103
  $as_echo "$as_me: error: $1" >&2
 
11104
  as_fn_exit $as_status
 
11105
} # as_fn_error
 
11106
 
 
11107
 
 
11108
# as_fn_set_status STATUS
 
11109
# -----------------------
 
11110
# Set $? to STATUS, without forking.
 
11111
as_fn_set_status ()
 
11112
{
 
11113
  return $1
 
11114
} # as_fn_set_status
 
11115
 
 
11116
# as_fn_exit STATUS
 
11117
# -----------------
 
11118
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
11119
as_fn_exit ()
 
11120
{
 
11121
  set +e
 
11122
  as_fn_set_status $1
 
11123
  exit $1
 
11124
} # as_fn_exit
 
11125
 
 
11126
# as_fn_unset VAR
 
11127
# ---------------
 
11128
# Portably unset VAR.
 
11129
as_fn_unset ()
 
11130
{
 
11131
  { eval $1=; unset $1;}
 
11132
}
 
11133
as_unset=as_fn_unset
 
11134
# as_fn_append VAR VALUE
 
11135
# ----------------------
 
11136
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
11137
# advantage of any shell optimizations that allow amortized linear growth over
 
11138
# repeated appends, instead of the typical quadratic growth present in naive
 
11139
# implementations.
 
11140
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
11141
  eval 'as_fn_append ()
 
11142
  {
 
11143
    eval $1+=\$2
 
11144
  }'
 
11145
else
 
11146
  as_fn_append ()
 
11147
  {
 
11148
    eval $1=\$$1\$2
 
11149
  }
 
11150
fi # as_fn_append
 
11151
 
 
11152
# as_fn_arith ARG...
 
11153
# ------------------
 
11154
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
11155
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
11156
# must be portable across $(()) and expr.
 
11157
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
11158
  eval 'as_fn_arith ()
 
11159
  {
 
11160
    as_val=$(( $* ))
 
11161
  }'
 
11162
else
 
11163
  as_fn_arith ()
 
11164
  {
 
11165
    as_val=`expr "$@" || test $? -eq 1`
 
11166
  }
 
11167
fi # as_fn_arith
 
11168
 
 
11169
 
11895
11170
if expr a : '\(a\)' >/dev/null 2>&1 &&
11896
11171
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11897
11172
  as_expr=expr
11905
11180
  as_basename=false
11906
11181
fi
11907
11182
 
 
11183
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
11184
  as_dirname=dirname
 
11185
else
 
11186
  as_dirname=false
 
11187
fi
11908
11188
 
11909
 
# Name of the executable.
11910
11189
as_me=`$as_basename -- "$0" ||
11911
11190
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11912
11191
         X"$0" : 'X\(//\)$' \| \
11926
11205
          }
11927
11206
          s/.*/./; q'`
11928
11207
 
11929
 
# CDPATH.
11930
 
$as_unset CDPATH
11931
 
 
11932
 
 
11933
 
 
11934
 
  as_lineno_1=$LINENO
11935
 
  as_lineno_2=$LINENO
11936
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
11937
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11938
 
 
11939
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11940
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
11941
 
  # line-number line after each line using $LINENO; the second 'sed'
11942
 
  # does the real work.  The second script uses 'N' to pair each
11943
 
  # line-number line with the line containing $LINENO, and appends
11944
 
  # trailing '-' during substitution so that $LINENO is not a special
11945
 
  # case at line end.
11946
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11947
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
11948
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
11949
 
  sed -n '
11950
 
    p
11951
 
    /[$]LINENO/=
11952
 
  ' <$as_myself |
11953
 
    sed '
11954
 
      s/[$]LINENO.*/&-/
11955
 
      t lineno
11956
 
      b
11957
 
      :lineno
11958
 
      N
11959
 
      :loop
11960
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11961
 
      t loop
11962
 
      s/-\n.*//
11963
 
    ' >$as_me.lineno &&
11964
 
  chmod +x "$as_me.lineno" ||
11965
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11966
 
   { (exit 1); exit 1; }; }
11967
 
 
11968
 
  # Don't try to exec as it changes $[0], causing all sort of problems
11969
 
  # (the dirname of $[0] is not the place where we might find the
11970
 
  # original and so on.  Autoconf is especially sensitive to this).
11971
 
  . "./$as_me.lineno"
11972
 
  # Exit status is that of the last command.
11973
 
  exit
11974
 
}
11975
 
 
11976
 
 
11977
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11978
 
  as_dirname=dirname
11979
 
else
11980
 
  as_dirname=false
11981
 
fi
 
11208
# Avoid depending upon Character Ranges.
 
11209
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
11210
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
11211
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
11212
as_cr_digits='0123456789'
 
11213
as_cr_alnum=$as_cr_Letters$as_cr_digits
11982
11214
 
11983
11215
ECHO_C= ECHO_N= ECHO_T=
11984
 
case `echo -n x` in
 
11216
case `echo -n x` in #(((((
11985
11217
-n*)
11986
 
  case `echo 'x\c'` in
 
11218
  case `echo 'xy\c'` in
11987
11219
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
11988
 
  *)   ECHO_C='\c';;
 
11220
  xy)  ECHO_C='\c';;
 
11221
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
11222
       ECHO_T=' ';;
11989
11223
  esac;;
11990
11224
*)
11991
11225
  ECHO_N='-n';;
11992
11226
esac
11993
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
11994
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11995
 
  as_expr=expr
11996
 
else
11997
 
  as_expr=false
11998
 
fi
11999
11227
 
12000
11228
rm -f conf$$ conf$$.exe conf$$.file
12001
11229
if test -d conf$$.dir; then
12024
11252
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12025
11253
rmdir conf$$.dir 2>/dev/null
12026
11254
 
 
11255
 
 
11256
# as_fn_mkdir_p
 
11257
# -------------
 
11258
# Create "$as_dir" as a directory, including parents if necessary.
 
11259
as_fn_mkdir_p ()
 
11260
{
 
11261
 
 
11262
  case $as_dir in #(
 
11263
  -*) as_dir=./$as_dir;;
 
11264
  esac
 
11265
  test -d "$as_dir" || eval $as_mkdir_p || {
 
11266
    as_dirs=
 
11267
    while :; do
 
11268
      case $as_dir in #(
 
11269
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
11270
      *) as_qdir=$as_dir;;
 
11271
      esac
 
11272
      as_dirs="'$as_qdir' $as_dirs"
 
11273
      as_dir=`$as_dirname -- "$as_dir" ||
 
11274
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
11275
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
11276
         X"$as_dir" : 'X\(//\)$' \| \
 
11277
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
11278
$as_echo X"$as_dir" |
 
11279
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
11280
            s//\1/
 
11281
            q
 
11282
          }
 
11283
          /^X\(\/\/\)[^/].*/{
 
11284
            s//\1/
 
11285
            q
 
11286
          }
 
11287
          /^X\(\/\/\)$/{
 
11288
            s//\1/
 
11289
            q
 
11290
          }
 
11291
          /^X\(\/\).*/{
 
11292
            s//\1/
 
11293
            q
 
11294
          }
 
11295
          s/.*/./; q'`
 
11296
      test -d "$as_dir" && break
 
11297
    done
 
11298
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
11299
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
11300
 
 
11301
 
 
11302
} # as_fn_mkdir_p
12027
11303
if mkdir -p . 2>/dev/null; then
12028
 
  as_mkdir_p=:
 
11304
  as_mkdir_p='mkdir -p "$as_dir"'
12029
11305
else
12030
11306
  test -d ./-p && rmdir ./-p
12031
11307
  as_mkdir_p=false
12044
11320
      if test -d "$1"; then
12045
11321
        test -d "$1/.";
12046
11322
      else
12047
 
        case $1 in
 
11323
        case $1 in #(
12048
11324
        -*)set "./$1";;
12049
11325
        esac;
12050
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
11326
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12051
11327
        ???[sx]*):;;*)false;;esac;fi
12052
11328
    '\'' sh
12053
11329
  '
12062
11338
 
12063
11339
 
12064
11340
exec 6>&1
 
11341
## ----------------------------------- ##
 
11342
## Main body of $CONFIG_STATUS script. ##
 
11343
## ----------------------------------- ##
 
11344
_ASEOF
 
11345
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12065
11346
 
12066
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
11347
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11348
# Save the log message, to keep $0 and so on meaningful, and to
12067
11349
# report actual input values of CONFIG_FILES etc. instead of their
12068
11350
# values after options handling.
12069
11351
ac_log="
12070
 
This file was extended by desktop-file-utils $as_me 0.16, which was
12071
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
11352
This file was extended by desktop-file-utils $as_me 0.17, which was
 
11353
generated by GNU Autoconf 2.65.  Invocation command line was
12072
11354
 
12073
11355
  CONFIG_FILES    = $CONFIG_FILES
12074
11356
  CONFIG_HEADERS  = $CONFIG_HEADERS
12100
11382
 
12101
11383
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12102
11384
ac_cs_usage="\
12103
 
\`$as_me' instantiates files from templates according to the
12104
 
current configuration.
 
11385
\`$as_me' instantiates files and other configuration actions
 
11386
from templates according to the current configuration.  Unless the files
 
11387
and actions are specified as TAGs, all are instantiated by default.
12105
11388
 
12106
 
Usage: $0 [OPTION]... [FILE]...
 
11389
Usage: $0 [OPTION]... [TAG]...
12107
11390
 
12108
11391
  -h, --help       print this help, then exit
12109
11392
  -V, --version    print version number and configuration settings, then exit
 
11393
      --config     print configuration, then exit
12110
11394
  -q, --quiet, --silent
12111
11395
                   do not print progress messages
12112
11396
  -d, --debug      don't remove temporary files
12125
11409
Configuration commands:
12126
11410
$config_commands
12127
11411
 
12128
 
Report bugs to <bug-autoconf@gnu.org>."
 
11412
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils>."
12129
11413
 
12130
11414
_ACEOF
12131
11415
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11416
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12132
11417
ac_cs_version="\\
12133
 
desktop-file-utils config.status 0.16
12134
 
configured by $0, generated by GNU Autoconf 2.63,
12135
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
11418
desktop-file-utils config.status 0.17
 
11419
configured by $0, generated by GNU Autoconf 2.65,
 
11420
  with options \\"\$ac_cs_config\\"
12136
11421
 
12137
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
11422
Copyright (C) 2009 Free Software Foundation, Inc.
12138
11423
This config.status script is free software; the Free Software Foundation
12139
11424
gives unlimited permission to copy, distribute and modify it."
12140
11425
 
12170
11455
    ac_cs_recheck=: ;;
12171
11456
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12172
11457
    $as_echo "$ac_cs_version"; exit ;;
 
11458
  --config | --confi | --conf | --con | --co | --c )
 
11459
    $as_echo "$ac_cs_config"; exit ;;
12173
11460
  --debug | --debu | --deb | --de | --d | -d )
12174
11461
    debug=: ;;
12175
11462
  --file | --fil | --fi | --f )
12177
11464
    case $ac_optarg in
12178
11465
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12179
11466
    esac
12180
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
11467
    as_fn_append CONFIG_FILES " '$ac_optarg'"
12181
11468
    ac_need_defaults=false;;
12182
11469
  --header | --heade | --head | --hea )
12183
11470
    $ac_shift
12184
11471
    case $ac_optarg in
12185
11472
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12186
11473
    esac
12187
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
11474
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12188
11475
    ac_need_defaults=false;;
12189
11476
  --he | --h)
12190
11477
    # Conflict between --help and --header
12191
 
    { $as_echo "$as_me: error: ambiguous option: $1
12192
 
Try \`$0 --help' for more information." >&2
12193
 
   { (exit 1); exit 1; }; };;
 
11478
    as_fn_error "ambiguous option: \`$1'
 
11479
Try \`$0 --help' for more information.";;
12194
11480
  --help | --hel | -h )
12195
11481
    $as_echo "$ac_cs_usage"; exit ;;
12196
11482
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12198
11484
    ac_cs_silent=: ;;
12199
11485
 
12200
11486
  # This is an error.
12201
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
12202
 
Try \`$0 --help' for more information." >&2
12203
 
   { (exit 1); exit 1; }; } ;;
 
11487
  -*) as_fn_error "unrecognized option: \`$1'
 
11488
Try \`$0 --help' for more information." ;;
12204
11489
 
12205
 
  *) ac_config_targets="$ac_config_targets $1"
 
11490
  *) as_fn_append ac_config_targets " $1"
12206
11491
     ac_need_defaults=false ;;
12207
11492
 
12208
11493
  esac
12512
11797
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12513
11798
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12514
11799
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
11800
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
 
11801
    "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
12515
11802
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12516
 
    "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
12517
11803
 
12518
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12519
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12520
 
   { (exit 1); exit 1; }; };;
 
11804
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12521
11805
  esac
12522
11806
done
12523
11807
 
12544
11828
  trap 'exit_status=$?
12545
11829
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12546
11830
' 0
12547
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
11831
  trap 'as_fn_exit 1' 1 2 13 15
12548
11832
}
12549
11833
# Create a (secure) tmp directory for tmp files.
12550
11834
 
12555
11839
{
12556
11840
  tmp=./conf$$-$RANDOM
12557
11841
  (umask 077 && mkdir "$tmp")
12558
 
} ||
12559
 
{
12560
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
12561
 
   { (exit 1); exit 1; }
12562
 
}
 
11842
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
12563
11843
 
12564
11844
# Set up the scripts for CONFIG_FILES section.
12565
11845
# No need to generate them if there are no CONFIG_FILES.
12567
11847
if test -n "$CONFIG_FILES"; then
12568
11848
 
12569
11849
 
12570
 
ac_cr='
 
 
b"'"
 
11850
ac_cr=`echo X | tr X '\015'`
 
11851
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
11852
# But we know of no other shell where ac_cr would be empty at this
 
11853
# point, so we can use a bashism as a fallback.
 
11854
if test "x$ac_cr" = x; then
 
11855
  eval ac_cr=\$\'\\r\'
 
11856
fi
12571
11857
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12572
11858
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12573
 
  ac_cs_awk_cr='\\r'
 
11859
  ac_cs_awk_cr='\r'
12574
11860
else
12575
11861
  ac_cs_awk_cr=$ac_cr
12576
11862
fi
12584
11870
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12585
11871
  echo "_ACEOF"
12586
11872
} >conf$$subs.sh ||
12587
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12588
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12589
 
   { (exit 1); exit 1; }; }
 
11873
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12590
11874
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12591
11875
ac_delim='%!_!# '
12592
11876
for ac_last_try in false false false false false :; do
12593
11877
  . ./conf$$subs.sh ||
12594
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12595
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12596
 
   { (exit 1); exit 1; }; }
 
11878
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12597
11879
 
12598
11880
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12599
11881
  if test $ac_delim_n = $ac_delim_num; then
12600
11882
    break
12601
11883
  elif $ac_last_try; then
12602
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12603
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12604
 
   { (exit 1); exit 1; }; }
 
11884
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12605
11885
  else
12606
11886
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12607
11887
  fi
12623
11903
t delim
12624
11904
:nl
12625
11905
h
12626
 
s/\(.\{148\}\).*/\1/
 
11906
s/\(.\{148\}\)..*/\1/
12627
11907
t more1
12628
11908
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12629
11909
p
12637
11917
t nl
12638
11918
:delim
12639
11919
h
12640
 
s/\(.\{148\}\).*/\1/
 
11920
s/\(.\{148\}\)..*/\1/
12641
11921
t more2
12642
11922
s/["\\]/\\&/g; s/^/"/; s/$/"/
12643
11923
p
12690
11970
else
12691
11971
  cat
12692
11972
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12693
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
12694
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
12695
 
   { (exit 1); exit 1; }; }
 
11973
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
12696
11974
_ACEOF
12697
11975
 
12698
11976
# VPATH may cause trouble with some makes, so we remove $(srcdir),
12733
12011
  if test -z "$ac_t"; then
12734
12012
    break
12735
12013
  elif $ac_last_try; then
12736
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
12737
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
12738
 
   { (exit 1); exit 1; }; }
 
12014
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
12739
12015
  else
12740
12016
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12741
12017
  fi
12820
12096
_ACAWK
12821
12097
_ACEOF
12822
12098
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12823
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
12824
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
12825
 
   { (exit 1); exit 1; }; }
 
12099
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
12826
12100
fi # test -n "$CONFIG_HEADERS"
12827
12101
 
12828
12102
 
12835
12109
  esac
12836
12110
  case $ac_mode$ac_tag in
12837
12111
  :[FHL]*:*);;
12838
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
12839
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
12840
 
   { (exit 1); exit 1; }; };;
 
12112
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
12841
12113
  :[FH]-) ac_tag=-:-;;
12842
12114
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12843
12115
  esac
12865
12137
           [\\/$]*) false;;
12866
12138
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12867
12139
           esac ||
12868
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12869
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12870
 
   { (exit 1); exit 1; }; };;
 
12140
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12871
12141
      esac
12872
12142
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12873
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
12143
      as_fn_append ac_file_inputs " '$ac_f'"
12874
12144
    done
12875
12145
 
12876
12146
    # Let's still pretend it is `configure' which instantiates (i.e., don't
12881
12151
        `' by configure.'
12882
12152
    if test x"$ac_file" != x-; then
12883
12153
      configure_input="$ac_file.  $configure_input"
12884
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
12154
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12885
12155
$as_echo "$as_me: creating $ac_file" >&6;}
12886
12156
    fi
12887
12157
    # Neutralize special characters interpreted by sed in replacement strings.
12894
12164
 
12895
12165
    case $ac_tag in
12896
12166
    *:-:* | *:-) cat >"$tmp/stdin" \
12897
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12898
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12899
 
   { (exit 1); exit 1; }; } ;;
 
12167
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
12900
12168
    esac
12901
12169
    ;;
12902
12170
  esac
12924
12192
            q
12925
12193
          }
12926
12194
          s/.*/./; q'`
12927
 
  { as_dir="$ac_dir"
12928
 
  case $as_dir in #(
12929
 
  -*) as_dir=./$as_dir;;
12930
 
  esac
12931
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12932
 
    as_dirs=
12933
 
    while :; do
12934
 
      case $as_dir in #(
12935
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12936
 
      *) as_qdir=$as_dir;;
12937
 
      esac
12938
 
      as_dirs="'$as_qdir' $as_dirs"
12939
 
      as_dir=`$as_dirname -- "$as_dir" ||
12940
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12941
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12942
 
         X"$as_dir" : 'X\(//\)$' \| \
12943
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12944
 
$as_echo X"$as_dir" |
12945
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12946
 
            s//\1/
12947
 
            q
12948
 
          }
12949
 
          /^X\(\/\/\)[^/].*/{
12950
 
            s//\1/
12951
 
            q
12952
 
          }
12953
 
          /^X\(\/\/\)$/{
12954
 
            s//\1/
12955
 
            q
12956
 
          }
12957
 
          /^X\(\/\).*/{
12958
 
            s//\1/
12959
 
            q
12960
 
          }
12961
 
          s/.*/./; q'`
12962
 
      test -d "$as_dir" && break
12963
 
    done
12964
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12965
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12966
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12967
 
   { (exit 1); exit 1; }; }; }
 
12195
  as_dir="$ac_dir"; as_fn_mkdir_p
12968
12196
  ac_builddir=.
12969
12197
 
12970
12198
case "$ac_dir" in
13021
12249
# If the template does not know about datarootdir, expand it.
13022
12250
# FIXME: This hack should be removed a few years after 2.60.
13023
12251
ac_datarootdir_hack=; ac_datarootdir_seen=
13024
 
 
13025
12252
ac_sed_dataroot='
13026
12253
/datarootdir/ {
13027
12254
  p
13031
12258
/@docdir@/p
13032
12259
/@infodir@/p
13033
12260
/@localedir@/p
13034
 
/@mandir@/p
13035
 
'
 
12261
/@mandir@/p'
13036
12262
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13037
12263
*datarootdir*) ac_datarootdir_seen=yes;;
13038
12264
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13039
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
12265
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13040
12266
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13041
12267
_ACEOF
13042
12268
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13046
12272
  s&@infodir@&$infodir&g
13047
12273
  s&@localedir@&$localedir&g
13048
12274
  s&@mandir@&$mandir&g
13049
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
12275
  s&\\\${datarootdir}&$datarootdir&g' ;;
13050
12276
esac
13051
12277
_ACEOF
13052
12278
 
13075
12301
$ac_datarootdir_hack
13076
12302
"
13077
12303
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13078
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13079
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13080
 
   { (exit 1); exit 1; }; }
 
12304
  || as_fn_error "could not create $ac_file" "$LINENO" 5
13081
12305
 
13082
12306
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13083
12307
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13084
12308
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13085
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
12309
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13086
12310
which seems to be undefined.  Please make sure it is defined." >&5
13087
12311
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13088
12312
which seems to be undefined.  Please make sure it is defined." >&2;}
13092
12316
  -) cat "$tmp/out" && rm -f "$tmp/out";;
13093
12317
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13094
12318
  esac \
13095
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13096
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13097
 
   { (exit 1); exit 1; }; }
 
12319
  || as_fn_error "could not create $ac_file" "$LINENO" 5
13098
12320
 ;;
13099
12321
  :H)
13100
12322
  #
13105
12327
      $as_echo "/* $configure_input  */" \
13106
12328
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13107
12329
    } >"$tmp/config.h" \
13108
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13109
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13110
 
   { (exit 1); exit 1; }; }
 
12330
      || as_fn_error "could not create $ac_file" "$LINENO" 5
13111
12331
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13112
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
12332
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13113
12333
$as_echo "$as_me: $ac_file is unchanged" >&6;}
13114
12334
    else
13115
12335
      rm -f "$ac_file"
13116
12336
      mv "$tmp/config.h" "$ac_file" \
13117
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13118
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13119
 
   { (exit 1); exit 1; }; }
 
12337
        || as_fn_error "could not create $ac_file" "$LINENO" 5
13120
12338
    fi
13121
12339
  else
13122
12340
    $as_echo "/* $configure_input  */" \
13123
12341
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13124
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
13125
 
$as_echo "$as_me: error: could not create -" >&2;}
13126
 
   { (exit 1); exit 1; }; }
 
12342
      || as_fn_error "could not create -" "$LINENO" 5
13127
12343
  fi
13128
12344
# Compute "$ac_file"'s index in $config_headers.
13129
12345
_am_arg="$ac_file"
13161
12377
          s/.*/./; q'`/stamp-h$_am_stamp_count
13162
12378
 ;;
13163
12379
 
13164
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
12380
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13165
12381
$as_echo "$as_me: executing $ac_file commands" >&6;}
13166
12382
 ;;
13167
12383
  esac
13256
12472
            q
13257
12473
          }
13258
12474
          s/.*/./; q'`
13259
 
      { as_dir=$dirpart/$fdir
13260
 
  case $as_dir in #(
13261
 
  -*) as_dir=./$as_dir;;
13262
 
  esac
13263
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13264
 
    as_dirs=
13265
 
    while :; do
13266
 
      case $as_dir in #(
13267
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13268
 
      *) as_qdir=$as_dir;;
13269
 
      esac
13270
 
      as_dirs="'$as_qdir' $as_dirs"
13271
 
      as_dir=`$as_dirname -- "$as_dir" ||
13272
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13273
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
13274
 
         X"$as_dir" : 'X\(//\)$' \| \
13275
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13276
 
$as_echo X"$as_dir" |
13277
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13278
 
            s//\1/
13279
 
            q
13280
 
          }
13281
 
          /^X\(\/\/\)[^/].*/{
13282
 
            s//\1/
13283
 
            q
13284
 
          }
13285
 
          /^X\(\/\/\)$/{
13286
 
            s//\1/
13287
 
            q
13288
 
          }
13289
 
          /^X\(\/\).*/{
13290
 
            s//\1/
13291
 
            q
13292
 
          }
13293
 
          s/.*/./; q'`
13294
 
      test -d "$as_dir" && break
13295
 
    done
13296
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13297
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13298
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13299
 
   { (exit 1); exit 1; }; }; }
 
12475
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
13300
12476
      # echo "creating $dirpart/$file"
13301
12477
      echo '# dummy' > "$dirpart/$file"
13302
12478
    done
13320
12496
 
13321
12497
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13322
12498
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13323
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13324
12499
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13325
12500
#
13326
12501
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13943
13118
done # for ac_tag
13944
13119
 
13945
13120
 
13946
 
{ (exit 0); exit 0; }
 
13121
as_fn_exit 0
13947
13122
_ACEOF
13948
 
chmod +x $CONFIG_STATUS
13949
13123
ac_clean_files=$ac_clean_files_save
13950
13124
 
13951
13125
test $ac_write_fail = 0 ||
13952
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
13953
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
13954
 
   { (exit 1); exit 1; }; }
 
13126
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
13955
13127
 
13956
13128
 
13957
13129
# configure is writing to config.log, and then calls config.status.
13972
13144
  exec 5>>config.log
13973
13145
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13974
13146
  # would make configure fail if this is the last instruction.
13975
 
  $ac_cs_success || { (exit 1); exit 1; }
 
13147
  $ac_cs_success || as_fn_exit $?
13976
13148
fi
13977
13149
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13978
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
13150
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13979
13151
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13980
13152
fi
13981
13153