~ubuntu-branches/ubuntu/oneiric/cups-pk-helper/oneiric-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Guido Günther
  • Date: 2011-04-12 19:01:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110412190148-s996ir8ie0lulg4a
Tags: 0.1.2-1
* [019a316] New upstream version 0.1.2 (Closes: #622366)
* [22a7fb4] Add Vcs links for Debian and Upstream
* [5acc7f6] Add watch file
* [e12aaf4] Drop patches, fixed upstream

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 cups-pk-helper 0.1.0.
4
 
#
5
 
# Report bugs to <mailto:vuntz@novell.com>.
 
3
# Generated by GNU Autoconf 2.65 for cups-pk-helper 0.1.2.
 
4
#
 
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=cups-pk-helper>.
 
6
#
6
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
# Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
case $0 in #((
100
95
  *[\\/]* ) as_myself=$0 ;;
101
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
97
for as_dir in $PATH
103
98
do
104
99
  IFS=$as_save_IFS
105
100
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
108
103
IFS=$as_save_IFS
109
104
 
110
105
     ;;
116
111
fi
117
112
if test ! -f "$as_myself"; then
118
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
114
  exit 1
120
115
fi
121
116
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
124
done
126
125
PS1='$ '
127
126
PS2='> '
133
132
LANGUAGE=C
134
133
export LANGUAGE
135
134
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
135
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
137
 
175
138
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
177
178
  as_have_required=yes
178
179
else
179
180
  as_have_required=no
180
181
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
 
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
188
do
245
189
  IFS=$as_save_IFS
246
190
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
191
  as_found=:
 
192
  case $as_dir in #(
248
193
         /*)
249
194
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
251
204
           done;;
252
205
       esac
 
206
  as_found=false
253
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
254
212
IFS=$as_save_IFS
255
213
 
256
214
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
222
        export CONFIG_SHELL
368
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
224
fi
370
225
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
234
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=cups-pk-helper
 
235
$0: about your system, including any error possibly output
 
236
$0: before this message. Then install a modern shell, or
 
237
$0: manually run the script under such a shell if you do
 
238
$0: have one."
 
239
  fi
 
240
  exit 1
 
241
fi
 
242
fi
 
243
fi
 
244
SHELL=${CONFIG_SHELL-/bin/sh}
 
245
export SHELL
 
246
# Unset more variables known to interfere with behavior of common tools.
 
247
CLICOLOR_FORCE= GREP_OPTIONS=
 
248
unset CLICOLOR_FORCE GREP_OPTIONS
 
249
 
 
250
## --------------------- ##
 
251
## M4sh Shell Functions. ##
 
252
## --------------------- ##
 
253
# as_fn_unset VAR
 
254
# ---------------
 
255
# Portably unset VAR.
 
256
as_fn_unset ()
 
257
{
 
258
  { eval $1=; unset $1;}
 
259
}
 
260
as_unset=as_fn_unset
 
261
 
 
262
# as_fn_set_status STATUS
 
263
# -----------------------
 
264
# Set $? to STATUS, without forking.
 
265
as_fn_set_status ()
 
266
{
 
267
  return $1
 
268
} # as_fn_set_status
 
269
 
 
270
# as_fn_exit STATUS
 
271
# -----------------
 
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
273
as_fn_exit ()
 
274
{
 
275
  set +e
 
276
  as_fn_set_status $1
 
277
  exit $1
 
278
} # as_fn_exit
 
279
 
 
280
# as_fn_mkdir_p
 
281
# -------------
 
282
# Create "$as_dir" as a directory, including parents if necessary.
 
283
as_fn_mkdir_p ()
 
284
{
 
285
 
 
286
  case $as_dir in #(
 
287
  -*) as_dir=./$as_dir;;
 
288
  esac
 
289
  test -d "$as_dir" || eval $as_mkdir_p || {
 
290
    as_dirs=
 
291
    while :; do
 
292
      case $as_dir in #(
 
293
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
294
      *) as_qdir=$as_dir;;
 
295
      esac
 
296
      as_dirs="'$as_qdir' $as_dirs"
 
297
      as_dir=`$as_dirname -- "$as_dir" ||
 
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
299
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
300
         X"$as_dir" : 'X\(//\)$' \| \
 
301
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
302
$as_echo X"$as_dir" |
 
303
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)[^/].*/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\/\)$/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          /^X\(\/\).*/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          s/.*/./; q'`
 
320
      test -d "$as_dir" && break
 
321
    done
 
322
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
323
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
324
 
 
325
 
 
326
} # as_fn_mkdir_p
 
327
# as_fn_append VAR VALUE
 
328
# ----------------------
 
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
330
# advantage of any shell optimizations that allow amortized linear growth over
 
331
# repeated appends, instead of the typical quadratic growth present in naive
 
332
# implementations.
 
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
334
  eval 'as_fn_append ()
 
335
  {
 
336
    eval $1+=\$2
 
337
  }'
 
338
else
 
339
  as_fn_append ()
 
340
  {
 
341
    eval $1=\$$1\$2
 
342
  }
 
343
fi # as_fn_append
 
344
 
 
345
# as_fn_arith ARG...
 
346
# ------------------
 
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
349
# must be portable across $(()) and expr.
 
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
351
  eval 'as_fn_arith ()
 
352
  {
 
353
    as_val=$(( $* ))
 
354
  }'
 
355
else
 
356
  as_fn_arith ()
 
357
  {
 
358
    as_val=`expr "$@" || test $? -eq 1`
 
359
  }
 
360
fi # as_fn_arith
 
361
 
 
362
 
 
363
# as_fn_error ERROR [LINENO LOG_FD]
 
364
# ---------------------------------
 
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
367
# script with status $?, using 1 if that was 0.
 
368
as_fn_error ()
 
369
{
 
370
  as_status=$?; test $as_status -eq 0 && as_status=1
 
371
  if test "$3"; then
 
372
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
373
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
374
  fi
 
375
  $as_echo "$as_me: error: $1" >&2
 
376
  as_fn_exit $as_status
 
377
} # as_fn_error
 
378
 
 
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
380
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
381
  as_expr=expr
 
382
else
 
383
  as_expr=false
 
384
fi
 
385
 
 
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
387
  as_basename=basename
 
388
else
 
389
  as_basename=false
 
390
fi
 
391
 
 
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
393
  as_dirname=dirname
 
394
else
 
395
  as_dirname=false
 
396
fi
 
397
 
 
398
as_me=`$as_basename -- "$0" ||
 
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
400
         X"$0" : 'X\(//\)$' \| \
 
401
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
402
$as_echo X/"$0" |
 
403
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\/\)$/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          /^X\/\(\/\).*/{
 
412
            s//\1/
 
413
            q
 
414
          }
 
415
          s/.*/./; q'`
 
416
 
 
417
# Avoid depending upon Character Ranges.
 
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
421
as_cr_digits='0123456789'
 
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
426
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
427
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
428
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
429
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
430
  sed -n '
461
431
    p
462
432
    /[$]LINENO/=
473
443
      s/-\n.*//
474
444
    ' >$as_me.lineno &&
475
445
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
446
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
447
 
479
448
  # Don't try to exec as it changes $[0], causing all sort of problems
480
449
  # (the dirname of $[0] is not the place where we might find the
484
453
  exit
485
454
}
486
455
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
456
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
457
case `echo -n x` in #(((((
496
458
-n*)
497
 
  case `echo 'x\c'` in
 
459
  case `echo 'xy\c'` in
498
460
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
461
  xy)  ECHO_C='\c';;
 
462
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
463
       ECHO_T=' ';;
500
464
  esac;;
501
465
*)
502
466
  ECHO_N='-n';;
503
467
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
468
 
511
469
rm -f conf$$ conf$$.exe conf$$.file
512
470
if test -d conf$$.dir; then
536
494
rmdir conf$$.dir 2>/dev/null
537
495
 
538
496
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
497
  as_mkdir_p='mkdir -p "$as_dir"'
540
498
else
541
499
  test -d ./-p && rmdir ./-p
542
500
  as_mkdir_p=false
555
513
      if test -d "$1"; then
556
514
        test -d "$1/.";
557
515
      else
558
 
        case $1 in
 
516
        case $1 in #(
559
517
        -*)set "./$1";;
560
518
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
519
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
520
        ???[sx]*):;;*)false;;esac;fi
563
521
    '\'' sh
564
522
  '
573
531
 
574
532
 
575
533
 
576
 
 
577
534
# Check that we are running under the correct shell.
578
535
SHELL=${CONFIG_SHELL-/bin/sh}
579
536
 
722
679
 
723
680
 
724
681
 
725
 
exec 7<&0 </dev/null 6>&1
 
682
test -n "$DJDIR" || exec 7<&0 </dev/null
 
683
exec 6>&1
726
684
 
727
685
# Name of the host.
728
686
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
740
698
subdirs=
741
699
MFLAGS=
742
700
MAKEFLAGS=
743
 
SHELL=${CONFIG_SHELL-/bin/sh}
744
701
 
745
702
# Identity of this package.
746
703
PACKAGE_NAME='cups-pk-helper'
747
704
PACKAGE_TARNAME='cups-pk-helper'
748
 
PACKAGE_VERSION='0.1.0'
749
 
PACKAGE_STRING='cups-pk-helper 0.1.0'
750
 
PACKAGE_BUGREPORT='mailto:vuntz@novell.com'
 
705
PACKAGE_VERSION='0.1.2'
 
706
PACKAGE_STRING='cups-pk-helper 0.1.2'
 
707
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=cups-pk-helper'
 
708
PACKAGE_URL=''
751
709
 
752
710
ac_unique_file="src/cups-pk-helper-mechanism.c"
753
711
# Factoring default headers for most tests.
795
753
CUPS_PK_GNOME_CFLAGS
796
754
CUPS_PK_LIBS
797
755
CUPS_PK_CFLAGS
 
756
PKG_CONFIG_LIBDIR
 
757
PKG_CONFIG_PATH
798
758
PKG_CONFIG
799
759
DISABLE_DEPRECATED_CFLAGS
800
760
WARN_CFLAGS
944
904
program_transform_name
945
905
prefix
946
906
exec_prefix
 
907
PACKAGE_URL
947
908
PACKAGE_BUGREPORT
948
909
PACKAGE_STRING
949
910
PACKAGE_VERSION
966
927
enable_nls
967
928
enable_compile_warnings
968
929
enable_iso_c
969
 
enable_deprecations
 
930
enable_deprecation_flags
970
931
'
971
932
      ac_precious_vars='build_alias
972
933
host_alias
978
939
CPPFLAGS
979
940
CPP
980
941
PKG_CONFIG
 
942
PKG_CONFIG_PATH
 
943
PKG_CONFIG_LIBDIR
981
944
CUPS_PK_CFLAGS
982
945
CUPS_PK_LIBS
983
946
CUPS_PK_GNOME_CFLAGS
1090
1053
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1091
1054
    # Reject names that are not valid shell variable names.
1092
1055
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1094
 
   { (exit 1); exit 1; }; }
 
1056
      as_fn_error "invalid feature name: $ac_useropt"
1095
1057
    ac_useropt_orig=$ac_useropt
1096
1058
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097
1059
    case $ac_user_opts in
1117
1079
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1118
1080
    # Reject names that are not valid shell variable names.
1119
1081
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1121
 
   { (exit 1); exit 1; }; }
 
1082
      as_fn_error "invalid feature name: $ac_useropt"
1122
1083
    ac_useropt_orig=$ac_useropt
1123
1084
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124
1085
    case $ac_user_opts in
1322
1283
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1323
1284
    # Reject names that are not valid shell variable names.
1324
1285
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1325
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1326
 
   { (exit 1); exit 1; }; }
 
1286
      as_fn_error "invalid package name: $ac_useropt"
1327
1287
    ac_useropt_orig=$ac_useropt
1328
1288
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329
1289
    case $ac_user_opts in
1339
1299
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1340
1300
    # Reject names that are not valid shell variable names.
1341
1301
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1342
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1343
 
   { (exit 1); exit 1; }; }
 
1302
      as_fn_error "invalid package name: $ac_useropt"
1344
1303
    ac_useropt_orig=$ac_useropt
1345
1304
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1346
1305
    case $ac_user_opts in
1370
1329
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1371
1330
    x_libraries=$ac_optarg ;;
1372
1331
 
1373
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1374
 
Try \`$0 --help' for more information." >&2
1375
 
   { (exit 1); exit 1; }; }
 
1332
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1333
Try \`$0 --help' for more information."
1376
1334
    ;;
1377
1335
 
1378
1336
  *=*)
1379
1337
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1380
1338
    # Reject names that are not valid shell variable names.
1381
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1382
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1383
 
   { (exit 1); exit 1; }; }
 
1339
    case $ac_envvar in #(
 
1340
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1341
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1342
    esac
1384
1343
    eval $ac_envvar=\$ac_optarg
1385
1344
    export $ac_envvar ;;
1386
1345
 
1397
1356
 
1398
1357
if test -n "$ac_prev"; then
1399
1358
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1400
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1401
 
   { (exit 1); exit 1; }; }
 
1359
  as_fn_error "missing argument to $ac_option"
1402
1360
fi
1403
1361
 
1404
1362
if test -n "$ac_unrecognized_opts"; then
1405
1363
  case $enable_option_checking in
1406
1364
    no) ;;
1407
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1408
 
   { (exit 1); exit 1; }; } ;;
 
1365
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1409
1366
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1410
1367
  esac
1411
1368
fi
1428
1385
    [\\/$]* | ?:[\\/]* )  continue;;
1429
1386
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1430
1387
  esac
1431
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1432
 
   { (exit 1); exit 1; }; }
 
1388
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1433
1389
done
1434
1390
 
1435
1391
# There might be people who depend on the old broken behavior: `$host'
1459
1415
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1460
1416
ac_ls_di=`ls -di .` &&
1461
1417
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1462
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1463
 
   { (exit 1); exit 1; }; }
 
1418
  as_fn_error "working directory cannot be determined"
1464
1419
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1465
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1466
 
   { (exit 1); exit 1; }; }
 
1420
  as_fn_error "pwd does not report name of working directory"
1467
1421
 
1468
1422
 
1469
1423
# Find the source files, if location was not specified.
1502
1456
fi
1503
1457
if test ! -r "$srcdir/$ac_unique_file"; then
1504
1458
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1505
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1506
 
   { (exit 1); exit 1; }; }
 
1459
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1507
1460
fi
1508
1461
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1509
1462
ac_abs_confdir=`(
1510
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1511
 
   { (exit 1); exit 1; }; }
 
1463
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1512
1464
        pwd)`
1513
1465
# When building in place, set srcdir=.
1514
1466
if test "$ac_abs_confdir" = "$ac_pwd"; then
1534
1486
  # Omit some internal or obsolete options to make the list less imposing.
1535
1487
  # This message is too long to be a string in the A/UX 3.1 sh.
1536
1488
  cat <<_ACEOF
1537
 
\`configure' configures cups-pk-helper 0.1.0 to adapt to many kinds of systems.
 
1489
\`configure' configures cups-pk-helper 0.1.2 to adapt to many kinds of systems.
1538
1490
 
1539
1491
Usage: $0 [OPTION]... [VAR=VALUE]...
1540
1492
 
1604
1556
 
1605
1557
if test -n "$ac_init_help"; then
1606
1558
  case $ac_init_help in
1607
 
     short | recursive ) echo "Configuration of cups-pk-helper 0.1.0:";;
 
1559
     short | recursive ) echo "Configuration of cups-pk-helper 0.1.2:";;
1608
1560
   esac
1609
1561
  cat <<\_ACEOF
1610
1562
 
1627
1579
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1628
1580
                          Turn on compiler warnings
1629
1581
  --enable-iso-c          Try to warn if code is not ISO C
1630
 
  --enable-deprecations   warn about deprecated usages [default=no]
 
1582
  --enable-deprecation-flags
 
1583
                          use *_DISABLE_DEPRECATED flags [default=no]
1631
1584
 
1632
1585
Optional Packages:
1633
1586
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1642
1595
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1643
1596
              nonstandard directory <lib dir>
1644
1597
  LIBS        libraries to pass to the linker, e.g. -l<library>
1645
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1598
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1646
1599
              you have headers in a nonstandard directory <include dir>
1647
1600
  CPP         C preprocessor
1648
1601
  PKG_CONFIG  path to pkg-config utility
 
1602
  PKG_CONFIG_PATH
 
1603
              directories to add to pkg-config's search path
 
1604
  PKG_CONFIG_LIBDIR
 
1605
              path overriding pkg-config's built-in search path
1649
1606
  CUPS_PK_CFLAGS
1650
1607
              C compiler flags for CUPS_PK, overriding pkg-config
1651
1608
  CUPS_PK_LIBS
1658
1615
Use these variables to override the choices made by `configure' or to help
1659
1616
it to find libraries and programs with nonstandard names/locations.
1660
1617
 
1661
 
Report bugs to <mailto:vuntz@novell.com>.
 
1618
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=cups-pk-helper>.
1662
1619
_ACEOF
1663
1620
ac_status=$?
1664
1621
fi
1721
1678
test -n "$ac_init_help" && exit $ac_status
1722
1679
if $ac_init_version; then
1723
1680
  cat <<\_ACEOF
1724
 
cups-pk-helper configure 0.1.0
1725
 
generated by GNU Autoconf 2.63
 
1681
cups-pk-helper configure 0.1.2
 
1682
generated by GNU Autoconf 2.65
1726
1683
 
1727
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1728
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1684
Copyright (C) 2009 Free Software Foundation, Inc.
1729
1685
This configure script is free software; the Free Software Foundation
1730
1686
gives unlimited permission to copy, distribute and modify it.
1731
1687
_ACEOF
1732
1688
  exit
1733
1689
fi
 
1690
 
 
1691
## ------------------------ ##
 
1692
## Autoconf initialization. ##
 
1693
## ------------------------ ##
 
1694
 
 
1695
# ac_fn_c_try_compile LINENO
 
1696
# --------------------------
 
1697
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1698
ac_fn_c_try_compile ()
 
1699
{
 
1700
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1701
  rm -f conftest.$ac_objext
 
1702
  if { { ac_try="$ac_compile"
 
1703
case "(($ac_try" in
 
1704
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1705
  *) ac_try_echo=$ac_try;;
 
1706
esac
 
1707
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1708
$as_echo "$ac_try_echo"; } >&5
 
1709
  (eval "$ac_compile") 2>conftest.err
 
1710
  ac_status=$?
 
1711
  if test -s conftest.err; then
 
1712
    grep -v '^ *+' conftest.err >conftest.er1
 
1713
    cat conftest.er1 >&5
 
1714
    mv -f conftest.er1 conftest.err
 
1715
  fi
 
1716
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1717
  test $ac_status = 0; } && {
 
1718
         test -z "$ac_c_werror_flag" ||
 
1719
         test ! -s conftest.err
 
1720
       } && test -s conftest.$ac_objext; then :
 
1721
  ac_retval=0
 
1722
else
 
1723
  $as_echo "$as_me: failed program was:" >&5
 
1724
sed 's/^/| /' conftest.$ac_ext >&5
 
1725
 
 
1726
        ac_retval=1
 
1727
fi
 
1728
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1729
  as_fn_set_status $ac_retval
 
1730
 
 
1731
} # ac_fn_c_try_compile
 
1732
 
 
1733
# ac_fn_c_try_link LINENO
 
1734
# -----------------------
 
1735
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1736
ac_fn_c_try_link ()
 
1737
{
 
1738
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1739
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1740
  if { { ac_try="$ac_link"
 
1741
case "(($ac_try" in
 
1742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1743
  *) ac_try_echo=$ac_try;;
 
1744
esac
 
1745
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1746
$as_echo "$ac_try_echo"; } >&5
 
1747
  (eval "$ac_link") 2>conftest.err
 
1748
  ac_status=$?
 
1749
  if test -s conftest.err; then
 
1750
    grep -v '^ *+' conftest.err >conftest.er1
 
1751
    cat conftest.er1 >&5
 
1752
    mv -f conftest.er1 conftest.err
 
1753
  fi
 
1754
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1755
  test $ac_status = 0; } && {
 
1756
         test -z "$ac_c_werror_flag" ||
 
1757
         test ! -s conftest.err
 
1758
       } && test -s conftest$ac_exeext && {
 
1759
         test "$cross_compiling" = yes ||
 
1760
         $as_test_x conftest$ac_exeext
 
1761
       }; then :
 
1762
  ac_retval=0
 
1763
else
 
1764
  $as_echo "$as_me: failed program was:" >&5
 
1765
sed 's/^/| /' conftest.$ac_ext >&5
 
1766
 
 
1767
        ac_retval=1
 
1768
fi
 
1769
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1770
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1771
  # interfere with the next link command; also delete a directory that is
 
1772
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1773
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1774
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1775
  as_fn_set_status $ac_retval
 
1776
 
 
1777
} # ac_fn_c_try_link
 
1778
 
 
1779
# ac_fn_c_try_cpp LINENO
 
1780
# ----------------------
 
1781
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1782
ac_fn_c_try_cpp ()
 
1783
{
 
1784
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1785
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1786
case "(($ac_try" in
 
1787
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1788
  *) ac_try_echo=$ac_try;;
 
1789
esac
 
1790
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1791
$as_echo "$ac_try_echo"; } >&5
 
1792
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1793
  ac_status=$?
 
1794
  if test -s conftest.err; then
 
1795
    grep -v '^ *+' conftest.err >conftest.er1
 
1796
    cat conftest.er1 >&5
 
1797
    mv -f conftest.er1 conftest.err
 
1798
  fi
 
1799
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1800
  test $ac_status = 0; } >/dev/null && {
 
1801
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1802
         test ! -s conftest.err
 
1803
       }; then :
 
1804
  ac_retval=0
 
1805
else
 
1806
  $as_echo "$as_me: failed program was:" >&5
 
1807
sed 's/^/| /' conftest.$ac_ext >&5
 
1808
 
 
1809
    ac_retval=1
 
1810
fi
 
1811
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1812
  as_fn_set_status $ac_retval
 
1813
 
 
1814
} # ac_fn_c_try_cpp
 
1815
 
 
1816
# ac_fn_c_try_run LINENO
 
1817
# ----------------------
 
1818
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1819
# that executables *can* be run.
 
1820
ac_fn_c_try_run ()
 
1821
{
 
1822
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1823
  if { { ac_try="$ac_link"
 
1824
case "(($ac_try" in
 
1825
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1826
  *) ac_try_echo=$ac_try;;
 
1827
esac
 
1828
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1829
$as_echo "$ac_try_echo"; } >&5
 
1830
  (eval "$ac_link") 2>&5
 
1831
  ac_status=$?
 
1832
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1833
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1834
  { { case "(($ac_try" in
 
1835
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1836
  *) ac_try_echo=$ac_try;;
 
1837
esac
 
1838
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1839
$as_echo "$ac_try_echo"; } >&5
 
1840
  (eval "$ac_try") 2>&5
 
1841
  ac_status=$?
 
1842
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1843
  test $ac_status = 0; }; }; then :
 
1844
  ac_retval=0
 
1845
else
 
1846
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1847
       $as_echo "$as_me: failed program was:" >&5
 
1848
sed 's/^/| /' conftest.$ac_ext >&5
 
1849
 
 
1850
       ac_retval=$ac_status
 
1851
fi
 
1852
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1853
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1854
  as_fn_set_status $ac_retval
 
1855
 
 
1856
} # ac_fn_c_try_run
 
1857
 
 
1858
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1859
# -------------------------------------------------------
 
1860
# Tests whether HEADER exists and can be compiled using the include files in
 
1861
# INCLUDES, setting the cache variable VAR accordingly.
 
1862
ac_fn_c_check_header_compile ()
 
1863
{
 
1864
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1865
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1866
$as_echo_n "checking for $2... " >&6; }
 
1867
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1868
  $as_echo_n "(cached) " >&6
 
1869
else
 
1870
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1871
/* end confdefs.h.  */
 
1872
$4
 
1873
#include <$2>
 
1874
_ACEOF
 
1875
if ac_fn_c_try_compile "$LINENO"; then :
 
1876
  eval "$3=yes"
 
1877
else
 
1878
  eval "$3=no"
 
1879
fi
 
1880
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1881
fi
 
1882
eval ac_res=\$$3
 
1883
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1884
$as_echo "$ac_res" >&6; }
 
1885
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1886
 
 
1887
} # ac_fn_c_check_header_compile
 
1888
 
 
1889
# ac_fn_c_check_func LINENO FUNC VAR
 
1890
# ----------------------------------
 
1891
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1892
ac_fn_c_check_func ()
 
1893
{
 
1894
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1895
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1896
$as_echo_n "checking for $2... " >&6; }
 
1897
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1898
  $as_echo_n "(cached) " >&6
 
1899
else
 
1900
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1901
/* end confdefs.h.  */
 
1902
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1903
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1904
#define $2 innocuous_$2
 
1905
 
 
1906
/* System header to define __stub macros and hopefully few prototypes,
 
1907
    which can conflict with char $2 (); below.
 
1908
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1909
    <limits.h> exists even on freestanding compilers.  */
 
1910
 
 
1911
#ifdef __STDC__
 
1912
# include <limits.h>
 
1913
#else
 
1914
# include <assert.h>
 
1915
#endif
 
1916
 
 
1917
#undef $2
 
1918
 
 
1919
/* Override any GCC internal prototype to avoid an error.
 
1920
   Use char because int might match the return type of a GCC
 
1921
   builtin and then its argument prototype would still apply.  */
 
1922
#ifdef __cplusplus
 
1923
extern "C"
 
1924
#endif
 
1925
char $2 ();
 
1926
/* The GNU C library defines this for functions which it implements
 
1927
    to always fail with ENOSYS.  Some functions are actually named
 
1928
    something starting with __ and the normal name is an alias.  */
 
1929
#if defined __stub_$2 || defined __stub___$2
 
1930
choke me
 
1931
#endif
 
1932
 
 
1933
int
 
1934
main ()
 
1935
{
 
1936
return $2 ();
 
1937
  ;
 
1938
  return 0;
 
1939
}
 
1940
_ACEOF
 
1941
if ac_fn_c_try_link "$LINENO"; then :
 
1942
  eval "$3=yes"
 
1943
else
 
1944
  eval "$3=no"
 
1945
fi
 
1946
rm -f core conftest.err conftest.$ac_objext \
 
1947
    conftest$ac_exeext conftest.$ac_ext
 
1948
fi
 
1949
eval ac_res=\$$3
 
1950
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1951
$as_echo "$ac_res" >&6; }
 
1952
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1953
 
 
1954
} # ac_fn_c_check_func
 
1955
 
 
1956
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1957
# -------------------------------------------------------
 
1958
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1959
# the include files in INCLUDES and setting the cache variable VAR
 
1960
# accordingly.
 
1961
ac_fn_c_check_header_mongrel ()
 
1962
{
 
1963
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1964
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1965
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1966
$as_echo_n "checking for $2... " >&6; }
 
1967
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1968
  $as_echo_n "(cached) " >&6
 
1969
fi
 
1970
eval ac_res=\$$3
 
1971
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1972
$as_echo "$ac_res" >&6; }
 
1973
else
 
1974
  # Is the header compilable?
 
1975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1976
$as_echo_n "checking $2 usability... " >&6; }
 
1977
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1978
/* end confdefs.h.  */
 
1979
$4
 
1980
#include <$2>
 
1981
_ACEOF
 
1982
if ac_fn_c_try_compile "$LINENO"; then :
 
1983
  ac_header_compiler=yes
 
1984
else
 
1985
  ac_header_compiler=no
 
1986
fi
 
1987
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1989
$as_echo "$ac_header_compiler" >&6; }
 
1990
 
 
1991
# Is the header present?
 
1992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1993
$as_echo_n "checking $2 presence... " >&6; }
 
1994
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1995
/* end confdefs.h.  */
 
1996
#include <$2>
 
1997
_ACEOF
 
1998
if ac_fn_c_try_cpp "$LINENO"; then :
 
1999
  ac_header_preproc=yes
 
2000
else
 
2001
  ac_header_preproc=no
 
2002
fi
 
2003
rm -f conftest.err conftest.$ac_ext
 
2004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2005
$as_echo "$ac_header_preproc" >&6; }
 
2006
 
 
2007
# So?  What about this header?
 
2008
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2009
  yes:no: )
 
2010
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2011
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2012
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2013
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2014
    ;;
 
2015
  no:yes:* )
 
2016
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2017
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2018
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2019
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2020
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2021
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2022
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2023
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2024
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2025
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2026
( cat <<\_ASBOX
 
2027
## -------------------------------------------------------------------------------- ##
 
2028
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=cups-pk-helper ##
 
2029
## -------------------------------------------------------------------------------- ##
 
2030
_ASBOX
 
2031
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2032
    ;;
 
2033
esac
 
2034
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2035
$as_echo_n "checking for $2... " >&6; }
 
2036
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2037
  $as_echo_n "(cached) " >&6
 
2038
else
 
2039
  eval "$3=\$ac_header_compiler"
 
2040
fi
 
2041
eval ac_res=\$$3
 
2042
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2043
$as_echo "$ac_res" >&6; }
 
2044
fi
 
2045
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2046
 
 
2047
} # ac_fn_c_check_header_mongrel
1734
2048
cat >config.log <<_ACEOF
1735
2049
This file contains any messages produced by compilers while
1736
2050
running configure, to aid debugging if configure makes a mistake.
1737
2051
 
1738
 
It was created by cups-pk-helper $as_me 0.1.0, which was
1739
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2052
It was created by cups-pk-helper $as_me 0.1.2, which was
 
2053
generated by GNU Autoconf 2.65.  Invocation command line was
1740
2054
 
1741
2055
  $ $0 $@
1742
2056
 
1772
2086
do
1773
2087
  IFS=$as_save_IFS
1774
2088
  test -z "$as_dir" && as_dir=.
1775
 
  $as_echo "PATH: $as_dir"
1776
 
done
 
2089
    $as_echo "PATH: $as_dir"
 
2090
  done
1777
2091
IFS=$as_save_IFS
1778
2092
 
1779
2093
} >&5
1810
2124
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1811
2125
    esac
1812
2126
    case $ac_pass in
1813
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2127
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1814
2128
    2)
1815
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2129
      as_fn_append ac_configure_args1 " '$ac_arg'"
1816
2130
      if test $ac_must_keep_next = true; then
1817
2131
        ac_must_keep_next=false # Got value, back to normal.
1818
2132
      else
1828
2142
          -* ) ac_must_keep_next=true ;;
1829
2143
        esac
1830
2144
      fi
1831
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2145
      as_fn_append ac_configure_args " '$ac_arg'"
1832
2146
      ;;
1833
2147
    esac
1834
2148
  done
1835
2149
done
1836
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1837
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2150
{ ac_configure_args0=; unset ac_configure_args0;}
 
2151
{ ac_configure_args1=; unset ac_configure_args1;}
1838
2152
 
1839
2153
# When interrupted or exit'd, cleanup temporary files, and complete
1840
2154
# config.log.  We remove comments because anyway the quotes in there
1859
2173
    case $ac_val in #(
1860
2174
    *${as_nl}*)
1861
2175
      case $ac_var in #(
1862
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2176
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1863
2177
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1864
2178
      esac
1865
2179
      case $ac_var in #(
1866
2180
      _ | IFS | as_nl) ;; #(
1867
2181
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1868
 
      *) $as_unset $ac_var ;;
 
2182
      *) { eval $ac_var=; unset $ac_var;} ;;
1869
2183
      esac ;;
1870
2184
    esac
1871
2185
  done
1937
2251
    exit $exit_status
1938
2252
' 0
1939
2253
for ac_signal in 1 2 13 15; do
1940
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2254
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1941
2255
done
1942
2256
ac_signal=0
1943
2257
 
1944
2258
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1945
2259
rm -f -r conftest* confdefs.h
1946
2260
 
 
2261
$as_echo "/* confdefs.h */" > confdefs.h
 
2262
 
1947
2263
# Predefined preprocessor variables.
1948
2264
 
1949
2265
cat >>confdefs.h <<_ACEOF
1950
2266
#define PACKAGE_NAME "$PACKAGE_NAME"
1951
2267
_ACEOF
1952
2268
 
1953
 
 
1954
2269
cat >>confdefs.h <<_ACEOF
1955
2270
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1956
2271
_ACEOF
1957
2272
 
1958
 
 
1959
2273
cat >>confdefs.h <<_ACEOF
1960
2274
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1961
2275
_ACEOF
1962
2276
 
1963
 
 
1964
2277
cat >>confdefs.h <<_ACEOF
1965
2278
#define PACKAGE_STRING "$PACKAGE_STRING"
1966
2279
_ACEOF
1967
2280
 
1968
 
 
1969
2281
cat >>confdefs.h <<_ACEOF
1970
2282
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1971
2283
_ACEOF
1972
2284
 
 
2285
cat >>confdefs.h <<_ACEOF
 
2286
#define PACKAGE_URL "$PACKAGE_URL"
 
2287
_ACEOF
 
2288
 
1973
2289
 
1974
2290
# Let the site file select an alternate cache file if it wants to.
1975
2291
# Prefer an explicitly selected file to automatically selected ones.
1987
2303
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1988
2304
do
1989
2305
  test "x$ac_site_file" = xNONE && continue
1990
 
  if test -r "$ac_site_file"; then
1991
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2306
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2307
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1992
2308
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1993
2309
    sed 's/^/| /' "$ac_site_file" >&5
1994
2310
    . "$ac_site_file"
1996
2312
done
1997
2313
 
1998
2314
if test -r "$cache_file"; then
1999
 
  # Some versions of bash will fail to source /dev/null (special
2000
 
  # files actually), so we avoid doing that.
2001
 
  if test -f "$cache_file"; then
2002
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2315
  # Some versions of bash will fail to source /dev/null (special files
 
2316
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2317
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2318
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2003
2319
$as_echo "$as_me: loading cache $cache_file" >&6;}
2004
2320
    case $cache_file in
2005
2321
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2007
2323
    esac
2008
2324
  fi
2009
2325
else
2010
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2326
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2011
2327
$as_echo "$as_me: creating cache $cache_file" >&6;}
2012
2328
  >$cache_file
2013
2329
fi
2022
2338
  eval ac_new_val=\$ac_env_${ac_var}_value
2023
2339
  case $ac_old_set,$ac_new_set in
2024
2340
    set,)
2025
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2341
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2026
2342
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2027
2343
      ac_cache_corrupted=: ;;
2028
2344
    ,set)
2029
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2345
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2030
2346
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2031
2347
      ac_cache_corrupted=: ;;
2032
2348
    ,);;
2036
2352
        ac_old_val_w=`echo x $ac_old_val`
2037
2353
        ac_new_val_w=`echo x $ac_new_val`
2038
2354
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2039
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2355
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2040
2356
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2041
2357
          ac_cache_corrupted=:
2042
2358
        else
2043
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2359
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2044
2360
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2045
2361
          eval $ac_var=\$ac_old_val
2046
2362
        fi
2047
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2363
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2048
2364
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2049
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2365
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2050
2366
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2051
2367
      fi;;
2052
2368
  esac
2058
2374
    esac
2059
2375
    case " $ac_configure_args " in
2060
2376
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2061
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2377
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2062
2378
    esac
2063
2379
  fi
2064
2380
done
2065
2381
if $ac_cache_corrupted; then
2066
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2382
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2067
2383
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2068
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2384
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2069
2385
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2070
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2071
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2072
 
   { (exit 1); exit 1; }; }
 
2386
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2073
2387
fi
2074
 
 
2075
 
 
2076
 
 
2077
 
 
2078
 
 
2079
 
 
2080
 
 
2081
 
 
2082
 
 
2083
 
 
2084
 
 
2085
 
 
2086
 
 
2087
 
 
2088
 
 
2089
 
 
2090
 
 
2091
 
 
2092
 
 
2093
 
 
2094
 
 
2095
 
 
2096
 
 
2097
 
 
 
2388
## -------------------- ##
 
2389
## Main body of script. ##
 
2390
## -------------------- ##
2098
2391
 
2099
2392
ac_ext=c
2100
2393
ac_cpp='$CPP $CPPFLAGS'
2108
2401
 
2109
2402
ac_aux_dir=
2110
2403
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2111
 
  if test -f "$ac_dir/install-sh"; then
2112
 
    ac_aux_dir=$ac_dir
2113
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2114
 
    break
2115
 
  elif test -f "$ac_dir/install.sh"; then
2116
 
    ac_aux_dir=$ac_dir
2117
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2118
 
    break
2119
 
  elif test -f "$ac_dir/shtool"; then
2120
 
    ac_aux_dir=$ac_dir
2121
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2122
 
    break
2123
 
  fi
 
2404
  for ac_t in install-sh install.sh shtool; do
 
2405
    if test -f "$ac_dir/$ac_t"; then
 
2406
      ac_aux_dir=$ac_dir
 
2407
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2408
      break 2
 
2409
    fi
 
2410
  done
2124
2411
done
2125
2412
if test -z "$ac_aux_dir"; then
2126
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2127
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2128
 
   { (exit 1); exit 1; }; }
 
2413
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2129
2414
fi
2130
2415
 
2131
2416
# These three variables are undocumented and unsupported,
2151
2436
# OS/2's system install, which has a completely different semantic
2152
2437
# ./install, which can be erroneously created by make from ./install.sh.
2153
2438
# Reject install programs that cannot install multiple files.
2154
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2155
2440
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2156
2441
if test -z "$INSTALL"; then
2157
 
if test "${ac_cv_path_install+set}" = set; then
 
2442
if test "${ac_cv_path_install+set}" = set; then :
2158
2443
  $as_echo_n "(cached) " >&6
2159
2444
else
2160
2445
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162
2447
do
2163
2448
  IFS=$as_save_IFS
2164
2449
  test -z "$as_dir" && as_dir=.
2165
 
  # Account for people who put trailing slashes in PATH elements.
2166
 
case $as_dir/ in
2167
 
  ./ | .// | /cC/* | \
 
2450
    # Account for people who put trailing slashes in PATH elements.
 
2451
case $as_dir/ in #((
 
2452
  ./ | .// | /[cC]/* | \
2168
2453
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2169
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2454
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2170
2455
  /usr/ucb/* ) ;;
2171
2456
  *)
2172
2457
    # OSF1 and SCO ODT 3.0 have their own names for install.
2203
2488
    ;;
2204
2489
esac
2205
2490
 
2206
 
done
 
2491
  done
2207
2492
IFS=$as_save_IFS
2208
2493
 
2209
2494
rm -rf conftest.one conftest.two conftest.dir
2219
2504
    INSTALL=$ac_install_sh
2220
2505
  fi
2221
2506
fi
2222
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2223
2508
$as_echo "$INSTALL" >&6; }
2224
2509
 
2225
2510
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2230
2515
 
2231
2516
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2232
2517
 
2233
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2234
2519
$as_echo_n "checking whether build environment is sane... " >&6; }
2235
2520
# Just in case
2236
2521
sleep 1
2241
2526
'
2242
2527
case `pwd` in
2243
2528
  *[\\\"\#\$\&\'\`$am_lf]*)
2244
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2245
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2246
 
   { (exit 1); exit 1; }; };;
 
2529
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2247
2530
esac
2248
2531
case $srcdir in
2249
2532
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2250
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2251
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2252
 
   { (exit 1); exit 1; }; };;
 
2533
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2253
2534
esac
2254
2535
 
2255
2536
# Do `set' in a subshell so we don't clobber the current shell's
2271
2552
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2272
2553
      # broken ls alias from the environment.  This has actually
2273
2554
      # happened.  Such a system could not be considered "sane".
2274
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2275
 
alias in your environment" >&5
2276
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2277
 
alias in your environment" >&2;}
2278
 
   { (exit 1); exit 1; }; }
 
2555
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2556
alias in your environment" "$LINENO" 5
2279
2557
   fi
2280
2558
 
2281
2559
   test "$2" = conftest.file
2284
2562
   # Ok.
2285
2563
   :
2286
2564
else
2287
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2288
 
Check your system clock" >&5
2289
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2290
 
Check your system clock" >&2;}
2291
 
   { (exit 1); exit 1; }; }
 
2565
   as_fn_error "newly created file is older than distributed files!
 
2566
Check your system clock" "$LINENO" 5
2292
2567
fi
2293
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2294
2569
$as_echo "yes" >&6; }
2295
2570
test "$program_prefix" != NONE &&
2296
2571
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2318
2593
  am_missing_run="$MISSING --run "
2319
2594
else
2320
2595
  am_missing_run=
2321
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2596
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2322
2597
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2323
2598
fi
2324
2599
 
2339
2614
  if test -n "$ac_tool_prefix"; then
2340
2615
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2341
2616
set dummy ${ac_tool_prefix}strip; ac_word=$2
2342
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2343
2618
$as_echo_n "checking for $ac_word... " >&6; }
2344
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2619
if test "${ac_cv_prog_STRIP+set}" = set; then :
2345
2620
  $as_echo_n "(cached) " >&6
2346
2621
else
2347
2622
  if test -n "$STRIP"; then
2352
2627
do
2353
2628
  IFS=$as_save_IFS
2354
2629
  test -z "$as_dir" && as_dir=.
2355
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2630
    for ac_exec_ext in '' $ac_executable_extensions; do
2356
2631
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2357
2632
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2358
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2633
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2359
2634
    break 2
2360
2635
  fi
2361
2636
done
2362
 
done
 
2637
  done
2363
2638
IFS=$as_save_IFS
2364
2639
 
2365
2640
fi
2366
2641
fi
2367
2642
STRIP=$ac_cv_prog_STRIP
2368
2643
if test -n "$STRIP"; then
2369
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2370
2645
$as_echo "$STRIP" >&6; }
2371
2646
else
2372
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2647
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2373
2648
$as_echo "no" >&6; }
2374
2649
fi
2375
2650
 
2379
2654
  ac_ct_STRIP=$STRIP
2380
2655
  # Extract the first word of "strip", so it can be a program name with args.
2381
2656
set dummy strip; ac_word=$2
2382
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2383
2658
$as_echo_n "checking for $ac_word... " >&6; }
2384
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2659
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2385
2660
  $as_echo_n "(cached) " >&6
2386
2661
else
2387
2662
  if test -n "$ac_ct_STRIP"; then
2392
2667
do
2393
2668
  IFS=$as_save_IFS
2394
2669
  test -z "$as_dir" && as_dir=.
2395
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2670
    for ac_exec_ext in '' $ac_executable_extensions; do
2396
2671
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2397
2672
    ac_cv_prog_ac_ct_STRIP="strip"
2398
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2673
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2399
2674
    break 2
2400
2675
  fi
2401
2676
done
2402
 
done
 
2677
  done
2403
2678
IFS=$as_save_IFS
2404
2679
 
2405
2680
fi
2406
2681
fi
2407
2682
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2408
2683
if test -n "$ac_ct_STRIP"; then
2409
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2684
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2410
2685
$as_echo "$ac_ct_STRIP" >&6; }
2411
2686
else
2412
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2687
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2413
2688
$as_echo "no" >&6; }
2414
2689
fi
2415
2690
 
2418
2693
  else
2419
2694
    case $cross_compiling:$ac_tool_warned in
2420
2695
yes:)
2421
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2696
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2422
2697
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2423
2698
ac_tool_warned=yes ;;
2424
2699
esac
2431
2706
fi
2432
2707
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2433
2708
 
2434
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2435
2710
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2436
2711
if test -z "$MKDIR_P"; then
2437
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2712
  if test "${ac_cv_path_mkdir+set}" = set; then :
2438
2713
  $as_echo_n "(cached) " >&6
2439
2714
else
2440
2715
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2442
2717
do
2443
2718
  IFS=$as_save_IFS
2444
2719
  test -z "$as_dir" && as_dir=.
2445
 
  for ac_prog in mkdir gmkdir; do
 
2720
    for ac_prog in mkdir gmkdir; do
2446
2721
         for ac_exec_ext in '' $ac_executable_extensions; do
2447
2722
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2448
2723
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2454
2729
           esac
2455
2730
         done
2456
2731
       done
2457
 
done
 
2732
  done
2458
2733
IFS=$as_save_IFS
2459
2734
 
2460
2735
fi
2461
2736
 
 
2737
  test -d ./--version && rmdir ./--version
2462
2738
  if test "${ac_cv_path_mkdir+set}" = set; then
2463
2739
    MKDIR_P="$ac_cv_path_mkdir -p"
2464
2740
  else
2466
2742
    # value for MKDIR_P within a source directory, because that will
2467
2743
    # break other packages using the cache if that directory is
2468
2744
    # removed, or if the value is a relative name.
2469
 
    test -d ./--version && rmdir ./--version
2470
2745
    MKDIR_P="$ac_install_sh -d"
2471
2746
  fi
2472
2747
fi
2473
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2474
2749
$as_echo "$MKDIR_P" >&6; }
2475
2750
 
2476
2751
mkdir_p="$MKDIR_P"
2483
2758
do
2484
2759
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2485
2760
set dummy $ac_prog; ac_word=$2
2486
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2487
2762
$as_echo_n "checking for $ac_word... " >&6; }
2488
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2763
if test "${ac_cv_prog_AWK+set}" = set; then :
2489
2764
  $as_echo_n "(cached) " >&6
2490
2765
else
2491
2766
  if test -n "$AWK"; then
2496
2771
do
2497
2772
  IFS=$as_save_IFS
2498
2773
  test -z "$as_dir" && as_dir=.
2499
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2774
    for ac_exec_ext in '' $ac_executable_extensions; do
2500
2775
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2501
2776
    ac_cv_prog_AWK="$ac_prog"
2502
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2777
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2503
2778
    break 2
2504
2779
  fi
2505
2780
done
2506
 
done
 
2781
  done
2507
2782
IFS=$as_save_IFS
2508
2783
 
2509
2784
fi
2510
2785
fi
2511
2786
AWK=$ac_cv_prog_AWK
2512
2787
if test -n "$AWK"; then
2513
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2514
2789
$as_echo "$AWK" >&6; }
2515
2790
else
2516
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2517
2792
$as_echo "no" >&6; }
2518
2793
fi
2519
2794
 
2521
2796
  test -n "$AWK" && break
2522
2797
done
2523
2798
 
2524
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2525
2800
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2526
2801
set x ${MAKE-make}
2527
2802
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2528
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2803
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2529
2804
  $as_echo_n "(cached) " >&6
2530
2805
else
2531
2806
  cat >conftest.make <<\_ACEOF
2543
2818
rm -f conftest.make
2544
2819
fi
2545
2820
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2546
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2821
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2547
2822
$as_echo "yes" >&6; }
2548
2823
  SET_MAKE=
2549
2824
else
2550
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2825
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2551
2826
$as_echo "no" >&6; }
2552
2827
  SET_MAKE="MAKE=${MAKE-make}"
2553
2828
fi
2567
2842
  am__isrc=' -I$(srcdir)'
2568
2843
  # test to see if srcdir already configured
2569
2844
  if test -f $srcdir/config.status; then
2570
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2571
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2572
 
   { (exit 1); exit 1; }; }
 
2845
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2573
2846
  fi
2574
2847
fi
2575
2848
 
2585
2858
 
2586
2859
# Define the identity of the package.
2587
2860
 PACKAGE='cups-pk-helper'
2588
 
 VERSION='0.1.0'
 
2861
 VERSION='0.1.2'
2589
2862
 
2590
2863
 
2591
2864
cat >>confdefs.h <<_ACEOF
2626
2899
 
2627
2900
 
2628
2901
# Check whether --enable-silent-rules was given.
2629
 
if test "${enable_silent_rules+set}" = set; then
 
2902
if test "${enable_silent_rules+set}" = set; then :
2630
2903
  enableval=$enable_silent_rules;
2631
2904
fi
2632
2905
 
2641
2914
 
2642
2915
 
2643
2916
 
2644
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2645
2918
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2646
2919
    # Check whether --enable-maintainer-mode was given.
2647
 
if test "${enable_maintainer_mode+set}" = set; then
 
2920
if test "${enable_maintainer_mode+set}" = set; then :
2648
2921
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2649
2922
else
2650
2923
  USE_MAINTAINER_MODE=no
2651
2924
fi
2652
2925
 
2653
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2926
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2654
2927
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2655
2928
   if test $USE_MAINTAINER_MODE = yes; then
2656
2929
  MAINTAINER_MODE_TRUE=
2686
2959
if test -n "$ac_tool_prefix"; then
2687
2960
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2688
2961
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2689
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690
2963
$as_echo_n "checking for $ac_word... " >&6; }
2691
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2964
if test "${ac_cv_prog_CC+set}" = set; then :
2692
2965
  $as_echo_n "(cached) " >&6
2693
2966
else
2694
2967
  if test -n "$CC"; then
2699
2972
do
2700
2973
  IFS=$as_save_IFS
2701
2974
  test -z "$as_dir" && as_dir=.
2702
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2975
    for ac_exec_ext in '' $ac_executable_extensions; do
2703
2976
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704
2977
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2705
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2978
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706
2979
    break 2
2707
2980
  fi
2708
2981
done
2709
 
done
 
2982
  done
2710
2983
IFS=$as_save_IFS
2711
2984
 
2712
2985
fi
2713
2986
fi
2714
2987
CC=$ac_cv_prog_CC
2715
2988
if test -n "$CC"; then
2716
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2989
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2717
2990
$as_echo "$CC" >&6; }
2718
2991
else
2719
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2992
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720
2993
$as_echo "no" >&6; }
2721
2994
fi
2722
2995
 
2726
2999
  ac_ct_CC=$CC
2727
3000
  # Extract the first word of "gcc", so it can be a program name with args.
2728
3001
set dummy gcc; ac_word=$2
2729
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730
3003
$as_echo_n "checking for $ac_word... " >&6; }
2731
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3004
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2732
3005
  $as_echo_n "(cached) " >&6
2733
3006
else
2734
3007
  if test -n "$ac_ct_CC"; then
2739
3012
do
2740
3013
  IFS=$as_save_IFS
2741
3014
  test -z "$as_dir" && as_dir=.
2742
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3015
    for ac_exec_ext in '' $ac_executable_extensions; do
2743
3016
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744
3017
    ac_cv_prog_ac_ct_CC="gcc"
2745
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3018
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746
3019
    break 2
2747
3020
  fi
2748
3021
done
2749
 
done
 
3022
  done
2750
3023
IFS=$as_save_IFS
2751
3024
 
2752
3025
fi
2753
3026
fi
2754
3027
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2755
3028
if test -n "$ac_ct_CC"; then
2756
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3029
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2757
3030
$as_echo "$ac_ct_CC" >&6; }
2758
3031
else
2759
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3032
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2760
3033
$as_echo "no" >&6; }
2761
3034
fi
2762
3035
 
2765
3038
  else
2766
3039
    case $cross_compiling:$ac_tool_warned in
2767
3040
yes:)
2768
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3041
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2769
3042
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2770
3043
ac_tool_warned=yes ;;
2771
3044
esac
2779
3052
          if test -n "$ac_tool_prefix"; then
2780
3053
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2781
3054
set dummy ${ac_tool_prefix}cc; ac_word=$2
2782
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783
3056
$as_echo_n "checking for $ac_word... " >&6; }
2784
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3057
if test "${ac_cv_prog_CC+set}" = set; then :
2785
3058
  $as_echo_n "(cached) " >&6
2786
3059
else
2787
3060
  if test -n "$CC"; then
2792
3065
do
2793
3066
  IFS=$as_save_IFS
2794
3067
  test -z "$as_dir" && as_dir=.
2795
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3068
    for ac_exec_ext in '' $ac_executable_extensions; do
2796
3069
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797
3070
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2798
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3071
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2799
3072
    break 2
2800
3073
  fi
2801
3074
done
2802
 
done
 
3075
  done
2803
3076
IFS=$as_save_IFS
2804
3077
 
2805
3078
fi
2806
3079
fi
2807
3080
CC=$ac_cv_prog_CC
2808
3081
if test -n "$CC"; then
2809
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3082
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2810
3083
$as_echo "$CC" >&6; }
2811
3084
else
2812
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3085
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813
3086
$as_echo "no" >&6; }
2814
3087
fi
2815
3088
 
2819
3092
if test -z "$CC"; then
2820
3093
  # Extract the first word of "cc", so it can be a program name with args.
2821
3094
set dummy cc; ac_word=$2
2822
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823
3096
$as_echo_n "checking for $ac_word... " >&6; }
2824
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3097
if test "${ac_cv_prog_CC+set}" = set; then :
2825
3098
  $as_echo_n "(cached) " >&6
2826
3099
else
2827
3100
  if test -n "$CC"; then
2833
3106
do
2834
3107
  IFS=$as_save_IFS
2835
3108
  test -z "$as_dir" && as_dir=.
2836
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3109
    for ac_exec_ext in '' $ac_executable_extensions; do
2837
3110
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838
3111
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2839
3112
       ac_prog_rejected=yes
2840
3113
       continue
2841
3114
     fi
2842
3115
    ac_cv_prog_CC="cc"
2843
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3116
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844
3117
    break 2
2845
3118
  fi
2846
3119
done
2847
 
done
 
3120
  done
2848
3121
IFS=$as_save_IFS
2849
3122
 
2850
3123
if test $ac_prog_rejected = yes; then
2863
3136
fi
2864
3137
CC=$ac_cv_prog_CC
2865
3138
if test -n "$CC"; then
2866
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3139
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2867
3140
$as_echo "$CC" >&6; }
2868
3141
else
2869
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3142
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870
3143
$as_echo "no" >&6; }
2871
3144
fi
2872
3145
 
2878
3151
  do
2879
3152
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2880
3153
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2881
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882
3155
$as_echo_n "checking for $ac_word... " >&6; }
2883
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3156
if test "${ac_cv_prog_CC+set}" = set; then :
2884
3157
  $as_echo_n "(cached) " >&6
2885
3158
else
2886
3159
  if test -n "$CC"; then
2891
3164
do
2892
3165
  IFS=$as_save_IFS
2893
3166
  test -z "$as_dir" && as_dir=.
2894
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3167
    for ac_exec_ext in '' $ac_executable_extensions; do
2895
3168
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896
3169
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2897
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3170
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898
3171
    break 2
2899
3172
  fi
2900
3173
done
2901
 
done
 
3174
  done
2902
3175
IFS=$as_save_IFS
2903
3176
 
2904
3177
fi
2905
3178
fi
2906
3179
CC=$ac_cv_prog_CC
2907
3180
if test -n "$CC"; then
2908
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3181
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2909
3182
$as_echo "$CC" >&6; }
2910
3183
else
2911
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3184
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912
3185
$as_echo "no" >&6; }
2913
3186
fi
2914
3187
 
2922
3195
do
2923
3196
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2924
3197
set dummy $ac_prog; ac_word=$2
2925
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2926
3199
$as_echo_n "checking for $ac_word... " >&6; }
2927
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3200
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2928
3201
  $as_echo_n "(cached) " >&6
2929
3202
else
2930
3203
  if test -n "$ac_ct_CC"; then
2935
3208
do
2936
3209
  IFS=$as_save_IFS
2937
3210
  test -z "$as_dir" && as_dir=.
2938
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3211
    for ac_exec_ext in '' $ac_executable_extensions; do
2939
3212
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2940
3213
    ac_cv_prog_ac_ct_CC="$ac_prog"
2941
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3214
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2942
3215
    break 2
2943
3216
  fi
2944
3217
done
2945
 
done
 
3218
  done
2946
3219
IFS=$as_save_IFS
2947
3220
 
2948
3221
fi
2949
3222
fi
2950
3223
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2951
3224
if test -n "$ac_ct_CC"; then
2952
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3225
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2953
3226
$as_echo "$ac_ct_CC" >&6; }
2954
3227
else
2955
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3228
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2956
3229
$as_echo "no" >&6; }
2957
3230
fi
2958
3231
 
2965
3238
  else
2966
3239
    case $cross_compiling:$ac_tool_warned in
2967
3240
yes:)
2968
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3241
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2969
3242
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2970
3243
ac_tool_warned=yes ;;
2971
3244
esac
2976
3249
fi
2977
3250
 
2978
3251
 
2979
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3252
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2980
3253
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2981
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2982
 
See \`config.log' for more details." >&5
2983
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2984
 
See \`config.log' for more details." >&2;}
2985
 
   { (exit 1); exit 1; }; }; }
 
3254
as_fn_error "no acceptable C compiler found in \$PATH
 
3255
See \`config.log' for more details." "$LINENO" 5; }
2986
3256
 
2987
3257
# Provide some information about the compiler.
2988
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3258
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2989
3259
set X $ac_compile
2990
3260
ac_compiler=$2
2991
 
{ (ac_try="$ac_compiler --version >&5"
2992
 
case "(($ac_try" in
2993
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994
 
  *) ac_try_echo=$ac_try;;
2995
 
esac
2996
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2997
 
$as_echo "$ac_try_echo") >&5
2998
 
  (eval "$ac_compiler --version >&5") 2>&5
2999
 
  ac_status=$?
3000
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001
 
  (exit $ac_status); }
3002
 
{ (ac_try="$ac_compiler -v >&5"
3003
 
case "(($ac_try" in
3004
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005
 
  *) ac_try_echo=$ac_try;;
3006
 
esac
3007
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3008
 
$as_echo "$ac_try_echo") >&5
3009
 
  (eval "$ac_compiler -v >&5") 2>&5
3010
 
  ac_status=$?
3011
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012
 
  (exit $ac_status); }
3013
 
{ (ac_try="$ac_compiler -V >&5"
3014
 
case "(($ac_try" in
3015
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016
 
  *) ac_try_echo=$ac_try;;
3017
 
esac
3018
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3019
 
$as_echo "$ac_try_echo") >&5
3020
 
  (eval "$ac_compiler -V >&5") 2>&5
3021
 
  ac_status=$?
3022
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023
 
  (exit $ac_status); }
 
3261
for ac_option in --version -v -V -qversion; do
 
3262
  { { ac_try="$ac_compiler $ac_option >&5"
 
3263
case "(($ac_try" in
 
3264
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3265
  *) ac_try_echo=$ac_try;;
 
3266
esac
 
3267
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3268
$as_echo "$ac_try_echo"; } >&5
 
3269
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3270
  ac_status=$?
 
3271
  if test -s conftest.err; then
 
3272
    sed '10a\
 
3273
... rest of stderr output deleted ...
 
3274
         10q' conftest.err >conftest.er1
 
3275
    cat conftest.er1 >&5
 
3276
  fi
 
3277
  rm -f conftest.er1 conftest.err
 
3278
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3279
  test $ac_status = 0; }
 
3280
done
3024
3281
 
3025
 
cat >conftest.$ac_ext <<_ACEOF
3026
 
/* confdefs.h.  */
3027
 
_ACEOF
3028
 
cat confdefs.h >>conftest.$ac_ext
3029
 
cat >>conftest.$ac_ext <<_ACEOF
 
3282
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3030
3283
/* end confdefs.h.  */
3031
3284
 
3032
3285
int
3042
3295
# Try to create an executable without -o first, disregard a.out.
3043
3296
# It will help us diagnose broken compilers, and finding out an intuition
3044
3297
# of exeext.
3045
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3046
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3299
$as_echo_n "checking whether the C compiler works... " >&6; }
3047
3300
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3048
3301
 
3049
3302
# The possible output files:
3059
3312
done
3060
3313
rm -f $ac_rmfiles
3061
3314
 
3062
 
if { (ac_try="$ac_link_default"
 
3315
if { { ac_try="$ac_link_default"
3063
3316
case "(($ac_try" in
3064
3317
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065
3318
  *) ac_try_echo=$ac_try;;
3066
3319
esac
3067
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3068
 
$as_echo "$ac_try_echo") >&5
 
3320
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3321
$as_echo "$ac_try_echo"; } >&5
3069
3322
  (eval "$ac_link_default") 2>&5
3070
3323
  ac_status=$?
3071
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072
 
  (exit $ac_status); }; then
 
3324
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3325
  test $ac_status = 0; }; then :
3073
3326
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3074
3327
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3075
3328
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3086
3339
        # certainly right.
3087
3340
        break;;
3088
3341
    *.* )
3089
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3342
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3090
3343
        then :; else
3091
3344
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3092
3345
        fi
3105
3358
else
3106
3359
  ac_file=''
3107
3360
fi
 
3361
if test -z "$ac_file"; then :
 
3362
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3363
$as_echo "no" >&6; }
 
3364
$as_echo "$as_me: failed program was:" >&5
 
3365
sed 's/^/| /' conftest.$ac_ext >&5
3108
3366
 
3109
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3367
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3368
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3369
{ as_fn_set_status 77
 
3370
as_fn_error "C compiler cannot create executables
 
3371
See \`config.log' for more details." "$LINENO" 5; }; }
 
3372
else
 
3373
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3374
$as_echo "yes" >&6; }
 
3375
fi
 
3376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3377
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3110
3379
$as_echo "$ac_file" >&6; }
3111
 
if test -z "$ac_file"; then
3112
 
  $as_echo "$as_me: failed program was:" >&5
3113
 
sed 's/^/| /' conftest.$ac_ext >&5
3114
 
 
3115
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3116
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3118
 
See \`config.log' for more details." >&5
3119
 
$as_echo "$as_me: error: C compiler cannot create executables
3120
 
See \`config.log' for more details." >&2;}
3121
 
   { (exit 77); exit 77; }; }; }
3122
 
fi
3123
 
 
3124
3380
ac_exeext=$ac_cv_exeext
3125
3381
 
3126
 
# Check that the compiler produces executables we can run.  If not, either
3127
 
# the compiler is broken, or we cross compile.
3128
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3129
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3130
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3131
 
# If not cross compiling, check that we can run a simple program.
3132
 
if test "$cross_compiling" != yes; then
3133
 
  if { ac_try='./$ac_file'
3134
 
  { (case "(($ac_try" in
3135
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136
 
  *) ac_try_echo=$ac_try;;
3137
 
esac
3138
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3139
 
$as_echo "$ac_try_echo") >&5
3140
 
  (eval "$ac_try") 2>&5
3141
 
  ac_status=$?
3142
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143
 
  (exit $ac_status); }; }; then
3144
 
    cross_compiling=no
3145
 
  else
3146
 
    if test "$cross_compiling" = maybe; then
3147
 
        cross_compiling=yes
3148
 
    else
3149
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3150
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3152
 
If you meant to cross compile, use \`--host'.
3153
 
See \`config.log' for more details." >&5
3154
 
$as_echo "$as_me: error: cannot run C compiled programs.
3155
 
If you meant to cross compile, use \`--host'.
3156
 
See \`config.log' for more details." >&2;}
3157
 
   { (exit 1); exit 1; }; }; }
3158
 
    fi
3159
 
  fi
3160
 
fi
3161
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3162
 
$as_echo "yes" >&6; }
3163
 
 
3164
3382
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3165
3383
ac_clean_files=$ac_clean_files_save
3166
 
# Check that the compiler produces executables we can run.  If not, either
3167
 
# the compiler is broken, or we cross compile.
3168
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3169
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3170
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3171
 
$as_echo "$cross_compiling" >&6; }
3172
 
 
3173
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3174
3385
$as_echo_n "checking for suffix of executables... " >&6; }
3175
 
if { (ac_try="$ac_link"
 
3386
if { { ac_try="$ac_link"
3176
3387
case "(($ac_try" in
3177
3388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3178
3389
  *) ac_try_echo=$ac_try;;
3179
3390
esac
3180
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3181
 
$as_echo "$ac_try_echo") >&5
 
3391
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3392
$as_echo "$ac_try_echo"; } >&5
3182
3393
  (eval "$ac_link") 2>&5
3183
3394
  ac_status=$?
3184
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185
 
  (exit $ac_status); }; then
 
3395
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3396
  test $ac_status = 0; }; then :
3186
3397
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3187
3398
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3188
3399
# work properly (i.e., refer to `conftest.exe'), while it won't with
3197
3408
  esac
3198
3409
done
3199
3410
else
3200
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3411
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3201
3412
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3202
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3203
 
See \`config.log' for more details." >&5
3204
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3205
 
See \`config.log' for more details." >&2;}
3206
 
   { (exit 1); exit 1; }; }; }
 
3413
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3414
See \`config.log' for more details." "$LINENO" 5; }
3207
3415
fi
3208
 
 
3209
 
rm -f conftest$ac_cv_exeext
3210
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3416
rm -f conftest conftest$ac_cv_exeext
 
3417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3211
3418
$as_echo "$ac_cv_exeext" >&6; }
3212
3419
 
3213
3420
rm -f conftest.$ac_ext
3214
3421
EXEEXT=$ac_cv_exeext
3215
3422
ac_exeext=$EXEEXT
3216
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3423
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3424
/* end confdefs.h.  */
 
3425
#include <stdio.h>
 
3426
int
 
3427
main ()
 
3428
{
 
3429
FILE *f = fopen ("conftest.out", "w");
 
3430
 return ferror (f) || fclose (f) != 0;
 
3431
 
 
3432
  ;
 
3433
  return 0;
 
3434
}
 
3435
_ACEOF
 
3436
ac_clean_files="$ac_clean_files conftest.out"
 
3437
# Check that the compiler produces executables we can run.  If not, either
 
3438
# the compiler is broken, or we cross compile.
 
3439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3440
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3441
if test "$cross_compiling" != yes; then
 
3442
  { { ac_try="$ac_link"
 
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:${as_lineno-$LINENO}: $ac_try_echo\""
 
3448
$as_echo "$ac_try_echo"; } >&5
 
3449
  (eval "$ac_link") 2>&5
 
3450
  ac_status=$?
 
3451
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3452
  test $ac_status = 0; }
 
3453
  if { ac_try='./conftest$ac_cv_exeext'
 
3454
  { { case "(($ac_try" in
 
3455
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3456
  *) ac_try_echo=$ac_try;;
 
3457
esac
 
3458
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3459
$as_echo "$ac_try_echo"; } >&5
 
3460
  (eval "$ac_try") 2>&5
 
3461
  ac_status=$?
 
3462
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3463
  test $ac_status = 0; }; }; then
 
3464
    cross_compiling=no
 
3465
  else
 
3466
    if test "$cross_compiling" = maybe; then
 
3467
        cross_compiling=yes
 
3468
    else
 
3469
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3470
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3471
as_fn_error "cannot run C compiled programs.
 
3472
If you meant to cross compile, use \`--host'.
 
3473
See \`config.log' for more details." "$LINENO" 5; }
 
3474
    fi
 
3475
  fi
 
3476
fi
 
3477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3478
$as_echo "$cross_compiling" >&6; }
 
3479
 
 
3480
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3481
ac_clean_files=$ac_clean_files_save
 
3482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3217
3483
$as_echo_n "checking for suffix of object files... " >&6; }
3218
 
if test "${ac_cv_objext+set}" = set; then
 
3484
if test "${ac_cv_objext+set}" = set; then :
3219
3485
  $as_echo_n "(cached) " >&6
3220
3486
else
3221
 
  cat >conftest.$ac_ext <<_ACEOF
3222
 
/* confdefs.h.  */
3223
 
_ACEOF
3224
 
cat confdefs.h >>conftest.$ac_ext
3225
 
cat >>conftest.$ac_ext <<_ACEOF
 
3487
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226
3488
/* end confdefs.h.  */
3227
3489
 
3228
3490
int
3234
3496
}
3235
3497
_ACEOF
3236
3498
rm -f conftest.o conftest.obj
3237
 
if { (ac_try="$ac_compile"
 
3499
if { { ac_try="$ac_compile"
3238
3500
case "(($ac_try" in
3239
3501
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240
3502
  *) ac_try_echo=$ac_try;;
3241
3503
esac
3242
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3243
 
$as_echo "$ac_try_echo") >&5
 
3504
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3505
$as_echo "$ac_try_echo"; } >&5
3244
3506
  (eval "$ac_compile") 2>&5
3245
3507
  ac_status=$?
3246
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247
 
  (exit $ac_status); }; then
 
3508
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3509
  test $ac_status = 0; }; then :
3248
3510
  for ac_file in conftest.o conftest.obj conftest.*; do
3249
3511
  test -f "$ac_file" || continue;
3250
3512
  case $ac_file in
3257
3519
  $as_echo "$as_me: failed program was:" >&5
3258
3520
sed 's/^/| /' conftest.$ac_ext >&5
3259
3521
 
3260
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3522
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261
3523
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3263
 
See \`config.log' for more details." >&5
3264
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3265
 
See \`config.log' for more details." >&2;}
3266
 
   { (exit 1); exit 1; }; }; }
 
3524
as_fn_error "cannot compute suffix of object files: cannot compile
 
3525
See \`config.log' for more details." "$LINENO" 5; }
3267
3526
fi
3268
 
 
3269
3527
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3270
3528
fi
3271
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3272
3530
$as_echo "$ac_cv_objext" >&6; }
3273
3531
OBJEXT=$ac_cv_objext
3274
3532
ac_objext=$OBJEXT
3275
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3276
3534
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3277
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3535
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3278
3536
  $as_echo_n "(cached) " >&6
3279
3537
else
3280
 
  cat >conftest.$ac_ext <<_ACEOF
3281
 
/* confdefs.h.  */
3282
 
_ACEOF
3283
 
cat confdefs.h >>conftest.$ac_ext
3284
 
cat >>conftest.$ac_ext <<_ACEOF
 
3538
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285
3539
/* end confdefs.h.  */
3286
3540
 
3287
3541
int
3295
3549
  return 0;
3296
3550
}
3297
3551
_ACEOF
3298
 
rm -f conftest.$ac_objext
3299
 
if { (ac_try="$ac_compile"
3300
 
case "(($ac_try" in
3301
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302
 
  *) ac_try_echo=$ac_try;;
3303
 
esac
3304
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3305
 
$as_echo "$ac_try_echo") >&5
3306
 
  (eval "$ac_compile") 2>conftest.er1
3307
 
  ac_status=$?
3308
 
  grep -v '^ *+' conftest.er1 >conftest.err
3309
 
  rm -f conftest.er1
3310
 
  cat conftest.err >&5
3311
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312
 
  (exit $ac_status); } && {
3313
 
         test -z "$ac_c_werror_flag" ||
3314
 
         test ! -s conftest.err
3315
 
       } && test -s conftest.$ac_objext; then
 
3552
if ac_fn_c_try_compile "$LINENO"; then :
3316
3553
  ac_compiler_gnu=yes
3317
3554
else
3318
 
  $as_echo "$as_me: failed program was:" >&5
3319
 
sed 's/^/| /' conftest.$ac_ext >&5
3320
 
 
3321
 
        ac_compiler_gnu=no
 
3555
  ac_compiler_gnu=no
3322
3556
fi
3323
 
 
3324
3557
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3325
3558
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3326
3559
 
3327
3560
fi
3328
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3329
3562
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3330
3563
if test $ac_compiler_gnu = yes; then
3331
3564
  GCC=yes
3334
3567
fi
3335
3568
ac_test_CFLAGS=${CFLAGS+set}
3336
3569
ac_save_CFLAGS=$CFLAGS
3337
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3338
3571
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3339
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3572
if test "${ac_cv_prog_cc_g+set}" = set; then :
3340
3573
  $as_echo_n "(cached) " >&6
3341
3574
else
3342
3575
  ac_save_c_werror_flag=$ac_c_werror_flag
3343
3576
   ac_c_werror_flag=yes
3344
3577
   ac_cv_prog_cc_g=no
3345
3578
   CFLAGS="-g"
3346
 
   cat >conftest.$ac_ext <<_ACEOF
3347
 
/* confdefs.h.  */
3348
 
_ACEOF
3349
 
cat confdefs.h >>conftest.$ac_ext
3350
 
cat >>conftest.$ac_ext <<_ACEOF
 
3579
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351
3580
/* end confdefs.h.  */
3352
3581
 
3353
3582
int
3358
3587
  return 0;
3359
3588
}
3360
3589
_ACEOF
3361
 
rm -f conftest.$ac_objext
3362
 
if { (ac_try="$ac_compile"
3363
 
case "(($ac_try" in
3364
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365
 
  *) ac_try_echo=$ac_try;;
3366
 
esac
3367
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3368
 
$as_echo "$ac_try_echo") >&5
3369
 
  (eval "$ac_compile") 2>conftest.er1
3370
 
  ac_status=$?
3371
 
  grep -v '^ *+' conftest.er1 >conftest.err
3372
 
  rm -f conftest.er1
3373
 
  cat conftest.err >&5
3374
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375
 
  (exit $ac_status); } && {
3376
 
         test -z "$ac_c_werror_flag" ||
3377
 
         test ! -s conftest.err
3378
 
       } && test -s conftest.$ac_objext; then
 
3590
if ac_fn_c_try_compile "$LINENO"; then :
3379
3591
  ac_cv_prog_cc_g=yes
3380
3592
else
3381
 
  $as_echo "$as_me: failed program was:" >&5
3382
 
sed 's/^/| /' conftest.$ac_ext >&5
3383
 
 
3384
 
        CFLAGS=""
3385
 
      cat >conftest.$ac_ext <<_ACEOF
3386
 
/* confdefs.h.  */
3387
 
_ACEOF
3388
 
cat confdefs.h >>conftest.$ac_ext
3389
 
cat >>conftest.$ac_ext <<_ACEOF
 
3593
  CFLAGS=""
 
3594
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3390
3595
/* end confdefs.h.  */
3391
3596
 
3392
3597
int
3397
3602
  return 0;
3398
3603
}
3399
3604
_ACEOF
3400
 
rm -f conftest.$ac_objext
3401
 
if { (ac_try="$ac_compile"
3402
 
case "(($ac_try" in
3403
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404
 
  *) ac_try_echo=$ac_try;;
3405
 
esac
3406
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3407
 
$as_echo "$ac_try_echo") >&5
3408
 
  (eval "$ac_compile") 2>conftest.er1
3409
 
  ac_status=$?
3410
 
  grep -v '^ *+' conftest.er1 >conftest.err
3411
 
  rm -f conftest.er1
3412
 
  cat conftest.err >&5
3413
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414
 
  (exit $ac_status); } && {
3415
 
         test -z "$ac_c_werror_flag" ||
3416
 
         test ! -s conftest.err
3417
 
       } && test -s conftest.$ac_objext; then
3418
 
  :
 
3605
if ac_fn_c_try_compile "$LINENO"; then :
 
3606
 
3419
3607
else
3420
 
  $as_echo "$as_me: failed program was:" >&5
3421
 
sed 's/^/| /' conftest.$ac_ext >&5
3422
 
 
3423
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3608
  ac_c_werror_flag=$ac_save_c_werror_flag
3424
3609
         CFLAGS="-g"
3425
 
         cat >conftest.$ac_ext <<_ACEOF
3426
 
/* confdefs.h.  */
3427
 
_ACEOF
3428
 
cat confdefs.h >>conftest.$ac_ext
3429
 
cat >>conftest.$ac_ext <<_ACEOF
 
3610
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430
3611
/* end confdefs.h.  */
3431
3612
 
3432
3613
int
3437
3618
  return 0;
3438
3619
}
3439
3620
_ACEOF
3440
 
rm -f conftest.$ac_objext
3441
 
if { (ac_try="$ac_compile"
3442
 
case "(($ac_try" in
3443
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444
 
  *) ac_try_echo=$ac_try;;
3445
 
esac
3446
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3447
 
$as_echo "$ac_try_echo") >&5
3448
 
  (eval "$ac_compile") 2>conftest.er1
3449
 
  ac_status=$?
3450
 
  grep -v '^ *+' conftest.er1 >conftest.err
3451
 
  rm -f conftest.er1
3452
 
  cat conftest.err >&5
3453
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454
 
  (exit $ac_status); } && {
3455
 
         test -z "$ac_c_werror_flag" ||
3456
 
         test ! -s conftest.err
3457
 
       } && test -s conftest.$ac_objext; then
 
3621
if ac_fn_c_try_compile "$LINENO"; then :
3458
3622
  ac_cv_prog_cc_g=yes
3459
 
else
3460
 
  $as_echo "$as_me: failed program was:" >&5
3461
 
sed 's/^/| /' conftest.$ac_ext >&5
3462
 
 
3463
 
 
3464
 
fi
3465
 
 
3466
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467
 
fi
3468
 
 
3469
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470
 
fi
3471
 
 
 
3623
fi
 
3624
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3625
fi
 
3626
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3627
fi
3472
3628
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3473
3629
   ac_c_werror_flag=$ac_save_c_werror_flag
3474
3630
fi
3475
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3476
3632
$as_echo "$ac_cv_prog_cc_g" >&6; }
3477
3633
if test "$ac_test_CFLAGS" = set; then
3478
3634
  CFLAGS=$ac_save_CFLAGS
3489
3645
    CFLAGS=
3490
3646
  fi
3491
3647
fi
3492
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3493
3649
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3494
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3650
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3495
3651
  $as_echo_n "(cached) " >&6
3496
3652
else
3497
3653
  ac_cv_prog_cc_c89=no
3498
3654
ac_save_CC=$CC
3499
 
cat >conftest.$ac_ext <<_ACEOF
3500
 
/* confdefs.h.  */
3501
 
_ACEOF
3502
 
cat confdefs.h >>conftest.$ac_ext
3503
 
cat >>conftest.$ac_ext <<_ACEOF
 
3655
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504
3656
/* end confdefs.h.  */
3505
3657
#include <stdarg.h>
3506
3658
#include <stdio.h>
3557
3709
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3558
3710
do
3559
3711
  CC="$ac_save_CC $ac_arg"
3560
 
  rm -f conftest.$ac_objext
3561
 
if { (ac_try="$ac_compile"
3562
 
case "(($ac_try" in
3563
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564
 
  *) ac_try_echo=$ac_try;;
3565
 
esac
3566
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3567
 
$as_echo "$ac_try_echo") >&5
3568
 
  (eval "$ac_compile") 2>conftest.er1
3569
 
  ac_status=$?
3570
 
  grep -v '^ *+' conftest.er1 >conftest.err
3571
 
  rm -f conftest.er1
3572
 
  cat conftest.err >&5
3573
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574
 
  (exit $ac_status); } && {
3575
 
         test -z "$ac_c_werror_flag" ||
3576
 
         test ! -s conftest.err
3577
 
       } && test -s conftest.$ac_objext; then
 
3712
  if ac_fn_c_try_compile "$LINENO"; then :
3578
3713
  ac_cv_prog_cc_c89=$ac_arg
3579
 
else
3580
 
  $as_echo "$as_me: failed program was:" >&5
3581
 
sed 's/^/| /' conftest.$ac_ext >&5
3582
 
 
3583
 
 
3584
3714
fi
3585
 
 
3586
3715
rm -f core conftest.err conftest.$ac_objext
3587
3716
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3588
3717
done
3593
3722
# AC_CACHE_VAL
3594
3723
case "x$ac_cv_prog_cc_c89" in
3595
3724
  x)
3596
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3725
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3597
3726
$as_echo "none needed" >&6; } ;;
3598
3727
  xno)
3599
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3728
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3600
3729
$as_echo "unsupported" >&6; } ;;
3601
3730
  *)
3602
3731
    CC="$CC $ac_cv_prog_cc_c89"
3603
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3732
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3604
3733
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3605
3734
esac
 
3735
if test "x$ac_cv_prog_cc_c89" != xno; then :
3606
3736
 
 
3737
fi
3607
3738
 
3608
3739
ac_ext=c
3609
3740
ac_cpp='$CPP $CPPFLAGS'
3622
3753
.PHONY: am__doit
3623
3754
END
3624
3755
# If we don't find an include directive, just comment out the code.
3625
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3626
3757
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3627
3758
am__include="#"
3628
3759
am__quote=
3650
3781
fi
3651
3782
 
3652
3783
 
3653
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3654
3785
$as_echo "$_am_result" >&6; }
3655
3786
rm -f confinc confmf
3656
3787
 
3657
3788
# Check whether --enable-dependency-tracking was given.
3658
 
if test "${enable_dependency_tracking+set}" = set; then
 
3789
if test "${enable_dependency_tracking+set}" = set; then :
3659
3790
  enableval=$enable_dependency_tracking;
3660
3791
fi
3661
3792
 
3675
3806
 
3676
3807
depcc="$CC"   am_compiler_list=
3677
3808
 
3678
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3679
3810
$as_echo_n "checking dependency style of $depcc... " >&6; }
3680
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3811
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3681
3812
  $as_echo_n "(cached) " >&6
3682
3813
else
3683
3814
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3785
3916
fi
3786
3917
 
3787
3918
fi
3788
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3789
3920
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3790
3921
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3791
3922
 
3801
3932
 
3802
3933
 
3803
3934
 
3804
 
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3805
3936
$as_echo_n "checking for library containing strerror... " >&6; }
3806
 
if test "${ac_cv_search_strerror+set}" = set; then
 
3937
if test "${ac_cv_search_strerror+set}" = set; then :
3807
3938
  $as_echo_n "(cached) " >&6
3808
3939
else
3809
3940
  ac_func_search_save_LIBS=$LIBS
3810
 
cat >conftest.$ac_ext <<_ACEOF
3811
 
/* confdefs.h.  */
3812
 
_ACEOF
3813
 
cat confdefs.h >>conftest.$ac_ext
3814
 
cat >>conftest.$ac_ext <<_ACEOF
 
3941
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815
3942
/* end confdefs.h.  */
3816
3943
 
3817
3944
/* Override any GCC internal prototype to avoid an error.
3836
3963
    ac_res=-l$ac_lib
3837
3964
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3838
3965
  fi
3839
 
  rm -f conftest.$ac_objext conftest$ac_exeext
3840
 
if { (ac_try="$ac_link"
3841
 
case "(($ac_try" in
3842
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843
 
  *) ac_try_echo=$ac_try;;
3844
 
esac
3845
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3846
 
$as_echo "$ac_try_echo") >&5
3847
 
  (eval "$ac_link") 2>conftest.er1
3848
 
  ac_status=$?
3849
 
  grep -v '^ *+' conftest.er1 >conftest.err
3850
 
  rm -f conftest.er1
3851
 
  cat conftest.err >&5
3852
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853
 
  (exit $ac_status); } && {
3854
 
         test -z "$ac_c_werror_flag" ||
3855
 
         test ! -s conftest.err
3856
 
       } && test -s conftest$ac_exeext && {
3857
 
         test "$cross_compiling" = yes ||
3858
 
         $as_test_x conftest$ac_exeext
3859
 
       }; then
 
3966
  if ac_fn_c_try_link "$LINENO"; then :
3860
3967
  ac_cv_search_strerror=$ac_res
3861
 
else
3862
 
  $as_echo "$as_me: failed program was:" >&5
3863
 
sed 's/^/| /' conftest.$ac_ext >&5
3864
 
 
3865
 
 
3866
3968
fi
3867
 
 
3868
 
rm -rf conftest.dSYM
3869
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3870
 
      conftest$ac_exeext
3871
 
  if test "${ac_cv_search_strerror+set}" = set; then
 
3969
rm -f core conftest.err conftest.$ac_objext \
 
3970
    conftest$ac_exeext
 
3971
  if test "${ac_cv_search_strerror+set}" = set; then :
3872
3972
  break
3873
3973
fi
3874
3974
done
3875
 
if test "${ac_cv_search_strerror+set}" = set; then
3876
 
  :
 
3975
if test "${ac_cv_search_strerror+set}" = set; then :
 
3976
 
3877
3977
else
3878
3978
  ac_cv_search_strerror=no
3879
3979
fi
3880
3980
rm conftest.$ac_ext
3881
3981
LIBS=$ac_func_search_save_LIBS
3882
3982
fi
3883
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3884
3984
$as_echo "$ac_cv_search_strerror" >&6; }
3885
3985
ac_res=$ac_cv_search_strerror
3886
 
if test "$ac_res" != no; then
 
3986
if test "$ac_res" != no; then :
3887
3987
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3888
3988
 
3889
3989
fi
3893
3993
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3894
3994
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3895
3995
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3897
3997
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3898
3998
# On Suns, sometimes $CPP names a directory.
3899
3999
if test -n "$CPP" && test -d "$CPP"; then
3900
4000
  CPP=
3901
4001
fi
3902
4002
if test -z "$CPP"; then
3903
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
4003
  if test "${ac_cv_prog_CPP+set}" = set; then :
3904
4004
  $as_echo_n "(cached) " >&6
3905
4005
else
3906
4006
      # Double quotes because CPP needs to be expanded
3915
4015
  # <limits.h> exists even on freestanding compilers.
3916
4016
  # On the NeXT, cc -E runs the code through the compiler's parser,
3917
4017
  # not just through cpp. "Syntax error" is here to catch this case.
3918
 
  cat >conftest.$ac_ext <<_ACEOF
3919
 
/* confdefs.h.  */
3920
 
_ACEOF
3921
 
cat confdefs.h >>conftest.$ac_ext
3922
 
cat >>conftest.$ac_ext <<_ACEOF
 
4018
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923
4019
/* end confdefs.h.  */
3924
4020
#ifdef __STDC__
3925
4021
# include <limits.h>
3928
4024
#endif
3929
4025
                     Syntax error
3930
4026
_ACEOF
3931
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3932
 
case "(($ac_try" in
3933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934
 
  *) ac_try_echo=$ac_try;;
3935
 
esac
3936
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3937
 
$as_echo "$ac_try_echo") >&5
3938
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3939
 
  ac_status=$?
3940
 
  grep -v '^ *+' conftest.er1 >conftest.err
3941
 
  rm -f conftest.er1
3942
 
  cat conftest.err >&5
3943
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944
 
  (exit $ac_status); } >/dev/null && {
3945
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3946
 
         test ! -s conftest.err
3947
 
       }; then
3948
 
  :
 
4027
if ac_fn_c_try_cpp "$LINENO"; then :
 
4028
 
3949
4029
else
3950
 
  $as_echo "$as_me: failed program was:" >&5
3951
 
sed 's/^/| /' conftest.$ac_ext >&5
3952
 
 
3953
4030
  # Broken: fails on valid input.
3954
4031
continue
3955
4032
fi
3956
 
 
3957
4033
rm -f conftest.err conftest.$ac_ext
3958
4034
 
3959
4035
  # OK, works on sane cases.  Now check whether nonexistent headers
3960
4036
  # can be detected and how.
3961
 
  cat >conftest.$ac_ext <<_ACEOF
3962
 
/* confdefs.h.  */
3963
 
_ACEOF
3964
 
cat confdefs.h >>conftest.$ac_ext
3965
 
cat >>conftest.$ac_ext <<_ACEOF
 
4037
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966
4038
/* end confdefs.h.  */
3967
4039
#include <ac_nonexistent.h>
3968
4040
_ACEOF
3969
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3970
 
case "(($ac_try" in
3971
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3972
 
  *) ac_try_echo=$ac_try;;
3973
 
esac
3974
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3975
 
$as_echo "$ac_try_echo") >&5
3976
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3977
 
  ac_status=$?
3978
 
  grep -v '^ *+' conftest.er1 >conftest.err
3979
 
  rm -f conftest.er1
3980
 
  cat conftest.err >&5
3981
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982
 
  (exit $ac_status); } >/dev/null && {
3983
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3984
 
         test ! -s conftest.err
3985
 
       }; then
 
4041
if ac_fn_c_try_cpp "$LINENO"; then :
3986
4042
  # Broken: success on invalid input.
3987
4043
continue
3988
4044
else
3989
 
  $as_echo "$as_me: failed program was:" >&5
3990
 
sed 's/^/| /' conftest.$ac_ext >&5
3991
 
 
3992
4045
  # Passes both tests.
3993
4046
ac_preproc_ok=:
3994
4047
break
3995
4048
fi
3996
 
 
3997
4049
rm -f conftest.err conftest.$ac_ext
3998
4050
 
3999
4051
done
4000
4052
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4001
4053
rm -f conftest.err conftest.$ac_ext
4002
 
if $ac_preproc_ok; then
 
4054
if $ac_preproc_ok; then :
4003
4055
  break
4004
4056
fi
4005
4057
 
4011
4063
else
4012
4064
  ac_cv_prog_CPP=$CPP
4013
4065
fi
4014
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4015
4067
$as_echo "$CPP" >&6; }
4016
4068
ac_preproc_ok=false
4017
4069
for ac_c_preproc_warn_flag in '' yes
4022
4074
  # <limits.h> exists even on freestanding compilers.
4023
4075
  # On the NeXT, cc -E runs the code through the compiler's parser,
4024
4076
  # not just through cpp. "Syntax error" is here to catch this case.
4025
 
  cat >conftest.$ac_ext <<_ACEOF
4026
 
/* confdefs.h.  */
4027
 
_ACEOF
4028
 
cat confdefs.h >>conftest.$ac_ext
4029
 
cat >>conftest.$ac_ext <<_ACEOF
 
4077
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030
4078
/* end confdefs.h.  */
4031
4079
#ifdef __STDC__
4032
4080
# include <limits.h>
4035
4083
#endif
4036
4084
                     Syntax error
4037
4085
_ACEOF
4038
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4039
 
case "(($ac_try" in
4040
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041
 
  *) ac_try_echo=$ac_try;;
4042
 
esac
4043
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4044
 
$as_echo "$ac_try_echo") >&5
4045
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4046
 
  ac_status=$?
4047
 
  grep -v '^ *+' conftest.er1 >conftest.err
4048
 
  rm -f conftest.er1
4049
 
  cat conftest.err >&5
4050
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051
 
  (exit $ac_status); } >/dev/null && {
4052
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4053
 
         test ! -s conftest.err
4054
 
       }; then
4055
 
  :
 
4086
if ac_fn_c_try_cpp "$LINENO"; then :
 
4087
 
4056
4088
else
4057
 
  $as_echo "$as_me: failed program was:" >&5
4058
 
sed 's/^/| /' conftest.$ac_ext >&5
4059
 
 
4060
4089
  # Broken: fails on valid input.
4061
4090
continue
4062
4091
fi
4063
 
 
4064
4092
rm -f conftest.err conftest.$ac_ext
4065
4093
 
4066
4094
  # OK, works on sane cases.  Now check whether nonexistent headers
4067
4095
  # can be detected and how.
4068
 
  cat >conftest.$ac_ext <<_ACEOF
4069
 
/* confdefs.h.  */
4070
 
_ACEOF
4071
 
cat confdefs.h >>conftest.$ac_ext
4072
 
cat >>conftest.$ac_ext <<_ACEOF
 
4096
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073
4097
/* end confdefs.h.  */
4074
4098
#include <ac_nonexistent.h>
4075
4099
_ACEOF
4076
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4077
 
case "(($ac_try" in
4078
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4079
 
  *) ac_try_echo=$ac_try;;
4080
 
esac
4081
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4082
 
$as_echo "$ac_try_echo") >&5
4083
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4084
 
  ac_status=$?
4085
 
  grep -v '^ *+' conftest.er1 >conftest.err
4086
 
  rm -f conftest.er1
4087
 
  cat conftest.err >&5
4088
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089
 
  (exit $ac_status); } >/dev/null && {
4090
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4091
 
         test ! -s conftest.err
4092
 
       }; then
 
4100
if ac_fn_c_try_cpp "$LINENO"; then :
4093
4101
  # Broken: success on invalid input.
4094
4102
continue
4095
4103
else
4096
 
  $as_echo "$as_me: failed program was:" >&5
4097
 
sed 's/^/| /' conftest.$ac_ext >&5
4098
 
 
4099
4104
  # Passes both tests.
4100
4105
ac_preproc_ok=:
4101
4106
break
4102
4107
fi
4103
 
 
4104
4108
rm -f conftest.err conftest.$ac_ext
4105
4109
 
4106
4110
done
4107
4111
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4108
4112
rm -f conftest.err conftest.$ac_ext
4109
 
if $ac_preproc_ok; then
4110
 
  :
 
4113
if $ac_preproc_ok; then :
 
4114
 
4111
4115
else
4112
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4116
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113
4117
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4114
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4115
 
See \`config.log' for more details." >&5
4116
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4117
 
See \`config.log' for more details." >&2;}
4118
 
   { (exit 1); exit 1; }; }; }
 
4118
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
4119
See \`config.log' for more details." "$LINENO" 5; }
4119
4120
fi
4120
4121
 
4121
4122
ac_ext=c
4125
4126
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4126
4127
 
4127
4128
 
4128
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4129
4130
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4130
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4131
if test "${ac_cv_path_GREP+set}" = set; then :
4131
4132
  $as_echo_n "(cached) " >&6
4132
4133
else
4133
4134
  if test -z "$GREP"; then
4138
4139
do
4139
4140
  IFS=$as_save_IFS
4140
4141
  test -z "$as_dir" && as_dir=.
4141
 
  for ac_prog in grep ggrep; do
 
4142
    for ac_prog in grep ggrep; do
4142
4143
    for ac_exec_ext in '' $ac_executable_extensions; do
4143
4144
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4144
4145
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4158
4159
    $as_echo 'GREP' >> "conftest.nl"
4159
4160
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4160
4161
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4161
 
    ac_count=`expr $ac_count + 1`
 
4162
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4162
4163
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4163
4164
      # Best one so far, save it but keep looking for a better one
4164
4165
      ac_cv_path_GREP="$ac_path_GREP"
4173
4174
      $ac_path_GREP_found && break 3
4174
4175
    done
4175
4176
  done
4176
 
done
 
4177
  done
4177
4178
IFS=$as_save_IFS
4178
4179
  if test -z "$ac_cv_path_GREP"; then
4179
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4180
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4181
 
   { (exit 1); exit 1; }; }
 
4180
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4182
4181
  fi
4183
4182
else
4184
4183
  ac_cv_path_GREP=$GREP
4185
4184
fi
4186
4185
 
4187
4186
fi
4188
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4189
4188
$as_echo "$ac_cv_path_GREP" >&6; }
4190
4189
 GREP="$ac_cv_path_GREP"
4191
4190
 
4192
4191
 
4193
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4194
4193
$as_echo_n "checking for egrep... " >&6; }
4195
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4194
if test "${ac_cv_path_EGREP+set}" = set; then :
4196
4195
  $as_echo_n "(cached) " >&6
4197
4196
else
4198
4197
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4206
4205
do
4207
4206
  IFS=$as_save_IFS
4208
4207
  test -z "$as_dir" && as_dir=.
4209
 
  for ac_prog in egrep; do
 
4208
    for ac_prog in egrep; do
4210
4209
    for ac_exec_ext in '' $ac_executable_extensions; do
4211
4210
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4212
4211
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4226
4225
    $as_echo 'EGREP' >> "conftest.nl"
4227
4226
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4228
4227
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4229
 
    ac_count=`expr $ac_count + 1`
 
4228
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4230
4229
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4231
4230
      # Best one so far, save it but keep looking for a better one
4232
4231
      ac_cv_path_EGREP="$ac_path_EGREP"
4241
4240
      $ac_path_EGREP_found && break 3
4242
4241
    done
4243
4242
  done
4244
 
done
 
4243
  done
4245
4244
IFS=$as_save_IFS
4246
4245
  if test -z "$ac_cv_path_EGREP"; then
4247
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4248
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4249
 
   { (exit 1); exit 1; }; }
 
4246
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4250
4247
  fi
4251
4248
else
4252
4249
  ac_cv_path_EGREP=$EGREP
4254
4251
 
4255
4252
   fi
4256
4253
fi
4257
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4258
4255
$as_echo "$ac_cv_path_EGREP" >&6; }
4259
4256
 EGREP="$ac_cv_path_EGREP"
4260
4257
 
4261
4258
 
4262
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4263
4260
$as_echo_n "checking for ANSI C header files... " >&6; }
4264
 
if test "${ac_cv_header_stdc+set}" = set; then
 
4261
if test "${ac_cv_header_stdc+set}" = set; then :
4265
4262
  $as_echo_n "(cached) " >&6
4266
4263
else
4267
 
  cat >conftest.$ac_ext <<_ACEOF
4268
 
/* confdefs.h.  */
4269
 
_ACEOF
4270
 
cat confdefs.h >>conftest.$ac_ext
4271
 
cat >>conftest.$ac_ext <<_ACEOF
 
4264
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272
4265
/* end confdefs.h.  */
4273
4266
#include <stdlib.h>
4274
4267
#include <stdarg.h>
4283
4276
  return 0;
4284
4277
}
4285
4278
_ACEOF
4286
 
rm -f conftest.$ac_objext
4287
 
if { (ac_try="$ac_compile"
4288
 
case "(($ac_try" in
4289
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4290
 
  *) ac_try_echo=$ac_try;;
4291
 
esac
4292
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4293
 
$as_echo "$ac_try_echo") >&5
4294
 
  (eval "$ac_compile") 2>conftest.er1
4295
 
  ac_status=$?
4296
 
  grep -v '^ *+' conftest.er1 >conftest.err
4297
 
  rm -f conftest.er1
4298
 
  cat conftest.err >&5
4299
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300
 
  (exit $ac_status); } && {
4301
 
         test -z "$ac_c_werror_flag" ||
4302
 
         test ! -s conftest.err
4303
 
       } && test -s conftest.$ac_objext; then
 
4279
if ac_fn_c_try_compile "$LINENO"; then :
4304
4280
  ac_cv_header_stdc=yes
4305
4281
else
4306
 
  $as_echo "$as_me: failed program was:" >&5
4307
 
sed 's/^/| /' conftest.$ac_ext >&5
4308
 
 
4309
 
        ac_cv_header_stdc=no
 
4282
  ac_cv_header_stdc=no
4310
4283
fi
4311
 
 
4312
4284
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4313
4285
 
4314
4286
if test $ac_cv_header_stdc = yes; then
4315
4287
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4316
 
  cat >conftest.$ac_ext <<_ACEOF
4317
 
/* confdefs.h.  */
4318
 
_ACEOF
4319
 
cat confdefs.h >>conftest.$ac_ext
4320
 
cat >>conftest.$ac_ext <<_ACEOF
 
4288
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321
4289
/* end confdefs.h.  */
4322
4290
#include <string.h>
4323
4291
 
4324
4292
_ACEOF
4325
4293
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4326
 
  $EGREP "memchr" >/dev/null 2>&1; then
4327
 
  :
 
4294
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4295
 
4328
4296
else
4329
4297
  ac_cv_header_stdc=no
4330
4298
fi
4334
4302
 
4335
4303
if test $ac_cv_header_stdc = yes; then
4336
4304
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4337
 
  cat >conftest.$ac_ext <<_ACEOF
4338
 
/* confdefs.h.  */
4339
 
_ACEOF
4340
 
cat confdefs.h >>conftest.$ac_ext
4341
 
cat >>conftest.$ac_ext <<_ACEOF
 
4305
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342
4306
/* end confdefs.h.  */
4343
4307
#include <stdlib.h>
4344
4308
 
4345
4309
_ACEOF
4346
4310
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4347
 
  $EGREP "free" >/dev/null 2>&1; then
4348
 
  :
 
4311
  $EGREP "free" >/dev/null 2>&1; then :
 
4312
 
4349
4313
else
4350
4314
  ac_cv_header_stdc=no
4351
4315
fi
4355
4319
 
4356
4320
if test $ac_cv_header_stdc = yes; then
4357
4321
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4358
 
  if test "$cross_compiling" = yes; then
 
4322
  if test "$cross_compiling" = yes; then :
4359
4323
  :
4360
4324
else
4361
 
  cat >conftest.$ac_ext <<_ACEOF
4362
 
/* confdefs.h.  */
4363
 
_ACEOF
4364
 
cat confdefs.h >>conftest.$ac_ext
4365
 
cat >>conftest.$ac_ext <<_ACEOF
 
4325
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366
4326
/* end confdefs.h.  */
4367
4327
#include <ctype.h>
4368
4328
#include <stdlib.h>
4389
4349
  return 0;
4390
4350
}
4391
4351
_ACEOF
4392
 
rm -f conftest$ac_exeext
4393
 
if { (ac_try="$ac_link"
4394
 
case "(($ac_try" in
4395
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4396
 
  *) ac_try_echo=$ac_try;;
4397
 
esac
4398
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4399
 
$as_echo "$ac_try_echo") >&5
4400
 
  (eval "$ac_link") 2>&5
4401
 
  ac_status=$?
4402
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4404
 
  { (case "(($ac_try" in
4405
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4406
 
  *) ac_try_echo=$ac_try;;
4407
 
esac
4408
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4409
 
$as_echo "$ac_try_echo") >&5
4410
 
  (eval "$ac_try") 2>&5
4411
 
  ac_status=$?
4412
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413
 
  (exit $ac_status); }; }; then
4414
 
  :
 
4352
if ac_fn_c_try_run "$LINENO"; then :
 
4353
 
4415
4354
else
4416
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4417
 
$as_echo "$as_me: failed program was:" >&5
4418
 
sed 's/^/| /' conftest.$ac_ext >&5
4419
 
 
4420
 
( exit $ac_status )
4421
 
ac_cv_header_stdc=no
4422
 
fi
4423
 
rm -rf conftest.dSYM
4424
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4425
 
fi
4426
 
 
4427
 
 
4428
 
fi
4429
 
fi
4430
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4355
  ac_cv_header_stdc=no
 
4356
fi
 
4357
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4358
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4359
fi
 
4360
 
 
4361
fi
 
4362
fi
 
4363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4431
4364
$as_echo "$ac_cv_header_stdc" >&6; }
4432
4365
if test $ac_cv_header_stdc = yes; then
4433
4366
 
4434
 
cat >>confdefs.h <<\_ACEOF
4435
 
#define STDC_HEADERS 1
4436
 
_ACEOF
 
4367
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4437
4368
 
4438
4369
fi
4439
4370
 
4440
4371
case `pwd` in
4441
4372
  *\ * | *\     *)
4442
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4373
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4443
4374
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4444
4375
esac
4445
4376
 
4464
4395
 
4465
4396
# Make sure we can run config.sub.
4466
4397
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4467
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4468
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4469
 
   { (exit 1); exit 1; }; }
 
4398
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4470
4399
 
4471
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4472
4401
$as_echo_n "checking build system type... " >&6; }
4473
 
if test "${ac_cv_build+set}" = set; then
 
4402
if test "${ac_cv_build+set}" = set; then :
4474
4403
  $as_echo_n "(cached) " >&6
4475
4404
else
4476
4405
  ac_build_alias=$build_alias
4477
4406
test "x$ac_build_alias" = x &&
4478
4407
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4479
4408
test "x$ac_build_alias" = x &&
4480
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4481
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4482
 
   { (exit 1); exit 1; }; }
 
4409
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4483
4410
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4484
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4485
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4486
 
   { (exit 1); exit 1; }; }
 
4411
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4487
4412
 
4488
4413
fi
4489
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4490
4415
$as_echo "$ac_cv_build" >&6; }
4491
4416
case $ac_cv_build in
4492
4417
*-*-*) ;;
4493
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4494
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4495
 
   { (exit 1); exit 1; }; };;
 
4418
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4496
4419
esac
4497
4420
build=$ac_cv_build
4498
4421
ac_save_IFS=$IFS; IFS='-'
4508
4431
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4509
4432
 
4510
4433
 
4511
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4512
4435
$as_echo_n "checking host system type... " >&6; }
4513
 
if test "${ac_cv_host+set}" = set; then
 
4436
if test "${ac_cv_host+set}" = set; then :
4514
4437
  $as_echo_n "(cached) " >&6
4515
4438
else
4516
4439
  if test "x$host_alias" = x; then
4517
4440
  ac_cv_host=$ac_cv_build
4518
4441
else
4519
4442
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4520
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4521
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4522
 
   { (exit 1); exit 1; }; }
 
4443
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4523
4444
fi
4524
4445
 
4525
4446
fi
4526
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4527
4448
$as_echo "$ac_cv_host" >&6; }
4528
4449
case $ac_cv_host in
4529
4450
*-*-*) ;;
4530
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4531
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4532
 
   { (exit 1); exit 1; }; };;
 
4451
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4533
4452
esac
4534
4453
host=$ac_cv_host
4535
4454
ac_save_IFS=$IFS; IFS='-'
4545
4464
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4546
4465
 
4547
4466
 
4548
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4549
4468
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4550
 
if test "${ac_cv_path_SED+set}" = set; then
 
4469
if test "${ac_cv_path_SED+set}" = set; then :
4551
4470
  $as_echo_n "(cached) " >&6
4552
4471
else
4553
4472
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4555
4474
       ac_script="$ac_script$as_nl$ac_script"
4556
4475
     done
4557
4476
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4558
 
     $as_unset ac_script || ac_script=
 
4477
     { ac_script=; unset ac_script;}
4559
4478
     if test -z "$SED"; then
4560
4479
  ac_path_SED_found=false
4561
4480
  # Loop through the user's path and test for each of PROGNAME-LIST
4564
4483
do
4565
4484
  IFS=$as_save_IFS
4566
4485
  test -z "$as_dir" && as_dir=.
4567
 
  for ac_prog in sed gsed; do
 
4486
    for ac_prog in sed gsed; do
4568
4487
    for ac_exec_ext in '' $ac_executable_extensions; do
4569
4488
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4570
4489
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4584
4503
    $as_echo '' >> "conftest.nl"
4585
4504
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4586
4505
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4587
 
    ac_count=`expr $ac_count + 1`
 
4506
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4588
4507
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4589
4508
      # Best one so far, save it but keep looking for a better one
4590
4509
      ac_cv_path_SED="$ac_path_SED"
4599
4518
      $ac_path_SED_found && break 3
4600
4519
    done
4601
4520
  done
4602
 
done
 
4521
  done
4603
4522
IFS=$as_save_IFS
4604
4523
  if test -z "$ac_cv_path_SED"; then
4605
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4606
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4607
 
   { (exit 1); exit 1; }; }
 
4524
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4608
4525
  fi
4609
4526
else
4610
4527
  ac_cv_path_SED=$SED
4611
4528
fi
4612
4529
 
4613
4530
fi
4614
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4615
4532
$as_echo "$ac_cv_path_SED" >&6; }
4616
4533
 SED="$ac_cv_path_SED"
4617
4534
  rm -f conftest.sed
4629
4546
 
4630
4547
 
4631
4548
 
4632
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4633
4550
$as_echo_n "checking for fgrep... " >&6; }
4634
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
4551
if test "${ac_cv_path_FGREP+set}" = set; then :
4635
4552
  $as_echo_n "(cached) " >&6
4636
4553
else
4637
4554
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4645
4562
do
4646
4563
  IFS=$as_save_IFS
4647
4564
  test -z "$as_dir" && as_dir=.
4648
 
  for ac_prog in fgrep; do
 
4565
    for ac_prog in fgrep; do
4649
4566
    for ac_exec_ext in '' $ac_executable_extensions; do
4650
4567
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4651
4568
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4665
4582
    $as_echo 'FGREP' >> "conftest.nl"
4666
4583
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4667
4584
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4668
 
    ac_count=`expr $ac_count + 1`
 
4585
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4669
4586
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4670
4587
      # Best one so far, save it but keep looking for a better one
4671
4588
      ac_cv_path_FGREP="$ac_path_FGREP"
4680
4597
      $ac_path_FGREP_found && break 3
4681
4598
    done
4682
4599
  done
4683
 
done
 
4600
  done
4684
4601
IFS=$as_save_IFS
4685
4602
  if test -z "$ac_cv_path_FGREP"; then
4686
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4687
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4688
 
   { (exit 1); exit 1; }; }
 
4603
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4689
4604
  fi
4690
4605
else
4691
4606
  ac_cv_path_FGREP=$FGREP
4693
4608
 
4694
4609
   fi
4695
4610
fi
4696
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4697
4612
$as_echo "$ac_cv_path_FGREP" >&6; }
4698
4613
 FGREP="$ac_cv_path_FGREP"
4699
4614
 
4719
4634
 
4720
4635
 
4721
4636
# Check whether --with-gnu-ld was given.
4722
 
if test "${with_gnu_ld+set}" = set; then
 
4637
if test "${with_gnu_ld+set}" = set; then :
4723
4638
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4724
4639
else
4725
4640
  with_gnu_ld=no
4728
4643
ac_prog=ld
4729
4644
if test "$GCC" = yes; then
4730
4645
  # Check if gcc -print-prog-name=ld gives a path.
4731
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4646
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4732
4647
$as_echo_n "checking for ld used by $CC... " >&6; }
4733
4648
  case $host in
4734
4649
  *-*-mingw*)
4758
4673
    ;;
4759
4674
  esac
4760
4675
elif test "$with_gnu_ld" = yes; then
4761
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4676
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4762
4677
$as_echo_n "checking for GNU ld... " >&6; }
4763
4678
else
4764
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4679
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4765
4680
$as_echo_n "checking for non-GNU ld... " >&6; }
4766
4681
fi
4767
 
if test "${lt_cv_path_LD+set}" = set; then
 
4682
if test "${lt_cv_path_LD+set}" = set; then :
4768
4683
  $as_echo_n "(cached) " >&6
4769
4684
else
4770
4685
  if test -z "$LD"; then
4795
4710
 
4796
4711
LD="$lt_cv_path_LD"
4797
4712
if test -n "$LD"; then
4798
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4713
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4799
4714
$as_echo "$LD" >&6; }
4800
4715
else
4801
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4716
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802
4717
$as_echo "no" >&6; }
4803
4718
fi
4804
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4805
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4806
 
   { (exit 1); exit 1; }; }
4807
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4719
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4808
4721
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4809
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
4722
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4810
4723
  $as_echo_n "(cached) " >&6
4811
4724
else
4812
4725
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4819
4732
  ;;
4820
4733
esac
4821
4734
fi
4822
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4823
4736
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4824
4737
with_gnu_ld=$lt_cv_prog_gnu_ld
4825
4738
 
4831
4744
 
4832
4745
 
4833
4746
 
4834
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4835
4748
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4836
 
if test "${lt_cv_path_NM+set}" = set; then
 
4749
if test "${lt_cv_path_NM+set}" = set; then :
4837
4750
  $as_echo_n "(cached) " >&6
4838
4751
else
4839
4752
  if test -n "$NM"; then
4880
4793
  : ${lt_cv_path_NM=no}
4881
4794
fi
4882
4795
fi
4883
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4884
4797
$as_echo "$lt_cv_path_NM" >&6; }
4885
4798
if test "$lt_cv_path_NM" != "no"; then
4886
4799
  NM="$lt_cv_path_NM"
4891
4804
  do
4892
4805
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4893
4806
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4894
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895
4808
$as_echo_n "checking for $ac_word... " >&6; }
4896
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4809
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4897
4810
  $as_echo_n "(cached) " >&6
4898
4811
else
4899
4812
  if test -n "$DUMPBIN"; then
4904
4817
do
4905
4818
  IFS=$as_save_IFS
4906
4819
  test -z "$as_dir" && as_dir=.
4907
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4820
    for ac_exec_ext in '' $ac_executable_extensions; do
4908
4821
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4909
4822
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4910
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4823
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911
4824
    break 2
4912
4825
  fi
4913
4826
done
4914
 
done
 
4827
  done
4915
4828
IFS=$as_save_IFS
4916
4829
 
4917
4830
fi
4918
4831
fi
4919
4832
DUMPBIN=$ac_cv_prog_DUMPBIN
4920
4833
if test -n "$DUMPBIN"; then
4921
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
4834
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4922
4835
$as_echo "$DUMPBIN" >&6; }
4923
4836
else
4924
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4837
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925
4838
$as_echo "no" >&6; }
4926
4839
fi
4927
4840
 
4935
4848
do
4936
4849
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4937
4850
set dummy $ac_prog; ac_word=$2
4938
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939
4852
$as_echo_n "checking for $ac_word... " >&6; }
4940
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
4853
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4941
4854
  $as_echo_n "(cached) " >&6
4942
4855
else
4943
4856
  if test -n "$ac_ct_DUMPBIN"; then
4948
4861
do
4949
4862
  IFS=$as_save_IFS
4950
4863
  test -z "$as_dir" && as_dir=.
4951
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4864
    for ac_exec_ext in '' $ac_executable_extensions; do
4952
4865
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953
4866
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4954
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4867
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955
4868
    break 2
4956
4869
  fi
4957
4870
done
4958
 
done
 
4871
  done
4959
4872
IFS=$as_save_IFS
4960
4873
 
4961
4874
fi
4962
4875
fi
4963
4876
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4964
4877
if test -n "$ac_ct_DUMPBIN"; then
4965
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
4878
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4966
4879
$as_echo "$ac_ct_DUMPBIN" >&6; }
4967
4880
else
4968
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4881
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969
4882
$as_echo "no" >&6; }
4970
4883
fi
4971
4884
 
4978
4891
  else
4979
4892
    case $cross_compiling:$ac_tool_warned in
4980
4893
yes:)
4981
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4894
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4982
4895
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4983
4896
ac_tool_warned=yes ;;
4984
4897
esac
4998
4911
 
4999
4912
 
5000
4913
 
5001
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
4914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5002
4915
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5003
 
if test "${lt_cv_nm_interface+set}" = set; then
 
4916
if test "${lt_cv_nm_interface+set}" = set; then :
5004
4917
  $as_echo_n "(cached) " >&6
5005
4918
else
5006
4919
  lt_cv_nm_interface="BSD nm"
5007
4920
  echo "int some_variable = 0;" > conftest.$ac_ext
5008
 
  (eval echo "\"\$as_me:5008: $ac_compile\"" >&5)
 
4921
  (eval echo "\"\$as_me:4921: $ac_compile\"" >&5)
5009
4922
  (eval "$ac_compile" 2>conftest.err)
5010
4923
  cat conftest.err >&5
5011
 
  (eval echo "\"\$as_me:5011: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4924
  (eval echo "\"\$as_me:4924: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5012
4925
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5013
4926
  cat conftest.err >&5
5014
 
  (eval echo "\"\$as_me:5014: output\"" >&5)
 
4927
  (eval echo "\"\$as_me:4927: output\"" >&5)
5015
4928
  cat conftest.out >&5
5016
4929
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5017
4930
    lt_cv_nm_interface="MS dumpbin"
5018
4931
  fi
5019
4932
  rm -f conftest*
5020
4933
fi
5021
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
4934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5022
4935
$as_echo "$lt_cv_nm_interface" >&6; }
5023
4936
 
5024
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5025
4938
$as_echo_n "checking whether ln -s works... " >&6; }
5026
4939
LN_S=$as_ln_s
5027
4940
if test "$LN_S" = "ln -s"; then
5028
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4941
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5029
4942
$as_echo "yes" >&6; }
5030
4943
else
5031
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4944
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5032
4945
$as_echo "no, using $LN_S" >&6; }
5033
4946
fi
5034
4947
 
5035
4948
# find the maximum length of command line arguments
5036
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
4949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5037
4950
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5038
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
4951
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5039
4952
  $as_echo_n "(cached) " >&6
5040
4953
else
5041
4954
    i=0
5153
5066
fi
5154
5067
 
5155
5068
if test -n $lt_cv_sys_max_cmd_len ; then
5156
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5069
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5157
5070
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5158
5071
else
5159
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5072
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5160
5073
$as_echo "none" >&6; }
5161
5074
fi
5162
5075
max_cmd_len=$lt_cv_sys_max_cmd_len
5170
5083
: ${MV="mv -f"}
5171
5084
: ${RM="rm -f"}
5172
5085
 
5173
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5174
5087
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5175
5088
# Try some XSI features
5176
5089
xsi_shell=no
5180
5093
    && eval 'test $(( 1 + 1 )) -eq 2 \
5181
5094
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5182
5095
  && xsi_shell=yes
5183
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5184
5097
$as_echo "$xsi_shell" >&6; }
5185
5098
 
5186
5099
 
5187
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5188
5101
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5189
5102
lt_shell_append=no
5190
5103
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5191
5104
    >/dev/null 2>&1 \
5192
5105
  && lt_shell_append=yes
5193
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5194
5107
$as_echo "$lt_shell_append" >&6; }
5195
5108
 
5196
5109
 
5225
5138
 
5226
5139
 
5227
5140
 
5228
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5229
5142
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5230
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5143
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5231
5144
  $as_echo_n "(cached) " >&6
5232
5145
else
5233
5146
  lt_cv_ld_reload_flag='-r'
5234
5147
fi
5235
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5236
5149
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5237
5150
reload_flag=$lt_cv_ld_reload_flag
5238
5151
case $reload_flag in
5261
5174
if test -n "$ac_tool_prefix"; then
5262
5175
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5263
5176
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5264
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265
5178
$as_echo_n "checking for $ac_word... " >&6; }
5266
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5179
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5267
5180
  $as_echo_n "(cached) " >&6
5268
5181
else
5269
5182
  if test -n "$OBJDUMP"; then
5274
5187
do
5275
5188
  IFS=$as_save_IFS
5276
5189
  test -z "$as_dir" && as_dir=.
5277
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5190
    for ac_exec_ext in '' $ac_executable_extensions; do
5278
5191
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5279
5192
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5280
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5193
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281
5194
    break 2
5282
5195
  fi
5283
5196
done
5284
 
done
 
5197
  done
5285
5198
IFS=$as_save_IFS
5286
5199
 
5287
5200
fi
5288
5201
fi
5289
5202
OBJDUMP=$ac_cv_prog_OBJDUMP
5290
5203
if test -n "$OBJDUMP"; then
5291
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5204
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5292
5205
$as_echo "$OBJDUMP" >&6; }
5293
5206
else
5294
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5207
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295
5208
$as_echo "no" >&6; }
5296
5209
fi
5297
5210
 
5301
5214
  ac_ct_OBJDUMP=$OBJDUMP
5302
5215
  # Extract the first word of "objdump", so it can be a program name with args.
5303
5216
set dummy objdump; ac_word=$2
5304
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305
5218
$as_echo_n "checking for $ac_word... " >&6; }
5306
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5219
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5307
5220
  $as_echo_n "(cached) " >&6
5308
5221
else
5309
5222
  if test -n "$ac_ct_OBJDUMP"; then
5314
5227
do
5315
5228
  IFS=$as_save_IFS
5316
5229
  test -z "$as_dir" && as_dir=.
5317
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5230
    for ac_exec_ext in '' $ac_executable_extensions; do
5318
5231
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5319
5232
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5320
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5233
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321
5234
    break 2
5322
5235
  fi
5323
5236
done
5324
 
done
 
5237
  done
5325
5238
IFS=$as_save_IFS
5326
5239
 
5327
5240
fi
5328
5241
fi
5329
5242
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5330
5243
if test -n "$ac_ct_OBJDUMP"; then
5331
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5244
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5332
5245
$as_echo "$ac_ct_OBJDUMP" >&6; }
5333
5246
else
5334
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5247
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335
5248
$as_echo "no" >&6; }
5336
5249
fi
5337
5250
 
5340
5253
  else
5341
5254
    case $cross_compiling:$ac_tool_warned in
5342
5255
yes:)
5343
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5256
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5344
5257
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5345
5258
ac_tool_warned=yes ;;
5346
5259
esac
5360
5273
 
5361
5274
 
5362
5275
 
5363
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5364
5277
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5365
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5278
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5366
5279
  $as_echo_n "(cached) " >&6
5367
5280
else
5368
5281
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5556
5469
esac
5557
5470
 
5558
5471
fi
5559
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5560
5473
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5561
5474
file_magic_cmd=$lt_cv_file_magic_cmd
5562
5475
deplibs_check_method=$lt_cv_deplibs_check_method
5576
5489
if test -n "$ac_tool_prefix"; then
5577
5490
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5578
5491
set dummy ${ac_tool_prefix}ar; ac_word=$2
5579
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5492
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5580
5493
$as_echo_n "checking for $ac_word... " >&6; }
5581
 
if test "${ac_cv_prog_AR+set}" = set; then
 
5494
if test "${ac_cv_prog_AR+set}" = set; then :
5582
5495
  $as_echo_n "(cached) " >&6
5583
5496
else
5584
5497
  if test -n "$AR"; then
5589
5502
do
5590
5503
  IFS=$as_save_IFS
5591
5504
  test -z "$as_dir" && as_dir=.
5592
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5505
    for ac_exec_ext in '' $ac_executable_extensions; do
5593
5506
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5594
5507
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5595
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5508
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5596
5509
    break 2
5597
5510
  fi
5598
5511
done
5599
 
done
 
5512
  done
5600
5513
IFS=$as_save_IFS
5601
5514
 
5602
5515
fi
5603
5516
fi
5604
5517
AR=$ac_cv_prog_AR
5605
5518
if test -n "$AR"; then
5606
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5519
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5607
5520
$as_echo "$AR" >&6; }
5608
5521
else
5609
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5522
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610
5523
$as_echo "no" >&6; }
5611
5524
fi
5612
5525
 
5616
5529
  ac_ct_AR=$AR
5617
5530
  # Extract the first word of "ar", so it can be a program name with args.
5618
5531
set dummy ar; ac_word=$2
5619
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620
5533
$as_echo_n "checking for $ac_word... " >&6; }
5621
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5534
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5622
5535
  $as_echo_n "(cached) " >&6
5623
5536
else
5624
5537
  if test -n "$ac_ct_AR"; then
5629
5542
do
5630
5543
  IFS=$as_save_IFS
5631
5544
  test -z "$as_dir" && as_dir=.
5632
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5545
    for ac_exec_ext in '' $ac_executable_extensions; do
5633
5546
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5634
5547
    ac_cv_prog_ac_ct_AR="ar"
5635
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5548
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636
5549
    break 2
5637
5550
  fi
5638
5551
done
5639
 
done
 
5552
  done
5640
5553
IFS=$as_save_IFS
5641
5554
 
5642
5555
fi
5643
5556
fi
5644
5557
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5645
5558
if test -n "$ac_ct_AR"; then
5646
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5559
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5647
5560
$as_echo "$ac_ct_AR" >&6; }
5648
5561
else
5649
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5562
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650
5563
$as_echo "no" >&6; }
5651
5564
fi
5652
5565
 
5655
5568
  else
5656
5569
    case $cross_compiling:$ac_tool_warned in
5657
5570
yes:)
5658
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5571
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5659
5572
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5660
5573
ac_tool_warned=yes ;;
5661
5574
esac
5681
5594
if test -n "$ac_tool_prefix"; then
5682
5595
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5683
5596
set dummy ${ac_tool_prefix}strip; ac_word=$2
5684
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685
5598
$as_echo_n "checking for $ac_word... " >&6; }
5686
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5599
if test "${ac_cv_prog_STRIP+set}" = set; then :
5687
5600
  $as_echo_n "(cached) " >&6
5688
5601
else
5689
5602
  if test -n "$STRIP"; then
5694
5607
do
5695
5608
  IFS=$as_save_IFS
5696
5609
  test -z "$as_dir" && as_dir=.
5697
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5610
    for ac_exec_ext in '' $ac_executable_extensions; do
5698
5611
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5699
5612
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5700
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5613
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701
5614
    break 2
5702
5615
  fi
5703
5616
done
5704
 
done
 
5617
  done
5705
5618
IFS=$as_save_IFS
5706
5619
 
5707
5620
fi
5708
5621
fi
5709
5622
STRIP=$ac_cv_prog_STRIP
5710
5623
if test -n "$STRIP"; then
5711
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5624
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5712
5625
$as_echo "$STRIP" >&6; }
5713
5626
else
5714
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5627
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715
5628
$as_echo "no" >&6; }
5716
5629
fi
5717
5630
 
5721
5634
  ac_ct_STRIP=$STRIP
5722
5635
  # Extract the first word of "strip", so it can be a program name with args.
5723
5636
set dummy strip; ac_word=$2
5724
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5725
5638
$as_echo_n "checking for $ac_word... " >&6; }
5726
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5639
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5727
5640
  $as_echo_n "(cached) " >&6
5728
5641
else
5729
5642
  if test -n "$ac_ct_STRIP"; then
5734
5647
do
5735
5648
  IFS=$as_save_IFS
5736
5649
  test -z "$as_dir" && as_dir=.
5737
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5650
    for ac_exec_ext in '' $ac_executable_extensions; do
5738
5651
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5739
5652
    ac_cv_prog_ac_ct_STRIP="strip"
5740
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5653
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741
5654
    break 2
5742
5655
  fi
5743
5656
done
5744
 
done
 
5657
  done
5745
5658
IFS=$as_save_IFS
5746
5659
 
5747
5660
fi
5748
5661
fi
5749
5662
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5750
5663
if test -n "$ac_ct_STRIP"; then
5751
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5664
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5752
5665
$as_echo "$ac_ct_STRIP" >&6; }
5753
5666
else
5754
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5667
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5755
5668
$as_echo "no" >&6; }
5756
5669
fi
5757
5670
 
5760
5673
  else
5761
5674
    case $cross_compiling:$ac_tool_warned in
5762
5675
yes:)
5763
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5676
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5764
5677
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5765
5678
ac_tool_warned=yes ;;
5766
5679
esac
5780
5693
if test -n "$ac_tool_prefix"; then
5781
5694
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5782
5695
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5783
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784
5697
$as_echo_n "checking for $ac_word... " >&6; }
5785
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5698
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5786
5699
  $as_echo_n "(cached) " >&6
5787
5700
else
5788
5701
  if test -n "$RANLIB"; then
5793
5706
do
5794
5707
  IFS=$as_save_IFS
5795
5708
  test -z "$as_dir" && as_dir=.
5796
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5709
    for ac_exec_ext in '' $ac_executable_extensions; do
5797
5710
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5798
5711
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5799
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5712
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5800
5713
    break 2
5801
5714
  fi
5802
5715
done
5803
 
done
 
5716
  done
5804
5717
IFS=$as_save_IFS
5805
5718
 
5806
5719
fi
5807
5720
fi
5808
5721
RANLIB=$ac_cv_prog_RANLIB
5809
5722
if test -n "$RANLIB"; then
5810
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5723
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5811
5724
$as_echo "$RANLIB" >&6; }
5812
5725
else
5813
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814
5727
$as_echo "no" >&6; }
5815
5728
fi
5816
5729
 
5820
5733
  ac_ct_RANLIB=$RANLIB
5821
5734
  # Extract the first word of "ranlib", so it can be a program name with args.
5822
5735
set dummy ranlib; ac_word=$2
5823
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824
5737
$as_echo_n "checking for $ac_word... " >&6; }
5825
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5738
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5826
5739
  $as_echo_n "(cached) " >&6
5827
5740
else
5828
5741
  if test -n "$ac_ct_RANLIB"; then
5833
5746
do
5834
5747
  IFS=$as_save_IFS
5835
5748
  test -z "$as_dir" && as_dir=.
5836
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5749
    for ac_exec_ext in '' $ac_executable_extensions; do
5837
5750
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5838
5751
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5839
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5752
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840
5753
    break 2
5841
5754
  fi
5842
5755
done
5843
 
done
 
5756
  done
5844
5757
IFS=$as_save_IFS
5845
5758
 
5846
5759
fi
5847
5760
fi
5848
5761
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5849
5762
if test -n "$ac_ct_RANLIB"; then
5850
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5851
5764
$as_echo "$ac_ct_RANLIB" >&6; }
5852
5765
else
5853
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854
5767
$as_echo "no" >&6; }
5855
5768
fi
5856
5769
 
5859
5772
  else
5860
5773
    case $cross_compiling:$ac_tool_warned in
5861
5774
yes:)
5862
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5775
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5863
5776
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5864
5777
ac_tool_warned=yes ;;
5865
5778
esac
5937
5850
 
5938
5851
 
5939
5852
# Check for command to grab the raw symbol name followed by C symbol from nm.
5940
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5941
5854
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5942
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
5855
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5943
5856
  $as_echo_n "(cached) " >&6
5944
5857
else
5945
5858
 
6055
5968
int main(){nm_test_var='a';nm_test_func();return(0);}
6056
5969
_LT_EOF
6057
5970
 
6058
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5971
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6059
5972
  (eval $ac_compile) 2>&5
6060
5973
  ac_status=$?
6061
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062
 
  (exit $ac_status); }; then
 
5974
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5975
  test $ac_status = 0; }; then
6063
5976
    # Now try to grab the symbols.
6064
5977
    nlist=conftest.nm
6065
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
5978
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6066
5979
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6067
5980
  ac_status=$?
6068
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069
 
  (exit $ac_status); } && test -s "$nlist"; then
 
5981
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5982
  test $ac_status = 0; } && test -s "$nlist"; then
6070
5983
      # Try sorting and uniquifying the output.
6071
5984
      if sort "$nlist" | uniq > "$nlist"T; then
6072
5985
        mv -f "$nlist"T "$nlist"
6119
6032
          lt_save_CFLAGS="$CFLAGS"
6120
6033
          LIBS="conftstm.$ac_objext"
6121
6034
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6122
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6035
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6123
6036
  (eval $ac_link) 2>&5
6124
6037
  ac_status=$?
6125
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6038
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6039
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6127
6040
            pipe_works=yes
6128
6041
          fi
6129
6042
          LIBS="$lt_save_LIBS"
6157
6070
  lt_cv_sys_global_symbol_to_cdecl=
6158
6071
fi
6159
6072
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6160
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6073
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6161
6074
$as_echo "failed" >&6; }
6162
6075
else
6163
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6076
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6164
6077
$as_echo "ok" >&6; }
6165
6078
fi
6166
6079
 
6186
6099
 
6187
6100
 
6188
6101
# Check whether --enable-libtool-lock was given.
6189
 
if test "${enable_libtool_lock+set}" = set; then
 
6102
if test "${enable_libtool_lock+set}" = set; then :
6190
6103
  enableval=$enable_libtool_lock;
6191
6104
fi
6192
6105
 
6198
6111
ia64-*-hpux*)
6199
6112
  # Find out which ABI we are using.
6200
6113
  echo 'int i;' > conftest.$ac_ext
6201
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6114
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6202
6115
  (eval $ac_compile) 2>&5
6203
6116
  ac_status=$?
6204
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205
 
  (exit $ac_status); }; then
 
6117
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6118
  test $ac_status = 0; }; then
6206
6119
    case `/usr/bin/file conftest.$ac_objext` in
6207
6120
      *ELF-32*)
6208
6121
        HPUX_IA64_MODE="32"
6216
6129
  ;;
6217
6130
*-*-irix6*)
6218
6131
  # Find out which ABI we are using.
6219
 
  echo '#line 6219 "configure"' > conftest.$ac_ext
6220
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6132
  echo '#line 6132 "configure"' > conftest.$ac_ext
 
6133
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6221
6134
  (eval $ac_compile) 2>&5
6222
6135
  ac_status=$?
6223
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224
 
  (exit $ac_status); }; then
 
6136
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6137
  test $ac_status = 0; }; then
6225
6138
    if test "$lt_cv_prog_gnu_ld" = yes; then
6226
6139
      case `/usr/bin/file conftest.$ac_objext` in
6227
6140
        *32-bit*)
6255
6168
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6256
6169
  # Find out which ABI we are using.
6257
6170
  echo 'int i;' > conftest.$ac_ext
6258
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6171
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6259
6172
  (eval $ac_compile) 2>&5
6260
6173
  ac_status=$?
6261
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262
 
  (exit $ac_status); }; then
 
6174
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6175
  test $ac_status = 0; }; then
6263
6176
    case `/usr/bin/file conftest.o` in
6264
6177
      *32-bit*)
6265
6178
        case $host in
6308
6221
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6309
6222
  SAVE_CFLAGS="$CFLAGS"
6310
6223
  CFLAGS="$CFLAGS -belf"
6311
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6224
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6312
6225
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6313
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6226
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6314
6227
  $as_echo_n "(cached) " >&6
6315
6228
else
6316
6229
  ac_ext=c
6319
6232
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6320
6233
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6321
6234
 
6322
 
     cat >conftest.$ac_ext <<_ACEOF
6323
 
/* confdefs.h.  */
6324
 
_ACEOF
6325
 
cat confdefs.h >>conftest.$ac_ext
6326
 
cat >>conftest.$ac_ext <<_ACEOF
 
6235
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6327
6236
/* end confdefs.h.  */
6328
6237
 
6329
6238
int
6334
6243
  return 0;
6335
6244
}
6336
6245
_ACEOF
6337
 
rm -f conftest.$ac_objext conftest$ac_exeext
6338
 
if { (ac_try="$ac_link"
6339
 
case "(($ac_try" in
6340
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6341
 
  *) ac_try_echo=$ac_try;;
6342
 
esac
6343
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6344
 
$as_echo "$ac_try_echo") >&5
6345
 
  (eval "$ac_link") 2>conftest.er1
6346
 
  ac_status=$?
6347
 
  grep -v '^ *+' conftest.er1 >conftest.err
6348
 
  rm -f conftest.er1
6349
 
  cat conftest.err >&5
6350
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351
 
  (exit $ac_status); } && {
6352
 
         test -z "$ac_c_werror_flag" ||
6353
 
         test ! -s conftest.err
6354
 
       } && test -s conftest$ac_exeext && {
6355
 
         test "$cross_compiling" = yes ||
6356
 
         $as_test_x conftest$ac_exeext
6357
 
       }; then
 
6246
if ac_fn_c_try_link "$LINENO"; then :
6358
6247
  lt_cv_cc_needs_belf=yes
6359
6248
else
6360
 
  $as_echo "$as_me: failed program was:" >&5
6361
 
sed 's/^/| /' conftest.$ac_ext >&5
6362
 
 
6363
 
        lt_cv_cc_needs_belf=no
 
6249
  lt_cv_cc_needs_belf=no
6364
6250
fi
6365
 
 
6366
 
rm -rf conftest.dSYM
6367
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6368
 
      conftest$ac_exeext conftest.$ac_ext
 
6251
rm -f core conftest.err conftest.$ac_objext \
 
6252
    conftest$ac_exeext conftest.$ac_ext
6369
6253
     ac_ext=c
6370
6254
ac_cpp='$CPP $CPPFLAGS'
6371
6255
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6373
6257
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6374
6258
 
6375
6259
fi
6376
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6377
6261
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6378
6262
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6379
6263
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6383
6267
sparc*-*solaris*)
6384
6268
  # Find out which ABI we are using.
6385
6269
  echo 'int i;' > conftest.$ac_ext
6386
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6270
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6387
6271
  (eval $ac_compile) 2>&5
6388
6272
  ac_status=$?
6389
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390
 
  (exit $ac_status); }; then
 
6273
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6274
  test $ac_status = 0; }; then
6391
6275
    case `/usr/bin/file conftest.o` in
6392
6276
    *64-bit*)
6393
6277
      case $lt_cv_prog_gnu_ld in
6413
6297
    if test -n "$ac_tool_prefix"; then
6414
6298
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6415
6299
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6416
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6417
6301
$as_echo_n "checking for $ac_word... " >&6; }
6418
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6302
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6419
6303
  $as_echo_n "(cached) " >&6
6420
6304
else
6421
6305
  if test -n "$DSYMUTIL"; then
6426
6310
do
6427
6311
  IFS=$as_save_IFS
6428
6312
  test -z "$as_dir" && as_dir=.
6429
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6313
    for ac_exec_ext in '' $ac_executable_extensions; do
6430
6314
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6431
6315
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6432
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6316
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6433
6317
    break 2
6434
6318
  fi
6435
6319
done
6436
 
done
 
6320
  done
6437
6321
IFS=$as_save_IFS
6438
6322
 
6439
6323
fi
6440
6324
fi
6441
6325
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6442
6326
if test -n "$DSYMUTIL"; then
6443
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6327
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6444
6328
$as_echo "$DSYMUTIL" >&6; }
6445
6329
else
6446
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6330
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447
6331
$as_echo "no" >&6; }
6448
6332
fi
6449
6333
 
6453
6337
  ac_ct_DSYMUTIL=$DSYMUTIL
6454
6338
  # Extract the first word of "dsymutil", so it can be a program name with args.
6455
6339
set dummy dsymutil; ac_word=$2
6456
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457
6341
$as_echo_n "checking for $ac_word... " >&6; }
6458
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6342
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6459
6343
  $as_echo_n "(cached) " >&6
6460
6344
else
6461
6345
  if test -n "$ac_ct_DSYMUTIL"; then
6466
6350
do
6467
6351
  IFS=$as_save_IFS
6468
6352
  test -z "$as_dir" && as_dir=.
6469
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6353
    for ac_exec_ext in '' $ac_executable_extensions; do
6470
6354
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471
6355
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6472
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6356
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6473
6357
    break 2
6474
6358
  fi
6475
6359
done
6476
 
done
 
6360
  done
6477
6361
IFS=$as_save_IFS
6478
6362
 
6479
6363
fi
6480
6364
fi
6481
6365
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6482
6366
if test -n "$ac_ct_DSYMUTIL"; then
6483
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6484
6368
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6485
6369
else
6486
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6370
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487
6371
$as_echo "no" >&6; }
6488
6372
fi
6489
6373
 
6492
6376
  else
6493
6377
    case $cross_compiling:$ac_tool_warned in
6494
6378
yes:)
6495
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6379
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6496
6380
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6497
6381
ac_tool_warned=yes ;;
6498
6382
esac
6505
6389
    if test -n "$ac_tool_prefix"; then
6506
6390
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6507
6391
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6508
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6509
6393
$as_echo_n "checking for $ac_word... " >&6; }
6510
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6394
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6511
6395
  $as_echo_n "(cached) " >&6
6512
6396
else
6513
6397
  if test -n "$NMEDIT"; then
6518
6402
do
6519
6403
  IFS=$as_save_IFS
6520
6404
  test -z "$as_dir" && as_dir=.
6521
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6405
    for ac_exec_ext in '' $ac_executable_extensions; do
6522
6406
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6523
6407
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6524
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6408
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6525
6409
    break 2
6526
6410
  fi
6527
6411
done
6528
 
done
 
6412
  done
6529
6413
IFS=$as_save_IFS
6530
6414
 
6531
6415
fi
6532
6416
fi
6533
6417
NMEDIT=$ac_cv_prog_NMEDIT
6534
6418
if test -n "$NMEDIT"; then
6535
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6419
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6536
6420
$as_echo "$NMEDIT" >&6; }
6537
6421
else
6538
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6422
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539
6423
$as_echo "no" >&6; }
6540
6424
fi
6541
6425
 
6545
6429
  ac_ct_NMEDIT=$NMEDIT
6546
6430
  # Extract the first word of "nmedit", so it can be a program name with args.
6547
6431
set dummy nmedit; ac_word=$2
6548
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549
6433
$as_echo_n "checking for $ac_word... " >&6; }
6550
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6434
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6551
6435
  $as_echo_n "(cached) " >&6
6552
6436
else
6553
6437
  if test -n "$ac_ct_NMEDIT"; then
6558
6442
do
6559
6443
  IFS=$as_save_IFS
6560
6444
  test -z "$as_dir" && as_dir=.
6561
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6445
    for ac_exec_ext in '' $ac_executable_extensions; do
6562
6446
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6563
6447
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6564
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6448
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6565
6449
    break 2
6566
6450
  fi
6567
6451
done
6568
 
done
 
6452
  done
6569
6453
IFS=$as_save_IFS
6570
6454
 
6571
6455
fi
6572
6456
fi
6573
6457
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6574
6458
if test -n "$ac_ct_NMEDIT"; then
6575
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6459
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6576
6460
$as_echo "$ac_ct_NMEDIT" >&6; }
6577
6461
else
6578
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6462
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579
6463
$as_echo "no" >&6; }
6580
6464
fi
6581
6465
 
6584
6468
  else
6585
6469
    case $cross_compiling:$ac_tool_warned in
6586
6470
yes:)
6587
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6471
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6588
6472
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6589
6473
ac_tool_warned=yes ;;
6590
6474
esac
6597
6481
    if test -n "$ac_tool_prefix"; then
6598
6482
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6599
6483
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6600
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601
6485
$as_echo_n "checking for $ac_word... " >&6; }
6602
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6486
if test "${ac_cv_prog_LIPO+set}" = set; then :
6603
6487
  $as_echo_n "(cached) " >&6
6604
6488
else
6605
6489
  if test -n "$LIPO"; then
6610
6494
do
6611
6495
  IFS=$as_save_IFS
6612
6496
  test -z "$as_dir" && as_dir=.
6613
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6497
    for ac_exec_ext in '' $ac_executable_extensions; do
6614
6498
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6615
6499
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6616
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6500
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6617
6501
    break 2
6618
6502
  fi
6619
6503
done
6620
 
done
 
6504
  done
6621
6505
IFS=$as_save_IFS
6622
6506
 
6623
6507
fi
6624
6508
fi
6625
6509
LIPO=$ac_cv_prog_LIPO
6626
6510
if test -n "$LIPO"; then
6627
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6511
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6628
6512
$as_echo "$LIPO" >&6; }
6629
6513
else
6630
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631
6515
$as_echo "no" >&6; }
6632
6516
fi
6633
6517
 
6637
6521
  ac_ct_LIPO=$LIPO
6638
6522
  # Extract the first word of "lipo", so it can be a program name with args.
6639
6523
set dummy lipo; ac_word=$2
6640
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641
6525
$as_echo_n "checking for $ac_word... " >&6; }
6642
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6526
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6643
6527
  $as_echo_n "(cached) " >&6
6644
6528
else
6645
6529
  if test -n "$ac_ct_LIPO"; then
6650
6534
do
6651
6535
  IFS=$as_save_IFS
6652
6536
  test -z "$as_dir" && as_dir=.
6653
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6537
    for ac_exec_ext in '' $ac_executable_extensions; do
6654
6538
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6655
6539
    ac_cv_prog_ac_ct_LIPO="lipo"
6656
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6540
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6657
6541
    break 2
6658
6542
  fi
6659
6543
done
6660
 
done
 
6544
  done
6661
6545
IFS=$as_save_IFS
6662
6546
 
6663
6547
fi
6664
6548
fi
6665
6549
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6666
6550
if test -n "$ac_ct_LIPO"; then
6667
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6551
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6668
6552
$as_echo "$ac_ct_LIPO" >&6; }
6669
6553
else
6670
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671
6555
$as_echo "no" >&6; }
6672
6556
fi
6673
6557
 
6676
6560
  else
6677
6561
    case $cross_compiling:$ac_tool_warned in
6678
6562
yes:)
6679
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6563
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6680
6564
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6681
6565
ac_tool_warned=yes ;;
6682
6566
esac
6689
6573
    if test -n "$ac_tool_prefix"; then
6690
6574
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6691
6575
set dummy ${ac_tool_prefix}otool; ac_word=$2
6692
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6693
6577
$as_echo_n "checking for $ac_word... " >&6; }
6694
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6578
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6695
6579
  $as_echo_n "(cached) " >&6
6696
6580
else
6697
6581
  if test -n "$OTOOL"; then
6702
6586
do
6703
6587
  IFS=$as_save_IFS
6704
6588
  test -z "$as_dir" && as_dir=.
6705
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6589
    for ac_exec_ext in '' $ac_executable_extensions; do
6706
6590
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6707
6591
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6708
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6592
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709
6593
    break 2
6710
6594
  fi
6711
6595
done
6712
 
done
 
6596
  done
6713
6597
IFS=$as_save_IFS
6714
6598
 
6715
6599
fi
6716
6600
fi
6717
6601
OTOOL=$ac_cv_prog_OTOOL
6718
6602
if test -n "$OTOOL"; then
6719
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6603
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6720
6604
$as_echo "$OTOOL" >&6; }
6721
6605
else
6722
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6606
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723
6607
$as_echo "no" >&6; }
6724
6608
fi
6725
6609
 
6729
6613
  ac_ct_OTOOL=$OTOOL
6730
6614
  # Extract the first word of "otool", so it can be a program name with args.
6731
6615
set dummy otool; ac_word=$2
6732
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733
6617
$as_echo_n "checking for $ac_word... " >&6; }
6734
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6618
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6735
6619
  $as_echo_n "(cached) " >&6
6736
6620
else
6737
6621
  if test -n "$ac_ct_OTOOL"; then
6742
6626
do
6743
6627
  IFS=$as_save_IFS
6744
6628
  test -z "$as_dir" && as_dir=.
6745
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6629
    for ac_exec_ext in '' $ac_executable_extensions; do
6746
6630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6747
6631
    ac_cv_prog_ac_ct_OTOOL="otool"
6748
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6632
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6749
6633
    break 2
6750
6634
  fi
6751
6635
done
6752
 
done
 
6636
  done
6753
6637
IFS=$as_save_IFS
6754
6638
 
6755
6639
fi
6756
6640
fi
6757
6641
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6758
6642
if test -n "$ac_ct_OTOOL"; then
6759
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6643
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6760
6644
$as_echo "$ac_ct_OTOOL" >&6; }
6761
6645
else
6762
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6646
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6763
6647
$as_echo "no" >&6; }
6764
6648
fi
6765
6649
 
6768
6652
  else
6769
6653
    case $cross_compiling:$ac_tool_warned in
6770
6654
yes:)
6771
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6655
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6772
6656
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6773
6657
ac_tool_warned=yes ;;
6774
6658
esac
6781
6665
    if test -n "$ac_tool_prefix"; then
6782
6666
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6783
6667
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6784
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6785
6669
$as_echo_n "checking for $ac_word... " >&6; }
6786
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6670
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6787
6671
  $as_echo_n "(cached) " >&6
6788
6672
else
6789
6673
  if test -n "$OTOOL64"; then
6794
6678
do
6795
6679
  IFS=$as_save_IFS
6796
6680
  test -z "$as_dir" && as_dir=.
6797
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6681
    for ac_exec_ext in '' $ac_executable_extensions; do
6798
6682
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6799
6683
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6800
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6684
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6801
6685
    break 2
6802
6686
  fi
6803
6687
done
6804
 
done
 
6688
  done
6805
6689
IFS=$as_save_IFS
6806
6690
 
6807
6691
fi
6808
6692
fi
6809
6693
OTOOL64=$ac_cv_prog_OTOOL64
6810
6694
if test -n "$OTOOL64"; then
6811
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6695
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6812
6696
$as_echo "$OTOOL64" >&6; }
6813
6697
else
6814
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6698
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6815
6699
$as_echo "no" >&6; }
6816
6700
fi
6817
6701
 
6821
6705
  ac_ct_OTOOL64=$OTOOL64
6822
6706
  # Extract the first word of "otool64", so it can be a program name with args.
6823
6707
set dummy otool64; ac_word=$2
6824
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6825
6709
$as_echo_n "checking for $ac_word... " >&6; }
6826
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6710
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6827
6711
  $as_echo_n "(cached) " >&6
6828
6712
else
6829
6713
  if test -n "$ac_ct_OTOOL64"; then
6834
6718
do
6835
6719
  IFS=$as_save_IFS
6836
6720
  test -z "$as_dir" && as_dir=.
6837
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6721
    for ac_exec_ext in '' $ac_executable_extensions; do
6838
6722
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6839
6723
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6840
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6724
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6841
6725
    break 2
6842
6726
  fi
6843
6727
done
6844
 
done
 
6728
  done
6845
6729
IFS=$as_save_IFS
6846
6730
 
6847
6731
fi
6848
6732
fi
6849
6733
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6850
6734
if test -n "$ac_ct_OTOOL64"; then
6851
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6735
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6852
6736
$as_echo "$ac_ct_OTOOL64" >&6; }
6853
6737
else
6854
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6738
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6855
6739
$as_echo "no" >&6; }
6856
6740
fi
6857
6741
 
6860
6744
  else
6861
6745
    case $cross_compiling:$ac_tool_warned in
6862
6746
yes:)
6863
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6747
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6864
6748
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6865
6749
ac_tool_warned=yes ;;
6866
6750
esac
6896
6780
 
6897
6781
 
6898
6782
 
6899
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
6783
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6900
6784
$as_echo_n "checking for -single_module linker flag... " >&6; }
6901
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
6785
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6902
6786
  $as_echo_n "(cached) " >&6
6903
6787
else
6904
6788
  lt_cv_apple_cc_single_mod=no
6923
6807
        rm -f conftest.*
6924
6808
      fi
6925
6809
fi
6926
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
6810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6927
6811
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6928
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
6812
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6929
6813
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6930
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
6814
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6931
6815
  $as_echo_n "(cached) " >&6
6932
6816
else
6933
6817
  lt_cv_ld_exported_symbols_list=no
6934
6818
      save_LDFLAGS=$LDFLAGS
6935
6819
      echo "_main" > conftest.sym
6936
6820
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6937
 
      cat >conftest.$ac_ext <<_ACEOF
6938
 
/* confdefs.h.  */
6939
 
_ACEOF
6940
 
cat confdefs.h >>conftest.$ac_ext
6941
 
cat >>conftest.$ac_ext <<_ACEOF
 
6821
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6942
6822
/* end confdefs.h.  */
6943
6823
 
6944
6824
int
6949
6829
  return 0;
6950
6830
}
6951
6831
_ACEOF
6952
 
rm -f conftest.$ac_objext conftest$ac_exeext
6953
 
if { (ac_try="$ac_link"
6954
 
case "(($ac_try" in
6955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6956
 
  *) ac_try_echo=$ac_try;;
6957
 
esac
6958
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6959
 
$as_echo "$ac_try_echo") >&5
6960
 
  (eval "$ac_link") 2>conftest.er1
6961
 
  ac_status=$?
6962
 
  grep -v '^ *+' conftest.er1 >conftest.err
6963
 
  rm -f conftest.er1
6964
 
  cat conftest.err >&5
6965
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966
 
  (exit $ac_status); } && {
6967
 
         test -z "$ac_c_werror_flag" ||
6968
 
         test ! -s conftest.err
6969
 
       } && test -s conftest$ac_exeext && {
6970
 
         test "$cross_compiling" = yes ||
6971
 
         $as_test_x conftest$ac_exeext
6972
 
       }; then
 
6832
if ac_fn_c_try_link "$LINENO"; then :
6973
6833
  lt_cv_ld_exported_symbols_list=yes
6974
6834
else
6975
 
  $as_echo "$as_me: failed program was:" >&5
6976
 
sed 's/^/| /' conftest.$ac_ext >&5
6977
 
 
6978
 
        lt_cv_ld_exported_symbols_list=no
 
6835
  lt_cv_ld_exported_symbols_list=no
6979
6836
fi
6980
 
 
6981
 
rm -rf conftest.dSYM
6982
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6983
 
      conftest$ac_exeext conftest.$ac_ext
 
6837
rm -f core conftest.err conftest.$ac_objext \
 
6838
    conftest$ac_exeext conftest.$ac_ext
6984
6839
        LDFLAGS="$save_LDFLAGS"
6985
6840
 
6986
6841
fi
6987
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
6842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6988
6843
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6989
6844
    case $host_os in
6990
6845
    rhapsody* | darwin1.[012])
7022
6877
  esac
7023
6878
 
7024
6879
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7025
 
 
7026
 
 
7027
 
 
7028
 
 
7029
 
 
7030
 
 
7031
 
 
7032
 
 
7033
 
 
7034
6880
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7035
6881
                  inttypes.h stdint.h unistd.h
7036
 
do
7037
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7038
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7039
 
$as_echo_n "checking for $ac_header... " >&6; }
7040
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7041
 
  $as_echo_n "(cached) " >&6
7042
 
else
7043
 
  cat >conftest.$ac_ext <<_ACEOF
7044
 
/* confdefs.h.  */
7045
 
_ACEOF
7046
 
cat confdefs.h >>conftest.$ac_ext
7047
 
cat >>conftest.$ac_ext <<_ACEOF
7048
 
/* end confdefs.h.  */
7049
 
$ac_includes_default
7050
 
 
7051
 
#include <$ac_header>
7052
 
_ACEOF
7053
 
rm -f conftest.$ac_objext
7054
 
if { (ac_try="$ac_compile"
7055
 
case "(($ac_try" in
7056
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7057
 
  *) ac_try_echo=$ac_try;;
7058
 
esac
7059
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7060
 
$as_echo "$ac_try_echo") >&5
7061
 
  (eval "$ac_compile") 2>conftest.er1
7062
 
  ac_status=$?
7063
 
  grep -v '^ *+' conftest.er1 >conftest.err
7064
 
  rm -f conftest.er1
7065
 
  cat conftest.err >&5
7066
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067
 
  (exit $ac_status); } && {
7068
 
         test -z "$ac_c_werror_flag" ||
7069
 
         test ! -s conftest.err
7070
 
       } && test -s conftest.$ac_objext; then
7071
 
  eval "$as_ac_Header=yes"
7072
 
else
7073
 
  $as_echo "$as_me: failed program was:" >&5
7074
 
sed 's/^/| /' conftest.$ac_ext >&5
7075
 
 
7076
 
        eval "$as_ac_Header=no"
7077
 
fi
7078
 
 
7079
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7080
 
fi
7081
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7082
 
                 $as_echo "$as_val"'`
7083
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7084
 
$as_echo "$ac_res" >&6; }
7085
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7086
 
                 $as_echo "$as_val"'`
7087
 
   if test "x$as_val" = x""yes; then
 
6882
do :
 
6883
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6884
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
6885
"
 
6886
eval as_val=\$$as_ac_Header
 
6887
   if test "x$as_val" = x""yes; then :
7088
6888
  cat >>confdefs.h <<_ACEOF
7089
6889
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7090
6890
_ACEOF
7094
6894
done
7095
6895
 
7096
6896
 
7097
 
 
7098
6897
for ac_header in dlfcn.h
7099
 
do
7100
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7101
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7102
 
$as_echo_n "checking for $ac_header... " >&6; }
7103
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7104
 
  $as_echo_n "(cached) " >&6
7105
 
else
7106
 
  cat >conftest.$ac_ext <<_ACEOF
7107
 
/* confdefs.h.  */
7108
 
_ACEOF
7109
 
cat confdefs.h >>conftest.$ac_ext
7110
 
cat >>conftest.$ac_ext <<_ACEOF
7111
 
/* end confdefs.h.  */
7112
 
$ac_includes_default
7113
 
 
7114
 
#include <$ac_header>
7115
 
_ACEOF
7116
 
rm -f conftest.$ac_objext
7117
 
if { (ac_try="$ac_compile"
7118
 
case "(($ac_try" in
7119
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7120
 
  *) ac_try_echo=$ac_try;;
7121
 
esac
7122
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7123
 
$as_echo "$ac_try_echo") >&5
7124
 
  (eval "$ac_compile") 2>conftest.er1
7125
 
  ac_status=$?
7126
 
  grep -v '^ *+' conftest.er1 >conftest.err
7127
 
  rm -f conftest.er1
7128
 
  cat conftest.err >&5
7129
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130
 
  (exit $ac_status); } && {
7131
 
         test -z "$ac_c_werror_flag" ||
7132
 
         test ! -s conftest.err
7133
 
       } && test -s conftest.$ac_objext; then
7134
 
  eval "$as_ac_Header=yes"
7135
 
else
7136
 
  $as_echo "$as_me: failed program was:" >&5
7137
 
sed 's/^/| /' conftest.$ac_ext >&5
7138
 
 
7139
 
        eval "$as_ac_Header=no"
7140
 
fi
7141
 
 
7142
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7143
 
fi
7144
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7145
 
                 $as_echo "$as_val"'`
7146
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7147
 
$as_echo "$ac_res" >&6; }
7148
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7149
 
                 $as_echo "$as_val"'`
7150
 
   if test "x$as_val" = x""yes; then
 
6898
do :
 
6899
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
6900
"
 
6901
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7151
6902
  cat >>confdefs.h <<_ACEOF
7152
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6903
#define HAVE_DLFCN_H 1
7153
6904
_ACEOF
7154
6905
 
7155
6906
fi
7169
6920
 
7170
6921
 
7171
6922
            # Check whether --enable-shared was given.
7172
 
if test "${enable_shared+set}" = set; then
 
6923
if test "${enable_shared+set}" = set; then :
7173
6924
  enableval=$enable_shared; p=${PACKAGE-default}
7174
6925
    case $enableval in
7175
6926
    yes) enable_shared=yes ;;
7200
6951
 
7201
6952
 
7202
6953
  # Check whether --enable-static was given.
7203
 
if test "${enable_static+set}" = set; then
 
6954
if test "${enable_static+set}" = set; then :
7204
6955
  enableval=$enable_static; p=${PACKAGE-default}
7205
6956
    case $enableval in
7206
6957
    yes) enable_static=yes ;;
7232
6983
 
7233
6984
 
7234
6985
# Check whether --with-pic was given.
7235
 
if test "${with_pic+set}" = set; then
 
6986
if test "${with_pic+set}" = set; then :
7236
6987
  withval=$with_pic; pic_mode="$withval"
7237
6988
else
7238
6989
  pic_mode=default
7248
6999
 
7249
7000
 
7250
7001
  # Check whether --enable-fast-install was given.
7251
 
if test "${enable_fast_install+set}" = set; then
 
7002
if test "${enable_fast_install+set}" = set; then :
7252
7003
  enableval=$enable_fast_install; p=${PACKAGE-default}
7253
7004
    case $enableval in
7254
7005
    yes) enable_fast_install=yes ;;
7329
7080
   setopt NO_GLOB_SUBST
7330
7081
fi
7331
7082
 
7332
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7333
7084
$as_echo_n "checking for objdir... " >&6; }
7334
 
if test "${lt_cv_objdir+set}" = set; then
 
7085
if test "${lt_cv_objdir+set}" = set; then :
7335
7086
  $as_echo_n "(cached) " >&6
7336
7087
else
7337
7088
  rm -f .libs 2>/dev/null
7344
7095
fi
7345
7096
rmdir .libs 2>/dev/null
7346
7097
fi
7347
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7348
7099
$as_echo "$lt_cv_objdir" >&6; }
7349
7100
objdir=$lt_cv_objdir
7350
7101
 
7437
7188
case $deplibs_check_method in
7438
7189
file_magic*)
7439
7190
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7440
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7191
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7441
7192
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7442
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7193
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7443
7194
  $as_echo_n "(cached) " >&6
7444
7195
else
7445
7196
  case $MAGIC_CMD in
7490
7241
 
7491
7242
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7492
7243
if test -n "$MAGIC_CMD"; then
7493
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7244
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7494
7245
$as_echo "$MAGIC_CMD" >&6; }
7495
7246
else
7496
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7247
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497
7248
$as_echo "no" >&6; }
7498
7249
fi
7499
7250
 
7503
7254
 
7504
7255
if test -z "$lt_cv_path_MAGIC_CMD"; then
7505
7256
  if test -n "$ac_tool_prefix"; then
7506
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7257
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7507
7258
$as_echo_n "checking for file... " >&6; }
7508
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7259
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7509
7260
  $as_echo_n "(cached) " >&6
7510
7261
else
7511
7262
  case $MAGIC_CMD in
7556
7307
 
7557
7308
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7558
7309
if test -n "$MAGIC_CMD"; then
7559
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7310
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7560
7311
$as_echo "$MAGIC_CMD" >&6; }
7561
7312
else
7562
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563
7314
$as_echo "no" >&6; }
7564
7315
fi
7565
7316
 
7636
7387
if test "$GCC" = yes; then
7637
7388
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7638
7389
 
7639
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7390
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7640
7391
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7641
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
7392
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7642
7393
  $as_echo_n "(cached) " >&6
7643
7394
else
7644
7395
  lt_cv_prog_compiler_rtti_exceptions=no
7654
7405
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7655
7406
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7656
7407
   -e 's:$: $lt_compiler_flag:'`
7657
 
   (eval echo "\"\$as_me:7657: $lt_compile\"" >&5)
 
7408
   (eval echo "\"\$as_me:7408: $lt_compile\"" >&5)
7658
7409
   (eval "$lt_compile" 2>conftest.err)
7659
7410
   ac_status=$?
7660
7411
   cat conftest.err >&5
7661
 
   echo "$as_me:7661: \$? = $ac_status" >&5
 
7412
   echo "$as_me:7412: \$? = $ac_status" >&5
7662
7413
   if (exit $ac_status) && test -s "$ac_outfile"; then
7663
7414
     # The compiler can only warn and ignore the option if not recognized
7664
7415
     # So say no if there are warnings other than the usual output.
7671
7422
   $RM conftest*
7672
7423
 
7673
7424
fi
7674
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7675
7426
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7676
7427
 
7677
7428
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7691
7442
lt_prog_compiler_pic=
7692
7443
lt_prog_compiler_static=
7693
7444
 
7694
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7695
7446
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7696
7447
 
7697
7448
  if test "$GCC" = yes; then
7963
7714
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7964
7715
    ;;
7965
7716
esac
7966
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7967
7718
$as_echo "$lt_prog_compiler_pic" >&6; }
7968
7719
 
7969
7720
 
7975
7726
# Check to make sure the PIC flag actually works.
7976
7727
#
7977
7728
if test -n "$lt_prog_compiler_pic"; then
7978
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7729
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7979
7730
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7980
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
7731
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7981
7732
  $as_echo_n "(cached) " >&6
7982
7733
else
7983
7734
  lt_cv_prog_compiler_pic_works=no
7993
7744
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7994
7745
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7995
7746
   -e 's:$: $lt_compiler_flag:'`
7996
 
   (eval echo "\"\$as_me:7996: $lt_compile\"" >&5)
 
7747
   (eval echo "\"\$as_me:7747: $lt_compile\"" >&5)
7997
7748
   (eval "$lt_compile" 2>conftest.err)
7998
7749
   ac_status=$?
7999
7750
   cat conftest.err >&5
8000
 
   echo "$as_me:8000: \$? = $ac_status" >&5
 
7751
   echo "$as_me:7751: \$? = $ac_status" >&5
8001
7752
   if (exit $ac_status) && test -s "$ac_outfile"; then
8002
7753
     # The compiler can only warn and ignore the option if not recognized
8003
7754
     # So say no if there are warnings other than the usual output.
8010
7761
   $RM conftest*
8011
7762
 
8012
7763
fi
8013
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8014
7765
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8015
7766
 
8016
7767
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8034
7785
# Check to make sure the static flag actually works.
8035
7786
#
8036
7787
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8037
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8038
7789
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8039
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
7790
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8040
7791
  $as_echo_n "(cached) " >&6
8041
7792
else
8042
7793
  lt_cv_prog_compiler_static_works=no
8062
7813
   LDFLAGS="$save_LDFLAGS"
8063
7814
 
8064
7815
fi
8065
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8066
7817
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8067
7818
 
8068
7819
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8077
7828
 
8078
7829
 
8079
7830
 
8080
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7831
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8081
7832
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8082
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7833
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8083
7834
  $as_echo_n "(cached) " >&6
8084
7835
else
8085
7836
  lt_cv_prog_compiler_c_o=no
8098
7849
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8099
7850
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8100
7851
   -e 's:$: $lt_compiler_flag:'`
8101
 
   (eval echo "\"\$as_me:8101: $lt_compile\"" >&5)
 
7852
   (eval echo "\"\$as_me:7852: $lt_compile\"" >&5)
8102
7853
   (eval "$lt_compile" 2>out/conftest.err)
8103
7854
   ac_status=$?
8104
7855
   cat out/conftest.err >&5
8105
 
   echo "$as_me:8105: \$? = $ac_status" >&5
 
7856
   echo "$as_me:7856: \$? = $ac_status" >&5
8106
7857
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8107
7858
   then
8108
7859
     # The compiler can only warn and ignore the option if not recognized
8124
7875
   $RM conftest*
8125
7876
 
8126
7877
fi
8127
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8128
7879
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8129
7880
 
8130
7881
 
8132
7883
 
8133
7884
 
8134
7885
 
8135
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7886
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8136
7887
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8137
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7888
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8138
7889
  $as_echo_n "(cached) " >&6
8139
7890
else
8140
7891
  lt_cv_prog_compiler_c_o=no
8153
7904
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8154
7905
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8155
7906
   -e 's:$: $lt_compiler_flag:'`
8156
 
   (eval echo "\"\$as_me:8156: $lt_compile\"" >&5)
 
7907
   (eval echo "\"\$as_me:7907: $lt_compile\"" >&5)
8157
7908
   (eval "$lt_compile" 2>out/conftest.err)
8158
7909
   ac_status=$?
8159
7910
   cat out/conftest.err >&5
8160
 
   echo "$as_me:8160: \$? = $ac_status" >&5
 
7911
   echo "$as_me:7911: \$? = $ac_status" >&5
8161
7912
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8162
7913
   then
8163
7914
     # The compiler can only warn and ignore the option if not recognized
8179
7930
   $RM conftest*
8180
7931
 
8181
7932
fi
8182
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8183
7934
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8184
7935
 
8185
7936
 
8188
7939
hard_links="nottested"
8189
7940
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8190
7941
  # do not overwrite the value of need_locks provided by the user
8191
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7942
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8192
7943
$as_echo_n "checking if we can lock with hard links... " >&6; }
8193
7944
  hard_links=yes
8194
7945
  $RM conftest*
8196
7947
  touch conftest.a
8197
7948
  ln conftest.a conftest.b 2>&5 || hard_links=no
8198
7949
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8199
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
7950
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8200
7951
$as_echo "$hard_links" >&6; }
8201
7952
  if test "$hard_links" = no; then
8202
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
7953
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8203
7954
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8204
7955
    need_locks=warn
8205
7956
  fi
8212
7963
 
8213
7964
 
8214
7965
 
8215
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7966
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8216
7967
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8217
7968
 
8218
7969
  runpath_var=
8654
8405
        allow_undefined_flag='-berok'
8655
8406
        # Determine the default libpath from the value encoded in an
8656
8407
        # empty executable.
8657
 
        cat >conftest.$ac_ext <<_ACEOF
8658
 
/* confdefs.h.  */
8659
 
_ACEOF
8660
 
cat confdefs.h >>conftest.$ac_ext
8661
 
cat >>conftest.$ac_ext <<_ACEOF
 
8408
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8662
8409
/* end confdefs.h.  */
8663
8410
 
8664
8411
int
8669
8416
  return 0;
8670
8417
}
8671
8418
_ACEOF
8672
 
rm -f conftest.$ac_objext conftest$ac_exeext
8673
 
if { (ac_try="$ac_link"
8674
 
case "(($ac_try" in
8675
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8676
 
  *) ac_try_echo=$ac_try;;
8677
 
esac
8678
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8679
 
$as_echo "$ac_try_echo") >&5
8680
 
  (eval "$ac_link") 2>conftest.er1
8681
 
  ac_status=$?
8682
 
  grep -v '^ *+' conftest.er1 >conftest.err
8683
 
  rm -f conftest.er1
8684
 
  cat conftest.err >&5
8685
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686
 
  (exit $ac_status); } && {
8687
 
         test -z "$ac_c_werror_flag" ||
8688
 
         test ! -s conftest.err
8689
 
       } && test -s conftest$ac_exeext && {
8690
 
         test "$cross_compiling" = yes ||
8691
 
         $as_test_x conftest$ac_exeext
8692
 
       }; then
 
8419
if ac_fn_c_try_link "$LINENO"; then :
8693
8420
 
8694
8421
lt_aix_libpath_sed='
8695
8422
    /Import File Strings/,/^$/ {
8703
8430
if test -z "$aix_libpath"; then
8704
8431
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8705
8432
fi
8706
 
else
8707
 
  $as_echo "$as_me: failed program was:" >&5
8708
 
sed 's/^/| /' conftest.$ac_ext >&5
8709
 
 
8710
 
 
8711
8433
fi
8712
 
 
8713
 
rm -rf conftest.dSYM
8714
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8715
 
      conftest$ac_exeext conftest.$ac_ext
 
8434
rm -f core conftest.err conftest.$ac_objext \
 
8435
    conftest$ac_exeext conftest.$ac_ext
8716
8436
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8717
8437
 
8718
8438
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8725
8445
        else
8726
8446
         # Determine the default libpath from the value encoded in an
8727
8447
         # empty executable.
8728
 
         cat >conftest.$ac_ext <<_ACEOF
8729
 
/* confdefs.h.  */
8730
 
_ACEOF
8731
 
cat confdefs.h >>conftest.$ac_ext
8732
 
cat >>conftest.$ac_ext <<_ACEOF
 
8448
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733
8449
/* end confdefs.h.  */
8734
8450
 
8735
8451
int
8740
8456
  return 0;
8741
8457
}
8742
8458
_ACEOF
8743
 
rm -f conftest.$ac_objext conftest$ac_exeext
8744
 
if { (ac_try="$ac_link"
8745
 
case "(($ac_try" in
8746
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8747
 
  *) ac_try_echo=$ac_try;;
8748
 
esac
8749
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8750
 
$as_echo "$ac_try_echo") >&5
8751
 
  (eval "$ac_link") 2>conftest.er1
8752
 
  ac_status=$?
8753
 
  grep -v '^ *+' conftest.er1 >conftest.err
8754
 
  rm -f conftest.er1
8755
 
  cat conftest.err >&5
8756
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757
 
  (exit $ac_status); } && {
8758
 
         test -z "$ac_c_werror_flag" ||
8759
 
         test ! -s conftest.err
8760
 
       } && test -s conftest$ac_exeext && {
8761
 
         test "$cross_compiling" = yes ||
8762
 
         $as_test_x conftest$ac_exeext
8763
 
       }; then
 
8459
if ac_fn_c_try_link "$LINENO"; then :
8764
8460
 
8765
8461
lt_aix_libpath_sed='
8766
8462
    /Import File Strings/,/^$/ {
8774
8470
if test -z "$aix_libpath"; then
8775
8471
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8776
8472
fi
8777
 
else
8778
 
  $as_echo "$as_me: failed program was:" >&5
8779
 
sed 's/^/| /' conftest.$ac_ext >&5
8780
 
 
8781
 
 
8782
8473
fi
8783
 
 
8784
 
rm -rf conftest.dSYM
8785
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8786
 
      conftest$ac_exeext conftest.$ac_ext
 
8474
rm -f core conftest.err conftest.$ac_objext \
 
8475
    conftest$ac_exeext conftest.$ac_ext
8787
8476
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8788
8477
 
8789
8478
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8995
8684
        # implicitly export all symbols.
8996
8685
        save_LDFLAGS="$LDFLAGS"
8997
8686
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8998
 
        cat >conftest.$ac_ext <<_ACEOF
 
8687
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8688
/* end confdefs.h.  */
8999
8689
int foo(void) {}
9000
8690
_ACEOF
9001
 
rm -f conftest.$ac_objext conftest$ac_exeext
9002
 
if { (ac_try="$ac_link"
9003
 
case "(($ac_try" in
9004
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9005
 
  *) ac_try_echo=$ac_try;;
9006
 
esac
9007
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9008
 
$as_echo "$ac_try_echo") >&5
9009
 
  (eval "$ac_link") 2>conftest.er1
9010
 
  ac_status=$?
9011
 
  grep -v '^ *+' conftest.er1 >conftest.err
9012
 
  rm -f conftest.er1
9013
 
  cat conftest.err >&5
9014
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015
 
  (exit $ac_status); } && {
9016
 
         test -z "$ac_c_werror_flag" ||
9017
 
         test ! -s conftest.err
9018
 
       } && test -s conftest$ac_exeext && {
9019
 
         test "$cross_compiling" = yes ||
9020
 
         $as_test_x conftest$ac_exeext
9021
 
       }; then
 
8691
if ac_fn_c_try_link "$LINENO"; then :
9022
8692
  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'
9023
8693
 
9024
 
else
9025
 
  $as_echo "$as_me: failed program was:" >&5
9026
 
sed 's/^/| /' conftest.$ac_ext >&5
9027
 
 
9028
 
 
9029
8694
fi
9030
 
 
9031
 
rm -rf conftest.dSYM
9032
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9033
 
      conftest$ac_exeext conftest.$ac_ext
 
8695
rm -f core conftest.err conftest.$ac_objext \
 
8696
    conftest$ac_exeext conftest.$ac_ext
9034
8697
        LDFLAGS="$save_LDFLAGS"
9035
8698
      else
9036
8699
        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'
9286
8949
    fi
9287
8950
  fi
9288
8951
 
9289
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9290
8953
$as_echo "$ld_shlibs" >&6; }
9291
8954
test "$ld_shlibs" = no && can_build_shared=no
9292
8955
 
9323
8986
      # Test whether the compiler implicitly links with -lc since on some
9324
8987
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9325
8988
      # to ld, don't add -lc before -lgcc.
9326
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8989
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9327
8990
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9328
8991
      $RM conftest*
9329
8992
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9330
8993
 
9331
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8994
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9332
8995
  (eval $ac_compile) 2>&5
9333
8996
  ac_status=$?
9334
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335
 
  (exit $ac_status); } 2>conftest.err; then
 
8997
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8998
  test $ac_status = 0; } 2>conftest.err; then
9336
8999
        soname=conftest
9337
9000
        lib=conftest
9338
9001
        libobjs=conftest.$ac_objext
9346
9009
        libname=conftest
9347
9010
        lt_save_allow_undefined_flag=$allow_undefined_flag
9348
9011
        allow_undefined_flag=
9349
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9012
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9350
9013
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9351
9014
  ac_status=$?
9352
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353
 
  (exit $ac_status); }
 
9015
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9016
  test $ac_status = 0; }
9354
9017
        then
9355
9018
          archive_cmds_need_lc=no
9356
9019
        else
9361
9024
        cat conftest.err 1>&5
9362
9025
      fi
9363
9026
      $RM conftest*
9364
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9027
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9365
9028
$as_echo "$archive_cmds_need_lc" >&6; }
9366
9029
      ;;
9367
9030
    esac
9525
9188
 
9526
9189
 
9527
9190
 
9528
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9191
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9529
9192
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9530
9193
 
9531
9194
if test "$GCC" = yes; then
9947
9610
  save_libdir=$libdir
9948
9611
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9949
9612
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9950
 
  cat >conftest.$ac_ext <<_ACEOF
9951
 
/* confdefs.h.  */
9952
 
_ACEOF
9953
 
cat confdefs.h >>conftest.$ac_ext
9954
 
cat >>conftest.$ac_ext <<_ACEOF
 
9613
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9955
9614
/* end confdefs.h.  */
9956
9615
 
9957
9616
int
9962
9621
  return 0;
9963
9622
}
9964
9623
_ACEOF
9965
 
rm -f conftest.$ac_objext conftest$ac_exeext
9966
 
if { (ac_try="$ac_link"
9967
 
case "(($ac_try" in
9968
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9969
 
  *) ac_try_echo=$ac_try;;
9970
 
esac
9971
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9972
 
$as_echo "$ac_try_echo") >&5
9973
 
  (eval "$ac_link") 2>conftest.er1
9974
 
  ac_status=$?
9975
 
  grep -v '^ *+' conftest.er1 >conftest.err
9976
 
  rm -f conftest.er1
9977
 
  cat conftest.err >&5
9978
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979
 
  (exit $ac_status); } && {
9980
 
         test -z "$ac_c_werror_flag" ||
9981
 
         test ! -s conftest.err
9982
 
       } && test -s conftest$ac_exeext && {
9983
 
         test "$cross_compiling" = yes ||
9984
 
         $as_test_x conftest$ac_exeext
9985
 
       }; then
9986
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
9624
if ac_fn_c_try_link "$LINENO"; then :
 
9625
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9987
9626
  shlibpath_overrides_runpath=yes
9988
9627
fi
9989
 
 
9990
 
else
9991
 
  $as_echo "$as_me: failed program was:" >&5
9992
 
sed 's/^/| /' conftest.$ac_ext >&5
9993
 
 
9994
 
 
9995
9628
fi
9996
 
 
9997
 
rm -rf conftest.dSYM
9998
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9999
 
      conftest$ac_exeext conftest.$ac_ext
 
9629
rm -f core conftest.err conftest.$ac_objext \
 
9630
    conftest$ac_exeext conftest.$ac_ext
10000
9631
  LDFLAGS=$save_LDFLAGS
10001
9632
  libdir=$save_libdir
10002
9633
 
10208
9839
  dynamic_linker=no
10209
9840
  ;;
10210
9841
esac
10211
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10212
9843
$as_echo "$dynamic_linker" >&6; }
10213
9844
test "$dynamic_linker" = no && can_build_shared=no
10214
9845
 
10310
9941
 
10311
9942
 
10312
9943
 
10313
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9944
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10314
9945
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10315
9946
hardcode_action=
10316
9947
if test -n "$hardcode_libdir_flag_spec" ||
10335
9966
  # directories.
10336
9967
  hardcode_action=unsupported
10337
9968
fi
10338
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10339
9970
$as_echo "$hardcode_action" >&6; }
10340
9971
 
10341
9972
if test "$hardcode_action" = relink ||
10380
10011
 
10381
10012
  darwin*)
10382
10013
  # if libdl is installed we need to link against it
10383
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10014
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10384
10015
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10385
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10016
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10386
10017
  $as_echo_n "(cached) " >&6
10387
10018
else
10388
10019
  ac_check_lib_save_LIBS=$LIBS
10389
10020
LIBS="-ldl  $LIBS"
10390
 
cat >conftest.$ac_ext <<_ACEOF
10391
 
/* confdefs.h.  */
10392
 
_ACEOF
10393
 
cat confdefs.h >>conftest.$ac_ext
10394
 
cat >>conftest.$ac_ext <<_ACEOF
 
10021
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10395
10022
/* end confdefs.h.  */
10396
10023
 
10397
10024
/* Override any GCC internal prototype to avoid an error.
10409
10036
  return 0;
10410
10037
}
10411
10038
_ACEOF
10412
 
rm -f conftest.$ac_objext conftest$ac_exeext
10413
 
if { (ac_try="$ac_link"
10414
 
case "(($ac_try" in
10415
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10416
 
  *) ac_try_echo=$ac_try;;
10417
 
esac
10418
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10419
 
$as_echo "$ac_try_echo") >&5
10420
 
  (eval "$ac_link") 2>conftest.er1
10421
 
  ac_status=$?
10422
 
  grep -v '^ *+' conftest.er1 >conftest.err
10423
 
  rm -f conftest.er1
10424
 
  cat conftest.err >&5
10425
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426
 
  (exit $ac_status); } && {
10427
 
         test -z "$ac_c_werror_flag" ||
10428
 
         test ! -s conftest.err
10429
 
       } && test -s conftest$ac_exeext && {
10430
 
         test "$cross_compiling" = yes ||
10431
 
         $as_test_x conftest$ac_exeext
10432
 
       }; then
 
10039
if ac_fn_c_try_link "$LINENO"; then :
10433
10040
  ac_cv_lib_dl_dlopen=yes
10434
10041
else
10435
 
  $as_echo "$as_me: failed program was:" >&5
10436
 
sed 's/^/| /' conftest.$ac_ext >&5
10437
 
 
10438
 
        ac_cv_lib_dl_dlopen=no
 
10042
  ac_cv_lib_dl_dlopen=no
10439
10043
fi
10440
 
 
10441
 
rm -rf conftest.dSYM
10442
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10443
 
      conftest$ac_exeext conftest.$ac_ext
 
10044
rm -f core conftest.err conftest.$ac_objext \
 
10045
    conftest$ac_exeext conftest.$ac_ext
10444
10046
LIBS=$ac_check_lib_save_LIBS
10445
10047
fi
10446
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10447
10049
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10448
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10050
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10449
10051
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10450
10052
else
10451
10053
 
10458
10060
    ;;
10459
10061
 
10460
10062
  *)
10461
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10462
 
$as_echo_n "checking for shl_load... " >&6; }
10463
 
if test "${ac_cv_func_shl_load+set}" = set; then
10464
 
  $as_echo_n "(cached) " >&6
10465
 
else
10466
 
  cat >conftest.$ac_ext <<_ACEOF
10467
 
/* confdefs.h.  */
10468
 
_ACEOF
10469
 
cat confdefs.h >>conftest.$ac_ext
10470
 
cat >>conftest.$ac_ext <<_ACEOF
10471
 
/* end confdefs.h.  */
10472
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10473
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10474
 
#define shl_load innocuous_shl_load
10475
 
 
10476
 
/* System header to define __stub macros and hopefully few prototypes,
10477
 
    which can conflict with char shl_load (); below.
10478
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10479
 
    <limits.h> exists even on freestanding compilers.  */
10480
 
 
10481
 
#ifdef __STDC__
10482
 
# include <limits.h>
10483
 
#else
10484
 
# include <assert.h>
10485
 
#endif
10486
 
 
10487
 
#undef shl_load
10488
 
 
10489
 
/* Override any GCC internal prototype to avoid an error.
10490
 
   Use char because int might match the return type of a GCC
10491
 
   builtin and then its argument prototype would still apply.  */
10492
 
#ifdef __cplusplus
10493
 
extern "C"
10494
 
#endif
10495
 
char shl_load ();
10496
 
/* The GNU C library defines this for functions which it implements
10497
 
    to always fail with ENOSYS.  Some functions are actually named
10498
 
    something starting with __ and the normal name is an alias.  */
10499
 
#if defined __stub_shl_load || defined __stub___shl_load
10500
 
choke me
10501
 
#endif
10502
 
 
10503
 
int
10504
 
main ()
10505
 
{
10506
 
return shl_load ();
10507
 
  ;
10508
 
  return 0;
10509
 
}
10510
 
_ACEOF
10511
 
rm -f conftest.$ac_objext conftest$ac_exeext
10512
 
if { (ac_try="$ac_link"
10513
 
case "(($ac_try" in
10514
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10515
 
  *) ac_try_echo=$ac_try;;
10516
 
esac
10517
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10518
 
$as_echo "$ac_try_echo") >&5
10519
 
  (eval "$ac_link") 2>conftest.er1
10520
 
  ac_status=$?
10521
 
  grep -v '^ *+' conftest.er1 >conftest.err
10522
 
  rm -f conftest.er1
10523
 
  cat conftest.err >&5
10524
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10525
 
  (exit $ac_status); } && {
10526
 
         test -z "$ac_c_werror_flag" ||
10527
 
         test ! -s conftest.err
10528
 
       } && test -s conftest$ac_exeext && {
10529
 
         test "$cross_compiling" = yes ||
10530
 
         $as_test_x conftest$ac_exeext
10531
 
       }; then
10532
 
  ac_cv_func_shl_load=yes
10533
 
else
10534
 
  $as_echo "$as_me: failed program was:" >&5
10535
 
sed 's/^/| /' conftest.$ac_ext >&5
10536
 
 
10537
 
        ac_cv_func_shl_load=no
10538
 
fi
10539
 
 
10540
 
rm -rf conftest.dSYM
10541
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10542
 
      conftest$ac_exeext conftest.$ac_ext
10543
 
fi
10544
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10545
 
$as_echo "$ac_cv_func_shl_load" >&6; }
10546
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
10063
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10064
if test "x$ac_cv_func_shl_load" = x""yes; then :
10547
10065
  lt_cv_dlopen="shl_load"
10548
10066
else
10549
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10067
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10550
10068
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10551
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
10069
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10552
10070
  $as_echo_n "(cached) " >&6
10553
10071
else
10554
10072
  ac_check_lib_save_LIBS=$LIBS
10555
10073
LIBS="-ldld  $LIBS"
10556
 
cat >conftest.$ac_ext <<_ACEOF
10557
 
/* confdefs.h.  */
10558
 
_ACEOF
10559
 
cat confdefs.h >>conftest.$ac_ext
10560
 
cat >>conftest.$ac_ext <<_ACEOF
 
10074
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561
10075
/* end confdefs.h.  */
10562
10076
 
10563
10077
/* Override any GCC internal prototype to avoid an error.
10575
10089
  return 0;
10576
10090
}
10577
10091
_ACEOF
10578
 
rm -f conftest.$ac_objext conftest$ac_exeext
10579
 
if { (ac_try="$ac_link"
10580
 
case "(($ac_try" in
10581
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10582
 
  *) ac_try_echo=$ac_try;;
10583
 
esac
10584
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10585
 
$as_echo "$ac_try_echo") >&5
10586
 
  (eval "$ac_link") 2>conftest.er1
10587
 
  ac_status=$?
10588
 
  grep -v '^ *+' conftest.er1 >conftest.err
10589
 
  rm -f conftest.er1
10590
 
  cat conftest.err >&5
10591
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592
 
  (exit $ac_status); } && {
10593
 
         test -z "$ac_c_werror_flag" ||
10594
 
         test ! -s conftest.err
10595
 
       } && test -s conftest$ac_exeext && {
10596
 
         test "$cross_compiling" = yes ||
10597
 
         $as_test_x conftest$ac_exeext
10598
 
       }; then
 
10092
if ac_fn_c_try_link "$LINENO"; then :
10599
10093
  ac_cv_lib_dld_shl_load=yes
10600
10094
else
10601
 
  $as_echo "$as_me: failed program was:" >&5
10602
 
sed 's/^/| /' conftest.$ac_ext >&5
10603
 
 
10604
 
        ac_cv_lib_dld_shl_load=no
 
10095
  ac_cv_lib_dld_shl_load=no
10605
10096
fi
10606
 
 
10607
 
rm -rf conftest.dSYM
10608
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10609
 
      conftest$ac_exeext conftest.$ac_ext
 
10097
rm -f core conftest.err conftest.$ac_objext \
 
10098
    conftest$ac_exeext conftest.$ac_ext
10610
10099
LIBS=$ac_check_lib_save_LIBS
10611
10100
fi
10612
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10613
10102
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10614
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10103
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10615
10104
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10616
10105
else
10617
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10618
 
$as_echo_n "checking for dlopen... " >&6; }
10619
 
if test "${ac_cv_func_dlopen+set}" = set; then
10620
 
  $as_echo_n "(cached) " >&6
10621
 
else
10622
 
  cat >conftest.$ac_ext <<_ACEOF
10623
 
/* confdefs.h.  */
10624
 
_ACEOF
10625
 
cat confdefs.h >>conftest.$ac_ext
10626
 
cat >>conftest.$ac_ext <<_ACEOF
10627
 
/* end confdefs.h.  */
10628
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10629
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10630
 
#define dlopen innocuous_dlopen
10631
 
 
10632
 
/* System header to define __stub macros and hopefully few prototypes,
10633
 
    which can conflict with char dlopen (); below.
10634
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10635
 
    <limits.h> exists even on freestanding compilers.  */
10636
 
 
10637
 
#ifdef __STDC__
10638
 
# include <limits.h>
10639
 
#else
10640
 
# include <assert.h>
10641
 
#endif
10642
 
 
10643
 
#undef dlopen
10644
 
 
10645
 
/* Override any GCC internal prototype to avoid an error.
10646
 
   Use char because int might match the return type of a GCC
10647
 
   builtin and then its argument prototype would still apply.  */
10648
 
#ifdef __cplusplus
10649
 
extern "C"
10650
 
#endif
10651
 
char dlopen ();
10652
 
/* The GNU C library defines this for functions which it implements
10653
 
    to always fail with ENOSYS.  Some functions are actually named
10654
 
    something starting with __ and the normal name is an alias.  */
10655
 
#if defined __stub_dlopen || defined __stub___dlopen
10656
 
choke me
10657
 
#endif
10658
 
 
10659
 
int
10660
 
main ()
10661
 
{
10662
 
return dlopen ();
10663
 
  ;
10664
 
  return 0;
10665
 
}
10666
 
_ACEOF
10667
 
rm -f conftest.$ac_objext conftest$ac_exeext
10668
 
if { (ac_try="$ac_link"
10669
 
case "(($ac_try" in
10670
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10671
 
  *) ac_try_echo=$ac_try;;
10672
 
esac
10673
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10674
 
$as_echo "$ac_try_echo") >&5
10675
 
  (eval "$ac_link") 2>conftest.er1
10676
 
  ac_status=$?
10677
 
  grep -v '^ *+' conftest.er1 >conftest.err
10678
 
  rm -f conftest.er1
10679
 
  cat conftest.err >&5
10680
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681
 
  (exit $ac_status); } && {
10682
 
         test -z "$ac_c_werror_flag" ||
10683
 
         test ! -s conftest.err
10684
 
       } && test -s conftest$ac_exeext && {
10685
 
         test "$cross_compiling" = yes ||
10686
 
         $as_test_x conftest$ac_exeext
10687
 
       }; then
10688
 
  ac_cv_func_dlopen=yes
10689
 
else
10690
 
  $as_echo "$as_me: failed program was:" >&5
10691
 
sed 's/^/| /' conftest.$ac_ext >&5
10692
 
 
10693
 
        ac_cv_func_dlopen=no
10694
 
fi
10695
 
 
10696
 
rm -rf conftest.dSYM
10697
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10698
 
      conftest$ac_exeext conftest.$ac_ext
10699
 
fi
10700
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10701
 
$as_echo "$ac_cv_func_dlopen" >&6; }
10702
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
10106
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
10107
if test "x$ac_cv_func_dlopen" = x""yes; then :
10703
10108
  lt_cv_dlopen="dlopen"
10704
10109
else
10705
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10110
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10706
10111
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10707
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10112
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10708
10113
  $as_echo_n "(cached) " >&6
10709
10114
else
10710
10115
  ac_check_lib_save_LIBS=$LIBS
10711
10116
LIBS="-ldl  $LIBS"
10712
 
cat >conftest.$ac_ext <<_ACEOF
10713
 
/* confdefs.h.  */
10714
 
_ACEOF
10715
 
cat confdefs.h >>conftest.$ac_ext
10716
 
cat >>conftest.$ac_ext <<_ACEOF
 
10117
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717
10118
/* end confdefs.h.  */
10718
10119
 
10719
10120
/* Override any GCC internal prototype to avoid an error.
10731
10132
  return 0;
10732
10133
}
10733
10134
_ACEOF
10734
 
rm -f conftest.$ac_objext conftest$ac_exeext
10735
 
if { (ac_try="$ac_link"
10736
 
case "(($ac_try" in
10737
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10738
 
  *) ac_try_echo=$ac_try;;
10739
 
esac
10740
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10741
 
$as_echo "$ac_try_echo") >&5
10742
 
  (eval "$ac_link") 2>conftest.er1
10743
 
  ac_status=$?
10744
 
  grep -v '^ *+' conftest.er1 >conftest.err
10745
 
  rm -f conftest.er1
10746
 
  cat conftest.err >&5
10747
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10748
 
  (exit $ac_status); } && {
10749
 
         test -z "$ac_c_werror_flag" ||
10750
 
         test ! -s conftest.err
10751
 
       } && test -s conftest$ac_exeext && {
10752
 
         test "$cross_compiling" = yes ||
10753
 
         $as_test_x conftest$ac_exeext
10754
 
       }; then
 
10135
if ac_fn_c_try_link "$LINENO"; then :
10755
10136
  ac_cv_lib_dl_dlopen=yes
10756
10137
else
10757
 
  $as_echo "$as_me: failed program was:" >&5
10758
 
sed 's/^/| /' conftest.$ac_ext >&5
10759
 
 
10760
 
        ac_cv_lib_dl_dlopen=no
 
10138
  ac_cv_lib_dl_dlopen=no
10761
10139
fi
10762
 
 
10763
 
rm -rf conftest.dSYM
10764
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10765
 
      conftest$ac_exeext conftest.$ac_ext
 
10140
rm -f core conftest.err conftest.$ac_objext \
 
10141
    conftest$ac_exeext conftest.$ac_ext
10766
10142
LIBS=$ac_check_lib_save_LIBS
10767
10143
fi
10768
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10769
10145
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10770
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10146
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10771
10147
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10772
10148
else
10773
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10149
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10774
10150
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10775
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
10151
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10776
10152
  $as_echo_n "(cached) " >&6
10777
10153
else
10778
10154
  ac_check_lib_save_LIBS=$LIBS
10779
10155
LIBS="-lsvld  $LIBS"
10780
 
cat >conftest.$ac_ext <<_ACEOF
10781
 
/* confdefs.h.  */
10782
 
_ACEOF
10783
 
cat confdefs.h >>conftest.$ac_ext
10784
 
cat >>conftest.$ac_ext <<_ACEOF
 
10156
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10785
10157
/* end confdefs.h.  */
10786
10158
 
10787
10159
/* Override any GCC internal prototype to avoid an error.
10799
10171
  return 0;
10800
10172
}
10801
10173
_ACEOF
10802
 
rm -f conftest.$ac_objext conftest$ac_exeext
10803
 
if { (ac_try="$ac_link"
10804
 
case "(($ac_try" in
10805
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10806
 
  *) ac_try_echo=$ac_try;;
10807
 
esac
10808
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10809
 
$as_echo "$ac_try_echo") >&5
10810
 
  (eval "$ac_link") 2>conftest.er1
10811
 
  ac_status=$?
10812
 
  grep -v '^ *+' conftest.er1 >conftest.err
10813
 
  rm -f conftest.er1
10814
 
  cat conftest.err >&5
10815
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816
 
  (exit $ac_status); } && {
10817
 
         test -z "$ac_c_werror_flag" ||
10818
 
         test ! -s conftest.err
10819
 
       } && test -s conftest$ac_exeext && {
10820
 
         test "$cross_compiling" = yes ||
10821
 
         $as_test_x conftest$ac_exeext
10822
 
       }; then
 
10174
if ac_fn_c_try_link "$LINENO"; then :
10823
10175
  ac_cv_lib_svld_dlopen=yes
10824
10176
else
10825
 
  $as_echo "$as_me: failed program was:" >&5
10826
 
sed 's/^/| /' conftest.$ac_ext >&5
10827
 
 
10828
 
        ac_cv_lib_svld_dlopen=no
 
10177
  ac_cv_lib_svld_dlopen=no
10829
10178
fi
10830
 
 
10831
 
rm -rf conftest.dSYM
10832
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10833
 
      conftest$ac_exeext conftest.$ac_ext
 
10179
rm -f core conftest.err conftest.$ac_objext \
 
10180
    conftest$ac_exeext conftest.$ac_ext
10834
10181
LIBS=$ac_check_lib_save_LIBS
10835
10182
fi
10836
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10837
10184
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10838
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
10185
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10839
10186
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10840
10187
else
10841
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10188
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10842
10189
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10843
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
10190
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10844
10191
  $as_echo_n "(cached) " >&6
10845
10192
else
10846
10193
  ac_check_lib_save_LIBS=$LIBS
10847
10194
LIBS="-ldld  $LIBS"
10848
 
cat >conftest.$ac_ext <<_ACEOF
10849
 
/* confdefs.h.  */
10850
 
_ACEOF
10851
 
cat confdefs.h >>conftest.$ac_ext
10852
 
cat >>conftest.$ac_ext <<_ACEOF
 
10195
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853
10196
/* end confdefs.h.  */
10854
10197
 
10855
10198
/* Override any GCC internal prototype to avoid an error.
10867
10210
  return 0;
10868
10211
}
10869
10212
_ACEOF
10870
 
rm -f conftest.$ac_objext conftest$ac_exeext
10871
 
if { (ac_try="$ac_link"
10872
 
case "(($ac_try" in
10873
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10874
 
  *) ac_try_echo=$ac_try;;
10875
 
esac
10876
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10877
 
$as_echo "$ac_try_echo") >&5
10878
 
  (eval "$ac_link") 2>conftest.er1
10879
 
  ac_status=$?
10880
 
  grep -v '^ *+' conftest.er1 >conftest.err
10881
 
  rm -f conftest.er1
10882
 
  cat conftest.err >&5
10883
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884
 
  (exit $ac_status); } && {
10885
 
         test -z "$ac_c_werror_flag" ||
10886
 
         test ! -s conftest.err
10887
 
       } && test -s conftest$ac_exeext && {
10888
 
         test "$cross_compiling" = yes ||
10889
 
         $as_test_x conftest$ac_exeext
10890
 
       }; then
 
10213
if ac_fn_c_try_link "$LINENO"; then :
10891
10214
  ac_cv_lib_dld_dld_link=yes
10892
10215
else
10893
 
  $as_echo "$as_me: failed program was:" >&5
10894
 
sed 's/^/| /' conftest.$ac_ext >&5
10895
 
 
10896
 
        ac_cv_lib_dld_dld_link=no
 
10216
  ac_cv_lib_dld_dld_link=no
10897
10217
fi
10898
 
 
10899
 
rm -rf conftest.dSYM
10900
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10901
 
      conftest$ac_exeext conftest.$ac_ext
 
10218
rm -f core conftest.err conftest.$ac_objext \
 
10219
    conftest$ac_exeext conftest.$ac_ext
10902
10220
LIBS=$ac_check_lib_save_LIBS
10903
10221
fi
10904
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10905
10223
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10906
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10224
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10907
10225
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10908
10226
fi
10909
10227
 
10942
10260
    save_LIBS="$LIBS"
10943
10261
    LIBS="$lt_cv_dlopen_libs $LIBS"
10944
10262
 
10945
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10263
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10946
10264
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10947
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
10265
if test "${lt_cv_dlopen_self+set}" = set; then :
10948
10266
  $as_echo_n "(cached) " >&6
10949
10267
else
10950
10268
          if test "$cross_compiling" = yes; then :
10953
10271
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10954
10272
  lt_status=$lt_dlunknown
10955
10273
  cat > conftest.$ac_ext <<_LT_EOF
10956
 
#line 10956 "configure"
 
10274
#line 10274 "configure"
10957
10275
#include "confdefs.h"
10958
10276
 
10959
10277
#if HAVE_DLFCN_H
11012
10330
  return status;
11013
10331
}
11014
10332
_LT_EOF
11015
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10333
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11016
10334
  (eval $ac_link) 2>&5
11017
10335
  ac_status=$?
11018
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10336
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10337
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11020
10338
    (./conftest; exit; ) >&5 2>/dev/null
11021
10339
    lt_status=$?
11022
10340
    case x$lt_status in
11033
10351
 
11034
10352
 
11035
10353
fi
11036
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11037
10355
$as_echo "$lt_cv_dlopen_self" >&6; }
11038
10356
 
11039
10357
    if test "x$lt_cv_dlopen_self" = xyes; then
11040
10358
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11041
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10359
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11042
10360
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11043
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
10361
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11044
10362
  $as_echo_n "(cached) " >&6
11045
10363
else
11046
10364
          if test "$cross_compiling" = yes; then :
11049
10367
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11050
10368
  lt_status=$lt_dlunknown
11051
10369
  cat > conftest.$ac_ext <<_LT_EOF
11052
 
#line 11052 "configure"
 
10370
#line 10370 "configure"
11053
10371
#include "confdefs.h"
11054
10372
 
11055
10373
#if HAVE_DLFCN_H
11108
10426
  return status;
11109
10427
}
11110
10428
_LT_EOF
11111
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10429
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11112
10430
  (eval $ac_link) 2>&5
11113
10431
  ac_status=$?
11114
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10432
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10433
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11116
10434
    (./conftest; exit; ) >&5 2>/dev/null
11117
10435
    lt_status=$?
11118
10436
    case x$lt_status in
11129
10447
 
11130
10448
 
11131
10449
fi
11132
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11133
10451
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11134
10452
    fi
11135
10453
 
11168
10486
 
11169
10487
striplib=
11170
10488
old_striplib=
11171
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11172
10490
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11173
10491
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11174
10492
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11175
10493
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11176
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10494
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11177
10495
$as_echo "yes" >&6; }
11178
10496
else
11179
10497
# FIXME - insert some real tests, host_os isn't really good enough
11182
10500
    if test -n "$STRIP" ; then
11183
10501
      striplib="$STRIP -x"
11184
10502
      old_striplib="$STRIP -S"
11185
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10503
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11186
10504
$as_echo "yes" >&6; }
11187
10505
    else
11188
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
10506
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11189
10507
$as_echo "no" >&6; }
11190
10508
    fi
11191
10509
    ;;
11192
10510
  *)
11193
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
10511
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11194
10512
$as_echo "no" >&6; }
11195
10513
    ;;
11196
10514
  esac
11208
10526
 
11209
10527
 
11210
10528
  # Report which library types will actually be built
11211
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10529
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11212
10530
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11213
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10531
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11214
10532
$as_echo "$can_build_shared" >&6; }
11215
10533
 
11216
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10534
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11217
10535
$as_echo_n "checking whether to build shared libraries... " >&6; }
11218
10536
  test "$can_build_shared" = "no" && enable_shared=no
11219
10537
 
11234
10552
    fi
11235
10553
    ;;
11236
10554
  esac
11237
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10555
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11238
10556
$as_echo "$enable_shared" >&6; }
11239
10557
 
11240
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10558
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11241
10559
$as_echo_n "checking whether to build static libraries... " >&6; }
11242
10560
  # Make sure either enable_shared or enable_static is yes.
11243
10561
  test "$enable_shared" = yes || enable_static=yes
11244
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
10562
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11245
10563
$as_echo "$enable_static" >&6; }
11246
10564
 
11247
10565
 
11277
10595
 
11278
10596
 
11279
10597
if test "x$CC" != xcc; then
11280
 
  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
10598
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11281
10599
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11282
10600
else
11283
 
  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
10601
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11284
10602
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11285
10603
fi
11286
10604
set dummy $CC; ac_cc=`$as_echo "$2" |
11287
10605
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11288
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 
10606
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11289
10607
  $as_echo_n "(cached) " >&6
11290
10608
else
11291
 
  cat >conftest.$ac_ext <<_ACEOF
11292
 
/* confdefs.h.  */
11293
 
_ACEOF
11294
 
cat confdefs.h >>conftest.$ac_ext
11295
 
cat >>conftest.$ac_ext <<_ACEOF
 
10609
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296
10610
/* end confdefs.h.  */
11297
10611
 
11298
10612
int
11308
10622
# existing .o file with -o, though they will create one.
11309
10623
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11310
10624
rm -f conftest2.*
11311
 
if { (case "(($ac_try" in
11312
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11313
 
  *) ac_try_echo=$ac_try;;
11314
 
esac
11315
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11316
 
$as_echo "$ac_try_echo") >&5
11317
 
  (eval "$ac_try") 2>&5
11318
 
  ac_status=$?
11319
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320
 
  (exit $ac_status); } &&
11321
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
11322
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11323
 
  *) ac_try_echo=$ac_try;;
11324
 
esac
11325
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11326
 
$as_echo "$ac_try_echo") >&5
11327
 
  (eval "$ac_try") 2>&5
11328
 
  ac_status=$?
11329
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330
 
  (exit $ac_status); };
 
10625
if { { case "(($ac_try" in
 
10626
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10627
  *) ac_try_echo=$ac_try;;
 
10628
esac
 
10629
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
10630
$as_echo "$ac_try_echo"; } >&5
 
10631
  (eval "$ac_try") 2>&5
 
10632
  ac_status=$?
 
10633
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10634
  test $ac_status = 0; } &&
 
10635
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
10636
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10637
  *) ac_try_echo=$ac_try;;
 
10638
esac
 
10639
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
10640
$as_echo "$ac_try_echo"; } >&5
 
10641
  (eval "$ac_try") 2>&5
 
10642
  ac_status=$?
 
10643
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10644
  test $ac_status = 0; };
11331
10645
then
11332
10646
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11333
10647
  if test "x$CC" != xcc; then
11334
10648
    # Test first that cc exists at all.
11335
10649
    if { ac_try='cc -c conftest.$ac_ext >&5'
11336
 
  { (case "(($ac_try" in
 
10650
  { { case "(($ac_try" in
11337
10651
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11338
10652
  *) ac_try_echo=$ac_try;;
11339
10653
esac
11340
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11341
 
$as_echo "$ac_try_echo") >&5
 
10654
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
10655
$as_echo "$ac_try_echo"; } >&5
11342
10656
  (eval "$ac_try") 2>&5
11343
10657
  ac_status=$?
11344
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345
 
  (exit $ac_status); }; }; then
 
10658
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10659
  test $ac_status = 0; }; }; then
11346
10660
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11347
10661
      rm -f conftest2.*
11348
 
      if { (case "(($ac_try" in
11349
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11350
 
  *) ac_try_echo=$ac_try;;
11351
 
esac
11352
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11353
 
$as_echo "$ac_try_echo") >&5
11354
 
  (eval "$ac_try") 2>&5
11355
 
  ac_status=$?
11356
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357
 
  (exit $ac_status); } &&
11358
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
11359
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11360
 
  *) ac_try_echo=$ac_try;;
11361
 
esac
11362
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11363
 
$as_echo "$ac_try_echo") >&5
11364
 
  (eval "$ac_try") 2>&5
11365
 
  ac_status=$?
11366
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367
 
  (exit $ac_status); };
 
10662
      if { { case "(($ac_try" in
 
10663
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10664
  *) ac_try_echo=$ac_try;;
 
10665
esac
 
10666
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
10667
$as_echo "$ac_try_echo"; } >&5
 
10668
  (eval "$ac_try") 2>&5
 
10669
  ac_status=$?
 
10670
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10671
  test $ac_status = 0; } &&
 
10672
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
10673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10674
  *) ac_try_echo=$ac_try;;
 
10675
esac
 
10676
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
10677
$as_echo "$ac_try_echo"; } >&5
 
10678
  (eval "$ac_try") 2>&5
 
10679
  ac_status=$?
 
10680
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10681
  test $ac_status = 0; };
11368
10682
      then
11369
10683
        # cc works too.
11370
10684
        :
11381
10695
 
11382
10696
fi
11383
10697
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11384
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10698
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11385
10699
$as_echo "yes" >&6; }
11386
10700
else
11387
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10701
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11388
10702
$as_echo "no" >&6; }
11389
10703
 
11390
 
cat >>confdefs.h <<\_ACEOF
11391
 
#define NO_MINUS_C_MINUS_O 1
11392
 
_ACEOF
 
10704
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11393
10705
 
11394
10706
fi
11395
10707
 
11412
10724
# Additional programs that we need
11413
10725
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
11414
10726
set dummy glib-genmarshal; ac_word=$2
11415
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11416
10728
$as_echo_n "checking for $ac_word... " >&6; }
11417
 
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then
 
10729
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
11418
10730
  $as_echo_n "(cached) " >&6
11419
10731
else
11420
10732
  case $GLIB_GENMARSHAL in
11427
10739
do
11428
10740
  IFS=$as_save_IFS
11429
10741
  test -z "$as_dir" && as_dir=.
11430
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10742
    for ac_exec_ext in '' $ac_executable_extensions; do
11431
10743
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11432
10744
    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
11433
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10745
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11434
10746
    break 2
11435
10747
  fi
11436
10748
done
11437
 
done
 
10749
  done
11438
10750
IFS=$as_save_IFS
11439
10751
 
11440
10752
  ;;
11442
10754
fi
11443
10755
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
11444
10756
if test -n "$GLIB_GENMARSHAL"; then
11445
 
  { $as_echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5
 
10757
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
11446
10758
$as_echo "$GLIB_GENMARSHAL" >&6; }
11447
10759
else
11448
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10760
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11449
10761
$as_echo "no" >&6; }
11450
10762
fi
11451
10763
 
11453
10765
 
11454
10766
# Internationalisation
11455
10767
 
11456
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
10768
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11457
10769
$as_echo_n "checking whether NLS is requested... " >&6; }
11458
10770
    # Check whether --enable-nls was given.
11459
 
if test "${enable_nls+set}" = set; then
 
10771
if test "${enable_nls+set}" = set; then :
11460
10772
  enableval=$enable_nls; USE_NLS=$enableval
11461
10773
else
11462
10774
  USE_NLS=yes
11463
10775
fi
11464
10776
 
11465
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
10777
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11466
10778
$as_echo "$USE_NLS" >&6; }
11467
10779
 
11468
10780
 
11470
10782
 
11471
10783
case "$am__api_version" in
11472
10784
    1.01234)
11473
 
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
11474
 
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
11475
 
   { (exit 1); exit 1; }; }
 
10785
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
11476
10786
    ;;
11477
10787
    *)
11478
10788
    ;;
11479
10789
esac
11480
10790
 
11481
10791
if test -n "0.40.0"; then
11482
 
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.40.0" >&5
 
10792
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
11483
10793
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
11484
10794
 
11485
10795
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11486
10796
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
11487
10797
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11488
10798
 
11489
 
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
10799
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
11490
10800
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
11491
10801
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
11492
 
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.40.0 or later." >&5
11493
 
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.40.0 or later." >&2;}
11494
 
   { (exit 1); exit 1; }; }
 
10802
        as_fn_error "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
11495
10803
fi
11496
10804
 
11497
10805
# Extract the first word of "intltool-update", so it can be a program name with args.
11498
10806
set dummy intltool-update; ac_word=$2
11499
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11500
10808
$as_echo_n "checking for $ac_word... " >&6; }
11501
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
10809
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
11502
10810
  $as_echo_n "(cached) " >&6
11503
10811
else
11504
10812
  case $INTLTOOL_UPDATE in
11511
10819
do
11512
10820
  IFS=$as_save_IFS
11513
10821
  test -z "$as_dir" && as_dir=.
11514
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10822
    for ac_exec_ext in '' $ac_executable_extensions; do
11515
10823
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11516
10824
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
11517
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10825
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11518
10826
    break 2
11519
10827
  fi
11520
10828
done
11521
 
done
 
10829
  done
11522
10830
IFS=$as_save_IFS
11523
10831
 
11524
10832
  ;;
11526
10834
fi
11527
10835
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
11528
10836
if test -n "$INTLTOOL_UPDATE"; then
11529
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
10837
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
11530
10838
$as_echo "$INTLTOOL_UPDATE" >&6; }
11531
10839
else
11532
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10840
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11533
10841
$as_echo "no" >&6; }
11534
10842
fi
11535
10843
 
11536
10844
 
11537
10845
# Extract the first word of "intltool-merge", so it can be a program name with args.
11538
10846
set dummy intltool-merge; ac_word=$2
11539
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11540
10848
$as_echo_n "checking for $ac_word... " >&6; }
11541
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
10849
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
11542
10850
  $as_echo_n "(cached) " >&6
11543
10851
else
11544
10852
  case $INTLTOOL_MERGE in
11551
10859
do
11552
10860
  IFS=$as_save_IFS
11553
10861
  test -z "$as_dir" && as_dir=.
11554
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10862
    for ac_exec_ext in '' $ac_executable_extensions; do
11555
10863
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11556
10864
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
11557
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10865
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11558
10866
    break 2
11559
10867
  fi
11560
10868
done
11561
 
done
 
10869
  done
11562
10870
IFS=$as_save_IFS
11563
10871
 
11564
10872
  ;;
11566
10874
fi
11567
10875
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
11568
10876
if test -n "$INTLTOOL_MERGE"; then
11569
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
10877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
11570
10878
$as_echo "$INTLTOOL_MERGE" >&6; }
11571
10879
else
11572
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11573
10881
$as_echo "no" >&6; }
11574
10882
fi
11575
10883
 
11576
10884
 
11577
10885
# Extract the first word of "intltool-extract", so it can be a program name with args.
11578
10886
set dummy intltool-extract; ac_word=$2
11579
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11580
10888
$as_echo_n "checking for $ac_word... " >&6; }
11581
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
10889
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
11582
10890
  $as_echo_n "(cached) " >&6
11583
10891
else
11584
10892
  case $INTLTOOL_EXTRACT in
11591
10899
do
11592
10900
  IFS=$as_save_IFS
11593
10901
  test -z "$as_dir" && as_dir=.
11594
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10902
    for ac_exec_ext in '' $ac_executable_extensions; do
11595
10903
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11596
10904
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
11597
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10905
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11598
10906
    break 2
11599
10907
  fi
11600
10908
done
11601
 
done
 
10909
  done
11602
10910
IFS=$as_save_IFS
11603
10911
 
11604
10912
  ;;
11606
10914
fi
11607
10915
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
11608
10916
if test -n "$INTLTOOL_EXTRACT"; then
11609
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
10917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
11610
10918
$as_echo "$INTLTOOL_EXTRACT" >&6; }
11611
10919
else
11612
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11613
10921
$as_echo "no" >&6; }
11614
10922
fi
11615
10923
 
11616
10924
 
11617
10925
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
11618
 
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
11619
 
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
11620
 
   { (exit 1); exit 1; }; }
 
10926
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
11621
10927
fi
11622
10928
 
11623
10929
  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 $< $@'
11739
11045
# Check the gettext tools to make sure they are GNU
11740
11046
# Extract the first word of "xgettext", so it can be a program name with args.
11741
11047
set dummy xgettext; ac_word=$2
11742
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11743
11049
$as_echo_n "checking for $ac_word... " >&6; }
11744
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
11050
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11745
11051
  $as_echo_n "(cached) " >&6
11746
11052
else
11747
11053
  case $XGETTEXT in
11754
11060
do
11755
11061
  IFS=$as_save_IFS
11756
11062
  test -z "$as_dir" && as_dir=.
11757
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11063
    for ac_exec_ext in '' $ac_executable_extensions; do
11758
11064
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11759
11065
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
11760
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11066
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11761
11067
    break 2
11762
11068
  fi
11763
11069
done
11764
 
done
 
11070
  done
11765
11071
IFS=$as_save_IFS
11766
11072
 
11767
11073
  ;;
11769
11075
fi
11770
11076
XGETTEXT=$ac_cv_path_XGETTEXT
11771
11077
if test -n "$XGETTEXT"; then
11772
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
11078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11773
11079
$as_echo "$XGETTEXT" >&6; }
11774
11080
else
11775
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11776
11082
$as_echo "no" >&6; }
11777
11083
fi
11778
11084
 
11779
11085
 
11780
11086
# Extract the first word of "msgmerge", so it can be a program name with args.
11781
11087
set dummy msgmerge; ac_word=$2
11782
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11783
11089
$as_echo_n "checking for $ac_word... " >&6; }
11784
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
11090
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11785
11091
  $as_echo_n "(cached) " >&6
11786
11092
else
11787
11093
  case $MSGMERGE in
11794
11100
do
11795
11101
  IFS=$as_save_IFS
11796
11102
  test -z "$as_dir" && as_dir=.
11797
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11103
    for ac_exec_ext in '' $ac_executable_extensions; do
11798
11104
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11799
11105
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
11800
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11106
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11801
11107
    break 2
11802
11108
  fi
11803
11109
done
11804
 
done
 
11110
  done
11805
11111
IFS=$as_save_IFS
11806
11112
 
11807
11113
  ;;
11809
11115
fi
11810
11116
MSGMERGE=$ac_cv_path_MSGMERGE
11811
11117
if test -n "$MSGMERGE"; then
11812
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
11118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11813
11119
$as_echo "$MSGMERGE" >&6; }
11814
11120
else
11815
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11816
11122
$as_echo "no" >&6; }
11817
11123
fi
11818
11124
 
11819
11125
 
11820
11126
# Extract the first word of "msgfmt", so it can be a program name with args.
11821
11127
set dummy msgfmt; ac_word=$2
11822
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11823
11129
$as_echo_n "checking for $ac_word... " >&6; }
11824
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
11130
if test "${ac_cv_path_MSGFMT+set}" = set; then :
11825
11131
  $as_echo_n "(cached) " >&6
11826
11132
else
11827
11133
  case $MSGFMT in
11834
11140
do
11835
11141
  IFS=$as_save_IFS
11836
11142
  test -z "$as_dir" && as_dir=.
11837
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11143
    for ac_exec_ext in '' $ac_executable_extensions; do
11838
11144
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11839
11145
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
11840
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11146
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11841
11147
    break 2
11842
11148
  fi
11843
11149
done
11844
 
done
 
11150
  done
11845
11151
IFS=$as_save_IFS
11846
11152
 
11847
11153
  ;;
11849
11155
fi
11850
11156
MSGFMT=$ac_cv_path_MSGFMT
11851
11157
if test -n "$MSGFMT"; then
11852
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
11158
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11853
11159
$as_echo "$MSGFMT" >&6; }
11854
11160
else
11855
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11161
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11856
11162
$as_echo "no" >&6; }
11857
11163
fi
11858
11164
 
11859
11165
 
11860
11166
# Extract the first word of "gmsgfmt", so it can be a program name with args.
11861
11167
set dummy gmsgfmt; ac_word=$2
11862
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11863
11169
$as_echo_n "checking for $ac_word... " >&6; }
11864
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
11170
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11865
11171
  $as_echo_n "(cached) " >&6
11866
11172
else
11867
11173
  case $GMSGFMT in
11874
11180
do
11875
11181
  IFS=$as_save_IFS
11876
11182
  test -z "$as_dir" && as_dir=.
11877
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11183
    for ac_exec_ext in '' $ac_executable_extensions; do
11878
11184
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11879
11185
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11880
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11186
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11881
11187
    break 2
11882
11188
  fi
11883
11189
done
11884
 
done
 
11190
  done
11885
11191
IFS=$as_save_IFS
11886
11192
 
11887
11193
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11890
11196
fi
11891
11197
GMSGFMT=$ac_cv_path_GMSGFMT
11892
11198
if test -n "$GMSGFMT"; then
11893
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
11199
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11894
11200
$as_echo "$GMSGFMT" >&6; }
11895
11201
else
11896
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11202
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897
11203
$as_echo "no" >&6; }
11898
11204
fi
11899
11205
 
11900
11206
 
11901
11207
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
11902
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
11903
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
11904
 
   { (exit 1); exit 1; }; }
 
11208
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
11905
11209
fi
11906
11210
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
11907
11211
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
11908
11212
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
11909
11213
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
11910
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
11911
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
11912
 
   { (exit 1); exit 1; }; }
 
11214
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
11913
11215
fi
11914
11216
 
11915
11217
# Extract the first word of "perl", so it can be a program name with args.
11916
11218
set dummy perl; ac_word=$2
11917
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11918
11220
$as_echo_n "checking for $ac_word... " >&6; }
11919
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
11221
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
11920
11222
  $as_echo_n "(cached) " >&6
11921
11223
else
11922
11224
  case $INTLTOOL_PERL in
11929
11231
do
11930
11232
  IFS=$as_save_IFS
11931
11233
  test -z "$as_dir" && as_dir=.
11932
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11234
    for ac_exec_ext in '' $ac_executable_extensions; do
11933
11235
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11934
11236
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
11935
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11237
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11936
11238
    break 2
11937
11239
  fi
11938
11240
done
11939
 
done
 
11241
  done
11940
11242
IFS=$as_save_IFS
11941
11243
 
11942
11244
  ;;
11944
11246
fi
11945
11247
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
11946
11248
if test -n "$INTLTOOL_PERL"; then
11947
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
11249
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
11948
11250
$as_echo "$INTLTOOL_PERL" >&6; }
11949
11251
else
11950
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11252
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11951
11253
$as_echo "no" >&6; }
11952
11254
fi
11953
11255
 
11954
11256
 
11955
11257
if test -z "$INTLTOOL_PERL"; then
11956
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
11957
 
$as_echo "$as_me: error: perl not found" >&2;}
11958
 
   { (exit 1); exit 1; }; }
 
11258
   as_fn_error "perl not found" "$LINENO" 5
11959
11259
fi
11960
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
11260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
11961
11261
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
11962
11262
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
11963
11263
if test $? -ne 0; then
11964
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
11965
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
11966
 
   { (exit 1); exit 1; }; }
 
11264
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
11967
11265
else
11968
11266
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
11969
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
11267
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
11970
11268
$as_echo "$IT_PERL_VERSION" >&6; }
11971
11269
fi
11972
11270
if test "x" != "xno-xml"; then
11973
 
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
11271
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
11974
11272
$as_echo_n "checking for XML::Parser... " >&6; }
11975
11273
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
11976
 
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
11274
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
11977
11275
$as_echo "ok" >&6; }
11978
11276
   else
11979
 
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
11980
 
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
11981
 
   { (exit 1); exit 1; }; }
 
11277
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
11982
11278
   fi
11983
11279
fi
11984
11280
 
11988
11284
# Set DATADIRNAME correctly if it is not set yet
11989
11285
# (copied from glib-gettext.m4)
11990
11286
if test -z "$DATADIRNAME"; then
11991
 
  cat >conftest.$ac_ext <<_ACEOF
11992
 
/* confdefs.h.  */
11993
 
_ACEOF
11994
 
cat confdefs.h >>conftest.$ac_ext
11995
 
cat >>conftest.$ac_ext <<_ACEOF
 
11287
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996
11288
/* end confdefs.h.  */
11997
11289
 
11998
11290
int
12004
11296
  return 0;
12005
11297
}
12006
11298
_ACEOF
12007
 
rm -f conftest.$ac_objext conftest$ac_exeext
12008
 
if { (ac_try="$ac_link"
12009
 
case "(($ac_try" in
12010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12011
 
  *) ac_try_echo=$ac_try;;
12012
 
esac
12013
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12014
 
$as_echo "$ac_try_echo") >&5
12015
 
  (eval "$ac_link") 2>conftest.er1
12016
 
  ac_status=$?
12017
 
  grep -v '^ *+' conftest.er1 >conftest.err
12018
 
  rm -f conftest.er1
12019
 
  cat conftest.err >&5
12020
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021
 
  (exit $ac_status); } && {
12022
 
         test -z "$ac_c_werror_flag" ||
12023
 
         test ! -s conftest.err
12024
 
       } && test -s conftest$ac_exeext && {
12025
 
         test "$cross_compiling" = yes ||
12026
 
         $as_test_x conftest$ac_exeext
12027
 
       }; then
 
11299
if ac_fn_c_try_link "$LINENO"; then :
12028
11300
  DATADIRNAME=share
12029
11301
else
12030
 
  $as_echo "$as_me: failed program was:" >&5
12031
 
sed 's/^/| /' conftest.$ac_ext >&5
12032
 
 
12033
 
        case $host in
 
11302
  case $host in
12034
11303
    *-*-solaris*)
12035
 
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
12036
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
12037
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
12038
 
  $as_echo_n "(cached) " >&6
12039
 
else
12040
 
  cat >conftest.$ac_ext <<_ACEOF
12041
 
/* confdefs.h.  */
12042
 
_ACEOF
12043
 
cat confdefs.h >>conftest.$ac_ext
12044
 
cat >>conftest.$ac_ext <<_ACEOF
12045
 
/* end confdefs.h.  */
12046
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
12047
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12048
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
12049
 
 
12050
 
/* System header to define __stub macros and hopefully few prototypes,
12051
 
    which can conflict with char bind_textdomain_codeset (); below.
12052
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12053
 
    <limits.h> exists even on freestanding compilers.  */
12054
 
 
12055
 
#ifdef __STDC__
12056
 
# include <limits.h>
12057
 
#else
12058
 
# include <assert.h>
12059
 
#endif
12060
 
 
12061
 
#undef bind_textdomain_codeset
12062
 
 
12063
 
/* Override any GCC internal prototype to avoid an error.
12064
 
   Use char because int might match the return type of a GCC
12065
 
   builtin and then its argument prototype would still apply.  */
12066
 
#ifdef __cplusplus
12067
 
extern "C"
12068
 
#endif
12069
 
char bind_textdomain_codeset ();
12070
 
/* The GNU C library defines this for functions which it implements
12071
 
    to always fail with ENOSYS.  Some functions are actually named
12072
 
    something starting with __ and the normal name is an alias.  */
12073
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
12074
 
choke me
12075
 
#endif
12076
 
 
12077
 
int
12078
 
main ()
12079
 
{
12080
 
return bind_textdomain_codeset ();
12081
 
  ;
12082
 
  return 0;
12083
 
}
12084
 
_ACEOF
12085
 
rm -f conftest.$ac_objext conftest$ac_exeext
12086
 
if { (ac_try="$ac_link"
12087
 
case "(($ac_try" in
12088
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12089
 
  *) ac_try_echo=$ac_try;;
12090
 
esac
12091
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12092
 
$as_echo "$ac_try_echo") >&5
12093
 
  (eval "$ac_link") 2>conftest.er1
12094
 
  ac_status=$?
12095
 
  grep -v '^ *+' conftest.er1 >conftest.err
12096
 
  rm -f conftest.er1
12097
 
  cat conftest.err >&5
12098
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099
 
  (exit $ac_status); } && {
12100
 
         test -z "$ac_c_werror_flag" ||
12101
 
         test ! -s conftest.err
12102
 
       } && test -s conftest$ac_exeext && {
12103
 
         test "$cross_compiling" = yes ||
12104
 
         $as_test_x conftest$ac_exeext
12105
 
       }; then
12106
 
  ac_cv_func_bind_textdomain_codeset=yes
12107
 
else
12108
 
  $as_echo "$as_me: failed program was:" >&5
12109
 
sed 's/^/| /' conftest.$ac_ext >&5
12110
 
 
12111
 
        ac_cv_func_bind_textdomain_codeset=no
12112
 
fi
12113
 
 
12114
 
rm -rf conftest.dSYM
12115
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12116
 
      conftest$ac_exeext conftest.$ac_ext
12117
 
fi
12118
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
12119
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
12120
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
11304
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11305
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12121
11306
  DATADIRNAME=share
12122
11307
else
12123
11308
  DATADIRNAME=lib
12129
11314
    ;;
12130
11315
    esac
12131
11316
fi
12132
 
 
12133
 
rm -rf conftest.dSYM
12134
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12135
 
      conftest$ac_exeext conftest.$ac_ext
 
11317
rm -f core conftest.err conftest.$ac_objext \
 
11318
    conftest$ac_exeext conftest.$ac_ext
12136
11319
fi
12137
11320
 
12138
11321
 
12147
11330
_ACEOF
12148
11331
 
12149
11332
 
12150
 
 
12151
 
for ac_header in locale.h
12152
 
do
12153
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12154
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12155
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12156
 
$as_echo_n "checking for $ac_header... " >&6; }
12157
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12158
 
  $as_echo_n "(cached) " >&6
12159
 
fi
12160
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12161
 
                 $as_echo "$as_val"'`
12162
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12163
 
$as_echo "$ac_res" >&6; }
12164
 
else
12165
 
  # Is the header compilable?
12166
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12167
 
$as_echo_n "checking $ac_header usability... " >&6; }
12168
 
cat >conftest.$ac_ext <<_ACEOF
12169
 
/* confdefs.h.  */
12170
 
_ACEOF
12171
 
cat confdefs.h >>conftest.$ac_ext
12172
 
cat >>conftest.$ac_ext <<_ACEOF
12173
 
/* end confdefs.h.  */
12174
 
$ac_includes_default
12175
 
#include <$ac_header>
12176
 
_ACEOF
12177
 
rm -f conftest.$ac_objext
12178
 
if { (ac_try="$ac_compile"
12179
 
case "(($ac_try" in
12180
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12181
 
  *) ac_try_echo=$ac_try;;
12182
 
esac
12183
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12184
 
$as_echo "$ac_try_echo") >&5
12185
 
  (eval "$ac_compile") 2>conftest.er1
12186
 
  ac_status=$?
12187
 
  grep -v '^ *+' conftest.er1 >conftest.err
12188
 
  rm -f conftest.er1
12189
 
  cat conftest.err >&5
12190
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191
 
  (exit $ac_status); } && {
12192
 
         test -z "$ac_c_werror_flag" ||
12193
 
         test ! -s conftest.err
12194
 
       } && test -s conftest.$ac_objext; then
12195
 
  ac_header_compiler=yes
12196
 
else
12197
 
  $as_echo "$as_me: failed program was:" >&5
12198
 
sed 's/^/| /' conftest.$ac_ext >&5
12199
 
 
12200
 
        ac_header_compiler=no
12201
 
fi
12202
 
 
12203
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12204
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12205
 
$as_echo "$ac_header_compiler" >&6; }
12206
 
 
12207
 
# Is the header present?
12208
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12209
 
$as_echo_n "checking $ac_header presence... " >&6; }
12210
 
cat >conftest.$ac_ext <<_ACEOF
12211
 
/* confdefs.h.  */
12212
 
_ACEOF
12213
 
cat confdefs.h >>conftest.$ac_ext
12214
 
cat >>conftest.$ac_ext <<_ACEOF
12215
 
/* end confdefs.h.  */
12216
 
#include <$ac_header>
12217
 
_ACEOF
12218
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
12219
 
case "(($ac_try" in
12220
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12221
 
  *) ac_try_echo=$ac_try;;
12222
 
esac
12223
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12224
 
$as_echo "$ac_try_echo") >&5
12225
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12226
 
  ac_status=$?
12227
 
  grep -v '^ *+' conftest.er1 >conftest.err
12228
 
  rm -f conftest.er1
12229
 
  cat conftest.err >&5
12230
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231
 
  (exit $ac_status); } >/dev/null && {
12232
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12233
 
         test ! -s conftest.err
12234
 
       }; then
12235
 
  ac_header_preproc=yes
12236
 
else
12237
 
  $as_echo "$as_me: failed program was:" >&5
12238
 
sed 's/^/| /' conftest.$ac_ext >&5
12239
 
 
12240
 
  ac_header_preproc=no
12241
 
fi
12242
 
 
12243
 
rm -f conftest.err conftest.$ac_ext
12244
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12245
 
$as_echo "$ac_header_preproc" >&6; }
12246
 
 
12247
 
# So?  What about this header?
12248
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12249
 
  yes:no: )
12250
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12251
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12252
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12253
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12254
 
    ac_header_preproc=yes
12255
 
    ;;
12256
 
  no:yes:* )
12257
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12258
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12259
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12260
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12261
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12262
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12263
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12264
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12265
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12266
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12267
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12268
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12269
 
    ( cat <<\_ASBOX
12270
 
## -------------------------------------- ##
12271
 
## Report this to mailto:vuntz@novell.com ##
12272
 
## -------------------------------------- ##
12273
 
_ASBOX
12274
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
12275
 
    ;;
12276
 
esac
12277
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12278
 
$as_echo_n "checking for $ac_header... " >&6; }
12279
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12280
 
  $as_echo_n "(cached) " >&6
12281
 
else
12282
 
  eval "$as_ac_Header=\$ac_header_preproc"
12283
 
fi
12284
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12285
 
                 $as_echo "$as_val"'`
12286
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12287
 
$as_echo "$ac_res" >&6; }
12288
 
 
12289
 
fi
12290
 
as_val=`eval 'as_val=${'$as_ac_Header'}
12291
 
                 $as_echo "$as_val"'`
12292
 
   if test "x$as_val" = x""yes; then
 
11333
   for ac_header in locale.h
 
11334
do :
 
11335
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
11336
if test "x$ac_cv_header_locale_h" = x""yes; then :
12293
11337
  cat >>confdefs.h <<_ACEOF
12294
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11338
#define HAVE_LOCALE_H 1
12295
11339
_ACEOF
12296
11340
 
12297
11341
fi
12299
11343
done
12300
11344
 
12301
11345
    if test $ac_cv_header_locale_h = yes; then
12302
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
11346
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12303
11347
$as_echo_n "checking for LC_MESSAGES... " >&6; }
12304
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
11348
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
12305
11349
  $as_echo_n "(cached) " >&6
12306
11350
else
12307
 
  cat >conftest.$ac_ext <<_ACEOF
12308
 
/* confdefs.h.  */
12309
 
_ACEOF
12310
 
cat confdefs.h >>conftest.$ac_ext
12311
 
cat >>conftest.$ac_ext <<_ACEOF
 
11351
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12312
11352
/* end confdefs.h.  */
12313
11353
#include <locale.h>
12314
11354
int
12319
11359
  return 0;
12320
11360
}
12321
11361
_ACEOF
12322
 
rm -f conftest.$ac_objext conftest$ac_exeext
12323
 
if { (ac_try="$ac_link"
12324
 
case "(($ac_try" in
12325
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12326
 
  *) ac_try_echo=$ac_try;;
12327
 
esac
12328
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12329
 
$as_echo "$ac_try_echo") >&5
12330
 
  (eval "$ac_link") 2>conftest.er1
12331
 
  ac_status=$?
12332
 
  grep -v '^ *+' conftest.er1 >conftest.err
12333
 
  rm -f conftest.er1
12334
 
  cat conftest.err >&5
12335
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336
 
  (exit $ac_status); } && {
12337
 
         test -z "$ac_c_werror_flag" ||
12338
 
         test ! -s conftest.err
12339
 
       } && test -s conftest$ac_exeext && {
12340
 
         test "$cross_compiling" = yes ||
12341
 
         $as_test_x conftest$ac_exeext
12342
 
       }; then
 
11362
if ac_fn_c_try_link "$LINENO"; then :
12343
11363
  am_cv_val_LC_MESSAGES=yes
12344
11364
else
12345
 
  $as_echo "$as_me: failed program was:" >&5
12346
 
sed 's/^/| /' conftest.$ac_ext >&5
12347
 
 
12348
 
        am_cv_val_LC_MESSAGES=no
12349
 
fi
12350
 
 
12351
 
rm -rf conftest.dSYM
12352
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12353
 
      conftest$ac_exeext conftest.$ac_ext
12354
 
fi
12355
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
11365
  am_cv_val_LC_MESSAGES=no
 
11366
fi
 
11367
rm -f core conftest.err conftest.$ac_objext \
 
11368
    conftest$ac_exeext conftest.$ac_ext
 
11369
fi
 
11370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12356
11371
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12357
11372
    if test $am_cv_val_LC_MESSAGES = yes; then
12358
11373
 
12359
 
cat >>confdefs.h <<\_ACEOF
12360
 
#define HAVE_LC_MESSAGES 1
12361
 
_ACEOF
 
11374
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12362
11375
 
12363
11376
    fi
12364
11377
  fi
12371
11384
    XGETTEXT=:
12372
11385
    INTLLIBS=
12373
11386
 
12374
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
12375
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
12376
 
$as_echo_n "checking for libintl.h... " >&6; }
12377
 
if test "${ac_cv_header_libintl_h+set}" = set; then
12378
 
  $as_echo_n "(cached) " >&6
12379
 
fi
12380
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
12381
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
12382
 
else
12383
 
  # Is the header compilable?
12384
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
12385
 
$as_echo_n "checking libintl.h usability... " >&6; }
12386
 
cat >conftest.$ac_ext <<_ACEOF
12387
 
/* confdefs.h.  */
12388
 
_ACEOF
12389
 
cat confdefs.h >>conftest.$ac_ext
12390
 
cat >>conftest.$ac_ext <<_ACEOF
12391
 
/* end confdefs.h.  */
12392
 
$ac_includes_default
12393
 
#include <libintl.h>
12394
 
_ACEOF
12395
 
rm -f conftest.$ac_objext
12396
 
if { (ac_try="$ac_compile"
12397
 
case "(($ac_try" in
12398
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12399
 
  *) ac_try_echo=$ac_try;;
12400
 
esac
12401
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12402
 
$as_echo "$ac_try_echo") >&5
12403
 
  (eval "$ac_compile") 2>conftest.er1
12404
 
  ac_status=$?
12405
 
  grep -v '^ *+' conftest.er1 >conftest.err
12406
 
  rm -f conftest.er1
12407
 
  cat conftest.err >&5
12408
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409
 
  (exit $ac_status); } && {
12410
 
         test -z "$ac_c_werror_flag" ||
12411
 
         test ! -s conftest.err
12412
 
       } && test -s conftest.$ac_objext; then
12413
 
  ac_header_compiler=yes
12414
 
else
12415
 
  $as_echo "$as_me: failed program was:" >&5
12416
 
sed 's/^/| /' conftest.$ac_ext >&5
12417
 
 
12418
 
        ac_header_compiler=no
12419
 
fi
12420
 
 
12421
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12422
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12423
 
$as_echo "$ac_header_compiler" >&6; }
12424
 
 
12425
 
# Is the header present?
12426
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
12427
 
$as_echo_n "checking libintl.h presence... " >&6; }
12428
 
cat >conftest.$ac_ext <<_ACEOF
12429
 
/* confdefs.h.  */
12430
 
_ACEOF
12431
 
cat confdefs.h >>conftest.$ac_ext
12432
 
cat >>conftest.$ac_ext <<_ACEOF
12433
 
/* end confdefs.h.  */
12434
 
#include <libintl.h>
12435
 
_ACEOF
12436
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
12437
 
case "(($ac_try" in
12438
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12439
 
  *) ac_try_echo=$ac_try;;
12440
 
esac
12441
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12442
 
$as_echo "$ac_try_echo") >&5
12443
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12444
 
  ac_status=$?
12445
 
  grep -v '^ *+' conftest.er1 >conftest.err
12446
 
  rm -f conftest.er1
12447
 
  cat conftest.err >&5
12448
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449
 
  (exit $ac_status); } >/dev/null && {
12450
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12451
 
         test ! -s conftest.err
12452
 
       }; then
12453
 
  ac_header_preproc=yes
12454
 
else
12455
 
  $as_echo "$as_me: failed program was:" >&5
12456
 
sed 's/^/| /' conftest.$ac_ext >&5
12457
 
 
12458
 
  ac_header_preproc=no
12459
 
fi
12460
 
 
12461
 
rm -f conftest.err conftest.$ac_ext
12462
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12463
 
$as_echo "$ac_header_preproc" >&6; }
12464
 
 
12465
 
# So?  What about this header?
12466
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12467
 
  yes:no: )
12468
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
12469
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12470
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
12471
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
12472
 
    ac_header_preproc=yes
12473
 
    ;;
12474
 
  no:yes:* )
12475
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
12476
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
12477
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
12478
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
12479
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
12480
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
12481
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
12482
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
12483
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
12484
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
12485
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
12486
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
12487
 
    ( cat <<\_ASBOX
12488
 
## -------------------------------------- ##
12489
 
## Report this to mailto:vuntz@novell.com ##
12490
 
## -------------------------------------- ##
12491
 
_ASBOX
12492
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
12493
 
    ;;
12494
 
esac
12495
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
12496
 
$as_echo_n "checking for libintl.h... " >&6; }
12497
 
if test "${ac_cv_header_libintl_h+set}" = set; then
12498
 
  $as_echo_n "(cached) " >&6
12499
 
else
12500
 
  ac_cv_header_libintl_h=$ac_header_preproc
12501
 
fi
12502
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
12503
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
12504
 
 
12505
 
fi
12506
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
11387
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
11388
if test "x$ac_cv_header_libintl_h" = x""yes; then :
12507
11389
  gt_cv_func_dgettext_libintl="no"
12508
11390
      libintl_extra_libs=""
12509
11391
 
12510
11392
      #
12511
11393
      # First check in libc
12512
11394
      #
12513
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
11395
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12514
11396
$as_echo_n "checking for ngettext in libc... " >&6; }
12515
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
11397
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
12516
11398
  $as_echo_n "(cached) " >&6
12517
11399
else
12518
 
  cat >conftest.$ac_ext <<_ACEOF
12519
 
/* confdefs.h.  */
12520
 
_ACEOF
12521
 
cat confdefs.h >>conftest.$ac_ext
12522
 
cat >>conftest.$ac_ext <<_ACEOF
 
11400
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523
11401
/* end confdefs.h.  */
12524
11402
 
12525
11403
#include <libintl.h>
12532
11410
  return 0;
12533
11411
}
12534
11412
_ACEOF
12535
 
rm -f conftest.$ac_objext conftest$ac_exeext
12536
 
if { (ac_try="$ac_link"
12537
 
case "(($ac_try" in
12538
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12539
 
  *) ac_try_echo=$ac_try;;
12540
 
esac
12541
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12542
 
$as_echo "$ac_try_echo") >&5
12543
 
  (eval "$ac_link") 2>conftest.er1
12544
 
  ac_status=$?
12545
 
  grep -v '^ *+' conftest.er1 >conftest.err
12546
 
  rm -f conftest.er1
12547
 
  cat conftest.err >&5
12548
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549
 
  (exit $ac_status); } && {
12550
 
         test -z "$ac_c_werror_flag" ||
12551
 
         test ! -s conftest.err
12552
 
       } && test -s conftest$ac_exeext && {
12553
 
         test "$cross_compiling" = yes ||
12554
 
         $as_test_x conftest$ac_exeext
12555
 
       }; then
 
11413
if ac_fn_c_try_link "$LINENO"; then :
12556
11414
  gt_cv_func_ngettext_libc=yes
12557
11415
else
12558
 
  $as_echo "$as_me: failed program was:" >&5
12559
 
sed 's/^/| /' conftest.$ac_ext >&5
12560
 
 
12561
 
        gt_cv_func_ngettext_libc=no
12562
 
fi
12563
 
 
12564
 
rm -rf conftest.dSYM
12565
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12566
 
      conftest$ac_exeext conftest.$ac_ext
12567
 
 
12568
 
fi
12569
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
11416
  gt_cv_func_ngettext_libc=no
 
11417
fi
 
11418
rm -f core conftest.err conftest.$ac_objext \
 
11419
    conftest$ac_exeext conftest.$ac_ext
 
11420
 
 
11421
fi
 
11422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12570
11423
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
12571
11424
 
12572
11425
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12573
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
11426
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12574
11427
$as_echo_n "checking for dgettext in libc... " >&6; }
12575
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
11428
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
12576
11429
  $as_echo_n "(cached) " >&6
12577
11430
else
12578
 
  cat >conftest.$ac_ext <<_ACEOF
12579
 
/* confdefs.h.  */
12580
 
_ACEOF
12581
 
cat confdefs.h >>conftest.$ac_ext
12582
 
cat >>conftest.$ac_ext <<_ACEOF
 
11431
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12583
11432
/* end confdefs.h.  */
12584
11433
 
12585
11434
#include <libintl.h>
12592
11441
  return 0;
12593
11442
}
12594
11443
_ACEOF
12595
 
rm -f conftest.$ac_objext conftest$ac_exeext
12596
 
if { (ac_try="$ac_link"
12597
 
case "(($ac_try" in
12598
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12599
 
  *) ac_try_echo=$ac_try;;
12600
 
esac
12601
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12602
 
$as_echo "$ac_try_echo") >&5
12603
 
  (eval "$ac_link") 2>conftest.er1
12604
 
  ac_status=$?
12605
 
  grep -v '^ *+' conftest.er1 >conftest.err
12606
 
  rm -f conftest.er1
12607
 
  cat conftest.err >&5
12608
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609
 
  (exit $ac_status); } && {
12610
 
         test -z "$ac_c_werror_flag" ||
12611
 
         test ! -s conftest.err
12612
 
       } && test -s conftest$ac_exeext && {
12613
 
         test "$cross_compiling" = yes ||
12614
 
         $as_test_x conftest$ac_exeext
12615
 
       }; then
 
11444
if ac_fn_c_try_link "$LINENO"; then :
12616
11445
  gt_cv_func_dgettext_libc=yes
12617
11446
else
12618
 
  $as_echo "$as_me: failed program was:" >&5
12619
 
sed 's/^/| /' conftest.$ac_ext >&5
12620
 
 
12621
 
        gt_cv_func_dgettext_libc=no
12622
 
fi
12623
 
 
12624
 
rm -rf conftest.dSYM
12625
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12626
 
      conftest$ac_exeext conftest.$ac_ext
12627
 
 
12628
 
fi
12629
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
11447
  gt_cv_func_dgettext_libc=no
 
11448
fi
 
11449
rm -f core conftest.err conftest.$ac_objext \
 
11450
    conftest$ac_exeext conftest.$ac_ext
 
11451
 
 
11452
fi
 
11453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12630
11454
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
12631
11455
      fi
12632
11456
 
12633
11457
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12634
 
 
12635
 
for ac_func in bind_textdomain_codeset
12636
 
do
12637
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12638
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12639
 
$as_echo_n "checking for $ac_func... " >&6; }
12640
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12641
 
  $as_echo_n "(cached) " >&6
12642
 
else
12643
 
  cat >conftest.$ac_ext <<_ACEOF
12644
 
/* confdefs.h.  */
12645
 
_ACEOF
12646
 
cat confdefs.h >>conftest.$ac_ext
12647
 
cat >>conftest.$ac_ext <<_ACEOF
12648
 
/* end confdefs.h.  */
12649
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12650
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12651
 
#define $ac_func innocuous_$ac_func
12652
 
 
12653
 
/* System header to define __stub macros and hopefully few prototypes,
12654
 
    which can conflict with char $ac_func (); below.
12655
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12656
 
    <limits.h> exists even on freestanding compilers.  */
12657
 
 
12658
 
#ifdef __STDC__
12659
 
# include <limits.h>
12660
 
#else
12661
 
# include <assert.h>
12662
 
#endif
12663
 
 
12664
 
#undef $ac_func
12665
 
 
12666
 
/* Override any GCC internal prototype to avoid an error.
12667
 
   Use char because int might match the return type of a GCC
12668
 
   builtin and then its argument prototype would still apply.  */
12669
 
#ifdef __cplusplus
12670
 
extern "C"
12671
 
#endif
12672
 
char $ac_func ();
12673
 
/* The GNU C library defines this for functions which it implements
12674
 
    to always fail with ENOSYS.  Some functions are actually named
12675
 
    something starting with __ and the normal name is an alias.  */
12676
 
#if defined __stub_$ac_func || defined __stub___$ac_func
12677
 
choke me
12678
 
#endif
12679
 
 
12680
 
int
12681
 
main ()
12682
 
{
12683
 
return $ac_func ();
12684
 
  ;
12685
 
  return 0;
12686
 
}
12687
 
_ACEOF
12688
 
rm -f conftest.$ac_objext conftest$ac_exeext
12689
 
if { (ac_try="$ac_link"
12690
 
case "(($ac_try" in
12691
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12692
 
  *) ac_try_echo=$ac_try;;
12693
 
esac
12694
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12695
 
$as_echo "$ac_try_echo") >&5
12696
 
  (eval "$ac_link") 2>conftest.er1
12697
 
  ac_status=$?
12698
 
  grep -v '^ *+' conftest.er1 >conftest.err
12699
 
  rm -f conftest.er1
12700
 
  cat conftest.err >&5
12701
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702
 
  (exit $ac_status); } && {
12703
 
         test -z "$ac_c_werror_flag" ||
12704
 
         test ! -s conftest.err
12705
 
       } && test -s conftest$ac_exeext && {
12706
 
         test "$cross_compiling" = yes ||
12707
 
         $as_test_x conftest$ac_exeext
12708
 
       }; then
12709
 
  eval "$as_ac_var=yes"
12710
 
else
12711
 
  $as_echo "$as_me: failed program was:" >&5
12712
 
sed 's/^/| /' conftest.$ac_ext >&5
12713
 
 
12714
 
        eval "$as_ac_var=no"
12715
 
fi
12716
 
 
12717
 
rm -rf conftest.dSYM
12718
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12719
 
      conftest$ac_exeext conftest.$ac_ext
12720
 
fi
12721
 
ac_res=`eval 'as_val=${'$as_ac_var'}
12722
 
                 $as_echo "$as_val"'`
12723
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12724
 
$as_echo "$ac_res" >&6; }
12725
 
as_val=`eval 'as_val=${'$as_ac_var'}
12726
 
                 $as_echo "$as_val"'`
12727
 
   if test "x$as_val" = x""yes; then
 
11458
        for ac_func in bind_textdomain_codeset
 
11459
do :
 
11460
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11461
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12728
11462
  cat >>confdefs.h <<_ACEOF
12729
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
11463
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12730
11464
_ACEOF
12731
11465
 
12732
11466
fi
12741
11475
         || test "$gt_cv_func_ngettext_libc" != "yes" \
12742
11476
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12743
11477
 
12744
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
11478
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12745
11479
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12746
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
11480
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
12747
11481
  $as_echo_n "(cached) " >&6
12748
11482
else
12749
11483
  ac_check_lib_save_LIBS=$LIBS
12750
11484
LIBS="-lintl  $LIBS"
12751
 
cat >conftest.$ac_ext <<_ACEOF
12752
 
/* confdefs.h.  */
12753
 
_ACEOF
12754
 
cat confdefs.h >>conftest.$ac_ext
12755
 
cat >>conftest.$ac_ext <<_ACEOF
 
11485
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12756
11486
/* end confdefs.h.  */
12757
11487
 
12758
11488
/* Override any GCC internal prototype to avoid an error.
12770
11500
  return 0;
12771
11501
}
12772
11502
_ACEOF
12773
 
rm -f conftest.$ac_objext conftest$ac_exeext
12774
 
if { (ac_try="$ac_link"
12775
 
case "(($ac_try" in
12776
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12777
 
  *) ac_try_echo=$ac_try;;
12778
 
esac
12779
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12780
 
$as_echo "$ac_try_echo") >&5
12781
 
  (eval "$ac_link") 2>conftest.er1
12782
 
  ac_status=$?
12783
 
  grep -v '^ *+' conftest.er1 >conftest.err
12784
 
  rm -f conftest.er1
12785
 
  cat conftest.err >&5
12786
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787
 
  (exit $ac_status); } && {
12788
 
         test -z "$ac_c_werror_flag" ||
12789
 
         test ! -s conftest.err
12790
 
       } && test -s conftest$ac_exeext && {
12791
 
         test "$cross_compiling" = yes ||
12792
 
         $as_test_x conftest$ac_exeext
12793
 
       }; then
 
11503
if ac_fn_c_try_link "$LINENO"; then :
12794
11504
  ac_cv_lib_intl_bindtextdomain=yes
12795
11505
else
12796
 
  $as_echo "$as_me: failed program was:" >&5
12797
 
sed 's/^/| /' conftest.$ac_ext >&5
12798
 
 
12799
 
        ac_cv_lib_intl_bindtextdomain=no
 
11506
  ac_cv_lib_intl_bindtextdomain=no
12800
11507
fi
12801
 
 
12802
 
rm -rf conftest.dSYM
12803
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12804
 
      conftest$ac_exeext conftest.$ac_ext
 
11508
rm -f core conftest.err conftest.$ac_objext \
 
11509
    conftest$ac_exeext conftest.$ac_ext
12805
11510
LIBS=$ac_check_lib_save_LIBS
12806
11511
fi
12807
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
11512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12808
11513
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12809
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
12810
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
11514
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
11515
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12811
11516
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12812
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
11517
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12813
11518
  $as_echo_n "(cached) " >&6
12814
11519
else
12815
11520
  ac_check_lib_save_LIBS=$LIBS
12816
11521
LIBS="-lintl  $LIBS"
12817
 
cat >conftest.$ac_ext <<_ACEOF
12818
 
/* confdefs.h.  */
12819
 
_ACEOF
12820
 
cat confdefs.h >>conftest.$ac_ext
12821
 
cat >>conftest.$ac_ext <<_ACEOF
 
11522
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822
11523
/* end confdefs.h.  */
12823
11524
 
12824
11525
/* Override any GCC internal prototype to avoid an error.
12836
11537
  return 0;
12837
11538
}
12838
11539
_ACEOF
12839
 
rm -f conftest.$ac_objext conftest$ac_exeext
12840
 
if { (ac_try="$ac_link"
12841
 
case "(($ac_try" in
12842
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12843
 
  *) ac_try_echo=$ac_try;;
12844
 
esac
12845
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12846
 
$as_echo "$ac_try_echo") >&5
12847
 
  (eval "$ac_link") 2>conftest.er1
12848
 
  ac_status=$?
12849
 
  grep -v '^ *+' conftest.er1 >conftest.err
12850
 
  rm -f conftest.er1
12851
 
  cat conftest.err >&5
12852
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853
 
  (exit $ac_status); } && {
12854
 
         test -z "$ac_c_werror_flag" ||
12855
 
         test ! -s conftest.err
12856
 
       } && test -s conftest$ac_exeext && {
12857
 
         test "$cross_compiling" = yes ||
12858
 
         $as_test_x conftest$ac_exeext
12859
 
       }; then
 
11540
if ac_fn_c_try_link "$LINENO"; then :
12860
11541
  ac_cv_lib_intl_ngettext=yes
12861
11542
else
12862
 
  $as_echo "$as_me: failed program was:" >&5
12863
 
sed 's/^/| /' conftest.$ac_ext >&5
12864
 
 
12865
 
        ac_cv_lib_intl_ngettext=no
 
11543
  ac_cv_lib_intl_ngettext=no
12866
11544
fi
12867
 
 
12868
 
rm -rf conftest.dSYM
12869
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12870
 
      conftest$ac_exeext conftest.$ac_ext
 
11545
rm -f core conftest.err conftest.$ac_objext \
 
11546
    conftest$ac_exeext conftest.$ac_ext
12871
11547
LIBS=$ac_check_lib_save_LIBS
12872
11548
fi
12873
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
11549
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12874
11550
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12875
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
12876
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
11551
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
11552
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12877
11553
$as_echo_n "checking for dgettext in -lintl... " >&6; }
12878
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
11554
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
12879
11555
  $as_echo_n "(cached) " >&6
12880
11556
else
12881
11557
  ac_check_lib_save_LIBS=$LIBS
12882
11558
LIBS="-lintl  $LIBS"
12883
 
cat >conftest.$ac_ext <<_ACEOF
12884
 
/* confdefs.h.  */
12885
 
_ACEOF
12886
 
cat confdefs.h >>conftest.$ac_ext
12887
 
cat >>conftest.$ac_ext <<_ACEOF
 
11559
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888
11560
/* end confdefs.h.  */
12889
11561
 
12890
11562
/* Override any GCC internal prototype to avoid an error.
12902
11574
  return 0;
12903
11575
}
12904
11576
_ACEOF
12905
 
rm -f conftest.$ac_objext conftest$ac_exeext
12906
 
if { (ac_try="$ac_link"
12907
 
case "(($ac_try" in
12908
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12909
 
  *) ac_try_echo=$ac_try;;
12910
 
esac
12911
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12912
 
$as_echo "$ac_try_echo") >&5
12913
 
  (eval "$ac_link") 2>conftest.er1
12914
 
  ac_status=$?
12915
 
  grep -v '^ *+' conftest.er1 >conftest.err
12916
 
  rm -f conftest.er1
12917
 
  cat conftest.err >&5
12918
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919
 
  (exit $ac_status); } && {
12920
 
         test -z "$ac_c_werror_flag" ||
12921
 
         test ! -s conftest.err
12922
 
       } && test -s conftest$ac_exeext && {
12923
 
         test "$cross_compiling" = yes ||
12924
 
         $as_test_x conftest$ac_exeext
12925
 
       }; then
 
11577
if ac_fn_c_try_link "$LINENO"; then :
12926
11578
  ac_cv_lib_intl_dgettext=yes
12927
11579
else
12928
 
  $as_echo "$as_me: failed program was:" >&5
12929
 
sed 's/^/| /' conftest.$ac_ext >&5
12930
 
 
12931
 
        ac_cv_lib_intl_dgettext=no
 
11580
  ac_cv_lib_intl_dgettext=no
12932
11581
fi
12933
 
 
12934
 
rm -rf conftest.dSYM
12935
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12936
 
      conftest$ac_exeext conftest.$ac_ext
 
11582
rm -f core conftest.err conftest.$ac_objext \
 
11583
    conftest$ac_exeext conftest.$ac_ext
12937
11584
LIBS=$ac_check_lib_save_LIBS
12938
11585
fi
12939
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
11586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12940
11587
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12941
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
11588
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
12942
11589
  gt_cv_func_dgettext_libintl=yes
12943
11590
fi
12944
11591
 
12948
11595
 
12949
11596
 
12950
11597
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12951
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
11598
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12952
11599
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12953
 
          { $as_echo "$as_me:$LINENO: result: " >&5
 
11600
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12954
11601
$as_echo "" >&6; }
12955
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
11602
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12956
11603
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12957
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
11604
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12958
11605
  $as_echo_n "(cached) " >&6
12959
11606
else
12960
11607
  ac_check_lib_save_LIBS=$LIBS
12961
11608
LIBS="-lintl -liconv $LIBS"
12962
 
cat >conftest.$ac_ext <<_ACEOF
12963
 
/* confdefs.h.  */
12964
 
_ACEOF
12965
 
cat confdefs.h >>conftest.$ac_ext
12966
 
cat >>conftest.$ac_ext <<_ACEOF
 
11609
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967
11610
/* end confdefs.h.  */
12968
11611
 
12969
11612
/* Override any GCC internal prototype to avoid an error.
12981
11624
  return 0;
12982
11625
}
12983
11626
_ACEOF
12984
 
rm -f conftest.$ac_objext conftest$ac_exeext
12985
 
if { (ac_try="$ac_link"
12986
 
case "(($ac_try" in
12987
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12988
 
  *) ac_try_echo=$ac_try;;
12989
 
esac
12990
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12991
 
$as_echo "$ac_try_echo") >&5
12992
 
  (eval "$ac_link") 2>conftest.er1
12993
 
  ac_status=$?
12994
 
  grep -v '^ *+' conftest.er1 >conftest.err
12995
 
  rm -f conftest.er1
12996
 
  cat conftest.err >&5
12997
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998
 
  (exit $ac_status); } && {
12999
 
         test -z "$ac_c_werror_flag" ||
13000
 
         test ! -s conftest.err
13001
 
       } && test -s conftest$ac_exeext && {
13002
 
         test "$cross_compiling" = yes ||
13003
 
         $as_test_x conftest$ac_exeext
13004
 
       }; then
 
11627
if ac_fn_c_try_link "$LINENO"; then :
13005
11628
  ac_cv_lib_intl_ngettext=yes
13006
11629
else
13007
 
  $as_echo "$as_me: failed program was:" >&5
13008
 
sed 's/^/| /' conftest.$ac_ext >&5
13009
 
 
13010
 
        ac_cv_lib_intl_ngettext=no
 
11630
  ac_cv_lib_intl_ngettext=no
13011
11631
fi
13012
 
 
13013
 
rm -rf conftest.dSYM
13014
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13015
 
      conftest$ac_exeext conftest.$ac_ext
 
11632
rm -f core conftest.err conftest.$ac_objext \
 
11633
    conftest$ac_exeext conftest.$ac_ext
13016
11634
LIBS=$ac_check_lib_save_LIBS
13017
11635
fi
13018
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
11636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13019
11637
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13020
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
13021
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
11638
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
11639
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13022
11640
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13023
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
11641
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
13024
11642
  $as_echo_n "(cached) " >&6
13025
11643
else
13026
11644
  ac_check_lib_save_LIBS=$LIBS
13027
11645
LIBS="-lintl -liconv $LIBS"
13028
 
cat >conftest.$ac_ext <<_ACEOF
13029
 
/* confdefs.h.  */
13030
 
_ACEOF
13031
 
cat confdefs.h >>conftest.$ac_ext
13032
 
cat >>conftest.$ac_ext <<_ACEOF
 
11646
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033
11647
/* end confdefs.h.  */
13034
11648
 
13035
11649
/* Override any GCC internal prototype to avoid an error.
13047
11661
  return 0;
13048
11662
}
13049
11663
_ACEOF
13050
 
rm -f conftest.$ac_objext conftest$ac_exeext
13051
 
if { (ac_try="$ac_link"
13052
 
case "(($ac_try" in
13053
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13054
 
  *) ac_try_echo=$ac_try;;
13055
 
esac
13056
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13057
 
$as_echo "$ac_try_echo") >&5
13058
 
  (eval "$ac_link") 2>conftest.er1
13059
 
  ac_status=$?
13060
 
  grep -v '^ *+' conftest.er1 >conftest.err
13061
 
  rm -f conftest.er1
13062
 
  cat conftest.err >&5
13063
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064
 
  (exit $ac_status); } && {
13065
 
         test -z "$ac_c_werror_flag" ||
13066
 
         test ! -s conftest.err
13067
 
       } && test -s conftest$ac_exeext && {
13068
 
         test "$cross_compiling" = yes ||
13069
 
         $as_test_x conftest$ac_exeext
13070
 
       }; then
 
11664
if ac_fn_c_try_link "$LINENO"; then :
13071
11665
  ac_cv_lib_intl_dcgettext=yes
13072
11666
else
13073
 
  $as_echo "$as_me: failed program was:" >&5
13074
 
sed 's/^/| /' conftest.$ac_ext >&5
13075
 
 
13076
 
        ac_cv_lib_intl_dcgettext=no
 
11667
  ac_cv_lib_intl_dcgettext=no
13077
11668
fi
13078
 
 
13079
 
rm -rf conftest.dSYM
13080
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13081
 
      conftest$ac_exeext conftest.$ac_ext
 
11669
rm -f core conftest.err conftest.$ac_objext \
 
11670
    conftest$ac_exeext conftest.$ac_ext
13082
11671
LIBS=$ac_check_lib_save_LIBS
13083
11672
fi
13084
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
11673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13085
11674
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13086
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
11675
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
13087
11676
  gt_cv_func_dgettext_libintl=yes
13088
11677
                        libintl_extra_libs=-liconv
13089
11678
else
13105
11694
          glib_save_LIBS="$LIBS"
13106
11695
          LIBS="$LIBS -lintl $libintl_extra_libs"
13107
11696
          unset ac_cv_func_bind_textdomain_codeset
13108
 
 
13109
 
for ac_func in bind_textdomain_codeset
13110
 
do
13111
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13112
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13113
 
$as_echo_n "checking for $ac_func... " >&6; }
13114
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13115
 
  $as_echo_n "(cached) " >&6
13116
 
else
13117
 
  cat >conftest.$ac_ext <<_ACEOF
13118
 
/* confdefs.h.  */
13119
 
_ACEOF
13120
 
cat confdefs.h >>conftest.$ac_ext
13121
 
cat >>conftest.$ac_ext <<_ACEOF
13122
 
/* end confdefs.h.  */
13123
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13124
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13125
 
#define $ac_func innocuous_$ac_func
13126
 
 
13127
 
/* System header to define __stub macros and hopefully few prototypes,
13128
 
    which can conflict with char $ac_func (); below.
13129
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13130
 
    <limits.h> exists even on freestanding compilers.  */
13131
 
 
13132
 
#ifdef __STDC__
13133
 
# include <limits.h>
13134
 
#else
13135
 
# include <assert.h>
13136
 
#endif
13137
 
 
13138
 
#undef $ac_func
13139
 
 
13140
 
/* Override any GCC internal prototype to avoid an error.
13141
 
   Use char because int might match the return type of a GCC
13142
 
   builtin and then its argument prototype would still apply.  */
13143
 
#ifdef __cplusplus
13144
 
extern "C"
13145
 
#endif
13146
 
char $ac_func ();
13147
 
/* The GNU C library defines this for functions which it implements
13148
 
    to always fail with ENOSYS.  Some functions are actually named
13149
 
    something starting with __ and the normal name is an alias.  */
13150
 
#if defined __stub_$ac_func || defined __stub___$ac_func
13151
 
choke me
13152
 
#endif
13153
 
 
13154
 
int
13155
 
main ()
13156
 
{
13157
 
return $ac_func ();
13158
 
  ;
13159
 
  return 0;
13160
 
}
13161
 
_ACEOF
13162
 
rm -f conftest.$ac_objext conftest$ac_exeext
13163
 
if { (ac_try="$ac_link"
13164
 
case "(($ac_try" in
13165
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13166
 
  *) ac_try_echo=$ac_try;;
13167
 
esac
13168
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13169
 
$as_echo "$ac_try_echo") >&5
13170
 
  (eval "$ac_link") 2>conftest.er1
13171
 
  ac_status=$?
13172
 
  grep -v '^ *+' conftest.er1 >conftest.err
13173
 
  rm -f conftest.er1
13174
 
  cat conftest.err >&5
13175
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176
 
  (exit $ac_status); } && {
13177
 
         test -z "$ac_c_werror_flag" ||
13178
 
         test ! -s conftest.err
13179
 
       } && test -s conftest$ac_exeext && {
13180
 
         test "$cross_compiling" = yes ||
13181
 
         $as_test_x conftest$ac_exeext
13182
 
       }; then
13183
 
  eval "$as_ac_var=yes"
13184
 
else
13185
 
  $as_echo "$as_me: failed program was:" >&5
13186
 
sed 's/^/| /' conftest.$ac_ext >&5
13187
 
 
13188
 
        eval "$as_ac_var=no"
13189
 
fi
13190
 
 
13191
 
rm -rf conftest.dSYM
13192
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13193
 
      conftest$ac_exeext conftest.$ac_ext
13194
 
fi
13195
 
ac_res=`eval 'as_val=${'$as_ac_var'}
13196
 
                 $as_echo "$as_val"'`
13197
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13198
 
$as_echo "$ac_res" >&6; }
13199
 
as_val=`eval 'as_val=${'$as_ac_var'}
13200
 
                 $as_echo "$as_val"'`
13201
 
   if test "x$as_val" = x""yes; then
 
11697
          for ac_func in bind_textdomain_codeset
 
11698
do :
 
11699
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11700
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13202
11701
  cat >>confdefs.h <<_ACEOF
13203
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
11702
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13204
11703
_ACEOF
13205
11704
 
13206
11705
fi
13230
11729
 
13231
11730
      if test "$gt_cv_have_gettext" = "yes"; then
13232
11731
 
13233
 
cat >>confdefs.h <<\_ACEOF
13234
 
#define HAVE_GETTEXT 1
13235
 
_ACEOF
 
11732
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13236
11733
 
13237
11734
        # Extract the first word of "msgfmt", so it can be a program name with args.
13238
11735
set dummy msgfmt; ac_word=$2
13239
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13240
11737
$as_echo_n "checking for $ac_word... " >&6; }
13241
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
11738
if test "${ac_cv_path_MSGFMT+set}" = set; then :
13242
11739
  $as_echo_n "(cached) " >&6
13243
11740
else
13244
11741
  case "$MSGFMT" in
13263
11760
fi
13264
11761
MSGFMT="$ac_cv_path_MSGFMT"
13265
11762
if test "$MSGFMT" != "no"; then
13266
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
11763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13267
11764
$as_echo "$MSGFMT" >&6; }
13268
11765
else
13269
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13270
11767
$as_echo "no" >&6; }
13271
11768
fi
13272
11769
        if test "$MSGFMT" != "no"; then
13273
11770
          glib_save_LIBS="$LIBS"
13274
11771
          LIBS="$LIBS $INTLLIBS"
13275
 
 
13276
 
for ac_func in dcgettext
13277
 
do
13278
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13279
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13280
 
$as_echo_n "checking for $ac_func... " >&6; }
13281
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13282
 
  $as_echo_n "(cached) " >&6
13283
 
else
13284
 
  cat >conftest.$ac_ext <<_ACEOF
13285
 
/* confdefs.h.  */
13286
 
_ACEOF
13287
 
cat confdefs.h >>conftest.$ac_ext
13288
 
cat >>conftest.$ac_ext <<_ACEOF
13289
 
/* end confdefs.h.  */
13290
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13291
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13292
 
#define $ac_func innocuous_$ac_func
13293
 
 
13294
 
/* System header to define __stub macros and hopefully few prototypes,
13295
 
    which can conflict with char $ac_func (); below.
13296
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13297
 
    <limits.h> exists even on freestanding compilers.  */
13298
 
 
13299
 
#ifdef __STDC__
13300
 
# include <limits.h>
13301
 
#else
13302
 
# include <assert.h>
13303
 
#endif
13304
 
 
13305
 
#undef $ac_func
13306
 
 
13307
 
/* Override any GCC internal prototype to avoid an error.
13308
 
   Use char because int might match the return type of a GCC
13309
 
   builtin and then its argument prototype would still apply.  */
13310
 
#ifdef __cplusplus
13311
 
extern "C"
13312
 
#endif
13313
 
char $ac_func ();
13314
 
/* The GNU C library defines this for functions which it implements
13315
 
    to always fail with ENOSYS.  Some functions are actually named
13316
 
    something starting with __ and the normal name is an alias.  */
13317
 
#if defined __stub_$ac_func || defined __stub___$ac_func
13318
 
choke me
13319
 
#endif
13320
 
 
13321
 
int
13322
 
main ()
13323
 
{
13324
 
return $ac_func ();
13325
 
  ;
13326
 
  return 0;
13327
 
}
13328
 
_ACEOF
13329
 
rm -f conftest.$ac_objext conftest$ac_exeext
13330
 
if { (ac_try="$ac_link"
13331
 
case "(($ac_try" in
13332
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13333
 
  *) ac_try_echo=$ac_try;;
13334
 
esac
13335
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13336
 
$as_echo "$ac_try_echo") >&5
13337
 
  (eval "$ac_link") 2>conftest.er1
13338
 
  ac_status=$?
13339
 
  grep -v '^ *+' conftest.er1 >conftest.err
13340
 
  rm -f conftest.er1
13341
 
  cat conftest.err >&5
13342
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343
 
  (exit $ac_status); } && {
13344
 
         test -z "$ac_c_werror_flag" ||
13345
 
         test ! -s conftest.err
13346
 
       } && test -s conftest$ac_exeext && {
13347
 
         test "$cross_compiling" = yes ||
13348
 
         $as_test_x conftest$ac_exeext
13349
 
       }; then
13350
 
  eval "$as_ac_var=yes"
13351
 
else
13352
 
  $as_echo "$as_me: failed program was:" >&5
13353
 
sed 's/^/| /' conftest.$ac_ext >&5
13354
 
 
13355
 
        eval "$as_ac_var=no"
13356
 
fi
13357
 
 
13358
 
rm -rf conftest.dSYM
13359
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13360
 
      conftest$ac_exeext conftest.$ac_ext
13361
 
fi
13362
 
ac_res=`eval 'as_val=${'$as_ac_var'}
13363
 
                 $as_echo "$as_val"'`
13364
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13365
 
$as_echo "$ac_res" >&6; }
13366
 
as_val=`eval 'as_val=${'$as_ac_var'}
13367
 
                 $as_echo "$as_val"'`
13368
 
   if test "x$as_val" = x""yes; then
 
11772
          for ac_func in dcgettext
 
11773
do :
 
11774
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
11775
if test "x$ac_cv_func_dcgettext" = x""yes; then :
13369
11776
  cat >>confdefs.h <<_ACEOF
13370
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
11777
#define HAVE_DCGETTEXT 1
13371
11778
_ACEOF
13372
11779
 
13373
11780
fi
13374
11781
done
13375
11782
 
13376
11783
          MSGFMT_OPTS=
13377
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
11784
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13378
11785
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13379
11786
          cat >conftest.foo <<_ACEOF
13380
11787
 
13389
11796
"Content-Transfer-Encoding: 8bit\n"
13390
11797
 
13391
11798
_ACEOF
13392
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
11799
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13393
11800
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13394
11801
  ac_status=$?
13395
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396
 
  (exit $ac_status); }; then
13397
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11802
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11803
  test $ac_status = 0; }; then
 
11804
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13398
11805
$as_echo "yes" >&6; }
13399
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
11806
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13400
11807
$as_echo "no" >&6; }
13401
11808
echo "$as_me: failed input was:" >&5
13402
11809
sed 's/^/| /' conftest.foo >&5
13404
11811
 
13405
11812
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
13406
11813
set dummy gmsgfmt; ac_word=$2
13407
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13408
11815
$as_echo_n "checking for $ac_word... " >&6; }
13409
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
11816
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13410
11817
  $as_echo_n "(cached) " >&6
13411
11818
else
13412
11819
  case $GMSGFMT in
13419
11826
do
13420
11827
  IFS=$as_save_IFS
13421
11828
  test -z "$as_dir" && as_dir=.
13422
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11829
    for ac_exec_ext in '' $ac_executable_extensions; do
13423
11830
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13424
11831
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13425
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11832
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13426
11833
    break 2
13427
11834
  fi
13428
11835
done
13429
 
done
 
11836
  done
13430
11837
IFS=$as_save_IFS
13431
11838
 
13432
11839
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13435
11842
fi
13436
11843
GMSGFMT=$ac_cv_path_GMSGFMT
13437
11844
if test -n "$GMSGFMT"; then
13438
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
11845
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13439
11846
$as_echo "$GMSGFMT" >&6; }
13440
11847
else
13441
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11848
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13442
11849
$as_echo "no" >&6; }
13443
11850
fi
13444
11851
 
13445
11852
 
13446
11853
          # Extract the first word of "xgettext", so it can be a program name with args.
13447
11854
set dummy xgettext; ac_word=$2
13448
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13449
11856
$as_echo_n "checking for $ac_word... " >&6; }
13450
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
11857
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13451
11858
  $as_echo_n "(cached) " >&6
13452
11859
else
13453
11860
  case "$XGETTEXT" in
13472
11879
fi
13473
11880
XGETTEXT="$ac_cv_path_XGETTEXT"
13474
11881
if test "$XGETTEXT" != ":"; then
13475
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
11882
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13476
11883
$as_echo "$XGETTEXT" >&6; }
13477
11884
else
13478
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11885
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13479
11886
$as_echo "no" >&6; }
13480
11887
fi
13481
11888
 
13482
 
          cat >conftest.$ac_ext <<_ACEOF
13483
 
/* confdefs.h.  */
13484
 
_ACEOF
13485
 
cat confdefs.h >>conftest.$ac_ext
13486
 
cat >>conftest.$ac_ext <<_ACEOF
 
11889
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13487
11890
/* end confdefs.h.  */
13488
11891
 
13489
11892
int
13495
11898
  return 0;
13496
11899
}
13497
11900
_ACEOF
13498
 
rm -f conftest.$ac_objext conftest$ac_exeext
13499
 
if { (ac_try="$ac_link"
13500
 
case "(($ac_try" in
13501
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13502
 
  *) ac_try_echo=$ac_try;;
13503
 
esac
13504
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13505
 
$as_echo "$ac_try_echo") >&5
13506
 
  (eval "$ac_link") 2>conftest.er1
13507
 
  ac_status=$?
13508
 
  grep -v '^ *+' conftest.er1 >conftest.err
13509
 
  rm -f conftest.er1
13510
 
  cat conftest.err >&5
13511
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512
 
  (exit $ac_status); } && {
13513
 
         test -z "$ac_c_werror_flag" ||
13514
 
         test ! -s conftest.err
13515
 
       } && test -s conftest$ac_exeext && {
13516
 
         test "$cross_compiling" = yes ||
13517
 
         $as_test_x conftest$ac_exeext
13518
 
       }; then
 
11901
if ac_fn_c_try_link "$LINENO"; then :
13519
11902
  CATOBJEXT=.gmo
13520
11903
             DATADIRNAME=share
13521
11904
else
13522
 
  $as_echo "$as_me: failed program was:" >&5
13523
 
sed 's/^/| /' conftest.$ac_ext >&5
13524
 
 
13525
 
        case $host in
 
11905
  case $host in
13526
11906
            *-*-solaris*)
13527
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
13528
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
13529
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
13530
 
  $as_echo_n "(cached) " >&6
13531
 
else
13532
 
  cat >conftest.$ac_ext <<_ACEOF
13533
 
/* confdefs.h.  */
13534
 
_ACEOF
13535
 
cat confdefs.h >>conftest.$ac_ext
13536
 
cat >>conftest.$ac_ext <<_ACEOF
13537
 
/* end confdefs.h.  */
13538
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
13539
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13540
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
13541
 
 
13542
 
/* System header to define __stub macros and hopefully few prototypes,
13543
 
    which can conflict with char bind_textdomain_codeset (); below.
13544
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13545
 
    <limits.h> exists even on freestanding compilers.  */
13546
 
 
13547
 
#ifdef __STDC__
13548
 
# include <limits.h>
13549
 
#else
13550
 
# include <assert.h>
13551
 
#endif
13552
 
 
13553
 
#undef bind_textdomain_codeset
13554
 
 
13555
 
/* Override any GCC internal prototype to avoid an error.
13556
 
   Use char because int might match the return type of a GCC
13557
 
   builtin and then its argument prototype would still apply.  */
13558
 
#ifdef __cplusplus
13559
 
extern "C"
13560
 
#endif
13561
 
char bind_textdomain_codeset ();
13562
 
/* The GNU C library defines this for functions which it implements
13563
 
    to always fail with ENOSYS.  Some functions are actually named
13564
 
    something starting with __ and the normal name is an alias.  */
13565
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
13566
 
choke me
13567
 
#endif
13568
 
 
13569
 
int
13570
 
main ()
13571
 
{
13572
 
return bind_textdomain_codeset ();
13573
 
  ;
13574
 
  return 0;
13575
 
}
13576
 
_ACEOF
13577
 
rm -f conftest.$ac_objext conftest$ac_exeext
13578
 
if { (ac_try="$ac_link"
13579
 
case "(($ac_try" in
13580
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13581
 
  *) ac_try_echo=$ac_try;;
13582
 
esac
13583
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13584
 
$as_echo "$ac_try_echo") >&5
13585
 
  (eval "$ac_link") 2>conftest.er1
13586
 
  ac_status=$?
13587
 
  grep -v '^ *+' conftest.er1 >conftest.err
13588
 
  rm -f conftest.er1
13589
 
  cat conftest.err >&5
13590
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591
 
  (exit $ac_status); } && {
13592
 
         test -z "$ac_c_werror_flag" ||
13593
 
         test ! -s conftest.err
13594
 
       } && test -s conftest$ac_exeext && {
13595
 
         test "$cross_compiling" = yes ||
13596
 
         $as_test_x conftest$ac_exeext
13597
 
       }; then
13598
 
  ac_cv_func_bind_textdomain_codeset=yes
13599
 
else
13600
 
  $as_echo "$as_me: failed program was:" >&5
13601
 
sed 's/^/| /' conftest.$ac_ext >&5
13602
 
 
13603
 
        ac_cv_func_bind_textdomain_codeset=no
13604
 
fi
13605
 
 
13606
 
rm -rf conftest.dSYM
13607
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13608
 
      conftest$ac_exeext conftest.$ac_ext
13609
 
fi
13610
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
13611
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
13612
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
11907
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11908
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13613
11909
  CATOBJEXT=.gmo
13614
11910
               DATADIRNAME=share
13615
11911
else
13624
11920
            ;;
13625
11921
            esac
13626
11922
fi
13627
 
 
13628
 
rm -rf conftest.dSYM
13629
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13630
 
      conftest$ac_exeext conftest.$ac_ext
 
11923
rm -f core conftest.err conftest.$ac_objext \
 
11924
    conftest$ac_exeext conftest.$ac_ext
13631
11925
          LIBS="$glib_save_LIBS"
13632
11926
          INSTOBJEXT=.mo
13633
11927
        else
13641
11935
 
13642
11936
    if test "$gt_cv_have_gettext" = "yes" ; then
13643
11937
 
13644
 
cat >>confdefs.h <<\_ACEOF
13645
 
#define ENABLE_NLS 1
13646
 
_ACEOF
 
11938
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13647
11939
 
13648
11940
    fi
13649
11941
 
13651
11943
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13652
11944
        : ;
13653
11945
      else
13654
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
11946
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13655
11947
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13656
11948
        XGETTEXT=":"
13657
11949
      fi
13684
11976
     if test "x$ALL_LINGUAS" = "x"; then
13685
11977
       LINGUAS=
13686
11978
     else
13687
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
11979
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13688
11980
$as_echo_n "checking for catalogs to be installed... " >&6; }
13689
11981
       NEW_LINGUAS=
13690
11982
       for presentlang in $ALL_LINGUAS; do
13709
12001
         fi
13710
12002
       done
13711
12003
       LINGUAS=$NEW_LINGUAS
13712
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
12004
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13713
12005
$as_echo "$LINGUAS" >&6; }
13714
12006
     fi
13715
12007
 
13746
12038
 
13747
12039
 
13748
12040
    # Check whether --enable-compile-warnings was given.
13749
 
if test "${enable_compile_warnings+set}" = set; then
 
12041
if test "${enable_compile_warnings+set}" = set; then :
13750
12042
  enableval=$enable_compile_warnings;
13751
12043
else
13752
12044
  enable_compile_warnings="maximum"
13777
12069
        for option in -Wno-sign-compare; do
13778
12070
                SAVE_CFLAGS="$CFLAGS"
13779
12071
                CFLAGS="$CFLAGS $option"
13780
 
                { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
 
12072
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13781
12073
$as_echo_n "checking whether gcc understands $option... " >&6; }
13782
 
                cat >conftest.$ac_ext <<_ACEOF
13783
 
/* confdefs.h.  */
13784
 
_ACEOF
13785
 
cat confdefs.h >>conftest.$ac_ext
13786
 
cat >>conftest.$ac_ext <<_ACEOF
 
12074
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13787
12075
/* end confdefs.h.  */
13788
12076
 
13789
12077
int
13794
12082
  return 0;
13795
12083
}
13796
12084
_ACEOF
13797
 
rm -f conftest.$ac_objext
13798
 
if { (ac_try="$ac_compile"
13799
 
case "(($ac_try" in
13800
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13801
 
  *) ac_try_echo=$ac_try;;
13802
 
esac
13803
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13804
 
$as_echo "$ac_try_echo") >&5
13805
 
  (eval "$ac_compile") 2>conftest.er1
13806
 
  ac_status=$?
13807
 
  grep -v '^ *+' conftest.er1 >conftest.err
13808
 
  rm -f conftest.er1
13809
 
  cat conftest.err >&5
13810
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811
 
  (exit $ac_status); } && {
13812
 
         test -z "$ac_c_werror_flag" ||
13813
 
         test ! -s conftest.err
13814
 
       } && test -s conftest.$ac_objext; then
 
12085
if ac_fn_c_try_compile "$LINENO"; then :
13815
12086
  has_option=yes
13816
12087
else
13817
 
  $as_echo "$as_me: failed program was:" >&5
13818
 
sed 's/^/| /' conftest.$ac_ext >&5
13819
 
 
13820
 
        has_option=no
 
12088
  has_option=no
13821
12089
fi
13822
 
 
13823
12090
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13824
12091
                CFLAGS="$SAVE_CFLAGS"
13825
 
                { $as_echo "$as_me:$LINENO: result: $has_option" >&5
 
12092
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13826
12093
$as_echo "$has_option" >&6; }
13827
12094
                if test $has_option = yes; then
13828
12095
                  warning_flags="$warning_flags $option"
13836
12103
        fi
13837
12104
        ;;
13838
12105
    *)
13839
 
        { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
13840
 
$as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
13841
 
   { (exit 1); exit 1; }; }
 
12106
        as_fn_error "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13842
12107
        ;;
13843
12108
    esac
13844
12109
    CFLAGS="$realsave_CFLAGS"
13845
 
    { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
 
12110
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13846
12111
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13847
 
    { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
 
12112
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
13848
12113
$as_echo "$warning_flags" >&6; }
13849
12114
 
13850
12115
    # Check whether --enable-iso-c was given.
13851
 
if test "${enable_iso_c+set}" = set; then
 
12116
if test "${enable_iso_c+set}" = set; then :
13852
12117
  enableval=$enable_iso_c;
13853
12118
else
13854
12119
  enable_iso_c=no
13855
12120
fi
13856
12121
 
13857
12122
 
13858
 
    { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
 
12123
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13859
12124
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13860
12125
    complCFLAGS=
13861
12126
    if test "x$enable_iso_c" != "xno"; then
13870
12135
        esac
13871
12136
        fi
13872
12137
    fi
13873
 
    { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
 
12138
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13874
12139
$as_echo "$complCFLAGS" >&6; }
13875
12140
 
13876
12141
    WARN_CFLAGS="$warning_flags $complCFLAGS"
13877
12142
 
13878
12143
 
13879
12144
 
13880
 
# Check whether --enable-deprecations was given.
13881
 
if test "${enable_deprecations+set}" = set; then
13882
 
  enableval=$enable_deprecations;
 
12145
# Check whether --enable-deprecation_flags was given.
 
12146
if test "${enable_deprecation_flags+set}" = set; then :
 
12147
  enableval=$enable_deprecation_flags;
13883
12148
else
13884
 
  enable_deprecations=no
 
12149
  enable_deprecation_flags=no
13885
12150
fi
13886
12151
 
13887
12152
 
13888
 
if test "x$enable_deprecations" = "xyes"; then
 
12153
if test "x$enable_deprecation_flags" = "xyes"; then
13889
12154
   DISABLE_DEPRECATED_CFLAGS=$DISABLE_DEPRECATED
13890
12155
 
13891
12156
fi
13899
12164
# pkg-config dependency checks
13900
12165
 
13901
12166
 
 
12167
 
 
12168
 
 
12169
 
 
12170
 
13902
12171
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13903
12172
        if test -n "$ac_tool_prefix"; then
13904
12173
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13905
12174
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13906
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13907
12176
$as_echo_n "checking for $ac_word... " >&6; }
13908
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
12177
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13909
12178
  $as_echo_n "(cached) " >&6
13910
12179
else
13911
12180
  case $PKG_CONFIG in
13918
12187
do
13919
12188
  IFS=$as_save_IFS
13920
12189
  test -z "$as_dir" && as_dir=.
13921
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12190
    for ac_exec_ext in '' $ac_executable_extensions; do
13922
12191
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13923
12192
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13924
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12193
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13925
12194
    break 2
13926
12195
  fi
13927
12196
done
13928
 
done
 
12197
  done
13929
12198
IFS=$as_save_IFS
13930
12199
 
13931
12200
  ;;
13933
12202
fi
13934
12203
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13935
12204
if test -n "$PKG_CONFIG"; then
13936
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
12205
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13937
12206
$as_echo "$PKG_CONFIG" >&6; }
13938
12207
else
13939
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13940
12209
$as_echo "no" >&6; }
13941
12210
fi
13942
12211
 
13946
12215
  ac_pt_PKG_CONFIG=$PKG_CONFIG
13947
12216
  # Extract the first word of "pkg-config", so it can be a program name with args.
13948
12217
set dummy pkg-config; ac_word=$2
13949
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13950
12219
$as_echo_n "checking for $ac_word... " >&6; }
13951
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
12220
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13952
12221
  $as_echo_n "(cached) " >&6
13953
12222
else
13954
12223
  case $ac_pt_PKG_CONFIG in
13961
12230
do
13962
12231
  IFS=$as_save_IFS
13963
12232
  test -z "$as_dir" && as_dir=.
13964
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12233
    for ac_exec_ext in '' $ac_executable_extensions; do
13965
12234
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13966
12235
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13967
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12236
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13968
12237
    break 2
13969
12238
  fi
13970
12239
done
13971
 
done
 
12240
  done
13972
12241
IFS=$as_save_IFS
13973
12242
 
13974
12243
  ;;
13976
12245
fi
13977
12246
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13978
12247
if test -n "$ac_pt_PKG_CONFIG"; then
13979
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
12248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13980
12249
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13981
12250
else
13982
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12251
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13983
12252
$as_echo "no" >&6; }
13984
12253
fi
13985
12254
 
13988
12257
  else
13989
12258
    case $cross_compiling:$ac_tool_warned in
13990
12259
yes:)
13991
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
12260
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13992
12261
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13993
12262
ac_tool_warned=yes ;;
13994
12263
esac
14001
12270
fi
14002
12271
if test -n "$PKG_CONFIG"; then
14003
12272
        _pkg_min_version=0.9.0
14004
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
12273
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14005
12274
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14006
12275
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14007
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12276
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14008
12277
$as_echo "yes" >&6; }
14009
12278
        else
14010
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
12279
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14011
12280
$as_echo "no" >&6; }
14012
12281
                PKG_CONFIG=""
14013
12282
        fi
14014
 
 
14015
12283
fi
14016
12284
 
14017
12285
pkg_failed=no
14018
 
{ $as_echo "$as_me:$LINENO: checking for CUPS_PK" >&5
 
12286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CUPS_PK" >&5
14019
12287
$as_echo_n "checking for CUPS_PK... " >&6; }
14020
12288
 
14021
12289
if test -n "$CUPS_PK_CFLAGS"; then
14022
12290
    pkg_cv_CUPS_PK_CFLAGS="$CUPS_PK_CFLAGS"
14023
12291
 elif test -n "$PKG_CONFIG"; then
14024
12292
    if test -n "$PKG_CONFIG" && \
14025
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED \\
 
12293
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED \\
14026
12294
                           gobject-2.0 \\
14027
12295
                           gthread-2.0 \\
14028
12296
                           dbus-1 >= \$DBUS_REQUIRED \\
14029
12297
                           dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
14030
 
                           polkit-gobject-1 >= \$POLKIT_REQUIRED\"") >&5
 
12298
                           polkit-gobject-1 >= \$POLKIT_REQUIRED\""; } >&5
14031
12299
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED \
14032
12300
                           gobject-2.0 \
14033
12301
                           gthread-2.0 \
14035
12303
                           dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14036
12304
                           polkit-gobject-1 >= $POLKIT_REQUIRED") 2>&5
14037
12305
  ac_status=$?
14038
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039
 
  (exit $ac_status); }; then
 
12306
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12307
  test $ac_status = 0; }; then
14040
12308
  pkg_cv_CUPS_PK_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED \
14041
12309
                           gobject-2.0 \
14042
12310
                           gthread-2.0 \
14053
12321
    pkg_cv_CUPS_PK_LIBS="$CUPS_PK_LIBS"
14054
12322
 elif test -n "$PKG_CONFIG"; then
14055
12323
    if test -n "$PKG_CONFIG" && \
14056
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED \\
 
12324
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED \\
14057
12325
                           gobject-2.0 \\
14058
12326
                           gthread-2.0 \\
14059
12327
                           dbus-1 >= \$DBUS_REQUIRED \\
14060
12328
                           dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
14061
 
                           polkit-gobject-1 >= \$POLKIT_REQUIRED\"") >&5
 
12329
                           polkit-gobject-1 >= \$POLKIT_REQUIRED\""; } >&5
14062
12330
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED \
14063
12331
                           gobject-2.0 \
14064
12332
                           gthread-2.0 \
14066
12334
                           dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14067
12335
                           polkit-gobject-1 >= $POLKIT_REQUIRED") 2>&5
14068
12336
  ac_status=$?
14069
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070
 
  (exit $ac_status); }; then
 
12337
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12338
  test $ac_status = 0; }; then
14071
12339
  pkg_cv_CUPS_PK_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED \
14072
12340
                           gobject-2.0 \
14073
12341
                           gthread-2.0 \
14084
12352
 
14085
12353
 
14086
12354
if test $pkg_failed = yes; then
 
12355
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12356
$as_echo "no" >&6; }
14087
12357
 
14088
12358
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14089
12359
        _pkg_short_errors_supported=yes
14108
12378
        # Put the nasty error message in config.log where it belongs
14109
12379
        echo "$CUPS_PK_PKG_ERRORS" >&5
14110
12380
 
14111
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED \
14112
 
                           gobject-2.0 \
14113
 
                           gthread-2.0 \
14114
 
                           dbus-1 >= $DBUS_REQUIRED \
14115
 
                           dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14116
 
                           polkit-gobject-1 >= $POLKIT_REQUIRED) were not met:
14117
 
 
14118
 
$CUPS_PK_PKG_ERRORS
14119
 
 
14120
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14121
 
installed software in a non-standard prefix.
14122
 
 
14123
 
Alternatively, you may set the environment variables CUPS_PK_CFLAGS
14124
 
and CUPS_PK_LIBS to avoid the need to call pkg-config.
14125
 
See the pkg-config man page for more details.
14126
 
" >&5
14127
 
$as_echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED \
14128
 
                           gobject-2.0 \
14129
 
                           gthread-2.0 \
14130
 
                           dbus-1 >= $DBUS_REQUIRED \
14131
 
                           dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14132
 
                           polkit-gobject-1 >= $POLKIT_REQUIRED) were not met:
14133
 
 
14134
 
$CUPS_PK_PKG_ERRORS
14135
 
 
14136
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14137
 
installed software in a non-standard prefix.
14138
 
 
14139
 
Alternatively, you may set the environment variables CUPS_PK_CFLAGS
14140
 
and CUPS_PK_LIBS to avoid the need to call pkg-config.
14141
 
See the pkg-config man page for more details.
14142
 
" >&2;}
14143
 
   { (exit 1); exit 1; }; }
 
12381
        as_fn_error "Package requirements (glib-2.0 >= $GLIB_REQUIRED \
 
12382
                           gobject-2.0 \
 
12383
                           gthread-2.0 \
 
12384
                           dbus-1 >= $DBUS_REQUIRED \
 
12385
                           dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
 
12386
                           polkit-gobject-1 >= $POLKIT_REQUIRED) were not met:
 
12387
 
 
12388
$CUPS_PK_PKG_ERRORS
 
12389
 
 
12390
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12391
installed software in a non-standard prefix.
 
12392
 
 
12393
Alternatively, you may set the environment variables CUPS_PK_CFLAGS
 
12394
and CUPS_PK_LIBS to avoid the need to call pkg-config.
 
12395
See the pkg-config man page for more details." "$LINENO" 5
14144
12396
elif test $pkg_failed = untried; then
14145
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
12397
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12398
$as_echo "no" >&6; }
 
12399
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14146
12400
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14147
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14148
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14149
 
path to pkg-config.
14150
 
 
14151
 
Alternatively, you may set the environment variables CUPS_PK_CFLAGS
14152
 
and CUPS_PK_LIBS to avoid the need to call pkg-config.
14153
 
See the pkg-config man page for more details.
14154
 
 
14155
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14156
 
See \`config.log' for more details." >&5
14157
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14158
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14159
 
path to pkg-config.
14160
 
 
14161
 
Alternatively, you may set the environment variables CUPS_PK_CFLAGS
14162
 
and CUPS_PK_LIBS to avoid the need to call pkg-config.
14163
 
See the pkg-config man page for more details.
14164
 
 
14165
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14166
 
See \`config.log' for more details." >&2;}
14167
 
   { (exit 1); exit 1; }; }; }
 
12401
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12402
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12403
path to pkg-config.
 
12404
 
 
12405
Alternatively, you may set the environment variables CUPS_PK_CFLAGS
 
12406
and CUPS_PK_LIBS to avoid the need to call pkg-config.
 
12407
See the pkg-config man page for more details.
 
12408
 
 
12409
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12410
See \`config.log' for more details." "$LINENO" 5; }
14168
12411
else
14169
12412
        CUPS_PK_CFLAGS=$pkg_cv_CUPS_PK_CFLAGS
14170
12413
        CUPS_PK_LIBS=$pkg_cv_CUPS_PK_LIBS
14171
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12414
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14172
12415
$as_echo "yes" >&6; }
14173
 
        :
 
12416
 
14174
12417
fi
14175
12418
 
14176
12419
 
14177
12420
 
14178
12421
 
14179
12422
pkg_failed=no
14180
 
{ $as_echo "$as_me:$LINENO: checking for CUPS_PK_GNOME" >&5
 
12423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CUPS_PK_GNOME" >&5
14181
12424
$as_echo_n "checking for CUPS_PK_GNOME... " >&6; }
14182
12425
 
14183
12426
if test -n "$CUPS_PK_GNOME_CFLAGS"; then
14184
12427
    pkg_cv_CUPS_PK_GNOME_CFLAGS="$CUPS_PK_GNOME_CFLAGS"
14185
12428
 elif test -n "$PKG_CONFIG"; then
14186
12429
    if test -n "$PKG_CONFIG" && \
14187
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED \\
 
12430
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED \\
14188
12431
                                 dbus-1 >= \$DBUS_REQUIRED \\
14189
 
                                 dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\"") >&5
 
12432
                                 dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\""; } >&5
14190
12433
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED \
14191
12434
                                 dbus-1 >= $DBUS_REQUIRED \
14192
12435
                                 dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
14193
12436
  ac_status=$?
14194
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195
 
  (exit $ac_status); }; then
 
12437
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12438
  test $ac_status = 0; }; then
14196
12439
  pkg_cv_CUPS_PK_GNOME_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED \
14197
12440
                                 dbus-1 >= $DBUS_REQUIRED \
14198
12441
                                 dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>/dev/null`
14206
12449
    pkg_cv_CUPS_PK_GNOME_LIBS="$CUPS_PK_GNOME_LIBS"
14207
12450
 elif test -n "$PKG_CONFIG"; then
14208
12451
    if test -n "$PKG_CONFIG" && \
14209
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED \\
 
12452
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED \\
14210
12453
                                 dbus-1 >= \$DBUS_REQUIRED \\
14211
 
                                 dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\"") >&5
 
12454
                                 dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\""; } >&5
14212
12455
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED \
14213
12456
                                 dbus-1 >= $DBUS_REQUIRED \
14214
12457
                                 dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
14215
12458
  ac_status=$?
14216
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217
 
  (exit $ac_status); }; then
 
12459
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12460
  test $ac_status = 0; }; then
14218
12461
  pkg_cv_CUPS_PK_GNOME_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED \
14219
12462
                                 dbus-1 >= $DBUS_REQUIRED \
14220
12463
                                 dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>/dev/null`
14228
12471
 
14229
12472
 
14230
12473
if test $pkg_failed = yes; then
 
12474
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12475
$as_echo "no" >&6; }
14231
12476
 
14232
12477
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14233
12478
        _pkg_short_errors_supported=yes
14246
12491
        # Put the nasty error message in config.log where it belongs
14247
12492
        echo "$CUPS_PK_GNOME_PKG_ERRORS" >&5
14248
12493
 
14249
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED \
14250
 
                                 dbus-1 >= $DBUS_REQUIRED \
14251
 
                                 dbus-glib-1 >= $DBUS_GLIB_REQUIRED) were not met:
14252
 
 
14253
 
$CUPS_PK_GNOME_PKG_ERRORS
14254
 
 
14255
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14256
 
installed software in a non-standard prefix.
14257
 
 
14258
 
Alternatively, you may set the environment variables CUPS_PK_GNOME_CFLAGS
14259
 
and CUPS_PK_GNOME_LIBS to avoid the need to call pkg-config.
14260
 
See the pkg-config man page for more details.
14261
 
" >&5
14262
 
$as_echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED \
14263
 
                                 dbus-1 >= $DBUS_REQUIRED \
14264
 
                                 dbus-glib-1 >= $DBUS_GLIB_REQUIRED) were not met:
14265
 
 
14266
 
$CUPS_PK_GNOME_PKG_ERRORS
14267
 
 
14268
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14269
 
installed software in a non-standard prefix.
14270
 
 
14271
 
Alternatively, you may set the environment variables CUPS_PK_GNOME_CFLAGS
14272
 
and CUPS_PK_GNOME_LIBS to avoid the need to call pkg-config.
14273
 
See the pkg-config man page for more details.
14274
 
" >&2;}
14275
 
   { (exit 1); exit 1; }; }
 
12494
        as_fn_error "Package requirements (glib-2.0 >= $GLIB_REQUIRED \
 
12495
                                 dbus-1 >= $DBUS_REQUIRED \
 
12496
                                 dbus-glib-1 >= $DBUS_GLIB_REQUIRED) were not met:
 
12497
 
 
12498
$CUPS_PK_GNOME_PKG_ERRORS
 
12499
 
 
12500
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12501
installed software in a non-standard prefix.
 
12502
 
 
12503
Alternatively, you may set the environment variables CUPS_PK_GNOME_CFLAGS
 
12504
and CUPS_PK_GNOME_LIBS to avoid the need to call pkg-config.
 
12505
See the pkg-config man page for more details." "$LINENO" 5
14276
12506
elif test $pkg_failed = untried; then
14277
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
12507
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12508
$as_echo "no" >&6; }
 
12509
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14278
12510
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14279
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14280
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14281
 
path to pkg-config.
14282
 
 
14283
 
Alternatively, you may set the environment variables CUPS_PK_GNOME_CFLAGS
14284
 
and CUPS_PK_GNOME_LIBS to avoid the need to call pkg-config.
14285
 
See the pkg-config man page for more details.
14286
 
 
14287
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14288
 
See \`config.log' for more details." >&5
14289
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14290
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14291
 
path to pkg-config.
14292
 
 
14293
 
Alternatively, you may set the environment variables CUPS_PK_GNOME_CFLAGS
14294
 
and CUPS_PK_GNOME_LIBS to avoid the need to call pkg-config.
14295
 
See the pkg-config man page for more details.
14296
 
 
14297
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14298
 
See \`config.log' for more details." >&2;}
14299
 
   { (exit 1); exit 1; }; }; }
 
12511
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12512
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12513
path to pkg-config.
 
12514
 
 
12515
Alternatively, you may set the environment variables CUPS_PK_GNOME_CFLAGS
 
12516
and CUPS_PK_GNOME_LIBS to avoid the need to call pkg-config.
 
12517
See the pkg-config man page for more details.
 
12518
 
 
12519
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12520
See \`config.log' for more details." "$LINENO" 5; }
14300
12521
else
14301
12522
        CUPS_PK_GNOME_CFLAGS=$pkg_cv_CUPS_PK_GNOME_CFLAGS
14302
12523
        CUPS_PK_GNOME_LIBS=$pkg_cv_CUPS_PK_GNOME_LIBS
14303
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12524
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14304
12525
$as_echo "yes" >&6; }
14305
 
        :
 
12526
 
14306
12527
fi
14307
12528
 
14308
12529
 
14309
12530
 
14310
12531
# check for cups
14311
 
 
14312
 
 
14313
 
 
14314
12532
for ac_header in cups/cups.h cups/http.h cups/ipp.h
14315
 
do
14316
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14317
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14318
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14319
 
$as_echo_n "checking for $ac_header... " >&6; }
14320
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14321
 
  $as_echo_n "(cached) " >&6
14322
 
fi
14323
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14324
 
                 $as_echo "$as_val"'`
14325
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14326
 
$as_echo "$ac_res" >&6; }
14327
 
else
14328
 
  # Is the header compilable?
14329
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14330
 
$as_echo_n "checking $ac_header usability... " >&6; }
14331
 
cat >conftest.$ac_ext <<_ACEOF
14332
 
/* confdefs.h.  */
14333
 
_ACEOF
14334
 
cat confdefs.h >>conftest.$ac_ext
14335
 
cat >>conftest.$ac_ext <<_ACEOF
14336
 
/* end confdefs.h.  */
14337
 
$ac_includes_default
14338
 
#include <$ac_header>
14339
 
_ACEOF
14340
 
rm -f conftest.$ac_objext
14341
 
if { (ac_try="$ac_compile"
14342
 
case "(($ac_try" in
14343
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14344
 
  *) ac_try_echo=$ac_try;;
14345
 
esac
14346
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14347
 
$as_echo "$ac_try_echo") >&5
14348
 
  (eval "$ac_compile") 2>conftest.er1
14349
 
  ac_status=$?
14350
 
  grep -v '^ *+' conftest.er1 >conftest.err
14351
 
  rm -f conftest.er1
14352
 
  cat conftest.err >&5
14353
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354
 
  (exit $ac_status); } && {
14355
 
         test -z "$ac_c_werror_flag" ||
14356
 
         test ! -s conftest.err
14357
 
       } && test -s conftest.$ac_objext; then
14358
 
  ac_header_compiler=yes
14359
 
else
14360
 
  $as_echo "$as_me: failed program was:" >&5
14361
 
sed 's/^/| /' conftest.$ac_ext >&5
14362
 
 
14363
 
        ac_header_compiler=no
14364
 
fi
14365
 
 
14366
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14367
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14368
 
$as_echo "$ac_header_compiler" >&6; }
14369
 
 
14370
 
# Is the header present?
14371
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14372
 
$as_echo_n "checking $ac_header presence... " >&6; }
14373
 
cat >conftest.$ac_ext <<_ACEOF
14374
 
/* confdefs.h.  */
14375
 
_ACEOF
14376
 
cat confdefs.h >>conftest.$ac_ext
14377
 
cat >>conftest.$ac_ext <<_ACEOF
14378
 
/* end confdefs.h.  */
14379
 
#include <$ac_header>
14380
 
_ACEOF
14381
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14382
 
case "(($ac_try" in
14383
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14384
 
  *) ac_try_echo=$ac_try;;
14385
 
esac
14386
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14387
 
$as_echo "$ac_try_echo") >&5
14388
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14389
 
  ac_status=$?
14390
 
  grep -v '^ *+' conftest.er1 >conftest.err
14391
 
  rm -f conftest.er1
14392
 
  cat conftest.err >&5
14393
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394
 
  (exit $ac_status); } >/dev/null && {
14395
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14396
 
         test ! -s conftest.err
14397
 
       }; then
14398
 
  ac_header_preproc=yes
14399
 
else
14400
 
  $as_echo "$as_me: failed program was:" >&5
14401
 
sed 's/^/| /' conftest.$ac_ext >&5
14402
 
 
14403
 
  ac_header_preproc=no
14404
 
fi
14405
 
 
14406
 
rm -f conftest.err conftest.$ac_ext
14407
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14408
 
$as_echo "$ac_header_preproc" >&6; }
14409
 
 
14410
 
# So?  What about this header?
14411
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14412
 
  yes:no: )
14413
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14414
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14415
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14416
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14417
 
    ac_header_preproc=yes
14418
 
    ;;
14419
 
  no:yes:* )
14420
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14421
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14422
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14423
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14424
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14425
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14426
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14427
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14428
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14429
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14430
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14431
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14432
 
    ( cat <<\_ASBOX
14433
 
## -------------------------------------- ##
14434
 
## Report this to mailto:vuntz@novell.com ##
14435
 
## -------------------------------------- ##
14436
 
_ASBOX
14437
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
14438
 
    ;;
14439
 
esac
14440
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14441
 
$as_echo_n "checking for $ac_header... " >&6; }
14442
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14443
 
  $as_echo_n "(cached) " >&6
14444
 
else
14445
 
  eval "$as_ac_Header=\$ac_header_preproc"
14446
 
fi
14447
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14448
 
                 $as_echo "$as_val"'`
14449
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14450
 
$as_echo "$ac_res" >&6; }
14451
 
 
14452
 
fi
14453
 
as_val=`eval 'as_val=${'$as_ac_Header'}
14454
 
                 $as_echo "$as_val"'`
14455
 
   if test "x$as_val" = x""yes; then
 
12533
do :
 
12534
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12535
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
12536
eval as_val=\$$as_ac_Header
 
12537
   if test "x$as_val" = x""yes; then :
14456
12538
  cat >>confdefs.h <<_ACEOF
14457
12539
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14458
12540
_ACEOF
14493
12575
    case $ac_val in #(
14494
12576
    *${as_nl}*)
14495
12577
      case $ac_var in #(
14496
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
12578
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14497
12579
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14498
12580
      esac
14499
12581
      case $ac_var in #(
14500
12582
      _ | IFS | as_nl) ;; #(
14501
12583
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14502
 
      *) $as_unset $ac_var ;;
 
12584
      *) { eval $ac_var=; unset $ac_var;} ;;
14503
12585
      esac ;;
14504
12586
    esac
14505
12587
  done
14507
12589
  (set) 2>&1 |
14508
12590
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14509
12591
    *${as_nl}ac_space=\ *)
14510
 
      # `set' does not quote correctly, so add quotes (double-quote
14511
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
12592
      # `set' does not quote correctly, so add quotes: double-quote
 
12593
      # substitution turns \\\\ into \\, and sed turns \\ into \.
14512
12594
      sed -n \
14513
12595
        "s/'/'\\\\''/g;
14514
12596
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14531
12613
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14532
12614
  if test -w "$cache_file"; then
14533
12615
    test "x$cache_file" != "x/dev/null" &&
14534
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
12616
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14535
12617
$as_echo "$as_me: updating cache $cache_file" >&6;}
14536
12618
    cat confcache >$cache_file
14537
12619
  else
14538
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
12620
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14539
12621
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14540
12622
  fi
14541
12623
fi
14555
12637
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14556
12638
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14557
12639
  #    will be set to the directory where LIBOBJS objects are built.
14558
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14559
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
12640
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
12641
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14560
12642
done
14561
12643
LIBOBJS=$ac_libobjs
14562
12644
 
14572
12654
fi
14573
12655
 
14574
12656
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14575
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
14576
 
Usually this means the macro was only invoked conditionally." >&5
14577
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
14578
 
Usually this means the macro was only invoked conditionally." >&2;}
14579
 
   { (exit 1); exit 1; }; }
 
12657
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
12658
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14580
12659
fi
14581
12660
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14582
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14583
 
Usually this means the macro was only invoked conditionally." >&5
14584
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
14585
 
Usually this means the macro was only invoked conditionally." >&2;}
14586
 
   { (exit 1); exit 1; }; }
 
12661
  as_fn_error "conditional \"AMDEP\" was never defined.
 
12662
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14587
12663
fi
14588
12664
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14589
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14590
 
Usually this means the macro was only invoked conditionally." >&5
14591
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14592
 
Usually this means the macro was only invoked conditionally." >&2;}
14593
 
   { (exit 1); exit 1; }; }
 
12665
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
12666
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14594
12667
fi
14595
12668
 
14596
12669
  ac_config_commands="$ac_config_commands po/stamp-it"
14601
12674
ac_write_fail=0
14602
12675
ac_clean_files_save=$ac_clean_files
14603
12676
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14604
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
12677
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14605
12678
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14606
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12679
as_write_fail=0
 
12680
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14607
12681
#! $SHELL
14608
12682
# Generated by $as_me.
14609
12683
# Run this file to recreate the current configuration.
14613
12687
debug=false
14614
12688
ac_cs_recheck=false
14615
12689
ac_cs_silent=false
 
12690
 
14616
12691
SHELL=\${CONFIG_SHELL-$SHELL}
14617
 
_ACEOF
14618
 
 
14619
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14620
 
## --------------------- ##
14621
 
## M4sh Initialization.  ##
14622
 
## --------------------- ##
 
12692
export SHELL
 
12693
_ASEOF
 
12694
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
12695
## -------------------- ##
 
12696
## M4sh Initialization. ##
 
12697
## -------------------- ##
14623
12698
 
14624
12699
# Be more Bourne compatible
14625
12700
DUALCASE=1; export DUALCASE # for MKS sh
14626
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
12701
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14627
12702
  emulate sh
14628
12703
  NULLCMD=:
14629
12704
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14631
12706
  alias -g '${1+"$@"}'='"$@"'
14632
12707
  setopt NO_GLOB_SUBST
14633
12708
else
14634
 
  case `(set -o) 2>/dev/null` in
14635
 
  *posix*) set -o posix ;;
 
12709
  case `(set -o) 2>/dev/null` in #(
 
12710
  *posix*) :
 
12711
    set -o posix ;; #(
 
12712
  *) :
 
12713
     ;;
14636
12714
esac
14637
 
 
14638
12715
fi
14639
12716
 
14640
12717
 
14641
 
 
14642
 
 
14643
 
# PATH needs CR
14644
 
# Avoid depending upon Character Ranges.
14645
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14646
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14647
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14648
 
as_cr_digits='0123456789'
14649
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
14650
 
 
14651
12718
as_nl='
14652
12719
'
14653
12720
export as_nl
14655
12722
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14656
12723
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14657
12724
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14658
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
12725
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
12726
# but without wasting forks for bash or zsh.
 
12727
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
12728
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
12729
  as_echo='print -r --'
 
12730
  as_echo_n='print -rn --'
 
12731
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14659
12732
  as_echo='printf %s\n'
14660
12733
  as_echo_n='printf %s'
14661
12734
else
14666
12739
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14667
12740
    as_echo_n_body='eval
14668
12741
      arg=$1;
14669
 
      case $arg in
 
12742
      case $arg in #(
14670
12743
      *"$as_nl"*)
14671
12744
        expr "X$arg" : "X\\(.*\\)$as_nl";
14672
12745
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14689
12762
  }
14690
12763
fi
14691
12764
 
14692
 
# Support unset when possible.
14693
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14694
 
  as_unset=unset
14695
 
else
14696
 
  as_unset=false
14697
 
fi
14698
 
 
14699
12765
 
14700
12766
# IFS
14701
12767
# We need space, tab and new line, in precisely that order.  Quoting is
14705
12771
IFS=" ""        $as_nl"
14706
12772
 
14707
12773
# Find who we are.  Look in the path if we contain no directory separator.
14708
 
case $0 in
 
12774
case $0 in #((
14709
12775
  *[\\/]* ) as_myself=$0 ;;
14710
12776
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14711
12777
for as_dir in $PATH
14712
12778
do
14713
12779
  IFS=$as_save_IFS
14714
12780
  test -z "$as_dir" && as_dir=.
14715
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14716
 
done
 
12781
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
12782
  done
14717
12783
IFS=$as_save_IFS
14718
12784
 
14719
12785
     ;;
14725
12791
fi
14726
12792
if test ! -f "$as_myself"; then
14727
12793
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14728
 
  { (exit 1); exit 1; }
 
12794
  exit 1
14729
12795
fi
14730
12796
 
14731
 
# Work around bugs in pre-3.0 UWIN ksh.
14732
 
for as_var in ENV MAIL MAILPATH
14733
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
12797
# Unset variables that we do not need and which cause bugs (e.g. in
 
12798
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
12799
# suppresses any "Segmentation fault" message there.  '((' could
 
12800
# trigger a bug in pdksh 5.2.14.
 
12801
for as_var in BASH_ENV ENV MAIL MAILPATH
 
12802
do eval test x\${$as_var+set} = xset \
 
12803
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14734
12804
done
14735
12805
PS1='$ '
14736
12806
PS2='> '
14742
12812
LANGUAGE=C
14743
12813
export LANGUAGE
14744
12814
 
14745
 
# Required to use basename.
 
12815
# CDPATH.
 
12816
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
12817
 
 
12818
 
 
12819
# as_fn_error ERROR [LINENO LOG_FD]
 
12820
# ---------------------------------
 
12821
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
12822
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
12823
# script with status $?, using 1 if that was 0.
 
12824
as_fn_error ()
 
12825
{
 
12826
  as_status=$?; test $as_status -eq 0 && as_status=1
 
12827
  if test "$3"; then
 
12828
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
12829
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
12830
  fi
 
12831
  $as_echo "$as_me: error: $1" >&2
 
12832
  as_fn_exit $as_status
 
12833
} # as_fn_error
 
12834
 
 
12835
 
 
12836
# as_fn_set_status STATUS
 
12837
# -----------------------
 
12838
# Set $? to STATUS, without forking.
 
12839
as_fn_set_status ()
 
12840
{
 
12841
  return $1
 
12842
} # as_fn_set_status
 
12843
 
 
12844
# as_fn_exit STATUS
 
12845
# -----------------
 
12846
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
12847
as_fn_exit ()
 
12848
{
 
12849
  set +e
 
12850
  as_fn_set_status $1
 
12851
  exit $1
 
12852
} # as_fn_exit
 
12853
 
 
12854
# as_fn_unset VAR
 
12855
# ---------------
 
12856
# Portably unset VAR.
 
12857
as_fn_unset ()
 
12858
{
 
12859
  { eval $1=; unset $1;}
 
12860
}
 
12861
as_unset=as_fn_unset
 
12862
# as_fn_append VAR VALUE
 
12863
# ----------------------
 
12864
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
12865
# advantage of any shell optimizations that allow amortized linear growth over
 
12866
# repeated appends, instead of the typical quadratic growth present in naive
 
12867
# implementations.
 
12868
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
12869
  eval 'as_fn_append ()
 
12870
  {
 
12871
    eval $1+=\$2
 
12872
  }'
 
12873
else
 
12874
  as_fn_append ()
 
12875
  {
 
12876
    eval $1=\$$1\$2
 
12877
  }
 
12878
fi # as_fn_append
 
12879
 
 
12880
# as_fn_arith ARG...
 
12881
# ------------------
 
12882
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
12883
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
12884
# must be portable across $(()) and expr.
 
12885
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
12886
  eval 'as_fn_arith ()
 
12887
  {
 
12888
    as_val=$(( $* ))
 
12889
  }'
 
12890
else
 
12891
  as_fn_arith ()
 
12892
  {
 
12893
    as_val=`expr "$@" || test $? -eq 1`
 
12894
  }
 
12895
fi # as_fn_arith
 
12896
 
 
12897
 
14746
12898
if expr a : '\(a\)' >/dev/null 2>&1 &&
14747
12899
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14748
12900
  as_expr=expr
14756
12908
  as_basename=false
14757
12909
fi
14758
12910
 
 
12911
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
12912
  as_dirname=dirname
 
12913
else
 
12914
  as_dirname=false
 
12915
fi
14759
12916
 
14760
 
# Name of the executable.
14761
12917
as_me=`$as_basename -- "$0" ||
14762
12918
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14763
12919
         X"$0" : 'X\(//\)$' \| \
14777
12933
          }
14778
12934
          s/.*/./; q'`
14779
12935
 
14780
 
# CDPATH.
14781
 
$as_unset CDPATH
14782
 
 
14783
 
 
14784
 
 
14785
 
  as_lineno_1=$LINENO
14786
 
  as_lineno_2=$LINENO
14787
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
14788
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
14789
 
 
14790
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14791
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
14792
 
  # line-number line after each line using $LINENO; the second 'sed'
14793
 
  # does the real work.  The second script uses 'N' to pair each
14794
 
  # line-number line with the line containing $LINENO, and appends
14795
 
  # trailing '-' during substitution so that $LINENO is not a special
14796
 
  # case at line end.
14797
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14798
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
14799
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
14800
 
  sed -n '
14801
 
    p
14802
 
    /[$]LINENO/=
14803
 
  ' <$as_myself |
14804
 
    sed '
14805
 
      s/[$]LINENO.*/&-/
14806
 
      t lineno
14807
 
      b
14808
 
      :lineno
14809
 
      N
14810
 
      :loop
14811
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14812
 
      t loop
14813
 
      s/-\n.*//
14814
 
    ' >$as_me.lineno &&
14815
 
  chmod +x "$as_me.lineno" ||
14816
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14817
 
   { (exit 1); exit 1; }; }
14818
 
 
14819
 
  # Don't try to exec as it changes $[0], causing all sort of problems
14820
 
  # (the dirname of $[0] is not the place where we might find the
14821
 
  # original and so on.  Autoconf is especially sensitive to this).
14822
 
  . "./$as_me.lineno"
14823
 
  # Exit status is that of the last command.
14824
 
  exit
14825
 
}
14826
 
 
14827
 
 
14828
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14829
 
  as_dirname=dirname
14830
 
else
14831
 
  as_dirname=false
14832
 
fi
 
12936
# Avoid depending upon Character Ranges.
 
12937
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
12938
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
12939
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
12940
as_cr_digits='0123456789'
 
12941
as_cr_alnum=$as_cr_Letters$as_cr_digits
14833
12942
 
14834
12943
ECHO_C= ECHO_N= ECHO_T=
14835
 
case `echo -n x` in
 
12944
case `echo -n x` in #(((((
14836
12945
-n*)
14837
 
  case `echo 'x\c'` in
 
12946
  case `echo 'xy\c'` in
14838
12947
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14839
 
  *)   ECHO_C='\c';;
 
12948
  xy)  ECHO_C='\c';;
 
12949
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
12950
       ECHO_T=' ';;
14840
12951
  esac;;
14841
12952
*)
14842
12953
  ECHO_N='-n';;
14843
12954
esac
14844
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
14845
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14846
 
  as_expr=expr
14847
 
else
14848
 
  as_expr=false
14849
 
fi
14850
12955
 
14851
12956
rm -f conf$$ conf$$.exe conf$$.file
14852
12957
if test -d conf$$.dir; then
14875
12980
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14876
12981
rmdir conf$$.dir 2>/dev/null
14877
12982
 
 
12983
 
 
12984
# as_fn_mkdir_p
 
12985
# -------------
 
12986
# Create "$as_dir" as a directory, including parents if necessary.
 
12987
as_fn_mkdir_p ()
 
12988
{
 
12989
 
 
12990
  case $as_dir in #(
 
12991
  -*) as_dir=./$as_dir;;
 
12992
  esac
 
12993
  test -d "$as_dir" || eval $as_mkdir_p || {
 
12994
    as_dirs=
 
12995
    while :; do
 
12996
      case $as_dir in #(
 
12997
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
12998
      *) as_qdir=$as_dir;;
 
12999
      esac
 
13000
      as_dirs="'$as_qdir' $as_dirs"
 
13001
      as_dir=`$as_dirname -- "$as_dir" ||
 
13002
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13003
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
13004
         X"$as_dir" : 'X\(//\)$' \| \
 
13005
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
13006
$as_echo X"$as_dir" |
 
13007
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13008
            s//\1/
 
13009
            q
 
13010
          }
 
13011
          /^X\(\/\/\)[^/].*/{
 
13012
            s//\1/
 
13013
            q
 
13014
          }
 
13015
          /^X\(\/\/\)$/{
 
13016
            s//\1/
 
13017
            q
 
13018
          }
 
13019
          /^X\(\/\).*/{
 
13020
            s//\1/
 
13021
            q
 
13022
          }
 
13023
          s/.*/./; q'`
 
13024
      test -d "$as_dir" && break
 
13025
    done
 
13026
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
13027
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
13028
 
 
13029
 
 
13030
} # as_fn_mkdir_p
14878
13031
if mkdir -p . 2>/dev/null; then
14879
 
  as_mkdir_p=:
 
13032
  as_mkdir_p='mkdir -p "$as_dir"'
14880
13033
else
14881
13034
  test -d ./-p && rmdir ./-p
14882
13035
  as_mkdir_p=false
14895
13048
      if test -d "$1"; then
14896
13049
        test -d "$1/.";
14897
13050
      else
14898
 
        case $1 in
 
13051
        case $1 in #(
14899
13052
        -*)set "./$1";;
14900
13053
        esac;
14901
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
13054
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14902
13055
        ???[sx]*):;;*)false;;esac;fi
14903
13056
    '\'' sh
14904
13057
  '
14913
13066
 
14914
13067
 
14915
13068
exec 6>&1
 
13069
## ----------------------------------- ##
 
13070
## Main body of $CONFIG_STATUS script. ##
 
13071
## ----------------------------------- ##
 
13072
_ASEOF
 
13073
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14916
13074
 
14917
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
13075
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13076
# Save the log message, to keep $0 and so on meaningful, and to
14918
13077
# report actual input values of CONFIG_FILES etc. instead of their
14919
13078
# values after options handling.
14920
13079
ac_log="
14921
 
This file was extended by cups-pk-helper $as_me 0.1.0, which was
14922
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
13080
This file was extended by cups-pk-helper $as_me 0.1.2, which was
 
13081
generated by GNU Autoconf 2.65.  Invocation command line was
14923
13082
 
14924
13083
  CONFIG_FILES    = $CONFIG_FILES
14925
13084
  CONFIG_HEADERS  = $CONFIG_HEADERS
14951
13110
 
14952
13111
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14953
13112
ac_cs_usage="\
14954
 
\`$as_me' instantiates files from templates according to the
14955
 
current configuration.
 
13113
\`$as_me' instantiates files and other configuration actions
 
13114
from templates according to the current configuration.  Unless the files
 
13115
and actions are specified as TAGs, all are instantiated by default.
14956
13116
 
14957
 
Usage: $0 [OPTION]... [FILE]...
 
13117
Usage: $0 [OPTION]... [TAG]...
14958
13118
 
14959
13119
  -h, --help       print this help, then exit
14960
13120
  -V, --version    print version number and configuration settings, then exit
 
13121
      --config     print configuration, then exit
14961
13122
  -q, --quiet, --silent
14962
13123
                   do not print progress messages
14963
13124
  -d, --debug      don't remove temporary files
14976
13137
Configuration commands:
14977
13138
$config_commands
14978
13139
 
14979
 
Report bugs to <bug-autoconf@gnu.org>."
 
13140
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=cups-pk-helper>."
14980
13141
 
14981
13142
_ACEOF
14982
13143
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13144
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14983
13145
ac_cs_version="\\
14984
 
cups-pk-helper config.status 0.1.0
14985
 
configured by $0, generated by GNU Autoconf 2.63,
14986
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
13146
cups-pk-helper config.status 0.1.2
 
13147
configured by $0, generated by GNU Autoconf 2.65,
 
13148
  with options \\"\$ac_cs_config\\"
14987
13149
 
14988
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
13150
Copyright (C) 2009 Free Software Foundation, Inc.
14989
13151
This config.status script is free software; the Free Software Foundation
14990
13152
gives unlimited permission to copy, distribute and modify it."
14991
13153
 
15021
13183
    ac_cs_recheck=: ;;
15022
13184
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15023
13185
    $as_echo "$ac_cs_version"; exit ;;
 
13186
  --config | --confi | --conf | --con | --co | --c )
 
13187
    $as_echo "$ac_cs_config"; exit ;;
15024
13188
  --debug | --debu | --deb | --de | --d | -d )
15025
13189
    debug=: ;;
15026
13190
  --file | --fil | --fi | --f )
15028
13192
    case $ac_optarg in
15029
13193
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15030
13194
    esac
15031
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
13195
    as_fn_append CONFIG_FILES " '$ac_optarg'"
15032
13196
    ac_need_defaults=false;;
15033
13197
  --header | --heade | --head | --hea )
15034
13198
    $ac_shift
15035
13199
    case $ac_optarg in
15036
13200
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15037
13201
    esac
15038
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
13202
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15039
13203
    ac_need_defaults=false;;
15040
13204
  --he | --h)
15041
13205
    # Conflict between --help and --header
15042
 
    { $as_echo "$as_me: error: ambiguous option: $1
15043
 
Try \`$0 --help' for more information." >&2
15044
 
   { (exit 1); exit 1; }; };;
 
13206
    as_fn_error "ambiguous option: \`$1'
 
13207
Try \`$0 --help' for more information.";;
15045
13208
  --help | --hel | -h )
15046
13209
    $as_echo "$ac_cs_usage"; exit ;;
15047
13210
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15049
13212
    ac_cs_silent=: ;;
15050
13213
 
15051
13214
  # This is an error.
15052
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
15053
 
Try \`$0 --help' for more information." >&2
15054
 
   { (exit 1); exit 1; }; } ;;
 
13215
  -*) as_fn_error "unrecognized option: \`$1'
 
13216
Try \`$0 --help' for more information." ;;
15055
13217
 
15056
 
  *) ac_config_targets="$ac_config_targets $1"
 
13218
  *) as_fn_append ac_config_targets " $1"
15057
13219
     ac_need_defaults=false ;;
15058
13220
 
15059
13221
  esac
15369
13531
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15370
13532
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15371
13533
 
15372
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15373
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15374
 
   { (exit 1); exit 1; }; };;
 
13534
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15375
13535
  esac
15376
13536
done
15377
13537
 
15398
13558
  trap 'exit_status=$?
15399
13559
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15400
13560
' 0
15401
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
13561
  trap 'as_fn_exit 1' 1 2 13 15
15402
13562
}
15403
13563
# Create a (secure) tmp directory for tmp files.
15404
13564
 
15409
13569
{
15410
13570
  tmp=./conf$$-$RANDOM
15411
13571
  (umask 077 && mkdir "$tmp")
15412
 
} ||
15413
 
{
15414
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
15415
 
   { (exit 1); exit 1; }
15416
 
}
 
13572
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15417
13573
 
15418
13574
# Set up the scripts for CONFIG_FILES section.
15419
13575
# No need to generate them if there are no CONFIG_FILES.
15421
13577
if test -n "$CONFIG_FILES"; then
15422
13578
 
15423
13579
 
15424
 
ac_cr='
 
 
b"'"
 
13580
ac_cr=`echo X | tr X '\015'`
 
13581
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
13582
# But we know of no other shell where ac_cr would be empty at this
 
13583
# point, so we can use a bashism as a fallback.
 
13584
if test "x$ac_cr" = x; then
 
13585
  eval ac_cr=\$\'\\r\'
 
13586
fi
15425
13587
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15426
13588
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15427
 
  ac_cs_awk_cr='\\r'
 
13589
  ac_cs_awk_cr='\r'
15428
13590
else
15429
13591
  ac_cs_awk_cr=$ac_cr
15430
13592
fi
15438
13600
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15439
13601
  echo "_ACEOF"
15440
13602
} >conf$$subs.sh ||
15441
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15442
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15443
 
   { (exit 1); exit 1; }; }
 
13603
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15444
13604
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15445
13605
ac_delim='%!_!# '
15446
13606
for ac_last_try in false false false false false :; do
15447
13607
  . ./conf$$subs.sh ||
15448
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15449
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15450
 
   { (exit 1); exit 1; }; }
 
13608
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15451
13609
 
15452
13610
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15453
13611
  if test $ac_delim_n = $ac_delim_num; then
15454
13612
    break
15455
13613
  elif $ac_last_try; then
15456
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15457
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15458
 
   { (exit 1); exit 1; }; }
 
13614
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15459
13615
  else
15460
13616
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15461
13617
  fi
15477
13633
t delim
15478
13634
:nl
15479
13635
h
15480
 
s/\(.\{148\}\).*/\1/
 
13636
s/\(.\{148\}\)..*/\1/
15481
13637
t more1
15482
13638
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15483
13639
p
15491
13647
t nl
15492
13648
:delim
15493
13649
h
15494
 
s/\(.\{148\}\).*/\1/
 
13650
s/\(.\{148\}\)..*/\1/
15495
13651
t more2
15496
13652
s/["\\]/\\&/g; s/^/"/; s/$/"/
15497
13653
p
15544
13700
else
15545
13701
  cat
15546
13702
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15547
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
15548
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
15549
 
   { (exit 1); exit 1; }; }
 
13703
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15550
13704
_ACEOF
15551
13705
 
15552
13706
# VPATH may cause trouble with some makes, so we remove $(srcdir),
15587
13741
  if test -z "$ac_t"; then
15588
13742
    break
15589
13743
  elif $ac_last_try; then
15590
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
15591
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
15592
 
   { (exit 1); exit 1; }; }
 
13744
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15593
13745
  else
15594
13746
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15595
13747
  fi
15674
13826
_ACAWK
15675
13827
_ACEOF
15676
13828
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15677
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
15678
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
15679
 
   { (exit 1); exit 1; }; }
 
13829
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15680
13830
fi # test -n "$CONFIG_HEADERS"
15681
13831
 
15682
13832
 
15689
13839
  esac
15690
13840
  case $ac_mode$ac_tag in
15691
13841
  :[FHL]*:*);;
15692
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
15693
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
15694
 
   { (exit 1); exit 1; }; };;
 
13842
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15695
13843
  :[FH]-) ac_tag=-:-;;
15696
13844
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15697
13845
  esac
15719
13867
           [\\/$]*) false;;
15720
13868
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15721
13869
           esac ||
15722
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15723
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15724
 
   { (exit 1); exit 1; }; };;
 
13870
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15725
13871
      esac
15726
13872
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15727
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
13873
      as_fn_append ac_file_inputs " '$ac_f'"
15728
13874
    done
15729
13875
 
15730
13876
    # Let's still pretend it is `configure' which instantiates (i.e., don't
15735
13881
        `' by configure.'
15736
13882
    if test x"$ac_file" != x-; then
15737
13883
      configure_input="$ac_file.  $configure_input"
15738
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
13884
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15739
13885
$as_echo "$as_me: creating $ac_file" >&6;}
15740
13886
    fi
15741
13887
    # Neutralize special characters interpreted by sed in replacement strings.
15748
13894
 
15749
13895
    case $ac_tag in
15750
13896
    *:-:* | *:-) cat >"$tmp/stdin" \
15751
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15752
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
15753
 
   { (exit 1); exit 1; }; } ;;
 
13897
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15754
13898
    esac
15755
13899
    ;;
15756
13900
  esac
15778
13922
            q
15779
13923
          }
15780
13924
          s/.*/./; q'`
15781
 
  { as_dir="$ac_dir"
15782
 
  case $as_dir in #(
15783
 
  -*) as_dir=./$as_dir;;
15784
 
  esac
15785
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15786
 
    as_dirs=
15787
 
    while :; do
15788
 
      case $as_dir in #(
15789
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15790
 
      *) as_qdir=$as_dir;;
15791
 
      esac
15792
 
      as_dirs="'$as_qdir' $as_dirs"
15793
 
      as_dir=`$as_dirname -- "$as_dir" ||
15794
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15795
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
15796
 
         X"$as_dir" : 'X\(//\)$' \| \
15797
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15798
 
$as_echo X"$as_dir" |
15799
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15800
 
            s//\1/
15801
 
            q
15802
 
          }
15803
 
          /^X\(\/\/\)[^/].*/{
15804
 
            s//\1/
15805
 
            q
15806
 
          }
15807
 
          /^X\(\/\/\)$/{
15808
 
            s//\1/
15809
 
            q
15810
 
          }
15811
 
          /^X\(\/\).*/{
15812
 
            s//\1/
15813
 
            q
15814
 
          }
15815
 
          s/.*/./; q'`
15816
 
      test -d "$as_dir" && break
15817
 
    done
15818
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
15819
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15820
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15821
 
   { (exit 1); exit 1; }; }; }
 
13925
  as_dir="$ac_dir"; as_fn_mkdir_p
15822
13926
  ac_builddir=.
15823
13927
 
15824
13928
case "$ac_dir" in
15875
13979
# If the template does not know about datarootdir, expand it.
15876
13980
# FIXME: This hack should be removed a few years after 2.60.
15877
13981
ac_datarootdir_hack=; ac_datarootdir_seen=
15878
 
 
15879
13982
ac_sed_dataroot='
15880
13983
/datarootdir/ {
15881
13984
  p
15885
13988
/@docdir@/p
15886
13989
/@infodir@/p
15887
13990
/@localedir@/p
15888
 
/@mandir@/p
15889
 
'
 
13991
/@mandir@/p'
15890
13992
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15891
13993
*datarootdir*) ac_datarootdir_seen=yes;;
15892
13994
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15893
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
13995
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15894
13996
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15895
13997
_ACEOF
15896
13998
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15900
14002
  s&@infodir@&$infodir&g
15901
14003
  s&@localedir@&$localedir&g
15902
14004
  s&@mandir@&$mandir&g
15903
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
14005
  s&\\\${datarootdir}&$datarootdir&g' ;;
15904
14006
esac
15905
14007
_ACEOF
15906
14008
 
15929
14031
$ac_datarootdir_hack
15930
14032
"
15931
14033
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15932
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15933
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
15934
 
   { (exit 1); exit 1; }; }
 
14034
  || as_fn_error "could not create $ac_file" "$LINENO" 5
15935
14035
 
15936
14036
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15937
14037
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15938
14038
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15939
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14039
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15940
14040
which seems to be undefined.  Please make sure it is defined." >&5
15941
14041
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15942
14042
which seems to be undefined.  Please make sure it is defined." >&2;}
15946
14046
  -) cat "$tmp/out" && rm -f "$tmp/out";;
15947
14047
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15948
14048
  esac \
15949
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15950
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
15951
 
   { (exit 1); exit 1; }; }
 
14049
  || as_fn_error "could not create $ac_file" "$LINENO" 5
15952
14050
 ;;
15953
14051
  :H)
15954
14052
  #
15959
14057
      $as_echo "/* $configure_input  */" \
15960
14058
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15961
14059
    } >"$tmp/config.h" \
15962
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15963
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
15964
 
   { (exit 1); exit 1; }; }
 
14060
      || as_fn_error "could not create $ac_file" "$LINENO" 5
15965
14061
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15966
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
14062
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15967
14063
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15968
14064
    else
15969
14065
      rm -f "$ac_file"
15970
14066
      mv "$tmp/config.h" "$ac_file" \
15971
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15972
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
15973
 
   { (exit 1); exit 1; }; }
 
14067
        || as_fn_error "could not create $ac_file" "$LINENO" 5
15974
14068
    fi
15975
14069
  else
15976
14070
    $as_echo "/* $configure_input  */" \
15977
14071
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15978
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
15979
 
$as_echo "$as_me: error: could not create -" >&2;}
15980
 
   { (exit 1); exit 1; }; }
 
14072
      || as_fn_error "could not create -" "$LINENO" 5
15981
14073
  fi
15982
14074
# Compute "$ac_file"'s index in $config_headers.
15983
14075
_am_arg="$ac_file"
16015
14107
          s/.*/./; q'`/stamp-h$_am_stamp_count
16016
14108
 ;;
16017
14109
 
16018
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
14110
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16019
14111
$as_echo "$as_me: executing $ac_file commands" >&6;}
16020
14112
 ;;
16021
14113
  esac
16110
14202
            q
16111
14203
          }
16112
14204
          s/.*/./; q'`
16113
 
      { as_dir=$dirpart/$fdir
16114
 
  case $as_dir in #(
16115
 
  -*) as_dir=./$as_dir;;
16116
 
  esac
16117
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16118
 
    as_dirs=
16119
 
    while :; do
16120
 
      case $as_dir in #(
16121
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16122
 
      *) as_qdir=$as_dir;;
16123
 
      esac
16124
 
      as_dirs="'$as_qdir' $as_dirs"
16125
 
      as_dir=`$as_dirname -- "$as_dir" ||
16126
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16127
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
16128
 
         X"$as_dir" : 'X\(//\)$' \| \
16129
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16130
 
$as_echo X"$as_dir" |
16131
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16132
 
            s//\1/
16133
 
            q
16134
 
          }
16135
 
          /^X\(\/\/\)[^/].*/{
16136
 
            s//\1/
16137
 
            q
16138
 
          }
16139
 
          /^X\(\/\/\)$/{
16140
 
            s//\1/
16141
 
            q
16142
 
          }
16143
 
          /^X\(\/\).*/{
16144
 
            s//\1/
16145
 
            q
16146
 
          }
16147
 
          s/.*/./; q'`
16148
 
      test -d "$as_dir" && break
16149
 
    done
16150
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
16151
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16152
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16153
 
   { (exit 1); exit 1; }; }; }
 
14205
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16154
14206
      # echo "creating $dirpart/$file"
16155
14207
      echo '# dummy' > "$dirpart/$file"
16156
14208
    done
16797
14849
      esac ;;
16798
14850
    "po/stamp-it":C)
16799
14851
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16800
 
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
16801
 
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
16802
 
   { (exit 1); exit 1; }; }
 
14852
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16803
14853
    fi
16804
14854
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16805
14855
    >"po/stamp-it.tmp"
16822
14872
done # for ac_tag
16823
14873
 
16824
14874
 
16825
 
{ (exit 0); exit 0; }
 
14875
as_fn_exit 0
16826
14876
_ACEOF
16827
 
chmod +x $CONFIG_STATUS
16828
14877
ac_clean_files=$ac_clean_files_save
16829
14878
 
16830
14879
test $ac_write_fail = 0 ||
16831
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16832
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16833
 
   { (exit 1); exit 1; }; }
 
14880
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16834
14881
 
16835
14882
 
16836
14883
# configure is writing to config.log, and then calls config.status.
16851
14898
  exec 5>>config.log
16852
14899
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16853
14900
  # would make configure fail if this is the last instruction.
16854
 
  $ac_cs_success || { (exit 1); exit 1; }
 
14901
  $ac_cs_success || as_fn_exit $?
16855
14902
fi
16856
14903
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16857
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
14904
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16858
14905
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16859
14906
fi
16860
14907
 
 
14908
 
 
14909
 
 
14910
echo "
 
14911
              cups-pk-helper $VERSION
 
14912
              `echo cups-pk-helper $VERSION | sed "s/./=/g"`
 
14913
 
 
14914
        prefix:                        ${prefix}
 
14915
        exec_prefix:                   ${exec_prefix}
 
14916
        libdir:                        ${libdir}
 
14917
        bindir:                        ${bindir}
 
14918
        sbindir:                       ${sbindir}
 
14919
        sysconfdir:                    ${sysconfdir}
 
14920
        localstatedir:                 ${localstatedir}
 
14921
        datadir:                       ${datadir}
 
14922
        source code location:          ${srcdir}
 
14923
        compiler:                      ${CC}
 
14924
        cflags:                        ${CFLAGS}
 
14925
        Maintainer mode:               ${USE_MAINTAINER_MODE}
 
14926
        Use *_DISABLE_DEPRECATED:      ${enable_deprecation_flags}
 
14927
 
 
14928
"