~ubuntu-branches/ubuntu/oneiric/pcmanfm/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2009-11-04 23:28:33 UTC
  • mfrom: (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20091104232833-40v4mt2qt6ewrdpx
Tags: 0.5.2+svn20091029-1ubuntu1
* Sync with Debian unstable.
* debian/patches/10_detect_lubuntu.dpatch: Detect Lubuntu session and
  apply specific settings.
* debian/rules: Re-enable dpatch support.
* debian/control: Re-add dpatch to Build-depends.

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 pcmanfm 0.5.1.
 
3
# Generated by GNU Autoconf 2.64 for pcmanfm 0.5.2.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
7
# Foundation, Inc.
 
8
#
7
9
# This configure script is free software; the Free Software Foundation
8
10
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
11
## -------------------- ##
 
12
## M4sh Initialization. ##
 
13
## -------------------- ##
12
14
 
13
15
# Be more Bourne compatible
14
16
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
18
  emulate sh
17
19
  NULLCMD=:
18
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
22
  alias -g '${1+"$@"}'='"$@"'
21
23
  setopt NO_GLOB_SUBST
22
24
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
25
  case `(set -o) 2>/dev/null` in #(
 
26
  *posix*) :
 
27
    set -o posix ;; #(
 
28
  *) :
 
29
     ;;
25
30
esac
26
 
 
27
31
fi
28
32
 
29
33
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
34
as_nl='
41
35
'
42
36
export as_nl
44
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
42
# but without wasting forks for bash or zsh.
 
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
  as_echo='print -r --'
 
46
  as_echo_n='print -rn --'
 
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
48
  as_echo='printf %s\n'
49
49
  as_echo_n='printf %s'
50
50
else
55
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
56
    as_echo_n_body='eval
57
57
      arg=$1;
58
 
      case $arg in
 
58
      case $arg in #(
59
59
      *"$as_nl"*)
60
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78
78
  }
79
79
fi
80
80
 
81
 
# Support unset when possible.
82
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
 
  as_unset=unset
84
 
else
85
 
  as_unset=false
86
 
fi
87
 
 
88
81
 
89
82
# IFS
90
83
# We need space, tab and new line, in precisely that order.  Quoting is
94
87
IFS=" ""        $as_nl"
95
88
 
96
89
# Find who we are.  Look in the path if we contain no directory separator.
97
 
case $0 in
 
90
case $0 in #((
98
91
  *[\\/]* ) as_myself=$0 ;;
99
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
93
for as_dir in $PATH
101
94
do
102
95
  IFS=$as_save_IFS
103
96
  test -z "$as_dir" && as_dir=.
104
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
 
done
 
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
98
  done
106
99
IFS=$as_save_IFS
107
100
 
108
101
     ;;
114
107
fi
115
108
if test ! -f "$as_myself"; then
116
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
 
  { (exit 1); exit 1; }
 
110
  exit 1
118
111
fi
119
112
 
120
 
# Work around bugs in pre-3.0 UWIN ksh.
121
 
for as_var in ENV MAIL MAILPATH
122
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
 
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
115
# suppresses any "Segmentation fault" message there.  '((' could
 
116
# trigger a bug in pdksh 5.2.14.
 
117
for as_var in BASH_ENV ENV MAIL MAILPATH
 
118
do eval test x\${$as_var+set} = xset \
 
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
120
done
124
121
PS1='$ '
125
122
PS2='> '
131
128
LANGUAGE=C
132
129
export LANGUAGE
133
130
 
134
 
# Required to use basename.
135
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137
 
  as_expr=expr
138
 
else
139
 
  as_expr=false
140
 
fi
141
 
 
142
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143
 
  as_basename=basename
144
 
else
145
 
  as_basename=false
146
 
fi
147
 
 
148
 
 
149
 
# Name of the executable.
150
 
as_me=`$as_basename -- "$0" ||
151
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
 
         X"$0" : 'X\(//\)$' \| \
153
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154
 
$as_echo X/"$0" |
155
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
156
 
            s//\1/
157
 
            q
158
 
          }
159
 
          /^X\/\(\/\/\)$/{
160
 
            s//\1/
161
 
            q
162
 
          }
163
 
          /^X\/\(\/\).*/{
164
 
            s//\1/
165
 
            q
166
 
          }
167
 
          s/.*/./; q'`
168
 
 
169
131
# CDPATH.
170
 
$as_unset CDPATH
171
 
 
 
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
172
133
 
173
134
if test "x$CONFIG_SHELL" = x; then
174
 
  if (eval ":") 2>/dev/null; then
 
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
136
  emulate sh
 
137
  NULLCMD=:
 
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
139
  # is contrary to our usage.  Disable this feature.
 
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
141
  setopt NO_GLOB_SUBST
 
142
else
 
143
  case \`(set -o) 2>/dev/null\` in #(
 
144
  *posix*) :
 
145
    set -o posix ;; #(
 
146
  *) :
 
147
     ;;
 
148
esac
 
149
fi
 
150
"
 
151
  as_required="as_fn_return () { (exit \$1); }
 
152
as_fn_success () { as_fn_return 0; }
 
153
as_fn_failure () { as_fn_return 1; }
 
154
as_fn_ret_success () { return 0; }
 
155
as_fn_ret_failure () { return 1; }
 
156
 
 
157
exitcode=0
 
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
163
 
 
164
else
 
165
  exitcode=1; echo positional parameters were not saved.
 
166
fi
 
167
test x\$exitcode = x0 || exit 1"
 
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
172
test \$(( 1 + 1 )) = 2 || exit 1"
 
173
  if (eval "$as_required") 2>/dev/null; then :
175
174
  as_have_required=yes
176
175
else
177
176
  as_have_required=no
178
177
fi
179
 
 
180
 
  if test $as_have_required = yes &&     (eval ":
181
 
(as_func_return () {
182
 
  (exit \$1)
183
 
}
184
 
as_func_success () {
185
 
  as_func_return 0
186
 
}
187
 
as_func_failure () {
188
 
  as_func_return 1
189
 
}
190
 
as_func_ret_success () {
191
 
  return 0
192
 
}
193
 
as_func_ret_failure () {
194
 
  return 1
195
 
}
196
 
 
197
 
exitcode=0
198
 
if as_func_success; then
199
 
  :
200
 
else
201
 
  exitcode=1
202
 
  echo as_func_success failed.
203
 
fi
204
 
 
205
 
if as_func_failure; then
206
 
  exitcode=1
207
 
  echo as_func_failure succeeded.
208
 
fi
209
 
 
210
 
if as_func_ret_success; then
211
 
  :
212
 
else
213
 
  exitcode=1
214
 
  echo as_func_ret_success failed.
215
 
fi
216
 
 
217
 
if as_func_ret_failure; then
218
 
  exitcode=1
219
 
  echo as_func_ret_failure succeeded.
220
 
fi
221
 
 
222
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223
 
  :
224
 
else
225
 
  exitcode=1
226
 
  echo positional parameters were not saved.
227
 
fi
228
 
 
229
 
test \$exitcode = 0) || { (exit 1); exit 1; }
230
 
 
231
 
(
232
 
  as_lineno_1=\$LINENO
233
 
  as_lineno_2=\$LINENO
234
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
 
") 2> /dev/null; then
237
 
  :
238
 
else
239
 
  as_candidate_shells=
240
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
178
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
179
 
 
180
else
 
181
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
as_found=false
241
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242
184
do
243
185
  IFS=$as_save_IFS
244
186
  test -z "$as_dir" && as_dir=.
245
 
  case $as_dir in
 
187
  as_found=:
 
188
  case $as_dir in #(
246
189
         /*)
247
190
           for as_base in sh bash ksh sh5; do
248
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
191
             # Try only shells that exist, to save several forks.
 
192
             as_shell=$as_dir/$as_base
 
193
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
194
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
195
  CONFIG_SHELL=$as_shell as_have_required=yes
 
196
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  break 2
 
198
fi
 
199
fi
249
200
           done;;
250
201
       esac
 
202
  as_found=false
251
203
done
 
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
205
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
206
  CONFIG_SHELL=$SHELL as_have_required=yes
 
207
fi; }
252
208
IFS=$as_save_IFS
253
209
 
254
210
 
255
 
      for as_shell in $as_candidate_shells $SHELL; do
256
 
         # Try only shells that exist, to save several forks.
257
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
259
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
 
  emulate sh
261
 
  NULLCMD=:
262
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
 
  # is contrary to our usage.  Disable this feature.
264
 
  alias -g '${1+"$@"}'='"$@"'
265
 
  setopt NO_GLOB_SUBST
266
 
else
267
 
  case `(set -o) 2>/dev/null` in
268
 
  *posix*) set -o posix ;;
269
 
esac
270
 
 
271
 
fi
272
 
 
273
 
 
274
 
:
275
 
_ASEOF
276
 
}; then
277
 
  CONFIG_SHELL=$as_shell
278
 
               as_have_required=yes
279
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
280
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281
 
  emulate sh
282
 
  NULLCMD=:
283
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
 
  # is contrary to our usage.  Disable this feature.
285
 
  alias -g '${1+"$@"}'='"$@"'
286
 
  setopt NO_GLOB_SUBST
287
 
else
288
 
  case `(set -o) 2>/dev/null` in
289
 
  *posix*) set -o posix ;;
290
 
esac
291
 
 
292
 
fi
293
 
 
294
 
 
295
 
:
296
 
(as_func_return () {
297
 
  (exit $1)
298
 
}
299
 
as_func_success () {
300
 
  as_func_return 0
301
 
}
302
 
as_func_failure () {
303
 
  as_func_return 1
304
 
}
305
 
as_func_ret_success () {
306
 
  return 0
307
 
}
308
 
as_func_ret_failure () {
309
 
  return 1
310
 
}
311
 
 
312
 
exitcode=0
313
 
if as_func_success; then
314
 
  :
315
 
else
316
 
  exitcode=1
317
 
  echo as_func_success failed.
318
 
fi
319
 
 
320
 
if as_func_failure; then
321
 
  exitcode=1
322
 
  echo as_func_failure succeeded.
323
 
fi
324
 
 
325
 
if as_func_ret_success; then
326
 
  :
327
 
else
328
 
  exitcode=1
329
 
  echo as_func_ret_success failed.
330
 
fi
331
 
 
332
 
if as_func_ret_failure; then
333
 
  exitcode=1
334
 
  echo as_func_ret_failure succeeded.
335
 
fi
336
 
 
337
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
338
 
  :
339
 
else
340
 
  exitcode=1
341
 
  echo positional parameters were not saved.
342
 
fi
343
 
 
344
 
test $exitcode = 0) || { (exit 1); exit 1; }
345
 
 
346
 
(
347
 
  as_lineno_1=$LINENO
348
 
  as_lineno_2=$LINENO
349
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
350
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
 
 
352
 
_ASEOF
353
 
}; then
354
 
  break
355
 
fi
356
 
 
357
 
fi
358
 
 
359
 
      done
360
 
 
361
 
      if test "x$CONFIG_SHELL" != x; then
362
 
  for as_var in BASH_ENV ENV
363
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364
 
        done
 
211
      if test "x$CONFIG_SHELL" != x; then :
 
212
  # We cannot yet assume a decent shell, so we have to provide a
 
213
        # neutralization value for shells without unset; and this also
 
214
        # works around shells that cannot unset nonexistent variables.
 
215
        BASH_ENV=/dev/null
 
216
        ENV=/dev/null
 
217
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
218
        export CONFIG_SHELL
366
219
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367
220
fi
368
221
 
369
 
 
370
 
    if test $as_have_required = no; then
371
 
  echo This script requires a shell more modern than all the
372
 
      echo shells that I found on your system.  Please install a
373
 
      echo modern shell, or manually run the script under such a
374
 
      echo shell if you do have one.
375
 
      { (exit 1); exit 1; }
376
 
fi
377
 
 
378
 
 
379
 
fi
380
 
 
381
 
fi
382
 
 
383
 
 
384
 
 
385
 
(eval "as_func_return () {
386
 
  (exit \$1)
387
 
}
388
 
as_func_success () {
389
 
  as_func_return 0
390
 
}
391
 
as_func_failure () {
392
 
  as_func_return 1
393
 
}
394
 
as_func_ret_success () {
395
 
  return 0
396
 
}
397
 
as_func_ret_failure () {
398
 
  return 1
399
 
}
400
 
 
401
 
exitcode=0
402
 
if as_func_success; then
403
 
  :
404
 
else
405
 
  exitcode=1
406
 
  echo as_func_success failed.
407
 
fi
408
 
 
409
 
if as_func_failure; then
410
 
  exitcode=1
411
 
  echo as_func_failure succeeded.
412
 
fi
413
 
 
414
 
if as_func_ret_success; then
415
 
  :
416
 
else
417
 
  exitcode=1
418
 
  echo as_func_ret_success failed.
419
 
fi
420
 
 
421
 
if as_func_ret_failure; then
422
 
  exitcode=1
423
 
  echo as_func_ret_failure succeeded.
424
 
fi
425
 
 
426
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427
 
  :
428
 
else
429
 
  exitcode=1
430
 
  echo positional parameters were not saved.
431
 
fi
432
 
 
433
 
test \$exitcode = 0") || {
434
 
  echo No shell found that supports shell functions.
435
 
  echo Please tell bug-autoconf@gnu.org about your system,
436
 
  echo including any error possibly output before this message.
437
 
  echo This can help us improve future autoconf versions.
438
 
  echo Configuration will now proceed without shell functions.
439
 
}
440
 
 
441
 
 
442
 
 
443
 
  as_lineno_1=$LINENO
444
 
  as_lineno_2=$LINENO
445
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
446
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
 
 
448
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
450
 
  # line-number line after each line using $LINENO; the second 'sed'
451
 
  # does the real work.  The second script uses 'N' to pair each
452
 
  # line-number line with the line containing $LINENO, and appends
453
 
  # trailing '-' during substitution so that $LINENO is not a special
454
 
  # case at line end.
455
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
222
    if test x$as_have_required = xno; then :
 
223
  $as_echo "$0: This script requires a shell more modern than all"
 
224
  $as_echo "$0: the shells that I found on your system."
 
225
  if test x${ZSH_VERSION+set} = xset ; then
 
226
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
227
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
228
  else
 
229
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
230
$0: including any error possibly output before this
 
231
$0: message. Then install a modern shell, or manually run
 
232
$0: the script under such a shell if you do have one."
 
233
  fi
 
234
  exit 1
 
235
fi
 
236
fi
 
237
fi
 
238
SHELL=${CONFIG_SHELL-/bin/sh}
 
239
export SHELL
 
240
# Unset more variables known to interfere with behavior of common tools.
 
241
CLICOLOR_FORCE= GREP_OPTIONS=
 
242
unset CLICOLOR_FORCE GREP_OPTIONS
 
243
 
 
244
## --------------------- ##
 
245
## M4sh Shell Functions. ##
 
246
## --------------------- ##
 
247
# as_fn_unset VAR
 
248
# ---------------
 
249
# Portably unset VAR.
 
250
as_fn_unset ()
 
251
{
 
252
  { eval $1=; unset $1;}
 
253
}
 
254
as_unset=as_fn_unset
 
255
 
 
256
# as_fn_set_status STATUS
 
257
# -----------------------
 
258
# Set $? to STATUS, without forking.
 
259
as_fn_set_status ()
 
260
{
 
261
  return $1
 
262
} # as_fn_set_status
 
263
 
 
264
# as_fn_exit STATUS
 
265
# -----------------
 
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
267
as_fn_exit ()
 
268
{
 
269
  set +e
 
270
  as_fn_set_status $1
 
271
  exit $1
 
272
} # as_fn_exit
 
273
 
 
274
# as_fn_mkdir_p
 
275
# -------------
 
276
# Create "$as_dir" as a directory, including parents if necessary.
 
277
as_fn_mkdir_p ()
 
278
{
 
279
 
 
280
  case $as_dir in #(
 
281
  -*) as_dir=./$as_dir;;
 
282
  esac
 
283
  test -d "$as_dir" || eval $as_mkdir_p || {
 
284
    as_dirs=
 
285
    while :; do
 
286
      case $as_dir in #(
 
287
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
288
      *) as_qdir=$as_dir;;
 
289
      esac
 
290
      as_dirs="'$as_qdir' $as_dirs"
 
291
      as_dir=`$as_dirname -- "$as_dir" ||
 
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
293
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
294
         X"$as_dir" : 'X\(//\)$' \| \
 
295
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
296
$as_echo X"$as_dir" |
 
297
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
298
            s//\1/
 
299
            q
 
300
          }
 
301
          /^X\(\/\/\)[^/].*/{
 
302
            s//\1/
 
303
            q
 
304
          }
 
305
          /^X\(\/\/\)$/{
 
306
            s//\1/
 
307
            q
 
308
          }
 
309
          /^X\(\/\).*/{
 
310
            s//\1/
 
311
            q
 
312
          }
 
313
          s/.*/./; q'`
 
314
      test -d "$as_dir" && break
 
315
    done
 
316
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
317
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
318
 
 
319
 
 
320
} # as_fn_mkdir_p
 
321
# as_fn_append VAR VALUE
 
322
# ----------------------
 
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
324
# advantage of any shell optimizations that allow amortized linear growth over
 
325
# repeated appends, instead of the typical quadratic growth present in naive
 
326
# implementations.
 
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
328
  eval 'as_fn_append ()
 
329
  {
 
330
    eval $1+=\$2
 
331
  }'
 
332
else
 
333
  as_fn_append ()
 
334
  {
 
335
    eval $1=\$$1\$2
 
336
  }
 
337
fi # as_fn_append
 
338
 
 
339
# as_fn_arith ARG...
 
340
# ------------------
 
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
343
# must be portable across $(()) and expr.
 
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
345
  eval 'as_fn_arith ()
 
346
  {
 
347
    as_val=$(( $* ))
 
348
  }'
 
349
else
 
350
  as_fn_arith ()
 
351
  {
 
352
    as_val=`expr "$@" || test $? -eq 1`
 
353
  }
 
354
fi # as_fn_arith
 
355
 
 
356
 
 
357
# as_fn_error ERROR [LINENO LOG_FD]
 
358
# ---------------------------------
 
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
361
# script with status $?, using 1 if that was 0.
 
362
as_fn_error ()
 
363
{
 
364
  as_status=$?; test $as_status -eq 0 && as_status=1
 
365
  if test "$3"; then
 
366
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
367
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
368
  fi
 
369
  $as_echo "$as_me: error: $1" >&2
 
370
  as_fn_exit $as_status
 
371
} # as_fn_error
 
372
 
 
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
374
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
375
  as_expr=expr
 
376
else
 
377
  as_expr=false
 
378
fi
 
379
 
 
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
381
  as_basename=basename
 
382
else
 
383
  as_basename=false
 
384
fi
 
385
 
 
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
387
  as_dirname=dirname
 
388
else
 
389
  as_dirname=false
 
390
fi
 
391
 
 
392
as_me=`$as_basename -- "$0" ||
 
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
394
         X"$0" : 'X\(//\)$' \| \
 
395
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
396
$as_echo X/"$0" |
 
397
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
398
            s//\1/
 
399
            q
 
400
          }
 
401
          /^X\/\(\/\/\)$/{
 
402
            s//\1/
 
403
            q
 
404
          }
 
405
          /^X\/\(\/\).*/{
 
406
            s//\1/
 
407
            q
 
408
          }
 
409
          s/.*/./; q'`
 
410
 
 
411
# Avoid depending upon Character Ranges.
 
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
414
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
415
as_cr_digits='0123456789'
 
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
417
 
 
418
 
 
419
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
420
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
421
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
422
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
423
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
458
424
  sed -n '
459
425
    p
460
426
    /[$]LINENO/=
471
437
      s/-\n.*//
472
438
    ' >$as_me.lineno &&
473
439
  chmod +x "$as_me.lineno" ||
474
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
 
   { (exit 1); exit 1; }; }
 
440
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
476
441
 
477
442
  # Don't try to exec as it changes $[0], causing all sort of problems
478
443
  # (the dirname of $[0] is not the place where we might find the
482
447
  exit
483
448
}
484
449
 
485
 
 
486
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487
 
  as_dirname=dirname
488
 
else
489
 
  as_dirname=false
490
 
fi
491
 
 
492
450
ECHO_C= ECHO_N= ECHO_T=
493
 
case `echo -n x` in
 
451
case `echo -n x` in #(((((
494
452
-n*)
495
 
  case `echo 'x\c'` in
 
453
  case `echo 'xy\c'` in
496
454
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497
 
  *)   ECHO_C='\c';;
 
455
  xy)  ECHO_C='\c';;
 
456
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
457
       ECHO_T=' ';;
498
458
  esac;;
499
459
*)
500
460
  ECHO_N='-n';;
501
461
esac
502
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504
 
  as_expr=expr
505
 
else
506
 
  as_expr=false
507
 
fi
508
462
 
509
463
rm -f conf$$ conf$$.exe conf$$.file
510
464
if test -d conf$$.dir; then
534
488
rmdir conf$$.dir 2>/dev/null
535
489
 
536
490
if mkdir -p . 2>/dev/null; then
537
 
  as_mkdir_p=:
 
491
  as_mkdir_p='mkdir -p "$as_dir"'
538
492
else
539
493
  test -d ./-p && rmdir ./-p
540
494
  as_mkdir_p=false
553
507
      if test -d "$1"; then
554
508
        test -d "$1/.";
555
509
      else
556
 
        case $1 in
 
510
        case $1 in #(
557
511
        -*)set "./$1";;
558
512
        esac;
559
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
513
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560
514
        ???[sx]*):;;*)false;;esac;fi
561
515
    '\'' sh
562
516
  '
571
525
 
572
526
 
573
527
 
574
 
 
575
528
# Check that we are running under the correct shell.
576
529
SHELL=${CONFIG_SHELL-/bin/sh}
577
530
 
738
691
subdirs=
739
692
MFLAGS=
740
693
MAKEFLAGS=
741
 
SHELL=${CONFIG_SHELL-/bin/sh}
742
694
 
743
695
# Identity of this package.
744
696
PACKAGE_NAME='pcmanfm'
745
697
PACKAGE_TARNAME='pcmanfm'
746
 
PACKAGE_VERSION='0.5.1'
747
 
PACKAGE_STRING='pcmanfm 0.5.1'
 
698
PACKAGE_VERSION='0.5.2'
 
699
PACKAGE_STRING='pcmanfm 0.5.2'
748
700
PACKAGE_BUGREPORT=''
 
701
PACKAGE_URL=''
749
702
 
750
703
ac_unique_file="src/main.c"
751
704
# Factoring default headers for most tests.
784
737
# include <unistd.h>
785
738
#endif"
786
739
 
787
 
ac_subst_vars='LTLIBOBJS
 
740
ac_subst_vars='am__EXEEXT_FALSE
 
741
am__EXEEXT_TRUE
 
742
LTLIBOBJS
788
743
LIBOBJS
789
744
MKINSTALLDIRS
790
745
POSUB
943
898
program_transform_name
944
899
prefix
945
900
exec_prefix
 
901
PACKAGE_URL
946
902
PACKAGE_BUGREPORT
947
903
PACKAGE_STRING
948
904
PACKAGE_VERSION
1094
1050
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1095
1051
    # Reject names that are not valid shell variable names.
1096
1052
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1098
 
   { (exit 1); exit 1; }; }
 
1053
      as_fn_error "invalid feature name: $ac_useropt"
1099
1054
    ac_useropt_orig=$ac_useropt
1100
1055
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101
1056
    case $ac_user_opts in
1121
1076
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1122
1077
    # Reject names that are not valid shell variable names.
1123
1078
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1125
 
   { (exit 1); exit 1; }; }
 
1079
      as_fn_error "invalid feature name: $ac_useropt"
1126
1080
    ac_useropt_orig=$ac_useropt
1127
1081
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128
1082
    case $ac_user_opts in
1326
1280
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1327
1281
    # Reject names that are not valid shell variable names.
1328
1282
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1329
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1330
 
   { (exit 1); exit 1; }; }
 
1283
      as_fn_error "invalid package name: $ac_useropt"
1331
1284
    ac_useropt_orig=$ac_useropt
1332
1285
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1333
1286
    case $ac_user_opts in
1343
1296
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1344
1297
    # Reject names that are not valid shell variable names.
1345
1298
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1346
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1347
 
   { (exit 1); exit 1; }; }
 
1299
      as_fn_error "invalid package name: $ac_useropt"
1348
1300
    ac_useropt_orig=$ac_useropt
1349
1301
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1350
1302
    case $ac_user_opts in
1374
1326
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1375
1327
    x_libraries=$ac_optarg ;;
1376
1328
 
1377
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1378
 
Try \`$0 --help' for more information." >&2
1379
 
   { (exit 1); exit 1; }; }
 
1329
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1330
Try \`$0 --help' for more information."
1380
1331
    ;;
1381
1332
 
1382
1333
  *=*)
1383
1334
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1384
1335
    # Reject names that are not valid shell variable names.
1385
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1386
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1387
 
   { (exit 1); exit 1; }; }
 
1336
    case $ac_envvar in #(
 
1337
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1338
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1339
    esac
1388
1340
    eval $ac_envvar=\$ac_optarg
1389
1341
    export $ac_envvar ;;
1390
1342
 
1401
1353
 
1402
1354
if test -n "$ac_prev"; then
1403
1355
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1404
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1405
 
   { (exit 1); exit 1; }; }
 
1356
  as_fn_error "missing argument to $ac_option"
1406
1357
fi
1407
1358
 
1408
1359
if test -n "$ac_unrecognized_opts"; then
1409
1360
  case $enable_option_checking in
1410
1361
    no) ;;
1411
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1412
 
   { (exit 1); exit 1; }; } ;;
 
1362
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1413
1363
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1414
1364
  esac
1415
1365
fi
1432
1382
    [\\/$]* | ?:[\\/]* )  continue;;
1433
1383
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1434
1384
  esac
1435
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1436
 
   { (exit 1); exit 1; }; }
 
1385
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1437
1386
done
1438
1387
 
1439
1388
# There might be people who depend on the old broken behavior: `$host'
1463
1412
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1464
1413
ac_ls_di=`ls -di .` &&
1465
1414
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1466
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1467
 
   { (exit 1); exit 1; }; }
 
1415
  as_fn_error "working directory cannot be determined"
1468
1416
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1469
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1470
 
   { (exit 1); exit 1; }; }
 
1417
  as_fn_error "pwd does not report name of working directory"
1471
1418
 
1472
1419
 
1473
1420
# Find the source files, if location was not specified.
1506
1453
fi
1507
1454
if test ! -r "$srcdir/$ac_unique_file"; then
1508
1455
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1509
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1510
 
   { (exit 1); exit 1; }; }
 
1456
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1511
1457
fi
1512
1458
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1513
1459
ac_abs_confdir=`(
1514
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1515
 
   { (exit 1); exit 1; }; }
 
1460
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1516
1461
        pwd)`
1517
1462
# When building in place, set srcdir=.
1518
1463
if test "$ac_abs_confdir" = "$ac_pwd"; then
1538
1483
  # Omit some internal or obsolete options to make the list less imposing.
1539
1484
  # This message is too long to be a string in the A/UX 3.1 sh.
1540
1485
  cat <<_ACEOF
1541
 
\`configure' configures pcmanfm 0.5.1 to adapt to many kinds of systems.
 
1486
\`configure' configures pcmanfm 0.5.2 to adapt to many kinds of systems.
1542
1487
 
1543
1488
Usage: $0 [OPTION]... [VAR=VALUE]...
1544
1489
 
1608
1553
 
1609
1554
if test -n "$ac_init_help"; then
1610
1555
  case $ac_init_help in
1611
 
     short | recursive ) echo "Configuration of pcmanfm 0.5.1:";;
 
1556
     short | recursive ) echo "Configuration of pcmanfm 0.5.2:";;
1612
1557
   esac
1613
1558
  cat <<\_ACEOF
1614
1559
 
1667
1612
Use these variables to override the choices made by `configure' or to help
1668
1613
it to find libraries and programs with nonstandard names/locations.
1669
1614
 
 
1615
Report bugs to the package provider.
1670
1616
_ACEOF
1671
1617
ac_status=$?
1672
1618
fi
1729
1675
test -n "$ac_init_help" && exit $ac_status
1730
1676
if $ac_init_version; then
1731
1677
  cat <<\_ACEOF
1732
 
pcmanfm configure 0.5.1
1733
 
generated by GNU Autoconf 2.63
 
1678
pcmanfm configure 0.5.2
 
1679
generated by GNU Autoconf 2.64
1734
1680
 
1735
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1736
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1681
Copyright (C) 2009 Free Software Foundation, Inc.
1737
1682
This configure script is free software; the Free Software Foundation
1738
1683
gives unlimited permission to copy, distribute and modify it.
1739
1684
_ACEOF
1740
1685
  exit
1741
1686
fi
 
1687
 
 
1688
## ------------------------ ##
 
1689
## Autoconf initialization. ##
 
1690
## ------------------------ ##
 
1691
 
 
1692
# ac_fn_c_try_compile LINENO
 
1693
# --------------------------
 
1694
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1695
ac_fn_c_try_compile ()
 
1696
{
 
1697
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1698
  rm -f conftest.$ac_objext
 
1699
  if { { ac_try="$ac_compile"
 
1700
case "(($ac_try" in
 
1701
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1702
  *) ac_try_echo=$ac_try;;
 
1703
esac
 
1704
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1705
$as_echo "$ac_try_echo"; } >&5
 
1706
  (eval "$ac_compile") 2>conftest.err
 
1707
  ac_status=$?
 
1708
  if test -s conftest.err; then
 
1709
    grep -v '^ *+' conftest.err >conftest.er1
 
1710
    cat conftest.er1 >&5
 
1711
    mv -f conftest.er1 conftest.err
 
1712
  fi
 
1713
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1714
  test $ac_status = 0; } && {
 
1715
         test -z "$ac_c_werror_flag" ||
 
1716
         test ! -s conftest.err
 
1717
       } && test -s conftest.$ac_objext; then :
 
1718
  ac_retval=0
 
1719
else
 
1720
  $as_echo "$as_me: failed program was:" >&5
 
1721
sed 's/^/| /' conftest.$ac_ext >&5
 
1722
 
 
1723
        ac_retval=1
 
1724
fi
 
1725
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1726
  return $ac_retval
 
1727
 
 
1728
} # ac_fn_c_try_compile
 
1729
 
 
1730
# ac_fn_c_try_link LINENO
 
1731
# -----------------------
 
1732
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1733
ac_fn_c_try_link ()
 
1734
{
 
1735
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1736
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1737
  if { { ac_try="$ac_link"
 
1738
case "(($ac_try" in
 
1739
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1740
  *) ac_try_echo=$ac_try;;
 
1741
esac
 
1742
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1743
$as_echo "$ac_try_echo"; } >&5
 
1744
  (eval "$ac_link") 2>conftest.err
 
1745
  ac_status=$?
 
1746
  if test -s conftest.err; then
 
1747
    grep -v '^ *+' conftest.err >conftest.er1
 
1748
    cat conftest.er1 >&5
 
1749
    mv -f conftest.er1 conftest.err
 
1750
  fi
 
1751
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1752
  test $ac_status = 0; } && {
 
1753
         test -z "$ac_c_werror_flag" ||
 
1754
         test ! -s conftest.err
 
1755
       } && test -s conftest$ac_exeext && {
 
1756
         test "$cross_compiling" = yes ||
 
1757
         $as_test_x conftest$ac_exeext
 
1758
       }; then :
 
1759
  ac_retval=0
 
1760
else
 
1761
  $as_echo "$as_me: failed program was:" >&5
 
1762
sed 's/^/| /' conftest.$ac_ext >&5
 
1763
 
 
1764
        ac_retval=1
 
1765
fi
 
1766
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1767
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1768
  # interfere with the next link command; also delete a directory that is
 
1769
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1770
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1771
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1772
  return $ac_retval
 
1773
 
 
1774
} # ac_fn_c_try_link
 
1775
 
 
1776
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1777
# -------------------------------------------------------
 
1778
# Tests whether HEADER exists and can be compiled using the include files in
 
1779
# INCLUDES, setting the cache variable VAR accordingly.
 
1780
ac_fn_c_check_header_compile ()
 
1781
{
 
1782
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1783
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1784
$as_echo_n "checking for $2... " >&6; }
 
1785
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1786
  $as_echo_n "(cached) " >&6
 
1787
else
 
1788
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1789
/* end confdefs.h.  */
 
1790
$4
 
1791
#include <$2>
 
1792
_ACEOF
 
1793
if ac_fn_c_try_compile "$LINENO"; then :
 
1794
  eval "$3=yes"
 
1795
else
 
1796
  eval "$3=no"
 
1797
fi
 
1798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1799
fi
 
1800
eval ac_res=\$$3
 
1801
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1802
$as_echo "$ac_res" >&6; }
 
1803
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1804
 
 
1805
} # ac_fn_c_check_header_compile
 
1806
 
 
1807
# ac_fn_c_try_cpp LINENO
 
1808
# ----------------------
 
1809
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1810
ac_fn_c_try_cpp ()
 
1811
{
 
1812
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1813
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1814
case "(($ac_try" in
 
1815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1816
  *) ac_try_echo=$ac_try;;
 
1817
esac
 
1818
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1819
$as_echo "$ac_try_echo"; } >&5
 
1820
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1821
  ac_status=$?
 
1822
  if test -s conftest.err; then
 
1823
    grep -v '^ *+' conftest.err >conftest.er1
 
1824
    cat conftest.er1 >&5
 
1825
    mv -f conftest.er1 conftest.err
 
1826
  fi
 
1827
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1828
  test $ac_status = 0; } >/dev/null && {
 
1829
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1830
         test ! -s conftest.err
 
1831
       }; then :
 
1832
  ac_retval=0
 
1833
else
 
1834
  $as_echo "$as_me: failed program was:" >&5
 
1835
sed 's/^/| /' conftest.$ac_ext >&5
 
1836
 
 
1837
    ac_retval=1
 
1838
fi
 
1839
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1840
  return $ac_retval
 
1841
 
 
1842
} # ac_fn_c_try_cpp
 
1843
 
 
1844
# ac_fn_c_try_run LINENO
 
1845
# ----------------------
 
1846
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1847
# that executables *can* be run.
 
1848
ac_fn_c_try_run ()
 
1849
{
 
1850
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1851
  if { { ac_try="$ac_link"
 
1852
case "(($ac_try" in
 
1853
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1854
  *) ac_try_echo=$ac_try;;
 
1855
esac
 
1856
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1857
$as_echo "$ac_try_echo"; } >&5
 
1858
  (eval "$ac_link") 2>&5
 
1859
  ac_status=$?
 
1860
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1861
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1862
  { { case "(($ac_try" in
 
1863
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1864
  *) ac_try_echo=$ac_try;;
 
1865
esac
 
1866
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1867
$as_echo "$ac_try_echo"; } >&5
 
1868
  (eval "$ac_try") 2>&5
 
1869
  ac_status=$?
 
1870
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1871
  test $ac_status = 0; }; }; then :
 
1872
  ac_retval=0
 
1873
else
 
1874
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1875
       $as_echo "$as_me: failed program was:" >&5
 
1876
sed 's/^/| /' conftest.$ac_ext >&5
 
1877
 
 
1878
       ac_retval=$ac_status
 
1879
fi
 
1880
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1881
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1882
  return $ac_retval
 
1883
 
 
1884
} # ac_fn_c_try_run
 
1885
 
 
1886
# ac_fn_c_check_func LINENO FUNC VAR
 
1887
# ----------------------------------
 
1888
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1889
ac_fn_c_check_func ()
 
1890
{
 
1891
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1892
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1893
$as_echo_n "checking for $2... " >&6; }
 
1894
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1895
  $as_echo_n "(cached) " >&6
 
1896
else
 
1897
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1898
/* end confdefs.h.  */
 
1899
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1900
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1901
#define $2 innocuous_$2
 
1902
 
 
1903
/* System header to define __stub macros and hopefully few prototypes,
 
1904
    which can conflict with char $2 (); below.
 
1905
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1906
    <limits.h> exists even on freestanding compilers.  */
 
1907
 
 
1908
#ifdef __STDC__
 
1909
# include <limits.h>
 
1910
#else
 
1911
# include <assert.h>
 
1912
#endif
 
1913
 
 
1914
#undef $2
 
1915
 
 
1916
/* Override any GCC internal prototype to avoid an error.
 
1917
   Use char because int might match the return type of a GCC
 
1918
   builtin and then its argument prototype would still apply.  */
 
1919
#ifdef __cplusplus
 
1920
extern "C"
 
1921
#endif
 
1922
char $2 ();
 
1923
/* The GNU C library defines this for functions which it implements
 
1924
    to always fail with ENOSYS.  Some functions are actually named
 
1925
    something starting with __ and the normal name is an alias.  */
 
1926
#if defined __stub_$2 || defined __stub___$2
 
1927
choke me
 
1928
#endif
 
1929
 
 
1930
int
 
1931
main ()
 
1932
{
 
1933
return $2 ();
 
1934
  ;
 
1935
  return 0;
 
1936
}
 
1937
_ACEOF
 
1938
if ac_fn_c_try_link "$LINENO"; then :
 
1939
  eval "$3=yes"
 
1940
else
 
1941
  eval "$3=no"
 
1942
fi
 
1943
rm -f core conftest.err conftest.$ac_objext \
 
1944
    conftest$ac_exeext conftest.$ac_ext
 
1945
fi
 
1946
eval ac_res=\$$3
 
1947
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1948
$as_echo "$ac_res" >&6; }
 
1949
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1950
 
 
1951
} # ac_fn_c_check_func
 
1952
 
 
1953
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1954
# -------------------------------------------------------
 
1955
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1956
# the include files in INCLUDES and setting the cache variable VAR
 
1957
# accordingly.
 
1958
ac_fn_c_check_header_mongrel ()
 
1959
{
 
1960
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1961
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1962
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1963
$as_echo_n "checking for $2... " >&6; }
 
1964
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1965
  $as_echo_n "(cached) " >&6
 
1966
fi
 
1967
eval ac_res=\$$3
 
1968
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1969
$as_echo "$ac_res" >&6; }
 
1970
else
 
1971
  # Is the header compilable?
 
1972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1973
$as_echo_n "checking $2 usability... " >&6; }
 
1974
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1975
/* end confdefs.h.  */
 
1976
$4
 
1977
#include <$2>
 
1978
_ACEOF
 
1979
if ac_fn_c_try_compile "$LINENO"; then :
 
1980
  ac_header_compiler=yes
 
1981
else
 
1982
  ac_header_compiler=no
 
1983
fi
 
1984
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1986
$as_echo "$ac_header_compiler" >&6; }
 
1987
 
 
1988
# Is the header present?
 
1989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1990
$as_echo_n "checking $2 presence... " >&6; }
 
1991
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1992
/* end confdefs.h.  */
 
1993
#include <$2>
 
1994
_ACEOF
 
1995
if ac_fn_c_try_cpp "$LINENO"; then :
 
1996
  ac_header_preproc=yes
 
1997
else
 
1998
  ac_header_preproc=no
 
1999
fi
 
2000
rm -f conftest.err conftest.$ac_ext
 
2001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2002
$as_echo "$ac_header_preproc" >&6; }
 
2003
 
 
2004
# So?  What about this header?
 
2005
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2006
  yes:no: )
 
2007
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2008
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2009
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2010
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2011
    ;;
 
2012
  no:yes:* )
 
2013
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2014
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2015
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2016
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2017
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2018
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2019
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2020
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2021
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2022
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2023
    ;;
 
2024
esac
 
2025
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2026
$as_echo_n "checking for $2... " >&6; }
 
2027
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2028
  $as_echo_n "(cached) " >&6
 
2029
else
 
2030
  eval "$3=\$ac_header_compiler"
 
2031
fi
 
2032
eval ac_res=\$$3
 
2033
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2034
$as_echo "$ac_res" >&6; }
 
2035
fi
 
2036
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2037
 
 
2038
} # ac_fn_c_check_header_mongrel
1742
2039
cat >config.log <<_ACEOF
1743
2040
This file contains any messages produced by compilers while
1744
2041
running configure, to aid debugging if configure makes a mistake.
1745
2042
 
1746
 
It was created by pcmanfm $as_me 0.5.1, which was
1747
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2043
It was created by pcmanfm $as_me 0.5.2, which was
 
2044
generated by GNU Autoconf 2.64.  Invocation command line was
1748
2045
 
1749
2046
  $ $0 $@
1750
2047
 
1780
2077
do
1781
2078
  IFS=$as_save_IFS
1782
2079
  test -z "$as_dir" && as_dir=.
1783
 
  $as_echo "PATH: $as_dir"
1784
 
done
 
2080
    $as_echo "PATH: $as_dir"
 
2081
  done
1785
2082
IFS=$as_save_IFS
1786
2083
 
1787
2084
} >&5
1818
2115
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1819
2116
    esac
1820
2117
    case $ac_pass in
1821
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2118
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1822
2119
    2)
1823
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2120
      as_fn_append ac_configure_args1 " '$ac_arg'"
1824
2121
      if test $ac_must_keep_next = true; then
1825
2122
        ac_must_keep_next=false # Got value, back to normal.
1826
2123
      else
1836
2133
          -* ) ac_must_keep_next=true ;;
1837
2134
        esac
1838
2135
      fi
1839
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2136
      as_fn_append ac_configure_args " '$ac_arg'"
1840
2137
      ;;
1841
2138
    esac
1842
2139
  done
1843
2140
done
1844
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1845
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2141
{ ac_configure_args0=; unset ac_configure_args0;}
 
2142
{ ac_configure_args1=; unset ac_configure_args1;}
1846
2143
 
1847
2144
# When interrupted or exit'd, cleanup temporary files, and complete
1848
2145
# config.log.  We remove comments because anyway the quotes in there
1867
2164
    case $ac_val in #(
1868
2165
    *${as_nl}*)
1869
2166
      case $ac_var in #(
1870
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2167
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1871
2168
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1872
2169
      esac
1873
2170
      case $ac_var in #(
1874
2171
      _ | IFS | as_nl) ;; #(
1875
2172
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1876
 
      *) $as_unset $ac_var ;;
 
2173
      *) { eval $ac_var=; unset $ac_var;} ;;
1877
2174
      esac ;;
1878
2175
    esac
1879
2176
  done
1945
2242
    exit $exit_status
1946
2243
' 0
1947
2244
for ac_signal in 1 2 13 15; do
1948
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2245
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1949
2246
done
1950
2247
ac_signal=0
1951
2248
 
1952
2249
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1953
2250
rm -f -r conftest* confdefs.h
1954
2251
 
 
2252
$as_echo "/* confdefs.h */" > confdefs.h
 
2253
 
1955
2254
# Predefined preprocessor variables.
1956
2255
 
1957
2256
cat >>confdefs.h <<_ACEOF
1958
2257
#define PACKAGE_NAME "$PACKAGE_NAME"
1959
2258
_ACEOF
1960
2259
 
1961
 
 
1962
2260
cat >>confdefs.h <<_ACEOF
1963
2261
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1964
2262
_ACEOF
1965
2263
 
1966
 
 
1967
2264
cat >>confdefs.h <<_ACEOF
1968
2265
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1969
2266
_ACEOF
1970
2267
 
1971
 
 
1972
2268
cat >>confdefs.h <<_ACEOF
1973
2269
#define PACKAGE_STRING "$PACKAGE_STRING"
1974
2270
_ACEOF
1975
2271
 
1976
 
 
1977
2272
cat >>confdefs.h <<_ACEOF
1978
2273
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1979
2274
_ACEOF
1980
2275
 
 
2276
cat >>confdefs.h <<_ACEOF
 
2277
#define PACKAGE_URL "$PACKAGE_URL"
 
2278
_ACEOF
 
2279
 
1981
2280
 
1982
2281
# Let the site file select an alternate cache file if it wants to.
1983
2282
# Prefer an explicitly selected file to automatically selected ones.
1996
2295
do
1997
2296
  test "x$ac_site_file" = xNONE && continue
1998
2297
  if test -r "$ac_site_file"; then
1999
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2298
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2000
2299
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2001
2300
    sed 's/^/| /' "$ac_site_file" >&5
2002
2301
    . "$ac_site_file"
2007
2306
  # Some versions of bash will fail to source /dev/null (special
2008
2307
  # files actually), so we avoid doing that.
2009
2308
  if test -f "$cache_file"; then
2010
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2309
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2011
2310
$as_echo "$as_me: loading cache $cache_file" >&6;}
2012
2311
    case $cache_file in
2013
2312
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2015
2314
    esac
2016
2315
  fi
2017
2316
else
2018
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2317
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2019
2318
$as_echo "$as_me: creating cache $cache_file" >&6;}
2020
2319
  >$cache_file
2021
2320
fi
2030
2329
  eval ac_new_val=\$ac_env_${ac_var}_value
2031
2330
  case $ac_old_set,$ac_new_set in
2032
2331
    set,)
2033
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2332
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2034
2333
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2035
2334
      ac_cache_corrupted=: ;;
2036
2335
    ,set)
2037
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2336
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2038
2337
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2039
2338
      ac_cache_corrupted=: ;;
2040
2339
    ,);;
2044
2343
        ac_old_val_w=`echo x $ac_old_val`
2045
2344
        ac_new_val_w=`echo x $ac_new_val`
2046
2345
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2047
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2346
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2048
2347
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2049
2348
          ac_cache_corrupted=:
2050
2349
        else
2051
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2350
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2052
2351
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2053
2352
          eval $ac_var=\$ac_old_val
2054
2353
        fi
2055
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2354
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2056
2355
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2057
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2356
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2058
2357
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2059
2358
      fi;;
2060
2359
  esac
2066
2365
    esac
2067
2366
    case " $ac_configure_args " in
2068
2367
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2069
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2368
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2070
2369
    esac
2071
2370
  fi
2072
2371
done
2073
2372
if $ac_cache_corrupted; then
2074
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2373
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2075
2374
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2076
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2375
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2077
2376
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2078
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2079
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2080
 
   { (exit 1); exit 1; }; }
 
2377
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2081
2378
fi
2082
 
 
2083
 
 
2084
 
 
2085
 
 
2086
 
 
2087
 
 
2088
 
 
2089
 
 
2090
 
 
2091
 
 
2092
 
 
2093
 
 
2094
 
 
2095
 
 
2096
 
 
2097
 
 
2098
 
 
2099
 
 
2100
 
 
2101
 
 
2102
 
 
2103
 
 
2104
 
 
2105
 
 
 
2379
## -------------------- ##
 
2380
## Main body of script. ##
 
2381
## -------------------- ##
2106
2382
 
2107
2383
ac_ext=c
2108
2384
ac_cpp='$CPP $CPPFLAGS'
2112
2388
 
2113
2389
 
2114
2390
 
2115
 
am__api_version='1.10'
 
2391
am__api_version='1.11'
2116
2392
 
2117
2393
ac_aux_dir=
2118
2394
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2119
 
  if test -f "$ac_dir/install-sh"; then
2120
 
    ac_aux_dir=$ac_dir
2121
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2122
 
    break
2123
 
  elif test -f "$ac_dir/install.sh"; then
2124
 
    ac_aux_dir=$ac_dir
2125
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2126
 
    break
2127
 
  elif test -f "$ac_dir/shtool"; then
2128
 
    ac_aux_dir=$ac_dir
2129
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2130
 
    break
2131
 
  fi
 
2395
  for ac_t in install-sh install.sh shtool; do
 
2396
    if test -f "$ac_dir/$ac_t"; then
 
2397
      ac_aux_dir=$ac_dir
 
2398
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2399
      break 2
 
2400
    fi
 
2401
  done
2132
2402
done
2133
2403
if test -z "$ac_aux_dir"; then
2134
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2135
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2136
 
   { (exit 1); exit 1; }; }
 
2404
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2137
2405
fi
2138
2406
 
2139
2407
# These three variables are undocumented and unsupported,
2159
2427
# OS/2's system install, which has a completely different semantic
2160
2428
# ./install, which can be erroneously created by make from ./install.sh.
2161
2429
# Reject install programs that cannot install multiple files.
2162
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2163
2431
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2164
2432
if test -z "$INSTALL"; then
2165
 
if test "${ac_cv_path_install+set}" = set; then
 
2433
if test "${ac_cv_path_install+set}" = set; then :
2166
2434
  $as_echo_n "(cached) " >&6
2167
2435
else
2168
2436
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170
2438
do
2171
2439
  IFS=$as_save_IFS
2172
2440
  test -z "$as_dir" && as_dir=.
2173
 
  # Account for people who put trailing slashes in PATH elements.
2174
 
case $as_dir/ in
2175
 
  ./ | .// | /cC/* | \
 
2441
    # Account for people who put trailing slashes in PATH elements.
 
2442
case $as_dir/ in #((
 
2443
  ./ | .// | /[cC]/* | \
2176
2444
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2177
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2445
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2178
2446
  /usr/ucb/* ) ;;
2179
2447
  *)
2180
2448
    # OSF1 and SCO ODT 3.0 have their own names for install.
2211
2479
    ;;
2212
2480
esac
2213
2481
 
2214
 
done
 
2482
  done
2215
2483
IFS=$as_save_IFS
2216
2484
 
2217
2485
rm -rf conftest.one conftest.two conftest.dir
2227
2495
    INSTALL=$ac_install_sh
2228
2496
  fi
2229
2497
fi
2230
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2231
2499
$as_echo "$INSTALL" >&6; }
2232
2500
 
2233
2501
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2238
2506
 
2239
2507
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2240
2508
 
2241
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2242
2510
$as_echo_n "checking whether build environment is sane... " >&6; }
2243
2511
# Just in case
2244
2512
sleep 1
2245
2513
echo timestamp > conftest.file
 
2514
# Reject unsafe characters in $srcdir or the absolute working directory
 
2515
# name.  Accept space and tab only in the latter.
 
2516
am_lf='
 
2517
'
 
2518
case `pwd` in
 
2519
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2520
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2521
esac
 
2522
case $srcdir in
 
2523
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2524
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2525
esac
 
2526
 
2246
2527
# Do `set' in a subshell so we don't clobber the current shell's
2247
2528
# arguments.  Must try -L first in case configure is actually a
2248
2529
# symlink; some systems play weird games with the mod time of symlinks
2249
2530
# (eg FreeBSD returns the mod time of the symlink's containing
2250
2531
# directory).
2251
2532
if (
2252
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2533
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2253
2534
   if test "$*" = "X"; then
2254
2535
      # -L didn't work.
2255
 
      set X `ls -t $srcdir/configure conftest.file`
 
2536
      set X `ls -t "$srcdir/configure" conftest.file`
2256
2537
   fi
2257
2538
   rm -f conftest.file
2258
2539
   if test "$*" != "X $srcdir/configure conftest.file" \
2262
2543
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2263
2544
      # broken ls alias from the environment.  This has actually
2264
2545
      # happened.  Such a system could not be considered "sane".
2265
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2266
 
alias in your environment" >&5
2267
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2268
 
alias in your environment" >&2;}
2269
 
   { (exit 1); exit 1; }; }
 
2546
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2547
alias in your environment" "$LINENO" 5
2270
2548
   fi
2271
2549
 
2272
2550
   test "$2" = conftest.file
2275
2553
   # Ok.
2276
2554
   :
2277
2555
else
2278
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2279
 
Check your system clock" >&5
2280
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2281
 
Check your system clock" >&2;}
2282
 
   { (exit 1); exit 1; }; }
 
2556
   as_fn_error "newly created file is older than distributed files!
 
2557
Check your system clock" "$LINENO" 5
2283
2558
fi
2284
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2285
2560
$as_echo "yes" >&6; }
2286
2561
test "$program_prefix" != NONE &&
2287
2562
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2296
2571
# expand $ac_aux_dir to an absolute path
2297
2572
am_aux_dir=`cd $ac_aux_dir && pwd`
2298
2573
 
2299
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2574
if test x"${MISSING+set}" != xset; then
 
2575
  case $am_aux_dir in
 
2576
  *\ * | *\     *)
 
2577
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2578
  *)
 
2579
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2580
  esac
 
2581
fi
2300
2582
# Use eval to expand $SHELL
2301
2583
if eval "$MISSING --run true"; then
2302
2584
  am_missing_run="$MISSING --run "
2303
2585
else
2304
2586
  am_missing_run=
2305
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2587
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2306
2588
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2307
2589
fi
2308
2590
 
2309
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2591
if test x"${install_sh}" != xset; then
 
2592
  case $am_aux_dir in
 
2593
  *\ * | *\     *)
 
2594
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2595
  *)
 
2596
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2597
  esac
 
2598
fi
 
2599
 
 
2600
# Installed binaries are usually stripped using `strip' when the user
 
2601
# run `make install-strip'.  However `strip' might not be the right
 
2602
# tool to use in cross-compilation environments, therefore Automake
 
2603
# will honor the `STRIP' environment variable to overrule this program.
 
2604
if test "$cross_compiling" != no; then
 
2605
  if test -n "$ac_tool_prefix"; then
 
2606
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2607
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2609
$as_echo_n "checking for $ac_word... " >&6; }
 
2610
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2611
  $as_echo_n "(cached) " >&6
 
2612
else
 
2613
  if test -n "$STRIP"; then
 
2614
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2615
else
 
2616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2617
for as_dir in $PATH
 
2618
do
 
2619
  IFS=$as_save_IFS
 
2620
  test -z "$as_dir" && as_dir=.
 
2621
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2622
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2623
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2624
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2625
    break 2
 
2626
  fi
 
2627
done
 
2628
  done
 
2629
IFS=$as_save_IFS
 
2630
 
 
2631
fi
 
2632
fi
 
2633
STRIP=$ac_cv_prog_STRIP
 
2634
if test -n "$STRIP"; then
 
2635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2636
$as_echo "$STRIP" >&6; }
 
2637
else
 
2638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2639
$as_echo "no" >&6; }
 
2640
fi
 
2641
 
 
2642
 
 
2643
fi
 
2644
if test -z "$ac_cv_prog_STRIP"; then
 
2645
  ac_ct_STRIP=$STRIP
 
2646
  # Extract the first word of "strip", so it can be a program name with args.
 
2647
set dummy strip; ac_word=$2
 
2648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2649
$as_echo_n "checking for $ac_word... " >&6; }
 
2650
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2651
  $as_echo_n "(cached) " >&6
 
2652
else
 
2653
  if test -n "$ac_ct_STRIP"; then
 
2654
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2655
else
 
2656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2657
for as_dir in $PATH
 
2658
do
 
2659
  IFS=$as_save_IFS
 
2660
  test -z "$as_dir" && as_dir=.
 
2661
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2662
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2663
    ac_cv_prog_ac_ct_STRIP="strip"
 
2664
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2665
    break 2
 
2666
  fi
 
2667
done
 
2668
  done
 
2669
IFS=$as_save_IFS
 
2670
 
 
2671
fi
 
2672
fi
 
2673
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2674
if test -n "$ac_ct_STRIP"; then
 
2675
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2676
$as_echo "$ac_ct_STRIP" >&6; }
 
2677
else
 
2678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2679
$as_echo "no" >&6; }
 
2680
fi
 
2681
 
 
2682
  if test "x$ac_ct_STRIP" = x; then
 
2683
    STRIP=":"
 
2684
  else
 
2685
    case $cross_compiling:$ac_tool_warned in
 
2686
yes:)
 
2687
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2688
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2689
ac_tool_warned=yes ;;
 
2690
esac
 
2691
    STRIP=$ac_ct_STRIP
 
2692
  fi
 
2693
else
 
2694
  STRIP="$ac_cv_prog_STRIP"
 
2695
fi
 
2696
 
 
2697
fi
 
2698
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2699
 
 
2700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2310
2701
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2311
2702
if test -z "$MKDIR_P"; then
2312
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2703
  if test "${ac_cv_path_mkdir+set}" = set; then :
2313
2704
  $as_echo_n "(cached) " >&6
2314
2705
else
2315
2706
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317
2708
do
2318
2709
  IFS=$as_save_IFS
2319
2710
  test -z "$as_dir" && as_dir=.
2320
 
  for ac_prog in mkdir gmkdir; do
 
2711
    for ac_prog in mkdir gmkdir; do
2321
2712
         for ac_exec_ext in '' $ac_executable_extensions; do
2322
2713
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2323
2714
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2329
2720
           esac
2330
2721
         done
2331
2722
       done
2332
 
done
 
2723
  done
2333
2724
IFS=$as_save_IFS
2334
2725
 
2335
2726
fi
2345
2736
    MKDIR_P="$ac_install_sh -d"
2346
2737
  fi
2347
2738
fi
2348
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2349
2740
$as_echo "$MKDIR_P" >&6; }
2350
2741
 
2351
2742
mkdir_p="$MKDIR_P"
2358
2749
do
2359
2750
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2360
2751
set dummy $ac_prog; ac_word=$2
2361
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2362
2753
$as_echo_n "checking for $ac_word... " >&6; }
2363
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2754
if test "${ac_cv_prog_AWK+set}" = set; then :
2364
2755
  $as_echo_n "(cached) " >&6
2365
2756
else
2366
2757
  if test -n "$AWK"; then
2371
2762
do
2372
2763
  IFS=$as_save_IFS
2373
2764
  test -z "$as_dir" && as_dir=.
2374
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2765
    for ac_exec_ext in '' $ac_executable_extensions; do
2375
2766
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376
2767
    ac_cv_prog_AWK="$ac_prog"
2377
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2768
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2378
2769
    break 2
2379
2770
  fi
2380
2771
done
2381
 
done
 
2772
  done
2382
2773
IFS=$as_save_IFS
2383
2774
 
2384
2775
fi
2385
2776
fi
2386
2777
AWK=$ac_cv_prog_AWK
2387
2778
if test -n "$AWK"; then
2388
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2779
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2389
2780
$as_echo "$AWK" >&6; }
2390
2781
else
2391
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2782
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2392
2783
$as_echo "no" >&6; }
2393
2784
fi
2394
2785
 
2396
2787
  test -n "$AWK" && break
2397
2788
done
2398
2789
 
2399
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2400
2791
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2401
2792
set x ${MAKE-make}
2402
2793
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2403
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2794
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2404
2795
  $as_echo_n "(cached) " >&6
2405
2796
else
2406
2797
  cat >conftest.make <<\_ACEOF
2418
2809
rm -f conftest.make
2419
2810
fi
2420
2811
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2421
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2812
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2422
2813
$as_echo "yes" >&6; }
2423
2814
  SET_MAKE=
2424
2815
else
2425
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2816
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2426
2817
$as_echo "no" >&6; }
2427
2818
  SET_MAKE="MAKE=${MAKE-make}"
2428
2819
fi
2442
2833
  am__isrc=' -I$(srcdir)'
2443
2834
  # test to see if srcdir already configured
2444
2835
  if test -f $srcdir/config.status; then
2445
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2446
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2447
 
   { (exit 1); exit 1; }; }
 
2836
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2448
2837
  fi
2449
2838
fi
2450
2839
 
2460
2849
 
2461
2850
# Define the identity of the package.
2462
2851
 PACKAGE='pcmanfm'
2463
 
 VERSION='0.5.1'
 
2852
 VERSION='0.5.2'
2464
2853
 
2465
2854
 
2466
2855
cat >>confdefs.h <<_ACEOF
2488
2877
 
2489
2878
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2490
2879
 
2491
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2492
 
 
2493
 
# Installed binaries are usually stripped using `strip' when the user
2494
 
# run `make install-strip'.  However `strip' might not be the right
2495
 
# tool to use in cross-compilation environments, therefore Automake
2496
 
# will honor the `STRIP' environment variable to overrule this program.
2497
 
if test "$cross_compiling" != no; then
2498
 
  if test -n "$ac_tool_prefix"; then
2499
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2500
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2501
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2502
 
$as_echo_n "checking for $ac_word... " >&6; }
2503
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2504
 
  $as_echo_n "(cached) " >&6
2505
 
else
2506
 
  if test -n "$STRIP"; then
2507
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2508
 
else
2509
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510
 
for as_dir in $PATH
2511
 
do
2512
 
  IFS=$as_save_IFS
2513
 
  test -z "$as_dir" && as_dir=.
2514
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2515
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2516
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2517
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2518
 
    break 2
2519
 
  fi
2520
 
done
2521
 
done
2522
 
IFS=$as_save_IFS
2523
 
 
2524
 
fi
2525
 
fi
2526
 
STRIP=$ac_cv_prog_STRIP
2527
 
if test -n "$STRIP"; then
2528
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2529
 
$as_echo "$STRIP" >&6; }
2530
 
else
2531
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2532
 
$as_echo "no" >&6; }
2533
 
fi
2534
 
 
2535
 
 
2536
 
fi
2537
 
if test -z "$ac_cv_prog_STRIP"; then
2538
 
  ac_ct_STRIP=$STRIP
2539
 
  # Extract the first word of "strip", so it can be a program name with args.
2540
 
set dummy strip; ac_word=$2
2541
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2542
 
$as_echo_n "checking for $ac_word... " >&6; }
2543
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2544
 
  $as_echo_n "(cached) " >&6
2545
 
else
2546
 
  if test -n "$ac_ct_STRIP"; then
2547
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2548
 
else
2549
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550
 
for as_dir in $PATH
2551
 
do
2552
 
  IFS=$as_save_IFS
2553
 
  test -z "$as_dir" && as_dir=.
2554
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2555
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556
 
    ac_cv_prog_ac_ct_STRIP="strip"
2557
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558
 
    break 2
2559
 
  fi
2560
 
done
2561
 
done
2562
 
IFS=$as_save_IFS
2563
 
 
2564
 
fi
2565
 
fi
2566
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2567
 
if test -n "$ac_ct_STRIP"; then
2568
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2569
 
$as_echo "$ac_ct_STRIP" >&6; }
2570
 
else
2571
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2572
 
$as_echo "no" >&6; }
2573
 
fi
2574
 
 
2575
 
  if test "x$ac_ct_STRIP" = x; then
2576
 
    STRIP=":"
2577
 
  else
2578
 
    case $cross_compiling:$ac_tool_warned in
2579
 
yes:)
2580
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2581
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2582
 
ac_tool_warned=yes ;;
2583
 
esac
2584
 
    STRIP=$ac_ct_STRIP
2585
 
  fi
2586
 
else
2587
 
  STRIP="$ac_cv_prog_STRIP"
2588
 
fi
2589
 
 
2590
 
fi
2591
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2592
 
 
2593
2880
# We need awk for the "check" target.  The system "awk" is bad on
2594
2881
# some platforms.
2595
2882
# Always define AMTAR for backward compatibility.
2602
2889
 
2603
2890
 
2604
2891
 
2605
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2892
 
 
2893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2606
2894
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2607
2895
    # Check whether --enable-maintainer-mode was given.
2608
 
if test "${enable_maintainer_mode+set}" = set; then
 
2896
if test "${enable_maintainer_mode+set}" = set; then :
2609
2897
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2610
2898
else
2611
2899
  USE_MAINTAINER_MODE=no
2612
2900
fi
2613
2901
 
2614
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2902
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2615
2903
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2616
2904
   if test $USE_MAINTAINER_MODE = yes; then
2617
2905
  MAINTAINER_MODE_TRUE=
2626
2914
 
2627
2915
 
2628
2916
# Check whether --enable-static was given.
2629
 
if test "${enable_static+set}" = set; then
 
2917
if test "${enable_static+set}" = set; then :
2630
2918
  enableval=$enable_static; p=${PACKAGE-default}
2631
2919
    case $enableval in
2632
2920
    yes) enable_static=yes ;;
2665
2953
am_make=${MAKE-make}
2666
2954
cat > confinc << 'END'
2667
2955
am__doit:
2668
 
        @echo done
 
2956
        @echo this is the am__doit target
2669
2957
.PHONY: am__doit
2670
2958
END
2671
2959
# If we don't find an include directive, just comment out the code.
2672
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2673
2961
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2674
2962
am__include="#"
2675
2963
am__quote=
2676
2964
_am_result=none
2677
2965
# First try GNU make style include.
2678
2966
echo "include confinc" > confmf
2679
 
# We grep out `Entering directory' and `Leaving directory'
2680
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2681
 
# In particular we don't look at `^make:' because GNU make might
2682
 
# be invoked under some other name (usually "gmake"), in which
2683
 
# case it prints its new name instead of `make'.
2684
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2685
 
   am__include=include
2686
 
   am__quote=
2687
 
   _am_result=GNU
2688
 
fi
 
2967
# Ignore all kinds of additional output from `make'.
 
2968
case `$am_make -s -f confmf 2> /dev/null` in #(
 
2969
*the\ am__doit\ target*)
 
2970
  am__include=include
 
2971
  am__quote=
 
2972
  _am_result=GNU
 
2973
  ;;
 
2974
esac
2689
2975
# Now try BSD make style include.
2690
2976
if test "$am__include" = "#"; then
2691
2977
   echo '.include "confinc"' > confmf
2692
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2693
 
      am__include=.include
2694
 
      am__quote="\""
2695
 
      _am_result=BSD
2696
 
   fi
 
2978
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
2979
   *the\ am__doit\ target*)
 
2980
     am__include=.include
 
2981
     am__quote="\""
 
2982
     _am_result=BSD
 
2983
     ;;
 
2984
   esac
2697
2985
fi
2698
2986
 
2699
2987
 
2700
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2701
2989
$as_echo "$_am_result" >&6; }
2702
2990
rm -f confinc confmf
2703
2991
 
2704
2992
# Check whether --enable-dependency-tracking was given.
2705
 
if test "${enable_dependency_tracking+set}" = set; then
 
2993
if test "${enable_dependency_tracking+set}" = set; then :
2706
2994
  enableval=$enable_dependency_tracking;
2707
2995
fi
2708
2996
 
2727
3015
if test -n "$ac_tool_prefix"; then
2728
3016
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2729
3017
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2730
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731
3019
$as_echo_n "checking for $ac_word... " >&6; }
2732
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3020
if test "${ac_cv_prog_CC+set}" = set; then :
2733
3021
  $as_echo_n "(cached) " >&6
2734
3022
else
2735
3023
  if test -n "$CC"; then
2740
3028
do
2741
3029
  IFS=$as_save_IFS
2742
3030
  test -z "$as_dir" && as_dir=.
2743
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3031
    for ac_exec_ext in '' $ac_executable_extensions; do
2744
3032
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745
3033
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2746
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3034
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747
3035
    break 2
2748
3036
  fi
2749
3037
done
2750
 
done
 
3038
  done
2751
3039
IFS=$as_save_IFS
2752
3040
 
2753
3041
fi
2754
3042
fi
2755
3043
CC=$ac_cv_prog_CC
2756
3044
if test -n "$CC"; then
2757
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3045
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2758
3046
$as_echo "$CC" >&6; }
2759
3047
else
2760
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761
3049
$as_echo "no" >&6; }
2762
3050
fi
2763
3051
 
2767
3055
  ac_ct_CC=$CC
2768
3056
  # Extract the first word of "gcc", so it can be a program name with args.
2769
3057
set dummy gcc; ac_word=$2
2770
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771
3059
$as_echo_n "checking for $ac_word... " >&6; }
2772
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3060
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2773
3061
  $as_echo_n "(cached) " >&6
2774
3062
else
2775
3063
  if test -n "$ac_ct_CC"; then
2780
3068
do
2781
3069
  IFS=$as_save_IFS
2782
3070
  test -z "$as_dir" && as_dir=.
2783
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3071
    for ac_exec_ext in '' $ac_executable_extensions; do
2784
3072
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785
3073
    ac_cv_prog_ac_ct_CC="gcc"
2786
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3074
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787
3075
    break 2
2788
3076
  fi
2789
3077
done
2790
 
done
 
3078
  done
2791
3079
IFS=$as_save_IFS
2792
3080
 
2793
3081
fi
2794
3082
fi
2795
3083
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2796
3084
if test -n "$ac_ct_CC"; then
2797
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3085
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2798
3086
$as_echo "$ac_ct_CC" >&6; }
2799
3087
else
2800
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801
3089
$as_echo "no" >&6; }
2802
3090
fi
2803
3091
 
2806
3094
  else
2807
3095
    case $cross_compiling:$ac_tool_warned in
2808
3096
yes:)
2809
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3097
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2810
3098
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2811
3099
ac_tool_warned=yes ;;
2812
3100
esac
2820
3108
          if test -n "$ac_tool_prefix"; then
2821
3109
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2822
3110
set dummy ${ac_tool_prefix}cc; ac_word=$2
2823
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824
3112
$as_echo_n "checking for $ac_word... " >&6; }
2825
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3113
if test "${ac_cv_prog_CC+set}" = set; then :
2826
3114
  $as_echo_n "(cached) " >&6
2827
3115
else
2828
3116
  if test -n "$CC"; then
2833
3121
do
2834
3122
  IFS=$as_save_IFS
2835
3123
  test -z "$as_dir" && as_dir=.
2836
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3124
    for ac_exec_ext in '' $ac_executable_extensions; do
2837
3125
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838
3126
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2839
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3127
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2840
3128
    break 2
2841
3129
  fi
2842
3130
done
2843
 
done
 
3131
  done
2844
3132
IFS=$as_save_IFS
2845
3133
 
2846
3134
fi
2847
3135
fi
2848
3136
CC=$ac_cv_prog_CC
2849
3137
if test -n "$CC"; then
2850
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2851
3139
$as_echo "$CC" >&6; }
2852
3140
else
2853
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854
3142
$as_echo "no" >&6; }
2855
3143
fi
2856
3144
 
2860
3148
if test -z "$CC"; then
2861
3149
  # Extract the first word of "cc", so it can be a program name with args.
2862
3150
set dummy cc; ac_word=$2
2863
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864
3152
$as_echo_n "checking for $ac_word... " >&6; }
2865
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3153
if test "${ac_cv_prog_CC+set}" = set; then :
2866
3154
  $as_echo_n "(cached) " >&6
2867
3155
else
2868
3156
  if test -n "$CC"; then
2874
3162
do
2875
3163
  IFS=$as_save_IFS
2876
3164
  test -z "$as_dir" && as_dir=.
2877
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3165
    for ac_exec_ext in '' $ac_executable_extensions; do
2878
3166
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879
3167
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2880
3168
       ac_prog_rejected=yes
2881
3169
       continue
2882
3170
     fi
2883
3171
    ac_cv_prog_CC="cc"
2884
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3172
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885
3173
    break 2
2886
3174
  fi
2887
3175
done
2888
 
done
 
3176
  done
2889
3177
IFS=$as_save_IFS
2890
3178
 
2891
3179
if test $ac_prog_rejected = yes; then
2904
3192
fi
2905
3193
CC=$ac_cv_prog_CC
2906
3194
if test -n "$CC"; then
2907
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3195
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2908
3196
$as_echo "$CC" >&6; }
2909
3197
else
2910
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911
3199
$as_echo "no" >&6; }
2912
3200
fi
2913
3201
 
2919
3207
  do
2920
3208
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2921
3209
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2922
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923
3211
$as_echo_n "checking for $ac_word... " >&6; }
2924
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3212
if test "${ac_cv_prog_CC+set}" = set; then :
2925
3213
  $as_echo_n "(cached) " >&6
2926
3214
else
2927
3215
  if test -n "$CC"; then
2932
3220
do
2933
3221
  IFS=$as_save_IFS
2934
3222
  test -z "$as_dir" && as_dir=.
2935
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3223
    for ac_exec_ext in '' $ac_executable_extensions; do
2936
3224
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937
3225
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2938
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3226
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939
3227
    break 2
2940
3228
  fi
2941
3229
done
2942
 
done
 
3230
  done
2943
3231
IFS=$as_save_IFS
2944
3232
 
2945
3233
fi
2946
3234
fi
2947
3235
CC=$ac_cv_prog_CC
2948
3236
if test -n "$CC"; then
2949
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2950
3238
$as_echo "$CC" >&6; }
2951
3239
else
2952
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953
3241
$as_echo "no" >&6; }
2954
3242
fi
2955
3243
 
2963
3251
do
2964
3252
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2965
3253
set dummy $ac_prog; ac_word=$2
2966
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967
3255
$as_echo_n "checking for $ac_word... " >&6; }
2968
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3256
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2969
3257
  $as_echo_n "(cached) " >&6
2970
3258
else
2971
3259
  if test -n "$ac_ct_CC"; then
2976
3264
do
2977
3265
  IFS=$as_save_IFS
2978
3266
  test -z "$as_dir" && as_dir=.
2979
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3267
    for ac_exec_ext in '' $ac_executable_extensions; do
2980
3268
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981
3269
    ac_cv_prog_ac_ct_CC="$ac_prog"
2982
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3270
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2983
3271
    break 2
2984
3272
  fi
2985
3273
done
2986
 
done
 
3274
  done
2987
3275
IFS=$as_save_IFS
2988
3276
 
2989
3277
fi
2990
3278
fi
2991
3279
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2992
3280
if test -n "$ac_ct_CC"; then
2993
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3281
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2994
3282
$as_echo "$ac_ct_CC" >&6; }
2995
3283
else
2996
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3284
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997
3285
$as_echo "no" >&6; }
2998
3286
fi
2999
3287
 
3006
3294
  else
3007
3295
    case $cross_compiling:$ac_tool_warned in
3008
3296
yes:)
3009
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3297
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3010
3298
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3011
3299
ac_tool_warned=yes ;;
3012
3300
esac
3017
3305
fi
3018
3306
 
3019
3307
 
3020
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3308
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021
3309
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3023
 
See \`config.log' for more details." >&5
3024
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3025
 
See \`config.log' for more details." >&2;}
3026
 
   { (exit 1); exit 1; }; }; }
 
3310
as_fn_error "no acceptable C compiler found in \$PATH
 
3311
See \`config.log' for more details." "$LINENO" 5; }
3027
3312
 
3028
3313
# Provide some information about the compiler.
3029
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3314
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3030
3315
set X $ac_compile
3031
3316
ac_compiler=$2
3032
 
{ (ac_try="$ac_compiler --version >&5"
3033
 
case "(($ac_try" in
3034
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035
 
  *) ac_try_echo=$ac_try;;
3036
 
esac
3037
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3038
 
$as_echo "$ac_try_echo") >&5
3039
 
  (eval "$ac_compiler --version >&5") 2>&5
3040
 
  ac_status=$?
3041
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042
 
  (exit $ac_status); }
3043
 
{ (ac_try="$ac_compiler -v >&5"
3044
 
case "(($ac_try" in
3045
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046
 
  *) ac_try_echo=$ac_try;;
3047
 
esac
3048
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3049
 
$as_echo "$ac_try_echo") >&5
3050
 
  (eval "$ac_compiler -v >&5") 2>&5
3051
 
  ac_status=$?
3052
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053
 
  (exit $ac_status); }
3054
 
{ (ac_try="$ac_compiler -V >&5"
3055
 
case "(($ac_try" in
3056
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057
 
  *) ac_try_echo=$ac_try;;
3058
 
esac
3059
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3060
 
$as_echo "$ac_try_echo") >&5
3061
 
  (eval "$ac_compiler -V >&5") 2>&5
3062
 
  ac_status=$?
3063
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064
 
  (exit $ac_status); }
 
3317
for ac_option in --version -v -V -qversion; do
 
3318
  { { ac_try="$ac_compiler $ac_option >&5"
 
3319
case "(($ac_try" in
 
3320
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3321
  *) ac_try_echo=$ac_try;;
 
3322
esac
 
3323
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3324
$as_echo "$ac_try_echo"; } >&5
 
3325
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3326
  ac_status=$?
 
3327
  if test -s conftest.err; then
 
3328
    sed '10a\
 
3329
... rest of stderr output deleted ...
 
3330
         10q' conftest.err >conftest.er1
 
3331
    cat conftest.er1 >&5
 
3332
    rm -f conftest.er1 conftest.err
 
3333
  fi
 
3334
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3335
  test $ac_status = 0; }
 
3336
done
3065
3337
 
3066
 
cat >conftest.$ac_ext <<_ACEOF
3067
 
/* confdefs.h.  */
3068
 
_ACEOF
3069
 
cat confdefs.h >>conftest.$ac_ext
3070
 
cat >>conftest.$ac_ext <<_ACEOF
 
3338
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071
3339
/* end confdefs.h.  */
3072
 
 
 
3340
#include <stdio.h>
3073
3341
int
3074
3342
main ()
3075
3343
{
 
3344
FILE *f = fopen ("conftest.out", "w");
 
3345
 return ferror (f) || fclose (f) != 0;
3076
3346
 
3077
3347
  ;
3078
3348
  return 0;
3079
3349
}
3080
3350
_ACEOF
3081
3351
ac_clean_files_save=$ac_clean_files
3082
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3352
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3083
3353
# Try to create an executable without -o first, disregard a.out.
3084
3354
# It will help us diagnose broken compilers, and finding out an intuition
3085
3355
# of exeext.
3086
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3087
3357
$as_echo_n "checking for C compiler default output file name... " >&6; }
3088
3358
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3089
3359
 
3100
3370
done
3101
3371
rm -f $ac_rmfiles
3102
3372
 
3103
 
if { (ac_try="$ac_link_default"
 
3373
if { { ac_try="$ac_link_default"
3104
3374
case "(($ac_try" in
3105
3375
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106
3376
  *) ac_try_echo=$ac_try;;
3107
3377
esac
3108
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3109
 
$as_echo "$ac_try_echo") >&5
 
3378
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3379
$as_echo "$ac_try_echo"; } >&5
3110
3380
  (eval "$ac_link_default") 2>&5
3111
3381
  ac_status=$?
3112
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113
 
  (exit $ac_status); }; then
 
3382
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3383
  test $ac_status = 0; }; then :
3114
3384
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3115
3385
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3116
3386
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3127
3397
        # certainly right.
3128
3398
        break;;
3129
3399
    *.* )
3130
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3400
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3131
3401
        then :; else
3132
3402
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3133
3403
        fi
3146
3416
else
3147
3417
  ac_file=''
3148
3418
fi
3149
 
 
3150
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3419
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3151
3420
$as_echo "$ac_file" >&6; }
3152
 
if test -z "$ac_file"; then
 
3421
if test -z "$ac_file"; then :
3153
3422
  $as_echo "$as_me: failed program was:" >&5
3154
3423
sed 's/^/| /' conftest.$ac_ext >&5
3155
3424
 
3156
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3425
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3157
3426
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3158
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3159
 
See \`config.log' for more details." >&5
3160
 
$as_echo "$as_me: error: C compiler cannot create executables
3161
 
See \`config.log' for more details." >&2;}
3162
 
   { (exit 77); exit 77; }; }; }
 
3427
{ as_fn_set_status 77
 
3428
as_fn_error "C compiler cannot create executables
 
3429
See \`config.log' for more details." "$LINENO" 5; }; }
3163
3430
fi
3164
 
 
3165
3431
ac_exeext=$ac_cv_exeext
3166
3432
 
3167
3433
# Check that the compiler produces executables we can run.  If not, either
3168
3434
# the compiler is broken, or we cross compile.
3169
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3170
3436
$as_echo_n "checking whether the C compiler works... " >&6; }
3171
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3172
3437
# If not cross compiling, check that we can run a simple program.
3173
3438
if test "$cross_compiling" != yes; then
3174
3439
  if { ac_try='./$ac_file'
3175
 
  { (case "(($ac_try" in
 
3440
  { { case "(($ac_try" in
3176
3441
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177
3442
  *) ac_try_echo=$ac_try;;
3178
3443
esac
3179
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3180
 
$as_echo "$ac_try_echo") >&5
 
3444
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3445
$as_echo "$ac_try_echo"; } >&5
3181
3446
  (eval "$ac_try") 2>&5
3182
3447
  ac_status=$?
3183
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184
 
  (exit $ac_status); }; }; then
 
3448
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3449
  test $ac_status = 0; }; }; then
3185
3450
    cross_compiling=no
3186
3451
  else
3187
3452
    if test "$cross_compiling" = maybe; then
3188
3453
        cross_compiling=yes
3189
3454
    else
3190
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3455
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191
3456
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3193
 
If you meant to cross compile, use \`--host'.
3194
 
See \`config.log' for more details." >&5
3195
 
$as_echo "$as_me: error: cannot run C compiled programs.
3196
 
If you meant to cross compile, use \`--host'.
3197
 
See \`config.log' for more details." >&2;}
3198
 
   { (exit 1); exit 1; }; }; }
 
3457
as_fn_error "cannot run C compiled programs.
 
3458
If you meant to cross compile, use \`--host'.
 
3459
See \`config.log' for more details." "$LINENO" 5; }
3199
3460
    fi
3200
3461
  fi
3201
3462
fi
3202
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3203
3464
$as_echo "yes" >&6; }
3204
3465
 
3205
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3466
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3206
3467
ac_clean_files=$ac_clean_files_save
3207
3468
# Check that the compiler produces executables we can run.  If not, either
3208
3469
# the compiler is broken, or we cross compile.
3209
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3210
3471
$as_echo_n "checking whether we are cross compiling... " >&6; }
3211
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3212
3473
$as_echo "$cross_compiling" >&6; }
3213
3474
 
3214
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3215
3476
$as_echo_n "checking for suffix of executables... " >&6; }
3216
 
if { (ac_try="$ac_link"
 
3477
if { { ac_try="$ac_link"
3217
3478
case "(($ac_try" in
3218
3479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3219
3480
  *) ac_try_echo=$ac_try;;
3220
3481
esac
3221
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3222
 
$as_echo "$ac_try_echo") >&5
 
3482
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3483
$as_echo "$ac_try_echo"; } >&5
3223
3484
  (eval "$ac_link") 2>&5
3224
3485
  ac_status=$?
3225
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226
 
  (exit $ac_status); }; then
 
3486
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3487
  test $ac_status = 0; }; then :
3227
3488
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3228
3489
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3229
3490
# work properly (i.e., refer to `conftest.exe'), while it won't with
3238
3499
  esac
3239
3500
done
3240
3501
else
3241
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3502
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242
3503
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3244
 
See \`config.log' for more details." >&5
3245
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3246
 
See \`config.log' for more details." >&2;}
3247
 
   { (exit 1); exit 1; }; }; }
 
3504
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3505
See \`config.log' for more details." "$LINENO" 5; }
3248
3506
fi
3249
 
 
3250
3507
rm -f conftest$ac_cv_exeext
3251
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3252
3509
$as_echo "$ac_cv_exeext" >&6; }
3253
3510
 
3254
3511
rm -f conftest.$ac_ext
3255
3512
EXEEXT=$ac_cv_exeext
3256
3513
ac_exeext=$EXEEXT
3257
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3258
3515
$as_echo_n "checking for suffix of object files... " >&6; }
3259
 
if test "${ac_cv_objext+set}" = set; then
 
3516
if test "${ac_cv_objext+set}" = set; then :
3260
3517
  $as_echo_n "(cached) " >&6
3261
3518
else
3262
 
  cat >conftest.$ac_ext <<_ACEOF
3263
 
/* confdefs.h.  */
3264
 
_ACEOF
3265
 
cat confdefs.h >>conftest.$ac_ext
3266
 
cat >>conftest.$ac_ext <<_ACEOF
 
3519
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267
3520
/* end confdefs.h.  */
3268
3521
 
3269
3522
int
3275
3528
}
3276
3529
_ACEOF
3277
3530
rm -f conftest.o conftest.obj
3278
 
if { (ac_try="$ac_compile"
 
3531
if { { ac_try="$ac_compile"
3279
3532
case "(($ac_try" in
3280
3533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3281
3534
  *) ac_try_echo=$ac_try;;
3282
3535
esac
3283
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3284
 
$as_echo "$ac_try_echo") >&5
 
3536
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3537
$as_echo "$ac_try_echo"; } >&5
3285
3538
  (eval "$ac_compile") 2>&5
3286
3539
  ac_status=$?
3287
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288
 
  (exit $ac_status); }; then
 
3540
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3541
  test $ac_status = 0; }; then :
3289
3542
  for ac_file in conftest.o conftest.obj conftest.*; do
3290
3543
  test -f "$ac_file" || continue;
3291
3544
  case $ac_file in
3298
3551
  $as_echo "$as_me: failed program was:" >&5
3299
3552
sed 's/^/| /' conftest.$ac_ext >&5
3300
3553
 
3301
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3554
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3302
3555
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3303
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3304
 
See \`config.log' for more details." >&5
3305
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3306
 
See \`config.log' for more details." >&2;}
3307
 
   { (exit 1); exit 1; }; }; }
 
3556
as_fn_error "cannot compute suffix of object files: cannot compile
 
3557
See \`config.log' for more details." "$LINENO" 5; }
3308
3558
fi
3309
 
 
3310
3559
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3311
3560
fi
3312
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3313
3562
$as_echo "$ac_cv_objext" >&6; }
3314
3563
OBJEXT=$ac_cv_objext
3315
3564
ac_objext=$OBJEXT
3316
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3317
3566
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3318
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3567
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3319
3568
  $as_echo_n "(cached) " >&6
3320
3569
else
3321
 
  cat >conftest.$ac_ext <<_ACEOF
3322
 
/* confdefs.h.  */
3323
 
_ACEOF
3324
 
cat confdefs.h >>conftest.$ac_ext
3325
 
cat >>conftest.$ac_ext <<_ACEOF
 
3570
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326
3571
/* end confdefs.h.  */
3327
3572
 
3328
3573
int
3336
3581
  return 0;
3337
3582
}
3338
3583
_ACEOF
3339
 
rm -f conftest.$ac_objext
3340
 
if { (ac_try="$ac_compile"
3341
 
case "(($ac_try" in
3342
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343
 
  *) ac_try_echo=$ac_try;;
3344
 
esac
3345
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3346
 
$as_echo "$ac_try_echo") >&5
3347
 
  (eval "$ac_compile") 2>conftest.er1
3348
 
  ac_status=$?
3349
 
  grep -v '^ *+' conftest.er1 >conftest.err
3350
 
  rm -f conftest.er1
3351
 
  cat conftest.err >&5
3352
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353
 
  (exit $ac_status); } && {
3354
 
         test -z "$ac_c_werror_flag" ||
3355
 
         test ! -s conftest.err
3356
 
       } && test -s conftest.$ac_objext; then
 
3584
if ac_fn_c_try_compile "$LINENO"; then :
3357
3585
  ac_compiler_gnu=yes
3358
3586
else
3359
 
  $as_echo "$as_me: failed program was:" >&5
3360
 
sed 's/^/| /' conftest.$ac_ext >&5
3361
 
 
3362
 
        ac_compiler_gnu=no
 
3587
  ac_compiler_gnu=no
3363
3588
fi
3364
 
 
3365
3589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366
3590
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3367
3591
 
3368
3592
fi
3369
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3370
3594
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3371
3595
if test $ac_compiler_gnu = yes; then
3372
3596
  GCC=yes
3375
3599
fi
3376
3600
ac_test_CFLAGS=${CFLAGS+set}
3377
3601
ac_save_CFLAGS=$CFLAGS
3378
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3379
3603
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3380
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3604
if test "${ac_cv_prog_cc_g+set}" = set; then :
3381
3605
  $as_echo_n "(cached) " >&6
3382
3606
else
3383
3607
  ac_save_c_werror_flag=$ac_c_werror_flag
3384
3608
   ac_c_werror_flag=yes
3385
3609
   ac_cv_prog_cc_g=no
3386
3610
   CFLAGS="-g"
3387
 
   cat >conftest.$ac_ext <<_ACEOF
3388
 
/* confdefs.h.  */
3389
 
_ACEOF
3390
 
cat confdefs.h >>conftest.$ac_ext
3391
 
cat >>conftest.$ac_ext <<_ACEOF
 
3611
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3392
3612
/* end confdefs.h.  */
3393
3613
 
3394
3614
int
3399
3619
  return 0;
3400
3620
}
3401
3621
_ACEOF
3402
 
rm -f conftest.$ac_objext
3403
 
if { (ac_try="$ac_compile"
3404
 
case "(($ac_try" in
3405
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406
 
  *) ac_try_echo=$ac_try;;
3407
 
esac
3408
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3409
 
$as_echo "$ac_try_echo") >&5
3410
 
  (eval "$ac_compile") 2>conftest.er1
3411
 
  ac_status=$?
3412
 
  grep -v '^ *+' conftest.er1 >conftest.err
3413
 
  rm -f conftest.er1
3414
 
  cat conftest.err >&5
3415
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416
 
  (exit $ac_status); } && {
3417
 
         test -z "$ac_c_werror_flag" ||
3418
 
         test ! -s conftest.err
3419
 
       } && test -s conftest.$ac_objext; then
 
3622
if ac_fn_c_try_compile "$LINENO"; then :
3420
3623
  ac_cv_prog_cc_g=yes
3421
3624
else
3422
 
  $as_echo "$as_me: failed program was:" >&5
3423
 
sed 's/^/| /' conftest.$ac_ext >&5
3424
 
 
3425
 
        CFLAGS=""
3426
 
      cat >conftest.$ac_ext <<_ACEOF
3427
 
/* confdefs.h.  */
3428
 
_ACEOF
3429
 
cat confdefs.h >>conftest.$ac_ext
3430
 
cat >>conftest.$ac_ext <<_ACEOF
 
3625
  CFLAGS=""
 
3626
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431
3627
/* end confdefs.h.  */
3432
3628
 
3433
3629
int
3438
3634
  return 0;
3439
3635
}
3440
3636
_ACEOF
3441
 
rm -f conftest.$ac_objext
3442
 
if { (ac_try="$ac_compile"
3443
 
case "(($ac_try" in
3444
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445
 
  *) ac_try_echo=$ac_try;;
3446
 
esac
3447
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3448
 
$as_echo "$ac_try_echo") >&5
3449
 
  (eval "$ac_compile") 2>conftest.er1
3450
 
  ac_status=$?
3451
 
  grep -v '^ *+' conftest.er1 >conftest.err
3452
 
  rm -f conftest.er1
3453
 
  cat conftest.err >&5
3454
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455
 
  (exit $ac_status); } && {
3456
 
         test -z "$ac_c_werror_flag" ||
3457
 
         test ! -s conftest.err
3458
 
       } && test -s conftest.$ac_objext; then
3459
 
  :
 
3637
if ac_fn_c_try_compile "$LINENO"; then :
 
3638
 
3460
3639
else
3461
 
  $as_echo "$as_me: failed program was:" >&5
3462
 
sed 's/^/| /' conftest.$ac_ext >&5
3463
 
 
3464
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3640
  ac_c_werror_flag=$ac_save_c_werror_flag
3465
3641
         CFLAGS="-g"
3466
 
         cat >conftest.$ac_ext <<_ACEOF
3467
 
/* confdefs.h.  */
3468
 
_ACEOF
3469
 
cat confdefs.h >>conftest.$ac_ext
3470
 
cat >>conftest.$ac_ext <<_ACEOF
 
3642
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471
3643
/* end confdefs.h.  */
3472
3644
 
3473
3645
int
3478
3650
  return 0;
3479
3651
}
3480
3652
_ACEOF
3481
 
rm -f conftest.$ac_objext
3482
 
if { (ac_try="$ac_compile"
3483
 
case "(($ac_try" in
3484
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485
 
  *) ac_try_echo=$ac_try;;
3486
 
esac
3487
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3488
 
$as_echo "$ac_try_echo") >&5
3489
 
  (eval "$ac_compile") 2>conftest.er1
3490
 
  ac_status=$?
3491
 
  grep -v '^ *+' conftest.er1 >conftest.err
3492
 
  rm -f conftest.er1
3493
 
  cat conftest.err >&5
3494
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495
 
  (exit $ac_status); } && {
3496
 
         test -z "$ac_c_werror_flag" ||
3497
 
         test ! -s conftest.err
3498
 
       } && test -s conftest.$ac_objext; then
 
3653
if ac_fn_c_try_compile "$LINENO"; then :
3499
3654
  ac_cv_prog_cc_g=yes
3500
 
else
3501
 
  $as_echo "$as_me: failed program was:" >&5
3502
 
sed 's/^/| /' conftest.$ac_ext >&5
3503
 
 
3504
 
 
3505
 
fi
3506
 
 
3507
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3508
 
fi
3509
 
 
3510
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511
 
fi
3512
 
 
 
3655
fi
 
3656
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3657
fi
 
3658
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3659
fi
3513
3660
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514
3661
   ac_c_werror_flag=$ac_save_c_werror_flag
3515
3662
fi
3516
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3517
3664
$as_echo "$ac_cv_prog_cc_g" >&6; }
3518
3665
if test "$ac_test_CFLAGS" = set; then
3519
3666
  CFLAGS=$ac_save_CFLAGS
3530
3677
    CFLAGS=
3531
3678
  fi
3532
3679
fi
3533
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3534
3681
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3535
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3682
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3536
3683
  $as_echo_n "(cached) " >&6
3537
3684
else
3538
3685
  ac_cv_prog_cc_c89=no
3539
3686
ac_save_CC=$CC
3540
 
cat >conftest.$ac_ext <<_ACEOF
3541
 
/* confdefs.h.  */
3542
 
_ACEOF
3543
 
cat confdefs.h >>conftest.$ac_ext
3544
 
cat >>conftest.$ac_ext <<_ACEOF
 
3687
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545
3688
/* end confdefs.h.  */
3546
3689
#include <stdarg.h>
3547
3690
#include <stdio.h>
3598
3741
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3599
3742
do
3600
3743
  CC="$ac_save_CC $ac_arg"
3601
 
  rm -f conftest.$ac_objext
3602
 
if { (ac_try="$ac_compile"
3603
 
case "(($ac_try" in
3604
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3605
 
  *) ac_try_echo=$ac_try;;
3606
 
esac
3607
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3608
 
$as_echo "$ac_try_echo") >&5
3609
 
  (eval "$ac_compile") 2>conftest.er1
3610
 
  ac_status=$?
3611
 
  grep -v '^ *+' conftest.er1 >conftest.err
3612
 
  rm -f conftest.er1
3613
 
  cat conftest.err >&5
3614
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615
 
  (exit $ac_status); } && {
3616
 
         test -z "$ac_c_werror_flag" ||
3617
 
         test ! -s conftest.err
3618
 
       } && test -s conftest.$ac_objext; then
 
3744
  if ac_fn_c_try_compile "$LINENO"; then :
3619
3745
  ac_cv_prog_cc_c89=$ac_arg
3620
 
else
3621
 
  $as_echo "$as_me: failed program was:" >&5
3622
 
sed 's/^/| /' conftest.$ac_ext >&5
3623
 
 
3624
 
 
3625
3746
fi
3626
 
 
3627
3747
rm -f core conftest.err conftest.$ac_objext
3628
3748
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3629
3749
done
3634
3754
# AC_CACHE_VAL
3635
3755
case "x$ac_cv_prog_cc_c89" in
3636
3756
  x)
3637
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3757
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3638
3758
$as_echo "none needed" >&6; } ;;
3639
3759
  xno)
3640
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3760
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3641
3761
$as_echo "unsupported" >&6; } ;;
3642
3762
  *)
3643
3763
    CC="$CC $ac_cv_prog_cc_c89"
3644
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3764
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3645
3765
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3646
3766
esac
 
3767
if test "x$ac_cv_prog_cc_c89" != xno; then :
3647
3768
 
 
3769
fi
3648
3770
 
3649
3771
ac_ext=c
3650
3772
ac_cpp='$CPP $CPPFLAGS'
3654
3776
 
3655
3777
depcc="$CC"   am_compiler_list=
3656
3778
 
3657
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3658
3780
$as_echo_n "checking dependency style of $depcc... " >&6; }
3659
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3781
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3660
3782
  $as_echo_n "(cached) " >&6
3661
3783
else
3662
3784
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3682
3804
  if test "$am_compiler_list" = ""; then
3683
3805
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3684
3806
  fi
 
3807
  am__universal=false
 
3808
  case " $depcc " in #(
 
3809
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3810
     esac
 
3811
 
3685
3812
  for depmode in $am_compiler_list; do
3686
3813
    # Setup a source with many dependencies, because some compilers
3687
3814
    # like to wrap large dependency lists on column 80 (with \), and
3699
3826
    done
3700
3827
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3701
3828
 
 
3829
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3830
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3831
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3832
    # versions had trouble with output in subdirs
 
3833
    am__obj=sub/conftest.${OBJEXT-o}
 
3834
    am__minus_obj="-o $am__obj"
3702
3835
    case $depmode in
 
3836
    gcc)
 
3837
      # This depmode causes a compiler race in universal mode.
 
3838
      test "$am__universal" = false || continue
 
3839
      ;;
3703
3840
    nosideeffect)
3704
3841
      # after this tag, mechanisms are not by side-effect, so they'll
3705
3842
      # only be used when explicitly requested
3709
3846
        break
3710
3847
      fi
3711
3848
      ;;
 
3849
    msvisualcpp | msvcmsys)
 
3850
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3851
      # not run yet.  These depmodes are late enough in the game, and
 
3852
      # so weak that their functioning should not be impacted.
 
3853
      am__obj=conftest.${OBJEXT-o}
 
3854
      am__minus_obj=
 
3855
      ;;
3712
3856
    none) break ;;
3713
3857
    esac
3714
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3715
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3716
 
    # handle `-M -o', and we need to detect this.
3717
3858
    if depmode=$depmode \
3718
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3859
       source=sub/conftest.c object=$am__obj \
3719
3860
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3720
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3861
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3721
3862
         >/dev/null 2>conftest.err &&
3722
3863
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3723
3864
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3724
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3865
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3725
3866
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3726
3867
      # icc doesn't choke on unknown options, it will just issue warnings
3727
3868
      # or remarks (even with -Werror).  So we grep stderr for any message
3745
3886
fi
3746
3887
 
3747
3888
fi
3748
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3749
3890
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3750
3891
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3751
3892
 
3761
3902
 
3762
3903
 
3763
3904
 
3764
 
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3765
3906
$as_echo_n "checking for library containing strerror... " >&6; }
3766
 
if test "${ac_cv_search_strerror+set}" = set; then
 
3907
if test "${ac_cv_search_strerror+set}" = set; then :
3767
3908
  $as_echo_n "(cached) " >&6
3768
3909
else
3769
3910
  ac_func_search_save_LIBS=$LIBS
3770
 
cat >conftest.$ac_ext <<_ACEOF
3771
 
/* confdefs.h.  */
3772
 
_ACEOF
3773
 
cat confdefs.h >>conftest.$ac_ext
3774
 
cat >>conftest.$ac_ext <<_ACEOF
 
3911
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775
3912
/* end confdefs.h.  */
3776
3913
 
3777
3914
/* Override any GCC internal prototype to avoid an error.
3796
3933
    ac_res=-l$ac_lib
3797
3934
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3798
3935
  fi
3799
 
  rm -f conftest.$ac_objext conftest$ac_exeext
3800
 
if { (ac_try="$ac_link"
3801
 
case "(($ac_try" in
3802
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3803
 
  *) ac_try_echo=$ac_try;;
3804
 
esac
3805
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3806
 
$as_echo "$ac_try_echo") >&5
3807
 
  (eval "$ac_link") 2>conftest.er1
3808
 
  ac_status=$?
3809
 
  grep -v '^ *+' conftest.er1 >conftest.err
3810
 
  rm -f conftest.er1
3811
 
  cat conftest.err >&5
3812
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813
 
  (exit $ac_status); } && {
3814
 
         test -z "$ac_c_werror_flag" ||
3815
 
         test ! -s conftest.err
3816
 
       } && test -s conftest$ac_exeext && {
3817
 
         test "$cross_compiling" = yes ||
3818
 
         $as_test_x conftest$ac_exeext
3819
 
       }; then
 
3936
  if ac_fn_c_try_link "$LINENO"; then :
3820
3937
  ac_cv_search_strerror=$ac_res
3821
 
else
3822
 
  $as_echo "$as_me: failed program was:" >&5
3823
 
sed 's/^/| /' conftest.$ac_ext >&5
3824
 
 
3825
 
 
3826
3938
fi
3827
 
 
3828
 
rm -rf conftest.dSYM
3829
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3830
 
      conftest$ac_exeext
3831
 
  if test "${ac_cv_search_strerror+set}" = set; then
 
3939
rm -f core conftest.err conftest.$ac_objext \
 
3940
    conftest$ac_exeext
 
3941
  if test "${ac_cv_search_strerror+set}" = set; then :
3832
3942
  break
3833
3943
fi
3834
3944
done
3835
 
if test "${ac_cv_search_strerror+set}" = set; then
3836
 
  :
 
3945
if test "${ac_cv_search_strerror+set}" = set; then :
 
3946
 
3837
3947
else
3838
3948
  ac_cv_search_strerror=no
3839
3949
fi
3840
3950
rm conftest.$ac_ext
3841
3951
LIBS=$ac_func_search_save_LIBS
3842
3952
fi
3843
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3844
3954
$as_echo "$ac_cv_search_strerror" >&6; }
3845
3955
ac_res=$ac_cv_search_strerror
3846
 
if test "$ac_res" != no; then
 
3956
if test "$ac_res" != no; then :
3847
3957
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3848
3958
 
3849
3959
fi
3856
3966
if test -n "$ac_tool_prefix"; then
3857
3967
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3858
3968
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3859
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3860
3970
$as_echo_n "checking for $ac_word... " >&6; }
3861
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3971
if test "${ac_cv_prog_CC+set}" = set; then :
3862
3972
  $as_echo_n "(cached) " >&6
3863
3973
else
3864
3974
  if test -n "$CC"; then
3869
3979
do
3870
3980
  IFS=$as_save_IFS
3871
3981
  test -z "$as_dir" && as_dir=.
3872
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3982
    for ac_exec_ext in '' $ac_executable_extensions; do
3873
3983
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3874
3984
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3875
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3985
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3876
3986
    break 2
3877
3987
  fi
3878
3988
done
3879
 
done
 
3989
  done
3880
3990
IFS=$as_save_IFS
3881
3991
 
3882
3992
fi
3883
3993
fi
3884
3994
CC=$ac_cv_prog_CC
3885
3995
if test -n "$CC"; then
3886
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3996
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3887
3997
$as_echo "$CC" >&6; }
3888
3998
else
3889
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890
4000
$as_echo "no" >&6; }
3891
4001
fi
3892
4002
 
3896
4006
  ac_ct_CC=$CC
3897
4007
  # Extract the first word of "gcc", so it can be a program name with args.
3898
4008
set dummy gcc; ac_word=$2
3899
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3900
4010
$as_echo_n "checking for $ac_word... " >&6; }
3901
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4011
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3902
4012
  $as_echo_n "(cached) " >&6
3903
4013
else
3904
4014
  if test -n "$ac_ct_CC"; then
3909
4019
do
3910
4020
  IFS=$as_save_IFS
3911
4021
  test -z "$as_dir" && as_dir=.
3912
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4022
    for ac_exec_ext in '' $ac_executable_extensions; do
3913
4023
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3914
4024
    ac_cv_prog_ac_ct_CC="gcc"
3915
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4025
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916
4026
    break 2
3917
4027
  fi
3918
4028
done
3919
 
done
 
4029
  done
3920
4030
IFS=$as_save_IFS
3921
4031
 
3922
4032
fi
3923
4033
fi
3924
4034
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3925
4035
if test -n "$ac_ct_CC"; then
3926
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4036
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3927
4037
$as_echo "$ac_ct_CC" >&6; }
3928
4038
else
3929
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3930
4040
$as_echo "no" >&6; }
3931
4041
fi
3932
4042
 
3935
4045
  else
3936
4046
    case $cross_compiling:$ac_tool_warned in
3937
4047
yes:)
3938
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4048
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3939
4049
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3940
4050
ac_tool_warned=yes ;;
3941
4051
esac
3949
4059
          if test -n "$ac_tool_prefix"; then
3950
4060
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3951
4061
set dummy ${ac_tool_prefix}cc; ac_word=$2
3952
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3953
4063
$as_echo_n "checking for $ac_word... " >&6; }
3954
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4064
if test "${ac_cv_prog_CC+set}" = set; then :
3955
4065
  $as_echo_n "(cached) " >&6
3956
4066
else
3957
4067
  if test -n "$CC"; then
3962
4072
do
3963
4073
  IFS=$as_save_IFS
3964
4074
  test -z "$as_dir" && as_dir=.
3965
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4075
    for ac_exec_ext in '' $ac_executable_extensions; do
3966
4076
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3967
4077
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3968
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4078
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3969
4079
    break 2
3970
4080
  fi
3971
4081
done
3972
 
done
 
4082
  done
3973
4083
IFS=$as_save_IFS
3974
4084
 
3975
4085
fi
3976
4086
fi
3977
4087
CC=$ac_cv_prog_CC
3978
4088
if test -n "$CC"; then
3979
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4089
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3980
4090
$as_echo "$CC" >&6; }
3981
4091
else
3982
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4092
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3983
4093
$as_echo "no" >&6; }
3984
4094
fi
3985
4095
 
3989
4099
if test -z "$CC"; then
3990
4100
  # Extract the first word of "cc", so it can be a program name with args.
3991
4101
set dummy cc; ac_word=$2
3992
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993
4103
$as_echo_n "checking for $ac_word... " >&6; }
3994
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4104
if test "${ac_cv_prog_CC+set}" = set; then :
3995
4105
  $as_echo_n "(cached) " >&6
3996
4106
else
3997
4107
  if test -n "$CC"; then
4003
4113
do
4004
4114
  IFS=$as_save_IFS
4005
4115
  test -z "$as_dir" && as_dir=.
4006
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4116
    for ac_exec_ext in '' $ac_executable_extensions; do
4007
4117
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4008
4118
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4009
4119
       ac_prog_rejected=yes
4010
4120
       continue
4011
4121
     fi
4012
4122
    ac_cv_prog_CC="cc"
4013
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4123
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4014
4124
    break 2
4015
4125
  fi
4016
4126
done
4017
 
done
 
4127
  done
4018
4128
IFS=$as_save_IFS
4019
4129
 
4020
4130
if test $ac_prog_rejected = yes; then
4033
4143
fi
4034
4144
CC=$ac_cv_prog_CC
4035
4145
if test -n "$CC"; then
4036
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4146
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4037
4147
$as_echo "$CC" >&6; }
4038
4148
else
4039
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040
4150
$as_echo "no" >&6; }
4041
4151
fi
4042
4152
 
4048
4158
  do
4049
4159
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4050
4160
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4051
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4052
4162
$as_echo_n "checking for $ac_word... " >&6; }
4053
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4163
if test "${ac_cv_prog_CC+set}" = set; then :
4054
4164
  $as_echo_n "(cached) " >&6
4055
4165
else
4056
4166
  if test -n "$CC"; then
4061
4171
do
4062
4172
  IFS=$as_save_IFS
4063
4173
  test -z "$as_dir" && as_dir=.
4064
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4174
    for ac_exec_ext in '' $ac_executable_extensions; do
4065
4175
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4066
4176
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4067
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4177
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4068
4178
    break 2
4069
4179
  fi
4070
4180
done
4071
 
done
 
4181
  done
4072
4182
IFS=$as_save_IFS
4073
4183
 
4074
4184
fi
4075
4185
fi
4076
4186
CC=$ac_cv_prog_CC
4077
4187
if test -n "$CC"; then
4078
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4188
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4079
4189
$as_echo "$CC" >&6; }
4080
4190
else
4081
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4191
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4082
4192
$as_echo "no" >&6; }
4083
4193
fi
4084
4194
 
4092
4202
do
4093
4203
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4094
4204
set dummy $ac_prog; ac_word=$2
4095
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4096
4206
$as_echo_n "checking for $ac_word... " >&6; }
4097
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4207
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4098
4208
  $as_echo_n "(cached) " >&6
4099
4209
else
4100
4210
  if test -n "$ac_ct_CC"; then
4105
4215
do
4106
4216
  IFS=$as_save_IFS
4107
4217
  test -z "$as_dir" && as_dir=.
4108
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4218
    for ac_exec_ext in '' $ac_executable_extensions; do
4109
4219
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4110
4220
    ac_cv_prog_ac_ct_CC="$ac_prog"
4111
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4221
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112
4222
    break 2
4113
4223
  fi
4114
4224
done
4115
 
done
 
4225
  done
4116
4226
IFS=$as_save_IFS
4117
4227
 
4118
4228
fi
4119
4229
fi
4120
4230
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4121
4231
if test -n "$ac_ct_CC"; then
4122
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4232
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4123
4233
$as_echo "$ac_ct_CC" >&6; }
4124
4234
else
4125
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4235
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4126
4236
$as_echo "no" >&6; }
4127
4237
fi
4128
4238
 
4135
4245
  else
4136
4246
    case $cross_compiling:$ac_tool_warned in
4137
4247
yes:)
4138
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4248
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4139
4249
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4140
4250
ac_tool_warned=yes ;;
4141
4251
esac
4146
4256
fi
4147
4257
 
4148
4258
 
4149
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4259
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4150
4260
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4151
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4152
 
See \`config.log' for more details." >&5
4153
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4154
 
See \`config.log' for more details." >&2;}
4155
 
   { (exit 1); exit 1; }; }; }
 
4261
as_fn_error "no acceptable C compiler found in \$PATH
 
4262
See \`config.log' for more details." "$LINENO" 5; }
4156
4263
 
4157
4264
# Provide some information about the compiler.
4158
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4265
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4159
4266
set X $ac_compile
4160
4267
ac_compiler=$2
4161
 
{ (ac_try="$ac_compiler --version >&5"
4162
 
case "(($ac_try" in
4163
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164
 
  *) ac_try_echo=$ac_try;;
4165
 
esac
4166
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4167
 
$as_echo "$ac_try_echo") >&5
4168
 
  (eval "$ac_compiler --version >&5") 2>&5
4169
 
  ac_status=$?
4170
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171
 
  (exit $ac_status); }
4172
 
{ (ac_try="$ac_compiler -v >&5"
4173
 
case "(($ac_try" in
4174
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175
 
  *) ac_try_echo=$ac_try;;
4176
 
esac
4177
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4178
 
$as_echo "$ac_try_echo") >&5
4179
 
  (eval "$ac_compiler -v >&5") 2>&5
4180
 
  ac_status=$?
4181
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182
 
  (exit $ac_status); }
4183
 
{ (ac_try="$ac_compiler -V >&5"
4184
 
case "(($ac_try" in
4185
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4186
 
  *) ac_try_echo=$ac_try;;
4187
 
esac
4188
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4189
 
$as_echo "$ac_try_echo") >&5
4190
 
  (eval "$ac_compiler -V >&5") 2>&5
4191
 
  ac_status=$?
4192
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193
 
  (exit $ac_status); }
 
4268
for ac_option in --version -v -V -qversion; do
 
4269
  { { ac_try="$ac_compiler $ac_option >&5"
 
4270
case "(($ac_try" in
 
4271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4272
  *) ac_try_echo=$ac_try;;
 
4273
esac
 
4274
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4275
$as_echo "$ac_try_echo"; } >&5
 
4276
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4277
  ac_status=$?
 
4278
  if test -s conftest.err; then
 
4279
    sed '10a\
 
4280
... rest of stderr output deleted ...
 
4281
         10q' conftest.err >conftest.er1
 
4282
    cat conftest.er1 >&5
 
4283
    rm -f conftest.er1 conftest.err
 
4284
  fi
 
4285
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4286
  test $ac_status = 0; }
 
4287
done
4194
4288
 
4195
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4196
4290
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4197
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
4291
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4198
4292
  $as_echo_n "(cached) " >&6
4199
4293
else
4200
 
  cat >conftest.$ac_ext <<_ACEOF
4201
 
/* confdefs.h.  */
4202
 
_ACEOF
4203
 
cat confdefs.h >>conftest.$ac_ext
4204
 
cat >>conftest.$ac_ext <<_ACEOF
 
4294
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205
4295
/* end confdefs.h.  */
4206
4296
 
4207
4297
int
4215
4305
  return 0;
4216
4306
}
4217
4307
_ACEOF
4218
 
rm -f conftest.$ac_objext
4219
 
if { (ac_try="$ac_compile"
4220
 
case "(($ac_try" in
4221
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4222
 
  *) ac_try_echo=$ac_try;;
4223
 
esac
4224
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4225
 
$as_echo "$ac_try_echo") >&5
4226
 
  (eval "$ac_compile") 2>conftest.er1
4227
 
  ac_status=$?
4228
 
  grep -v '^ *+' conftest.er1 >conftest.err
4229
 
  rm -f conftest.er1
4230
 
  cat conftest.err >&5
4231
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232
 
  (exit $ac_status); } && {
4233
 
         test -z "$ac_c_werror_flag" ||
4234
 
         test ! -s conftest.err
4235
 
       } && test -s conftest.$ac_objext; then
 
4308
if ac_fn_c_try_compile "$LINENO"; then :
4236
4309
  ac_compiler_gnu=yes
4237
4310
else
4238
 
  $as_echo "$as_me: failed program was:" >&5
4239
 
sed 's/^/| /' conftest.$ac_ext >&5
4240
 
 
4241
 
        ac_compiler_gnu=no
 
4311
  ac_compiler_gnu=no
4242
4312
fi
4243
 
 
4244
4313
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245
4314
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4246
4315
 
4247
4316
fi
4248
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4317
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4249
4318
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4250
4319
if test $ac_compiler_gnu = yes; then
4251
4320
  GCC=yes
4254
4323
fi
4255
4324
ac_test_CFLAGS=${CFLAGS+set}
4256
4325
ac_save_CFLAGS=$CFLAGS
4257
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4258
4327
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4259
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
4328
if test "${ac_cv_prog_cc_g+set}" = set; then :
4260
4329
  $as_echo_n "(cached) " >&6
4261
4330
else
4262
4331
  ac_save_c_werror_flag=$ac_c_werror_flag
4263
4332
   ac_c_werror_flag=yes
4264
4333
   ac_cv_prog_cc_g=no
4265
4334
   CFLAGS="-g"
4266
 
   cat >conftest.$ac_ext <<_ACEOF
4267
 
/* confdefs.h.  */
4268
 
_ACEOF
4269
 
cat confdefs.h >>conftest.$ac_ext
4270
 
cat >>conftest.$ac_ext <<_ACEOF
 
4335
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271
4336
/* end confdefs.h.  */
4272
4337
 
4273
4338
int
4278
4343
  return 0;
4279
4344
}
4280
4345
_ACEOF
4281
 
rm -f conftest.$ac_objext
4282
 
if { (ac_try="$ac_compile"
4283
 
case "(($ac_try" in
4284
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4285
 
  *) ac_try_echo=$ac_try;;
4286
 
esac
4287
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4288
 
$as_echo "$ac_try_echo") >&5
4289
 
  (eval "$ac_compile") 2>conftest.er1
4290
 
  ac_status=$?
4291
 
  grep -v '^ *+' conftest.er1 >conftest.err
4292
 
  rm -f conftest.er1
4293
 
  cat conftest.err >&5
4294
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295
 
  (exit $ac_status); } && {
4296
 
         test -z "$ac_c_werror_flag" ||
4297
 
         test ! -s conftest.err
4298
 
       } && test -s conftest.$ac_objext; then
 
4346
if ac_fn_c_try_compile "$LINENO"; then :
4299
4347
  ac_cv_prog_cc_g=yes
4300
4348
else
4301
 
  $as_echo "$as_me: failed program was:" >&5
4302
 
sed 's/^/| /' conftest.$ac_ext >&5
4303
 
 
4304
 
        CFLAGS=""
4305
 
      cat >conftest.$ac_ext <<_ACEOF
4306
 
/* confdefs.h.  */
4307
 
_ACEOF
4308
 
cat confdefs.h >>conftest.$ac_ext
4309
 
cat >>conftest.$ac_ext <<_ACEOF
 
4349
  CFLAGS=""
 
4350
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310
4351
/* end confdefs.h.  */
4311
4352
 
4312
4353
int
4317
4358
  return 0;
4318
4359
}
4319
4360
_ACEOF
4320
 
rm -f conftest.$ac_objext
4321
 
if { (ac_try="$ac_compile"
4322
 
case "(($ac_try" in
4323
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324
 
  *) ac_try_echo=$ac_try;;
4325
 
esac
4326
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4327
 
$as_echo "$ac_try_echo") >&5
4328
 
  (eval "$ac_compile") 2>conftest.er1
4329
 
  ac_status=$?
4330
 
  grep -v '^ *+' conftest.er1 >conftest.err
4331
 
  rm -f conftest.er1
4332
 
  cat conftest.err >&5
4333
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334
 
  (exit $ac_status); } && {
4335
 
         test -z "$ac_c_werror_flag" ||
4336
 
         test ! -s conftest.err
4337
 
       } && test -s conftest.$ac_objext; then
4338
 
  :
 
4361
if ac_fn_c_try_compile "$LINENO"; then :
 
4362
 
4339
4363
else
4340
 
  $as_echo "$as_me: failed program was:" >&5
4341
 
sed 's/^/| /' conftest.$ac_ext >&5
4342
 
 
4343
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4364
  ac_c_werror_flag=$ac_save_c_werror_flag
4344
4365
         CFLAGS="-g"
4345
 
         cat >conftest.$ac_ext <<_ACEOF
4346
 
/* confdefs.h.  */
4347
 
_ACEOF
4348
 
cat confdefs.h >>conftest.$ac_ext
4349
 
cat >>conftest.$ac_ext <<_ACEOF
 
4366
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350
4367
/* end confdefs.h.  */
4351
4368
 
4352
4369
int
4357
4374
  return 0;
4358
4375
}
4359
4376
_ACEOF
4360
 
rm -f conftest.$ac_objext
4361
 
if { (ac_try="$ac_compile"
4362
 
case "(($ac_try" in
4363
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4364
 
  *) ac_try_echo=$ac_try;;
4365
 
esac
4366
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4367
 
$as_echo "$ac_try_echo") >&5
4368
 
  (eval "$ac_compile") 2>conftest.er1
4369
 
  ac_status=$?
4370
 
  grep -v '^ *+' conftest.er1 >conftest.err
4371
 
  rm -f conftest.er1
4372
 
  cat conftest.err >&5
4373
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374
 
  (exit $ac_status); } && {
4375
 
         test -z "$ac_c_werror_flag" ||
4376
 
         test ! -s conftest.err
4377
 
       } && test -s conftest.$ac_objext; then
 
4377
if ac_fn_c_try_compile "$LINENO"; then :
4378
4378
  ac_cv_prog_cc_g=yes
4379
 
else
4380
 
  $as_echo "$as_me: failed program was:" >&5
4381
 
sed 's/^/| /' conftest.$ac_ext >&5
4382
 
 
4383
 
 
4384
 
fi
4385
 
 
4386
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4387
 
fi
4388
 
 
4389
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4390
 
fi
4391
 
 
 
4379
fi
 
4380
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4381
fi
 
4382
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4383
fi
4392
4384
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4393
4385
   ac_c_werror_flag=$ac_save_c_werror_flag
4394
4386
fi
4395
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4396
4388
$as_echo "$ac_cv_prog_cc_g" >&6; }
4397
4389
if test "$ac_test_CFLAGS" = set; then
4398
4390
  CFLAGS=$ac_save_CFLAGS
4409
4401
    CFLAGS=
4410
4402
  fi
4411
4403
fi
4412
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4413
4405
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4414
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
4406
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4415
4407
  $as_echo_n "(cached) " >&6
4416
4408
else
4417
4409
  ac_cv_prog_cc_c89=no
4418
4410
ac_save_CC=$CC
4419
 
cat >conftest.$ac_ext <<_ACEOF
4420
 
/* confdefs.h.  */
4421
 
_ACEOF
4422
 
cat confdefs.h >>conftest.$ac_ext
4423
 
cat >>conftest.$ac_ext <<_ACEOF
 
4411
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424
4412
/* end confdefs.h.  */
4425
4413
#include <stdarg.h>
4426
4414
#include <stdio.h>
4477
4465
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4478
4466
do
4479
4467
  CC="$ac_save_CC $ac_arg"
4480
 
  rm -f conftest.$ac_objext
4481
 
if { (ac_try="$ac_compile"
4482
 
case "(($ac_try" in
4483
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4484
 
  *) ac_try_echo=$ac_try;;
4485
 
esac
4486
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4487
 
$as_echo "$ac_try_echo") >&5
4488
 
  (eval "$ac_compile") 2>conftest.er1
4489
 
  ac_status=$?
4490
 
  grep -v '^ *+' conftest.er1 >conftest.err
4491
 
  rm -f conftest.er1
4492
 
  cat conftest.err >&5
4493
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494
 
  (exit $ac_status); } && {
4495
 
         test -z "$ac_c_werror_flag" ||
4496
 
         test ! -s conftest.err
4497
 
       } && test -s conftest.$ac_objext; then
 
4468
  if ac_fn_c_try_compile "$LINENO"; then :
4498
4469
  ac_cv_prog_cc_c89=$ac_arg
4499
 
else
4500
 
  $as_echo "$as_me: failed program was:" >&5
4501
 
sed 's/^/| /' conftest.$ac_ext >&5
4502
 
 
4503
 
 
4504
4470
fi
4505
 
 
4506
4471
rm -f core conftest.err conftest.$ac_objext
4507
4472
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4508
4473
done
4513
4478
# AC_CACHE_VAL
4514
4479
case "x$ac_cv_prog_cc_c89" in
4515
4480
  x)
4516
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4481
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4517
4482
$as_echo "none needed" >&6; } ;;
4518
4483
  xno)
4519
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4484
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4520
4485
$as_echo "unsupported" >&6; } ;;
4521
4486
  *)
4522
4487
    CC="$CC $ac_cv_prog_cc_c89"
4523
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4488
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4524
4489
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4525
4490
esac
 
4491
if test "x$ac_cv_prog_cc_c89" != xno; then :
4526
4492
 
 
4493
fi
4527
4494
 
4528
4495
ac_ext=c
4529
4496
ac_cpp='$CPP $CPPFLAGS'
4533
4500
 
4534
4501
depcc="$CC"   am_compiler_list=
4535
4502
 
4536
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4537
4504
$as_echo_n "checking dependency style of $depcc... " >&6; }
4538
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
4505
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4539
4506
  $as_echo_n "(cached) " >&6
4540
4507
else
4541
4508
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4561
4528
  if test "$am_compiler_list" = ""; then
4562
4529
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4563
4530
  fi
 
4531
  am__universal=false
 
4532
  case " $depcc " in #(
 
4533
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4534
     esac
 
4535
 
4564
4536
  for depmode in $am_compiler_list; do
4565
4537
    # Setup a source with many dependencies, because some compilers
4566
4538
    # like to wrap large dependency lists on column 80 (with \), and
4578
4550
    done
4579
4551
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4580
4552
 
 
4553
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4554
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4555
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4556
    # versions had trouble with output in subdirs
 
4557
    am__obj=sub/conftest.${OBJEXT-o}
 
4558
    am__minus_obj="-o $am__obj"
4581
4559
    case $depmode in
 
4560
    gcc)
 
4561
      # This depmode causes a compiler race in universal mode.
 
4562
      test "$am__universal" = false || continue
 
4563
      ;;
4582
4564
    nosideeffect)
4583
4565
      # after this tag, mechanisms are not by side-effect, so they'll
4584
4566
      # only be used when explicitly requested
4588
4570
        break
4589
4571
      fi
4590
4572
      ;;
 
4573
    msvisualcpp | msvcmsys)
 
4574
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4575
      # not run yet.  These depmodes are late enough in the game, and
 
4576
      # so weak that their functioning should not be impacted.
 
4577
      am__obj=conftest.${OBJEXT-o}
 
4578
      am__minus_obj=
 
4579
      ;;
4591
4580
    none) break ;;
4592
4581
    esac
4593
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4594
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4595
 
    # handle `-M -o', and we need to detect this.
4596
4582
    if depmode=$depmode \
4597
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4583
       source=sub/conftest.c object=$am__obj \
4598
4584
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4599
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4585
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4600
4586
         >/dev/null 2>conftest.err &&
4601
4587
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4602
4588
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4603
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4589
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4604
4590
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4605
4591
      # icc doesn't choke on unknown options, it will just issue warnings
4606
4592
      # or remarks (even with -Werror).  So we grep stderr for any message
4624
4610
fi
4625
4611
 
4626
4612
fi
4627
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4628
4614
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4629
4615
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4630
4616
 
4641
4627
 
4642
4628
case `pwd` in
4643
4629
  *\ * | *\     *)
4644
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4630
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4645
4631
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4646
4632
esac
4647
4633
 
4666
4652
 
4667
4653
# Make sure we can run config.sub.
4668
4654
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4669
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4670
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4671
 
   { (exit 1); exit 1; }; }
 
4655
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4672
4656
 
4673
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4674
4658
$as_echo_n "checking build system type... " >&6; }
4675
 
if test "${ac_cv_build+set}" = set; then
 
4659
if test "${ac_cv_build+set}" = set; then :
4676
4660
  $as_echo_n "(cached) " >&6
4677
4661
else
4678
4662
  ac_build_alias=$build_alias
4679
4663
test "x$ac_build_alias" = x &&
4680
4664
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4681
4665
test "x$ac_build_alias" = x &&
4682
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4683
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4684
 
   { (exit 1); exit 1; }; }
 
4666
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4685
4667
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4686
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4687
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4688
 
   { (exit 1); exit 1; }; }
 
4668
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4689
4669
 
4690
4670
fi
4691
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4692
4672
$as_echo "$ac_cv_build" >&6; }
4693
4673
case $ac_cv_build in
4694
4674
*-*-*) ;;
4695
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4696
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4697
 
   { (exit 1); exit 1; }; };;
 
4675
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4698
4676
esac
4699
4677
build=$ac_cv_build
4700
4678
ac_save_IFS=$IFS; IFS='-'
4710
4688
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4711
4689
 
4712
4690
 
4713
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4714
4692
$as_echo_n "checking host system type... " >&6; }
4715
 
if test "${ac_cv_host+set}" = set; then
 
4693
if test "${ac_cv_host+set}" = set; then :
4716
4694
  $as_echo_n "(cached) " >&6
4717
4695
else
4718
4696
  if test "x$host_alias" = x; then
4719
4697
  ac_cv_host=$ac_cv_build
4720
4698
else
4721
4699
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4722
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4723
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4724
 
   { (exit 1); exit 1; }; }
 
4700
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4725
4701
fi
4726
4702
 
4727
4703
fi
4728
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4729
4705
$as_echo "$ac_cv_host" >&6; }
4730
4706
case $ac_cv_host in
4731
4707
*-*-*) ;;
4732
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4733
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4734
 
   { (exit 1); exit 1; }; };;
 
4708
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4735
4709
esac
4736
4710
host=$ac_cv_host
4737
4711
ac_save_IFS=$IFS; IFS='-'
4747
4721
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4748
4722
 
4749
4723
 
4750
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4751
4725
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4752
 
if test "${ac_cv_path_SED+set}" = set; then
 
4726
if test "${ac_cv_path_SED+set}" = set; then :
4753
4727
  $as_echo_n "(cached) " >&6
4754
4728
else
4755
4729
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4757
4731
       ac_script="$ac_script$as_nl$ac_script"
4758
4732
     done
4759
4733
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4760
 
     $as_unset ac_script || ac_script=
 
4734
     { ac_script=; unset ac_script;}
4761
4735
     if test -z "$SED"; then
4762
4736
  ac_path_SED_found=false
4763
4737
  # Loop through the user's path and test for each of PROGNAME-LIST
4766
4740
do
4767
4741
  IFS=$as_save_IFS
4768
4742
  test -z "$as_dir" && as_dir=.
4769
 
  for ac_prog in sed gsed; do
 
4743
    for ac_prog in sed gsed; do
4770
4744
    for ac_exec_ext in '' $ac_executable_extensions; do
4771
4745
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4772
4746
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4786
4760
    $as_echo '' >> "conftest.nl"
4787
4761
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4788
4762
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4789
 
    ac_count=`expr $ac_count + 1`
 
4763
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4790
4764
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4791
4765
      # Best one so far, save it but keep looking for a better one
4792
4766
      ac_cv_path_SED="$ac_path_SED"
4801
4775
      $ac_path_SED_found && break 3
4802
4776
    done
4803
4777
  done
4804
 
done
 
4778
  done
4805
4779
IFS=$as_save_IFS
4806
4780
  if test -z "$ac_cv_path_SED"; then
4807
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4808
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4809
 
   { (exit 1); exit 1; }; }
 
4781
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4810
4782
  fi
4811
4783
else
4812
4784
  ac_cv_path_SED=$SED
4813
4785
fi
4814
4786
 
4815
4787
fi
4816
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4817
4789
$as_echo "$ac_cv_path_SED" >&6; }
4818
4790
 SED="$ac_cv_path_SED"
4819
4791
  rm -f conftest.sed
4831
4803
 
4832
4804
 
4833
4805
 
4834
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4835
4807
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4836
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4808
if test "${ac_cv_path_GREP+set}" = set; then :
4837
4809
  $as_echo_n "(cached) " >&6
4838
4810
else
4839
4811
  if test -z "$GREP"; then
4844
4816
do
4845
4817
  IFS=$as_save_IFS
4846
4818
  test -z "$as_dir" && as_dir=.
4847
 
  for ac_prog in grep ggrep; do
 
4819
    for ac_prog in grep ggrep; do
4848
4820
    for ac_exec_ext in '' $ac_executable_extensions; do
4849
4821
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4850
4822
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4864
4836
    $as_echo 'GREP' >> "conftest.nl"
4865
4837
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4866
4838
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4867
 
    ac_count=`expr $ac_count + 1`
 
4839
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4868
4840
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4869
4841
      # Best one so far, save it but keep looking for a better one
4870
4842
      ac_cv_path_GREP="$ac_path_GREP"
4879
4851
      $ac_path_GREP_found && break 3
4880
4852
    done
4881
4853
  done
4882
 
done
 
4854
  done
4883
4855
IFS=$as_save_IFS
4884
4856
  if test -z "$ac_cv_path_GREP"; then
4885
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4886
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4887
 
   { (exit 1); exit 1; }; }
 
4857
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4888
4858
  fi
4889
4859
else
4890
4860
  ac_cv_path_GREP=$GREP
4891
4861
fi
4892
4862
 
4893
4863
fi
4894
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4895
4865
$as_echo "$ac_cv_path_GREP" >&6; }
4896
4866
 GREP="$ac_cv_path_GREP"
4897
4867
 
4898
4868
 
4899
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4900
4870
$as_echo_n "checking for egrep... " >&6; }
4901
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4871
if test "${ac_cv_path_EGREP+set}" = set; then :
4902
4872
  $as_echo_n "(cached) " >&6
4903
4873
else
4904
4874
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4912
4882
do
4913
4883
  IFS=$as_save_IFS
4914
4884
  test -z "$as_dir" && as_dir=.
4915
 
  for ac_prog in egrep; do
 
4885
    for ac_prog in egrep; do
4916
4886
    for ac_exec_ext in '' $ac_executable_extensions; do
4917
4887
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4918
4888
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4932
4902
    $as_echo 'EGREP' >> "conftest.nl"
4933
4903
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4934
4904
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4935
 
    ac_count=`expr $ac_count + 1`
 
4905
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4936
4906
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4937
4907
      # Best one so far, save it but keep looking for a better one
4938
4908
      ac_cv_path_EGREP="$ac_path_EGREP"
4947
4917
      $ac_path_EGREP_found && break 3
4948
4918
    done
4949
4919
  done
4950
 
done
 
4920
  done
4951
4921
IFS=$as_save_IFS
4952
4922
  if test -z "$ac_cv_path_EGREP"; then
4953
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4954
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4955
 
   { (exit 1); exit 1; }; }
 
4923
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4956
4924
  fi
4957
4925
else
4958
4926
  ac_cv_path_EGREP=$EGREP
4960
4928
 
4961
4929
   fi
4962
4930
fi
4963
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4931
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4964
4932
$as_echo "$ac_cv_path_EGREP" >&6; }
4965
4933
 EGREP="$ac_cv_path_EGREP"
4966
4934
 
4967
4935
 
4968
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4969
4937
$as_echo_n "checking for fgrep... " >&6; }
4970
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
4938
if test "${ac_cv_path_FGREP+set}" = set; then :
4971
4939
  $as_echo_n "(cached) " >&6
4972
4940
else
4973
4941
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4981
4949
do
4982
4950
  IFS=$as_save_IFS
4983
4951
  test -z "$as_dir" && as_dir=.
4984
 
  for ac_prog in fgrep; do
 
4952
    for ac_prog in fgrep; do
4985
4953
    for ac_exec_ext in '' $ac_executable_extensions; do
4986
4954
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4987
4955
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5001
4969
    $as_echo 'FGREP' >> "conftest.nl"
5002
4970
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5003
4971
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5004
 
    ac_count=`expr $ac_count + 1`
 
4972
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5005
4973
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5006
4974
      # Best one so far, save it but keep looking for a better one
5007
4975
      ac_cv_path_FGREP="$ac_path_FGREP"
5016
4984
      $ac_path_FGREP_found && break 3
5017
4985
    done
5018
4986
  done
5019
 
done
 
4987
  done
5020
4988
IFS=$as_save_IFS
5021
4989
  if test -z "$ac_cv_path_FGREP"; then
5022
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5023
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5024
 
   { (exit 1); exit 1; }; }
 
4990
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5025
4991
  fi
5026
4992
else
5027
4993
  ac_cv_path_FGREP=$FGREP
5029
4995
 
5030
4996
   fi
5031
4997
fi
5032
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5033
4999
$as_echo "$ac_cv_path_FGREP" >&6; }
5034
5000
 FGREP="$ac_cv_path_FGREP"
5035
5001
 
5055
5021
 
5056
5022
 
5057
5023
# Check whether --with-gnu-ld was given.
5058
 
if test "${with_gnu_ld+set}" = set; then
 
5024
if test "${with_gnu_ld+set}" = set; then :
5059
5025
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5060
5026
else
5061
5027
  with_gnu_ld=no
5064
5030
ac_prog=ld
5065
5031
if test "$GCC" = yes; then
5066
5032
  # Check if gcc -print-prog-name=ld gives a path.
5067
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5033
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5068
5034
$as_echo_n "checking for ld used by $CC... " >&6; }
5069
5035
  case $host in
5070
5036
  *-*-mingw*)
5094
5060
    ;;
5095
5061
  esac
5096
5062
elif test "$with_gnu_ld" = yes; then
5097
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5063
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5098
5064
$as_echo_n "checking for GNU ld... " >&6; }
5099
5065
else
5100
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5066
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5101
5067
$as_echo_n "checking for non-GNU ld... " >&6; }
5102
5068
fi
5103
 
if test "${lt_cv_path_LD+set}" = set; then
 
5069
if test "${lt_cv_path_LD+set}" = set; then :
5104
5070
  $as_echo_n "(cached) " >&6
5105
5071
else
5106
5072
  if test -z "$LD"; then
5131
5097
 
5132
5098
LD="$lt_cv_path_LD"
5133
5099
if test -n "$LD"; then
5134
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5100
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5135
5101
$as_echo "$LD" >&6; }
5136
5102
else
5137
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5103
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138
5104
$as_echo "no" >&6; }
5139
5105
fi
5140
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5141
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5142
 
   { (exit 1); exit 1; }; }
5143
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5106
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5144
5108
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5145
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
5109
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5146
5110
  $as_echo_n "(cached) " >&6
5147
5111
else
5148
5112
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5155
5119
  ;;
5156
5120
esac
5157
5121
fi
5158
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5159
5123
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5160
5124
with_gnu_ld=$lt_cv_prog_gnu_ld
5161
5125
 
5167
5131
 
5168
5132
 
5169
5133
 
5170
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5171
5135
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5172
 
if test "${lt_cv_path_NM+set}" = set; then
 
5136
if test "${lt_cv_path_NM+set}" = set; then :
5173
5137
  $as_echo_n "(cached) " >&6
5174
5138
else
5175
5139
  if test -n "$NM"; then
5216
5180
  : ${lt_cv_path_NM=no}
5217
5181
fi
5218
5182
fi
5219
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5220
5184
$as_echo "$lt_cv_path_NM" >&6; }
5221
5185
if test "$lt_cv_path_NM" != "no"; then
5222
5186
  NM="$lt_cv_path_NM"
5227
5191
  do
5228
5192
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5229
5193
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5230
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231
5195
$as_echo_n "checking for $ac_word... " >&6; }
5232
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5196
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5233
5197
  $as_echo_n "(cached) " >&6
5234
5198
else
5235
5199
  if test -n "$DUMPBIN"; then
5240
5204
do
5241
5205
  IFS=$as_save_IFS
5242
5206
  test -z "$as_dir" && as_dir=.
5243
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5207
    for ac_exec_ext in '' $ac_executable_extensions; do
5244
5208
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5245
5209
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5246
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5210
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5247
5211
    break 2
5248
5212
  fi
5249
5213
done
5250
 
done
 
5214
  done
5251
5215
IFS=$as_save_IFS
5252
5216
 
5253
5217
fi
5254
5218
fi
5255
5219
DUMPBIN=$ac_cv_prog_DUMPBIN
5256
5220
if test -n "$DUMPBIN"; then
5257
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5221
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5258
5222
$as_echo "$DUMPBIN" >&6; }
5259
5223
else
5260
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5224
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261
5225
$as_echo "no" >&6; }
5262
5226
fi
5263
5227
 
5271
5235
do
5272
5236
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5273
5237
set dummy $ac_prog; ac_word=$2
5274
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5275
5239
$as_echo_n "checking for $ac_word... " >&6; }
5276
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5240
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5277
5241
  $as_echo_n "(cached) " >&6
5278
5242
else
5279
5243
  if test -n "$ac_ct_DUMPBIN"; then
5284
5248
do
5285
5249
  IFS=$as_save_IFS
5286
5250
  test -z "$as_dir" && as_dir=.
5287
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5251
    for ac_exec_ext in '' $ac_executable_extensions; do
5288
5252
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5289
5253
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5290
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5254
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5291
5255
    break 2
5292
5256
  fi
5293
5257
done
5294
 
done
 
5258
  done
5295
5259
IFS=$as_save_IFS
5296
5260
 
5297
5261
fi
5298
5262
fi
5299
5263
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5300
5264
if test -n "$ac_ct_DUMPBIN"; then
5301
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5302
5266
$as_echo "$ac_ct_DUMPBIN" >&6; }
5303
5267
else
5304
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5268
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5305
5269
$as_echo "no" >&6; }
5306
5270
fi
5307
5271
 
5314
5278
  else
5315
5279
    case $cross_compiling:$ac_tool_warned in
5316
5280
yes:)
5317
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5281
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5318
5282
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5319
5283
ac_tool_warned=yes ;;
5320
5284
esac
5334
5298
 
5335
5299
 
5336
5300
 
5337
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5338
5302
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5339
 
if test "${lt_cv_nm_interface+set}" = set; then
 
5303
if test "${lt_cv_nm_interface+set}" = set; then :
5340
5304
  $as_echo_n "(cached) " >&6
5341
5305
else
5342
5306
  lt_cv_nm_interface="BSD nm"
5343
5307
  echo "int some_variable = 0;" > conftest.$ac_ext
5344
 
  (eval echo "\"\$as_me:5344: $ac_compile\"" >&5)
 
5308
  (eval echo "\"\$as_me:5308: $ac_compile\"" >&5)
5345
5309
  (eval "$ac_compile" 2>conftest.err)
5346
5310
  cat conftest.err >&5
5347
 
  (eval echo "\"\$as_me:5347: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5311
  (eval echo "\"\$as_me:5311: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5348
5312
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5349
5313
  cat conftest.err >&5
5350
 
  (eval echo "\"\$as_me:5350: output\"" >&5)
 
5314
  (eval echo "\"\$as_me:5314: output\"" >&5)
5351
5315
  cat conftest.out >&5
5352
5316
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5353
5317
    lt_cv_nm_interface="MS dumpbin"
5354
5318
  fi
5355
5319
  rm -f conftest*
5356
5320
fi
5357
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5358
5322
$as_echo "$lt_cv_nm_interface" >&6; }
5359
5323
 
5360
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5361
5325
$as_echo_n "checking whether ln -s works... " >&6; }
5362
5326
LN_S=$as_ln_s
5363
5327
if test "$LN_S" = "ln -s"; then
5364
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5328
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5365
5329
$as_echo "yes" >&6; }
5366
5330
else
5367
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5331
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5368
5332
$as_echo "no, using $LN_S" >&6; }
5369
5333
fi
5370
5334
 
5371
5335
# find the maximum length of command line arguments
5372
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5373
5337
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5374
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5338
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5375
5339
  $as_echo_n "(cached) " >&6
5376
5340
else
5377
5341
    i=0
5489
5453
fi
5490
5454
 
5491
5455
if test -n $lt_cv_sys_max_cmd_len ; then
5492
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5456
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5493
5457
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5494
5458
else
5495
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5459
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5496
5460
$as_echo "none" >&6; }
5497
5461
fi
5498
5462
max_cmd_len=$lt_cv_sys_max_cmd_len
5506
5470
: ${MV="mv -f"}
5507
5471
: ${RM="rm -f"}
5508
5472
 
5509
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5510
5474
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5511
5475
# Try some XSI features
5512
5476
xsi_shell=no
5516
5480
    && eval 'test $(( 1 + 1 )) -eq 2 \
5517
5481
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5518
5482
  && xsi_shell=yes
5519
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5520
5484
$as_echo "$xsi_shell" >&6; }
5521
5485
 
5522
5486
 
5523
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5524
5488
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5525
5489
lt_shell_append=no
5526
5490
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5527
5491
    >/dev/null 2>&1 \
5528
5492
  && lt_shell_append=yes
5529
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5530
5494
$as_echo "$lt_shell_append" >&6; }
5531
5495
 
5532
5496
 
5561
5525
 
5562
5526
 
5563
5527
 
5564
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5565
5529
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5566
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5530
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5567
5531
  $as_echo_n "(cached) " >&6
5568
5532
else
5569
5533
  lt_cv_ld_reload_flag='-r'
5570
5534
fi
5571
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5572
5536
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5573
5537
reload_flag=$lt_cv_ld_reload_flag
5574
5538
case $reload_flag in
5597
5561
if test -n "$ac_tool_prefix"; then
5598
5562
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5599
5563
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5600
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601
5565
$as_echo_n "checking for $ac_word... " >&6; }
5602
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5566
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5603
5567
  $as_echo_n "(cached) " >&6
5604
5568
else
5605
5569
  if test -n "$OBJDUMP"; then
5610
5574
do
5611
5575
  IFS=$as_save_IFS
5612
5576
  test -z "$as_dir" && as_dir=.
5613
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5577
    for ac_exec_ext in '' $ac_executable_extensions; do
5614
5578
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5615
5579
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5616
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5580
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5617
5581
    break 2
5618
5582
  fi
5619
5583
done
5620
 
done
 
5584
  done
5621
5585
IFS=$as_save_IFS
5622
5586
 
5623
5587
fi
5624
5588
fi
5625
5589
OBJDUMP=$ac_cv_prog_OBJDUMP
5626
5590
if test -n "$OBJDUMP"; then
5627
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5628
5592
$as_echo "$OBJDUMP" >&6; }
5629
5593
else
5630
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631
5595
$as_echo "no" >&6; }
5632
5596
fi
5633
5597
 
5637
5601
  ac_ct_OBJDUMP=$OBJDUMP
5638
5602
  # Extract the first word of "objdump", so it can be a program name with args.
5639
5603
set dummy objdump; ac_word=$2
5640
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641
5605
$as_echo_n "checking for $ac_word... " >&6; }
5642
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5606
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5643
5607
  $as_echo_n "(cached) " >&6
5644
5608
else
5645
5609
  if test -n "$ac_ct_OBJDUMP"; then
5650
5614
do
5651
5615
  IFS=$as_save_IFS
5652
5616
  test -z "$as_dir" && as_dir=.
5653
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5617
    for ac_exec_ext in '' $ac_executable_extensions; do
5654
5618
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5655
5619
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5656
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5620
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657
5621
    break 2
5658
5622
  fi
5659
5623
done
5660
 
done
 
5624
  done
5661
5625
IFS=$as_save_IFS
5662
5626
 
5663
5627
fi
5664
5628
fi
5665
5629
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5666
5630
if test -n "$ac_ct_OBJDUMP"; then
5667
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5631
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5668
5632
$as_echo "$ac_ct_OBJDUMP" >&6; }
5669
5633
else
5670
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5634
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671
5635
$as_echo "no" >&6; }
5672
5636
fi
5673
5637
 
5676
5640
  else
5677
5641
    case $cross_compiling:$ac_tool_warned in
5678
5642
yes:)
5679
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5643
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5680
5644
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5681
5645
ac_tool_warned=yes ;;
5682
5646
esac
5696
5660
 
5697
5661
 
5698
5662
 
5699
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5700
5664
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5701
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5665
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5702
5666
  $as_echo_n "(cached) " >&6
5703
5667
else
5704
5668
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5892
5856
esac
5893
5857
 
5894
5858
fi
5895
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5896
5860
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5897
5861
file_magic_cmd=$lt_cv_file_magic_cmd
5898
5862
deplibs_check_method=$lt_cv_deplibs_check_method
5912
5876
if test -n "$ac_tool_prefix"; then
5913
5877
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5914
5878
set dummy ${ac_tool_prefix}ar; ac_word=$2
5915
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916
5880
$as_echo_n "checking for $ac_word... " >&6; }
5917
 
if test "${ac_cv_prog_AR+set}" = set; then
 
5881
if test "${ac_cv_prog_AR+set}" = set; then :
5918
5882
  $as_echo_n "(cached) " >&6
5919
5883
else
5920
5884
  if test -n "$AR"; then
5925
5889
do
5926
5890
  IFS=$as_save_IFS
5927
5891
  test -z "$as_dir" && as_dir=.
5928
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5892
    for ac_exec_ext in '' $ac_executable_extensions; do
5929
5893
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5930
5894
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5931
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5895
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932
5896
    break 2
5933
5897
  fi
5934
5898
done
5935
 
done
 
5899
  done
5936
5900
IFS=$as_save_IFS
5937
5901
 
5938
5902
fi
5939
5903
fi
5940
5904
AR=$ac_cv_prog_AR
5941
5905
if test -n "$AR"; then
5942
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5943
5907
$as_echo "$AR" >&6; }
5944
5908
else
5945
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5909
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946
5910
$as_echo "no" >&6; }
5947
5911
fi
5948
5912
 
5952
5916
  ac_ct_AR=$AR
5953
5917
  # Extract the first word of "ar", so it can be a program name with args.
5954
5918
set dummy ar; ac_word=$2
5955
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956
5920
$as_echo_n "checking for $ac_word... " >&6; }
5957
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5921
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5958
5922
  $as_echo_n "(cached) " >&6
5959
5923
else
5960
5924
  if test -n "$ac_ct_AR"; then
5965
5929
do
5966
5930
  IFS=$as_save_IFS
5967
5931
  test -z "$as_dir" && as_dir=.
5968
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5932
    for ac_exec_ext in '' $ac_executable_extensions; do
5969
5933
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5970
5934
    ac_cv_prog_ac_ct_AR="ar"
5971
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5935
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972
5936
    break 2
5973
5937
  fi
5974
5938
done
5975
 
done
 
5939
  done
5976
5940
IFS=$as_save_IFS
5977
5941
 
5978
5942
fi
5979
5943
fi
5980
5944
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5981
5945
if test -n "$ac_ct_AR"; then
5982
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5983
5947
$as_echo "$ac_ct_AR" >&6; }
5984
5948
else
5985
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5949
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986
5950
$as_echo "no" >&6; }
5987
5951
fi
5988
5952
 
5991
5955
  else
5992
5956
    case $cross_compiling:$ac_tool_warned in
5993
5957
yes:)
5994
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5958
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5995
5959
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5996
5960
ac_tool_warned=yes ;;
5997
5961
esac
6017
5981
if test -n "$ac_tool_prefix"; then
6018
5982
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6019
5983
set dummy ${ac_tool_prefix}strip; ac_word=$2
6020
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021
5985
$as_echo_n "checking for $ac_word... " >&6; }
6022
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5986
if test "${ac_cv_prog_STRIP+set}" = set; then :
6023
5987
  $as_echo_n "(cached) " >&6
6024
5988
else
6025
5989
  if test -n "$STRIP"; then
6030
5994
do
6031
5995
  IFS=$as_save_IFS
6032
5996
  test -z "$as_dir" && as_dir=.
6033
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5997
    for ac_exec_ext in '' $ac_executable_extensions; do
6034
5998
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6035
5999
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6036
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6000
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037
6001
    break 2
6038
6002
  fi
6039
6003
done
6040
 
done
 
6004
  done
6041
6005
IFS=$as_save_IFS
6042
6006
 
6043
6007
fi
6044
6008
fi
6045
6009
STRIP=$ac_cv_prog_STRIP
6046
6010
if test -n "$STRIP"; then
6047
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6011
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6048
6012
$as_echo "$STRIP" >&6; }
6049
6013
else
6050
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6014
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051
6015
$as_echo "no" >&6; }
6052
6016
fi
6053
6017
 
6057
6021
  ac_ct_STRIP=$STRIP
6058
6022
  # Extract the first word of "strip", so it can be a program name with args.
6059
6023
set dummy strip; ac_word=$2
6060
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061
6025
$as_echo_n "checking for $ac_word... " >&6; }
6062
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6026
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6063
6027
  $as_echo_n "(cached) " >&6
6064
6028
else
6065
6029
  if test -n "$ac_ct_STRIP"; then
6070
6034
do
6071
6035
  IFS=$as_save_IFS
6072
6036
  test -z "$as_dir" && as_dir=.
6073
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6037
    for ac_exec_ext in '' $ac_executable_extensions; do
6074
6038
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6075
6039
    ac_cv_prog_ac_ct_STRIP="strip"
6076
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6040
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077
6041
    break 2
6078
6042
  fi
6079
6043
done
6080
 
done
 
6044
  done
6081
6045
IFS=$as_save_IFS
6082
6046
 
6083
6047
fi
6084
6048
fi
6085
6049
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6086
6050
if test -n "$ac_ct_STRIP"; then
6087
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6051
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6088
6052
$as_echo "$ac_ct_STRIP" >&6; }
6089
6053
else
6090
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6054
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091
6055
$as_echo "no" >&6; }
6092
6056
fi
6093
6057
 
6096
6060
  else
6097
6061
    case $cross_compiling:$ac_tool_warned in
6098
6062
yes:)
6099
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6063
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6100
6064
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6101
6065
ac_tool_warned=yes ;;
6102
6066
esac
6116
6080
if test -n "$ac_tool_prefix"; then
6117
6081
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6118
6082
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6119
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120
6084
$as_echo_n "checking for $ac_word... " >&6; }
6121
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6085
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6122
6086
  $as_echo_n "(cached) " >&6
6123
6087
else
6124
6088
  if test -n "$RANLIB"; then
6129
6093
do
6130
6094
  IFS=$as_save_IFS
6131
6095
  test -z "$as_dir" && as_dir=.
6132
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6096
    for ac_exec_ext in '' $ac_executable_extensions; do
6133
6097
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134
6098
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6135
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6099
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136
6100
    break 2
6137
6101
  fi
6138
6102
done
6139
 
done
 
6103
  done
6140
6104
IFS=$as_save_IFS
6141
6105
 
6142
6106
fi
6143
6107
fi
6144
6108
RANLIB=$ac_cv_prog_RANLIB
6145
6109
if test -n "$RANLIB"; then
6146
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6110
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6147
6111
$as_echo "$RANLIB" >&6; }
6148
6112
else
6149
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6113
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150
6114
$as_echo "no" >&6; }
6151
6115
fi
6152
6116
 
6156
6120
  ac_ct_RANLIB=$RANLIB
6157
6121
  # Extract the first word of "ranlib", so it can be a program name with args.
6158
6122
set dummy ranlib; ac_word=$2
6159
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160
6124
$as_echo_n "checking for $ac_word... " >&6; }
6161
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6125
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6162
6126
  $as_echo_n "(cached) " >&6
6163
6127
else
6164
6128
  if test -n "$ac_ct_RANLIB"; then
6169
6133
do
6170
6134
  IFS=$as_save_IFS
6171
6135
  test -z "$as_dir" && as_dir=.
6172
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6136
    for ac_exec_ext in '' $ac_executable_extensions; do
6173
6137
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6174
6138
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6175
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6139
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6176
6140
    break 2
6177
6141
  fi
6178
6142
done
6179
 
done
 
6143
  done
6180
6144
IFS=$as_save_IFS
6181
6145
 
6182
6146
fi
6183
6147
fi
6184
6148
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6185
6149
if test -n "$ac_ct_RANLIB"; then
6186
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6150
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6187
6151
$as_echo "$ac_ct_RANLIB" >&6; }
6188
6152
else
6189
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6153
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190
6154
$as_echo "no" >&6; }
6191
6155
fi
6192
6156
 
6195
6159
  else
6196
6160
    case $cross_compiling:$ac_tool_warned in
6197
6161
yes:)
6198
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6162
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6199
6163
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6200
6164
ac_tool_warned=yes ;;
6201
6165
esac
6273
6237
 
6274
6238
 
6275
6239
# Check for command to grab the raw symbol name followed by C symbol from nm.
6276
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6277
6241
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6278
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6242
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6279
6243
  $as_echo_n "(cached) " >&6
6280
6244
else
6281
6245
 
6391
6355
int main(){nm_test_var='a';nm_test_func();return(0);}
6392
6356
_LT_EOF
6393
6357
 
6394
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6358
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6395
6359
  (eval $ac_compile) 2>&5
6396
6360
  ac_status=$?
6397
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398
 
  (exit $ac_status); }; then
 
6361
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6362
  test $ac_status = 0; }; then
6399
6363
    # Now try to grab the symbols.
6400
6364
    nlist=conftest.nm
6401
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6365
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6402
6366
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6403
6367
  ac_status=$?
6404
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6368
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6369
  test $ac_status = 0; } && test -s "$nlist"; then
6406
6370
      # Try sorting and uniquifying the output.
6407
6371
      if sort "$nlist" | uniq > "$nlist"T; then
6408
6372
        mv -f "$nlist"T "$nlist"
6455
6419
          lt_save_CFLAGS="$CFLAGS"
6456
6420
          LIBS="conftstm.$ac_objext"
6457
6421
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6458
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6422
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6459
6423
  (eval $ac_link) 2>&5
6460
6424
  ac_status=$?
6461
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6425
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6426
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6463
6427
            pipe_works=yes
6464
6428
          fi
6465
6429
          LIBS="$lt_save_LIBS"
6493
6457
  lt_cv_sys_global_symbol_to_cdecl=
6494
6458
fi
6495
6459
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6496
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6460
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6497
6461
$as_echo "failed" >&6; }
6498
6462
else
6499
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6463
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6500
6464
$as_echo "ok" >&6; }
6501
6465
fi
6502
6466
 
6522
6486
 
6523
6487
 
6524
6488
# Check whether --enable-libtool-lock was given.
6525
 
if test "${enable_libtool_lock+set}" = set; then
 
6489
if test "${enable_libtool_lock+set}" = set; then :
6526
6490
  enableval=$enable_libtool_lock;
6527
6491
fi
6528
6492
 
6534
6498
ia64-*-hpux*)
6535
6499
  # Find out which ABI we are using.
6536
6500
  echo 'int i;' > conftest.$ac_ext
6537
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6501
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6538
6502
  (eval $ac_compile) 2>&5
6539
6503
  ac_status=$?
6540
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541
 
  (exit $ac_status); }; then
 
6504
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6505
  test $ac_status = 0; }; then
6542
6506
    case `/usr/bin/file conftest.$ac_objext` in
6543
6507
      *ELF-32*)
6544
6508
        HPUX_IA64_MODE="32"
6552
6516
  ;;
6553
6517
*-*-irix6*)
6554
6518
  # Find out which ABI we are using.
6555
 
  echo '#line 6555 "configure"' > conftest.$ac_ext
6556
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6519
  echo '#line 6519 "configure"' > conftest.$ac_ext
 
6520
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6557
6521
  (eval $ac_compile) 2>&5
6558
6522
  ac_status=$?
6559
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560
 
  (exit $ac_status); }; then
 
6523
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6524
  test $ac_status = 0; }; then
6561
6525
    if test "$lt_cv_prog_gnu_ld" = yes; then
6562
6526
      case `/usr/bin/file conftest.$ac_objext` in
6563
6527
        *32-bit*)
6591
6555
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6592
6556
  # Find out which ABI we are using.
6593
6557
  echo 'int i;' > conftest.$ac_ext
6594
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6558
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6595
6559
  (eval $ac_compile) 2>&5
6596
6560
  ac_status=$?
6597
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598
 
  (exit $ac_status); }; then
 
6561
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6562
  test $ac_status = 0; }; then
6599
6563
    case `/usr/bin/file conftest.o` in
6600
6564
      *32-bit*)
6601
6565
        case $host in
6644
6608
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6645
6609
  SAVE_CFLAGS="$CFLAGS"
6646
6610
  CFLAGS="$CFLAGS -belf"
6647
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6611
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6648
6612
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6649
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6613
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6650
6614
  $as_echo_n "(cached) " >&6
6651
6615
else
6652
6616
  ac_ext=c
6655
6619
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6656
6620
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6657
6621
 
6658
 
     cat >conftest.$ac_ext <<_ACEOF
6659
 
/* confdefs.h.  */
6660
 
_ACEOF
6661
 
cat confdefs.h >>conftest.$ac_ext
6662
 
cat >>conftest.$ac_ext <<_ACEOF
 
6622
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6663
6623
/* end confdefs.h.  */
6664
6624
 
6665
6625
int
6670
6630
  return 0;
6671
6631
}
6672
6632
_ACEOF
6673
 
rm -f conftest.$ac_objext conftest$ac_exeext
6674
 
if { (ac_try="$ac_link"
6675
 
case "(($ac_try" in
6676
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6677
 
  *) ac_try_echo=$ac_try;;
6678
 
esac
6679
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6680
 
$as_echo "$ac_try_echo") >&5
6681
 
  (eval "$ac_link") 2>conftest.er1
6682
 
  ac_status=$?
6683
 
  grep -v '^ *+' conftest.er1 >conftest.err
6684
 
  rm -f conftest.er1
6685
 
  cat conftest.err >&5
6686
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687
 
  (exit $ac_status); } && {
6688
 
         test -z "$ac_c_werror_flag" ||
6689
 
         test ! -s conftest.err
6690
 
       } && test -s conftest$ac_exeext && {
6691
 
         test "$cross_compiling" = yes ||
6692
 
         $as_test_x conftest$ac_exeext
6693
 
       }; then
 
6633
if ac_fn_c_try_link "$LINENO"; then :
6694
6634
  lt_cv_cc_needs_belf=yes
6695
6635
else
6696
 
  $as_echo "$as_me: failed program was:" >&5
6697
 
sed 's/^/| /' conftest.$ac_ext >&5
6698
 
 
6699
 
        lt_cv_cc_needs_belf=no
 
6636
  lt_cv_cc_needs_belf=no
6700
6637
fi
6701
 
 
6702
 
rm -rf conftest.dSYM
6703
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6704
 
      conftest$ac_exeext conftest.$ac_ext
 
6638
rm -f core conftest.err conftest.$ac_objext \
 
6639
    conftest$ac_exeext conftest.$ac_ext
6705
6640
     ac_ext=c
6706
6641
ac_cpp='$CPP $CPPFLAGS'
6707
6642
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6709
6644
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6710
6645
 
6711
6646
fi
6712
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6713
6648
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6714
6649
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6715
6650
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6719
6654
sparc*-*solaris*)
6720
6655
  # Find out which ABI we are using.
6721
6656
  echo 'int i;' > conftest.$ac_ext
6722
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6657
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6723
6658
  (eval $ac_compile) 2>&5
6724
6659
  ac_status=$?
6725
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726
 
  (exit $ac_status); }; then
 
6660
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6661
  test $ac_status = 0; }; then
6727
6662
    case `/usr/bin/file conftest.o` in
6728
6663
    *64-bit*)
6729
6664
      case $lt_cv_prog_gnu_ld in
6749
6684
    if test -n "$ac_tool_prefix"; then
6750
6685
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6751
6686
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6752
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6753
6688
$as_echo_n "checking for $ac_word... " >&6; }
6754
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6689
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6755
6690
  $as_echo_n "(cached) " >&6
6756
6691
else
6757
6692
  if test -n "$DSYMUTIL"; then
6762
6697
do
6763
6698
  IFS=$as_save_IFS
6764
6699
  test -z "$as_dir" && as_dir=.
6765
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6700
    for ac_exec_ext in '' $ac_executable_extensions; do
6766
6701
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6767
6702
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6768
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6703
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6769
6704
    break 2
6770
6705
  fi
6771
6706
done
6772
 
done
 
6707
  done
6773
6708
IFS=$as_save_IFS
6774
6709
 
6775
6710
fi
6776
6711
fi
6777
6712
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6778
6713
if test -n "$DSYMUTIL"; then
6779
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6714
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6780
6715
$as_echo "$DSYMUTIL" >&6; }
6781
6716
else
6782
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6717
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783
6718
$as_echo "no" >&6; }
6784
6719
fi
6785
6720
 
6789
6724
  ac_ct_DSYMUTIL=$DSYMUTIL
6790
6725
  # Extract the first word of "dsymutil", so it can be a program name with args.
6791
6726
set dummy dsymutil; ac_word=$2
6792
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6793
6728
$as_echo_n "checking for $ac_word... " >&6; }
6794
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6729
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6795
6730
  $as_echo_n "(cached) " >&6
6796
6731
else
6797
6732
  if test -n "$ac_ct_DSYMUTIL"; then
6802
6737
do
6803
6738
  IFS=$as_save_IFS
6804
6739
  test -z "$as_dir" && as_dir=.
6805
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6740
    for ac_exec_ext in '' $ac_executable_extensions; do
6806
6741
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6807
6742
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6808
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6743
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6809
6744
    break 2
6810
6745
  fi
6811
6746
done
6812
 
done
 
6747
  done
6813
6748
IFS=$as_save_IFS
6814
6749
 
6815
6750
fi
6816
6751
fi
6817
6752
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6818
6753
if test -n "$ac_ct_DSYMUTIL"; then
6819
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6754
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6820
6755
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6821
6756
else
6822
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6757
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6823
6758
$as_echo "no" >&6; }
6824
6759
fi
6825
6760
 
6828
6763
  else
6829
6764
    case $cross_compiling:$ac_tool_warned in
6830
6765
yes:)
6831
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6766
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6832
6767
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6833
6768
ac_tool_warned=yes ;;
6834
6769
esac
6841
6776
    if test -n "$ac_tool_prefix"; then
6842
6777
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6843
6778
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6844
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845
6780
$as_echo_n "checking for $ac_word... " >&6; }
6846
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6781
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6847
6782
  $as_echo_n "(cached) " >&6
6848
6783
else
6849
6784
  if test -n "$NMEDIT"; then
6854
6789
do
6855
6790
  IFS=$as_save_IFS
6856
6791
  test -z "$as_dir" && as_dir=.
6857
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6792
    for ac_exec_ext in '' $ac_executable_extensions; do
6858
6793
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6859
6794
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6860
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6795
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6861
6796
    break 2
6862
6797
  fi
6863
6798
done
6864
 
done
 
6799
  done
6865
6800
IFS=$as_save_IFS
6866
6801
 
6867
6802
fi
6868
6803
fi
6869
6804
NMEDIT=$ac_cv_prog_NMEDIT
6870
6805
if test -n "$NMEDIT"; then
6871
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6806
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6872
6807
$as_echo "$NMEDIT" >&6; }
6873
6808
else
6874
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6809
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875
6810
$as_echo "no" >&6; }
6876
6811
fi
6877
6812
 
6881
6816
  ac_ct_NMEDIT=$NMEDIT
6882
6817
  # Extract the first word of "nmedit", so it can be a program name with args.
6883
6818
set dummy nmedit; ac_word=$2
6884
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6885
6820
$as_echo_n "checking for $ac_word... " >&6; }
6886
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6821
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6887
6822
  $as_echo_n "(cached) " >&6
6888
6823
else
6889
6824
  if test -n "$ac_ct_NMEDIT"; then
6894
6829
do
6895
6830
  IFS=$as_save_IFS
6896
6831
  test -z "$as_dir" && as_dir=.
6897
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6832
    for ac_exec_ext in '' $ac_executable_extensions; do
6898
6833
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6899
6834
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6900
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6835
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6901
6836
    break 2
6902
6837
  fi
6903
6838
done
6904
 
done
 
6839
  done
6905
6840
IFS=$as_save_IFS
6906
6841
 
6907
6842
fi
6908
6843
fi
6909
6844
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6910
6845
if test -n "$ac_ct_NMEDIT"; then
6911
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6912
6847
$as_echo "$ac_ct_NMEDIT" >&6; }
6913
6848
else
6914
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6915
6850
$as_echo "no" >&6; }
6916
6851
fi
6917
6852
 
6920
6855
  else
6921
6856
    case $cross_compiling:$ac_tool_warned in
6922
6857
yes:)
6923
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6858
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6924
6859
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6925
6860
ac_tool_warned=yes ;;
6926
6861
esac
6933
6868
    if test -n "$ac_tool_prefix"; then
6934
6869
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6935
6870
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6936
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937
6872
$as_echo_n "checking for $ac_word... " >&6; }
6938
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6873
if test "${ac_cv_prog_LIPO+set}" = set; then :
6939
6874
  $as_echo_n "(cached) " >&6
6940
6875
else
6941
6876
  if test -n "$LIPO"; then
6946
6881
do
6947
6882
  IFS=$as_save_IFS
6948
6883
  test -z "$as_dir" && as_dir=.
6949
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6884
    for ac_exec_ext in '' $ac_executable_extensions; do
6950
6885
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6951
6886
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6952
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6887
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6953
6888
    break 2
6954
6889
  fi
6955
6890
done
6956
 
done
 
6891
  done
6957
6892
IFS=$as_save_IFS
6958
6893
 
6959
6894
fi
6960
6895
fi
6961
6896
LIPO=$ac_cv_prog_LIPO
6962
6897
if test -n "$LIPO"; then
6963
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6964
6899
$as_echo "$LIPO" >&6; }
6965
6900
else
6966
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967
6902
$as_echo "no" >&6; }
6968
6903
fi
6969
6904
 
6973
6908
  ac_ct_LIPO=$LIPO
6974
6909
  # Extract the first word of "lipo", so it can be a program name with args.
6975
6910
set dummy lipo; ac_word=$2
6976
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6977
6912
$as_echo_n "checking for $ac_word... " >&6; }
6978
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6913
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6979
6914
  $as_echo_n "(cached) " >&6
6980
6915
else
6981
6916
  if test -n "$ac_ct_LIPO"; then
6986
6921
do
6987
6922
  IFS=$as_save_IFS
6988
6923
  test -z "$as_dir" && as_dir=.
6989
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6924
    for ac_exec_ext in '' $ac_executable_extensions; do
6990
6925
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6991
6926
    ac_cv_prog_ac_ct_LIPO="lipo"
6992
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6927
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6993
6928
    break 2
6994
6929
  fi
6995
6930
done
6996
 
done
 
6931
  done
6997
6932
IFS=$as_save_IFS
6998
6933
 
6999
6934
fi
7000
6935
fi
7001
6936
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7002
6937
if test -n "$ac_ct_LIPO"; then
7003
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7004
6939
$as_echo "$ac_ct_LIPO" >&6; }
7005
6940
else
7006
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6941
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7007
6942
$as_echo "no" >&6; }
7008
6943
fi
7009
6944
 
7012
6947
  else
7013
6948
    case $cross_compiling:$ac_tool_warned in
7014
6949
yes:)
7015
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6950
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7016
6951
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7017
6952
ac_tool_warned=yes ;;
7018
6953
esac
7025
6960
    if test -n "$ac_tool_prefix"; then
7026
6961
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7027
6962
set dummy ${ac_tool_prefix}otool; ac_word=$2
7028
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029
6964
$as_echo_n "checking for $ac_word... " >&6; }
7030
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6965
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7031
6966
  $as_echo_n "(cached) " >&6
7032
6967
else
7033
6968
  if test -n "$OTOOL"; then
7038
6973
do
7039
6974
  IFS=$as_save_IFS
7040
6975
  test -z "$as_dir" && as_dir=.
7041
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6976
    for ac_exec_ext in '' $ac_executable_extensions; do
7042
6977
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7043
6978
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7044
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6979
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045
6980
    break 2
7046
6981
  fi
7047
6982
done
7048
 
done
 
6983
  done
7049
6984
IFS=$as_save_IFS
7050
6985
 
7051
6986
fi
7052
6987
fi
7053
6988
OTOOL=$ac_cv_prog_OTOOL
7054
6989
if test -n "$OTOOL"; then
7055
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7056
6991
$as_echo "$OTOOL" >&6; }
7057
6992
else
7058
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6993
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059
6994
$as_echo "no" >&6; }
7060
6995
fi
7061
6996
 
7065
7000
  ac_ct_OTOOL=$OTOOL
7066
7001
  # Extract the first word of "otool", so it can be a program name with args.
7067
7002
set dummy otool; ac_word=$2
7068
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069
7004
$as_echo_n "checking for $ac_word... " >&6; }
7070
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7005
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7071
7006
  $as_echo_n "(cached) " >&6
7072
7007
else
7073
7008
  if test -n "$ac_ct_OTOOL"; then
7078
7013
do
7079
7014
  IFS=$as_save_IFS
7080
7015
  test -z "$as_dir" && as_dir=.
7081
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7016
    for ac_exec_ext in '' $ac_executable_extensions; do
7082
7017
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7083
7018
    ac_cv_prog_ac_ct_OTOOL="otool"
7084
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7019
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085
7020
    break 2
7086
7021
  fi
7087
7022
done
7088
 
done
 
7023
  done
7089
7024
IFS=$as_save_IFS
7090
7025
 
7091
7026
fi
7092
7027
fi
7093
7028
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7094
7029
if test -n "$ac_ct_OTOOL"; then
7095
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7030
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7096
7031
$as_echo "$ac_ct_OTOOL" >&6; }
7097
7032
else
7098
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7033
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099
7034
$as_echo "no" >&6; }
7100
7035
fi
7101
7036
 
7104
7039
  else
7105
7040
    case $cross_compiling:$ac_tool_warned in
7106
7041
yes:)
7107
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7042
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7108
7043
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7109
7044
ac_tool_warned=yes ;;
7110
7045
esac
7117
7052
    if test -n "$ac_tool_prefix"; then
7118
7053
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7119
7054
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7120
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121
7056
$as_echo_n "checking for $ac_word... " >&6; }
7122
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7057
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7123
7058
  $as_echo_n "(cached) " >&6
7124
7059
else
7125
7060
  if test -n "$OTOOL64"; then
7130
7065
do
7131
7066
  IFS=$as_save_IFS
7132
7067
  test -z "$as_dir" && as_dir=.
7133
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7068
    for ac_exec_ext in '' $ac_executable_extensions; do
7134
7069
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7135
7070
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7136
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7071
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137
7072
    break 2
7138
7073
  fi
7139
7074
done
7140
 
done
 
7075
  done
7141
7076
IFS=$as_save_IFS
7142
7077
 
7143
7078
fi
7144
7079
fi
7145
7080
OTOOL64=$ac_cv_prog_OTOOL64
7146
7081
if test -n "$OTOOL64"; then
7147
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7082
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7148
7083
$as_echo "$OTOOL64" >&6; }
7149
7084
else
7150
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7085
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151
7086
$as_echo "no" >&6; }
7152
7087
fi
7153
7088
 
7157
7092
  ac_ct_OTOOL64=$OTOOL64
7158
7093
  # Extract the first word of "otool64", so it can be a program name with args.
7159
7094
set dummy otool64; ac_word=$2
7160
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161
7096
$as_echo_n "checking for $ac_word... " >&6; }
7162
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7097
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7163
7098
  $as_echo_n "(cached) " >&6
7164
7099
else
7165
7100
  if test -n "$ac_ct_OTOOL64"; then
7170
7105
do
7171
7106
  IFS=$as_save_IFS
7172
7107
  test -z "$as_dir" && as_dir=.
7173
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7108
    for ac_exec_ext in '' $ac_executable_extensions; do
7174
7109
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7175
7110
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7176
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7111
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7177
7112
    break 2
7178
7113
  fi
7179
7114
done
7180
 
done
 
7115
  done
7181
7116
IFS=$as_save_IFS
7182
7117
 
7183
7118
fi
7184
7119
fi
7185
7120
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7186
7121
if test -n "$ac_ct_OTOOL64"; then
7187
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7122
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7188
7123
$as_echo "$ac_ct_OTOOL64" >&6; }
7189
7124
else
7190
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7125
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191
7126
$as_echo "no" >&6; }
7192
7127
fi
7193
7128
 
7196
7131
  else
7197
7132
    case $cross_compiling:$ac_tool_warned in
7198
7133
yes:)
7199
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7134
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7200
7135
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7201
7136
ac_tool_warned=yes ;;
7202
7137
esac
7232
7167
 
7233
7168
 
7234
7169
 
7235
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7170
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7236
7171
$as_echo_n "checking for -single_module linker flag... " >&6; }
7237
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7172
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7238
7173
  $as_echo_n "(cached) " >&6
7239
7174
else
7240
7175
  lt_cv_apple_cc_single_mod=no
7259
7194
        rm -f conftest.*
7260
7195
      fi
7261
7196
fi
7262
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7263
7198
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7264
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7199
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7265
7200
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7266
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7201
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7267
7202
  $as_echo_n "(cached) " >&6
7268
7203
else
7269
7204
  lt_cv_ld_exported_symbols_list=no
7270
7205
      save_LDFLAGS=$LDFLAGS
7271
7206
      echo "_main" > conftest.sym
7272
7207
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7273
 
      cat >conftest.$ac_ext <<_ACEOF
7274
 
/* confdefs.h.  */
7275
 
_ACEOF
7276
 
cat confdefs.h >>conftest.$ac_ext
7277
 
cat >>conftest.$ac_ext <<_ACEOF
 
7208
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278
7209
/* end confdefs.h.  */
7279
7210
 
7280
7211
int
7285
7216
  return 0;
7286
7217
}
7287
7218
_ACEOF
7288
 
rm -f conftest.$ac_objext conftest$ac_exeext
7289
 
if { (ac_try="$ac_link"
7290
 
case "(($ac_try" in
7291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7292
 
  *) ac_try_echo=$ac_try;;
7293
 
esac
7294
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7295
 
$as_echo "$ac_try_echo") >&5
7296
 
  (eval "$ac_link") 2>conftest.er1
7297
 
  ac_status=$?
7298
 
  grep -v '^ *+' conftest.er1 >conftest.err
7299
 
  rm -f conftest.er1
7300
 
  cat conftest.err >&5
7301
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302
 
  (exit $ac_status); } && {
7303
 
         test -z "$ac_c_werror_flag" ||
7304
 
         test ! -s conftest.err
7305
 
       } && test -s conftest$ac_exeext && {
7306
 
         test "$cross_compiling" = yes ||
7307
 
         $as_test_x conftest$ac_exeext
7308
 
       }; then
 
7219
if ac_fn_c_try_link "$LINENO"; then :
7309
7220
  lt_cv_ld_exported_symbols_list=yes
7310
7221
else
7311
 
  $as_echo "$as_me: failed program was:" >&5
7312
 
sed 's/^/| /' conftest.$ac_ext >&5
7313
 
 
7314
 
        lt_cv_ld_exported_symbols_list=no
 
7222
  lt_cv_ld_exported_symbols_list=no
7315
7223
fi
7316
 
 
7317
 
rm -rf conftest.dSYM
7318
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7319
 
      conftest$ac_exeext conftest.$ac_ext
 
7224
rm -f core conftest.err conftest.$ac_objext \
 
7225
    conftest$ac_exeext conftest.$ac_ext
7320
7226
        LDFLAGS="$save_LDFLAGS"
7321
7227
 
7322
7228
fi
7323
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7324
7230
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7325
7231
    case $host_os in
7326
7232
    rhapsody* | darwin1.[012])
7362
7268
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7363
7269
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7364
7270
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7365
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
7271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7366
7272
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7367
7273
# On Suns, sometimes $CPP names a directory.
7368
7274
if test -n "$CPP" && test -d "$CPP"; then
7369
7275
  CPP=
7370
7276
fi
7371
7277
if test -z "$CPP"; then
7372
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
7278
  if test "${ac_cv_prog_CPP+set}" = set; then :
7373
7279
  $as_echo_n "(cached) " >&6
7374
7280
else
7375
7281
      # Double quotes because CPP needs to be expanded
7384
7290
  # <limits.h> exists even on freestanding compilers.
7385
7291
  # On the NeXT, cc -E runs the code through the compiler's parser,
7386
7292
  # not just through cpp. "Syntax error" is here to catch this case.
7387
 
  cat >conftest.$ac_ext <<_ACEOF
7388
 
/* confdefs.h.  */
7389
 
_ACEOF
7390
 
cat confdefs.h >>conftest.$ac_ext
7391
 
cat >>conftest.$ac_ext <<_ACEOF
 
7293
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7392
7294
/* end confdefs.h.  */
7393
7295
#ifdef __STDC__
7394
7296
# include <limits.h>
7397
7299
#endif
7398
7300
                     Syntax error
7399
7301
_ACEOF
7400
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7401
 
case "(($ac_try" in
7402
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7403
 
  *) ac_try_echo=$ac_try;;
7404
 
esac
7405
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7406
 
$as_echo "$ac_try_echo") >&5
7407
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7408
 
  ac_status=$?
7409
 
  grep -v '^ *+' conftest.er1 >conftest.err
7410
 
  rm -f conftest.er1
7411
 
  cat conftest.err >&5
7412
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413
 
  (exit $ac_status); } >/dev/null && {
7414
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7415
 
         test ! -s conftest.err
7416
 
       }; then
7417
 
  :
 
7302
if ac_fn_c_try_cpp "$LINENO"; then :
 
7303
 
7418
7304
else
7419
 
  $as_echo "$as_me: failed program was:" >&5
7420
 
sed 's/^/| /' conftest.$ac_ext >&5
7421
 
 
7422
7305
  # Broken: fails on valid input.
7423
7306
continue
7424
7307
fi
7425
 
 
7426
7308
rm -f conftest.err conftest.$ac_ext
7427
7309
 
7428
7310
  # OK, works on sane cases.  Now check whether nonexistent headers
7429
7311
  # can be detected and how.
7430
 
  cat >conftest.$ac_ext <<_ACEOF
7431
 
/* confdefs.h.  */
7432
 
_ACEOF
7433
 
cat confdefs.h >>conftest.$ac_ext
7434
 
cat >>conftest.$ac_ext <<_ACEOF
 
7312
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7435
7313
/* end confdefs.h.  */
7436
7314
#include <ac_nonexistent.h>
7437
7315
_ACEOF
7438
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7439
 
case "(($ac_try" in
7440
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7441
 
  *) ac_try_echo=$ac_try;;
7442
 
esac
7443
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7444
 
$as_echo "$ac_try_echo") >&5
7445
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7446
 
  ac_status=$?
7447
 
  grep -v '^ *+' conftest.er1 >conftest.err
7448
 
  rm -f conftest.er1
7449
 
  cat conftest.err >&5
7450
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451
 
  (exit $ac_status); } >/dev/null && {
7452
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7453
 
         test ! -s conftest.err
7454
 
       }; then
 
7316
if ac_fn_c_try_cpp "$LINENO"; then :
7455
7317
  # Broken: success on invalid input.
7456
7318
continue
7457
7319
else
7458
 
  $as_echo "$as_me: failed program was:" >&5
7459
 
sed 's/^/| /' conftest.$ac_ext >&5
7460
 
 
7461
7320
  # Passes both tests.
7462
7321
ac_preproc_ok=:
7463
7322
break
7464
7323
fi
7465
 
 
7466
7324
rm -f conftest.err conftest.$ac_ext
7467
7325
 
7468
7326
done
7469
7327
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7470
7328
rm -f conftest.err conftest.$ac_ext
7471
 
if $ac_preproc_ok; then
 
7329
if $ac_preproc_ok; then :
7472
7330
  break
7473
7331
fi
7474
7332
 
7480
7338
else
7481
7339
  ac_cv_prog_CPP=$CPP
7482
7340
fi
7483
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
7341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7484
7342
$as_echo "$CPP" >&6; }
7485
7343
ac_preproc_ok=false
7486
7344
for ac_c_preproc_warn_flag in '' yes
7491
7349
  # <limits.h> exists even on freestanding compilers.
7492
7350
  # On the NeXT, cc -E runs the code through the compiler's parser,
7493
7351
  # not just through cpp. "Syntax error" is here to catch this case.
7494
 
  cat >conftest.$ac_ext <<_ACEOF
7495
 
/* confdefs.h.  */
7496
 
_ACEOF
7497
 
cat confdefs.h >>conftest.$ac_ext
7498
 
cat >>conftest.$ac_ext <<_ACEOF
 
7352
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7499
7353
/* end confdefs.h.  */
7500
7354
#ifdef __STDC__
7501
7355
# include <limits.h>
7504
7358
#endif
7505
7359
                     Syntax error
7506
7360
_ACEOF
7507
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7508
 
case "(($ac_try" in
7509
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7510
 
  *) ac_try_echo=$ac_try;;
7511
 
esac
7512
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7513
 
$as_echo "$ac_try_echo") >&5
7514
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7515
 
  ac_status=$?
7516
 
  grep -v '^ *+' conftest.er1 >conftest.err
7517
 
  rm -f conftest.er1
7518
 
  cat conftest.err >&5
7519
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520
 
  (exit $ac_status); } >/dev/null && {
7521
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7522
 
         test ! -s conftest.err
7523
 
       }; then
7524
 
  :
 
7361
if ac_fn_c_try_cpp "$LINENO"; then :
 
7362
 
7525
7363
else
7526
 
  $as_echo "$as_me: failed program was:" >&5
7527
 
sed 's/^/| /' conftest.$ac_ext >&5
7528
 
 
7529
7364
  # Broken: fails on valid input.
7530
7365
continue
7531
7366
fi
7532
 
 
7533
7367
rm -f conftest.err conftest.$ac_ext
7534
7368
 
7535
7369
  # OK, works on sane cases.  Now check whether nonexistent headers
7536
7370
  # can be detected and how.
7537
 
  cat >conftest.$ac_ext <<_ACEOF
7538
 
/* confdefs.h.  */
7539
 
_ACEOF
7540
 
cat confdefs.h >>conftest.$ac_ext
7541
 
cat >>conftest.$ac_ext <<_ACEOF
 
7371
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542
7372
/* end confdefs.h.  */
7543
7373
#include <ac_nonexistent.h>
7544
7374
_ACEOF
7545
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7546
 
case "(($ac_try" in
7547
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7548
 
  *) ac_try_echo=$ac_try;;
7549
 
esac
7550
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7551
 
$as_echo "$ac_try_echo") >&5
7552
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7553
 
  ac_status=$?
7554
 
  grep -v '^ *+' conftest.er1 >conftest.err
7555
 
  rm -f conftest.er1
7556
 
  cat conftest.err >&5
7557
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558
 
  (exit $ac_status); } >/dev/null && {
7559
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7560
 
         test ! -s conftest.err
7561
 
       }; then
 
7375
if ac_fn_c_try_cpp "$LINENO"; then :
7562
7376
  # Broken: success on invalid input.
7563
7377
continue
7564
7378
else
7565
 
  $as_echo "$as_me: failed program was:" >&5
7566
 
sed 's/^/| /' conftest.$ac_ext >&5
7567
 
 
7568
7379
  # Passes both tests.
7569
7380
ac_preproc_ok=:
7570
7381
break
7571
7382
fi
7572
 
 
7573
7383
rm -f conftest.err conftest.$ac_ext
7574
7384
 
7575
7385
done
7576
7386
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7577
7387
rm -f conftest.err conftest.$ac_ext
7578
 
if $ac_preproc_ok; then
7579
 
  :
 
7388
if $ac_preproc_ok; then :
 
7389
 
7580
7390
else
7581
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7391
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7582
7392
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7583
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7584
 
See \`config.log' for more details." >&5
7585
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7586
 
See \`config.log' for more details." >&2;}
7587
 
   { (exit 1); exit 1; }; }; }
 
7393
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
7394
See \`config.log' for more details." "$LINENO" 5; }
7588
7395
fi
7589
7396
 
7590
7397
ac_ext=c
7594
7401
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7595
7402
 
7596
7403
 
7597
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7598
7405
$as_echo_n "checking for ANSI C header files... " >&6; }
7599
 
if test "${ac_cv_header_stdc+set}" = set; then
 
7406
if test "${ac_cv_header_stdc+set}" = set; then :
7600
7407
  $as_echo_n "(cached) " >&6
7601
7408
else
7602
 
  cat >conftest.$ac_ext <<_ACEOF
7603
 
/* confdefs.h.  */
7604
 
_ACEOF
7605
 
cat confdefs.h >>conftest.$ac_ext
7606
 
cat >>conftest.$ac_ext <<_ACEOF
 
7409
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7607
7410
/* end confdefs.h.  */
7608
7411
#include <stdlib.h>
7609
7412
#include <stdarg.h>
7618
7421
  return 0;
7619
7422
}
7620
7423
_ACEOF
7621
 
rm -f conftest.$ac_objext
7622
 
if { (ac_try="$ac_compile"
7623
 
case "(($ac_try" in
7624
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7625
 
  *) ac_try_echo=$ac_try;;
7626
 
esac
7627
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7628
 
$as_echo "$ac_try_echo") >&5
7629
 
  (eval "$ac_compile") 2>conftest.er1
7630
 
  ac_status=$?
7631
 
  grep -v '^ *+' conftest.er1 >conftest.err
7632
 
  rm -f conftest.er1
7633
 
  cat conftest.err >&5
7634
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635
 
  (exit $ac_status); } && {
7636
 
         test -z "$ac_c_werror_flag" ||
7637
 
         test ! -s conftest.err
7638
 
       } && test -s conftest.$ac_objext; then
 
7424
if ac_fn_c_try_compile "$LINENO"; then :
7639
7425
  ac_cv_header_stdc=yes
7640
7426
else
7641
 
  $as_echo "$as_me: failed program was:" >&5
7642
 
sed 's/^/| /' conftest.$ac_ext >&5
7643
 
 
7644
 
        ac_cv_header_stdc=no
 
7427
  ac_cv_header_stdc=no
7645
7428
fi
7646
 
 
7647
7429
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7648
7430
 
7649
7431
if test $ac_cv_header_stdc = yes; then
7650
7432
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7651
 
  cat >conftest.$ac_ext <<_ACEOF
7652
 
/* confdefs.h.  */
7653
 
_ACEOF
7654
 
cat confdefs.h >>conftest.$ac_ext
7655
 
cat >>conftest.$ac_ext <<_ACEOF
 
7433
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7656
7434
/* end confdefs.h.  */
7657
7435
#include <string.h>
7658
7436
 
7659
7437
_ACEOF
7660
7438
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7661
 
  $EGREP "memchr" >/dev/null 2>&1; then
7662
 
  :
 
7439
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7440
 
7663
7441
else
7664
7442
  ac_cv_header_stdc=no
7665
7443
fi
7669
7447
 
7670
7448
if test $ac_cv_header_stdc = yes; then
7671
7449
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7672
 
  cat >conftest.$ac_ext <<_ACEOF
7673
 
/* confdefs.h.  */
7674
 
_ACEOF
7675
 
cat confdefs.h >>conftest.$ac_ext
7676
 
cat >>conftest.$ac_ext <<_ACEOF
 
7450
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677
7451
/* end confdefs.h.  */
7678
7452
#include <stdlib.h>
7679
7453
 
7680
7454
_ACEOF
7681
7455
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7682
 
  $EGREP "free" >/dev/null 2>&1; then
7683
 
  :
 
7456
  $EGREP "free" >/dev/null 2>&1; then :
 
7457
 
7684
7458
else
7685
7459
  ac_cv_header_stdc=no
7686
7460
fi
7690
7464
 
7691
7465
if test $ac_cv_header_stdc = yes; then
7692
7466
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7693
 
  if test "$cross_compiling" = yes; then
 
7467
  if test "$cross_compiling" = yes; then :
7694
7468
  :
7695
7469
else
7696
 
  cat >conftest.$ac_ext <<_ACEOF
7697
 
/* confdefs.h.  */
7698
 
_ACEOF
7699
 
cat confdefs.h >>conftest.$ac_ext
7700
 
cat >>conftest.$ac_ext <<_ACEOF
 
7470
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7701
7471
/* end confdefs.h.  */
7702
7472
#include <ctype.h>
7703
7473
#include <stdlib.h>
7724
7494
  return 0;
7725
7495
}
7726
7496
_ACEOF
7727
 
rm -f conftest$ac_exeext
7728
 
if { (ac_try="$ac_link"
7729
 
case "(($ac_try" in
7730
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7731
 
  *) ac_try_echo=$ac_try;;
7732
 
esac
7733
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7734
 
$as_echo "$ac_try_echo") >&5
7735
 
  (eval "$ac_link") 2>&5
7736
 
  ac_status=$?
7737
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7739
 
  { (case "(($ac_try" in
7740
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7741
 
  *) ac_try_echo=$ac_try;;
7742
 
esac
7743
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7744
 
$as_echo "$ac_try_echo") >&5
7745
 
  (eval "$ac_try") 2>&5
7746
 
  ac_status=$?
7747
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748
 
  (exit $ac_status); }; }; then
7749
 
  :
 
7497
if ac_fn_c_try_run "$LINENO"; then :
 
7498
 
7750
7499
else
7751
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
7752
 
$as_echo "$as_me: failed program was:" >&5
7753
 
sed 's/^/| /' conftest.$ac_ext >&5
7754
 
 
7755
 
( exit $ac_status )
7756
 
ac_cv_header_stdc=no
7757
 
fi
7758
 
rm -rf conftest.dSYM
7759
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7760
 
fi
7761
 
 
7762
 
 
7763
 
fi
7764
 
fi
7765
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7500
  ac_cv_header_stdc=no
 
7501
fi
 
7502
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7503
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7504
fi
 
7505
 
 
7506
fi
 
7507
fi
 
7508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7766
7509
$as_echo "$ac_cv_header_stdc" >&6; }
7767
7510
if test $ac_cv_header_stdc = yes; then
7768
7511
 
7769
 
cat >>confdefs.h <<\_ACEOF
7770
 
#define STDC_HEADERS 1
7771
 
_ACEOF
 
7512
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7772
7513
 
7773
7514
fi
7774
7515
 
7775
7516
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7776
 
 
7777
 
 
7778
 
 
7779
 
 
7780
 
 
7781
 
 
7782
 
 
7783
 
 
7784
 
 
7785
7517
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7786
7518
                  inttypes.h stdint.h unistd.h
7787
 
do
7788
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7789
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7790
 
$as_echo_n "checking for $ac_header... " >&6; }
7791
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7792
 
  $as_echo_n "(cached) " >&6
7793
 
else
7794
 
  cat >conftest.$ac_ext <<_ACEOF
7795
 
/* confdefs.h.  */
7796
 
_ACEOF
7797
 
cat confdefs.h >>conftest.$ac_ext
7798
 
cat >>conftest.$ac_ext <<_ACEOF
7799
 
/* end confdefs.h.  */
7800
 
$ac_includes_default
7801
 
 
7802
 
#include <$ac_header>
7803
 
_ACEOF
7804
 
rm -f conftest.$ac_objext
7805
 
if { (ac_try="$ac_compile"
7806
 
case "(($ac_try" in
7807
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7808
 
  *) ac_try_echo=$ac_try;;
7809
 
esac
7810
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7811
 
$as_echo "$ac_try_echo") >&5
7812
 
  (eval "$ac_compile") 2>conftest.er1
7813
 
  ac_status=$?
7814
 
  grep -v '^ *+' conftest.er1 >conftest.err
7815
 
  rm -f conftest.er1
7816
 
  cat conftest.err >&5
7817
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818
 
  (exit $ac_status); } && {
7819
 
         test -z "$ac_c_werror_flag" ||
7820
 
         test ! -s conftest.err
7821
 
       } && test -s conftest.$ac_objext; then
7822
 
  eval "$as_ac_Header=yes"
7823
 
else
7824
 
  $as_echo "$as_me: failed program was:" >&5
7825
 
sed 's/^/| /' conftest.$ac_ext >&5
7826
 
 
7827
 
        eval "$as_ac_Header=no"
7828
 
fi
7829
 
 
7830
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7831
 
fi
7832
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7833
 
                 $as_echo "$as_val"'`
7834
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7835
 
$as_echo "$ac_res" >&6; }
7836
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7837
 
                 $as_echo "$as_val"'`
7838
 
   if test "x$as_val" = x""yes; then
 
7519
do :
 
7520
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7521
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7522
"
 
7523
eval as_val=\$$as_ac_Header
 
7524
   if test "x$as_val" = x""yes; then :
7839
7525
  cat >>confdefs.h <<_ACEOF
7840
7526
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7841
7527
_ACEOF
7845
7531
done
7846
7532
 
7847
7533
 
7848
 
 
7849
7534
for ac_header in dlfcn.h
7850
 
do
7851
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7852
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7853
 
$as_echo_n "checking for $ac_header... " >&6; }
7854
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7855
 
  $as_echo_n "(cached) " >&6
7856
 
else
7857
 
  cat >conftest.$ac_ext <<_ACEOF
7858
 
/* confdefs.h.  */
7859
 
_ACEOF
7860
 
cat confdefs.h >>conftest.$ac_ext
7861
 
cat >>conftest.$ac_ext <<_ACEOF
7862
 
/* end confdefs.h.  */
7863
 
$ac_includes_default
7864
 
 
7865
 
#include <$ac_header>
7866
 
_ACEOF
7867
 
rm -f conftest.$ac_objext
7868
 
if { (ac_try="$ac_compile"
7869
 
case "(($ac_try" in
7870
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7871
 
  *) ac_try_echo=$ac_try;;
7872
 
esac
7873
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7874
 
$as_echo "$ac_try_echo") >&5
7875
 
  (eval "$ac_compile") 2>conftest.er1
7876
 
  ac_status=$?
7877
 
  grep -v '^ *+' conftest.er1 >conftest.err
7878
 
  rm -f conftest.er1
7879
 
  cat conftest.err >&5
7880
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7881
 
  (exit $ac_status); } && {
7882
 
         test -z "$ac_c_werror_flag" ||
7883
 
         test ! -s conftest.err
7884
 
       } && test -s conftest.$ac_objext; then
7885
 
  eval "$as_ac_Header=yes"
7886
 
else
7887
 
  $as_echo "$as_me: failed program was:" >&5
7888
 
sed 's/^/| /' conftest.$ac_ext >&5
7889
 
 
7890
 
        eval "$as_ac_Header=no"
7891
 
fi
7892
 
 
7893
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7894
 
fi
7895
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7896
 
                 $as_echo "$as_val"'`
7897
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7898
 
$as_echo "$ac_res" >&6; }
7899
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7900
 
                 $as_echo "$as_val"'`
7901
 
   if test "x$as_val" = x""yes; then
 
7535
do :
 
7536
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7537
"
 
7538
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7902
7539
  cat >>confdefs.h <<_ACEOF
7903
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7540
#define HAVE_DLFCN_H 1
7904
7541
_ACEOF
7905
7542
 
7906
7543
fi
7920
7557
 
7921
7558
 
7922
7559
            # Check whether --enable-shared was given.
7923
 
if test "${enable_shared+set}" = set; then
 
7560
if test "${enable_shared+set}" = set; then :
7924
7561
  enableval=$enable_shared; p=${PACKAGE-default}
7925
7562
    case $enableval in
7926
7563
    yes) enable_shared=yes ;;
7953
7590
 
7954
7591
 
7955
7592
# Check whether --with-pic was given.
7956
 
if test "${with_pic+set}" = set; then
 
7593
if test "${with_pic+set}" = set; then :
7957
7594
  withval=$with_pic; pic_mode="$withval"
7958
7595
else
7959
7596
  pic_mode=default
7969
7606
 
7970
7607
 
7971
7608
  # Check whether --enable-fast-install was given.
7972
 
if test "${enable_fast_install+set}" = set; then
 
7609
if test "${enable_fast_install+set}" = set; then :
7973
7610
  enableval=$enable_fast_install; p=${PACKAGE-default}
7974
7611
    case $enableval in
7975
7612
    yes) enable_fast_install=yes ;;
8050
7687
   setopt NO_GLOB_SUBST
8051
7688
fi
8052
7689
 
8053
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8054
7691
$as_echo_n "checking for objdir... " >&6; }
8055
 
if test "${lt_cv_objdir+set}" = set; then
 
7692
if test "${lt_cv_objdir+set}" = set; then :
8056
7693
  $as_echo_n "(cached) " >&6
8057
7694
else
8058
7695
  rm -f .libs 2>/dev/null
8065
7702
fi
8066
7703
rmdir .libs 2>/dev/null
8067
7704
fi
8068
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8069
7706
$as_echo "$lt_cv_objdir" >&6; }
8070
7707
objdir=$lt_cv_objdir
8071
7708
 
8158
7795
case $deplibs_check_method in
8159
7796
file_magic*)
8160
7797
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8161
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7798
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8162
7799
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8163
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7800
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8164
7801
  $as_echo_n "(cached) " >&6
8165
7802
else
8166
7803
  case $MAGIC_CMD in
8211
7848
 
8212
7849
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8213
7850
if test -n "$MAGIC_CMD"; then
8214
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7851
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8215
7852
$as_echo "$MAGIC_CMD" >&6; }
8216
7853
else
8217
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7854
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8218
7855
$as_echo "no" >&6; }
8219
7856
fi
8220
7857
 
8224
7861
 
8225
7862
if test -z "$lt_cv_path_MAGIC_CMD"; then
8226
7863
  if test -n "$ac_tool_prefix"; then
8227
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7864
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8228
7865
$as_echo_n "checking for file... " >&6; }
8229
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7866
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8230
7867
  $as_echo_n "(cached) " >&6
8231
7868
else
8232
7869
  case $MAGIC_CMD in
8277
7914
 
8278
7915
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8279
7916
if test -n "$MAGIC_CMD"; then
8280
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8281
7918
$as_echo "$MAGIC_CMD" >&6; }
8282
7919
else
8283
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8284
7921
$as_echo "no" >&6; }
8285
7922
fi
8286
7923
 
8357
7994
if test "$GCC" = yes; then
8358
7995
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8359
7996
 
8360
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7997
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8361
7998
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8362
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
7999
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8363
8000
  $as_echo_n "(cached) " >&6
8364
8001
else
8365
8002
  lt_cv_prog_compiler_rtti_exceptions=no
8375
8012
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8376
8013
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8377
8014
   -e 's:$: $lt_compiler_flag:'`
8378
 
   (eval echo "\"\$as_me:8378: $lt_compile\"" >&5)
 
8015
   (eval echo "\"\$as_me:8015: $lt_compile\"" >&5)
8379
8016
   (eval "$lt_compile" 2>conftest.err)
8380
8017
   ac_status=$?
8381
8018
   cat conftest.err >&5
8382
 
   echo "$as_me:8382: \$? = $ac_status" >&5
 
8019
   echo "$as_me:8019: \$? = $ac_status" >&5
8383
8020
   if (exit $ac_status) && test -s "$ac_outfile"; then
8384
8021
     # The compiler can only warn and ignore the option if not recognized
8385
8022
     # So say no if there are warnings other than the usual output.
8392
8029
   $RM conftest*
8393
8030
 
8394
8031
fi
8395
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8396
8033
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8397
8034
 
8398
8035
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8412
8049
lt_prog_compiler_pic=
8413
8050
lt_prog_compiler_static=
8414
8051
 
8415
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8416
8053
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8417
8054
 
8418
8055
  if test "$GCC" = yes; then
8684
8321
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8685
8322
    ;;
8686
8323
esac
8687
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8688
8325
$as_echo "$lt_prog_compiler_pic" >&6; }
8689
8326
 
8690
8327
 
8696
8333
# Check to make sure the PIC flag actually works.
8697
8334
#
8698
8335
if test -n "$lt_prog_compiler_pic"; then
8699
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8336
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8700
8337
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8701
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8338
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8702
8339
  $as_echo_n "(cached) " >&6
8703
8340
else
8704
8341
  lt_cv_prog_compiler_pic_works=no
8714
8351
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8715
8352
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8716
8353
   -e 's:$: $lt_compiler_flag:'`
8717
 
   (eval echo "\"\$as_me:8717: $lt_compile\"" >&5)
 
8354
   (eval echo "\"\$as_me:8354: $lt_compile\"" >&5)
8718
8355
   (eval "$lt_compile" 2>conftest.err)
8719
8356
   ac_status=$?
8720
8357
   cat conftest.err >&5
8721
 
   echo "$as_me:8721: \$? = $ac_status" >&5
 
8358
   echo "$as_me:8358: \$? = $ac_status" >&5
8722
8359
   if (exit $ac_status) && test -s "$ac_outfile"; then
8723
8360
     # The compiler can only warn and ignore the option if not recognized
8724
8361
     # So say no if there are warnings other than the usual output.
8731
8368
   $RM conftest*
8732
8369
 
8733
8370
fi
8734
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8735
8372
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8736
8373
 
8737
8374
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8755
8392
# Check to make sure the static flag actually works.
8756
8393
#
8757
8394
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8758
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8759
8396
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8760
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8397
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8761
8398
  $as_echo_n "(cached) " >&6
8762
8399
else
8763
8400
  lt_cv_prog_compiler_static_works=no
8783
8420
   LDFLAGS="$save_LDFLAGS"
8784
8421
 
8785
8422
fi
8786
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8787
8424
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8788
8425
 
8789
8426
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8798
8435
 
8799
8436
 
8800
8437
 
8801
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8438
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8802
8439
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8803
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8440
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8804
8441
  $as_echo_n "(cached) " >&6
8805
8442
else
8806
8443
  lt_cv_prog_compiler_c_o=no
8819
8456
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8820
8457
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8821
8458
   -e 's:$: $lt_compiler_flag:'`
8822
 
   (eval echo "\"\$as_me:8822: $lt_compile\"" >&5)
 
8459
   (eval echo "\"\$as_me:8459: $lt_compile\"" >&5)
8823
8460
   (eval "$lt_compile" 2>out/conftest.err)
8824
8461
   ac_status=$?
8825
8462
   cat out/conftest.err >&5
8826
 
   echo "$as_me:8826: \$? = $ac_status" >&5
 
8463
   echo "$as_me:8463: \$? = $ac_status" >&5
8827
8464
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8828
8465
   then
8829
8466
     # The compiler can only warn and ignore the option if not recognized
8845
8482
   $RM conftest*
8846
8483
 
8847
8484
fi
8848
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8849
8486
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8850
8487
 
8851
8488
 
8853
8490
 
8854
8491
 
8855
8492
 
8856
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8493
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8857
8494
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8858
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8495
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8859
8496
  $as_echo_n "(cached) " >&6
8860
8497
else
8861
8498
  lt_cv_prog_compiler_c_o=no
8874
8511
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8875
8512
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8876
8513
   -e 's:$: $lt_compiler_flag:'`
8877
 
   (eval echo "\"\$as_me:8877: $lt_compile\"" >&5)
 
8514
   (eval echo "\"\$as_me:8514: $lt_compile\"" >&5)
8878
8515
   (eval "$lt_compile" 2>out/conftest.err)
8879
8516
   ac_status=$?
8880
8517
   cat out/conftest.err >&5
8881
 
   echo "$as_me:8881: \$? = $ac_status" >&5
 
8518
   echo "$as_me:8518: \$? = $ac_status" >&5
8882
8519
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8883
8520
   then
8884
8521
     # The compiler can only warn and ignore the option if not recognized
8900
8537
   $RM conftest*
8901
8538
 
8902
8539
fi
8903
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8904
8541
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8905
8542
 
8906
8543
 
8909
8546
hard_links="nottested"
8910
8547
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8911
8548
  # do not overwrite the value of need_locks provided by the user
8912
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8549
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8913
8550
$as_echo_n "checking if we can lock with hard links... " >&6; }
8914
8551
  hard_links=yes
8915
8552
  $RM conftest*
8917
8554
  touch conftest.a
8918
8555
  ln conftest.a conftest.b 2>&5 || hard_links=no
8919
8556
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8920
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8557
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8921
8558
$as_echo "$hard_links" >&6; }
8922
8559
  if test "$hard_links" = no; then
8923
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8560
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8924
8561
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8925
8562
    need_locks=warn
8926
8563
  fi
8933
8570
 
8934
8571
 
8935
8572
 
8936
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8573
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8937
8574
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8938
8575
 
8939
8576
  runpath_var=
9379
9016
        allow_undefined_flag='-berok'
9380
9017
        # Determine the default libpath from the value encoded in an
9381
9018
        # empty executable.
9382
 
        cat >conftest.$ac_ext <<_ACEOF
9383
 
/* confdefs.h.  */
9384
 
_ACEOF
9385
 
cat confdefs.h >>conftest.$ac_ext
9386
 
cat >>conftest.$ac_ext <<_ACEOF
 
9019
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387
9020
/* end confdefs.h.  */
9388
9021
 
9389
9022
int
9394
9027
  return 0;
9395
9028
}
9396
9029
_ACEOF
9397
 
rm -f conftest.$ac_objext conftest$ac_exeext
9398
 
if { (ac_try="$ac_link"
9399
 
case "(($ac_try" in
9400
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9401
 
  *) ac_try_echo=$ac_try;;
9402
 
esac
9403
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9404
 
$as_echo "$ac_try_echo") >&5
9405
 
  (eval "$ac_link") 2>conftest.er1
9406
 
  ac_status=$?
9407
 
  grep -v '^ *+' conftest.er1 >conftest.err
9408
 
  rm -f conftest.er1
9409
 
  cat conftest.err >&5
9410
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411
 
  (exit $ac_status); } && {
9412
 
         test -z "$ac_c_werror_flag" ||
9413
 
         test ! -s conftest.err
9414
 
       } && test -s conftest$ac_exeext && {
9415
 
         test "$cross_compiling" = yes ||
9416
 
         $as_test_x conftest$ac_exeext
9417
 
       }; then
 
9030
if ac_fn_c_try_link "$LINENO"; then :
9418
9031
 
9419
9032
lt_aix_libpath_sed='
9420
9033
    /Import File Strings/,/^$/ {
9428
9041
if test -z "$aix_libpath"; then
9429
9042
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9430
9043
fi
9431
 
else
9432
 
  $as_echo "$as_me: failed program was:" >&5
9433
 
sed 's/^/| /' conftest.$ac_ext >&5
9434
 
 
9435
 
 
9436
9044
fi
9437
 
 
9438
 
rm -rf conftest.dSYM
9439
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9440
 
      conftest$ac_exeext conftest.$ac_ext
 
9045
rm -f core conftest.err conftest.$ac_objext \
 
9046
    conftest$ac_exeext conftest.$ac_ext
9441
9047
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9442
9048
 
9443
9049
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9450
9056
        else
9451
9057
         # Determine the default libpath from the value encoded in an
9452
9058
         # empty executable.
9453
 
         cat >conftest.$ac_ext <<_ACEOF
9454
 
/* confdefs.h.  */
9455
 
_ACEOF
9456
 
cat confdefs.h >>conftest.$ac_ext
9457
 
cat >>conftest.$ac_ext <<_ACEOF
 
9059
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458
9060
/* end confdefs.h.  */
9459
9061
 
9460
9062
int
9465
9067
  return 0;
9466
9068
}
9467
9069
_ACEOF
9468
 
rm -f conftest.$ac_objext conftest$ac_exeext
9469
 
if { (ac_try="$ac_link"
9470
 
case "(($ac_try" in
9471
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9472
 
  *) ac_try_echo=$ac_try;;
9473
 
esac
9474
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9475
 
$as_echo "$ac_try_echo") >&5
9476
 
  (eval "$ac_link") 2>conftest.er1
9477
 
  ac_status=$?
9478
 
  grep -v '^ *+' conftest.er1 >conftest.err
9479
 
  rm -f conftest.er1
9480
 
  cat conftest.err >&5
9481
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482
 
  (exit $ac_status); } && {
9483
 
         test -z "$ac_c_werror_flag" ||
9484
 
         test ! -s conftest.err
9485
 
       } && test -s conftest$ac_exeext && {
9486
 
         test "$cross_compiling" = yes ||
9487
 
         $as_test_x conftest$ac_exeext
9488
 
       }; then
 
9070
if ac_fn_c_try_link "$LINENO"; then :
9489
9071
 
9490
9072
lt_aix_libpath_sed='
9491
9073
    /Import File Strings/,/^$/ {
9499
9081
if test -z "$aix_libpath"; then
9500
9082
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9501
9083
fi
9502
 
else
9503
 
  $as_echo "$as_me: failed program was:" >&5
9504
 
sed 's/^/| /' conftest.$ac_ext >&5
9505
 
 
9506
 
 
9507
9084
fi
9508
 
 
9509
 
rm -rf conftest.dSYM
9510
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9511
 
      conftest$ac_exeext conftest.$ac_ext
 
9085
rm -f core conftest.err conftest.$ac_objext \
 
9086
    conftest$ac_exeext conftest.$ac_ext
9512
9087
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9513
9088
 
9514
9089
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9720
9295
        # implicitly export all symbols.
9721
9296
        save_LDFLAGS="$LDFLAGS"
9722
9297
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9723
 
        cat >conftest.$ac_ext <<_ACEOF
 
9298
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9299
/* end confdefs.h.  */
9724
9300
int foo(void) {}
9725
9301
_ACEOF
9726
 
rm -f conftest.$ac_objext conftest$ac_exeext
9727
 
if { (ac_try="$ac_link"
9728
 
case "(($ac_try" in
9729
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9730
 
  *) ac_try_echo=$ac_try;;
9731
 
esac
9732
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9733
 
$as_echo "$ac_try_echo") >&5
9734
 
  (eval "$ac_link") 2>conftest.er1
9735
 
  ac_status=$?
9736
 
  grep -v '^ *+' conftest.er1 >conftest.err
9737
 
  rm -f conftest.er1
9738
 
  cat conftest.err >&5
9739
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9740
 
  (exit $ac_status); } && {
9741
 
         test -z "$ac_c_werror_flag" ||
9742
 
         test ! -s conftest.err
9743
 
       } && test -s conftest$ac_exeext && {
9744
 
         test "$cross_compiling" = yes ||
9745
 
         $as_test_x conftest$ac_exeext
9746
 
       }; then
 
9302
if ac_fn_c_try_link "$LINENO"; then :
9747
9303
  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'
9748
9304
 
9749
 
else
9750
 
  $as_echo "$as_me: failed program was:" >&5
9751
 
sed 's/^/| /' conftest.$ac_ext >&5
9752
 
 
9753
 
 
9754
9305
fi
9755
 
 
9756
 
rm -rf conftest.dSYM
9757
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9758
 
      conftest$ac_exeext conftest.$ac_ext
 
9306
rm -f core conftest.err conftest.$ac_objext \
 
9307
    conftest$ac_exeext conftest.$ac_ext
9759
9308
        LDFLAGS="$save_LDFLAGS"
9760
9309
      else
9761
9310
        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'
10011
9560
    fi
10012
9561
  fi
10013
9562
 
10014
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10015
9564
$as_echo "$ld_shlibs" >&6; }
10016
9565
test "$ld_shlibs" = no && can_build_shared=no
10017
9566
 
10048
9597
      # Test whether the compiler implicitly links with -lc since on some
10049
9598
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10050
9599
      # to ld, don't add -lc before -lgcc.
10051
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9600
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10052
9601
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10053
9602
      $RM conftest*
10054
9603
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10055
9604
 
10056
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9605
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10057
9606
  (eval $ac_compile) 2>&5
10058
9607
  ac_status=$?
10059
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060
 
  (exit $ac_status); } 2>conftest.err; then
 
9608
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9609
  test $ac_status = 0; } 2>conftest.err; then
10061
9610
        soname=conftest
10062
9611
        lib=conftest
10063
9612
        libobjs=conftest.$ac_objext
10071
9620
        libname=conftest
10072
9621
        lt_save_allow_undefined_flag=$allow_undefined_flag
10073
9622
        allow_undefined_flag=
10074
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9623
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10075
9624
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10076
9625
  ac_status=$?
10077
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10078
 
  (exit $ac_status); }
 
9626
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9627
  test $ac_status = 0; }
10079
9628
        then
10080
9629
          archive_cmds_need_lc=no
10081
9630
        else
10086
9635
        cat conftest.err 1>&5
10087
9636
      fi
10088
9637
      $RM conftest*
10089
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9638
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10090
9639
$as_echo "$archive_cmds_need_lc" >&6; }
10091
9640
      ;;
10092
9641
    esac
10250
9799
 
10251
9800
 
10252
9801
 
10253
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9802
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10254
9803
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10255
9804
 
10256
9805
if test "$GCC" = yes; then
10672
10221
  save_libdir=$libdir
10673
10222
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10674
10223
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10675
 
  cat >conftest.$ac_ext <<_ACEOF
10676
 
/* confdefs.h.  */
10677
 
_ACEOF
10678
 
cat confdefs.h >>conftest.$ac_ext
10679
 
cat >>conftest.$ac_ext <<_ACEOF
 
10224
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10680
10225
/* end confdefs.h.  */
10681
10226
 
10682
10227
int
10687
10232
  return 0;
10688
10233
}
10689
10234
_ACEOF
10690
 
rm -f conftest.$ac_objext conftest$ac_exeext
10691
 
if { (ac_try="$ac_link"
10692
 
case "(($ac_try" in
10693
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10694
 
  *) ac_try_echo=$ac_try;;
10695
 
esac
10696
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10697
 
$as_echo "$ac_try_echo") >&5
10698
 
  (eval "$ac_link") 2>conftest.er1
10699
 
  ac_status=$?
10700
 
  grep -v '^ *+' conftest.er1 >conftest.err
10701
 
  rm -f conftest.er1
10702
 
  cat conftest.err >&5
10703
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704
 
  (exit $ac_status); } && {
10705
 
         test -z "$ac_c_werror_flag" ||
10706
 
         test ! -s conftest.err
10707
 
       } && test -s conftest$ac_exeext && {
10708
 
         test "$cross_compiling" = yes ||
10709
 
         $as_test_x conftest$ac_exeext
10710
 
       }; then
10711
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10235
if ac_fn_c_try_link "$LINENO"; then :
 
10236
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10712
10237
  shlibpath_overrides_runpath=yes
10713
10238
fi
10714
 
 
10715
 
else
10716
 
  $as_echo "$as_me: failed program was:" >&5
10717
 
sed 's/^/| /' conftest.$ac_ext >&5
10718
 
 
10719
 
 
10720
10239
fi
10721
 
 
10722
 
rm -rf conftest.dSYM
10723
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10724
 
      conftest$ac_exeext conftest.$ac_ext
 
10240
rm -f core conftest.err conftest.$ac_objext \
 
10241
    conftest$ac_exeext conftest.$ac_ext
10725
10242
  LDFLAGS=$save_LDFLAGS
10726
10243
  libdir=$save_libdir
10727
10244
 
10945
10462
  dynamic_linker=no
10946
10463
  ;;
10947
10464
esac
10948
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10949
10466
$as_echo "$dynamic_linker" >&6; }
10950
10467
test "$dynamic_linker" = no && can_build_shared=no
10951
10468
 
11047
10564
 
11048
10565
 
11049
10566
 
11050
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10567
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11051
10568
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11052
10569
hardcode_action=
11053
10570
if test -n "$hardcode_libdir_flag_spec" ||
11072
10589
  # directories.
11073
10590
  hardcode_action=unsupported
11074
10591
fi
11075
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11076
10593
$as_echo "$hardcode_action" >&6; }
11077
10594
 
11078
10595
if test "$hardcode_action" = relink ||
11117
10634
 
11118
10635
  darwin*)
11119
10636
  # if libdl is installed we need to link against it
11120
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10637
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11121
10638
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11122
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10639
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11123
10640
  $as_echo_n "(cached) " >&6
11124
10641
else
11125
10642
  ac_check_lib_save_LIBS=$LIBS
11126
10643
LIBS="-ldl  $LIBS"
11127
 
cat >conftest.$ac_ext <<_ACEOF
11128
 
/* confdefs.h.  */
11129
 
_ACEOF
11130
 
cat confdefs.h >>conftest.$ac_ext
11131
 
cat >>conftest.$ac_ext <<_ACEOF
 
10644
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132
10645
/* end confdefs.h.  */
11133
10646
 
11134
10647
/* Override any GCC internal prototype to avoid an error.
11146
10659
  return 0;
11147
10660
}
11148
10661
_ACEOF
11149
 
rm -f conftest.$ac_objext conftest$ac_exeext
11150
 
if { (ac_try="$ac_link"
11151
 
case "(($ac_try" in
11152
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11153
 
  *) ac_try_echo=$ac_try;;
11154
 
esac
11155
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11156
 
$as_echo "$ac_try_echo") >&5
11157
 
  (eval "$ac_link") 2>conftest.er1
11158
 
  ac_status=$?
11159
 
  grep -v '^ *+' conftest.er1 >conftest.err
11160
 
  rm -f conftest.er1
11161
 
  cat conftest.err >&5
11162
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163
 
  (exit $ac_status); } && {
11164
 
         test -z "$ac_c_werror_flag" ||
11165
 
         test ! -s conftest.err
11166
 
       } && test -s conftest$ac_exeext && {
11167
 
         test "$cross_compiling" = yes ||
11168
 
         $as_test_x conftest$ac_exeext
11169
 
       }; then
 
10662
if ac_fn_c_try_link "$LINENO"; then :
11170
10663
  ac_cv_lib_dl_dlopen=yes
11171
10664
else
11172
 
  $as_echo "$as_me: failed program was:" >&5
11173
 
sed 's/^/| /' conftest.$ac_ext >&5
11174
 
 
11175
 
        ac_cv_lib_dl_dlopen=no
 
10665
  ac_cv_lib_dl_dlopen=no
11176
10666
fi
11177
 
 
11178
 
rm -rf conftest.dSYM
11179
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11180
 
      conftest$ac_exeext conftest.$ac_ext
 
10667
rm -f core conftest.err conftest.$ac_objext \
 
10668
    conftest$ac_exeext conftest.$ac_ext
11181
10669
LIBS=$ac_check_lib_save_LIBS
11182
10670
fi
11183
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11184
10672
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11185
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10673
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11186
10674
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11187
10675
else
11188
10676
 
11195
10683
    ;;
11196
10684
 
11197
10685
  *)
11198
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11199
 
$as_echo_n "checking for shl_load... " >&6; }
11200
 
if test "${ac_cv_func_shl_load+set}" = set; then
11201
 
  $as_echo_n "(cached) " >&6
11202
 
else
11203
 
  cat >conftest.$ac_ext <<_ACEOF
11204
 
/* confdefs.h.  */
11205
 
_ACEOF
11206
 
cat confdefs.h >>conftest.$ac_ext
11207
 
cat >>conftest.$ac_ext <<_ACEOF
11208
 
/* end confdefs.h.  */
11209
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11210
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11211
 
#define shl_load innocuous_shl_load
11212
 
 
11213
 
/* System header to define __stub macros and hopefully few prototypes,
11214
 
    which can conflict with char shl_load (); below.
11215
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11216
 
    <limits.h> exists even on freestanding compilers.  */
11217
 
 
11218
 
#ifdef __STDC__
11219
 
# include <limits.h>
11220
 
#else
11221
 
# include <assert.h>
11222
 
#endif
11223
 
 
11224
 
#undef shl_load
11225
 
 
11226
 
/* Override any GCC internal prototype to avoid an error.
11227
 
   Use char because int might match the return type of a GCC
11228
 
   builtin and then its argument prototype would still apply.  */
11229
 
#ifdef __cplusplus
11230
 
extern "C"
11231
 
#endif
11232
 
char shl_load ();
11233
 
/* The GNU C library defines this for functions which it implements
11234
 
    to always fail with ENOSYS.  Some functions are actually named
11235
 
    something starting with __ and the normal name is an alias.  */
11236
 
#if defined __stub_shl_load || defined __stub___shl_load
11237
 
choke me
11238
 
#endif
11239
 
 
11240
 
int
11241
 
main ()
11242
 
{
11243
 
return shl_load ();
11244
 
  ;
11245
 
  return 0;
11246
 
}
11247
 
_ACEOF
11248
 
rm -f conftest.$ac_objext conftest$ac_exeext
11249
 
if { (ac_try="$ac_link"
11250
 
case "(($ac_try" in
11251
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11252
 
  *) ac_try_echo=$ac_try;;
11253
 
esac
11254
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11255
 
$as_echo "$ac_try_echo") >&5
11256
 
  (eval "$ac_link") 2>conftest.er1
11257
 
  ac_status=$?
11258
 
  grep -v '^ *+' conftest.er1 >conftest.err
11259
 
  rm -f conftest.er1
11260
 
  cat conftest.err >&5
11261
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262
 
  (exit $ac_status); } && {
11263
 
         test -z "$ac_c_werror_flag" ||
11264
 
         test ! -s conftest.err
11265
 
       } && test -s conftest$ac_exeext && {
11266
 
         test "$cross_compiling" = yes ||
11267
 
         $as_test_x conftest$ac_exeext
11268
 
       }; then
11269
 
  ac_cv_func_shl_load=yes
11270
 
else
11271
 
  $as_echo "$as_me: failed program was:" >&5
11272
 
sed 's/^/| /' conftest.$ac_ext >&5
11273
 
 
11274
 
        ac_cv_func_shl_load=no
11275
 
fi
11276
 
 
11277
 
rm -rf conftest.dSYM
11278
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11279
 
      conftest$ac_exeext conftest.$ac_ext
11280
 
fi
11281
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11282
 
$as_echo "$ac_cv_func_shl_load" >&6; }
11283
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
10686
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10687
if test "x$ac_cv_func_shl_load" = x""yes; then :
11284
10688
  lt_cv_dlopen="shl_load"
11285
10689
else
11286
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10690
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11287
10691
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11288
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
10692
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11289
10693
  $as_echo_n "(cached) " >&6
11290
10694
else
11291
10695
  ac_check_lib_save_LIBS=$LIBS
11292
10696
LIBS="-ldld  $LIBS"
11293
 
cat >conftest.$ac_ext <<_ACEOF
11294
 
/* confdefs.h.  */
11295
 
_ACEOF
11296
 
cat confdefs.h >>conftest.$ac_ext
11297
 
cat >>conftest.$ac_ext <<_ACEOF
 
10697
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298
10698
/* end confdefs.h.  */
11299
10699
 
11300
10700
/* Override any GCC internal prototype to avoid an error.
11312
10712
  return 0;
11313
10713
}
11314
10714
_ACEOF
11315
 
rm -f conftest.$ac_objext conftest$ac_exeext
11316
 
if { (ac_try="$ac_link"
11317
 
case "(($ac_try" in
11318
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11319
 
  *) ac_try_echo=$ac_try;;
11320
 
esac
11321
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11322
 
$as_echo "$ac_try_echo") >&5
11323
 
  (eval "$ac_link") 2>conftest.er1
11324
 
  ac_status=$?
11325
 
  grep -v '^ *+' conftest.er1 >conftest.err
11326
 
  rm -f conftest.er1
11327
 
  cat conftest.err >&5
11328
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329
 
  (exit $ac_status); } && {
11330
 
         test -z "$ac_c_werror_flag" ||
11331
 
         test ! -s conftest.err
11332
 
       } && test -s conftest$ac_exeext && {
11333
 
         test "$cross_compiling" = yes ||
11334
 
         $as_test_x conftest$ac_exeext
11335
 
       }; then
 
10715
if ac_fn_c_try_link "$LINENO"; then :
11336
10716
  ac_cv_lib_dld_shl_load=yes
11337
10717
else
11338
 
  $as_echo "$as_me: failed program was:" >&5
11339
 
sed 's/^/| /' conftest.$ac_ext >&5
11340
 
 
11341
 
        ac_cv_lib_dld_shl_load=no
 
10718
  ac_cv_lib_dld_shl_load=no
11342
10719
fi
11343
 
 
11344
 
rm -rf conftest.dSYM
11345
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11346
 
      conftest$ac_exeext conftest.$ac_ext
 
10720
rm -f core conftest.err conftest.$ac_objext \
 
10721
    conftest$ac_exeext conftest.$ac_ext
11347
10722
LIBS=$ac_check_lib_save_LIBS
11348
10723
fi
11349
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11350
10725
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11351
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10726
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11352
10727
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11353
10728
else
11354
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11355
 
$as_echo_n "checking for dlopen... " >&6; }
11356
 
if test "${ac_cv_func_dlopen+set}" = set; then
11357
 
  $as_echo_n "(cached) " >&6
11358
 
else
11359
 
  cat >conftest.$ac_ext <<_ACEOF
11360
 
/* confdefs.h.  */
11361
 
_ACEOF
11362
 
cat confdefs.h >>conftest.$ac_ext
11363
 
cat >>conftest.$ac_ext <<_ACEOF
11364
 
/* end confdefs.h.  */
11365
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11366
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11367
 
#define dlopen innocuous_dlopen
11368
 
 
11369
 
/* System header to define __stub macros and hopefully few prototypes,
11370
 
    which can conflict with char dlopen (); below.
11371
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11372
 
    <limits.h> exists even on freestanding compilers.  */
11373
 
 
11374
 
#ifdef __STDC__
11375
 
# include <limits.h>
11376
 
#else
11377
 
# include <assert.h>
11378
 
#endif
11379
 
 
11380
 
#undef dlopen
11381
 
 
11382
 
/* Override any GCC internal prototype to avoid an error.
11383
 
   Use char because int might match the return type of a GCC
11384
 
   builtin and then its argument prototype would still apply.  */
11385
 
#ifdef __cplusplus
11386
 
extern "C"
11387
 
#endif
11388
 
char dlopen ();
11389
 
/* The GNU C library defines this for functions which it implements
11390
 
    to always fail with ENOSYS.  Some functions are actually named
11391
 
    something starting with __ and the normal name is an alias.  */
11392
 
#if defined __stub_dlopen || defined __stub___dlopen
11393
 
choke me
11394
 
#endif
11395
 
 
11396
 
int
11397
 
main ()
11398
 
{
11399
 
return dlopen ();
11400
 
  ;
11401
 
  return 0;
11402
 
}
11403
 
_ACEOF
11404
 
rm -f conftest.$ac_objext conftest$ac_exeext
11405
 
if { (ac_try="$ac_link"
11406
 
case "(($ac_try" in
11407
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11408
 
  *) ac_try_echo=$ac_try;;
11409
 
esac
11410
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11411
 
$as_echo "$ac_try_echo") >&5
11412
 
  (eval "$ac_link") 2>conftest.er1
11413
 
  ac_status=$?
11414
 
  grep -v '^ *+' conftest.er1 >conftest.err
11415
 
  rm -f conftest.er1
11416
 
  cat conftest.err >&5
11417
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418
 
  (exit $ac_status); } && {
11419
 
         test -z "$ac_c_werror_flag" ||
11420
 
         test ! -s conftest.err
11421
 
       } && test -s conftest$ac_exeext && {
11422
 
         test "$cross_compiling" = yes ||
11423
 
         $as_test_x conftest$ac_exeext
11424
 
       }; then
11425
 
  ac_cv_func_dlopen=yes
11426
 
else
11427
 
  $as_echo "$as_me: failed program was:" >&5
11428
 
sed 's/^/| /' conftest.$ac_ext >&5
11429
 
 
11430
 
        ac_cv_func_dlopen=no
11431
 
fi
11432
 
 
11433
 
rm -rf conftest.dSYM
11434
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11435
 
      conftest$ac_exeext conftest.$ac_ext
11436
 
fi
11437
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11438
 
$as_echo "$ac_cv_func_dlopen" >&6; }
11439
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
10729
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
10730
if test "x$ac_cv_func_dlopen" = x""yes; then :
11440
10731
  lt_cv_dlopen="dlopen"
11441
10732
else
11442
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10733
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11443
10734
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11444
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10735
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11445
10736
  $as_echo_n "(cached) " >&6
11446
10737
else
11447
10738
  ac_check_lib_save_LIBS=$LIBS
11448
10739
LIBS="-ldl  $LIBS"
11449
 
cat >conftest.$ac_ext <<_ACEOF
11450
 
/* confdefs.h.  */
11451
 
_ACEOF
11452
 
cat confdefs.h >>conftest.$ac_ext
11453
 
cat >>conftest.$ac_ext <<_ACEOF
 
10740
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11454
10741
/* end confdefs.h.  */
11455
10742
 
11456
10743
/* Override any GCC internal prototype to avoid an error.
11468
10755
  return 0;
11469
10756
}
11470
10757
_ACEOF
11471
 
rm -f conftest.$ac_objext conftest$ac_exeext
11472
 
if { (ac_try="$ac_link"
11473
 
case "(($ac_try" in
11474
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11475
 
  *) ac_try_echo=$ac_try;;
11476
 
esac
11477
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11478
 
$as_echo "$ac_try_echo") >&5
11479
 
  (eval "$ac_link") 2>conftest.er1
11480
 
  ac_status=$?
11481
 
  grep -v '^ *+' conftest.er1 >conftest.err
11482
 
  rm -f conftest.er1
11483
 
  cat conftest.err >&5
11484
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485
 
  (exit $ac_status); } && {
11486
 
         test -z "$ac_c_werror_flag" ||
11487
 
         test ! -s conftest.err
11488
 
       } && test -s conftest$ac_exeext && {
11489
 
         test "$cross_compiling" = yes ||
11490
 
         $as_test_x conftest$ac_exeext
11491
 
       }; then
 
10758
if ac_fn_c_try_link "$LINENO"; then :
11492
10759
  ac_cv_lib_dl_dlopen=yes
11493
10760
else
11494
 
  $as_echo "$as_me: failed program was:" >&5
11495
 
sed 's/^/| /' conftest.$ac_ext >&5
11496
 
 
11497
 
        ac_cv_lib_dl_dlopen=no
 
10761
  ac_cv_lib_dl_dlopen=no
11498
10762
fi
11499
 
 
11500
 
rm -rf conftest.dSYM
11501
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11502
 
      conftest$ac_exeext conftest.$ac_ext
 
10763
rm -f core conftest.err conftest.$ac_objext \
 
10764
    conftest$ac_exeext conftest.$ac_ext
11503
10765
LIBS=$ac_check_lib_save_LIBS
11504
10766
fi
11505
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11506
10768
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11507
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10769
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11508
10770
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11509
10771
else
11510
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10772
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11511
10773
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11512
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
10774
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11513
10775
  $as_echo_n "(cached) " >&6
11514
10776
else
11515
10777
  ac_check_lib_save_LIBS=$LIBS
11516
10778
LIBS="-lsvld  $LIBS"
11517
 
cat >conftest.$ac_ext <<_ACEOF
11518
 
/* confdefs.h.  */
11519
 
_ACEOF
11520
 
cat confdefs.h >>conftest.$ac_ext
11521
 
cat >>conftest.$ac_ext <<_ACEOF
 
10779
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522
10780
/* end confdefs.h.  */
11523
10781
 
11524
10782
/* Override any GCC internal prototype to avoid an error.
11536
10794
  return 0;
11537
10795
}
11538
10796
_ACEOF
11539
 
rm -f conftest.$ac_objext conftest$ac_exeext
11540
 
if { (ac_try="$ac_link"
11541
 
case "(($ac_try" in
11542
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11543
 
  *) ac_try_echo=$ac_try;;
11544
 
esac
11545
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11546
 
$as_echo "$ac_try_echo") >&5
11547
 
  (eval "$ac_link") 2>conftest.er1
11548
 
  ac_status=$?
11549
 
  grep -v '^ *+' conftest.er1 >conftest.err
11550
 
  rm -f conftest.er1
11551
 
  cat conftest.err >&5
11552
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553
 
  (exit $ac_status); } && {
11554
 
         test -z "$ac_c_werror_flag" ||
11555
 
         test ! -s conftest.err
11556
 
       } && test -s conftest$ac_exeext && {
11557
 
         test "$cross_compiling" = yes ||
11558
 
         $as_test_x conftest$ac_exeext
11559
 
       }; then
 
10797
if ac_fn_c_try_link "$LINENO"; then :
11560
10798
  ac_cv_lib_svld_dlopen=yes
11561
10799
else
11562
 
  $as_echo "$as_me: failed program was:" >&5
11563
 
sed 's/^/| /' conftest.$ac_ext >&5
11564
 
 
11565
 
        ac_cv_lib_svld_dlopen=no
 
10800
  ac_cv_lib_svld_dlopen=no
11566
10801
fi
11567
 
 
11568
 
rm -rf conftest.dSYM
11569
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11570
 
      conftest$ac_exeext conftest.$ac_ext
 
10802
rm -f core conftest.err conftest.$ac_objext \
 
10803
    conftest$ac_exeext conftest.$ac_ext
11571
10804
LIBS=$ac_check_lib_save_LIBS
11572
10805
fi
11573
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11574
10807
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11575
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
10808
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11576
10809
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11577
10810
else
11578
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10811
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11579
10812
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11580
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
10813
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11581
10814
  $as_echo_n "(cached) " >&6
11582
10815
else
11583
10816
  ac_check_lib_save_LIBS=$LIBS
11584
10817
LIBS="-ldld  $LIBS"
11585
 
cat >conftest.$ac_ext <<_ACEOF
11586
 
/* confdefs.h.  */
11587
 
_ACEOF
11588
 
cat confdefs.h >>conftest.$ac_ext
11589
 
cat >>conftest.$ac_ext <<_ACEOF
 
10818
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590
10819
/* end confdefs.h.  */
11591
10820
 
11592
10821
/* Override any GCC internal prototype to avoid an error.
11604
10833
  return 0;
11605
10834
}
11606
10835
_ACEOF
11607
 
rm -f conftest.$ac_objext conftest$ac_exeext
11608
 
if { (ac_try="$ac_link"
11609
 
case "(($ac_try" in
11610
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11611
 
  *) ac_try_echo=$ac_try;;
11612
 
esac
11613
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11614
 
$as_echo "$ac_try_echo") >&5
11615
 
  (eval "$ac_link") 2>conftest.er1
11616
 
  ac_status=$?
11617
 
  grep -v '^ *+' conftest.er1 >conftest.err
11618
 
  rm -f conftest.er1
11619
 
  cat conftest.err >&5
11620
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621
 
  (exit $ac_status); } && {
11622
 
         test -z "$ac_c_werror_flag" ||
11623
 
         test ! -s conftest.err
11624
 
       } && test -s conftest$ac_exeext && {
11625
 
         test "$cross_compiling" = yes ||
11626
 
         $as_test_x conftest$ac_exeext
11627
 
       }; then
 
10836
if ac_fn_c_try_link "$LINENO"; then :
11628
10837
  ac_cv_lib_dld_dld_link=yes
11629
10838
else
11630
 
  $as_echo "$as_me: failed program was:" >&5
11631
 
sed 's/^/| /' conftest.$ac_ext >&5
11632
 
 
11633
 
        ac_cv_lib_dld_dld_link=no
 
10839
  ac_cv_lib_dld_dld_link=no
11634
10840
fi
11635
 
 
11636
 
rm -rf conftest.dSYM
11637
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11638
 
      conftest$ac_exeext conftest.$ac_ext
 
10841
rm -f core conftest.err conftest.$ac_objext \
 
10842
    conftest$ac_exeext conftest.$ac_ext
11639
10843
LIBS=$ac_check_lib_save_LIBS
11640
10844
fi
11641
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11642
10846
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11643
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10847
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11644
10848
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11645
10849
fi
11646
10850
 
11679
10883
    save_LIBS="$LIBS"
11680
10884
    LIBS="$lt_cv_dlopen_libs $LIBS"
11681
10885
 
11682
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10886
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11683
10887
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11684
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
10888
if test "${lt_cv_dlopen_self+set}" = set; then :
11685
10889
  $as_echo_n "(cached) " >&6
11686
10890
else
11687
10891
          if test "$cross_compiling" = yes; then :
11690
10894
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11691
10895
  lt_status=$lt_dlunknown
11692
10896
  cat > conftest.$ac_ext <<_LT_EOF
11693
 
#line 11693 "configure"
 
10897
#line 10897 "configure"
11694
10898
#include "confdefs.h"
11695
10899
 
11696
10900
#if HAVE_DLFCN_H
11749
10953
  return status;
11750
10954
}
11751
10955
_LT_EOF
11752
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10956
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11753
10957
  (eval $ac_link) 2>&5
11754
10958
  ac_status=$?
11755
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10959
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10960
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11757
10961
    (./conftest; exit; ) >&5 2>/dev/null
11758
10962
    lt_status=$?
11759
10963
    case x$lt_status in
11770
10974
 
11771
10975
 
11772
10976
fi
11773
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11774
10978
$as_echo "$lt_cv_dlopen_self" >&6; }
11775
10979
 
11776
10980
    if test "x$lt_cv_dlopen_self" = xyes; then
11777
10981
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11778
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10982
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11779
10983
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11780
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
10984
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11781
10985
  $as_echo_n "(cached) " >&6
11782
10986
else
11783
10987
          if test "$cross_compiling" = yes; then :
11786
10990
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11787
10991
  lt_status=$lt_dlunknown
11788
10992
  cat > conftest.$ac_ext <<_LT_EOF
11789
 
#line 11789 "configure"
 
10993
#line 10993 "configure"
11790
10994
#include "confdefs.h"
11791
10995
 
11792
10996
#if HAVE_DLFCN_H
11845
11049
  return status;
11846
11050
}
11847
11051
_LT_EOF
11848
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11052
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11849
11053
  (eval $ac_link) 2>&5
11850
11054
  ac_status=$?
11851
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11055
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11056
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11853
11057
    (./conftest; exit; ) >&5 2>/dev/null
11854
11058
    lt_status=$?
11855
11059
    case x$lt_status in
11866
11070
 
11867
11071
 
11868
11072
fi
11869
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11870
11074
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11871
11075
    fi
11872
11076
 
11905
11109
 
11906
11110
striplib=
11907
11111
old_striplib=
11908
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11909
11113
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11910
11114
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11911
11115
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11912
11116
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11913
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11914
11118
$as_echo "yes" >&6; }
11915
11119
else
11916
11120
# FIXME - insert some real tests, host_os isn't really good enough
11919
11123
    if test -n "$STRIP" ; then
11920
11124
      striplib="$STRIP -x"
11921
11125
      old_striplib="$STRIP -S"
11922
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11126
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11923
11127
$as_echo "yes" >&6; }
11924
11128
    else
11925
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11129
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11926
11130
$as_echo "no" >&6; }
11927
11131
    fi
11928
11132
    ;;
11929
11133
  *)
11930
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11134
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11931
11135
$as_echo "no" >&6; }
11932
11136
    ;;
11933
11137
  esac
11945
11149
 
11946
11150
 
11947
11151
  # Report which library types will actually be built
11948
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11152
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11949
11153
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11950
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11154
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11951
11155
$as_echo "$can_build_shared" >&6; }
11952
11156
 
11953
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11157
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11954
11158
$as_echo_n "checking whether to build shared libraries... " >&6; }
11955
11159
  test "$can_build_shared" = "no" && enable_shared=no
11956
11160
 
11971
11175
    fi
11972
11176
    ;;
11973
11177
  esac
11974
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11178
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11975
11179
$as_echo "$enable_shared" >&6; }
11976
11180
 
11977
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11181
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11978
11182
$as_echo_n "checking whether to build static libraries... " >&6; }
11979
11183
  # Make sure either enable_shared or enable_static is yes.
11980
11184
  test "$enable_shared" = yes || enable_static=yes
11981
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11185
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11982
11186
$as_echo "$enable_static" >&6; }
11983
11187
 
11984
11188
 
12021
11225
if test -n "$ac_tool_prefix"; then
12022
11226
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12023
11227
set dummy ${ac_tool_prefix}gcc; ac_word=$2
12024
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12025
11229
$as_echo_n "checking for $ac_word... " >&6; }
12026
 
if test "${ac_cv_prog_CC+set}" = set; then
 
11230
if test "${ac_cv_prog_CC+set}" = set; then :
12027
11231
  $as_echo_n "(cached) " >&6
12028
11232
else
12029
11233
  if test -n "$CC"; then
12034
11238
do
12035
11239
  IFS=$as_save_IFS
12036
11240
  test -z "$as_dir" && as_dir=.
12037
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11241
    for ac_exec_ext in '' $ac_executable_extensions; do
12038
11242
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12039
11243
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
12040
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11244
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12041
11245
    break 2
12042
11246
  fi
12043
11247
done
12044
 
done
 
11248
  done
12045
11249
IFS=$as_save_IFS
12046
11250
 
12047
11251
fi
12048
11252
fi
12049
11253
CC=$ac_cv_prog_CC
12050
11254
if test -n "$CC"; then
12051
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
11255
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12052
11256
$as_echo "$CC" >&6; }
12053
11257
else
12054
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11258
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12055
11259
$as_echo "no" >&6; }
12056
11260
fi
12057
11261
 
12061
11265
  ac_ct_CC=$CC
12062
11266
  # Extract the first word of "gcc", so it can be a program name with args.
12063
11267
set dummy gcc; ac_word=$2
12064
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12065
11269
$as_echo_n "checking for $ac_word... " >&6; }
12066
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
11270
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12067
11271
  $as_echo_n "(cached) " >&6
12068
11272
else
12069
11273
  if test -n "$ac_ct_CC"; then
12074
11278
do
12075
11279
  IFS=$as_save_IFS
12076
11280
  test -z "$as_dir" && as_dir=.
12077
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11281
    for ac_exec_ext in '' $ac_executable_extensions; do
12078
11282
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12079
11283
    ac_cv_prog_ac_ct_CC="gcc"
12080
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11284
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12081
11285
    break 2
12082
11286
  fi
12083
11287
done
12084
 
done
 
11288
  done
12085
11289
IFS=$as_save_IFS
12086
11290
 
12087
11291
fi
12088
11292
fi
12089
11293
ac_ct_CC=$ac_cv_prog_ac_ct_CC
12090
11294
if test -n "$ac_ct_CC"; then
12091
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
11295
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12092
11296
$as_echo "$ac_ct_CC" >&6; }
12093
11297
else
12094
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11298
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12095
11299
$as_echo "no" >&6; }
12096
11300
fi
12097
11301
 
12100
11304
  else
12101
11305
    case $cross_compiling:$ac_tool_warned in
12102
11306
yes:)
12103
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
11307
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12104
11308
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12105
11309
ac_tool_warned=yes ;;
12106
11310
esac
12114
11318
          if test -n "$ac_tool_prefix"; then
12115
11319
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12116
11320
set dummy ${ac_tool_prefix}cc; ac_word=$2
12117
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12118
11322
$as_echo_n "checking for $ac_word... " >&6; }
12119
 
if test "${ac_cv_prog_CC+set}" = set; then
 
11323
if test "${ac_cv_prog_CC+set}" = set; then :
12120
11324
  $as_echo_n "(cached) " >&6
12121
11325
else
12122
11326
  if test -n "$CC"; then
12127
11331
do
12128
11332
  IFS=$as_save_IFS
12129
11333
  test -z "$as_dir" && as_dir=.
12130
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11334
    for ac_exec_ext in '' $ac_executable_extensions; do
12131
11335
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12132
11336
    ac_cv_prog_CC="${ac_tool_prefix}cc"
12133
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11337
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12134
11338
    break 2
12135
11339
  fi
12136
11340
done
12137
 
done
 
11341
  done
12138
11342
IFS=$as_save_IFS
12139
11343
 
12140
11344
fi
12141
11345
fi
12142
11346
CC=$ac_cv_prog_CC
12143
11347
if test -n "$CC"; then
12144
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
11348
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12145
11349
$as_echo "$CC" >&6; }
12146
11350
else
12147
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11351
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12148
11352
$as_echo "no" >&6; }
12149
11353
fi
12150
11354
 
12154
11358
if test -z "$CC"; then
12155
11359
  # Extract the first word of "cc", so it can be a program name with args.
12156
11360
set dummy cc; ac_word=$2
12157
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12158
11362
$as_echo_n "checking for $ac_word... " >&6; }
12159
 
if test "${ac_cv_prog_CC+set}" = set; then
 
11363
if test "${ac_cv_prog_CC+set}" = set; then :
12160
11364
  $as_echo_n "(cached) " >&6
12161
11365
else
12162
11366
  if test -n "$CC"; then
12168
11372
do
12169
11373
  IFS=$as_save_IFS
12170
11374
  test -z "$as_dir" && as_dir=.
12171
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11375
    for ac_exec_ext in '' $ac_executable_extensions; do
12172
11376
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12173
11377
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12174
11378
       ac_prog_rejected=yes
12175
11379
       continue
12176
11380
     fi
12177
11381
    ac_cv_prog_CC="cc"
12178
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11382
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12179
11383
    break 2
12180
11384
  fi
12181
11385
done
12182
 
done
 
11386
  done
12183
11387
IFS=$as_save_IFS
12184
11388
 
12185
11389
if test $ac_prog_rejected = yes; then
12198
11402
fi
12199
11403
CC=$ac_cv_prog_CC
12200
11404
if test -n "$CC"; then
12201
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
11405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12202
11406
$as_echo "$CC" >&6; }
12203
11407
else
12204
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11408
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12205
11409
$as_echo "no" >&6; }
12206
11410
fi
12207
11411
 
12213
11417
  do
12214
11418
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12215
11419
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12216
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12217
11421
$as_echo_n "checking for $ac_word... " >&6; }
12218
 
if test "${ac_cv_prog_CC+set}" = set; then
 
11422
if test "${ac_cv_prog_CC+set}" = set; then :
12219
11423
  $as_echo_n "(cached) " >&6
12220
11424
else
12221
11425
  if test -n "$CC"; then
12226
11430
do
12227
11431
  IFS=$as_save_IFS
12228
11432
  test -z "$as_dir" && as_dir=.
12229
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11433
    for ac_exec_ext in '' $ac_executable_extensions; do
12230
11434
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12231
11435
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12232
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11436
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12233
11437
    break 2
12234
11438
  fi
12235
11439
done
12236
 
done
 
11440
  done
12237
11441
IFS=$as_save_IFS
12238
11442
 
12239
11443
fi
12240
11444
fi
12241
11445
CC=$ac_cv_prog_CC
12242
11446
if test -n "$CC"; then
12243
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
11447
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12244
11448
$as_echo "$CC" >&6; }
12245
11449
else
12246
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11450
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12247
11451
$as_echo "no" >&6; }
12248
11452
fi
12249
11453
 
12257
11461
do
12258
11462
  # Extract the first word of "$ac_prog", so it can be a program name with args.
12259
11463
set dummy $ac_prog; ac_word=$2
12260
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12261
11465
$as_echo_n "checking for $ac_word... " >&6; }
12262
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
11466
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12263
11467
  $as_echo_n "(cached) " >&6
12264
11468
else
12265
11469
  if test -n "$ac_ct_CC"; then
12270
11474
do
12271
11475
  IFS=$as_save_IFS
12272
11476
  test -z "$as_dir" && as_dir=.
12273
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11477
    for ac_exec_ext in '' $ac_executable_extensions; do
12274
11478
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12275
11479
    ac_cv_prog_ac_ct_CC="$ac_prog"
12276
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11480
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12277
11481
    break 2
12278
11482
  fi
12279
11483
done
12280
 
done
 
11484
  done
12281
11485
IFS=$as_save_IFS
12282
11486
 
12283
11487
fi
12284
11488
fi
12285
11489
ac_ct_CC=$ac_cv_prog_ac_ct_CC
12286
11490
if test -n "$ac_ct_CC"; then
12287
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
11491
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12288
11492
$as_echo "$ac_ct_CC" >&6; }
12289
11493
else
12290
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11494
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12291
11495
$as_echo "no" >&6; }
12292
11496
fi
12293
11497
 
12300
11504
  else
12301
11505
    case $cross_compiling:$ac_tool_warned in
12302
11506
yes:)
12303
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
11507
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12304
11508
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12305
11509
ac_tool_warned=yes ;;
12306
11510
esac
12311
11515
fi
12312
11516
 
12313
11517
 
12314
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
11518
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12315
11519
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12316
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12317
 
See \`config.log' for more details." >&5
12318
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
12319
 
See \`config.log' for more details." >&2;}
12320
 
   { (exit 1); exit 1; }; }; }
 
11520
as_fn_error "no acceptable C compiler found in \$PATH
 
11521
See \`config.log' for more details." "$LINENO" 5; }
12321
11522
 
12322
11523
# Provide some information about the compiler.
12323
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
11524
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12324
11525
set X $ac_compile
12325
11526
ac_compiler=$2
12326
 
{ (ac_try="$ac_compiler --version >&5"
12327
 
case "(($ac_try" in
12328
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12329
 
  *) ac_try_echo=$ac_try;;
12330
 
esac
12331
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12332
 
$as_echo "$ac_try_echo") >&5
12333
 
  (eval "$ac_compiler --version >&5") 2>&5
12334
 
  ac_status=$?
12335
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336
 
  (exit $ac_status); }
12337
 
{ (ac_try="$ac_compiler -v >&5"
12338
 
case "(($ac_try" in
12339
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12340
 
  *) ac_try_echo=$ac_try;;
12341
 
esac
12342
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12343
 
$as_echo "$ac_try_echo") >&5
12344
 
  (eval "$ac_compiler -v >&5") 2>&5
12345
 
  ac_status=$?
12346
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347
 
  (exit $ac_status); }
12348
 
{ (ac_try="$ac_compiler -V >&5"
12349
 
case "(($ac_try" in
12350
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12351
 
  *) ac_try_echo=$ac_try;;
12352
 
esac
12353
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12354
 
$as_echo "$ac_try_echo") >&5
12355
 
  (eval "$ac_compiler -V >&5") 2>&5
12356
 
  ac_status=$?
12357
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358
 
  (exit $ac_status); }
 
11527
for ac_option in --version -v -V -qversion; do
 
11528
  { { ac_try="$ac_compiler $ac_option >&5"
 
11529
case "(($ac_try" in
 
11530
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11531
  *) ac_try_echo=$ac_try;;
 
11532
esac
 
11533
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
11534
$as_echo "$ac_try_echo"; } >&5
 
11535
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
11536
  ac_status=$?
 
11537
  if test -s conftest.err; then
 
11538
    sed '10a\
 
11539
... rest of stderr output deleted ...
 
11540
         10q' conftest.err >conftest.er1
 
11541
    cat conftest.er1 >&5
 
11542
    rm -f conftest.er1 conftest.err
 
11543
  fi
 
11544
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11545
  test $ac_status = 0; }
 
11546
done
12359
11547
 
12360
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
11548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12361
11549
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12362
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
11550
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12363
11551
  $as_echo_n "(cached) " >&6
12364
11552
else
12365
 
  cat >conftest.$ac_ext <<_ACEOF
12366
 
/* confdefs.h.  */
12367
 
_ACEOF
12368
 
cat confdefs.h >>conftest.$ac_ext
12369
 
cat >>conftest.$ac_ext <<_ACEOF
 
11553
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370
11554
/* end confdefs.h.  */
12371
11555
 
12372
11556
int
12380
11564
  return 0;
12381
11565
}
12382
11566
_ACEOF
12383
 
rm -f conftest.$ac_objext
12384
 
if { (ac_try="$ac_compile"
12385
 
case "(($ac_try" in
12386
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12387
 
  *) ac_try_echo=$ac_try;;
12388
 
esac
12389
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12390
 
$as_echo "$ac_try_echo") >&5
12391
 
  (eval "$ac_compile") 2>conftest.er1
12392
 
  ac_status=$?
12393
 
  grep -v '^ *+' conftest.er1 >conftest.err
12394
 
  rm -f conftest.er1
12395
 
  cat conftest.err >&5
12396
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397
 
  (exit $ac_status); } && {
12398
 
         test -z "$ac_c_werror_flag" ||
12399
 
         test ! -s conftest.err
12400
 
       } && test -s conftest.$ac_objext; then
 
11567
if ac_fn_c_try_compile "$LINENO"; then :
12401
11568
  ac_compiler_gnu=yes
12402
11569
else
12403
 
  $as_echo "$as_me: failed program was:" >&5
12404
 
sed 's/^/| /' conftest.$ac_ext >&5
12405
 
 
12406
 
        ac_compiler_gnu=no
 
11570
  ac_compiler_gnu=no
12407
11571
fi
12408
 
 
12409
11572
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12410
11573
ac_cv_c_compiler_gnu=$ac_compiler_gnu
12411
11574
 
12412
11575
fi
12413
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
11576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12414
11577
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
12415
11578
if test $ac_compiler_gnu = yes; then
12416
11579
  GCC=yes
12419
11582
fi
12420
11583
ac_test_CFLAGS=${CFLAGS+set}
12421
11584
ac_save_CFLAGS=$CFLAGS
12422
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
11585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12423
11586
$as_echo_n "checking whether $CC accepts -g... " >&6; }
12424
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
11587
if test "${ac_cv_prog_cc_g+set}" = set; then :
12425
11588
  $as_echo_n "(cached) " >&6
12426
11589
else
12427
11590
  ac_save_c_werror_flag=$ac_c_werror_flag
12428
11591
   ac_c_werror_flag=yes
12429
11592
   ac_cv_prog_cc_g=no
12430
11593
   CFLAGS="-g"
12431
 
   cat >conftest.$ac_ext <<_ACEOF
12432
 
/* confdefs.h.  */
12433
 
_ACEOF
12434
 
cat confdefs.h >>conftest.$ac_ext
12435
 
cat >>conftest.$ac_ext <<_ACEOF
 
11594
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436
11595
/* end confdefs.h.  */
12437
11596
 
12438
11597
int
12443
11602
  return 0;
12444
11603
}
12445
11604
_ACEOF
12446
 
rm -f conftest.$ac_objext
12447
 
if { (ac_try="$ac_compile"
12448
 
case "(($ac_try" in
12449
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12450
 
  *) ac_try_echo=$ac_try;;
12451
 
esac
12452
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12453
 
$as_echo "$ac_try_echo") >&5
12454
 
  (eval "$ac_compile") 2>conftest.er1
12455
 
  ac_status=$?
12456
 
  grep -v '^ *+' conftest.er1 >conftest.err
12457
 
  rm -f conftest.er1
12458
 
  cat conftest.err >&5
12459
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460
 
  (exit $ac_status); } && {
12461
 
         test -z "$ac_c_werror_flag" ||
12462
 
         test ! -s conftest.err
12463
 
       } && test -s conftest.$ac_objext; then
 
11605
if ac_fn_c_try_compile "$LINENO"; then :
12464
11606
  ac_cv_prog_cc_g=yes
12465
11607
else
12466
 
  $as_echo "$as_me: failed program was:" >&5
12467
 
sed 's/^/| /' conftest.$ac_ext >&5
12468
 
 
12469
 
        CFLAGS=""
12470
 
      cat >conftest.$ac_ext <<_ACEOF
12471
 
/* confdefs.h.  */
12472
 
_ACEOF
12473
 
cat confdefs.h >>conftest.$ac_ext
12474
 
cat >>conftest.$ac_ext <<_ACEOF
 
11608
  CFLAGS=""
 
11609
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12475
11610
/* end confdefs.h.  */
12476
11611
 
12477
11612
int
12482
11617
  return 0;
12483
11618
}
12484
11619
_ACEOF
12485
 
rm -f conftest.$ac_objext
12486
 
if { (ac_try="$ac_compile"
12487
 
case "(($ac_try" in
12488
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12489
 
  *) ac_try_echo=$ac_try;;
12490
 
esac
12491
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12492
 
$as_echo "$ac_try_echo") >&5
12493
 
  (eval "$ac_compile") 2>conftest.er1
12494
 
  ac_status=$?
12495
 
  grep -v '^ *+' conftest.er1 >conftest.err
12496
 
  rm -f conftest.er1
12497
 
  cat conftest.err >&5
12498
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499
 
  (exit $ac_status); } && {
12500
 
         test -z "$ac_c_werror_flag" ||
12501
 
         test ! -s conftest.err
12502
 
       } && test -s conftest.$ac_objext; then
12503
 
  :
 
11620
if ac_fn_c_try_compile "$LINENO"; then :
 
11621
 
12504
11622
else
12505
 
  $as_echo "$as_me: failed program was:" >&5
12506
 
sed 's/^/| /' conftest.$ac_ext >&5
12507
 
 
12508
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
11623
  ac_c_werror_flag=$ac_save_c_werror_flag
12509
11624
         CFLAGS="-g"
12510
 
         cat >conftest.$ac_ext <<_ACEOF
12511
 
/* confdefs.h.  */
12512
 
_ACEOF
12513
 
cat confdefs.h >>conftest.$ac_ext
12514
 
cat >>conftest.$ac_ext <<_ACEOF
 
11625
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515
11626
/* end confdefs.h.  */
12516
11627
 
12517
11628
int
12522
11633
  return 0;
12523
11634
}
12524
11635
_ACEOF
12525
 
rm -f conftest.$ac_objext
12526
 
if { (ac_try="$ac_compile"
12527
 
case "(($ac_try" in
12528
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12529
 
  *) ac_try_echo=$ac_try;;
12530
 
esac
12531
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12532
 
$as_echo "$ac_try_echo") >&5
12533
 
  (eval "$ac_compile") 2>conftest.er1
12534
 
  ac_status=$?
12535
 
  grep -v '^ *+' conftest.er1 >conftest.err
12536
 
  rm -f conftest.er1
12537
 
  cat conftest.err >&5
12538
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539
 
  (exit $ac_status); } && {
12540
 
         test -z "$ac_c_werror_flag" ||
12541
 
         test ! -s conftest.err
12542
 
       } && test -s conftest.$ac_objext; then
 
11636
if ac_fn_c_try_compile "$LINENO"; then :
12543
11637
  ac_cv_prog_cc_g=yes
12544
 
else
12545
 
  $as_echo "$as_me: failed program was:" >&5
12546
 
sed 's/^/| /' conftest.$ac_ext >&5
12547
 
 
12548
 
 
12549
 
fi
12550
 
 
12551
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12552
 
fi
12553
 
 
12554
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12555
 
fi
12556
 
 
 
11638
fi
 
11639
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11640
fi
 
11641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11642
fi
12557
11643
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12558
11644
   ac_c_werror_flag=$ac_save_c_werror_flag
12559
11645
fi
12560
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
11646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12561
11647
$as_echo "$ac_cv_prog_cc_g" >&6; }
12562
11648
if test "$ac_test_CFLAGS" = set; then
12563
11649
  CFLAGS=$ac_save_CFLAGS
12574
11660
    CFLAGS=
12575
11661
  fi
12576
11662
fi
12577
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
11663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12578
11664
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12579
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
11665
if test "${ac_cv_prog_cc_c89+set}" = set; then :
12580
11666
  $as_echo_n "(cached) " >&6
12581
11667
else
12582
11668
  ac_cv_prog_cc_c89=no
12583
11669
ac_save_CC=$CC
12584
 
cat >conftest.$ac_ext <<_ACEOF
12585
 
/* confdefs.h.  */
12586
 
_ACEOF
12587
 
cat confdefs.h >>conftest.$ac_ext
12588
 
cat >>conftest.$ac_ext <<_ACEOF
 
11670
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589
11671
/* end confdefs.h.  */
12590
11672
#include <stdarg.h>
12591
11673
#include <stdio.h>
12642
11724
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12643
11725
do
12644
11726
  CC="$ac_save_CC $ac_arg"
12645
 
  rm -f conftest.$ac_objext
12646
 
if { (ac_try="$ac_compile"
12647
 
case "(($ac_try" in
12648
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12649
 
  *) ac_try_echo=$ac_try;;
12650
 
esac
12651
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12652
 
$as_echo "$ac_try_echo") >&5
12653
 
  (eval "$ac_compile") 2>conftest.er1
12654
 
  ac_status=$?
12655
 
  grep -v '^ *+' conftest.er1 >conftest.err
12656
 
  rm -f conftest.er1
12657
 
  cat conftest.err >&5
12658
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659
 
  (exit $ac_status); } && {
12660
 
         test -z "$ac_c_werror_flag" ||
12661
 
         test ! -s conftest.err
12662
 
       } && test -s conftest.$ac_objext; then
 
11727
  if ac_fn_c_try_compile "$LINENO"; then :
12663
11728
  ac_cv_prog_cc_c89=$ac_arg
12664
 
else
12665
 
  $as_echo "$as_me: failed program was:" >&5
12666
 
sed 's/^/| /' conftest.$ac_ext >&5
12667
 
 
12668
 
 
12669
11729
fi
12670
 
 
12671
11730
rm -f core conftest.err conftest.$ac_objext
12672
11731
  test "x$ac_cv_prog_cc_c89" != "xno" && break
12673
11732
done
12678
11737
# AC_CACHE_VAL
12679
11738
case "x$ac_cv_prog_cc_c89" in
12680
11739
  x)
12681
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
11740
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12682
11741
$as_echo "none needed" >&6; } ;;
12683
11742
  xno)
12684
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
11743
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12685
11744
$as_echo "unsupported" >&6; } ;;
12686
11745
  *)
12687
11746
    CC="$CC $ac_cv_prog_cc_c89"
12688
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
11747
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12689
11748
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12690
11749
esac
 
11750
if test "x$ac_cv_prog_cc_c89" != xno; then :
12691
11751
 
 
11752
fi
12692
11753
 
12693
11754
ac_ext=c
12694
11755
ac_cpp='$CPP $CPPFLAGS'
12698
11759
 
12699
11760
depcc="$CC"   am_compiler_list=
12700
11761
 
12701
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
11762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12702
11763
$as_echo_n "checking dependency style of $depcc... " >&6; }
12703
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
11764
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12704
11765
  $as_echo_n "(cached) " >&6
12705
11766
else
12706
11767
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12726
11787
  if test "$am_compiler_list" = ""; then
12727
11788
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12728
11789
  fi
 
11790
  am__universal=false
 
11791
  case " $depcc " in #(
 
11792
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
11793
     esac
 
11794
 
12729
11795
  for depmode in $am_compiler_list; do
12730
11796
    # Setup a source with many dependencies, because some compilers
12731
11797
    # like to wrap large dependency lists on column 80 (with \), and
12743
11809
    done
12744
11810
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12745
11811
 
 
11812
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
11813
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
11814
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
11815
    # versions had trouble with output in subdirs
 
11816
    am__obj=sub/conftest.${OBJEXT-o}
 
11817
    am__minus_obj="-o $am__obj"
12746
11818
    case $depmode in
 
11819
    gcc)
 
11820
      # This depmode causes a compiler race in universal mode.
 
11821
      test "$am__universal" = false || continue
 
11822
      ;;
12747
11823
    nosideeffect)
12748
11824
      # after this tag, mechanisms are not by side-effect, so they'll
12749
11825
      # only be used when explicitly requested
12753
11829
        break
12754
11830
      fi
12755
11831
      ;;
 
11832
    msvisualcpp | msvcmsys)
 
11833
      # This compiler won't grok `-c -o', but also, the minuso test has
 
11834
      # not run yet.  These depmodes are late enough in the game, and
 
11835
      # so weak that their functioning should not be impacted.
 
11836
      am__obj=conftest.${OBJEXT-o}
 
11837
      am__minus_obj=
 
11838
      ;;
12756
11839
    none) break ;;
12757
11840
    esac
12758
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
12759
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
12760
 
    # handle `-M -o', and we need to detect this.
12761
11841
    if depmode=$depmode \
12762
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
11842
       source=sub/conftest.c object=$am__obj \
12763
11843
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12764
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
11844
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12765
11845
         >/dev/null 2>conftest.err &&
12766
11846
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12767
11847
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12768
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
11848
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12769
11849
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12770
11850
      # icc doesn't choke on unknown options, it will just issue warnings
12771
11851
      # or remarks (even with -Werror).  So we grep stderr for any message
12789
11869
fi
12790
11870
 
12791
11871
fi
12792
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
11872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12793
11873
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12794
11874
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12795
11875
 
12808
11888
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
12809
11889
 
12810
11890
 
12811
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
11891
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12812
11892
$as_echo_n "checking whether NLS is requested... " >&6; }
12813
11893
    # Check whether --enable-nls was given.
12814
 
if test "${enable_nls+set}" = set; then
 
11894
if test "${enable_nls+set}" = set; then :
12815
11895
  enableval=$enable_nls; USE_NLS=$enableval
12816
11896
else
12817
11897
  USE_NLS=yes
12818
11898
fi
12819
11899
 
12820
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
11900
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12821
11901
$as_echo "$USE_NLS" >&6; }
12822
11902
 
12823
11903
 
12825
11905
 
12826
11906
case "$am__api_version" in
12827
11907
    1.01234)
12828
 
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
12829
 
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
12830
 
   { (exit 1); exit 1; }; }
 
11908
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12831
11909
    ;;
12832
11910
    *)
12833
11911
    ;;
12834
11912
esac
12835
11913
 
12836
11914
if test -n ""; then
12837
 
    { $as_echo "$as_me:$LINENO: checking for intltool >= " >&5
 
11915
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
12838
11916
$as_echo_n "checking for intltool >= ... " >&6; }
12839
11917
 
12840
11918
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12841
11919
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12842
11920
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12843
11921
 
12844
 
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
11922
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12845
11923
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12846
11924
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12847
 
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool  or later." >&5
12848
 
$as_echo "$as_me: error: Your intltool is too old.  You need intltool  or later." >&2;}
12849
 
   { (exit 1); exit 1; }; }
 
11925
        as_fn_error "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
12850
11926
fi
12851
11927
 
12852
11928
# Extract the first word of "intltool-update", so it can be a program name with args.
12853
11929
set dummy intltool-update; ac_word=$2
12854
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12855
11931
$as_echo_n "checking for $ac_word... " >&6; }
12856
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
11932
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
12857
11933
  $as_echo_n "(cached) " >&6
12858
11934
else
12859
11935
  case $INTLTOOL_UPDATE in
12866
11942
do
12867
11943
  IFS=$as_save_IFS
12868
11944
  test -z "$as_dir" && as_dir=.
12869
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11945
    for ac_exec_ext in '' $ac_executable_extensions; do
12870
11946
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12871
11947
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12872
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11948
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12873
11949
    break 2
12874
11950
  fi
12875
11951
done
12876
 
done
 
11952
  done
12877
11953
IFS=$as_save_IFS
12878
11954
 
12879
11955
  ;;
12881
11957
fi
12882
11958
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12883
11959
if test -n "$INTLTOOL_UPDATE"; then
12884
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
11960
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12885
11961
$as_echo "$INTLTOOL_UPDATE" >&6; }
12886
11962
else
12887
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11963
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12888
11964
$as_echo "no" >&6; }
12889
11965
fi
12890
11966
 
12891
11967
 
12892
11968
# Extract the first word of "intltool-merge", so it can be a program name with args.
12893
11969
set dummy intltool-merge; ac_word=$2
12894
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12895
11971
$as_echo_n "checking for $ac_word... " >&6; }
12896
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
11972
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
12897
11973
  $as_echo_n "(cached) " >&6
12898
11974
else
12899
11975
  case $INTLTOOL_MERGE in
12906
11982
do
12907
11983
  IFS=$as_save_IFS
12908
11984
  test -z "$as_dir" && as_dir=.
12909
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11985
    for ac_exec_ext in '' $ac_executable_extensions; do
12910
11986
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12911
11987
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12912
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11988
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12913
11989
    break 2
12914
11990
  fi
12915
11991
done
12916
 
done
 
11992
  done
12917
11993
IFS=$as_save_IFS
12918
11994
 
12919
11995
  ;;
12921
11997
fi
12922
11998
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12923
11999
if test -n "$INTLTOOL_MERGE"; then
12924
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
12000
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12925
12001
$as_echo "$INTLTOOL_MERGE" >&6; }
12926
12002
else
12927
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12003
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12928
12004
$as_echo "no" >&6; }
12929
12005
fi
12930
12006
 
12931
12007
 
12932
12008
# Extract the first word of "intltool-extract", so it can be a program name with args.
12933
12009
set dummy intltool-extract; ac_word=$2
12934
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12935
12011
$as_echo_n "checking for $ac_word... " >&6; }
12936
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
12012
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
12937
12013
  $as_echo_n "(cached) " >&6
12938
12014
else
12939
12015
  case $INTLTOOL_EXTRACT in
12946
12022
do
12947
12023
  IFS=$as_save_IFS
12948
12024
  test -z "$as_dir" && as_dir=.
12949
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12025
    for ac_exec_ext in '' $ac_executable_extensions; do
12950
12026
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12951
12027
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12952
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12028
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12953
12029
    break 2
12954
12030
  fi
12955
12031
done
12956
 
done
 
12032
  done
12957
12033
IFS=$as_save_IFS
12958
12034
 
12959
12035
  ;;
12961
12037
fi
12962
12038
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12963
12039
if test -n "$INTLTOOL_EXTRACT"; then
12964
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
12040
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12965
12041
$as_echo "$INTLTOOL_EXTRACT" >&6; }
12966
12042
else
12967
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12043
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12968
12044
$as_echo "no" >&6; }
12969
12045
fi
12970
12046
 
12971
12047
 
12972
12048
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12973
 
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
12974
 
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
12975
 
   { (exit 1); exit 1; }; }
 
12049
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12976
12050
fi
12977
12051
 
12978
12052
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13094
12168
# Check the gettext tools to make sure they are GNU
13095
12169
# Extract the first word of "xgettext", so it can be a program name with args.
13096
12170
set dummy xgettext; ac_word=$2
13097
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13098
12172
$as_echo_n "checking for $ac_word... " >&6; }
13099
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
12173
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13100
12174
  $as_echo_n "(cached) " >&6
13101
12175
else
13102
12176
  case $XGETTEXT in
13109
12183
do
13110
12184
  IFS=$as_save_IFS
13111
12185
  test -z "$as_dir" && as_dir=.
13112
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12186
    for ac_exec_ext in '' $ac_executable_extensions; do
13113
12187
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13114
12188
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13115
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12189
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13116
12190
    break 2
13117
12191
  fi
13118
12192
done
13119
 
done
 
12193
  done
13120
12194
IFS=$as_save_IFS
13121
12195
 
13122
12196
  ;;
13124
12198
fi
13125
12199
XGETTEXT=$ac_cv_path_XGETTEXT
13126
12200
if test -n "$XGETTEXT"; then
13127
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
12201
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13128
12202
$as_echo "$XGETTEXT" >&6; }
13129
12203
else
13130
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12204
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13131
12205
$as_echo "no" >&6; }
13132
12206
fi
13133
12207
 
13134
12208
 
13135
12209
# Extract the first word of "msgmerge", so it can be a program name with args.
13136
12210
set dummy msgmerge; ac_word=$2
13137
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13138
12212
$as_echo_n "checking for $ac_word... " >&6; }
13139
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
12213
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
13140
12214
  $as_echo_n "(cached) " >&6
13141
12215
else
13142
12216
  case $MSGMERGE in
13149
12223
do
13150
12224
  IFS=$as_save_IFS
13151
12225
  test -z "$as_dir" && as_dir=.
13152
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12226
    for ac_exec_ext in '' $ac_executable_extensions; do
13153
12227
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13154
12228
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13155
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12229
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13156
12230
    break 2
13157
12231
  fi
13158
12232
done
13159
 
done
 
12233
  done
13160
12234
IFS=$as_save_IFS
13161
12235
 
13162
12236
  ;;
13164
12238
fi
13165
12239
MSGMERGE=$ac_cv_path_MSGMERGE
13166
12240
if test -n "$MSGMERGE"; then
13167
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
12241
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13168
12242
$as_echo "$MSGMERGE" >&6; }
13169
12243
else
13170
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12244
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13171
12245
$as_echo "no" >&6; }
13172
12246
fi
13173
12247
 
13174
12248
 
13175
12249
# Extract the first word of "msgfmt", so it can be a program name with args.
13176
12250
set dummy msgfmt; ac_word=$2
13177
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13178
12252
$as_echo_n "checking for $ac_word... " >&6; }
13179
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
12253
if test "${ac_cv_path_MSGFMT+set}" = set; then :
13180
12254
  $as_echo_n "(cached) " >&6
13181
12255
else
13182
12256
  case $MSGFMT in
13189
12263
do
13190
12264
  IFS=$as_save_IFS
13191
12265
  test -z "$as_dir" && as_dir=.
13192
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12266
    for ac_exec_ext in '' $ac_executable_extensions; do
13193
12267
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13194
12268
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13195
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12269
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13196
12270
    break 2
13197
12271
  fi
13198
12272
done
13199
 
done
 
12273
  done
13200
12274
IFS=$as_save_IFS
13201
12275
 
13202
12276
  ;;
13204
12278
fi
13205
12279
MSGFMT=$ac_cv_path_MSGFMT
13206
12280
if test -n "$MSGFMT"; then
13207
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
12281
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13208
12282
$as_echo "$MSGFMT" >&6; }
13209
12283
else
13210
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12284
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13211
12285
$as_echo "no" >&6; }
13212
12286
fi
13213
12287
 
13214
12288
 
13215
12289
# Extract the first word of "gmsgfmt", so it can be a program name with args.
13216
12290
set dummy gmsgfmt; ac_word=$2
13217
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13218
12292
$as_echo_n "checking for $ac_word... " >&6; }
13219
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
12293
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13220
12294
  $as_echo_n "(cached) " >&6
13221
12295
else
13222
12296
  case $GMSGFMT in
13229
12303
do
13230
12304
  IFS=$as_save_IFS
13231
12305
  test -z "$as_dir" && as_dir=.
13232
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12306
    for ac_exec_ext in '' $ac_executable_extensions; do
13233
12307
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13234
12308
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13235
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12309
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13236
12310
    break 2
13237
12311
  fi
13238
12312
done
13239
 
done
 
12313
  done
13240
12314
IFS=$as_save_IFS
13241
12315
 
13242
12316
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13245
12319
fi
13246
12320
GMSGFMT=$ac_cv_path_GMSGFMT
13247
12321
if test -n "$GMSGFMT"; then
13248
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
12322
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13249
12323
$as_echo "$GMSGFMT" >&6; }
13250
12324
else
13251
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12325
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13252
12326
$as_echo "no" >&6; }
13253
12327
fi
13254
12328
 
13255
12329
 
13256
12330
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13257
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
13258
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
13259
 
   { (exit 1); exit 1; }; }
 
12331
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
13260
12332
fi
13261
12333
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13262
12334
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13263
12335
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13264
12336
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13265
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
13266
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
13267
 
   { (exit 1); exit 1; }; }
 
12337
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
13268
12338
fi
13269
12339
 
13270
12340
# Extract the first word of "perl", so it can be a program name with args.
13271
12341
set dummy perl; ac_word=$2
13272
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13273
12343
$as_echo_n "checking for $ac_word... " >&6; }
13274
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
12344
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
13275
12345
  $as_echo_n "(cached) " >&6
13276
12346
else
13277
12347
  case $INTLTOOL_PERL in
13284
12354
do
13285
12355
  IFS=$as_save_IFS
13286
12356
  test -z "$as_dir" && as_dir=.
13287
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12357
    for ac_exec_ext in '' $ac_executable_extensions; do
13288
12358
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13289
12359
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13290
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12360
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13291
12361
    break 2
13292
12362
  fi
13293
12363
done
13294
 
done
 
12364
  done
13295
12365
IFS=$as_save_IFS
13296
12366
 
13297
12367
  ;;
13299
12369
fi
13300
12370
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13301
12371
if test -n "$INTLTOOL_PERL"; then
13302
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
12372
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13303
12373
$as_echo "$INTLTOOL_PERL" >&6; }
13304
12374
else
13305
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12375
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13306
12376
$as_echo "no" >&6; }
13307
12377
fi
13308
12378
 
13309
12379
 
13310
12380
if test -z "$INTLTOOL_PERL"; then
13311
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
13312
 
$as_echo "$as_me: error: perl not found" >&2;}
13313
 
   { (exit 1); exit 1; }; }
 
12381
   as_fn_error "perl not found" "$LINENO" 5
13314
12382
fi
13315
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
12383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13316
12384
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
13317
12385
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13318
12386
if test $? -ne 0; then
13319
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
13320
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
13321
 
   { (exit 1); exit 1; }; }
 
12387
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
13322
12388
else
13323
12389
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
13324
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
12390
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13325
12391
$as_echo "$IT_PERL_VERSION" >&6; }
13326
12392
fi
13327
12393
if test "x" != "xno-xml"; then
13328
 
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
12394
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13329
12395
$as_echo_n "checking for XML::Parser... " >&6; }
13330
12396
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13331
 
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
12397
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13332
12398
$as_echo "ok" >&6; }
13333
12399
   else
13334
 
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
13335
 
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
13336
 
   { (exit 1); exit 1; }; }
 
12400
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
13337
12401
   fi
13338
12402
fi
13339
12403
 
13343
12407
# Set DATADIRNAME correctly if it is not set yet
13344
12408
# (copied from glib-gettext.m4)
13345
12409
if test -z "$DATADIRNAME"; then
13346
 
  cat >conftest.$ac_ext <<_ACEOF
13347
 
/* confdefs.h.  */
13348
 
_ACEOF
13349
 
cat confdefs.h >>conftest.$ac_ext
13350
 
cat >>conftest.$ac_ext <<_ACEOF
 
12410
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13351
12411
/* end confdefs.h.  */
13352
12412
 
13353
12413
int
13359
12419
  return 0;
13360
12420
}
13361
12421
_ACEOF
13362
 
rm -f conftest.$ac_objext conftest$ac_exeext
13363
 
if { (ac_try="$ac_link"
13364
 
case "(($ac_try" in
13365
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13366
 
  *) ac_try_echo=$ac_try;;
13367
 
esac
13368
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13369
 
$as_echo "$ac_try_echo") >&5
13370
 
  (eval "$ac_link") 2>conftest.er1
13371
 
  ac_status=$?
13372
 
  grep -v '^ *+' conftest.er1 >conftest.err
13373
 
  rm -f conftest.er1
13374
 
  cat conftest.err >&5
13375
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376
 
  (exit $ac_status); } && {
13377
 
         test -z "$ac_c_werror_flag" ||
13378
 
         test ! -s conftest.err
13379
 
       } && test -s conftest$ac_exeext && {
13380
 
         test "$cross_compiling" = yes ||
13381
 
         $as_test_x conftest$ac_exeext
13382
 
       }; then
 
12422
if ac_fn_c_try_link "$LINENO"; then :
13383
12423
  DATADIRNAME=share
13384
12424
else
13385
 
  $as_echo "$as_me: failed program was:" >&5
13386
 
sed 's/^/| /' conftest.$ac_ext >&5
13387
 
 
13388
 
        case $host in
 
12425
  case $host in
13389
12426
    *-*-solaris*)
13390
 
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
13391
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
13392
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
13393
 
  $as_echo_n "(cached) " >&6
13394
 
else
13395
 
  cat >conftest.$ac_ext <<_ACEOF
13396
 
/* confdefs.h.  */
13397
 
_ACEOF
13398
 
cat confdefs.h >>conftest.$ac_ext
13399
 
cat >>conftest.$ac_ext <<_ACEOF
13400
 
/* end confdefs.h.  */
13401
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
13402
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13403
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
13404
 
 
13405
 
/* System header to define __stub macros and hopefully few prototypes,
13406
 
    which can conflict with char bind_textdomain_codeset (); below.
13407
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13408
 
    <limits.h> exists even on freestanding compilers.  */
13409
 
 
13410
 
#ifdef __STDC__
13411
 
# include <limits.h>
13412
 
#else
13413
 
# include <assert.h>
13414
 
#endif
13415
 
 
13416
 
#undef bind_textdomain_codeset
13417
 
 
13418
 
/* Override any GCC internal prototype to avoid an error.
13419
 
   Use char because int might match the return type of a GCC
13420
 
   builtin and then its argument prototype would still apply.  */
13421
 
#ifdef __cplusplus
13422
 
extern "C"
13423
 
#endif
13424
 
char bind_textdomain_codeset ();
13425
 
/* The GNU C library defines this for functions which it implements
13426
 
    to always fail with ENOSYS.  Some functions are actually named
13427
 
    something starting with __ and the normal name is an alias.  */
13428
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
13429
 
choke me
13430
 
#endif
13431
 
 
13432
 
int
13433
 
main ()
13434
 
{
13435
 
return bind_textdomain_codeset ();
13436
 
  ;
13437
 
  return 0;
13438
 
}
13439
 
_ACEOF
13440
 
rm -f conftest.$ac_objext conftest$ac_exeext
13441
 
if { (ac_try="$ac_link"
13442
 
case "(($ac_try" in
13443
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13444
 
  *) ac_try_echo=$ac_try;;
13445
 
esac
13446
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13447
 
$as_echo "$ac_try_echo") >&5
13448
 
  (eval "$ac_link") 2>conftest.er1
13449
 
  ac_status=$?
13450
 
  grep -v '^ *+' conftest.er1 >conftest.err
13451
 
  rm -f conftest.er1
13452
 
  cat conftest.err >&5
13453
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454
 
  (exit $ac_status); } && {
13455
 
         test -z "$ac_c_werror_flag" ||
13456
 
         test ! -s conftest.err
13457
 
       } && test -s conftest$ac_exeext && {
13458
 
         test "$cross_compiling" = yes ||
13459
 
         $as_test_x conftest$ac_exeext
13460
 
       }; then
13461
 
  ac_cv_func_bind_textdomain_codeset=yes
13462
 
else
13463
 
  $as_echo "$as_me: failed program was:" >&5
13464
 
sed 's/^/| /' conftest.$ac_ext >&5
13465
 
 
13466
 
        ac_cv_func_bind_textdomain_codeset=no
13467
 
fi
13468
 
 
13469
 
rm -rf conftest.dSYM
13470
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13471
 
      conftest$ac_exeext conftest.$ac_ext
13472
 
fi
13473
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
13474
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
13475
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
12427
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12428
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13476
12429
  DATADIRNAME=share
13477
12430
else
13478
12431
  DATADIRNAME=lib
13484
12437
    ;;
13485
12438
    esac
13486
12439
fi
13487
 
 
13488
 
rm -rf conftest.dSYM
13489
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13490
 
      conftest$ac_exeext conftest.$ac_ext
 
12440
rm -f core conftest.err conftest.$ac_objext \
 
12441
    conftest$ac_exeext conftest.$ac_ext
13491
12442
fi
13492
12443
 
13493
12444
 
13494
12445
 
13495
12446
 
13496
12447
 
13497
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
12448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13498
12449
$as_echo_n "checking for ANSI C header files... " >&6; }
13499
 
if test "${ac_cv_header_stdc+set}" = set; then
 
12450
if test "${ac_cv_header_stdc+set}" = set; then :
13500
12451
  $as_echo_n "(cached) " >&6
13501
12452
else
13502
 
  cat >conftest.$ac_ext <<_ACEOF
13503
 
/* confdefs.h.  */
13504
 
_ACEOF
13505
 
cat confdefs.h >>conftest.$ac_ext
13506
 
cat >>conftest.$ac_ext <<_ACEOF
 
12453
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13507
12454
/* end confdefs.h.  */
13508
12455
#include <stdlib.h>
13509
12456
#include <stdarg.h>
13518
12465
  return 0;
13519
12466
}
13520
12467
_ACEOF
13521
 
rm -f conftest.$ac_objext
13522
 
if { (ac_try="$ac_compile"
13523
 
case "(($ac_try" in
13524
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13525
 
  *) ac_try_echo=$ac_try;;
13526
 
esac
13527
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13528
 
$as_echo "$ac_try_echo") >&5
13529
 
  (eval "$ac_compile") 2>conftest.er1
13530
 
  ac_status=$?
13531
 
  grep -v '^ *+' conftest.er1 >conftest.err
13532
 
  rm -f conftest.er1
13533
 
  cat conftest.err >&5
13534
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535
 
  (exit $ac_status); } && {
13536
 
         test -z "$ac_c_werror_flag" ||
13537
 
         test ! -s conftest.err
13538
 
       } && test -s conftest.$ac_objext; then
 
12468
if ac_fn_c_try_compile "$LINENO"; then :
13539
12469
  ac_cv_header_stdc=yes
13540
12470
else
13541
 
  $as_echo "$as_me: failed program was:" >&5
13542
 
sed 's/^/| /' conftest.$ac_ext >&5
13543
 
 
13544
 
        ac_cv_header_stdc=no
 
12471
  ac_cv_header_stdc=no
13545
12472
fi
13546
 
 
13547
12473
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13548
12474
 
13549
12475
if test $ac_cv_header_stdc = yes; then
13550
12476
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13551
 
  cat >conftest.$ac_ext <<_ACEOF
13552
 
/* confdefs.h.  */
13553
 
_ACEOF
13554
 
cat confdefs.h >>conftest.$ac_ext
13555
 
cat >>conftest.$ac_ext <<_ACEOF
 
12477
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556
12478
/* end confdefs.h.  */
13557
12479
#include <string.h>
13558
12480
 
13559
12481
_ACEOF
13560
12482
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13561
 
  $EGREP "memchr" >/dev/null 2>&1; then
13562
 
  :
 
12483
  $EGREP "memchr" >/dev/null 2>&1; then :
 
12484
 
13563
12485
else
13564
12486
  ac_cv_header_stdc=no
13565
12487
fi
13569
12491
 
13570
12492
if test $ac_cv_header_stdc = yes; then
13571
12493
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13572
 
  cat >conftest.$ac_ext <<_ACEOF
13573
 
/* confdefs.h.  */
13574
 
_ACEOF
13575
 
cat confdefs.h >>conftest.$ac_ext
13576
 
cat >>conftest.$ac_ext <<_ACEOF
 
12494
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13577
12495
/* end confdefs.h.  */
13578
12496
#include <stdlib.h>
13579
12497
 
13580
12498
_ACEOF
13581
12499
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13582
 
  $EGREP "free" >/dev/null 2>&1; then
13583
 
  :
 
12500
  $EGREP "free" >/dev/null 2>&1; then :
 
12501
 
13584
12502
else
13585
12503
  ac_cv_header_stdc=no
13586
12504
fi
13590
12508
 
13591
12509
if test $ac_cv_header_stdc = yes; then
13592
12510
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13593
 
  if test "$cross_compiling" = yes; then
 
12511
  if test "$cross_compiling" = yes; then :
13594
12512
  :
13595
12513
else
13596
 
  cat >conftest.$ac_ext <<_ACEOF
13597
 
/* confdefs.h.  */
13598
 
_ACEOF
13599
 
cat confdefs.h >>conftest.$ac_ext
13600
 
cat >>conftest.$ac_ext <<_ACEOF
 
12514
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601
12515
/* end confdefs.h.  */
13602
12516
#include <ctype.h>
13603
12517
#include <stdlib.h>
13624
12538
  return 0;
13625
12539
}
13626
12540
_ACEOF
13627
 
rm -f conftest$ac_exeext
13628
 
if { (ac_try="$ac_link"
13629
 
case "(($ac_try" in
13630
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13631
 
  *) ac_try_echo=$ac_try;;
13632
 
esac
13633
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13634
 
$as_echo "$ac_try_echo") >&5
13635
 
  (eval "$ac_link") 2>&5
13636
 
  ac_status=$?
13637
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13639
 
  { (case "(($ac_try" in
13640
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13641
 
  *) ac_try_echo=$ac_try;;
13642
 
esac
13643
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13644
 
$as_echo "$ac_try_echo") >&5
13645
 
  (eval "$ac_try") 2>&5
13646
 
  ac_status=$?
13647
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648
 
  (exit $ac_status); }; }; then
13649
 
  :
 
12541
if ac_fn_c_try_run "$LINENO"; then :
 
12542
 
13650
12543
else
13651
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
13652
 
$as_echo "$as_me: failed program was:" >&5
13653
 
sed 's/^/| /' conftest.$ac_ext >&5
13654
 
 
13655
 
( exit $ac_status )
13656
 
ac_cv_header_stdc=no
13657
 
fi
13658
 
rm -rf conftest.dSYM
13659
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13660
 
fi
13661
 
 
13662
 
 
13663
 
fi
13664
 
fi
13665
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
12544
  ac_cv_header_stdc=no
 
12545
fi
 
12546
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
12547
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
12548
fi
 
12549
 
 
12550
fi
 
12551
fi
 
12552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13666
12553
$as_echo "$ac_cv_header_stdc" >&6; }
13667
12554
if test $ac_cv_header_stdc = yes; then
13668
12555
 
13669
 
cat >>confdefs.h <<\_ACEOF
13670
 
#define STDC_HEADERS 1
13671
 
_ACEOF
 
12556
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13672
12557
 
13673
12558
fi
13674
12559
 
13679
12564
 
13680
12565
 
13681
12566
# check for mmap()
13682
 
 
13683
 
 
13684
12567
for ac_header in stdlib.h unistd.h
13685
 
do
13686
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13687
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13688
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13689
 
$as_echo_n "checking for $ac_header... " >&6; }
13690
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13691
 
  $as_echo_n "(cached) " >&6
13692
 
fi
13693
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13694
 
                 $as_echo "$as_val"'`
13695
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13696
 
$as_echo "$ac_res" >&6; }
13697
 
else
13698
 
  # Is the header compilable?
13699
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13700
 
$as_echo_n "checking $ac_header usability... " >&6; }
13701
 
cat >conftest.$ac_ext <<_ACEOF
13702
 
/* confdefs.h.  */
13703
 
_ACEOF
13704
 
cat confdefs.h >>conftest.$ac_ext
13705
 
cat >>conftest.$ac_ext <<_ACEOF
13706
 
/* end confdefs.h.  */
13707
 
$ac_includes_default
13708
 
#include <$ac_header>
13709
 
_ACEOF
13710
 
rm -f conftest.$ac_objext
13711
 
if { (ac_try="$ac_compile"
13712
 
case "(($ac_try" in
13713
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13714
 
  *) ac_try_echo=$ac_try;;
13715
 
esac
13716
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13717
 
$as_echo "$ac_try_echo") >&5
13718
 
  (eval "$ac_compile") 2>conftest.er1
13719
 
  ac_status=$?
13720
 
  grep -v '^ *+' conftest.er1 >conftest.err
13721
 
  rm -f conftest.er1
13722
 
  cat conftest.err >&5
13723
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724
 
  (exit $ac_status); } && {
13725
 
         test -z "$ac_c_werror_flag" ||
13726
 
         test ! -s conftest.err
13727
 
       } && test -s conftest.$ac_objext; then
13728
 
  ac_header_compiler=yes
13729
 
else
13730
 
  $as_echo "$as_me: failed program was:" >&5
13731
 
sed 's/^/| /' conftest.$ac_ext >&5
13732
 
 
13733
 
        ac_header_compiler=no
13734
 
fi
13735
 
 
13736
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13737
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13738
 
$as_echo "$ac_header_compiler" >&6; }
13739
 
 
13740
 
# Is the header present?
13741
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13742
 
$as_echo_n "checking $ac_header presence... " >&6; }
13743
 
cat >conftest.$ac_ext <<_ACEOF
13744
 
/* confdefs.h.  */
13745
 
_ACEOF
13746
 
cat confdefs.h >>conftest.$ac_ext
13747
 
cat >>conftest.$ac_ext <<_ACEOF
13748
 
/* end confdefs.h.  */
13749
 
#include <$ac_header>
13750
 
_ACEOF
13751
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13752
 
case "(($ac_try" in
13753
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13754
 
  *) ac_try_echo=$ac_try;;
13755
 
esac
13756
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13757
 
$as_echo "$ac_try_echo") >&5
13758
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13759
 
  ac_status=$?
13760
 
  grep -v '^ *+' conftest.er1 >conftest.err
13761
 
  rm -f conftest.er1
13762
 
  cat conftest.err >&5
13763
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764
 
  (exit $ac_status); } >/dev/null && {
13765
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13766
 
         test ! -s conftest.err
13767
 
       }; then
13768
 
  ac_header_preproc=yes
13769
 
else
13770
 
  $as_echo "$as_me: failed program was:" >&5
13771
 
sed 's/^/| /' conftest.$ac_ext >&5
13772
 
 
13773
 
  ac_header_preproc=no
13774
 
fi
13775
 
 
13776
 
rm -f conftest.err conftest.$ac_ext
13777
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13778
 
$as_echo "$ac_header_preproc" >&6; }
13779
 
 
13780
 
# So?  What about this header?
13781
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13782
 
  yes:no: )
13783
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13784
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13785
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13786
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13787
 
    ac_header_preproc=yes
13788
 
    ;;
13789
 
  no:yes:* )
13790
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13791
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13792
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13793
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13794
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13795
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13796
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13797
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13798
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13799
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13800
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13801
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13802
 
 
13803
 
    ;;
13804
 
esac
13805
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13806
 
$as_echo_n "checking for $ac_header... " >&6; }
13807
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13808
 
  $as_echo_n "(cached) " >&6
13809
 
else
13810
 
  eval "$as_ac_Header=\$ac_header_preproc"
13811
 
fi
13812
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13813
 
                 $as_echo "$as_val"'`
13814
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13815
 
$as_echo "$ac_res" >&6; }
13816
 
 
13817
 
fi
13818
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13819
 
                 $as_echo "$as_val"'`
13820
 
   if test "x$as_val" = x""yes; then
 
12568
do :
 
12569
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12570
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
12571
eval as_val=\$$as_ac_Header
 
12572
   if test "x$as_val" = x""yes; then :
13821
12573
  cat >>confdefs.h <<_ACEOF
13822
12574
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13823
12575
_ACEOF
13826
12578
 
13827
12579
done
13828
12580
 
13829
 
 
13830
12581
for ac_func in getpagesize
13831
 
do
13832
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13833
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13834
 
$as_echo_n "checking for $ac_func... " >&6; }
13835
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13836
 
  $as_echo_n "(cached) " >&6
13837
 
else
13838
 
  cat >conftest.$ac_ext <<_ACEOF
13839
 
/* confdefs.h.  */
13840
 
_ACEOF
13841
 
cat confdefs.h >>conftest.$ac_ext
13842
 
cat >>conftest.$ac_ext <<_ACEOF
13843
 
/* end confdefs.h.  */
13844
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13845
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13846
 
#define $ac_func innocuous_$ac_func
13847
 
 
13848
 
/* System header to define __stub macros and hopefully few prototypes,
13849
 
    which can conflict with char $ac_func (); below.
13850
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13851
 
    <limits.h> exists even on freestanding compilers.  */
13852
 
 
13853
 
#ifdef __STDC__
13854
 
# include <limits.h>
13855
 
#else
13856
 
# include <assert.h>
13857
 
#endif
13858
 
 
13859
 
#undef $ac_func
13860
 
 
13861
 
/* Override any GCC internal prototype to avoid an error.
13862
 
   Use char because int might match the return type of a GCC
13863
 
   builtin and then its argument prototype would still apply.  */
13864
 
#ifdef __cplusplus
13865
 
extern "C"
13866
 
#endif
13867
 
char $ac_func ();
13868
 
/* The GNU C library defines this for functions which it implements
13869
 
    to always fail with ENOSYS.  Some functions are actually named
13870
 
    something starting with __ and the normal name is an alias.  */
13871
 
#if defined __stub_$ac_func || defined __stub___$ac_func
13872
 
choke me
13873
 
#endif
13874
 
 
13875
 
int
13876
 
main ()
13877
 
{
13878
 
return $ac_func ();
13879
 
  ;
13880
 
  return 0;
13881
 
}
13882
 
_ACEOF
13883
 
rm -f conftest.$ac_objext conftest$ac_exeext
13884
 
if { (ac_try="$ac_link"
13885
 
case "(($ac_try" in
13886
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13887
 
  *) ac_try_echo=$ac_try;;
13888
 
esac
13889
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13890
 
$as_echo "$ac_try_echo") >&5
13891
 
  (eval "$ac_link") 2>conftest.er1
13892
 
  ac_status=$?
13893
 
  grep -v '^ *+' conftest.er1 >conftest.err
13894
 
  rm -f conftest.er1
13895
 
  cat conftest.err >&5
13896
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897
 
  (exit $ac_status); } && {
13898
 
         test -z "$ac_c_werror_flag" ||
13899
 
         test ! -s conftest.err
13900
 
       } && test -s conftest$ac_exeext && {
13901
 
         test "$cross_compiling" = yes ||
13902
 
         $as_test_x conftest$ac_exeext
13903
 
       }; then
13904
 
  eval "$as_ac_var=yes"
13905
 
else
13906
 
  $as_echo "$as_me: failed program was:" >&5
13907
 
sed 's/^/| /' conftest.$ac_ext >&5
13908
 
 
13909
 
        eval "$as_ac_var=no"
13910
 
fi
13911
 
 
13912
 
rm -rf conftest.dSYM
13913
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13914
 
      conftest$ac_exeext conftest.$ac_ext
13915
 
fi
13916
 
ac_res=`eval 'as_val=${'$as_ac_var'}
13917
 
                 $as_echo "$as_val"'`
13918
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13919
 
$as_echo "$ac_res" >&6; }
13920
 
as_val=`eval 'as_val=${'$as_ac_var'}
13921
 
                 $as_echo "$as_val"'`
13922
 
   if test "x$as_val" = x""yes; then
 
12582
do :
 
12583
  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
 
12584
if test "x$ac_cv_func_getpagesize" = x""yes; then :
13923
12585
  cat >>confdefs.h <<_ACEOF
13924
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12586
#define HAVE_GETPAGESIZE 1
13925
12587
_ACEOF
13926
12588
 
13927
12589
fi
13928
12590
done
13929
12591
 
13930
 
{ $as_echo "$as_me:$LINENO: checking for working mmap" >&5
 
12592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
13931
12593
$as_echo_n "checking for working mmap... " >&6; }
13932
 
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
 
12594
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
13933
12595
  $as_echo_n "(cached) " >&6
13934
12596
else
13935
 
  if test "$cross_compiling" = yes; then
 
12597
  if test "$cross_compiling" = yes; then :
13936
12598
  ac_cv_func_mmap_fixed_mapped=no
13937
12599
else
13938
 
  cat >conftest.$ac_ext <<_ACEOF
13939
 
/* confdefs.h.  */
13940
 
_ACEOF
13941
 
cat confdefs.h >>conftest.$ac_ext
13942
 
cat >>conftest.$ac_ext <<_ACEOF
 
12600
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13943
12601
/* end confdefs.h.  */
13944
12602
$ac_includes_default
13945
12603
/* malloc might have been renamed as rpl_malloc. */
14068
12726
  return 0;
14069
12727
}
14070
12728
_ACEOF
14071
 
rm -f conftest$ac_exeext
14072
 
if { (ac_try="$ac_link"
14073
 
case "(($ac_try" in
14074
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14075
 
  *) ac_try_echo=$ac_try;;
14076
 
esac
14077
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14078
 
$as_echo "$ac_try_echo") >&5
14079
 
  (eval "$ac_link") 2>&5
14080
 
  ac_status=$?
14081
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14083
 
  { (case "(($ac_try" in
14084
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14085
 
  *) ac_try_echo=$ac_try;;
14086
 
esac
14087
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14088
 
$as_echo "$ac_try_echo") >&5
14089
 
  (eval "$ac_try") 2>&5
14090
 
  ac_status=$?
14091
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092
 
  (exit $ac_status); }; }; then
 
12729
if ac_fn_c_try_run "$LINENO"; then :
14093
12730
  ac_cv_func_mmap_fixed_mapped=yes
14094
12731
else
14095
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
14096
 
$as_echo "$as_me: failed program was:" >&5
14097
 
sed 's/^/| /' conftest.$ac_ext >&5
14098
 
 
14099
 
( exit $ac_status )
14100
 
ac_cv_func_mmap_fixed_mapped=no
14101
 
fi
14102
 
rm -rf conftest.dSYM
14103
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14104
 
fi
14105
 
 
14106
 
 
14107
 
fi
14108
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
 
12732
  ac_cv_func_mmap_fixed_mapped=no
 
12733
fi
 
12734
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
12735
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
12736
fi
 
12737
 
 
12738
fi
 
12739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
14109
12740
$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
14110
12741
if test $ac_cv_func_mmap_fixed_mapped = yes; then
14111
12742
 
14112
 
cat >>confdefs.h <<\_ACEOF
14113
 
#define HAVE_MMAP 1
14114
 
_ACEOF
 
12743
$as_echo "#define HAVE_MMAP 1" >>confdefs.h
14115
12744
 
14116
12745
fi
14117
12746
rm -f conftest.mmap
14125
12754
        if test -n "$ac_tool_prefix"; then
14126
12755
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14127
12756
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14128
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14129
12758
$as_echo_n "checking for $ac_word... " >&6; }
14130
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
12759
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14131
12760
  $as_echo_n "(cached) " >&6
14132
12761
else
14133
12762
  case $PKG_CONFIG in
14140
12769
do
14141
12770
  IFS=$as_save_IFS
14142
12771
  test -z "$as_dir" && as_dir=.
14143
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12772
    for ac_exec_ext in '' $ac_executable_extensions; do
14144
12773
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14145
12774
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14146
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12775
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14147
12776
    break 2
14148
12777
  fi
14149
12778
done
14150
 
done
 
12779
  done
14151
12780
IFS=$as_save_IFS
14152
12781
 
14153
12782
  ;;
14155
12784
fi
14156
12785
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14157
12786
if test -n "$PKG_CONFIG"; then
14158
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
12787
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14159
12788
$as_echo "$PKG_CONFIG" >&6; }
14160
12789
else
14161
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12790
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14162
12791
$as_echo "no" >&6; }
14163
12792
fi
14164
12793
 
14168
12797
  ac_pt_PKG_CONFIG=$PKG_CONFIG
14169
12798
  # Extract the first word of "pkg-config", so it can be a program name with args.
14170
12799
set dummy pkg-config; ac_word=$2
14171
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14172
12801
$as_echo_n "checking for $ac_word... " >&6; }
14173
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
12802
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14174
12803
  $as_echo_n "(cached) " >&6
14175
12804
else
14176
12805
  case $ac_pt_PKG_CONFIG in
14183
12812
do
14184
12813
  IFS=$as_save_IFS
14185
12814
  test -z "$as_dir" && as_dir=.
14186
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12815
    for ac_exec_ext in '' $ac_executable_extensions; do
14187
12816
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14188
12817
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14189
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12818
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14190
12819
    break 2
14191
12820
  fi
14192
12821
done
14193
 
done
 
12822
  done
14194
12823
IFS=$as_save_IFS
14195
12824
 
14196
12825
  ;;
14198
12827
fi
14199
12828
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14200
12829
if test -n "$ac_pt_PKG_CONFIG"; then
14201
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
12830
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14202
12831
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14203
12832
else
14204
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12833
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14205
12834
$as_echo "no" >&6; }
14206
12835
fi
14207
12836
 
14210
12839
  else
14211
12840
    case $cross_compiling:$ac_tool_warned in
14212
12841
yes:)
14213
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
12842
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14214
12843
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14215
12844
ac_tool_warned=yes ;;
14216
12845
esac
14223
12852
fi
14224
12853
if test -n "$PKG_CONFIG"; then
14225
12854
        _pkg_min_version=0.9.0
14226
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
12855
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14227
12856
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14228
12857
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14229
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12858
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14230
12859
$as_echo "yes" >&6; }
14231
12860
        else
14232
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
12861
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14233
12862
$as_echo "no" >&6; }
14234
12863
                PKG_CONFIG=""
14235
12864
        fi
14237
12866
fi
14238
12867
 
14239
12868
pkg_failed=no
14240
 
{ $as_echo "$as_me:$LINENO: checking for GTK" >&5
 
12869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14241
12870
$as_echo_n "checking for GTK... " >&6; }
14242
12871
 
14243
12872
if test -n "$PKG_CONFIG"; then
14245
12874
        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14246
12875
    else
14247
12876
        if test -n "$PKG_CONFIG" && \
14248
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gtk_modules\"") >&5
 
12877
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_modules\""; } >&5
14249
12878
  ($PKG_CONFIG --exists --print-errors "$gtk_modules") 2>&5
14250
12879
  ac_status=$?
14251
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14252
 
  (exit $ac_status); }; then
 
12880
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12881
  test $ac_status = 0; }; then
14253
12882
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "$gtk_modules" 2>/dev/null`
14254
12883
else
14255
12884
  pkg_failed=yes
14263
12892
        pkg_cv_GTK_LIBS="$GTK_LIBS"
14264
12893
    else
14265
12894
        if test -n "$PKG_CONFIG" && \
14266
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gtk_modules\"") >&5
 
12895
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_modules\""; } >&5
14267
12896
  ($PKG_CONFIG --exists --print-errors "$gtk_modules") 2>&5
14268
12897
  ac_status=$?
14269
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270
 
  (exit $ac_status); }; then
 
12898
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12899
  test $ac_status = 0; }; then
14271
12900
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "$gtk_modules" 2>/dev/null`
14272
12901
else
14273
12902
  pkg_failed=yes
14294
12923
        # Put the nasty error message in config.log where it belongs
14295
12924
        echo "$GTK_PKG_ERRORS" >&5
14296
12925
 
14297
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements ($gtk_modules) were not met:
14298
 
 
14299
 
$GTK_PKG_ERRORS
14300
 
 
14301
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14302
 
installed software in a non-standard prefix.
14303
 
 
14304
 
Alternatively, you may set the environment variables GTK_CFLAGS
14305
 
and GTK_LIBS to avoid the need to call pkg-config.
14306
 
See the pkg-config man page for more details.
14307
 
" >&5
14308
 
$as_echo "$as_me: error: Package requirements ($gtk_modules) were not met:
14309
 
 
14310
 
$GTK_PKG_ERRORS
14311
 
 
14312
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14313
 
installed software in a non-standard prefix.
14314
 
 
14315
 
Alternatively, you may set the environment variables GTK_CFLAGS
14316
 
and GTK_LIBS to avoid the need to call pkg-config.
14317
 
See the pkg-config man page for more details.
14318
 
" >&2;}
14319
 
   { (exit 1); exit 1; }; }
 
12926
        as_fn_error "Package requirements ($gtk_modules) were not met:
 
12927
 
 
12928
$GTK_PKG_ERRORS
 
12929
 
 
12930
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12931
installed software in a non-standard prefix.
 
12932
 
 
12933
Alternatively, you may set the environment variables GTK_CFLAGS
 
12934
and GTK_LIBS to avoid the need to call pkg-config.
 
12935
See the pkg-config man page for more details.
 
12936
" "$LINENO" 5
14320
12937
elif test $pkg_failed = untried; then
14321
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
12938
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14322
12939
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14323
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14324
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14325
 
path to pkg-config.
14326
 
 
14327
 
Alternatively, you may set the environment variables GTK_CFLAGS
14328
 
and GTK_LIBS to avoid the need to call pkg-config.
14329
 
See the pkg-config man page for more details.
14330
 
 
14331
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14332
 
See \`config.log' for more details." >&5
14333
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14334
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14335
 
path to pkg-config.
14336
 
 
14337
 
Alternatively, you may set the environment variables GTK_CFLAGS
14338
 
and GTK_LIBS to avoid the need to call pkg-config.
14339
 
See the pkg-config man page for more details.
14340
 
 
14341
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14342
 
See \`config.log' for more details." >&2;}
14343
 
   { (exit 1); exit 1; }; }; }
 
12940
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12941
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12942
path to pkg-config.
 
12943
 
 
12944
Alternatively, you may set the environment variables GTK_CFLAGS
 
12945
and GTK_LIBS to avoid the need to call pkg-config.
 
12946
See the pkg-config man page for more details.
 
12947
 
 
12948
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12949
See \`config.log' for more details." "$LINENO" 5; }
14344
12950
else
14345
12951
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14346
12952
        GTK_LIBS=$pkg_cv_GTK_LIBS
14347
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12953
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14348
12954
$as_echo "yes" >&6; }
14349
12955
        :
14350
12956
fi
14354
12960
sn_modules="libstartup-notification-1.0"
14355
12961
 
14356
12962
pkg_failed=no
14357
 
{ $as_echo "$as_me:$LINENO: checking for SN" >&5
 
12963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SN" >&5
14358
12964
$as_echo_n "checking for SN... " >&6; }
14359
12965
 
14360
12966
if test -n "$PKG_CONFIG"; then
14362
12968
        pkg_cv_SN_CFLAGS="$SN_CFLAGS"
14363
12969
    else
14364
12970
        if test -n "$PKG_CONFIG" && \
14365
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$sn_modules\"") >&5
 
12971
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$sn_modules\""; } >&5
14366
12972
  ($PKG_CONFIG --exists --print-errors "$sn_modules") 2>&5
14367
12973
  ac_status=$?
14368
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369
 
  (exit $ac_status); }; then
 
12974
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12975
  test $ac_status = 0; }; then
14370
12976
  pkg_cv_SN_CFLAGS=`$PKG_CONFIG --cflags "$sn_modules" 2>/dev/null`
14371
12977
else
14372
12978
  pkg_failed=yes
14380
12986
        pkg_cv_SN_LIBS="$SN_LIBS"
14381
12987
    else
14382
12988
        if test -n "$PKG_CONFIG" && \
14383
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$sn_modules\"") >&5
 
12989
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$sn_modules\""; } >&5
14384
12990
  ($PKG_CONFIG --exists --print-errors "$sn_modules") 2>&5
14385
12991
  ac_status=$?
14386
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387
 
  (exit $ac_status); }; then
 
12992
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12993
  test $ac_status = 0; }; then
14388
12994
  pkg_cv_SN_LIBS=`$PKG_CONFIG --libs "$sn_modules" 2>/dev/null`
14389
12995
else
14390
12996
  pkg_failed=yes
14411
13017
        # Put the nasty error message in config.log where it belongs
14412
13018
        echo "$SN_PKG_ERRORS" >&5
14413
13019
 
14414
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements ($sn_modules) were not met:
14415
 
 
14416
 
$SN_PKG_ERRORS
14417
 
 
14418
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14419
 
installed software in a non-standard prefix.
14420
 
 
14421
 
Alternatively, you may set the environment variables SN_CFLAGS
14422
 
and SN_LIBS to avoid the need to call pkg-config.
14423
 
See the pkg-config man page for more details.
14424
 
" >&5
14425
 
$as_echo "$as_me: error: Package requirements ($sn_modules) were not met:
14426
 
 
14427
 
$SN_PKG_ERRORS
14428
 
 
14429
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14430
 
installed software in a non-standard prefix.
14431
 
 
14432
 
Alternatively, you may set the environment variables SN_CFLAGS
14433
 
and SN_LIBS to avoid the need to call pkg-config.
14434
 
See the pkg-config man page for more details.
14435
 
" >&2;}
14436
 
   { (exit 1); exit 1; }; }
 
13020
        as_fn_error "Package requirements ($sn_modules) were not met:
 
13021
 
 
13022
$SN_PKG_ERRORS
 
13023
 
 
13024
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13025
installed software in a non-standard prefix.
 
13026
 
 
13027
Alternatively, you may set the environment variables SN_CFLAGS
 
13028
and SN_LIBS to avoid the need to call pkg-config.
 
13029
See the pkg-config man page for more details.
 
13030
" "$LINENO" 5
14437
13031
elif test $pkg_failed = untried; then
14438
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13032
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14439
13033
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14440
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14441
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14442
 
path to pkg-config.
14443
 
 
14444
 
Alternatively, you may set the environment variables SN_CFLAGS
14445
 
and SN_LIBS to avoid the need to call pkg-config.
14446
 
See the pkg-config man page for more details.
14447
 
 
14448
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14449
 
See \`config.log' for more details." >&5
14450
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14451
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14452
 
path to pkg-config.
14453
 
 
14454
 
Alternatively, you may set the environment variables SN_CFLAGS
14455
 
and SN_LIBS to avoid the need to call pkg-config.
14456
 
See the pkg-config man page for more details.
14457
 
 
14458
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14459
 
See \`config.log' for more details." >&2;}
14460
 
   { (exit 1); exit 1; }; }; }
 
13034
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
13035
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13036
path to pkg-config.
 
13037
 
 
13038
Alternatively, you may set the environment variables SN_CFLAGS
 
13039
and SN_LIBS to avoid the need to call pkg-config.
 
13040
See the pkg-config man page for more details.
 
13041
 
 
13042
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13043
See \`config.log' for more details." "$LINENO" 5; }
14461
13044
else
14462
13045
        SN_CFLAGS=$pkg_cv_SN_CFLAGS
14463
13046
        SN_LIBS=$pkg_cv_SN_LIBS
14464
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13047
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14465
13048
$as_echo "yes" >&6; }
14466
13049
        :
14467
13050
fi
14468
13051
 
14469
13052
 
14470
13053
 
14471
 
{ $as_echo "$as_me:$LINENO: checking whether $LD accepts --as-needed" >&5
 
13054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts --as-needed" >&5
14472
13055
$as_echo_n "checking whether $LD accepts --as-needed... " >&6; }
14473
13056
case `$LD --as-needed -v 2>&1 </dev/null` in
14474
13057
*GNU* | *'with BFD'*)
14475
13058
  LDFLAGS="$LDFLAGS -Wl,--as-needed"
14476
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13059
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14477
13060
$as_echo "yes" >&6; }
14478
13061
  ;;
14479
13062
*)
14480
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13063
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14481
13064
$as_echo "no" >&6; }
14482
13065
  ;;
14483
13066
esac
14484
 
{ $as_echo "$as_me:$LINENO: checking whether $LD accepts -O1" >&5
 
13067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts -O1" >&5
14485
13068
$as_echo_n "checking whether $LD accepts -O1... " >&6; }
14486
13069
case `$LD -O1 -v 2>&1 </dev/null` in
14487
13070
*GNU* | *'with BFD'*)
14488
13071
  LDFLAGS="$LDFLAGS -Wl,-O1"
14489
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13072
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14490
13073
$as_echo "yes" >&6; }
14491
13074
  ;;
14492
13075
*)
14493
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13076
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14494
13077
$as_echo "no" >&6; }
14495
13078
  ;;
14496
13079
esac
14497
 
{ $as_echo "$as_me:$LINENO: checking whether $LD accepts -Bsymbolic-functions" >&5
 
13080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts -Bsymbolic-functions" >&5
14498
13081
$as_echo_n "checking whether $LD accepts -Bsymbolic-functions... " >&6; }
14499
13082
case `$LD -Bsymbolic-functions -v 2>&1 </dev/null` in
14500
13083
*GNU* | *'with BFD'*)
14501
13084
  LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions"
14502
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13085
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14503
13086
$as_echo "yes" >&6; }
14504
13087
  ;;
14505
13088
*)
14506
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13089
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14507
13090
$as_echo "no" >&6; }
14508
13091
  ;;
14509
13092
esac
14510
13093
 
14511
13094
# Check whether --enable-cast-checks was given.
14512
 
if test "${enable_cast_checks+set}" = set; then
 
13095
if test "${enable_cast_checks+set}" = set; then :
14513
13096
  enableval=$enable_cast_checks; cast_checks=$enableval
14514
13097
else
14515
13098
  cast_checks="no"
14522
13105
 
14523
13106
 
14524
13107
# Check whether --enable-hal was given.
14525
 
if test "${enable_hal+set}" = set; then
 
13108
if test "${enable_hal+set}" = set; then :
14526
13109
  enableval=$enable_hal; use_hal=$enableval
14527
13110
else
14528
13111
  use_hal="yes"
14533
13116
    hal_modules="dbus-glib-1 >= 0.31 hal >= 0.5.0 hal-storage"
14534
13117
 
14535
13118
pkg_failed=no
14536
 
{ $as_echo "$as_me:$LINENO: checking for HAL" >&5
 
13119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5
14537
13120
$as_echo_n "checking for HAL... " >&6; }
14538
13121
 
14539
13122
if test -n "$PKG_CONFIG"; then
14541
13124
        pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
14542
13125
    else
14543
13126
        if test -n "$PKG_CONFIG" && \
14544
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$hal_modules\"") >&5
 
13127
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$hal_modules\""; } >&5
14545
13128
  ($PKG_CONFIG --exists --print-errors "$hal_modules") 2>&5
14546
13129
  ac_status=$?
14547
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548
 
  (exit $ac_status); }; then
 
13130
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13131
  test $ac_status = 0; }; then
14549
13132
  pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "$hal_modules" 2>/dev/null`
14550
13133
else
14551
13134
  pkg_failed=yes
14559
13142
        pkg_cv_HAL_LIBS="$HAL_LIBS"
14560
13143
    else
14561
13144
        if test -n "$PKG_CONFIG" && \
14562
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$hal_modules\"") >&5
 
13145
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$hal_modules\""; } >&5
14563
13146
  ($PKG_CONFIG --exists --print-errors "$hal_modules") 2>&5
14564
13147
  ac_status=$?
14565
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566
 
  (exit $ac_status); }; then
 
13148
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13149
  test $ac_status = 0; }; then
14567
13150
  pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "$hal_modules" 2>/dev/null`
14568
13151
else
14569
13152
  pkg_failed=yes
14590
13173
        # Put the nasty error message in config.log where it belongs
14591
13174
        echo "$HAL_PKG_ERRORS" >&5
14592
13175
 
14593
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
13176
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14594
13177
$as_echo "no" >&6; }
14595
13178
                have_hal=no
14596
13179
elif test $pkg_failed = untried; then
14598
13181
else
14599
13182
        HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
14600
13183
        HAL_LIBS=$pkg_cv_HAL_LIBS
14601
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13184
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14602
13185
$as_echo "yes" >&6; }
14603
13186
        have_hal=yes
14604
13187
fi
14605
13188
 
14606
13189
    if test x"$have_hal" = x"yes"; then
14607
13190
 
14608
 
cat >>confdefs.h <<\_ACEOF
14609
 
#define HAVE_HAL 1
14610
 
_ACEOF
 
13191
$as_echo "#define HAVE_HAL 1" >>confdefs.h
14611
13192
 
14612
13193
    else
14613
 
        { { $as_echo "$as_me:$LINENO: error: To use HAL support, you must have developing packages of dbus-glib-1 (>=0.31), hal(>=0.5.0), and hal-storage, or you can use --disable-hal to disable HAL support." >&5
14614
 
$as_echo "$as_me: error: To use HAL support, you must have developing packages of dbus-glib-1 (>=0.31), hal(>=0.5.0), and hal-storage, or you can use --disable-hal to disable HAL support." >&2;}
14615
 
   { (exit 1); exit 1; }; }
 
13194
        as_fn_error "To use HAL support, you must have developing packages of dbus-glib-1 (>=0.31), hal(>=0.5.0), and hal-storage, or you can use --disable-hal to disable HAL support." "$LINENO" 5
14616
13195
    fi
14617
13196
fi
14618
13197
 if test "$use_hal" = "yes"; then
14627
13206
 
14628
13207
 
14629
13208
# Check whether --enable-inotify was given.
14630
 
if test "${enable_inotify+set}" = set; then
 
13209
if test "${enable_inotify+set}" = set; then :
14631
13210
  enableval=$enable_inotify; use_inotify=$enableval
14632
13211
else
14633
13212
  use_inotify="no"
14636
13215
 
14637
13216
if test x"$use_inotify" = x"yes"; then
14638
13217
 
14639
 
cat >>confdefs.h <<\_ACEOF
14640
 
#define USE_INOTIFY 1
14641
 
_ACEOF
 
13218
$as_echo "#define USE_INOTIFY 1" >>confdefs.h
14642
13219
 
14643
13220
else
14644
13221
 
14645
13222
    FAM_CFLAGS=""
14646
13223
    FAM_LIBS=""
14647
13224
    have_libfam=no
14648
 
 
14649
 
for ac_header in fam.h
14650
 
do
14651
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14652
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14653
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14654
 
$as_echo_n "checking for $ac_header... " >&6; }
14655
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14656
 
  $as_echo_n "(cached) " >&6
14657
 
fi
14658
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14659
 
                 $as_echo "$as_val"'`
14660
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14661
 
$as_echo "$ac_res" >&6; }
14662
 
else
14663
 
  # Is the header compilable?
14664
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14665
 
$as_echo_n "checking $ac_header usability... " >&6; }
14666
 
cat >conftest.$ac_ext <<_ACEOF
14667
 
/* confdefs.h.  */
14668
 
_ACEOF
14669
 
cat confdefs.h >>conftest.$ac_ext
14670
 
cat >>conftest.$ac_ext <<_ACEOF
14671
 
/* end confdefs.h.  */
14672
 
$ac_includes_default
14673
 
#include <$ac_header>
14674
 
_ACEOF
14675
 
rm -f conftest.$ac_objext
14676
 
if { (ac_try="$ac_compile"
14677
 
case "(($ac_try" in
14678
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14679
 
  *) ac_try_echo=$ac_try;;
14680
 
esac
14681
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14682
 
$as_echo "$ac_try_echo") >&5
14683
 
  (eval "$ac_compile") 2>conftest.er1
14684
 
  ac_status=$?
14685
 
  grep -v '^ *+' conftest.er1 >conftest.err
14686
 
  rm -f conftest.er1
14687
 
  cat conftest.err >&5
14688
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689
 
  (exit $ac_status); } && {
14690
 
         test -z "$ac_c_werror_flag" ||
14691
 
         test ! -s conftest.err
14692
 
       } && test -s conftest.$ac_objext; then
14693
 
  ac_header_compiler=yes
14694
 
else
14695
 
  $as_echo "$as_me: failed program was:" >&5
14696
 
sed 's/^/| /' conftest.$ac_ext >&5
14697
 
 
14698
 
        ac_header_compiler=no
14699
 
fi
14700
 
 
14701
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14702
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14703
 
$as_echo "$ac_header_compiler" >&6; }
14704
 
 
14705
 
# Is the header present?
14706
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14707
 
$as_echo_n "checking $ac_header presence... " >&6; }
14708
 
cat >conftest.$ac_ext <<_ACEOF
14709
 
/* confdefs.h.  */
14710
 
_ACEOF
14711
 
cat confdefs.h >>conftest.$ac_ext
14712
 
cat >>conftest.$ac_ext <<_ACEOF
14713
 
/* end confdefs.h.  */
14714
 
#include <$ac_header>
14715
 
_ACEOF
14716
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14717
 
case "(($ac_try" in
14718
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719
 
  *) ac_try_echo=$ac_try;;
14720
 
esac
14721
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14722
 
$as_echo "$ac_try_echo") >&5
14723
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14724
 
  ac_status=$?
14725
 
  grep -v '^ *+' conftest.er1 >conftest.err
14726
 
  rm -f conftest.er1
14727
 
  cat conftest.err >&5
14728
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729
 
  (exit $ac_status); } >/dev/null && {
14730
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14731
 
         test ! -s conftest.err
14732
 
       }; then
14733
 
  ac_header_preproc=yes
14734
 
else
14735
 
  $as_echo "$as_me: failed program was:" >&5
14736
 
sed 's/^/| /' conftest.$ac_ext >&5
14737
 
 
14738
 
  ac_header_preproc=no
14739
 
fi
14740
 
 
14741
 
rm -f conftest.err conftest.$ac_ext
14742
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14743
 
$as_echo "$ac_header_preproc" >&6; }
14744
 
 
14745
 
# So?  What about this header?
14746
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14747
 
  yes:no: )
14748
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14749
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14750
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14751
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14752
 
    ac_header_preproc=yes
14753
 
    ;;
14754
 
  no:yes:* )
14755
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14756
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14757
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14758
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14759
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14760
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14761
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14762
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14763
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14764
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14765
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14766
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14767
 
 
14768
 
    ;;
14769
 
esac
14770
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14771
 
$as_echo_n "checking for $ac_header... " >&6; }
14772
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14773
 
  $as_echo_n "(cached) " >&6
14774
 
else
14775
 
  eval "$as_ac_Header=\$ac_header_preproc"
14776
 
fi
14777
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14778
 
                 $as_echo "$as_val"'`
14779
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14780
 
$as_echo "$ac_res" >&6; }
14781
 
 
14782
 
fi
14783
 
as_val=`eval 'as_val=${'$as_ac_Header'}
14784
 
                 $as_echo "$as_val"'`
14785
 
   if test "x$as_val" = x""yes; then
 
13225
    for ac_header in fam.h
 
13226
do :
 
13227
  ac_fn_c_check_header_mongrel "$LINENO" "fam.h" "ac_cv_header_fam_h" "$ac_includes_default"
 
13228
if test "x$ac_cv_header_fam_h" = x""yes; then :
14786
13229
  cat >>confdefs.h <<_ACEOF
14787
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
13230
#define HAVE_FAM_H 1
14788
13231
_ACEOF
14789
13232
 
14790
 
        { $as_echo "$as_me:$LINENO: checking for FAMOpen in -lfam" >&5
 
13233
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FAMOpen in -lfam" >&5
14791
13234
$as_echo_n "checking for FAMOpen in -lfam... " >&6; }
14792
 
if test "${ac_cv_lib_fam_FAMOpen+set}" = set; then
 
13235
if test "${ac_cv_lib_fam_FAMOpen+set}" = set; then :
14793
13236
  $as_echo_n "(cached) " >&6
14794
13237
else
14795
13238
  ac_check_lib_save_LIBS=$LIBS
14796
13239
LIBS="-lfam  $LIBS"
14797
 
cat >conftest.$ac_ext <<_ACEOF
14798
 
/* confdefs.h.  */
14799
 
_ACEOF
14800
 
cat confdefs.h >>conftest.$ac_ext
14801
 
cat >>conftest.$ac_ext <<_ACEOF
 
13240
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802
13241
/* end confdefs.h.  */
14803
13242
 
14804
13243
/* Override any GCC internal prototype to avoid an error.
14816
13255
  return 0;
14817
13256
}
14818
13257
_ACEOF
14819
 
rm -f conftest.$ac_objext conftest$ac_exeext
14820
 
if { (ac_try="$ac_link"
14821
 
case "(($ac_try" in
14822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14823
 
  *) ac_try_echo=$ac_try;;
14824
 
esac
14825
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14826
 
$as_echo "$ac_try_echo") >&5
14827
 
  (eval "$ac_link") 2>conftest.er1
14828
 
  ac_status=$?
14829
 
  grep -v '^ *+' conftest.er1 >conftest.err
14830
 
  rm -f conftest.er1
14831
 
  cat conftest.err >&5
14832
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833
 
  (exit $ac_status); } && {
14834
 
         test -z "$ac_c_werror_flag" ||
14835
 
         test ! -s conftest.err
14836
 
       } && test -s conftest$ac_exeext && {
14837
 
         test "$cross_compiling" = yes ||
14838
 
         $as_test_x conftest$ac_exeext
14839
 
       }; then
 
13258
if ac_fn_c_try_link "$LINENO"; then :
14840
13259
  ac_cv_lib_fam_FAMOpen=yes
14841
13260
else
14842
 
  $as_echo "$as_me: failed program was:" >&5
14843
 
sed 's/^/| /' conftest.$ac_ext >&5
14844
 
 
14845
 
        ac_cv_lib_fam_FAMOpen=no
 
13261
  ac_cv_lib_fam_FAMOpen=no
14846
13262
fi
14847
 
 
14848
 
rm -rf conftest.dSYM
14849
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14850
 
      conftest$ac_exeext conftest.$ac_ext
 
13263
rm -f core conftest.err conftest.$ac_objext \
 
13264
    conftest$ac_exeext conftest.$ac_ext
14851
13265
LIBS=$ac_check_lib_save_LIBS
14852
13266
fi
14853
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_fam_FAMOpen" >&5
 
13267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fam_FAMOpen" >&5
14854
13268
$as_echo "$ac_cv_lib_fam_FAMOpen" >&6; }
14855
 
if test "x$ac_cv_lib_fam_FAMOpen" = x""yes; then
 
13269
if test "x$ac_cv_lib_fam_FAMOpen" = x""yes; then :
14856
13270
  have_libfam="yes" FAM_LIBS="-lfam"
14857
13271
fi
14858
13272
 
14864
13278
 
14865
13279
    if test x"$have_libfam" = x"yes"; then
14866
13280
 
14867
 
cat >>confdefs.h <<\_ACEOF
14868
 
#define HAVE_FAM_H 1
14869
 
_ACEOF
14870
 
 
14871
 
 
14872
 
cat >>confdefs.h <<\_ACEOF
14873
 
#define HAVE_LIBFAM 1
14874
 
_ACEOF
 
13281
$as_echo "#define HAVE_FAM_H 1" >>confdefs.h
 
13282
 
 
13283
 
 
13284
$as_echo "#define HAVE_LIBFAM 1" >>confdefs.h
14875
13285
 
14876
13286
 
14877
13287
                save_LIBS="$LIBS"
14878
13288
        LIBS="$LIBS $FAM_LIBS"
14879
 
 
14880
 
for ac_func in FAMNoExists
14881
 
do
14882
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14883
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14884
 
$as_echo_n "checking for $ac_func... " >&6; }
14885
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14886
 
  $as_echo_n "(cached) " >&6
14887
 
else
14888
 
  cat >conftest.$ac_ext <<_ACEOF
14889
 
/* confdefs.h.  */
14890
 
_ACEOF
14891
 
cat confdefs.h >>conftest.$ac_ext
14892
 
cat >>conftest.$ac_ext <<_ACEOF
14893
 
/* end confdefs.h.  */
14894
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14895
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14896
 
#define $ac_func innocuous_$ac_func
14897
 
 
14898
 
/* System header to define __stub macros and hopefully few prototypes,
14899
 
    which can conflict with char $ac_func (); below.
14900
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14901
 
    <limits.h> exists even on freestanding compilers.  */
14902
 
 
14903
 
#ifdef __STDC__
14904
 
# include <limits.h>
14905
 
#else
14906
 
# include <assert.h>
14907
 
#endif
14908
 
 
14909
 
#undef $ac_func
14910
 
 
14911
 
/* Override any GCC internal prototype to avoid an error.
14912
 
   Use char because int might match the return type of a GCC
14913
 
   builtin and then its argument prototype would still apply.  */
14914
 
#ifdef __cplusplus
14915
 
extern "C"
14916
 
#endif
14917
 
char $ac_func ();
14918
 
/* The GNU C library defines this for functions which it implements
14919
 
    to always fail with ENOSYS.  Some functions are actually named
14920
 
    something starting with __ and the normal name is an alias.  */
14921
 
#if defined __stub_$ac_func || defined __stub___$ac_func
14922
 
choke me
14923
 
#endif
14924
 
 
14925
 
int
14926
 
main ()
14927
 
{
14928
 
return $ac_func ();
14929
 
  ;
14930
 
  return 0;
14931
 
}
14932
 
_ACEOF
14933
 
rm -f conftest.$ac_objext conftest$ac_exeext
14934
 
if { (ac_try="$ac_link"
14935
 
case "(($ac_try" in
14936
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14937
 
  *) ac_try_echo=$ac_try;;
14938
 
esac
14939
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14940
 
$as_echo "$ac_try_echo") >&5
14941
 
  (eval "$ac_link") 2>conftest.er1
14942
 
  ac_status=$?
14943
 
  grep -v '^ *+' conftest.er1 >conftest.err
14944
 
  rm -f conftest.er1
14945
 
  cat conftest.err >&5
14946
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947
 
  (exit $ac_status); } && {
14948
 
         test -z "$ac_c_werror_flag" ||
14949
 
         test ! -s conftest.err
14950
 
       } && test -s conftest$ac_exeext && {
14951
 
         test "$cross_compiling" = yes ||
14952
 
         $as_test_x conftest$ac_exeext
14953
 
       }; then
14954
 
  eval "$as_ac_var=yes"
14955
 
else
14956
 
  $as_echo "$as_me: failed program was:" >&5
14957
 
sed 's/^/| /' conftest.$ac_ext >&5
14958
 
 
14959
 
        eval "$as_ac_var=no"
14960
 
fi
14961
 
 
14962
 
rm -rf conftest.dSYM
14963
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14964
 
      conftest$ac_exeext conftest.$ac_ext
14965
 
fi
14966
 
ac_res=`eval 'as_val=${'$as_ac_var'}
14967
 
                 $as_echo "$as_val"'`
14968
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14969
 
$as_echo "$ac_res" >&6; }
14970
 
as_val=`eval 'as_val=${'$as_ac_var'}
14971
 
                 $as_echo "$as_val"'`
14972
 
   if test "x$as_val" = x""yes; then
 
13289
        for ac_func in FAMNoExists
 
13290
do :
 
13291
  ac_fn_c_check_func "$LINENO" "FAMNoExists" "ac_cv_func_FAMNoExists"
 
13292
if test "x$ac_cv_func_FAMNoExists" = x""yes; then :
14973
13293
  cat >>confdefs.h <<_ACEOF
14974
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13294
#define HAVE_FAMNOEXISTS 1
14975
13295
_ACEOF
14976
13296
 
14977
13297
fi
14979
13299
 
14980
13300
        LIBS="$save_LIBS"
14981
13301
    else
14982
 
        { { $as_echo "$as_me:$LINENO: error: Fatal Error: no fam or gamin detected." >&5
14983
 
$as_echo "$as_me: error: Fatal Error: no fam or gamin detected." >&2;}
14984
 
   { (exit 1); exit 1; }; }
 
13302
        as_fn_error "Fatal Error: no fam or gamin detected." "$LINENO" 5
14985
13303
    fi
14986
13304
fi
14987
13305
 
14988
13306
 
14989
13307
 
14990
13308
# Check whether --enable-largefile was given.
14991
 
if test "${enable_largefile+set}" = set; then
 
13309
if test "${enable_largefile+set}" = set; then :
14992
13310
  enableval=$enable_largefile; largefile=$enableval
14993
13311
else
14994
13312
  largefile="yes"
14998
13316
if test x"$largefile" = x"yes"; then
14999
13317
  CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64"
15000
13318
 
15001
 
cat >>confdefs.h <<\_ACEOF
15002
 
#define _LARGEFILE64_SOURCE 1
15003
 
_ACEOF
15004
 
 
15005
 
 
15006
 
cat >>confdefs.h <<\_ACEOF
15007
 
#define _FILE_OFFSET_BITS 64
15008
 
_ACEOF
 
13319
$as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h
 
13320
 
 
13321
 
 
13322
$as_echo "#define _FILE_OFFSET_BITS 64" >>confdefs.h
15009
13323
 
15010
13324
fi
15011
13325
 
15012
13326
# Check whether --enable-superuser-checks was given.
15013
 
if test "${enable_superuser_checks+set}" = set; then
 
13327
if test "${enable_superuser_checks+set}" = set; then :
15014
13328
  enableval=$enable_superuser_checks; superuser_checks=$enableval
15015
13329
else
15016
13330
  superuser_checks="yes"
15018
13332
 
15019
13333
if test x"$superuser_checks" = "xyes"; then
15020
13334
 
15021
 
cat >>confdefs.h <<\_ACEOF
15022
 
#define SUPER_USER_CHECKS 1
15023
 
_ACEOF
 
13335
$as_echo "#define SUPER_USER_CHECKS 1" >>confdefs.h
15024
13336
 
15025
13337
fi
15026
13338
 
15027
13339
 
15028
13340
# Check whether --with-preferable-sudo was given.
15029
 
if test "${with_preferable_sudo+set}" = set; then
 
13341
if test "${with_preferable_sudo+set}" = set; then :
15030
13342
  withval=$with_preferable_sudo;  preferable_sudo="$withval"
15031
13343
fi
15032
13344
 
15035
13347
fi
15036
13348
 
15037
13349
# Check whether --enable-desktop-integration was given.
15038
 
if test "${enable_desktop_integration+set}" = set; then
 
13350
if test "${enable_desktop_integration+set}" = set; then :
15039
13351
  enableval=$enable_desktop_integration; desktop_integration=$enableval
15040
13352
else
15041
13353
  desktop_integration="yes"
15043
13355
 
15044
13356
if test x"$desktop_integration" = "xyes"; then
15045
13357
 
15046
 
cat >>confdefs.h <<\_ACEOF
15047
 
#define DESKTOP_INTEGRATION 1
15048
 
_ACEOF
 
13358
$as_echo "#define DESKTOP_INTEGRATION 1" >>confdefs.h
15049
13359
 
15050
13360
fi
15051
13361
 if test "$desktop_integration" = "yes"; then
15059
13369
 
15060
13370
CPPFLAGS="$CPPFLAGS -fstrict-aliasing -fmessage-length=0"
15061
13371
 
15062
 
{ $as_echo "$as_me:$LINENO: checking for euidaccess" >&5
15063
 
$as_echo_n "checking for euidaccess... " >&6; }
15064
 
if test "${ac_cv_func_euidaccess+set}" = set; then
15065
 
  $as_echo_n "(cached) " >&6
15066
 
else
15067
 
  cat >conftest.$ac_ext <<_ACEOF
15068
 
/* confdefs.h.  */
15069
 
_ACEOF
15070
 
cat confdefs.h >>conftest.$ac_ext
15071
 
cat >>conftest.$ac_ext <<_ACEOF
15072
 
/* end confdefs.h.  */
15073
 
/* Define euidaccess to an innocuous variant, in case <limits.h> declares euidaccess.
15074
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15075
 
#define euidaccess innocuous_euidaccess
15076
 
 
15077
 
/* System header to define __stub macros and hopefully few prototypes,
15078
 
    which can conflict with char euidaccess (); below.
15079
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15080
 
    <limits.h> exists even on freestanding compilers.  */
15081
 
 
15082
 
#ifdef __STDC__
15083
 
# include <limits.h>
15084
 
#else
15085
 
# include <assert.h>
15086
 
#endif
15087
 
 
15088
 
#undef euidaccess
15089
 
 
15090
 
/* Override any GCC internal prototype to avoid an error.
15091
 
   Use char because int might match the return type of a GCC
15092
 
   builtin and then its argument prototype would still apply.  */
15093
 
#ifdef __cplusplus
15094
 
extern "C"
15095
 
#endif
15096
 
char euidaccess ();
15097
 
/* The GNU C library defines this for functions which it implements
15098
 
    to always fail with ENOSYS.  Some functions are actually named
15099
 
    something starting with __ and the normal name is an alias.  */
15100
 
#if defined __stub_euidaccess || defined __stub___euidaccess
15101
 
choke me
15102
 
#endif
15103
 
 
15104
 
int
15105
 
main ()
15106
 
{
15107
 
return euidaccess ();
15108
 
  ;
15109
 
  return 0;
15110
 
}
15111
 
_ACEOF
15112
 
rm -f conftest.$ac_objext conftest$ac_exeext
15113
 
if { (ac_try="$ac_link"
15114
 
case "(($ac_try" in
15115
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116
 
  *) ac_try_echo=$ac_try;;
15117
 
esac
15118
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15119
 
$as_echo "$ac_try_echo") >&5
15120
 
  (eval "$ac_link") 2>conftest.er1
15121
 
  ac_status=$?
15122
 
  grep -v '^ *+' conftest.er1 >conftest.err
15123
 
  rm -f conftest.er1
15124
 
  cat conftest.err >&5
15125
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126
 
  (exit $ac_status); } && {
15127
 
         test -z "$ac_c_werror_flag" ||
15128
 
         test ! -s conftest.err
15129
 
       } && test -s conftest$ac_exeext && {
15130
 
         test "$cross_compiling" = yes ||
15131
 
         $as_test_x conftest$ac_exeext
15132
 
       }; then
15133
 
  ac_cv_func_euidaccess=yes
15134
 
else
15135
 
  $as_echo "$as_me: failed program was:" >&5
15136
 
sed 's/^/| /' conftest.$ac_ext >&5
15137
 
 
15138
 
        ac_cv_func_euidaccess=no
15139
 
fi
15140
 
 
15141
 
rm -rf conftest.dSYM
15142
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15143
 
      conftest$ac_exeext conftest.$ac_ext
15144
 
fi
15145
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_euidaccess" >&5
15146
 
$as_echo "$ac_cv_func_euidaccess" >&6; }
15147
 
if test "x$ac_cv_func_euidaccess" = x""yes; then
15148
 
 
15149
 
cat >>confdefs.h <<\_ACEOF
15150
 
#define HAVE_EUIDACCESS /**/
15151
 
_ACEOF
15152
 
 
15153
 
fi
15154
 
 
15155
 
{ $as_echo "$as_me:$LINENO: checking for eaccess" >&5
15156
 
$as_echo_n "checking for eaccess... " >&6; }
15157
 
if test "${ac_cv_func_eaccess+set}" = set; then
15158
 
  $as_echo_n "(cached) " >&6
15159
 
else
15160
 
  cat >conftest.$ac_ext <<_ACEOF
15161
 
/* confdefs.h.  */
15162
 
_ACEOF
15163
 
cat confdefs.h >>conftest.$ac_ext
15164
 
cat >>conftest.$ac_ext <<_ACEOF
15165
 
/* end confdefs.h.  */
15166
 
/* Define eaccess to an innocuous variant, in case <limits.h> declares eaccess.
15167
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15168
 
#define eaccess innocuous_eaccess
15169
 
 
15170
 
/* System header to define __stub macros and hopefully few prototypes,
15171
 
    which can conflict with char eaccess (); below.
15172
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15173
 
    <limits.h> exists even on freestanding compilers.  */
15174
 
 
15175
 
#ifdef __STDC__
15176
 
# include <limits.h>
15177
 
#else
15178
 
# include <assert.h>
15179
 
#endif
15180
 
 
15181
 
#undef eaccess
15182
 
 
15183
 
/* Override any GCC internal prototype to avoid an error.
15184
 
   Use char because int might match the return type of a GCC
15185
 
   builtin and then its argument prototype would still apply.  */
15186
 
#ifdef __cplusplus
15187
 
extern "C"
15188
 
#endif
15189
 
char eaccess ();
15190
 
/* The GNU C library defines this for functions which it implements
15191
 
    to always fail with ENOSYS.  Some functions are actually named
15192
 
    something starting with __ and the normal name is an alias.  */
15193
 
#if defined __stub_eaccess || defined __stub___eaccess
15194
 
choke me
15195
 
#endif
15196
 
 
15197
 
int
15198
 
main ()
15199
 
{
15200
 
return eaccess ();
15201
 
  ;
15202
 
  return 0;
15203
 
}
15204
 
_ACEOF
15205
 
rm -f conftest.$ac_objext conftest$ac_exeext
15206
 
if { (ac_try="$ac_link"
15207
 
case "(($ac_try" in
15208
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15209
 
  *) ac_try_echo=$ac_try;;
15210
 
esac
15211
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15212
 
$as_echo "$ac_try_echo") >&5
15213
 
  (eval "$ac_link") 2>conftest.er1
15214
 
  ac_status=$?
15215
 
  grep -v '^ *+' conftest.er1 >conftest.err
15216
 
  rm -f conftest.er1
15217
 
  cat conftest.err >&5
15218
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219
 
  (exit $ac_status); } && {
15220
 
         test -z "$ac_c_werror_flag" ||
15221
 
         test ! -s conftest.err
15222
 
       } && test -s conftest$ac_exeext && {
15223
 
         test "$cross_compiling" = yes ||
15224
 
         $as_test_x conftest$ac_exeext
15225
 
       }; then
15226
 
  ac_cv_func_eaccess=yes
15227
 
else
15228
 
  $as_echo "$as_me: failed program was:" >&5
15229
 
sed 's/^/| /' conftest.$ac_ext >&5
15230
 
 
15231
 
        ac_cv_func_eaccess=no
15232
 
fi
15233
 
 
15234
 
rm -rf conftest.dSYM
15235
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15236
 
      conftest$ac_exeext conftest.$ac_ext
15237
 
fi
15238
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_eaccess" >&5
15239
 
$as_echo "$ac_cv_func_eaccess" >&6; }
15240
 
if test "x$ac_cv_func_eaccess" = x""yes; then
15241
 
 
15242
 
cat >>confdefs.h <<\_ACEOF
15243
 
#define HAVE_EACCESS /**/
15244
 
_ACEOF
15245
 
 
15246
 
fi
15247
 
 
15248
 
 
15249
 
{ $as_echo "$as_me:$LINENO: checking for statvfs" >&5
15250
 
$as_echo_n "checking for statvfs... " >&6; }
15251
 
if test "${ac_cv_func_statvfs+set}" = set; then
15252
 
  $as_echo_n "(cached) " >&6
15253
 
else
15254
 
  cat >conftest.$ac_ext <<_ACEOF
15255
 
/* confdefs.h.  */
15256
 
_ACEOF
15257
 
cat confdefs.h >>conftest.$ac_ext
15258
 
cat >>conftest.$ac_ext <<_ACEOF
15259
 
/* end confdefs.h.  */
15260
 
/* Define statvfs to an innocuous variant, in case <limits.h> declares statvfs.
15261
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15262
 
#define statvfs innocuous_statvfs
15263
 
 
15264
 
/* System header to define __stub macros and hopefully few prototypes,
15265
 
    which can conflict with char statvfs (); below.
15266
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15267
 
    <limits.h> exists even on freestanding compilers.  */
15268
 
 
15269
 
#ifdef __STDC__
15270
 
# include <limits.h>
15271
 
#else
15272
 
# include <assert.h>
15273
 
#endif
15274
 
 
15275
 
#undef statvfs
15276
 
 
15277
 
/* Override any GCC internal prototype to avoid an error.
15278
 
   Use char because int might match the return type of a GCC
15279
 
   builtin and then its argument prototype would still apply.  */
15280
 
#ifdef __cplusplus
15281
 
extern "C"
15282
 
#endif
15283
 
char statvfs ();
15284
 
/* The GNU C library defines this for functions which it implements
15285
 
    to always fail with ENOSYS.  Some functions are actually named
15286
 
    something starting with __ and the normal name is an alias.  */
15287
 
#if defined __stub_statvfs || defined __stub___statvfs
15288
 
choke me
15289
 
#endif
15290
 
 
15291
 
int
15292
 
main ()
15293
 
{
15294
 
return statvfs ();
15295
 
  ;
15296
 
  return 0;
15297
 
}
15298
 
_ACEOF
15299
 
rm -f conftest.$ac_objext conftest$ac_exeext
15300
 
if { (ac_try="$ac_link"
15301
 
case "(($ac_try" in
15302
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15303
 
  *) ac_try_echo=$ac_try;;
15304
 
esac
15305
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15306
 
$as_echo "$ac_try_echo") >&5
15307
 
  (eval "$ac_link") 2>conftest.er1
15308
 
  ac_status=$?
15309
 
  grep -v '^ *+' conftest.er1 >conftest.err
15310
 
  rm -f conftest.er1
15311
 
  cat conftest.err >&5
15312
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313
 
  (exit $ac_status); } && {
15314
 
         test -z "$ac_c_werror_flag" ||
15315
 
         test ! -s conftest.err
15316
 
       } && test -s conftest$ac_exeext && {
15317
 
         test "$cross_compiling" = yes ||
15318
 
         $as_test_x conftest$ac_exeext
15319
 
       }; then
15320
 
  ac_cv_func_statvfs=yes
15321
 
else
15322
 
  $as_echo "$as_me: failed program was:" >&5
15323
 
sed 's/^/| /' conftest.$ac_ext >&5
15324
 
 
15325
 
        ac_cv_func_statvfs=no
15326
 
fi
15327
 
 
15328
 
rm -rf conftest.dSYM
15329
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15330
 
      conftest$ac_exeext conftest.$ac_ext
15331
 
fi
15332
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_statvfs" >&5
15333
 
$as_echo "$ac_cv_func_statvfs" >&6; }
15334
 
if test "x$ac_cv_func_statvfs" = x""yes; then
15335
 
 
15336
 
cat >>confdefs.h <<\_ACEOF
15337
 
#define HAVE_STATVFS /**/
15338
 
_ACEOF
 
13372
ac_fn_c_check_func "$LINENO" "euidaccess" "ac_cv_func_euidaccess"
 
13373
if test "x$ac_cv_func_euidaccess" = x""yes; then :
 
13374
 
 
13375
$as_echo "#define HAVE_EUIDACCESS /**/" >>confdefs.h
 
13376
 
 
13377
fi
 
13378
 
 
13379
ac_fn_c_check_func "$LINENO" "eaccess" "ac_cv_func_eaccess"
 
13380
if test "x$ac_cv_func_eaccess" = x""yes; then :
 
13381
 
 
13382
$as_echo "#define HAVE_EACCESS /**/" >>confdefs.h
 
13383
 
 
13384
fi
 
13385
 
 
13386
 
 
13387
ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs"
 
13388
if test "x$ac_cv_func_statvfs" = x""yes; then :
 
13389
 
 
13390
$as_echo "#define HAVE_STATVFS /**/" >>confdefs.h
15339
13391
 
15340
13392
fi
15341
13393
 
15358
13410
 
15359
13411
ALL_LINGUAS="af ar da ca cs de es et eu fa fi fr gl he hr hu id it ja ko lt ml ms nb nl nn pl ps pt pt_BR ru sk sl sv tr uk ur ur_PK vi zh_CN zh_TW"
15360
13412
 
15361
 
 
15362
 
for ac_header in locale.h
15363
 
do
15364
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15365
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15366
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15367
 
$as_echo_n "checking for $ac_header... " >&6; }
15368
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15369
 
  $as_echo_n "(cached) " >&6
15370
 
fi
15371
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
15372
 
                 $as_echo "$as_val"'`
15373
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15374
 
$as_echo "$ac_res" >&6; }
15375
 
else
15376
 
  # Is the header compilable?
15377
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15378
 
$as_echo_n "checking $ac_header usability... " >&6; }
15379
 
cat >conftest.$ac_ext <<_ACEOF
15380
 
/* confdefs.h.  */
15381
 
_ACEOF
15382
 
cat confdefs.h >>conftest.$ac_ext
15383
 
cat >>conftest.$ac_ext <<_ACEOF
15384
 
/* end confdefs.h.  */
15385
 
$ac_includes_default
15386
 
#include <$ac_header>
15387
 
_ACEOF
15388
 
rm -f conftest.$ac_objext
15389
 
if { (ac_try="$ac_compile"
15390
 
case "(($ac_try" in
15391
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392
 
  *) ac_try_echo=$ac_try;;
15393
 
esac
15394
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15395
 
$as_echo "$ac_try_echo") >&5
15396
 
  (eval "$ac_compile") 2>conftest.er1
15397
 
  ac_status=$?
15398
 
  grep -v '^ *+' conftest.er1 >conftest.err
15399
 
  rm -f conftest.er1
15400
 
  cat conftest.err >&5
15401
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402
 
  (exit $ac_status); } && {
15403
 
         test -z "$ac_c_werror_flag" ||
15404
 
         test ! -s conftest.err
15405
 
       } && test -s conftest.$ac_objext; then
15406
 
  ac_header_compiler=yes
15407
 
else
15408
 
  $as_echo "$as_me: failed program was:" >&5
15409
 
sed 's/^/| /' conftest.$ac_ext >&5
15410
 
 
15411
 
        ac_header_compiler=no
15412
 
fi
15413
 
 
15414
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15415
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15416
 
$as_echo "$ac_header_compiler" >&6; }
15417
 
 
15418
 
# Is the header present?
15419
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15420
 
$as_echo_n "checking $ac_header presence... " >&6; }
15421
 
cat >conftest.$ac_ext <<_ACEOF
15422
 
/* confdefs.h.  */
15423
 
_ACEOF
15424
 
cat confdefs.h >>conftest.$ac_ext
15425
 
cat >>conftest.$ac_ext <<_ACEOF
15426
 
/* end confdefs.h.  */
15427
 
#include <$ac_header>
15428
 
_ACEOF
15429
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
15430
 
case "(($ac_try" in
15431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15432
 
  *) ac_try_echo=$ac_try;;
15433
 
esac
15434
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15435
 
$as_echo "$ac_try_echo") >&5
15436
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15437
 
  ac_status=$?
15438
 
  grep -v '^ *+' conftest.er1 >conftest.err
15439
 
  rm -f conftest.er1
15440
 
  cat conftest.err >&5
15441
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442
 
  (exit $ac_status); } >/dev/null && {
15443
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15444
 
         test ! -s conftest.err
15445
 
       }; then
15446
 
  ac_header_preproc=yes
15447
 
else
15448
 
  $as_echo "$as_me: failed program was:" >&5
15449
 
sed 's/^/| /' conftest.$ac_ext >&5
15450
 
 
15451
 
  ac_header_preproc=no
15452
 
fi
15453
 
 
15454
 
rm -f conftest.err conftest.$ac_ext
15455
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15456
 
$as_echo "$ac_header_preproc" >&6; }
15457
 
 
15458
 
# So?  What about this header?
15459
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15460
 
  yes:no: )
15461
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15462
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15463
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15464
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15465
 
    ac_header_preproc=yes
15466
 
    ;;
15467
 
  no:yes:* )
15468
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15469
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15470
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15471
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15472
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15473
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15474
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15475
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15476
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15477
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15478
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15479
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15480
 
 
15481
 
    ;;
15482
 
esac
15483
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15484
 
$as_echo_n "checking for $ac_header... " >&6; }
15485
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15486
 
  $as_echo_n "(cached) " >&6
15487
 
else
15488
 
  eval "$as_ac_Header=\$ac_header_preproc"
15489
 
fi
15490
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
15491
 
                 $as_echo "$as_val"'`
15492
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15493
 
$as_echo "$ac_res" >&6; }
15494
 
 
15495
 
fi
15496
 
as_val=`eval 'as_val=${'$as_ac_Header'}
15497
 
                 $as_echo "$as_val"'`
15498
 
   if test "x$as_val" = x""yes; then
 
13413
   for ac_header in locale.h
 
13414
do :
 
13415
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
13416
if test "x$ac_cv_header_locale_h" = x""yes; then :
15499
13417
  cat >>confdefs.h <<_ACEOF
15500
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
13418
#define HAVE_LOCALE_H 1
15501
13419
_ACEOF
15502
13420
 
15503
13421
fi
15505
13423
done
15506
13424
 
15507
13425
    if test $ac_cv_header_locale_h = yes; then
15508
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
13426
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15509
13427
$as_echo_n "checking for LC_MESSAGES... " >&6; }
15510
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
13428
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
15511
13429
  $as_echo_n "(cached) " >&6
15512
13430
else
15513
 
  cat >conftest.$ac_ext <<_ACEOF
15514
 
/* confdefs.h.  */
15515
 
_ACEOF
15516
 
cat confdefs.h >>conftest.$ac_ext
15517
 
cat >>conftest.$ac_ext <<_ACEOF
 
13431
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518
13432
/* end confdefs.h.  */
15519
13433
#include <locale.h>
15520
13434
int
15525
13439
  return 0;
15526
13440
}
15527
13441
_ACEOF
15528
 
rm -f conftest.$ac_objext conftest$ac_exeext
15529
 
if { (ac_try="$ac_link"
15530
 
case "(($ac_try" in
15531
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15532
 
  *) ac_try_echo=$ac_try;;
15533
 
esac
15534
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15535
 
$as_echo "$ac_try_echo") >&5
15536
 
  (eval "$ac_link") 2>conftest.er1
15537
 
  ac_status=$?
15538
 
  grep -v '^ *+' conftest.er1 >conftest.err
15539
 
  rm -f conftest.er1
15540
 
  cat conftest.err >&5
15541
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542
 
  (exit $ac_status); } && {
15543
 
         test -z "$ac_c_werror_flag" ||
15544
 
         test ! -s conftest.err
15545
 
       } && test -s conftest$ac_exeext && {
15546
 
         test "$cross_compiling" = yes ||
15547
 
         $as_test_x conftest$ac_exeext
15548
 
       }; then
 
13442
if ac_fn_c_try_link "$LINENO"; then :
15549
13443
  am_cv_val_LC_MESSAGES=yes
15550
13444
else
15551
 
  $as_echo "$as_me: failed program was:" >&5
15552
 
sed 's/^/| /' conftest.$ac_ext >&5
15553
 
 
15554
 
        am_cv_val_LC_MESSAGES=no
15555
 
fi
15556
 
 
15557
 
rm -rf conftest.dSYM
15558
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15559
 
      conftest$ac_exeext conftest.$ac_ext
15560
 
fi
15561
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
13445
  am_cv_val_LC_MESSAGES=no
 
13446
fi
 
13447
rm -f core conftest.err conftest.$ac_objext \
 
13448
    conftest$ac_exeext conftest.$ac_ext
 
13449
fi
 
13450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15562
13451
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15563
13452
    if test $am_cv_val_LC_MESSAGES = yes; then
15564
13453
 
15565
 
cat >>confdefs.h <<\_ACEOF
15566
 
#define HAVE_LC_MESSAGES 1
15567
 
_ACEOF
 
13454
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15568
13455
 
15569
13456
    fi
15570
13457
  fi
15577
13464
    XGETTEXT=:
15578
13465
    INTLLIBS=
15579
13466
 
15580
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
15581
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
15582
 
$as_echo_n "checking for libintl.h... " >&6; }
15583
 
if test "${ac_cv_header_libintl_h+set}" = set; then
15584
 
  $as_echo_n "(cached) " >&6
15585
 
fi
15586
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
15587
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
15588
 
else
15589
 
  # Is the header compilable?
15590
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
15591
 
$as_echo_n "checking libintl.h usability... " >&6; }
15592
 
cat >conftest.$ac_ext <<_ACEOF
15593
 
/* confdefs.h.  */
15594
 
_ACEOF
15595
 
cat confdefs.h >>conftest.$ac_ext
15596
 
cat >>conftest.$ac_ext <<_ACEOF
15597
 
/* end confdefs.h.  */
15598
 
$ac_includes_default
15599
 
#include <libintl.h>
15600
 
_ACEOF
15601
 
rm -f conftest.$ac_objext
15602
 
if { (ac_try="$ac_compile"
15603
 
case "(($ac_try" in
15604
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15605
 
  *) ac_try_echo=$ac_try;;
15606
 
esac
15607
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15608
 
$as_echo "$ac_try_echo") >&5
15609
 
  (eval "$ac_compile") 2>conftest.er1
15610
 
  ac_status=$?
15611
 
  grep -v '^ *+' conftest.er1 >conftest.err
15612
 
  rm -f conftest.er1
15613
 
  cat conftest.err >&5
15614
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615
 
  (exit $ac_status); } && {
15616
 
         test -z "$ac_c_werror_flag" ||
15617
 
         test ! -s conftest.err
15618
 
       } && test -s conftest.$ac_objext; then
15619
 
  ac_header_compiler=yes
15620
 
else
15621
 
  $as_echo "$as_me: failed program was:" >&5
15622
 
sed 's/^/| /' conftest.$ac_ext >&5
15623
 
 
15624
 
        ac_header_compiler=no
15625
 
fi
15626
 
 
15627
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15628
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15629
 
$as_echo "$ac_header_compiler" >&6; }
15630
 
 
15631
 
# Is the header present?
15632
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
15633
 
$as_echo_n "checking libintl.h presence... " >&6; }
15634
 
cat >conftest.$ac_ext <<_ACEOF
15635
 
/* confdefs.h.  */
15636
 
_ACEOF
15637
 
cat confdefs.h >>conftest.$ac_ext
15638
 
cat >>conftest.$ac_ext <<_ACEOF
15639
 
/* end confdefs.h.  */
15640
 
#include <libintl.h>
15641
 
_ACEOF
15642
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
15643
 
case "(($ac_try" in
15644
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15645
 
  *) ac_try_echo=$ac_try;;
15646
 
esac
15647
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15648
 
$as_echo "$ac_try_echo") >&5
15649
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15650
 
  ac_status=$?
15651
 
  grep -v '^ *+' conftest.er1 >conftest.err
15652
 
  rm -f conftest.er1
15653
 
  cat conftest.err >&5
15654
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655
 
  (exit $ac_status); } >/dev/null && {
15656
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15657
 
         test ! -s conftest.err
15658
 
       }; then
15659
 
  ac_header_preproc=yes
15660
 
else
15661
 
  $as_echo "$as_me: failed program was:" >&5
15662
 
sed 's/^/| /' conftest.$ac_ext >&5
15663
 
 
15664
 
  ac_header_preproc=no
15665
 
fi
15666
 
 
15667
 
rm -f conftest.err conftest.$ac_ext
15668
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15669
 
$as_echo "$ac_header_preproc" >&6; }
15670
 
 
15671
 
# So?  What about this header?
15672
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15673
 
  yes:no: )
15674
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
15675
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15676
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
15677
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
15678
 
    ac_header_preproc=yes
15679
 
    ;;
15680
 
  no:yes:* )
15681
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
15682
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
15683
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
15684
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
15685
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
15686
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
15687
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
15688
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
15689
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
15690
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
15691
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
15692
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
15693
 
 
15694
 
    ;;
15695
 
esac
15696
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
15697
 
$as_echo_n "checking for libintl.h... " >&6; }
15698
 
if test "${ac_cv_header_libintl_h+set}" = set; then
15699
 
  $as_echo_n "(cached) " >&6
15700
 
else
15701
 
  ac_cv_header_libintl_h=$ac_header_preproc
15702
 
fi
15703
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
15704
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
15705
 
 
15706
 
fi
15707
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
13467
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
13468
if test "x$ac_cv_header_libintl_h" = x""yes; then :
15708
13469
  gt_cv_func_dgettext_libintl="no"
15709
13470
      libintl_extra_libs=""
15710
13471
 
15711
13472
      #
15712
13473
      # First check in libc
15713
13474
      #
15714
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
13475
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15715
13476
$as_echo_n "checking for ngettext in libc... " >&6; }
15716
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
13477
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
15717
13478
  $as_echo_n "(cached) " >&6
15718
13479
else
15719
 
  cat >conftest.$ac_ext <<_ACEOF
15720
 
/* confdefs.h.  */
15721
 
_ACEOF
15722
 
cat confdefs.h >>conftest.$ac_ext
15723
 
cat >>conftest.$ac_ext <<_ACEOF
 
13480
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15724
13481
/* end confdefs.h.  */
15725
13482
 
15726
13483
#include <libintl.h>
15733
13490
  return 0;
15734
13491
}
15735
13492
_ACEOF
15736
 
rm -f conftest.$ac_objext conftest$ac_exeext
15737
 
if { (ac_try="$ac_link"
15738
 
case "(($ac_try" in
15739
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15740
 
  *) ac_try_echo=$ac_try;;
15741
 
esac
15742
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15743
 
$as_echo "$ac_try_echo") >&5
15744
 
  (eval "$ac_link") 2>conftest.er1
15745
 
  ac_status=$?
15746
 
  grep -v '^ *+' conftest.er1 >conftest.err
15747
 
  rm -f conftest.er1
15748
 
  cat conftest.err >&5
15749
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750
 
  (exit $ac_status); } && {
15751
 
         test -z "$ac_c_werror_flag" ||
15752
 
         test ! -s conftest.err
15753
 
       } && test -s conftest$ac_exeext && {
15754
 
         test "$cross_compiling" = yes ||
15755
 
         $as_test_x conftest$ac_exeext
15756
 
       }; then
 
13493
if ac_fn_c_try_link "$LINENO"; then :
15757
13494
  gt_cv_func_ngettext_libc=yes
15758
13495
else
15759
 
  $as_echo "$as_me: failed program was:" >&5
15760
 
sed 's/^/| /' conftest.$ac_ext >&5
15761
 
 
15762
 
        gt_cv_func_ngettext_libc=no
15763
 
fi
15764
 
 
15765
 
rm -rf conftest.dSYM
15766
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15767
 
      conftest$ac_exeext conftest.$ac_ext
15768
 
 
15769
 
fi
15770
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
13496
  gt_cv_func_ngettext_libc=no
 
13497
fi
 
13498
rm -f core conftest.err conftest.$ac_objext \
 
13499
    conftest$ac_exeext conftest.$ac_ext
 
13500
 
 
13501
fi
 
13502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15771
13503
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
15772
13504
 
15773
13505
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15774
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
13506
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15775
13507
$as_echo_n "checking for dgettext in libc... " >&6; }
15776
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
13508
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
15777
13509
  $as_echo_n "(cached) " >&6
15778
13510
else
15779
 
  cat >conftest.$ac_ext <<_ACEOF
15780
 
/* confdefs.h.  */
15781
 
_ACEOF
15782
 
cat confdefs.h >>conftest.$ac_ext
15783
 
cat >>conftest.$ac_ext <<_ACEOF
 
13511
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15784
13512
/* end confdefs.h.  */
15785
13513
 
15786
13514
#include <libintl.h>
15793
13521
  return 0;
15794
13522
}
15795
13523
_ACEOF
15796
 
rm -f conftest.$ac_objext conftest$ac_exeext
15797
 
if { (ac_try="$ac_link"
15798
 
case "(($ac_try" in
15799
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15800
 
  *) ac_try_echo=$ac_try;;
15801
 
esac
15802
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15803
 
$as_echo "$ac_try_echo") >&5
15804
 
  (eval "$ac_link") 2>conftest.er1
15805
 
  ac_status=$?
15806
 
  grep -v '^ *+' conftest.er1 >conftest.err
15807
 
  rm -f conftest.er1
15808
 
  cat conftest.err >&5
15809
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810
 
  (exit $ac_status); } && {
15811
 
         test -z "$ac_c_werror_flag" ||
15812
 
         test ! -s conftest.err
15813
 
       } && test -s conftest$ac_exeext && {
15814
 
         test "$cross_compiling" = yes ||
15815
 
         $as_test_x conftest$ac_exeext
15816
 
       }; then
 
13524
if ac_fn_c_try_link "$LINENO"; then :
15817
13525
  gt_cv_func_dgettext_libc=yes
15818
13526
else
15819
 
  $as_echo "$as_me: failed program was:" >&5
15820
 
sed 's/^/| /' conftest.$ac_ext >&5
15821
 
 
15822
 
        gt_cv_func_dgettext_libc=no
15823
 
fi
15824
 
 
15825
 
rm -rf conftest.dSYM
15826
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15827
 
      conftest$ac_exeext conftest.$ac_ext
15828
 
 
15829
 
fi
15830
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
13527
  gt_cv_func_dgettext_libc=no
 
13528
fi
 
13529
rm -f core conftest.err conftest.$ac_objext \
 
13530
    conftest$ac_exeext conftest.$ac_ext
 
13531
 
 
13532
fi
 
13533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15831
13534
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
15832
13535
      fi
15833
13536
 
15834
13537
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15835
 
 
15836
 
for ac_func in bind_textdomain_codeset
15837
 
do
15838
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15839
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15840
 
$as_echo_n "checking for $ac_func... " >&6; }
15841
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15842
 
  $as_echo_n "(cached) " >&6
15843
 
else
15844
 
  cat >conftest.$ac_ext <<_ACEOF
15845
 
/* confdefs.h.  */
15846
 
_ACEOF
15847
 
cat confdefs.h >>conftest.$ac_ext
15848
 
cat >>conftest.$ac_ext <<_ACEOF
15849
 
/* end confdefs.h.  */
15850
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15851
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15852
 
#define $ac_func innocuous_$ac_func
15853
 
 
15854
 
/* System header to define __stub macros and hopefully few prototypes,
15855
 
    which can conflict with char $ac_func (); below.
15856
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15857
 
    <limits.h> exists even on freestanding compilers.  */
15858
 
 
15859
 
#ifdef __STDC__
15860
 
# include <limits.h>
15861
 
#else
15862
 
# include <assert.h>
15863
 
#endif
15864
 
 
15865
 
#undef $ac_func
15866
 
 
15867
 
/* Override any GCC internal prototype to avoid an error.
15868
 
   Use char because int might match the return type of a GCC
15869
 
   builtin and then its argument prototype would still apply.  */
15870
 
#ifdef __cplusplus
15871
 
extern "C"
15872
 
#endif
15873
 
char $ac_func ();
15874
 
/* The GNU C library defines this for functions which it implements
15875
 
    to always fail with ENOSYS.  Some functions are actually named
15876
 
    something starting with __ and the normal name is an alias.  */
15877
 
#if defined __stub_$ac_func || defined __stub___$ac_func
15878
 
choke me
15879
 
#endif
15880
 
 
15881
 
int
15882
 
main ()
15883
 
{
15884
 
return $ac_func ();
15885
 
  ;
15886
 
  return 0;
15887
 
}
15888
 
_ACEOF
15889
 
rm -f conftest.$ac_objext conftest$ac_exeext
15890
 
if { (ac_try="$ac_link"
15891
 
case "(($ac_try" in
15892
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15893
 
  *) ac_try_echo=$ac_try;;
15894
 
esac
15895
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15896
 
$as_echo "$ac_try_echo") >&5
15897
 
  (eval "$ac_link") 2>conftest.er1
15898
 
  ac_status=$?
15899
 
  grep -v '^ *+' conftest.er1 >conftest.err
15900
 
  rm -f conftest.er1
15901
 
  cat conftest.err >&5
15902
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903
 
  (exit $ac_status); } && {
15904
 
         test -z "$ac_c_werror_flag" ||
15905
 
         test ! -s conftest.err
15906
 
       } && test -s conftest$ac_exeext && {
15907
 
         test "$cross_compiling" = yes ||
15908
 
         $as_test_x conftest$ac_exeext
15909
 
       }; then
15910
 
  eval "$as_ac_var=yes"
15911
 
else
15912
 
  $as_echo "$as_me: failed program was:" >&5
15913
 
sed 's/^/| /' conftest.$ac_ext >&5
15914
 
 
15915
 
        eval "$as_ac_var=no"
15916
 
fi
15917
 
 
15918
 
rm -rf conftest.dSYM
15919
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15920
 
      conftest$ac_exeext conftest.$ac_ext
15921
 
fi
15922
 
ac_res=`eval 'as_val=${'$as_ac_var'}
15923
 
                 $as_echo "$as_val"'`
15924
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15925
 
$as_echo "$ac_res" >&6; }
15926
 
as_val=`eval 'as_val=${'$as_ac_var'}
15927
 
                 $as_echo "$as_val"'`
15928
 
   if test "x$as_val" = x""yes; then
 
13538
        for ac_func in bind_textdomain_codeset
 
13539
do :
 
13540
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13541
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
15929
13542
  cat >>confdefs.h <<_ACEOF
15930
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13543
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15931
13544
_ACEOF
15932
13545
 
15933
13546
fi
15942
13555
         || test "$gt_cv_func_ngettext_libc" != "yes" \
15943
13556
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15944
13557
 
15945
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
13558
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15946
13559
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15947
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
13560
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
15948
13561
  $as_echo_n "(cached) " >&6
15949
13562
else
15950
13563
  ac_check_lib_save_LIBS=$LIBS
15951
13564
LIBS="-lintl  $LIBS"
15952
 
cat >conftest.$ac_ext <<_ACEOF
15953
 
/* confdefs.h.  */
15954
 
_ACEOF
15955
 
cat confdefs.h >>conftest.$ac_ext
15956
 
cat >>conftest.$ac_ext <<_ACEOF
 
13565
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15957
13566
/* end confdefs.h.  */
15958
13567
 
15959
13568
/* Override any GCC internal prototype to avoid an error.
15971
13580
  return 0;
15972
13581
}
15973
13582
_ACEOF
15974
 
rm -f conftest.$ac_objext conftest$ac_exeext
15975
 
if { (ac_try="$ac_link"
15976
 
case "(($ac_try" in
15977
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15978
 
  *) ac_try_echo=$ac_try;;
15979
 
esac
15980
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15981
 
$as_echo "$ac_try_echo") >&5
15982
 
  (eval "$ac_link") 2>conftest.er1
15983
 
  ac_status=$?
15984
 
  grep -v '^ *+' conftest.er1 >conftest.err
15985
 
  rm -f conftest.er1
15986
 
  cat conftest.err >&5
15987
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988
 
  (exit $ac_status); } && {
15989
 
         test -z "$ac_c_werror_flag" ||
15990
 
         test ! -s conftest.err
15991
 
       } && test -s conftest$ac_exeext && {
15992
 
         test "$cross_compiling" = yes ||
15993
 
         $as_test_x conftest$ac_exeext
15994
 
       }; then
 
13583
if ac_fn_c_try_link "$LINENO"; then :
15995
13584
  ac_cv_lib_intl_bindtextdomain=yes
15996
13585
else
15997
 
  $as_echo "$as_me: failed program was:" >&5
15998
 
sed 's/^/| /' conftest.$ac_ext >&5
15999
 
 
16000
 
        ac_cv_lib_intl_bindtextdomain=no
 
13586
  ac_cv_lib_intl_bindtextdomain=no
16001
13587
fi
16002
 
 
16003
 
rm -rf conftest.dSYM
16004
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16005
 
      conftest$ac_exeext conftest.$ac_ext
 
13588
rm -f core conftest.err conftest.$ac_objext \
 
13589
    conftest$ac_exeext conftest.$ac_ext
16006
13590
LIBS=$ac_check_lib_save_LIBS
16007
13591
fi
16008
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
13592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
16009
13593
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
16010
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
16011
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
13594
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
13595
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
16012
13596
$as_echo_n "checking for ngettext in -lintl... " >&6; }
16013
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
13597
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
16014
13598
  $as_echo_n "(cached) " >&6
16015
13599
else
16016
13600
  ac_check_lib_save_LIBS=$LIBS
16017
13601
LIBS="-lintl  $LIBS"
16018
 
cat >conftest.$ac_ext <<_ACEOF
16019
 
/* confdefs.h.  */
16020
 
_ACEOF
16021
 
cat confdefs.h >>conftest.$ac_ext
16022
 
cat >>conftest.$ac_ext <<_ACEOF
 
13602
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16023
13603
/* end confdefs.h.  */
16024
13604
 
16025
13605
/* Override any GCC internal prototype to avoid an error.
16037
13617
  return 0;
16038
13618
}
16039
13619
_ACEOF
16040
 
rm -f conftest.$ac_objext conftest$ac_exeext
16041
 
if { (ac_try="$ac_link"
16042
 
case "(($ac_try" in
16043
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16044
 
  *) ac_try_echo=$ac_try;;
16045
 
esac
16046
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16047
 
$as_echo "$ac_try_echo") >&5
16048
 
  (eval "$ac_link") 2>conftest.er1
16049
 
  ac_status=$?
16050
 
  grep -v '^ *+' conftest.er1 >conftest.err
16051
 
  rm -f conftest.er1
16052
 
  cat conftest.err >&5
16053
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054
 
  (exit $ac_status); } && {
16055
 
         test -z "$ac_c_werror_flag" ||
16056
 
         test ! -s conftest.err
16057
 
       } && test -s conftest$ac_exeext && {
16058
 
         test "$cross_compiling" = yes ||
16059
 
         $as_test_x conftest$ac_exeext
16060
 
       }; then
 
13620
if ac_fn_c_try_link "$LINENO"; then :
16061
13621
  ac_cv_lib_intl_ngettext=yes
16062
13622
else
16063
 
  $as_echo "$as_me: failed program was:" >&5
16064
 
sed 's/^/| /' conftest.$ac_ext >&5
16065
 
 
16066
 
        ac_cv_lib_intl_ngettext=no
 
13623
  ac_cv_lib_intl_ngettext=no
16067
13624
fi
16068
 
 
16069
 
rm -rf conftest.dSYM
16070
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16071
 
      conftest$ac_exeext conftest.$ac_ext
 
13625
rm -f core conftest.err conftest.$ac_objext \
 
13626
    conftest$ac_exeext conftest.$ac_ext
16072
13627
LIBS=$ac_check_lib_save_LIBS
16073
13628
fi
16074
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
13629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
16075
13630
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
16076
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
16077
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
13631
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
13632
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
16078
13633
$as_echo_n "checking for dgettext in -lintl... " >&6; }
16079
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
13634
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
16080
13635
  $as_echo_n "(cached) " >&6
16081
13636
else
16082
13637
  ac_check_lib_save_LIBS=$LIBS
16083
13638
LIBS="-lintl  $LIBS"
16084
 
cat >conftest.$ac_ext <<_ACEOF
16085
 
/* confdefs.h.  */
16086
 
_ACEOF
16087
 
cat confdefs.h >>conftest.$ac_ext
16088
 
cat >>conftest.$ac_ext <<_ACEOF
 
13639
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16089
13640
/* end confdefs.h.  */
16090
13641
 
16091
13642
/* Override any GCC internal prototype to avoid an error.
16103
13654
  return 0;
16104
13655
}
16105
13656
_ACEOF
16106
 
rm -f conftest.$ac_objext conftest$ac_exeext
16107
 
if { (ac_try="$ac_link"
16108
 
case "(($ac_try" in
16109
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16110
 
  *) ac_try_echo=$ac_try;;
16111
 
esac
16112
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16113
 
$as_echo "$ac_try_echo") >&5
16114
 
  (eval "$ac_link") 2>conftest.er1
16115
 
  ac_status=$?
16116
 
  grep -v '^ *+' conftest.er1 >conftest.err
16117
 
  rm -f conftest.er1
16118
 
  cat conftest.err >&5
16119
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120
 
  (exit $ac_status); } && {
16121
 
         test -z "$ac_c_werror_flag" ||
16122
 
         test ! -s conftest.err
16123
 
       } && test -s conftest$ac_exeext && {
16124
 
         test "$cross_compiling" = yes ||
16125
 
         $as_test_x conftest$ac_exeext
16126
 
       }; then
 
13657
if ac_fn_c_try_link "$LINENO"; then :
16127
13658
  ac_cv_lib_intl_dgettext=yes
16128
13659
else
16129
 
  $as_echo "$as_me: failed program was:" >&5
16130
 
sed 's/^/| /' conftest.$ac_ext >&5
16131
 
 
16132
 
        ac_cv_lib_intl_dgettext=no
 
13660
  ac_cv_lib_intl_dgettext=no
16133
13661
fi
16134
 
 
16135
 
rm -rf conftest.dSYM
16136
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16137
 
      conftest$ac_exeext conftest.$ac_ext
 
13662
rm -f core conftest.err conftest.$ac_objext \
 
13663
    conftest$ac_exeext conftest.$ac_ext
16138
13664
LIBS=$ac_check_lib_save_LIBS
16139
13665
fi
16140
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
13666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
16141
13667
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
16142
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
13668
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
16143
13669
  gt_cv_func_dgettext_libintl=yes
16144
13670
fi
16145
13671
 
16149
13675
 
16150
13676
 
16151
13677
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
16152
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
13678
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
16153
13679
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
16154
 
          { $as_echo "$as_me:$LINENO: result: " >&5
 
13680
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
16155
13681
$as_echo "" >&6; }
16156
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
13682
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
16157
13683
$as_echo_n "checking for ngettext in -lintl... " >&6; }
16158
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
13684
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
16159
13685
  $as_echo_n "(cached) " >&6
16160
13686
else
16161
13687
  ac_check_lib_save_LIBS=$LIBS
16162
13688
LIBS="-lintl -liconv $LIBS"
16163
 
cat >conftest.$ac_ext <<_ACEOF
16164
 
/* confdefs.h.  */
16165
 
_ACEOF
16166
 
cat confdefs.h >>conftest.$ac_ext
16167
 
cat >>conftest.$ac_ext <<_ACEOF
 
13689
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16168
13690
/* end confdefs.h.  */
16169
13691
 
16170
13692
/* Override any GCC internal prototype to avoid an error.
16182
13704
  return 0;
16183
13705
}
16184
13706
_ACEOF
16185
 
rm -f conftest.$ac_objext conftest$ac_exeext
16186
 
if { (ac_try="$ac_link"
16187
 
case "(($ac_try" in
16188
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16189
 
  *) ac_try_echo=$ac_try;;
16190
 
esac
16191
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16192
 
$as_echo "$ac_try_echo") >&5
16193
 
  (eval "$ac_link") 2>conftest.er1
16194
 
  ac_status=$?
16195
 
  grep -v '^ *+' conftest.er1 >conftest.err
16196
 
  rm -f conftest.er1
16197
 
  cat conftest.err >&5
16198
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199
 
  (exit $ac_status); } && {
16200
 
         test -z "$ac_c_werror_flag" ||
16201
 
         test ! -s conftest.err
16202
 
       } && test -s conftest$ac_exeext && {
16203
 
         test "$cross_compiling" = yes ||
16204
 
         $as_test_x conftest$ac_exeext
16205
 
       }; then
 
13707
if ac_fn_c_try_link "$LINENO"; then :
16206
13708
  ac_cv_lib_intl_ngettext=yes
16207
13709
else
16208
 
  $as_echo "$as_me: failed program was:" >&5
16209
 
sed 's/^/| /' conftest.$ac_ext >&5
16210
 
 
16211
 
        ac_cv_lib_intl_ngettext=no
 
13710
  ac_cv_lib_intl_ngettext=no
16212
13711
fi
16213
 
 
16214
 
rm -rf conftest.dSYM
16215
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16216
 
      conftest$ac_exeext conftest.$ac_ext
 
13712
rm -f core conftest.err conftest.$ac_objext \
 
13713
    conftest$ac_exeext conftest.$ac_ext
16217
13714
LIBS=$ac_check_lib_save_LIBS
16218
13715
fi
16219
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
13716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
16220
13717
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
16221
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
16222
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
13718
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
13719
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
16223
13720
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
16224
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
13721
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
16225
13722
  $as_echo_n "(cached) " >&6
16226
13723
else
16227
13724
  ac_check_lib_save_LIBS=$LIBS
16228
13725
LIBS="-lintl -liconv $LIBS"
16229
 
cat >conftest.$ac_ext <<_ACEOF
16230
 
/* confdefs.h.  */
16231
 
_ACEOF
16232
 
cat confdefs.h >>conftest.$ac_ext
16233
 
cat >>conftest.$ac_ext <<_ACEOF
 
13726
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16234
13727
/* end confdefs.h.  */
16235
13728
 
16236
13729
/* Override any GCC internal prototype to avoid an error.
16248
13741
  return 0;
16249
13742
}
16250
13743
_ACEOF
16251
 
rm -f conftest.$ac_objext conftest$ac_exeext
16252
 
if { (ac_try="$ac_link"
16253
 
case "(($ac_try" in
16254
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16255
 
  *) ac_try_echo=$ac_try;;
16256
 
esac
16257
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16258
 
$as_echo "$ac_try_echo") >&5
16259
 
  (eval "$ac_link") 2>conftest.er1
16260
 
  ac_status=$?
16261
 
  grep -v '^ *+' conftest.er1 >conftest.err
16262
 
  rm -f conftest.er1
16263
 
  cat conftest.err >&5
16264
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265
 
  (exit $ac_status); } && {
16266
 
         test -z "$ac_c_werror_flag" ||
16267
 
         test ! -s conftest.err
16268
 
       } && test -s conftest$ac_exeext && {
16269
 
         test "$cross_compiling" = yes ||
16270
 
         $as_test_x conftest$ac_exeext
16271
 
       }; then
 
13744
if ac_fn_c_try_link "$LINENO"; then :
16272
13745
  ac_cv_lib_intl_dcgettext=yes
16273
13746
else
16274
 
  $as_echo "$as_me: failed program was:" >&5
16275
 
sed 's/^/| /' conftest.$ac_ext >&5
16276
 
 
16277
 
        ac_cv_lib_intl_dcgettext=no
 
13747
  ac_cv_lib_intl_dcgettext=no
16278
13748
fi
16279
 
 
16280
 
rm -rf conftest.dSYM
16281
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16282
 
      conftest$ac_exeext conftest.$ac_ext
 
13749
rm -f core conftest.err conftest.$ac_objext \
 
13750
    conftest$ac_exeext conftest.$ac_ext
16283
13751
LIBS=$ac_check_lib_save_LIBS
16284
13752
fi
16285
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
13753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
16286
13754
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
16287
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
13755
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
16288
13756
  gt_cv_func_dgettext_libintl=yes
16289
13757
                        libintl_extra_libs=-liconv
16290
13758
else
16306
13774
          glib_save_LIBS="$LIBS"
16307
13775
          LIBS="$LIBS -lintl $libintl_extra_libs"
16308
13776
          unset ac_cv_func_bind_textdomain_codeset
16309
 
 
16310
 
for ac_func in bind_textdomain_codeset
16311
 
do
16312
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16313
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16314
 
$as_echo_n "checking for $ac_func... " >&6; }
16315
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16316
 
  $as_echo_n "(cached) " >&6
16317
 
else
16318
 
  cat >conftest.$ac_ext <<_ACEOF
16319
 
/* confdefs.h.  */
16320
 
_ACEOF
16321
 
cat confdefs.h >>conftest.$ac_ext
16322
 
cat >>conftest.$ac_ext <<_ACEOF
16323
 
/* end confdefs.h.  */
16324
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16325
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16326
 
#define $ac_func innocuous_$ac_func
16327
 
 
16328
 
/* System header to define __stub macros and hopefully few prototypes,
16329
 
    which can conflict with char $ac_func (); below.
16330
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16331
 
    <limits.h> exists even on freestanding compilers.  */
16332
 
 
16333
 
#ifdef __STDC__
16334
 
# include <limits.h>
16335
 
#else
16336
 
# include <assert.h>
16337
 
#endif
16338
 
 
16339
 
#undef $ac_func
16340
 
 
16341
 
/* Override any GCC internal prototype to avoid an error.
16342
 
   Use char because int might match the return type of a GCC
16343
 
   builtin and then its argument prototype would still apply.  */
16344
 
#ifdef __cplusplus
16345
 
extern "C"
16346
 
#endif
16347
 
char $ac_func ();
16348
 
/* The GNU C library defines this for functions which it implements
16349
 
    to always fail with ENOSYS.  Some functions are actually named
16350
 
    something starting with __ and the normal name is an alias.  */
16351
 
#if defined __stub_$ac_func || defined __stub___$ac_func
16352
 
choke me
16353
 
#endif
16354
 
 
16355
 
int
16356
 
main ()
16357
 
{
16358
 
return $ac_func ();
16359
 
  ;
16360
 
  return 0;
16361
 
}
16362
 
_ACEOF
16363
 
rm -f conftest.$ac_objext conftest$ac_exeext
16364
 
if { (ac_try="$ac_link"
16365
 
case "(($ac_try" in
16366
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16367
 
  *) ac_try_echo=$ac_try;;
16368
 
esac
16369
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16370
 
$as_echo "$ac_try_echo") >&5
16371
 
  (eval "$ac_link") 2>conftest.er1
16372
 
  ac_status=$?
16373
 
  grep -v '^ *+' conftest.er1 >conftest.err
16374
 
  rm -f conftest.er1
16375
 
  cat conftest.err >&5
16376
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377
 
  (exit $ac_status); } && {
16378
 
         test -z "$ac_c_werror_flag" ||
16379
 
         test ! -s conftest.err
16380
 
       } && test -s conftest$ac_exeext && {
16381
 
         test "$cross_compiling" = yes ||
16382
 
         $as_test_x conftest$ac_exeext
16383
 
       }; then
16384
 
  eval "$as_ac_var=yes"
16385
 
else
16386
 
  $as_echo "$as_me: failed program was:" >&5
16387
 
sed 's/^/| /' conftest.$ac_ext >&5
16388
 
 
16389
 
        eval "$as_ac_var=no"
16390
 
fi
16391
 
 
16392
 
rm -rf conftest.dSYM
16393
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16394
 
      conftest$ac_exeext conftest.$ac_ext
16395
 
fi
16396
 
ac_res=`eval 'as_val=${'$as_ac_var'}
16397
 
                 $as_echo "$as_val"'`
16398
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16399
 
$as_echo "$ac_res" >&6; }
16400
 
as_val=`eval 'as_val=${'$as_ac_var'}
16401
 
                 $as_echo "$as_val"'`
16402
 
   if test "x$as_val" = x""yes; then
 
13777
          for ac_func in bind_textdomain_codeset
 
13778
do :
 
13779
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13780
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
16403
13781
  cat >>confdefs.h <<_ACEOF
16404
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13782
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
16405
13783
_ACEOF
16406
13784
 
16407
13785
fi
16431
13809
 
16432
13810
      if test "$gt_cv_have_gettext" = "yes"; then
16433
13811
 
16434
 
cat >>confdefs.h <<\_ACEOF
16435
 
#define HAVE_GETTEXT 1
16436
 
_ACEOF
 
13812
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16437
13813
 
16438
13814
        # Extract the first word of "msgfmt", so it can be a program name with args.
16439
13815
set dummy msgfmt; ac_word=$2
16440
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16441
13817
$as_echo_n "checking for $ac_word... " >&6; }
16442
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
13818
if test "${ac_cv_path_MSGFMT+set}" = set; then :
16443
13819
  $as_echo_n "(cached) " >&6
16444
13820
else
16445
13821
  case "$MSGFMT" in
16464
13840
fi
16465
13841
MSGFMT="$ac_cv_path_MSGFMT"
16466
13842
if test "$MSGFMT" != "no"; then
16467
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
13843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16468
13844
$as_echo "$MSGFMT" >&6; }
16469
13845
else
16470
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16471
13847
$as_echo "no" >&6; }
16472
13848
fi
16473
13849
        if test "$MSGFMT" != "no"; then
16474
13850
          glib_save_LIBS="$LIBS"
16475
13851
          LIBS="$LIBS $INTLLIBS"
16476
 
 
16477
 
for ac_func in dcgettext
16478
 
do
16479
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16480
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16481
 
$as_echo_n "checking for $ac_func... " >&6; }
16482
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16483
 
  $as_echo_n "(cached) " >&6
16484
 
else
16485
 
  cat >conftest.$ac_ext <<_ACEOF
16486
 
/* confdefs.h.  */
16487
 
_ACEOF
16488
 
cat confdefs.h >>conftest.$ac_ext
16489
 
cat >>conftest.$ac_ext <<_ACEOF
16490
 
/* end confdefs.h.  */
16491
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16492
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16493
 
#define $ac_func innocuous_$ac_func
16494
 
 
16495
 
/* System header to define __stub macros and hopefully few prototypes,
16496
 
    which can conflict with char $ac_func (); below.
16497
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16498
 
    <limits.h> exists even on freestanding compilers.  */
16499
 
 
16500
 
#ifdef __STDC__
16501
 
# include <limits.h>
16502
 
#else
16503
 
# include <assert.h>
16504
 
#endif
16505
 
 
16506
 
#undef $ac_func
16507
 
 
16508
 
/* Override any GCC internal prototype to avoid an error.
16509
 
   Use char because int might match the return type of a GCC
16510
 
   builtin and then its argument prototype would still apply.  */
16511
 
#ifdef __cplusplus
16512
 
extern "C"
16513
 
#endif
16514
 
char $ac_func ();
16515
 
/* The GNU C library defines this for functions which it implements
16516
 
    to always fail with ENOSYS.  Some functions are actually named
16517
 
    something starting with __ and the normal name is an alias.  */
16518
 
#if defined __stub_$ac_func || defined __stub___$ac_func
16519
 
choke me
16520
 
#endif
16521
 
 
16522
 
int
16523
 
main ()
16524
 
{
16525
 
return $ac_func ();
16526
 
  ;
16527
 
  return 0;
16528
 
}
16529
 
_ACEOF
16530
 
rm -f conftest.$ac_objext conftest$ac_exeext
16531
 
if { (ac_try="$ac_link"
16532
 
case "(($ac_try" in
16533
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16534
 
  *) ac_try_echo=$ac_try;;
16535
 
esac
16536
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16537
 
$as_echo "$ac_try_echo") >&5
16538
 
  (eval "$ac_link") 2>conftest.er1
16539
 
  ac_status=$?
16540
 
  grep -v '^ *+' conftest.er1 >conftest.err
16541
 
  rm -f conftest.er1
16542
 
  cat conftest.err >&5
16543
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544
 
  (exit $ac_status); } && {
16545
 
         test -z "$ac_c_werror_flag" ||
16546
 
         test ! -s conftest.err
16547
 
       } && test -s conftest$ac_exeext && {
16548
 
         test "$cross_compiling" = yes ||
16549
 
         $as_test_x conftest$ac_exeext
16550
 
       }; then
16551
 
  eval "$as_ac_var=yes"
16552
 
else
16553
 
  $as_echo "$as_me: failed program was:" >&5
16554
 
sed 's/^/| /' conftest.$ac_ext >&5
16555
 
 
16556
 
        eval "$as_ac_var=no"
16557
 
fi
16558
 
 
16559
 
rm -rf conftest.dSYM
16560
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16561
 
      conftest$ac_exeext conftest.$ac_ext
16562
 
fi
16563
 
ac_res=`eval 'as_val=${'$as_ac_var'}
16564
 
                 $as_echo "$as_val"'`
16565
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16566
 
$as_echo "$ac_res" >&6; }
16567
 
as_val=`eval 'as_val=${'$as_ac_var'}
16568
 
                 $as_echo "$as_val"'`
16569
 
   if test "x$as_val" = x""yes; then
 
13852
          for ac_func in dcgettext
 
13853
do :
 
13854
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
13855
if test "x$ac_cv_func_dcgettext" = x""yes; then :
16570
13856
  cat >>confdefs.h <<_ACEOF
16571
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13857
#define HAVE_DCGETTEXT 1
16572
13858
_ACEOF
16573
13859
 
16574
13860
fi
16575
13861
done
16576
13862
 
16577
13863
          MSGFMT_OPTS=
16578
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
13864
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
16579
13865
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
16580
13866
          cat >conftest.foo <<_ACEOF
16581
13867
 
16590
13876
"Content-Transfer-Encoding: 8bit\n"
16591
13877
 
16592
13878
_ACEOF
16593
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
13879
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
16594
13880
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
16595
13881
  ac_status=$?
16596
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597
 
  (exit $ac_status); }; then
16598
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13882
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13883
  test $ac_status = 0; }; then
 
13884
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16599
13885
$as_echo "yes" >&6; }
16600
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
13886
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16601
13887
$as_echo "no" >&6; }
16602
13888
echo "$as_me: failed input was:" >&5
16603
13889
sed 's/^/| /' conftest.foo >&5
16605
13891
 
16606
13892
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
16607
13893
set dummy gmsgfmt; ac_word=$2
16608
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16609
13895
$as_echo_n "checking for $ac_word... " >&6; }
16610
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
13896
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
16611
13897
  $as_echo_n "(cached) " >&6
16612
13898
else
16613
13899
  case $GMSGFMT in
16620
13906
do
16621
13907
  IFS=$as_save_IFS
16622
13908
  test -z "$as_dir" && as_dir=.
16623
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13909
    for ac_exec_ext in '' $ac_executable_extensions; do
16624
13910
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16625
13911
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16626
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13912
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16627
13913
    break 2
16628
13914
  fi
16629
13915
done
16630
 
done
 
13916
  done
16631
13917
IFS=$as_save_IFS
16632
13918
 
16633
13919
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16636
13922
fi
16637
13923
GMSGFMT=$ac_cv_path_GMSGFMT
16638
13924
if test -n "$GMSGFMT"; then
16639
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
13925
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16640
13926
$as_echo "$GMSGFMT" >&6; }
16641
13927
else
16642
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13928
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16643
13929
$as_echo "no" >&6; }
16644
13930
fi
16645
13931
 
16646
13932
 
16647
13933
          # Extract the first word of "xgettext", so it can be a program name with args.
16648
13934
set dummy xgettext; ac_word=$2
16649
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16650
13936
$as_echo_n "checking for $ac_word... " >&6; }
16651
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
13937
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
16652
13938
  $as_echo_n "(cached) " >&6
16653
13939
else
16654
13940
  case "$XGETTEXT" in
16673
13959
fi
16674
13960
XGETTEXT="$ac_cv_path_XGETTEXT"
16675
13961
if test "$XGETTEXT" != ":"; then
16676
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
13962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16677
13963
$as_echo "$XGETTEXT" >&6; }
16678
13964
else
16679
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13965
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16680
13966
$as_echo "no" >&6; }
16681
13967
fi
16682
13968
 
16683
 
          cat >conftest.$ac_ext <<_ACEOF
16684
 
/* confdefs.h.  */
16685
 
_ACEOF
16686
 
cat confdefs.h >>conftest.$ac_ext
16687
 
cat >>conftest.$ac_ext <<_ACEOF
 
13969
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16688
13970
/* end confdefs.h.  */
16689
13971
 
16690
13972
int
16696
13978
  return 0;
16697
13979
}
16698
13980
_ACEOF
16699
 
rm -f conftest.$ac_objext conftest$ac_exeext
16700
 
if { (ac_try="$ac_link"
16701
 
case "(($ac_try" in
16702
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16703
 
  *) ac_try_echo=$ac_try;;
16704
 
esac
16705
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16706
 
$as_echo "$ac_try_echo") >&5
16707
 
  (eval "$ac_link") 2>conftest.er1
16708
 
  ac_status=$?
16709
 
  grep -v '^ *+' conftest.er1 >conftest.err
16710
 
  rm -f conftest.er1
16711
 
  cat conftest.err >&5
16712
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713
 
  (exit $ac_status); } && {
16714
 
         test -z "$ac_c_werror_flag" ||
16715
 
         test ! -s conftest.err
16716
 
       } && test -s conftest$ac_exeext && {
16717
 
         test "$cross_compiling" = yes ||
16718
 
         $as_test_x conftest$ac_exeext
16719
 
       }; then
 
13981
if ac_fn_c_try_link "$LINENO"; then :
16720
13982
  CATOBJEXT=.gmo
16721
13983
             DATADIRNAME=share
16722
13984
else
16723
 
  $as_echo "$as_me: failed program was:" >&5
16724
 
sed 's/^/| /' conftest.$ac_ext >&5
16725
 
 
16726
 
        case $host in
 
13985
  case $host in
16727
13986
            *-*-solaris*)
16728
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
16729
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
16730
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
16731
 
  $as_echo_n "(cached) " >&6
16732
 
else
16733
 
  cat >conftest.$ac_ext <<_ACEOF
16734
 
/* confdefs.h.  */
16735
 
_ACEOF
16736
 
cat confdefs.h >>conftest.$ac_ext
16737
 
cat >>conftest.$ac_ext <<_ACEOF
16738
 
/* end confdefs.h.  */
16739
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
16740
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16741
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
16742
 
 
16743
 
/* System header to define __stub macros and hopefully few prototypes,
16744
 
    which can conflict with char bind_textdomain_codeset (); below.
16745
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16746
 
    <limits.h> exists even on freestanding compilers.  */
16747
 
 
16748
 
#ifdef __STDC__
16749
 
# include <limits.h>
16750
 
#else
16751
 
# include <assert.h>
16752
 
#endif
16753
 
 
16754
 
#undef bind_textdomain_codeset
16755
 
 
16756
 
/* Override any GCC internal prototype to avoid an error.
16757
 
   Use char because int might match the return type of a GCC
16758
 
   builtin and then its argument prototype would still apply.  */
16759
 
#ifdef __cplusplus
16760
 
extern "C"
16761
 
#endif
16762
 
char bind_textdomain_codeset ();
16763
 
/* The GNU C library defines this for functions which it implements
16764
 
    to always fail with ENOSYS.  Some functions are actually named
16765
 
    something starting with __ and the normal name is an alias.  */
16766
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
16767
 
choke me
16768
 
#endif
16769
 
 
16770
 
int
16771
 
main ()
16772
 
{
16773
 
return bind_textdomain_codeset ();
16774
 
  ;
16775
 
  return 0;
16776
 
}
16777
 
_ACEOF
16778
 
rm -f conftest.$ac_objext conftest$ac_exeext
16779
 
if { (ac_try="$ac_link"
16780
 
case "(($ac_try" in
16781
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16782
 
  *) ac_try_echo=$ac_try;;
16783
 
esac
16784
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16785
 
$as_echo "$ac_try_echo") >&5
16786
 
  (eval "$ac_link") 2>conftest.er1
16787
 
  ac_status=$?
16788
 
  grep -v '^ *+' conftest.er1 >conftest.err
16789
 
  rm -f conftest.er1
16790
 
  cat conftest.err >&5
16791
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792
 
  (exit $ac_status); } && {
16793
 
         test -z "$ac_c_werror_flag" ||
16794
 
         test ! -s conftest.err
16795
 
       } && test -s conftest$ac_exeext && {
16796
 
         test "$cross_compiling" = yes ||
16797
 
         $as_test_x conftest$ac_exeext
16798
 
       }; then
16799
 
  ac_cv_func_bind_textdomain_codeset=yes
16800
 
else
16801
 
  $as_echo "$as_me: failed program was:" >&5
16802
 
sed 's/^/| /' conftest.$ac_ext >&5
16803
 
 
16804
 
        ac_cv_func_bind_textdomain_codeset=no
16805
 
fi
16806
 
 
16807
 
rm -rf conftest.dSYM
16808
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16809
 
      conftest$ac_exeext conftest.$ac_ext
16810
 
fi
16811
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
16812
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
16813
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
13987
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13988
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
16814
13989
  CATOBJEXT=.gmo
16815
13990
               DATADIRNAME=share
16816
13991
else
16825
14000
            ;;
16826
14001
            esac
16827
14002
fi
16828
 
 
16829
 
rm -rf conftest.dSYM
16830
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16831
 
      conftest$ac_exeext conftest.$ac_ext
 
14003
rm -f core conftest.err conftest.$ac_objext \
 
14004
    conftest$ac_exeext conftest.$ac_ext
16832
14005
          LIBS="$glib_save_LIBS"
16833
14006
          INSTOBJEXT=.mo
16834
14007
        else
16842
14015
 
16843
14016
    if test "$gt_cv_have_gettext" = "yes" ; then
16844
14017
 
16845
 
cat >>confdefs.h <<\_ACEOF
16846
 
#define ENABLE_NLS 1
16847
 
_ACEOF
 
14018
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
16848
14019
 
16849
14020
    fi
16850
14021
 
16852
14023
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
16853
14024
        : ;
16854
14025
      else
16855
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
14026
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
16856
14027
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
16857
14028
        XGETTEXT=":"
16858
14029
      fi
16885
14056
     if test "x$ALL_LINGUAS" = "x"; then
16886
14057
       LINGUAS=
16887
14058
     else
16888
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
14059
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
16889
14060
$as_echo_n "checking for catalogs to be installed... " >&6; }
16890
14061
       NEW_LINGUAS=
16891
14062
       for presentlang in $ALL_LINGUAS; do
16910
14081
         fi
16911
14082
       done
16912
14083
       LINGUAS=$NEW_LINGUAS
16913
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
14084
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
16914
14085
$as_echo "$LINGUAS" >&6; }
16915
14086
     fi
16916
14087
 
16972
14143
    case $ac_val in #(
16973
14144
    *${as_nl}*)
16974
14145
      case $ac_var in #(
16975
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
14146
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16976
14147
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16977
14148
      esac
16978
14149
      case $ac_var in #(
16979
14150
      _ | IFS | as_nl) ;; #(
16980
14151
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16981
 
      *) $as_unset $ac_var ;;
 
14152
      *) { eval $ac_var=; unset $ac_var;} ;;
16982
14153
      esac ;;
16983
14154
    esac
16984
14155
  done
16986
14157
  (set) 2>&1 |
16987
14158
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16988
14159
    *${as_nl}ac_space=\ *)
16989
 
      # `set' does not quote correctly, so add quotes (double-quote
16990
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
14160
      # `set' does not quote correctly, so add quotes: double-quote
 
14161
      # substitution turns \\\\ into \\, and sed turns \\ into \.
16991
14162
      sed -n \
16992
14163
        "s/'/'\\\\''/g;
16993
14164
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17010
14181
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17011
14182
  if test -w "$cache_file"; then
17012
14183
    test "x$cache_file" != "x/dev/null" &&
17013
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
14184
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17014
14185
$as_echo "$as_me: updating cache $cache_file" >&6;}
17015
14186
    cat confcache >$cache_file
17016
14187
  else
17017
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
14188
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17018
14189
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17019
14190
  fi
17020
14191
fi
17070
14241
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17071
14242
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17072
14243
  #    will be set to the directory where LIBOBJS objects are built.
17073
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17074
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
14244
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
14245
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17075
14246
done
17076
14247
LIBOBJS=$ac_libobjs
17077
14248
 
17078
14249
LTLIBOBJS=$ac_ltlibobjs
17079
14250
 
17080
14251
 
 
14252
 if test -n "$EXEEXT"; then
 
14253
  am__EXEEXT_TRUE=
 
14254
  am__EXEEXT_FALSE='#'
 
14255
else
 
14256
  am__EXEEXT_TRUE='#'
 
14257
  am__EXEEXT_FALSE=
 
14258
fi
 
14259
 
17081
14260
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17082
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17083
 
Usually this means the macro was only invoked conditionally." >&5
17084
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17085
 
Usually this means the macro was only invoked conditionally." >&2;}
17086
 
   { (exit 1); exit 1; }; }
 
14261
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
14262
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17087
14263
fi
17088
14264
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17089
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17090
 
Usually this means the macro was only invoked conditionally." >&5
17091
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
17092
 
Usually this means the macro was only invoked conditionally." >&2;}
17093
 
   { (exit 1); exit 1; }; }
17094
 
fi
17095
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17096
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17097
 
Usually this means the macro was only invoked conditionally." >&5
17098
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17099
 
Usually this means the macro was only invoked conditionally." >&2;}
17100
 
   { (exit 1); exit 1; }; }
17101
 
fi
17102
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17103
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17104
 
Usually this means the macro was only invoked conditionally." >&5
17105
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17106
 
Usually this means the macro was only invoked conditionally." >&2;}
17107
 
   { (exit 1); exit 1; }; }
17108
 
fi
17109
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17110
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17111
 
Usually this means the macro was only invoked conditionally." >&5
17112
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17113
 
Usually this means the macro was only invoked conditionally." >&2;}
17114
 
   { (exit 1); exit 1; }; }
 
14265
  as_fn_error "conditional \"AMDEP\" was never defined.
 
14266
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14267
fi
 
14268
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14269
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
14270
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14271
fi
 
14272
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14273
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
14274
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14275
fi
 
14276
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14277
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
14278
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17115
14279
fi
17116
14280
 
17117
14281
  ac_config_commands="$ac_config_commands po/stamp-it"
17118
14282
 
17119
14283
 
17120
14284
if test -z "${USE_HAL_TRUE}" && test -z "${USE_HAL_FALSE}"; then
17121
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_HAL\" was never defined.
17122
 
Usually this means the macro was only invoked conditionally." >&5
17123
 
$as_echo "$as_me: error: conditional \"USE_HAL\" was never defined.
17124
 
Usually this means the macro was only invoked conditionally." >&2;}
17125
 
   { (exit 1); exit 1; }; }
 
14285
  as_fn_error "conditional \"USE_HAL\" was never defined.
 
14286
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17126
14287
fi
17127
14288
if test -z "${DESKTOP_INTEGRATION_TRUE}" && test -z "${DESKTOP_INTEGRATION_FALSE}"; then
17128
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"DESKTOP_INTEGRATION\" was never defined.
17129
 
Usually this means the macro was only invoked conditionally." >&5
17130
 
$as_echo "$as_me: error: conditional \"DESKTOP_INTEGRATION\" was never defined.
17131
 
Usually this means the macro was only invoked conditionally." >&2;}
17132
 
   { (exit 1); exit 1; }; }
 
14289
  as_fn_error "conditional \"DESKTOP_INTEGRATION\" was never defined.
 
14290
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17133
14291
fi
17134
14292
 
17135
14293
: ${CONFIG_STATUS=./config.status}
17136
14294
ac_write_fail=0
17137
14295
ac_clean_files_save=$ac_clean_files
17138
14296
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17139
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
14297
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17140
14298
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17141
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14299
as_write_fail=0
 
14300
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17142
14301
#! $SHELL
17143
14302
# Generated by $as_me.
17144
14303
# Run this file to recreate the current configuration.
17148
14307
debug=false
17149
14308
ac_cs_recheck=false
17150
14309
ac_cs_silent=false
 
14310
 
17151
14311
SHELL=\${CONFIG_SHELL-$SHELL}
17152
 
_ACEOF
17153
 
 
17154
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17155
 
## --------------------- ##
17156
 
## M4sh Initialization.  ##
17157
 
## --------------------- ##
 
14312
export SHELL
 
14313
_ASEOF
 
14314
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
14315
## -------------------- ##
 
14316
## M4sh Initialization. ##
 
14317
## -------------------- ##
17158
14318
 
17159
14319
# Be more Bourne compatible
17160
14320
DUALCASE=1; export DUALCASE # for MKS sh
17161
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
14321
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17162
14322
  emulate sh
17163
14323
  NULLCMD=:
17164
14324
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17166
14326
  alias -g '${1+"$@"}'='"$@"'
17167
14327
  setopt NO_GLOB_SUBST
17168
14328
else
17169
 
  case `(set -o) 2>/dev/null` in
17170
 
  *posix*) set -o posix ;;
 
14329
  case `(set -o) 2>/dev/null` in #(
 
14330
  *posix*) :
 
14331
    set -o posix ;; #(
 
14332
  *) :
 
14333
     ;;
17171
14334
esac
17172
 
 
17173
14335
fi
17174
14336
 
17175
14337
 
17176
 
 
17177
 
 
17178
 
# PATH needs CR
17179
 
# Avoid depending upon Character Ranges.
17180
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17181
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17182
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17183
 
as_cr_digits='0123456789'
17184
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
17185
 
 
17186
14338
as_nl='
17187
14339
'
17188
14340
export as_nl
17190
14342
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17191
14343
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17192
14344
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17193
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
14345
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
14346
# but without wasting forks for bash or zsh.
 
14347
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
14348
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
14349
  as_echo='print -r --'
 
14350
  as_echo_n='print -rn --'
 
14351
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17194
14352
  as_echo='printf %s\n'
17195
14353
  as_echo_n='printf %s'
17196
14354
else
17201
14359
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17202
14360
    as_echo_n_body='eval
17203
14361
      arg=$1;
17204
 
      case $arg in
 
14362
      case $arg in #(
17205
14363
      *"$as_nl"*)
17206
14364
        expr "X$arg" : "X\\(.*\\)$as_nl";
17207
14365
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17224
14382
  }
17225
14383
fi
17226
14384
 
17227
 
# Support unset when possible.
17228
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17229
 
  as_unset=unset
17230
 
else
17231
 
  as_unset=false
17232
 
fi
17233
 
 
17234
14385
 
17235
14386
# IFS
17236
14387
# We need space, tab and new line, in precisely that order.  Quoting is
17240
14391
IFS=" ""        $as_nl"
17241
14392
 
17242
14393
# Find who we are.  Look in the path if we contain no directory separator.
17243
 
case $0 in
 
14394
case $0 in #((
17244
14395
  *[\\/]* ) as_myself=$0 ;;
17245
14396
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17246
14397
for as_dir in $PATH
17247
14398
do
17248
14399
  IFS=$as_save_IFS
17249
14400
  test -z "$as_dir" && as_dir=.
17250
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17251
 
done
 
14401
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
14402
  done
17252
14403
IFS=$as_save_IFS
17253
14404
 
17254
14405
     ;;
17260
14411
fi
17261
14412
if test ! -f "$as_myself"; then
17262
14413
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17263
 
  { (exit 1); exit 1; }
 
14414
  exit 1
17264
14415
fi
17265
14416
 
17266
 
# Work around bugs in pre-3.0 UWIN ksh.
17267
 
for as_var in ENV MAIL MAILPATH
17268
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
14417
# Unset variables that we do not need and which cause bugs (e.g. in
 
14418
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
14419
# suppresses any "Segmentation fault" message there.  '((' could
 
14420
# trigger a bug in pdksh 5.2.14.
 
14421
for as_var in BASH_ENV ENV MAIL MAILPATH
 
14422
do eval test x\${$as_var+set} = xset \
 
14423
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17269
14424
done
17270
14425
PS1='$ '
17271
14426
PS2='> '
17277
14432
LANGUAGE=C
17278
14433
export LANGUAGE
17279
14434
 
17280
 
# Required to use basename.
 
14435
# CDPATH.
 
14436
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
14437
 
 
14438
 
 
14439
# as_fn_error ERROR [LINENO LOG_FD]
 
14440
# ---------------------------------
 
14441
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
14442
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
14443
# script with status $?, using 1 if that was 0.
 
14444
as_fn_error ()
 
14445
{
 
14446
  as_status=$?; test $as_status -eq 0 && as_status=1
 
14447
  if test "$3"; then
 
14448
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
14449
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
14450
  fi
 
14451
  $as_echo "$as_me: error: $1" >&2
 
14452
  as_fn_exit $as_status
 
14453
} # as_fn_error
 
14454
 
 
14455
 
 
14456
# as_fn_set_status STATUS
 
14457
# -----------------------
 
14458
# Set $? to STATUS, without forking.
 
14459
as_fn_set_status ()
 
14460
{
 
14461
  return $1
 
14462
} # as_fn_set_status
 
14463
 
 
14464
# as_fn_exit STATUS
 
14465
# -----------------
 
14466
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
14467
as_fn_exit ()
 
14468
{
 
14469
  set +e
 
14470
  as_fn_set_status $1
 
14471
  exit $1
 
14472
} # as_fn_exit
 
14473
 
 
14474
# as_fn_unset VAR
 
14475
# ---------------
 
14476
# Portably unset VAR.
 
14477
as_fn_unset ()
 
14478
{
 
14479
  { eval $1=; unset $1;}
 
14480
}
 
14481
as_unset=as_fn_unset
 
14482
# as_fn_append VAR VALUE
 
14483
# ----------------------
 
14484
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
14485
# advantage of any shell optimizations that allow amortized linear growth over
 
14486
# repeated appends, instead of the typical quadratic growth present in naive
 
14487
# implementations.
 
14488
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
14489
  eval 'as_fn_append ()
 
14490
  {
 
14491
    eval $1+=\$2
 
14492
  }'
 
14493
else
 
14494
  as_fn_append ()
 
14495
  {
 
14496
    eval $1=\$$1\$2
 
14497
  }
 
14498
fi # as_fn_append
 
14499
 
 
14500
# as_fn_arith ARG...
 
14501
# ------------------
 
14502
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
14503
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
14504
# must be portable across $(()) and expr.
 
14505
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
14506
  eval 'as_fn_arith ()
 
14507
  {
 
14508
    as_val=$(( $* ))
 
14509
  }'
 
14510
else
 
14511
  as_fn_arith ()
 
14512
  {
 
14513
    as_val=`expr "$@" || test $? -eq 1`
 
14514
  }
 
14515
fi # as_fn_arith
 
14516
 
 
14517
 
17281
14518
if expr a : '\(a\)' >/dev/null 2>&1 &&
17282
14519
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17283
14520
  as_expr=expr
17291
14528
  as_basename=false
17292
14529
fi
17293
14530
 
 
14531
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
14532
  as_dirname=dirname
 
14533
else
 
14534
  as_dirname=false
 
14535
fi
17294
14536
 
17295
 
# Name of the executable.
17296
14537
as_me=`$as_basename -- "$0" ||
17297
14538
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17298
14539
         X"$0" : 'X\(//\)$' \| \
17312
14553
          }
17313
14554
          s/.*/./; q'`
17314
14555
 
17315
 
# CDPATH.
17316
 
$as_unset CDPATH
17317
 
 
17318
 
 
17319
 
 
17320
 
  as_lineno_1=$LINENO
17321
 
  as_lineno_2=$LINENO
17322
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
17323
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17324
 
 
17325
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17326
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
17327
 
  # line-number line after each line using $LINENO; the second 'sed'
17328
 
  # does the real work.  The second script uses 'N' to pair each
17329
 
  # line-number line with the line containing $LINENO, and appends
17330
 
  # trailing '-' during substitution so that $LINENO is not a special
17331
 
  # case at line end.
17332
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17333
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
17334
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
17335
 
  sed -n '
17336
 
    p
17337
 
    /[$]LINENO/=
17338
 
  ' <$as_myself |
17339
 
    sed '
17340
 
      s/[$]LINENO.*/&-/
17341
 
      t lineno
17342
 
      b
17343
 
      :lineno
17344
 
      N
17345
 
      :loop
17346
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17347
 
      t loop
17348
 
      s/-\n.*//
17349
 
    ' >$as_me.lineno &&
17350
 
  chmod +x "$as_me.lineno" ||
17351
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17352
 
   { (exit 1); exit 1; }; }
17353
 
 
17354
 
  # Don't try to exec as it changes $[0], causing all sort of problems
17355
 
  # (the dirname of $[0] is not the place where we might find the
17356
 
  # original and so on.  Autoconf is especially sensitive to this).
17357
 
  . "./$as_me.lineno"
17358
 
  # Exit status is that of the last command.
17359
 
  exit
17360
 
}
17361
 
 
17362
 
 
17363
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17364
 
  as_dirname=dirname
17365
 
else
17366
 
  as_dirname=false
17367
 
fi
 
14556
# Avoid depending upon Character Ranges.
 
14557
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
14558
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
14559
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
14560
as_cr_digits='0123456789'
 
14561
as_cr_alnum=$as_cr_Letters$as_cr_digits
17368
14562
 
17369
14563
ECHO_C= ECHO_N= ECHO_T=
17370
 
case `echo -n x` in
 
14564
case `echo -n x` in #(((((
17371
14565
-n*)
17372
 
  case `echo 'x\c'` in
 
14566
  case `echo 'xy\c'` in
17373
14567
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17374
 
  *)   ECHO_C='\c';;
 
14568
  xy)  ECHO_C='\c';;
 
14569
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
14570
       ECHO_T=' ';;
17375
14571
  esac;;
17376
14572
*)
17377
14573
  ECHO_N='-n';;
17378
14574
esac
17379
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
17380
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17381
 
  as_expr=expr
17382
 
else
17383
 
  as_expr=false
17384
 
fi
17385
14575
 
17386
14576
rm -f conf$$ conf$$.exe conf$$.file
17387
14577
if test -d conf$$.dir; then
17410
14600
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17411
14601
rmdir conf$$.dir 2>/dev/null
17412
14602
 
 
14603
 
 
14604
# as_fn_mkdir_p
 
14605
# -------------
 
14606
# Create "$as_dir" as a directory, including parents if necessary.
 
14607
as_fn_mkdir_p ()
 
14608
{
 
14609
 
 
14610
  case $as_dir in #(
 
14611
  -*) as_dir=./$as_dir;;
 
14612
  esac
 
14613
  test -d "$as_dir" || eval $as_mkdir_p || {
 
14614
    as_dirs=
 
14615
    while :; do
 
14616
      case $as_dir in #(
 
14617
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
14618
      *) as_qdir=$as_dir;;
 
14619
      esac
 
14620
      as_dirs="'$as_qdir' $as_dirs"
 
14621
      as_dir=`$as_dirname -- "$as_dir" ||
 
14622
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14623
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
14624
         X"$as_dir" : 'X\(//\)$' \| \
 
14625
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
14626
$as_echo X"$as_dir" |
 
14627
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14628
            s//\1/
 
14629
            q
 
14630
          }
 
14631
          /^X\(\/\/\)[^/].*/{
 
14632
            s//\1/
 
14633
            q
 
14634
          }
 
14635
          /^X\(\/\/\)$/{
 
14636
            s//\1/
 
14637
            q
 
14638
          }
 
14639
          /^X\(\/\).*/{
 
14640
            s//\1/
 
14641
            q
 
14642
          }
 
14643
          s/.*/./; q'`
 
14644
      test -d "$as_dir" && break
 
14645
    done
 
14646
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
14647
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
14648
 
 
14649
 
 
14650
} # as_fn_mkdir_p
17413
14651
if mkdir -p . 2>/dev/null; then
17414
 
  as_mkdir_p=:
 
14652
  as_mkdir_p='mkdir -p "$as_dir"'
17415
14653
else
17416
14654
  test -d ./-p && rmdir ./-p
17417
14655
  as_mkdir_p=false
17430
14668
      if test -d "$1"; then
17431
14669
        test -d "$1/.";
17432
14670
      else
17433
 
        case $1 in
 
14671
        case $1 in #(
17434
14672
        -*)set "./$1";;
17435
14673
        esac;
17436
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
14674
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17437
14675
        ???[sx]*):;;*)false;;esac;fi
17438
14676
    '\'' sh
17439
14677
  '
17448
14686
 
17449
14687
 
17450
14688
exec 6>&1
 
14689
## ----------------------------------- ##
 
14690
## Main body of $CONFIG_STATUS script. ##
 
14691
## ----------------------------------- ##
 
14692
_ASEOF
 
14693
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17451
14694
 
17452
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
14695
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14696
# Save the log message, to keep $0 and so on meaningful, and to
17453
14697
# report actual input values of CONFIG_FILES etc. instead of their
17454
14698
# values after options handling.
17455
14699
ac_log="
17456
 
This file was extended by pcmanfm $as_me 0.5.1, which was
17457
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
14700
This file was extended by pcmanfm $as_me 0.5.2, which was
 
14701
generated by GNU Autoconf 2.64.  Invocation command line was
17458
14702
 
17459
14703
  CONFIG_FILES    = $CONFIG_FILES
17460
14704
  CONFIG_HEADERS  = $CONFIG_HEADERS
17482
14726
 
17483
14727
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17484
14728
ac_cs_usage="\
17485
 
\`$as_me' instantiates files from templates according to the
17486
 
current configuration.
 
14729
\`$as_me' instantiates files and other configuration actions
 
14730
from templates according to the current configuration.  Unless the files
 
14731
and actions are specified as TAGs, all are instantiated by default.
17487
14732
 
17488
 
Usage: $0 [OPTION]... [FILE]...
 
14733
Usage: $0 [OPTION]... [TAG]...
17489
14734
 
17490
14735
  -h, --help       print this help, then exit
17491
14736
  -V, --version    print version number and configuration settings, then exit
17502
14747
Configuration commands:
17503
14748
$config_commands
17504
14749
 
17505
 
Report bugs to <bug-autoconf@gnu.org>."
 
14750
Report bugs to the package provider."
17506
14751
 
17507
14752
_ACEOF
17508
14753
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17509
14754
ac_cs_version="\\
17510
 
pcmanfm config.status 0.5.1
17511
 
configured by $0, generated by GNU Autoconf 2.63,
 
14755
pcmanfm config.status 0.5.2
 
14756
configured by $0, generated by GNU Autoconf 2.64,
17512
14757
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17513
14758
 
17514
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
14759
Copyright (C) 2009 Free Software Foundation, Inc.
17515
14760
This config.status script is free software; the Free Software Foundation
17516
14761
gives unlimited permission to copy, distribute and modify it."
17517
14762
 
17554
14799
    case $ac_optarg in
17555
14800
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17556
14801
    esac
17557
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
14802
    as_fn_append CONFIG_FILES " '$ac_optarg'"
17558
14803
    ac_need_defaults=false;;
17559
14804
  --he | --h |  --help | --hel | -h )
17560
14805
    $as_echo "$ac_cs_usage"; exit ;;
17563
14808
    ac_cs_silent=: ;;
17564
14809
 
17565
14810
  # This is an error.
17566
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
17567
 
Try \`$0 --help' for more information." >&2
17568
 
   { (exit 1); exit 1; }; } ;;
 
14811
  -*) as_fn_error "unrecognized option: \`$1'
 
14812
Try \`$0 --help' for more information." ;;
17569
14813
 
17570
 
  *) ac_config_targets="$ac_config_targets $1"
 
14814
  *) as_fn_append ac_config_targets " $1"
17571
14815
     ac_need_defaults=false ;;
17572
14816
 
17573
14817
  esac
17886
15130
    "data/pcmanfm-folder-handler.desktop") CONFIG_FILES="$CONFIG_FILES data/pcmanfm-folder-handler.desktop" ;;
17887
15131
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17888
15132
 
17889
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17890
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17891
 
   { (exit 1); exit 1; }; };;
 
15133
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17892
15134
  esac
17893
15135
done
17894
15136
 
17914
15156
  trap 'exit_status=$?
17915
15157
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17916
15158
' 0
17917
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
15159
  trap 'as_fn_exit 1' 1 2 13 15
17918
15160
}
17919
15161
# Create a (secure) tmp directory for tmp files.
17920
15162
 
17925
15167
{
17926
15168
  tmp=./conf$$-$RANDOM
17927
15169
  (umask 077 && mkdir "$tmp")
17928
 
} ||
17929
 
{
17930
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
17931
 
   { (exit 1); exit 1; }
17932
 
}
 
15170
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17933
15171
 
17934
15172
# Set up the scripts for CONFIG_FILES section.
17935
15173
# No need to generate them if there are no CONFIG_FILES.
17937
15175
if test -n "$CONFIG_FILES"; then
17938
15176
 
17939
15177
 
17940
 
ac_cr='
 
 
b"'"
 
15178
ac_cr=`echo X | tr X '\015'`
 
15179
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
15180
# But we know of no other shell where ac_cr would be empty at this
 
15181
# point, so we can use a bashism as a fallback.
 
15182
if test "x$ac_cr" = x; then
 
15183
  eval ac_cr=\$\'\\r\'
 
15184
fi
17941
15185
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17942
15186
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17943
 
  ac_cs_awk_cr='\\r'
 
15187
  ac_cs_awk_cr='\r'
17944
15188
else
17945
15189
  ac_cs_awk_cr=$ac_cr
17946
15190
fi
17954
15198
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17955
15199
  echo "_ACEOF"
17956
15200
} >conf$$subs.sh ||
17957
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17958
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17959
 
   { (exit 1); exit 1; }; }
 
15201
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17960
15202
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17961
15203
ac_delim='%!_!# '
17962
15204
for ac_last_try in false false false false false :; do
17963
15205
  . ./conf$$subs.sh ||
17964
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17965
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17966
 
   { (exit 1); exit 1; }; }
 
15206
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17967
15207
 
17968
15208
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17969
15209
  if test $ac_delim_n = $ac_delim_num; then
17970
15210
    break
17971
15211
  elif $ac_last_try; then
17972
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17973
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17974
 
   { (exit 1); exit 1; }; }
 
15212
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17975
15213
  else
17976
15214
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17977
15215
  fi
18060
15298
else
18061
15299
  cat
18062
15300
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18063
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
18064
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
18065
 
   { (exit 1); exit 1; }; }
 
15301
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
18066
15302
_ACEOF
18067
15303
 
18068
15304
# VPATH may cause trouble with some makes, so we remove $(srcdir),
18093
15329
  esac
18094
15330
  case $ac_mode$ac_tag in
18095
15331
  :[FHL]*:*);;
18096
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
18097
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
18098
 
   { (exit 1); exit 1; }; };;
 
15332
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
18099
15333
  :[FH]-) ac_tag=-:-;;
18100
15334
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18101
15335
  esac
18123
15357
           [\\/$]*) false;;
18124
15358
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18125
15359
           esac ||
18126
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18127
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18128
 
   { (exit 1); exit 1; }; };;
 
15360
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18129
15361
      esac
18130
15362
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18131
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
15363
      as_fn_append ac_file_inputs " '$ac_f'"
18132
15364
    done
18133
15365
 
18134
15366
    # Let's still pretend it is `configure' which instantiates (i.e., don't
18139
15371
        `' by configure.'
18140
15372
    if test x"$ac_file" != x-; then
18141
15373
      configure_input="$ac_file.  $configure_input"
18142
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
15374
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18143
15375
$as_echo "$as_me: creating $ac_file" >&6;}
18144
15376
    fi
18145
15377
    # Neutralize special characters interpreted by sed in replacement strings.
18152
15384
 
18153
15385
    case $ac_tag in
18154
15386
    *:-:* | *:-) cat >"$tmp/stdin" \
18155
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18156
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18157
 
   { (exit 1); exit 1; }; } ;;
 
15387
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
18158
15388
    esac
18159
15389
    ;;
18160
15390
  esac
18182
15412
            q
18183
15413
          }
18184
15414
          s/.*/./; q'`
18185
 
  { as_dir="$ac_dir"
18186
 
  case $as_dir in #(
18187
 
  -*) as_dir=./$as_dir;;
18188
 
  esac
18189
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18190
 
    as_dirs=
18191
 
    while :; do
18192
 
      case $as_dir in #(
18193
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18194
 
      *) as_qdir=$as_dir;;
18195
 
      esac
18196
 
      as_dirs="'$as_qdir' $as_dirs"
18197
 
      as_dir=`$as_dirname -- "$as_dir" ||
18198
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18199
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
18200
 
         X"$as_dir" : 'X\(//\)$' \| \
18201
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18202
 
$as_echo X"$as_dir" |
18203
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18204
 
            s//\1/
18205
 
            q
18206
 
          }
18207
 
          /^X\(\/\/\)[^/].*/{
18208
 
            s//\1/
18209
 
            q
18210
 
          }
18211
 
          /^X\(\/\/\)$/{
18212
 
            s//\1/
18213
 
            q
18214
 
          }
18215
 
          /^X\(\/\).*/{
18216
 
            s//\1/
18217
 
            q
18218
 
          }
18219
 
          s/.*/./; q'`
18220
 
      test -d "$as_dir" && break
18221
 
    done
18222
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
18223
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18224
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18225
 
   { (exit 1); exit 1; }; }; }
 
15415
  as_dir="$ac_dir"; as_fn_mkdir_p
18226
15416
  ac_builddir=.
18227
15417
 
18228
15418
case "$ac_dir" in
18279
15469
# If the template does not know about datarootdir, expand it.
18280
15470
# FIXME: This hack should be removed a few years after 2.60.
18281
15471
ac_datarootdir_hack=; ac_datarootdir_seen=
18282
 
 
18283
15472
ac_sed_dataroot='
18284
15473
/datarootdir/ {
18285
15474
  p
18289
15478
/@docdir@/p
18290
15479
/@infodir@/p
18291
15480
/@localedir@/p
18292
 
/@mandir@/p
18293
 
'
 
15481
/@mandir@/p'
18294
15482
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18295
15483
*datarootdir*) ac_datarootdir_seen=yes;;
18296
15484
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18297
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
15485
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18298
15486
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18299
15487
_ACEOF
18300
15488
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18304
15492
  s&@infodir@&$infodir&g
18305
15493
  s&@localedir@&$localedir&g
18306
15494
  s&@mandir@&$mandir&g
18307
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
15495
  s&\\\${datarootdir}&$datarootdir&g' ;;
18308
15496
esac
18309
15497
_ACEOF
18310
15498
 
18333
15521
$ac_datarootdir_hack
18334
15522
"
18335
15523
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18336
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18337
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18338
 
   { (exit 1); exit 1; }; }
 
15524
  || as_fn_error "could not create $ac_file" "$LINENO" 5
18339
15525
 
18340
15526
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18341
15527
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18342
15528
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18343
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
15529
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18344
15530
which seems to be undefined.  Please make sure it is defined." >&5
18345
15531
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18346
15532
which seems to be undefined.  Please make sure it is defined." >&2;}
18350
15536
  -) cat "$tmp/out" && rm -f "$tmp/out";;
18351
15537
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18352
15538
  esac \
18353
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18354
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18355
 
   { (exit 1); exit 1; }; }
 
15539
  || as_fn_error "could not create $ac_file" "$LINENO" 5
18356
15540
 ;;
18357
15541
 
18358
15542
 
18359
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
15543
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18360
15544
$as_echo "$as_me: executing $ac_file commands" >&6;}
18361
15545
 ;;
18362
15546
  esac
18363
15547
 
18364
15548
 
18365
15549
  case $ac_file$ac_mode in
18366
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
18367
 
# are listed without --file.  Let's play safe and only enable the eval
18368
 
# if we detect the quoting.
18369
 
case $CONFIG_FILES in
18370
 
*\'*) eval set x "$CONFIG_FILES" ;;
18371
 
*)   set x $CONFIG_FILES ;;
18372
 
esac
18373
 
shift
18374
 
for mf
18375
 
do
18376
 
  # Strip MF so we end up with the name of the file.
18377
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
18378
 
  # Check whether this is an Automake generated Makefile or not.
18379
 
  # We used to match only the files named `Makefile.in', but
18380
 
  # some people rename them; so instead we look at the file content.
18381
 
  # Grep'ing the first line is not enough: some people post-process
18382
 
  # each Makefile.in and add a new line on top of each file to say so.
18383
 
  # Grep'ing the whole file is not good either: AIX grep has a line
18384
 
  # limit of 2048, but all sed's we know have understand at least 4000.
18385
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18386
 
    dirpart=`$as_dirname -- "$mf" ||
 
15550
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
15551
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
15552
  # are listed without --file.  Let's play safe and only enable the eval
 
15553
  # if we detect the quoting.
 
15554
  case $CONFIG_FILES in
 
15555
  *\'*) eval set x "$CONFIG_FILES" ;;
 
15556
  *)   set x $CONFIG_FILES ;;
 
15557
  esac
 
15558
  shift
 
15559
  for mf
 
15560
  do
 
15561
    # Strip MF so we end up with the name of the file.
 
15562
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
15563
    # Check whether this is an Automake generated Makefile or not.
 
15564
    # We used to match only the files named `Makefile.in', but
 
15565
    # some people rename them; so instead we look at the file content.
 
15566
    # Grep'ing the first line is not enough: some people post-process
 
15567
    # each Makefile.in and add a new line on top of each file to say so.
 
15568
    # Grep'ing the whole file is not good either: AIX grep has a line
 
15569
    # limit of 2048, but all sed's we know have understand at least 4000.
 
15570
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
15571
      dirpart=`$as_dirname -- "$mf" ||
18387
15572
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18388
15573
         X"$mf" : 'X\(//\)[^/]' \| \
18389
15574
         X"$mf" : 'X\(//\)$' \| \
18406
15591
            q
18407
15592
          }
18408
15593
          s/.*/./; q'`
18409
 
  else
18410
 
    continue
18411
 
  fi
18412
 
  # Extract the definition of DEPDIR, am__include, and am__quote
18413
 
  # from the Makefile without running `make'.
18414
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18415
 
  test -z "$DEPDIR" && continue
18416
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
18417
 
  test -z "am__include" && continue
18418
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18419
 
  # When using ansi2knr, U may be empty or an underscore; expand it
18420
 
  U=`sed -n 's/^U = //p' < "$mf"`
18421
 
  # Find all dependency output files, they are included files with
18422
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
18423
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
18424
 
  # expansion.
18425
 
  for file in `sed -n "
18426
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18427
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18428
 
    # Make sure the directory exists.
18429
 
    test -f "$dirpart/$file" && continue
18430
 
    fdir=`$as_dirname -- "$file" ||
 
15594
    else
 
15595
      continue
 
15596
    fi
 
15597
    # Extract the definition of DEPDIR, am__include, and am__quote
 
15598
    # from the Makefile without running `make'.
 
15599
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
15600
    test -z "$DEPDIR" && continue
 
15601
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
15602
    test -z "am__include" && continue
 
15603
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
15604
    # When using ansi2knr, U may be empty or an underscore; expand it
 
15605
    U=`sed -n 's/^U = //p' < "$mf"`
 
15606
    # Find all dependency output files, they are included files with
 
15607
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
15608
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
15609
    # expansion.
 
15610
    for file in `sed -n "
 
15611
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
15612
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
15613
      # Make sure the directory exists.
 
15614
      test -f "$dirpart/$file" && continue
 
15615
      fdir=`$as_dirname -- "$file" ||
18431
15616
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18432
15617
         X"$file" : 'X\(//\)[^/]' \| \
18433
15618
         X"$file" : 'X\(//\)$' \| \
18450
15635
            q
18451
15636
          }
18452
15637
          s/.*/./; q'`
18453
 
    { as_dir=$dirpart/$fdir
18454
 
  case $as_dir in #(
18455
 
  -*) as_dir=./$as_dir;;
18456
 
  esac
18457
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18458
 
    as_dirs=
18459
 
    while :; do
18460
 
      case $as_dir in #(
18461
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18462
 
      *) as_qdir=$as_dir;;
18463
 
      esac
18464
 
      as_dirs="'$as_qdir' $as_dirs"
18465
 
      as_dir=`$as_dirname -- "$as_dir" ||
18466
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18467
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
18468
 
         X"$as_dir" : 'X\(//\)$' \| \
18469
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18470
 
$as_echo X"$as_dir" |
18471
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18472
 
            s//\1/
18473
 
            q
18474
 
          }
18475
 
          /^X\(\/\/\)[^/].*/{
18476
 
            s//\1/
18477
 
            q
18478
 
          }
18479
 
          /^X\(\/\/\)$/{
18480
 
            s//\1/
18481
 
            q
18482
 
          }
18483
 
          /^X\(\/\).*/{
18484
 
            s//\1/
18485
 
            q
18486
 
          }
18487
 
          s/.*/./; q'`
18488
 
      test -d "$as_dir" && break
 
15638
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
15639
      # echo "creating $dirpart/$file"
 
15640
      echo '# dummy' > "$dirpart/$file"
18489
15641
    done
18490
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
18491
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18492
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18493
 
   { (exit 1); exit 1; }; }; }
18494
 
    # echo "creating $dirpart/$file"
18495
 
    echo '# dummy' > "$dirpart/$file"
18496
15642
  done
18497
 
done
 
15643
}
18498
15644
 ;;
18499
15645
    "libtool":C)
18500
15646
 
19136
16282
      esac ;;
19137
16283
    "po/stamp-it":C)
19138
16284
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
19139
 
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
19140
 
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
19141
 
   { (exit 1); exit 1; }; }
 
16285
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
19142
16286
    fi
19143
16287
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
19144
16288
    >"po/stamp-it.tmp"
19161
16305
done # for ac_tag
19162
16306
 
19163
16307
 
19164
 
{ (exit 0); exit 0; }
 
16308
as_fn_exit 0
19165
16309
_ACEOF
19166
 
chmod +x $CONFIG_STATUS
19167
16310
ac_clean_files=$ac_clean_files_save
19168
16311
 
19169
16312
test $ac_write_fail = 0 ||
19170
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19171
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19172
 
   { (exit 1); exit 1; }; }
 
16313
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
19173
16314
 
19174
16315
 
19175
16316
# configure is writing to config.log, and then calls config.status.
19190
16331
  exec 5>>config.log
19191
16332
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19192
16333
  # would make configure fail if this is the last instruction.
19193
 
  $ac_cs_success || { (exit 1); exit 1; }
 
16334
  $ac_cs_success || as_fn_exit $?
19194
16335
fi
19195
16336
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19196
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
16337
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19197
16338
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19198
16339
fi
19199
16340