~ubuntu-branches/ubuntu/trusty/gnome-main-menu/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode, Julian Andres Klode, Josselin Mouette
  • Date: 2011-03-14 19:09:51 UTC
  • mfrom: (1.1.7 upstream) (2.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20110314190951-kfrk4hocrw1pk0ow
Tags: 0.9.16-1
[ Julian Andres Klode ]
* New upstream release:
  - All patches merged upstream (except for default-applications.diff)
  - Correctly links against libxml2 (Closes: #611550)
* default-applications.diff: remove the firefox change (upstream now)

[ Josselin Mouette ]
* Drop type-handling usage. Closes: #587880.
* Bump standards version accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.63 for gnome-main-menu 0.9.14.
 
3
# Generated by GNU Autoconf 2.67 for gnome-main-menu 0.9.16.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
case $0 in #((
100
95
  *[\\/]* ) as_myself=$0 ;;
101
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
97
for as_dir in $PATH
103
98
do
104
99
  IFS=$as_save_IFS
105
100
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
108
103
IFS=$as_save_IFS
109
104
 
110
105
     ;;
116
111
fi
117
112
if test ! -f "$as_myself"; then
118
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
114
  exit 1
120
115
fi
121
116
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
124
done
126
125
PS1='$ '
127
126
PS2='> '
133
132
LANGUAGE=C
134
133
export LANGUAGE
135
134
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
135
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
137
 
175
138
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
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: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu
 
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 STATUS 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=$1; test $as_status -eq 0 && as_status=1
 
371
  if test "$4"; then
 
372
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
373
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
374
  fi
 
375
  $as_echo "$as_me: error: $2" >&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
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
686
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
729
687
# so uname gets run too.
730
688
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
731
689
 
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='gnome-main-menu'
747
704
PACKAGE_TARNAME='gnome-main-menu'
748
 
PACKAGE_VERSION='0.9.14'
749
 
PACKAGE_STRING='gnome-main-menu 0.9.14'
 
705
PACKAGE_VERSION='0.9.16'
 
706
PACKAGE_STRING='gnome-main-menu 0.9.16'
750
707
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu'
 
708
PACKAGE_URL=''
751
709
 
752
710
ac_unique_file="."
753
711
# Factoring default headers for most tests.
814
772
GCONF_SCHEMA_FILE_DIR
815
773
GCONF_SCHEMA_CONFIG_SOURCE
816
774
GCONFTOOL
 
775
NETWORK_LIBS
 
776
NETWORK_CFLAGS
 
777
HAVE_NETWORK_FALSE
 
778
HAVE_NETWORK_TRUE
 
779
NETWORKMANAGER_LIBS
 
780
NETWORKMANAGER_CFLAGS
 
781
MAIN_MENU_LIBS
 
782
MAIN_MENU_CFLAGS
817
783
APPLICATION_BROWSER_LIBS
818
784
APPLICATION_BROWSER_CFLAGS
819
 
MAIN_MENU_LIBS
820
 
MAIN_MENU_CFLAGS
821
 
GLADE_LIBS
822
 
GLADE_CFLAGS
823
785
GLIB_MKENUMS
824
786
GOBJECT_QUERY
825
787
GLIB_GENMARSHAL
826
788
GLIB_LIBS
827
789
GLIB_CFLAGS
 
790
PKG_CONFIG_LIBDIR
 
791
PKG_CONFIG_PATH
828
792
PKG_CONFIG
829
793
MKINSTALLDIRS
830
794
POSUB
970
934
program_transform_name
971
935
prefix
972
936
exec_prefix
 
937
PACKAGE_URL
973
938
PACKAGE_BUGREPORT
974
939
PACKAGE_STRING
975
940
PACKAGE_VERSION
1011
976
CPPFLAGS
1012
977
CPP
1013
978
PKG_CONFIG
1014
 
GLADE_CFLAGS
1015
 
GLADE_LIBS
 
979
PKG_CONFIG_PATH
 
980
PKG_CONFIG_LIBDIR
 
981
APPLICATION_BROWSER_CFLAGS
 
982
APPLICATION_BROWSER_LIBS
1016
983
MAIN_MENU_CFLAGS
1017
984
MAIN_MENU_LIBS
1018
 
APPLICATION_BROWSER_CFLAGS
1019
 
APPLICATION_BROWSER_LIBS
 
985
NETWORKMANAGER_CFLAGS
 
986
NETWORKMANAGER_LIBS
1020
987
NAUTILUS_CFLAGS
1021
988
NAUTILUS_LIBS'
1022
989
 
1081
1048
  fi
1082
1049
 
1083
1050
  case $ac_option in
1084
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1085
 
  *)    ac_optarg=yes ;;
 
1051
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1052
  *=)   ac_optarg= ;;
 
1053
  *)    ac_optarg=yes ;;
1086
1054
  esac
1087
1055
 
1088
1056
  # Accept the important Cygnus configure options, so we can diagnose typos.
1127
1095
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1128
1096
    # Reject names that are not valid shell variable names.
1129
1097
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1131
 
   { (exit 1); exit 1; }; }
 
1098
      as_fn_error $? "invalid feature name: $ac_useropt"
1132
1099
    ac_useropt_orig=$ac_useropt
1133
1100
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134
1101
    case $ac_user_opts in
1154
1121
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1155
1122
    # Reject names that are not valid shell variable names.
1156
1123
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1158
 
   { (exit 1); exit 1; }; }
 
1124
      as_fn_error $? "invalid feature name: $ac_useropt"
1159
1125
    ac_useropt_orig=$ac_useropt
1160
1126
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161
1127
    case $ac_user_opts in
1359
1325
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1360
1326
    # Reject names that are not valid shell variable names.
1361
1327
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1362
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1363
 
   { (exit 1); exit 1; }; }
 
1328
      as_fn_error $? "invalid package name: $ac_useropt"
1364
1329
    ac_useropt_orig=$ac_useropt
1365
1330
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1366
1331
    case $ac_user_opts in
1376
1341
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1377
1342
    # Reject names that are not valid shell variable names.
1378
1343
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1379
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1380
 
   { (exit 1); exit 1; }; }
 
1344
      as_fn_error $? "invalid package name: $ac_useropt"
1381
1345
    ac_useropt_orig=$ac_useropt
1382
1346
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1383
1347
    case $ac_user_opts in
1407
1371
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1408
1372
    x_libraries=$ac_optarg ;;
1409
1373
 
1410
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1411
 
Try \`$0 --help' for more information." >&2
1412
 
   { (exit 1); exit 1; }; }
 
1374
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1375
Try \`$0 --help' for more information"
1413
1376
    ;;
1414
1377
 
1415
1378
  *=*)
1416
1379
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1417
1380
    # Reject names that are not valid shell variable names.
1418
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1419
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1420
 
   { (exit 1); exit 1; }; }
 
1381
    case $ac_envvar in #(
 
1382
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1383
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1384
    esac
1421
1385
    eval $ac_envvar=\$ac_optarg
1422
1386
    export $ac_envvar ;;
1423
1387
 
1434
1398
 
1435
1399
if test -n "$ac_prev"; then
1436
1400
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1437
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1438
 
   { (exit 1); exit 1; }; }
 
1401
  as_fn_error $? "missing argument to $ac_option"
1439
1402
fi
1440
1403
 
1441
1404
if test -n "$ac_unrecognized_opts"; then
1442
1405
  case $enable_option_checking in
1443
1406
    no) ;;
1444
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1445
 
   { (exit 1); exit 1; }; } ;;
 
1407
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1446
1408
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1447
1409
  esac
1448
1410
fi
1465
1427
    [\\/$]* | ?:[\\/]* )  continue;;
1466
1428
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1467
1429
  esac
1468
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1469
 
   { (exit 1); exit 1; }; }
 
1430
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1470
1431
done
1471
1432
 
1472
1433
# There might be people who depend on the old broken behavior: `$host'
1480
1441
if test "x$host_alias" != x; then
1481
1442
  if test "x$build_alias" = x; then
1482
1443
    cross_compiling=maybe
1483
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1484
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1444
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1445
    If a cross compiler is detected then cross compile mode will be used" >&2
1485
1446
  elif test "x$build_alias" != "x$host_alias"; then
1486
1447
    cross_compiling=yes
1487
1448
  fi
1496
1457
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1497
1458
ac_ls_di=`ls -di .` &&
1498
1459
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1499
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1500
 
   { (exit 1); exit 1; }; }
 
1460
  as_fn_error $? "working directory cannot be determined"
1501
1461
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1502
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1503
 
   { (exit 1); exit 1; }; }
 
1462
  as_fn_error $? "pwd does not report name of working directory"
1504
1463
 
1505
1464
 
1506
1465
# Find the source files, if location was not specified.
1539
1498
fi
1540
1499
if test ! -r "$srcdir/$ac_unique_file"; then
1541
1500
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1542
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1543
 
   { (exit 1); exit 1; }; }
 
1501
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1544
1502
fi
1545
1503
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1546
1504
ac_abs_confdir=`(
1547
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1548
 
   { (exit 1); exit 1; }; }
 
1505
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1549
1506
        pwd)`
1550
1507
# When building in place, set srcdir=.
1551
1508
if test "$ac_abs_confdir" = "$ac_pwd"; then
1571
1528
  # Omit some internal or obsolete options to make the list less imposing.
1572
1529
  # This message is too long to be a string in the A/UX 3.1 sh.
1573
1530
  cat <<_ACEOF
1574
 
\`configure' configures gnome-main-menu 0.9.14 to adapt to many kinds of systems.
 
1531
\`configure' configures gnome-main-menu 0.9.16 to adapt to many kinds of systems.
1575
1532
 
1576
1533
Usage: $0 [OPTION]... [VAR=VALUE]...
1577
1534
 
1585
1542
      --help=short        display options specific to this package
1586
1543
      --help=recursive    display the short help of all the included packages
1587
1544
  -V, --version           display version information and exit
1588
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1545
  -q, --quiet, --silent   do not print \`checking ...' messages
1589
1546
      --cache-file=FILE   cache test results in FILE [disabled]
1590
1547
  -C, --config-cache      alias for \`--cache-file=config.cache'
1591
1548
  -n, --no-create         do not create output files
1641
1598
 
1642
1599
if test -n "$ac_init_help"; then
1643
1600
  case $ac_init_help in
1644
 
     short | recursive ) echo "Configuration of gnome-main-menu 0.9.14:";;
 
1601
     short | recursive ) echo "Configuration of gnome-main-menu 0.9.16:";;
1645
1602
   esac
1646
1603
  cat <<\_ACEOF
1647
1604
 
1663
1620
  --disable-libtool-lock  avoid locking (might break parallel builds)
1664
1621
  --disable-nls           do not use Native Language Support
1665
1622
  --disable-glibtest      do not try to compile and run a test GLIB program
1666
 
  --disable-schemas-install     Disable the schemas installation
 
1623
  --disable-schemas-install
 
1624
                          Disable the schemas installation
1667
1625
  --enable-nautilus-extension
1668
1626
                          Enable nautilus extension
1669
 
  --enable-gtk-doc        use gtk-doc to build documentation [default=no]
1670
 
  --enable-gtk-doc-html   build documentation in html format [default=yes]
1671
 
  --enable-gtk-doc-pdf    build documentation in pdf format [default=no]
 
1627
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
 
1628
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
 
1629
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1672
1630
 
1673
1631
Optional Packages:
1674
1632
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1688
1646
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1689
1647
              nonstandard directory <lib dir>
1690
1648
  LIBS        libraries to pass to the linker, e.g. -l<library>
1691
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1649
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1692
1650
              you have headers in a nonstandard directory <include dir>
1693
1651
  CPP         C preprocessor
1694
1652
  PKG_CONFIG  path to pkg-config utility
1695
 
  GLADE_CFLAGS
1696
 
              C compiler flags for GLADE, overriding pkg-config
1697
 
  GLADE_LIBS  linker flags for GLADE, overriding pkg-config
 
1653
  PKG_CONFIG_PATH
 
1654
              directories to add to pkg-config's search path
 
1655
  PKG_CONFIG_LIBDIR
 
1656
              path overriding pkg-config's built-in search path
 
1657
  APPLICATION_BROWSER_CFLAGS
 
1658
              C compiler flags for APPLICATION_BROWSER, overriding pkg-config
 
1659
  APPLICATION_BROWSER_LIBS
 
1660
              linker flags for APPLICATION_BROWSER, overriding pkg-config
1698
1661
  MAIN_MENU_CFLAGS
1699
1662
              C compiler flags for MAIN_MENU, overriding pkg-config
1700
1663
  MAIN_MENU_LIBS
1701
1664
              linker flags for MAIN_MENU, overriding pkg-config
1702
 
  APPLICATION_BROWSER_CFLAGS
1703
 
              C compiler flags for APPLICATION_BROWSER, overriding pkg-config
1704
 
  APPLICATION_BROWSER_LIBS
1705
 
              linker flags for APPLICATION_BROWSER, overriding pkg-config
 
1665
  NETWORKMANAGER_CFLAGS
 
1666
              C compiler flags for NETWORKMANAGER, overriding pkg-config
 
1667
  NETWORKMANAGER_LIBS
 
1668
              linker flags for NETWORKMANAGER, overriding pkg-config
1706
1669
  NAUTILUS_CFLAGS
1707
1670
              C compiler flags for NAUTILUS, overriding pkg-config
1708
1671
  NAUTILUS_LIBS
1774
1737
test -n "$ac_init_help" && exit $ac_status
1775
1738
if $ac_init_version; then
1776
1739
  cat <<\_ACEOF
1777
 
gnome-main-menu configure 0.9.14
1778
 
generated by GNU Autoconf 2.63
 
1740
gnome-main-menu configure 0.9.16
 
1741
generated by GNU Autoconf 2.67
1779
1742
 
1780
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1781
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1743
Copyright (C) 2010 Free Software Foundation, Inc.
1782
1744
This configure script is free software; the Free Software Foundation
1783
1745
gives unlimited permission to copy, distribute and modify it.
1784
1746
_ACEOF
1785
1747
  exit
1786
1748
fi
 
1749
 
 
1750
## ------------------------ ##
 
1751
## Autoconf initialization. ##
 
1752
## ------------------------ ##
 
1753
 
 
1754
# ac_fn_c_try_compile LINENO
 
1755
# --------------------------
 
1756
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1757
ac_fn_c_try_compile ()
 
1758
{
 
1759
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1760
  rm -f conftest.$ac_objext
 
1761
  if { { ac_try="$ac_compile"
 
1762
case "(($ac_try" in
 
1763
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1764
  *) ac_try_echo=$ac_try;;
 
1765
esac
 
1766
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1767
$as_echo "$ac_try_echo"; } >&5
 
1768
  (eval "$ac_compile") 2>conftest.err
 
1769
  ac_status=$?
 
1770
  if test -s conftest.err; then
 
1771
    grep -v '^ *+' conftest.err >conftest.er1
 
1772
    cat conftest.er1 >&5
 
1773
    mv -f conftest.er1 conftest.err
 
1774
  fi
 
1775
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1776
  test $ac_status = 0; } && {
 
1777
         test -z "$ac_c_werror_flag" ||
 
1778
         test ! -s conftest.err
 
1779
       } && test -s conftest.$ac_objext; then :
 
1780
  ac_retval=0
 
1781
else
 
1782
  $as_echo "$as_me: failed program was:" >&5
 
1783
sed 's/^/| /' conftest.$ac_ext >&5
 
1784
 
 
1785
        ac_retval=1
 
1786
fi
 
1787
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1788
  as_fn_set_status $ac_retval
 
1789
 
 
1790
} # ac_fn_c_try_compile
 
1791
 
 
1792
# ac_fn_c_try_link LINENO
 
1793
# -----------------------
 
1794
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1795
ac_fn_c_try_link ()
 
1796
{
 
1797
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1798
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1799
  if { { ac_try="$ac_link"
 
1800
case "(($ac_try" in
 
1801
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1802
  *) ac_try_echo=$ac_try;;
 
1803
esac
 
1804
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1805
$as_echo "$ac_try_echo"; } >&5
 
1806
  (eval "$ac_link") 2>conftest.err
 
1807
  ac_status=$?
 
1808
  if test -s conftest.err; then
 
1809
    grep -v '^ *+' conftest.err >conftest.er1
 
1810
    cat conftest.er1 >&5
 
1811
    mv -f conftest.er1 conftest.err
 
1812
  fi
 
1813
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1814
  test $ac_status = 0; } && {
 
1815
         test -z "$ac_c_werror_flag" ||
 
1816
         test ! -s conftest.err
 
1817
       } && test -s conftest$ac_exeext && {
 
1818
         test "$cross_compiling" = yes ||
 
1819
         $as_test_x conftest$ac_exeext
 
1820
       }; then :
 
1821
  ac_retval=0
 
1822
else
 
1823
  $as_echo "$as_me: failed program was:" >&5
 
1824
sed 's/^/| /' conftest.$ac_ext >&5
 
1825
 
 
1826
        ac_retval=1
 
1827
fi
 
1828
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1829
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1830
  # interfere with the next link command; also delete a directory that is
 
1831
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1832
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1833
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1834
  as_fn_set_status $ac_retval
 
1835
 
 
1836
} # ac_fn_c_try_link
 
1837
 
 
1838
# ac_fn_c_try_cpp LINENO
 
1839
# ----------------------
 
1840
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1841
ac_fn_c_try_cpp ()
 
1842
{
 
1843
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1844
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1845
case "(($ac_try" in
 
1846
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1847
  *) ac_try_echo=$ac_try;;
 
1848
esac
 
1849
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1850
$as_echo "$ac_try_echo"; } >&5
 
1851
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1852
  ac_status=$?
 
1853
  if test -s conftest.err; then
 
1854
    grep -v '^ *+' conftest.err >conftest.er1
 
1855
    cat conftest.er1 >&5
 
1856
    mv -f conftest.er1 conftest.err
 
1857
  fi
 
1858
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1859
  test $ac_status = 0; } > conftest.i && {
 
1860
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1861
         test ! -s conftest.err
 
1862
       }; then :
 
1863
  ac_retval=0
 
1864
else
 
1865
  $as_echo "$as_me: failed program was:" >&5
 
1866
sed 's/^/| /' conftest.$ac_ext >&5
 
1867
 
 
1868
    ac_retval=1
 
1869
fi
 
1870
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1871
  as_fn_set_status $ac_retval
 
1872
 
 
1873
} # ac_fn_c_try_cpp
 
1874
 
 
1875
# ac_fn_c_try_run LINENO
 
1876
# ----------------------
 
1877
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1878
# that executables *can* be run.
 
1879
ac_fn_c_try_run ()
 
1880
{
 
1881
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1882
  if { { ac_try="$ac_link"
 
1883
case "(($ac_try" in
 
1884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1885
  *) ac_try_echo=$ac_try;;
 
1886
esac
 
1887
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1888
$as_echo "$ac_try_echo"; } >&5
 
1889
  (eval "$ac_link") 2>&5
 
1890
  ac_status=$?
 
1891
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1892
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1893
  { { case "(($ac_try" in
 
1894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1895
  *) ac_try_echo=$ac_try;;
 
1896
esac
 
1897
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1898
$as_echo "$ac_try_echo"; } >&5
 
1899
  (eval "$ac_try") 2>&5
 
1900
  ac_status=$?
 
1901
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1902
  test $ac_status = 0; }; }; then :
 
1903
  ac_retval=0
 
1904
else
 
1905
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1906
       $as_echo "$as_me: failed program was:" >&5
 
1907
sed 's/^/| /' conftest.$ac_ext >&5
 
1908
 
 
1909
       ac_retval=$ac_status
 
1910
fi
 
1911
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1912
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1913
  as_fn_set_status $ac_retval
 
1914
 
 
1915
} # ac_fn_c_try_run
 
1916
 
 
1917
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1918
# -------------------------------------------------------
 
1919
# Tests whether HEADER exists and can be compiled using the include files in
 
1920
# INCLUDES, setting the cache variable VAR accordingly.
 
1921
ac_fn_c_check_header_compile ()
 
1922
{
 
1923
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1924
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1925
$as_echo_n "checking for $2... " >&6; }
 
1926
if eval "test \"\${$3+set}\"" = set; then :
 
1927
  $as_echo_n "(cached) " >&6
 
1928
else
 
1929
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1930
/* end confdefs.h.  */
 
1931
$4
 
1932
#include <$2>
 
1933
_ACEOF
 
1934
if ac_fn_c_try_compile "$LINENO"; then :
 
1935
  eval "$3=yes"
 
1936
else
 
1937
  eval "$3=no"
 
1938
fi
 
1939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1940
fi
 
1941
eval ac_res=\$$3
 
1942
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1943
$as_echo "$ac_res" >&6; }
 
1944
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1945
 
 
1946
} # ac_fn_c_check_header_compile
 
1947
 
 
1948
# ac_fn_c_check_func LINENO FUNC VAR
 
1949
# ----------------------------------
 
1950
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1951
ac_fn_c_check_func ()
 
1952
{
 
1953
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1954
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1955
$as_echo_n "checking for $2... " >&6; }
 
1956
if eval "test \"\${$3+set}\"" = set; then :
 
1957
  $as_echo_n "(cached) " >&6
 
1958
else
 
1959
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1960
/* end confdefs.h.  */
 
1961
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1962
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1963
#define $2 innocuous_$2
 
1964
 
 
1965
/* System header to define __stub macros and hopefully few prototypes,
 
1966
    which can conflict with char $2 (); below.
 
1967
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1968
    <limits.h> exists even on freestanding compilers.  */
 
1969
 
 
1970
#ifdef __STDC__
 
1971
# include <limits.h>
 
1972
#else
 
1973
# include <assert.h>
 
1974
#endif
 
1975
 
 
1976
#undef $2
 
1977
 
 
1978
/* Override any GCC internal prototype to avoid an error.
 
1979
   Use char because int might match the return type of a GCC
 
1980
   builtin and then its argument prototype would still apply.  */
 
1981
#ifdef __cplusplus
 
1982
extern "C"
 
1983
#endif
 
1984
char $2 ();
 
1985
/* The GNU C library defines this for functions which it implements
 
1986
    to always fail with ENOSYS.  Some functions are actually named
 
1987
    something starting with __ and the normal name is an alias.  */
 
1988
#if defined __stub_$2 || defined __stub___$2
 
1989
choke me
 
1990
#endif
 
1991
 
 
1992
int
 
1993
main ()
 
1994
{
 
1995
return $2 ();
 
1996
  ;
 
1997
  return 0;
 
1998
}
 
1999
_ACEOF
 
2000
if ac_fn_c_try_link "$LINENO"; then :
 
2001
  eval "$3=yes"
 
2002
else
 
2003
  eval "$3=no"
 
2004
fi
 
2005
rm -f core conftest.err conftest.$ac_objext \
 
2006
    conftest$ac_exeext conftest.$ac_ext
 
2007
fi
 
2008
eval ac_res=\$$3
 
2009
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2010
$as_echo "$ac_res" >&6; }
 
2011
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2012
 
 
2013
} # ac_fn_c_check_func
 
2014
 
 
2015
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2016
# -------------------------------------------------------
 
2017
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2018
# the include files in INCLUDES and setting the cache variable VAR
 
2019
# accordingly.
 
2020
ac_fn_c_check_header_mongrel ()
 
2021
{
 
2022
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2023
  if eval "test \"\${$3+set}\"" = set; then :
 
2024
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2025
$as_echo_n "checking for $2... " >&6; }
 
2026
if eval "test \"\${$3+set}\"" = set; then :
 
2027
  $as_echo_n "(cached) " >&6
 
2028
fi
 
2029
eval ac_res=\$$3
 
2030
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2031
$as_echo "$ac_res" >&6; }
 
2032
else
 
2033
  # Is the header compilable?
 
2034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2035
$as_echo_n "checking $2 usability... " >&6; }
 
2036
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2037
/* end confdefs.h.  */
 
2038
$4
 
2039
#include <$2>
 
2040
_ACEOF
 
2041
if ac_fn_c_try_compile "$LINENO"; then :
 
2042
  ac_header_compiler=yes
 
2043
else
 
2044
  ac_header_compiler=no
 
2045
fi
 
2046
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2048
$as_echo "$ac_header_compiler" >&6; }
 
2049
 
 
2050
# Is the header present?
 
2051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2052
$as_echo_n "checking $2 presence... " >&6; }
 
2053
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2054
/* end confdefs.h.  */
 
2055
#include <$2>
 
2056
_ACEOF
 
2057
if ac_fn_c_try_cpp "$LINENO"; then :
 
2058
  ac_header_preproc=yes
 
2059
else
 
2060
  ac_header_preproc=no
 
2061
fi
 
2062
rm -f conftest.err conftest.i conftest.$ac_ext
 
2063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2064
$as_echo "$ac_header_preproc" >&6; }
 
2065
 
 
2066
# So?  What about this header?
 
2067
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2068
  yes:no: )
 
2069
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2070
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2071
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2072
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2073
    ;;
 
2074
  no:yes:* )
 
2075
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2076
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2077
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2078
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2079
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2080
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2081
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2082
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2083
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2084
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2085
( $as_echo "## ------------------------------------------------------------------------------ ##
 
2086
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu ##
 
2087
## ------------------------------------------------------------------------------ ##"
 
2088
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2089
    ;;
 
2090
esac
 
2091
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2092
$as_echo_n "checking for $2... " >&6; }
 
2093
if eval "test \"\${$3+set}\"" = set; then :
 
2094
  $as_echo_n "(cached) " >&6
 
2095
else
 
2096
  eval "$3=\$ac_header_compiler"
 
2097
fi
 
2098
eval ac_res=\$$3
 
2099
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2100
$as_echo "$ac_res" >&6; }
 
2101
fi
 
2102
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2103
 
 
2104
} # ac_fn_c_check_header_mongrel
1787
2105
cat >config.log <<_ACEOF
1788
2106
This file contains any messages produced by compilers while
1789
2107
running configure, to aid debugging if configure makes a mistake.
1790
2108
 
1791
 
It was created by gnome-main-menu $as_me 0.9.14, which was
1792
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2109
It was created by gnome-main-menu $as_me 0.9.16, which was
 
2110
generated by GNU Autoconf 2.67.  Invocation command line was
1793
2111
 
1794
2112
  $ $0 $@
1795
2113
 
1825
2143
do
1826
2144
  IFS=$as_save_IFS
1827
2145
  test -z "$as_dir" && as_dir=.
1828
 
  $as_echo "PATH: $as_dir"
1829
 
done
 
2146
    $as_echo "PATH: $as_dir"
 
2147
  done
1830
2148
IFS=$as_save_IFS
1831
2149
 
1832
2150
} >&5
1863
2181
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1864
2182
    esac
1865
2183
    case $ac_pass in
1866
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2184
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1867
2185
    2)
1868
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2186
      as_fn_append ac_configure_args1 " '$ac_arg'"
1869
2187
      if test $ac_must_keep_next = true; then
1870
2188
        ac_must_keep_next=false # Got value, back to normal.
1871
2189
      else
1881
2199
          -* ) ac_must_keep_next=true ;;
1882
2200
        esac
1883
2201
      fi
1884
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2202
      as_fn_append ac_configure_args " '$ac_arg'"
1885
2203
      ;;
1886
2204
    esac
1887
2205
  done
1888
2206
done
1889
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1890
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2207
{ ac_configure_args0=; unset ac_configure_args0;}
 
2208
{ ac_configure_args1=; unset ac_configure_args1;}
1891
2209
 
1892
2210
# When interrupted or exit'd, cleanup temporary files, and complete
1893
2211
# config.log.  We remove comments because anyway the quotes in there
1899
2217
  {
1900
2218
    echo
1901
2219
 
1902
 
    cat <<\_ASBOX
1903
 
## ---------------- ##
 
2220
    $as_echo "## ---------------- ##
1904
2221
## Cache variables. ##
1905
 
## ---------------- ##
1906
 
_ASBOX
 
2222
## ---------------- ##"
1907
2223
    echo
1908
2224
    # The following way of writing the cache mishandles newlines in values,
1909
2225
(
1912
2228
    case $ac_val in #(
1913
2229
    *${as_nl}*)
1914
2230
      case $ac_var in #(
1915
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2231
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1916
2232
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1917
2233
      esac
1918
2234
      case $ac_var in #(
1919
2235
      _ | IFS | as_nl) ;; #(
1920
2236
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1921
 
      *) $as_unset $ac_var ;;
 
2237
      *) { eval $ac_var=; unset $ac_var;} ;;
1922
2238
      esac ;;
1923
2239
    esac
1924
2240
  done
1937
2253
)
1938
2254
    echo
1939
2255
 
1940
 
    cat <<\_ASBOX
1941
 
## ----------------- ##
 
2256
    $as_echo "## ----------------- ##
1942
2257
## Output variables. ##
1943
 
## ----------------- ##
1944
 
_ASBOX
 
2258
## ----------------- ##"
1945
2259
    echo
1946
2260
    for ac_var in $ac_subst_vars
1947
2261
    do
1954
2268
    echo
1955
2269
 
1956
2270
    if test -n "$ac_subst_files"; then
1957
 
      cat <<\_ASBOX
1958
 
## ------------------- ##
 
2271
      $as_echo "## ------------------- ##
1959
2272
## File substitutions. ##
1960
 
## ------------------- ##
1961
 
_ASBOX
 
2273
## ------------------- ##"
1962
2274
      echo
1963
2275
      for ac_var in $ac_subst_files
1964
2276
      do
1972
2284
    fi
1973
2285
 
1974
2286
    if test -s confdefs.h; then
1975
 
      cat <<\_ASBOX
1976
 
## ----------- ##
 
2287
      $as_echo "## ----------- ##
1977
2288
## confdefs.h. ##
1978
 
## ----------- ##
1979
 
_ASBOX
 
2289
## ----------- ##"
1980
2290
      echo
1981
2291
      cat confdefs.h
1982
2292
      echo
1990
2300
    exit $exit_status
1991
2301
' 0
1992
2302
for ac_signal in 1 2 13 15; do
1993
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2303
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1994
2304
done
1995
2305
ac_signal=0
1996
2306
 
1997
2307
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1998
2308
rm -f -r conftest* confdefs.h
1999
2309
 
 
2310
$as_echo "/* confdefs.h */" > confdefs.h
 
2311
 
2000
2312
# Predefined preprocessor variables.
2001
2313
 
2002
2314
cat >>confdefs.h <<_ACEOF
2003
2315
#define PACKAGE_NAME "$PACKAGE_NAME"
2004
2316
_ACEOF
2005
2317
 
2006
 
 
2007
2318
cat >>confdefs.h <<_ACEOF
2008
2319
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2009
2320
_ACEOF
2010
2321
 
2011
 
 
2012
2322
cat >>confdefs.h <<_ACEOF
2013
2323
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2014
2324
_ACEOF
2015
2325
 
2016
 
 
2017
2326
cat >>confdefs.h <<_ACEOF
2018
2327
#define PACKAGE_STRING "$PACKAGE_STRING"
2019
2328
_ACEOF
2020
2329
 
2021
 
 
2022
2330
cat >>confdefs.h <<_ACEOF
2023
2331
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2024
2332
_ACEOF
2025
2333
 
 
2334
cat >>confdefs.h <<_ACEOF
 
2335
#define PACKAGE_URL "$PACKAGE_URL"
 
2336
_ACEOF
 
2337
 
2026
2338
 
2027
2339
# Let the site file select an alternate cache file if it wants to.
2028
2340
# Prefer an explicitly selected file to automatically selected ones.
2029
2341
ac_site_file1=NONE
2030
2342
ac_site_file2=NONE
2031
2343
if test -n "$CONFIG_SITE"; then
2032
 
  ac_site_file1=$CONFIG_SITE
 
2344
  # We do not want a PATH search for config.site.
 
2345
  case $CONFIG_SITE in #((
 
2346
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2347
    */*) ac_site_file1=$CONFIG_SITE;;
 
2348
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2349
  esac
2033
2350
elif test "x$prefix" != xNONE; then
2034
2351
  ac_site_file1=$prefix/share/config.site
2035
2352
  ac_site_file2=$prefix/etc/config.site
2040
2357
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2041
2358
do
2042
2359
  test "x$ac_site_file" = xNONE && continue
2043
 
  if test -r "$ac_site_file"; then
2044
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2360
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2361
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2045
2362
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2046
2363
    sed 's/^/| /' "$ac_site_file" >&5
2047
 
    . "$ac_site_file"
 
2364
    . "$ac_site_file" \
 
2365
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2366
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2367
as_fn_error $? "failed to load site script $ac_site_file
 
2368
See \`config.log' for more details" "$LINENO" 5 ; }
2048
2369
  fi
2049
2370
done
2050
2371
 
2051
2372
if test -r "$cache_file"; then
2052
 
  # Some versions of bash will fail to source /dev/null (special
2053
 
  # files actually), so we avoid doing that.
2054
 
  if test -f "$cache_file"; then
2055
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2373
  # Some versions of bash will fail to source /dev/null (special files
 
2374
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2375
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2376
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2056
2377
$as_echo "$as_me: loading cache $cache_file" >&6;}
2057
2378
    case $cache_file in
2058
2379
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2060
2381
    esac
2061
2382
  fi
2062
2383
else
2063
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2384
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2064
2385
$as_echo "$as_me: creating cache $cache_file" >&6;}
2065
2386
  >$cache_file
2066
2387
fi
2075
2396
  eval ac_new_val=\$ac_env_${ac_var}_value
2076
2397
  case $ac_old_set,$ac_new_set in
2077
2398
    set,)
2078
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2399
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2079
2400
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2080
2401
      ac_cache_corrupted=: ;;
2081
2402
    ,set)
2082
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2403
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2083
2404
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2084
2405
      ac_cache_corrupted=: ;;
2085
2406
    ,);;
2089
2410
        ac_old_val_w=`echo x $ac_old_val`
2090
2411
        ac_new_val_w=`echo x $ac_new_val`
2091
2412
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2092
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2413
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2093
2414
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2094
2415
          ac_cache_corrupted=:
2095
2416
        else
2096
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2417
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2097
2418
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2098
2419
          eval $ac_var=\$ac_old_val
2099
2420
        fi
2100
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2421
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2101
2422
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2102
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2423
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2103
2424
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2104
2425
      fi;;
2105
2426
  esac
2111
2432
    esac
2112
2433
    case " $ac_configure_args " in
2113
2434
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2114
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2435
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2115
2436
    esac
2116
2437
  fi
2117
2438
done
2118
2439
if $ac_cache_corrupted; then
2119
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2440
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2120
2441
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2121
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2442
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2122
2443
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2123
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2124
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2125
 
   { (exit 1); exit 1; }; }
 
2444
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2126
2445
fi
2127
 
 
2128
 
 
2129
 
 
2130
 
 
2131
 
 
2132
 
 
2133
 
 
2134
 
 
2135
 
 
2136
 
 
2137
 
 
2138
 
 
2139
 
 
2140
 
 
2141
 
 
2142
 
 
2143
 
 
2144
 
 
2145
 
 
2146
 
 
2147
 
 
2148
 
 
2149
 
 
2150
 
 
 
2446
## -------------------- ##
 
2447
## Main body of script. ##
 
2448
## -------------------- ##
2151
2449
 
2152
2450
ac_ext=c
2153
2451
ac_cpp='$CPP $CPPFLAGS'
2180
2478
  fi
2181
2479
done
2182
2480
if test -z "$ac_aux_dir"; then
2183
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2184
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2185
 
   { (exit 1); exit 1; }; }
 
2481
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2186
2482
fi
2187
2483
 
2188
2484
# These three variables are undocumented and unsupported,
2208
2504
# OS/2's system install, which has a completely different semantic
2209
2505
# ./install, which can be erroneously created by make from ./install.sh.
2210
2506
# Reject install programs that cannot install multiple files.
2211
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2212
2508
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2213
2509
if test -z "$INSTALL"; then
2214
 
if test "${ac_cv_path_install+set}" = set; then
 
2510
if test "${ac_cv_path_install+set}" = set; then :
2215
2511
  $as_echo_n "(cached) " >&6
2216
2512
else
2217
2513
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219
2515
do
2220
2516
  IFS=$as_save_IFS
2221
2517
  test -z "$as_dir" && as_dir=.
2222
 
  # Account for people who put trailing slashes in PATH elements.
2223
 
case $as_dir/ in
2224
 
  ./ | .// | /cC/* | \
 
2518
    # Account for people who put trailing slashes in PATH elements.
 
2519
case $as_dir/ in #((
 
2520
  ./ | .// | /[cC]/* | \
2225
2521
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2226
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2522
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2227
2523
  /usr/ucb/* ) ;;
2228
2524
  *)
2229
2525
    # OSF1 and SCO ODT 3.0 have their own names for install.
2260
2556
    ;;
2261
2557
esac
2262
2558
 
2263
 
done
 
2559
  done
2264
2560
IFS=$as_save_IFS
2265
2561
 
2266
2562
rm -rf conftest.one conftest.two conftest.dir
2276
2572
    INSTALL=$ac_install_sh
2277
2573
  fi
2278
2574
fi
2279
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2280
2576
$as_echo "$INSTALL" >&6; }
2281
2577
 
2282
2578
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2287
2583
 
2288
2584
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2289
2585
 
2290
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2291
2587
$as_echo_n "checking whether build environment is sane... " >&6; }
2292
2588
# Just in case
2293
2589
sleep 1
2298
2594
'
2299
2595
case `pwd` in
2300
2596
  *[\\\"\#\$\&\'\`$am_lf]*)
2301
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2302
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2303
 
   { (exit 1); exit 1; }; };;
 
2597
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2304
2598
esac
2305
2599
case $srcdir in
2306
2600
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2307
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2308
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2309
 
   { (exit 1); exit 1; }; };;
 
2601
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2310
2602
esac
2311
2603
 
2312
2604
# Do `set' in a subshell so we don't clobber the current shell's
2328
2620
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2329
2621
      # broken ls alias from the environment.  This has actually
2330
2622
      # happened.  Such a system could not be considered "sane".
2331
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2332
 
alias in your environment" >&5
2333
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2334
 
alias in your environment" >&2;}
2335
 
   { (exit 1); exit 1; }; }
 
2623
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2624
alias in your environment" "$LINENO" 5
2336
2625
   fi
2337
2626
 
2338
2627
   test "$2" = conftest.file
2341
2630
   # Ok.
2342
2631
   :
2343
2632
else
2344
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2345
 
Check your system clock" >&5
2346
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2347
 
Check your system clock" >&2;}
2348
 
   { (exit 1); exit 1; }; }
 
2633
   as_fn_error $? "newly created file is older than distributed files!
 
2634
Check your system clock" "$LINENO" 5
2349
2635
fi
2350
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2351
2637
$as_echo "yes" >&6; }
2352
2638
test "$program_prefix" != NONE &&
2353
2639
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2375
2661
  am_missing_run="$MISSING --run "
2376
2662
else
2377
2663
  am_missing_run=
2378
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2664
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2379
2665
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2380
2666
fi
2381
2667
 
2396
2682
  if test -n "$ac_tool_prefix"; then
2397
2683
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2398
2684
set dummy ${ac_tool_prefix}strip; ac_word=$2
2399
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2400
2686
$as_echo_n "checking for $ac_word... " >&6; }
2401
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2687
if test "${ac_cv_prog_STRIP+set}" = set; then :
2402
2688
  $as_echo_n "(cached) " >&6
2403
2689
else
2404
2690
  if test -n "$STRIP"; then
2409
2695
do
2410
2696
  IFS=$as_save_IFS
2411
2697
  test -z "$as_dir" && as_dir=.
2412
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2698
    for ac_exec_ext in '' $ac_executable_extensions; do
2413
2699
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2414
2700
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2415
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2701
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2416
2702
    break 2
2417
2703
  fi
2418
2704
done
2419
 
done
 
2705
  done
2420
2706
IFS=$as_save_IFS
2421
2707
 
2422
2708
fi
2423
2709
fi
2424
2710
STRIP=$ac_cv_prog_STRIP
2425
2711
if test -n "$STRIP"; then
2426
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2712
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2427
2713
$as_echo "$STRIP" >&6; }
2428
2714
else
2429
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2715
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2430
2716
$as_echo "no" >&6; }
2431
2717
fi
2432
2718
 
2436
2722
  ac_ct_STRIP=$STRIP
2437
2723
  # Extract the first word of "strip", so it can be a program name with args.
2438
2724
set dummy strip; ac_word=$2
2439
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2440
2726
$as_echo_n "checking for $ac_word... " >&6; }
2441
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2727
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2442
2728
  $as_echo_n "(cached) " >&6
2443
2729
else
2444
2730
  if test -n "$ac_ct_STRIP"; then
2449
2735
do
2450
2736
  IFS=$as_save_IFS
2451
2737
  test -z "$as_dir" && as_dir=.
2452
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2738
    for ac_exec_ext in '' $ac_executable_extensions; do
2453
2739
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2454
2740
    ac_cv_prog_ac_ct_STRIP="strip"
2455
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2741
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2456
2742
    break 2
2457
2743
  fi
2458
2744
done
2459
 
done
 
2745
  done
2460
2746
IFS=$as_save_IFS
2461
2747
 
2462
2748
fi
2463
2749
fi
2464
2750
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2465
2751
if test -n "$ac_ct_STRIP"; then
2466
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2752
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2467
2753
$as_echo "$ac_ct_STRIP" >&6; }
2468
2754
else
2469
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2755
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2470
2756
$as_echo "no" >&6; }
2471
2757
fi
2472
2758
 
2475
2761
  else
2476
2762
    case $cross_compiling:$ac_tool_warned in
2477
2763
yes:)
2478
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2764
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2479
2765
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2480
2766
ac_tool_warned=yes ;;
2481
2767
esac
2488
2774
fi
2489
2775
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2490
2776
 
2491
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2492
2778
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2493
2779
if test -z "$MKDIR_P"; then
2494
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2780
  if test "${ac_cv_path_mkdir+set}" = set; then :
2495
2781
  $as_echo_n "(cached) " >&6
2496
2782
else
2497
2783
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499
2785
do
2500
2786
  IFS=$as_save_IFS
2501
2787
  test -z "$as_dir" && as_dir=.
2502
 
  for ac_prog in mkdir gmkdir; do
 
2788
    for ac_prog in mkdir gmkdir; do
2503
2789
         for ac_exec_ext in '' $ac_executable_extensions; do
2504
2790
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2505
2791
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2511
2797
           esac
2512
2798
         done
2513
2799
       done
2514
 
done
 
2800
  done
2515
2801
IFS=$as_save_IFS
2516
2802
 
2517
2803
fi
2518
2804
 
 
2805
  test -d ./--version && rmdir ./--version
2519
2806
  if test "${ac_cv_path_mkdir+set}" = set; then
2520
2807
    MKDIR_P="$ac_cv_path_mkdir -p"
2521
2808
  else
2523
2810
    # value for MKDIR_P within a source directory, because that will
2524
2811
    # break other packages using the cache if that directory is
2525
2812
    # removed, or if the value is a relative name.
2526
 
    test -d ./--version && rmdir ./--version
2527
2813
    MKDIR_P="$ac_install_sh -d"
2528
2814
  fi
2529
2815
fi
2530
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2531
2817
$as_echo "$MKDIR_P" >&6; }
2532
2818
 
2533
2819
mkdir_p="$MKDIR_P"
2540
2826
do
2541
2827
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2542
2828
set dummy $ac_prog; ac_word=$2
2543
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2544
2830
$as_echo_n "checking for $ac_word... " >&6; }
2545
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2831
if test "${ac_cv_prog_AWK+set}" = set; then :
2546
2832
  $as_echo_n "(cached) " >&6
2547
2833
else
2548
2834
  if test -n "$AWK"; then
2553
2839
do
2554
2840
  IFS=$as_save_IFS
2555
2841
  test -z "$as_dir" && as_dir=.
2556
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2842
    for ac_exec_ext in '' $ac_executable_extensions; do
2557
2843
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2558
2844
    ac_cv_prog_AWK="$ac_prog"
2559
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2845
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560
2846
    break 2
2561
2847
  fi
2562
2848
done
2563
 
done
 
2849
  done
2564
2850
IFS=$as_save_IFS
2565
2851
 
2566
2852
fi
2567
2853
fi
2568
2854
AWK=$ac_cv_prog_AWK
2569
2855
if test -n "$AWK"; then
2570
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2856
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2571
2857
$as_echo "$AWK" >&6; }
2572
2858
else
2573
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2859
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2574
2860
$as_echo "no" >&6; }
2575
2861
fi
2576
2862
 
2578
2864
  test -n "$AWK" && break
2579
2865
done
2580
2866
 
2581
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2582
2868
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2583
2869
set x ${MAKE-make}
2584
2870
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2585
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2871
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2586
2872
  $as_echo_n "(cached) " >&6
2587
2873
else
2588
2874
  cat >conftest.make <<\_ACEOF
2590
2876
all:
2591
2877
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2592
2878
_ACEOF
2593
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2879
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2594
2880
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2595
2881
  *@@@%%%=?*=@@@%%%*)
2596
2882
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2600
2886
rm -f conftest.make
2601
2887
fi
2602
2888
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2603
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2604
2890
$as_echo "yes" >&6; }
2605
2891
  SET_MAKE=
2606
2892
else
2607
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2893
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608
2894
$as_echo "no" >&6; }
2609
2895
  SET_MAKE="MAKE=${MAKE-make}"
2610
2896
fi
2624
2910
  am__isrc=' -I$(srcdir)'
2625
2911
  # test to see if srcdir already configured
2626
2912
  if test -f $srcdir/config.status; then
2627
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2628
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2629
 
   { (exit 1); exit 1; }; }
 
2913
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2630
2914
  fi
2631
2915
fi
2632
2916
 
2642
2926
 
2643
2927
# Define the identity of the package.
2644
2928
 PACKAGE='gnome-main-menu'
2645
 
 VERSION='0.9.14'
 
2929
 VERSION='0.9.16'
2646
2930
 
2647
2931
 
2648
2932
cat >>confdefs.h <<_ACEOF
2677
2961
AMTAR=${AMTAR-"${am_missing_run}tar"}
2678
2962
 
2679
2963
 
2680
 
{ $as_echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
 
2964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2681
2965
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2682
2966
# Loop over all known methods to create a tar archive until one works.
2683
2967
_am_tools='gnutar plaintar pax cpio none'
2750
3034
done
2751
3035
rm -rf conftest.dir
2752
3036
 
2753
 
if test "${am_cv_prog_tar_ustar+set}" = set; then
 
3037
if test "${am_cv_prog_tar_ustar+set}" = set; then :
2754
3038
  $as_echo_n "(cached) " >&6
2755
3039
else
2756
3040
  am_cv_prog_tar_ustar=$_am_tool
2757
3041
fi
2758
3042
 
2759
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
 
3043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2760
3044
$as_echo "$am_cv_prog_tar_ustar" >&6; }
2761
3045
 
2762
3046
 
2764
3048
 
2765
3049
 
2766
3050
 
2767
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
3051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2768
3052
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2769
3053
    # Check whether --enable-maintainer-mode was given.
2770
 
if test "${enable_maintainer_mode+set}" = set; then
 
3054
if test "${enable_maintainer_mode+set}" = set; then :
2771
3055
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2772
3056
else
2773
3057
  USE_MAINTAINER_MODE=no
2774
3058
fi
2775
3059
 
2776
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
3060
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2777
3061
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2778
3062
   if test $USE_MAINTAINER_MODE = yes; then
2779
3063
  MAINTAINER_MODE_TRUE=
2802
3086
.PHONY: am__doit
2803
3087
END
2804
3088
# If we don't find an include directive, just comment out the code.
2805
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2806
3090
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2807
3091
am__include="#"
2808
3092
am__quote=
2830
3114
fi
2831
3115
 
2832
3116
 
2833
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2834
3118
$as_echo "$_am_result" >&6; }
2835
3119
rm -f confinc confmf
2836
3120
 
2837
3121
# Check whether --enable-dependency-tracking was given.
2838
 
if test "${enable_dependency_tracking+set}" = set; then
 
3122
if test "${enable_dependency_tracking+set}" = set; then :
2839
3123
  enableval=$enable_dependency_tracking;
2840
3124
fi
2841
3125
 
2860
3144
if test -n "$ac_tool_prefix"; then
2861
3145
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2862
3146
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2863
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864
3148
$as_echo_n "checking for $ac_word... " >&6; }
2865
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3149
if test "${ac_cv_prog_CC+set}" = set; then :
2866
3150
  $as_echo_n "(cached) " >&6
2867
3151
else
2868
3152
  if test -n "$CC"; then
2873
3157
do
2874
3158
  IFS=$as_save_IFS
2875
3159
  test -z "$as_dir" && as_dir=.
2876
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3160
    for ac_exec_ext in '' $ac_executable_extensions; do
2877
3161
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2878
3162
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2879
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3163
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880
3164
    break 2
2881
3165
  fi
2882
3166
done
2883
 
done
 
3167
  done
2884
3168
IFS=$as_save_IFS
2885
3169
 
2886
3170
fi
2887
3171
fi
2888
3172
CC=$ac_cv_prog_CC
2889
3173
if test -n "$CC"; then
2890
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3174
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2891
3175
$as_echo "$CC" >&6; }
2892
3176
else
2893
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3177
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894
3178
$as_echo "no" >&6; }
2895
3179
fi
2896
3180
 
2900
3184
  ac_ct_CC=$CC
2901
3185
  # Extract the first word of "gcc", so it can be a program name with args.
2902
3186
set dummy gcc; ac_word=$2
2903
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904
3188
$as_echo_n "checking for $ac_word... " >&6; }
2905
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3189
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2906
3190
  $as_echo_n "(cached) " >&6
2907
3191
else
2908
3192
  if test -n "$ac_ct_CC"; then
2913
3197
do
2914
3198
  IFS=$as_save_IFS
2915
3199
  test -z "$as_dir" && as_dir=.
2916
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3200
    for ac_exec_ext in '' $ac_executable_extensions; do
2917
3201
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2918
3202
    ac_cv_prog_ac_ct_CC="gcc"
2919
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3203
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920
3204
    break 2
2921
3205
  fi
2922
3206
done
2923
 
done
 
3207
  done
2924
3208
IFS=$as_save_IFS
2925
3209
 
2926
3210
fi
2927
3211
fi
2928
3212
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2929
3213
if test -n "$ac_ct_CC"; then
2930
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3214
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2931
3215
$as_echo "$ac_ct_CC" >&6; }
2932
3216
else
2933
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3217
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934
3218
$as_echo "no" >&6; }
2935
3219
fi
2936
3220
 
2939
3223
  else
2940
3224
    case $cross_compiling:$ac_tool_warned in
2941
3225
yes:)
2942
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3226
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2943
3227
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2944
3228
ac_tool_warned=yes ;;
2945
3229
esac
2953
3237
          if test -n "$ac_tool_prefix"; then
2954
3238
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2955
3239
set dummy ${ac_tool_prefix}cc; ac_word=$2
2956
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957
3241
$as_echo_n "checking for $ac_word... " >&6; }
2958
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3242
if test "${ac_cv_prog_CC+set}" = set; then :
2959
3243
  $as_echo_n "(cached) " >&6
2960
3244
else
2961
3245
  if test -n "$CC"; then
2966
3250
do
2967
3251
  IFS=$as_save_IFS
2968
3252
  test -z "$as_dir" && as_dir=.
2969
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3253
    for ac_exec_ext in '' $ac_executable_extensions; do
2970
3254
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2971
3255
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2972
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3256
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973
3257
    break 2
2974
3258
  fi
2975
3259
done
2976
 
done
 
3260
  done
2977
3261
IFS=$as_save_IFS
2978
3262
 
2979
3263
fi
2980
3264
fi
2981
3265
CC=$ac_cv_prog_CC
2982
3266
if test -n "$CC"; then
2983
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3267
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2984
3268
$as_echo "$CC" >&6; }
2985
3269
else
2986
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3270
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987
3271
$as_echo "no" >&6; }
2988
3272
fi
2989
3273
 
2993
3277
if test -z "$CC"; then
2994
3278
  # Extract the first word of "cc", so it can be a program name with args.
2995
3279
set dummy cc; ac_word=$2
2996
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997
3281
$as_echo_n "checking for $ac_word... " >&6; }
2998
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3282
if test "${ac_cv_prog_CC+set}" = set; then :
2999
3283
  $as_echo_n "(cached) " >&6
3000
3284
else
3001
3285
  if test -n "$CC"; then
3007
3291
do
3008
3292
  IFS=$as_save_IFS
3009
3293
  test -z "$as_dir" && as_dir=.
3010
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3294
    for ac_exec_ext in '' $ac_executable_extensions; do
3011
3295
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3012
3296
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3013
3297
       ac_prog_rejected=yes
3014
3298
       continue
3015
3299
     fi
3016
3300
    ac_cv_prog_CC="cc"
3017
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3301
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3018
3302
    break 2
3019
3303
  fi
3020
3304
done
3021
 
done
 
3305
  done
3022
3306
IFS=$as_save_IFS
3023
3307
 
3024
3308
if test $ac_prog_rejected = yes; then
3037
3321
fi
3038
3322
CC=$ac_cv_prog_CC
3039
3323
if test -n "$CC"; then
3040
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3041
3325
$as_echo "$CC" >&6; }
3042
3326
else
3043
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3327
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3044
3328
$as_echo "no" >&6; }
3045
3329
fi
3046
3330
 
3052
3336
  do
3053
3337
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3054
3338
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3055
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056
3340
$as_echo_n "checking for $ac_word... " >&6; }
3057
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3341
if test "${ac_cv_prog_CC+set}" = set; then :
3058
3342
  $as_echo_n "(cached) " >&6
3059
3343
else
3060
3344
  if test -n "$CC"; then
3065
3349
do
3066
3350
  IFS=$as_save_IFS
3067
3351
  test -z "$as_dir" && as_dir=.
3068
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3352
    for ac_exec_ext in '' $ac_executable_extensions; do
3069
3353
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3070
3354
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3071
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3355
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072
3356
    break 2
3073
3357
  fi
3074
3358
done
3075
 
done
 
3359
  done
3076
3360
IFS=$as_save_IFS
3077
3361
 
3078
3362
fi
3079
3363
fi
3080
3364
CC=$ac_cv_prog_CC
3081
3365
if test -n "$CC"; then
3082
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3366
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3083
3367
$as_echo "$CC" >&6; }
3084
3368
else
3085
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3369
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086
3370
$as_echo "no" >&6; }
3087
3371
fi
3088
3372
 
3096
3380
do
3097
3381
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3098
3382
set dummy $ac_prog; ac_word=$2
3099
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100
3384
$as_echo_n "checking for $ac_word... " >&6; }
3101
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3385
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3102
3386
  $as_echo_n "(cached) " >&6
3103
3387
else
3104
3388
  if test -n "$ac_ct_CC"; then
3109
3393
do
3110
3394
  IFS=$as_save_IFS
3111
3395
  test -z "$as_dir" && as_dir=.
3112
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3396
    for ac_exec_ext in '' $ac_executable_extensions; do
3113
3397
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3114
3398
    ac_cv_prog_ac_ct_CC="$ac_prog"
3115
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3399
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116
3400
    break 2
3117
3401
  fi
3118
3402
done
3119
 
done
 
3403
  done
3120
3404
IFS=$as_save_IFS
3121
3405
 
3122
3406
fi
3123
3407
fi
3124
3408
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3125
3409
if test -n "$ac_ct_CC"; then
3126
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3127
3411
$as_echo "$ac_ct_CC" >&6; }
3128
3412
else
3129
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3413
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130
3414
$as_echo "no" >&6; }
3131
3415
fi
3132
3416
 
3139
3423
  else
3140
3424
    case $cross_compiling:$ac_tool_warned in
3141
3425
yes:)
3142
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3426
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3143
3427
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3144
3428
ac_tool_warned=yes ;;
3145
3429
esac
3150
3434
fi
3151
3435
 
3152
3436
 
3153
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3437
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3154
3438
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3155
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3156
 
See \`config.log' for more details." >&5
3157
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3158
 
See \`config.log' for more details." >&2;}
3159
 
   { (exit 1); exit 1; }; }; }
 
3439
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3440
See \`config.log' for more details" "$LINENO" 5 ; }
3160
3441
 
3161
3442
# Provide some information about the compiler.
3162
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3443
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3163
3444
set X $ac_compile
3164
3445
ac_compiler=$2
3165
 
{ (ac_try="$ac_compiler --version >&5"
3166
 
case "(($ac_try" in
3167
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168
 
  *) ac_try_echo=$ac_try;;
3169
 
esac
3170
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3171
 
$as_echo "$ac_try_echo") >&5
3172
 
  (eval "$ac_compiler --version >&5") 2>&5
3173
 
  ac_status=$?
3174
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175
 
  (exit $ac_status); }
3176
 
{ (ac_try="$ac_compiler -v >&5"
3177
 
case "(($ac_try" in
3178
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3179
 
  *) ac_try_echo=$ac_try;;
3180
 
esac
3181
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3182
 
$as_echo "$ac_try_echo") >&5
3183
 
  (eval "$ac_compiler -v >&5") 2>&5
3184
 
  ac_status=$?
3185
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186
 
  (exit $ac_status); }
3187
 
{ (ac_try="$ac_compiler -V >&5"
3188
 
case "(($ac_try" in
3189
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190
 
  *) ac_try_echo=$ac_try;;
3191
 
esac
3192
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3193
 
$as_echo "$ac_try_echo") >&5
3194
 
  (eval "$ac_compiler -V >&5") 2>&5
3195
 
  ac_status=$?
3196
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197
 
  (exit $ac_status); }
 
3446
for ac_option in --version -v -V -qversion; do
 
3447
  { { ac_try="$ac_compiler $ac_option >&5"
 
3448
case "(($ac_try" in
 
3449
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3450
  *) ac_try_echo=$ac_try;;
 
3451
esac
 
3452
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3453
$as_echo "$ac_try_echo"; } >&5
 
3454
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3455
  ac_status=$?
 
3456
  if test -s conftest.err; then
 
3457
    sed '10a\
 
3458
... rest of stderr output deleted ...
 
3459
         10q' conftest.err >conftest.er1
 
3460
    cat conftest.er1 >&5
 
3461
  fi
 
3462
  rm -f conftest.er1 conftest.err
 
3463
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3464
  test $ac_status = 0; }
 
3465
done
3198
3466
 
3199
 
cat >conftest.$ac_ext <<_ACEOF
3200
 
/* confdefs.h.  */
3201
 
_ACEOF
3202
 
cat confdefs.h >>conftest.$ac_ext
3203
 
cat >>conftest.$ac_ext <<_ACEOF
 
3467
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3204
3468
/* end confdefs.h.  */
3205
3469
 
3206
3470
int
3216
3480
# Try to create an executable without -o first, disregard a.out.
3217
3481
# It will help us diagnose broken compilers, and finding out an intuition
3218
3482
# of exeext.
3219
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3220
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3484
$as_echo_n "checking whether the C compiler works... " >&6; }
3221
3485
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3222
3486
 
3223
3487
# The possible output files:
3233
3497
done
3234
3498
rm -f $ac_rmfiles
3235
3499
 
3236
 
if { (ac_try="$ac_link_default"
 
3500
if { { ac_try="$ac_link_default"
3237
3501
case "(($ac_try" in
3238
3502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239
3503
  *) ac_try_echo=$ac_try;;
3240
3504
esac
3241
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3242
 
$as_echo "$ac_try_echo") >&5
 
3505
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3506
$as_echo "$ac_try_echo"; } >&5
3243
3507
  (eval "$ac_link_default") 2>&5
3244
3508
  ac_status=$?
3245
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246
 
  (exit $ac_status); }; then
 
3509
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3510
  test $ac_status = 0; }; then :
3247
3511
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3248
3512
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3249
3513
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3260
3524
        # certainly right.
3261
3525
        break;;
3262
3526
    *.* )
3263
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3527
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3264
3528
        then :; else
3265
3529
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3266
3530
        fi
3279
3543
else
3280
3544
  ac_file=''
3281
3545
fi
 
3546
if test -z "$ac_file"; then :
 
3547
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3548
$as_echo "no" >&6; }
 
3549
$as_echo "$as_me: failed program was:" >&5
 
3550
sed 's/^/| /' conftest.$ac_ext >&5
3282
3551
 
3283
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3552
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3553
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3554
as_fn_error 77 "C compiler cannot create executables
 
3555
See \`config.log' for more details" "$LINENO" 5 ; }
 
3556
else
 
3557
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3558
$as_echo "yes" >&6; }
 
3559
fi
 
3560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3561
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3284
3563
$as_echo "$ac_file" >&6; }
3285
 
if test -z "$ac_file"; then
3286
 
  $as_echo "$as_me: failed program was:" >&5
3287
 
sed 's/^/| /' conftest.$ac_ext >&5
3288
 
 
3289
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3290
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3291
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3292
 
See \`config.log' for more details." >&5
3293
 
$as_echo "$as_me: error: C compiler cannot create executables
3294
 
See \`config.log' for more details." >&2;}
3295
 
   { (exit 77); exit 77; }; }; }
3296
 
fi
3297
 
 
3298
3564
ac_exeext=$ac_cv_exeext
3299
3565
 
3300
 
# Check that the compiler produces executables we can run.  If not, either
3301
 
# the compiler is broken, or we cross compile.
3302
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3303
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3304
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3305
 
# If not cross compiling, check that we can run a simple program.
3306
 
if test "$cross_compiling" != yes; then
3307
 
  if { ac_try='./$ac_file'
3308
 
  { (case "(($ac_try" in
3309
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3310
 
  *) ac_try_echo=$ac_try;;
3311
 
esac
3312
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3313
 
$as_echo "$ac_try_echo") >&5
3314
 
  (eval "$ac_try") 2>&5
3315
 
  ac_status=$?
3316
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317
 
  (exit $ac_status); }; }; then
3318
 
    cross_compiling=no
3319
 
  else
3320
 
    if test "$cross_compiling" = maybe; then
3321
 
        cross_compiling=yes
3322
 
    else
3323
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3324
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3325
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3326
 
If you meant to cross compile, use \`--host'.
3327
 
See \`config.log' for more details." >&5
3328
 
$as_echo "$as_me: error: cannot run C compiled programs.
3329
 
If you meant to cross compile, use \`--host'.
3330
 
See \`config.log' for more details." >&2;}
3331
 
   { (exit 1); exit 1; }; }; }
3332
 
    fi
3333
 
  fi
3334
 
fi
3335
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3336
 
$as_echo "yes" >&6; }
3337
 
 
3338
3566
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3339
3567
ac_clean_files=$ac_clean_files_save
3340
 
# Check that the compiler produces executables we can run.  If not, either
3341
 
# the compiler is broken, or we cross compile.
3342
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3343
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3344
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3345
 
$as_echo "$cross_compiling" >&6; }
3346
 
 
3347
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3348
3569
$as_echo_n "checking for suffix of executables... " >&6; }
3349
 
if { (ac_try="$ac_link"
 
3570
if { { ac_try="$ac_link"
3350
3571
case "(($ac_try" in
3351
3572
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3352
3573
  *) ac_try_echo=$ac_try;;
3353
3574
esac
3354
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3355
 
$as_echo "$ac_try_echo") >&5
 
3575
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3576
$as_echo "$ac_try_echo"; } >&5
3356
3577
  (eval "$ac_link") 2>&5
3357
3578
  ac_status=$?
3358
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359
 
  (exit $ac_status); }; then
 
3579
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3580
  test $ac_status = 0; }; then :
3360
3581
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3361
3582
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3362
3583
# work properly (i.e., refer to `conftest.exe'), while it won't with
3371
3592
  esac
3372
3593
done
3373
3594
else
3374
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3595
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375
3596
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3377
 
See \`config.log' for more details." >&5
3378
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3379
 
See \`config.log' for more details." >&2;}
3380
 
   { (exit 1); exit 1; }; }; }
 
3597
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3598
See \`config.log' for more details" "$LINENO" 5 ; }
3381
3599
fi
3382
 
 
3383
 
rm -f conftest$ac_cv_exeext
3384
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3600
rm -f conftest conftest$ac_cv_exeext
 
3601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3385
3602
$as_echo "$ac_cv_exeext" >&6; }
3386
3603
 
3387
3604
rm -f conftest.$ac_ext
3388
3605
EXEEXT=$ac_cv_exeext
3389
3606
ac_exeext=$EXEEXT
3390
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3607
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3608
/* end confdefs.h.  */
 
3609
#include <stdio.h>
 
3610
int
 
3611
main ()
 
3612
{
 
3613
FILE *f = fopen ("conftest.out", "w");
 
3614
 return ferror (f) || fclose (f) != 0;
 
3615
 
 
3616
  ;
 
3617
  return 0;
 
3618
}
 
3619
_ACEOF
 
3620
ac_clean_files="$ac_clean_files conftest.out"
 
3621
# Check that the compiler produces executables we can run.  If not, either
 
3622
# the compiler is broken, or we cross compile.
 
3623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3624
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3625
if test "$cross_compiling" != yes; then
 
3626
  { { ac_try="$ac_link"
 
3627
case "(($ac_try" in
 
3628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3629
  *) ac_try_echo=$ac_try;;
 
3630
esac
 
3631
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3632
$as_echo "$ac_try_echo"; } >&5
 
3633
  (eval "$ac_link") 2>&5
 
3634
  ac_status=$?
 
3635
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3636
  test $ac_status = 0; }
 
3637
  if { ac_try='./conftest$ac_cv_exeext'
 
3638
  { { case "(($ac_try" in
 
3639
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3640
  *) ac_try_echo=$ac_try;;
 
3641
esac
 
3642
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3643
$as_echo "$ac_try_echo"; } >&5
 
3644
  (eval "$ac_try") 2>&5
 
3645
  ac_status=$?
 
3646
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3647
  test $ac_status = 0; }; }; then
 
3648
    cross_compiling=no
 
3649
  else
 
3650
    if test "$cross_compiling" = maybe; then
 
3651
        cross_compiling=yes
 
3652
    else
 
3653
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3654
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3655
as_fn_error $? "cannot run C compiled programs.
 
3656
If you meant to cross compile, use \`--host'.
 
3657
See \`config.log' for more details" "$LINENO" 5 ; }
 
3658
    fi
 
3659
  fi
 
3660
fi
 
3661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3662
$as_echo "$cross_compiling" >&6; }
 
3663
 
 
3664
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3665
ac_clean_files=$ac_clean_files_save
 
3666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3391
3667
$as_echo_n "checking for suffix of object files... " >&6; }
3392
 
if test "${ac_cv_objext+set}" = set; then
 
3668
if test "${ac_cv_objext+set}" = set; then :
3393
3669
  $as_echo_n "(cached) " >&6
3394
3670
else
3395
 
  cat >conftest.$ac_ext <<_ACEOF
3396
 
/* confdefs.h.  */
3397
 
_ACEOF
3398
 
cat confdefs.h >>conftest.$ac_ext
3399
 
cat >>conftest.$ac_ext <<_ACEOF
 
3671
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400
3672
/* end confdefs.h.  */
3401
3673
 
3402
3674
int
3408
3680
}
3409
3681
_ACEOF
3410
3682
rm -f conftest.o conftest.obj
3411
 
if { (ac_try="$ac_compile"
 
3683
if { { ac_try="$ac_compile"
3412
3684
case "(($ac_try" in
3413
3685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414
3686
  *) ac_try_echo=$ac_try;;
3415
3687
esac
3416
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3417
 
$as_echo "$ac_try_echo") >&5
 
3688
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3689
$as_echo "$ac_try_echo"; } >&5
3418
3690
  (eval "$ac_compile") 2>&5
3419
3691
  ac_status=$?
3420
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421
 
  (exit $ac_status); }; then
 
3692
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3693
  test $ac_status = 0; }; then :
3422
3694
  for ac_file in conftest.o conftest.obj conftest.*; do
3423
3695
  test -f "$ac_file" || continue;
3424
3696
  case $ac_file in
3431
3703
  $as_echo "$as_me: failed program was:" >&5
3432
3704
sed 's/^/| /' conftest.$ac_ext >&5
3433
3705
 
3434
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3706
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435
3707
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3437
 
See \`config.log' for more details." >&5
3438
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3439
 
See \`config.log' for more details." >&2;}
3440
 
   { (exit 1); exit 1; }; }; }
 
3708
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3709
See \`config.log' for more details" "$LINENO" 5 ; }
3441
3710
fi
3442
 
 
3443
3711
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3444
3712
fi
3445
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3446
3714
$as_echo "$ac_cv_objext" >&6; }
3447
3715
OBJEXT=$ac_cv_objext
3448
3716
ac_objext=$OBJEXT
3449
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3450
3718
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3451
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3719
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3452
3720
  $as_echo_n "(cached) " >&6
3453
3721
else
3454
 
  cat >conftest.$ac_ext <<_ACEOF
3455
 
/* confdefs.h.  */
3456
 
_ACEOF
3457
 
cat confdefs.h >>conftest.$ac_ext
3458
 
cat >>conftest.$ac_ext <<_ACEOF
 
3722
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459
3723
/* end confdefs.h.  */
3460
3724
 
3461
3725
int
3469
3733
  return 0;
3470
3734
}
3471
3735
_ACEOF
3472
 
rm -f conftest.$ac_objext
3473
 
if { (ac_try="$ac_compile"
3474
 
case "(($ac_try" in
3475
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3476
 
  *) ac_try_echo=$ac_try;;
3477
 
esac
3478
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3479
 
$as_echo "$ac_try_echo") >&5
3480
 
  (eval "$ac_compile") 2>conftest.er1
3481
 
  ac_status=$?
3482
 
  grep -v '^ *+' conftest.er1 >conftest.err
3483
 
  rm -f conftest.er1
3484
 
  cat conftest.err >&5
3485
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486
 
  (exit $ac_status); } && {
3487
 
         test -z "$ac_c_werror_flag" ||
3488
 
         test ! -s conftest.err
3489
 
       } && test -s conftest.$ac_objext; then
 
3736
if ac_fn_c_try_compile "$LINENO"; then :
3490
3737
  ac_compiler_gnu=yes
3491
3738
else
3492
 
  $as_echo "$as_me: failed program was:" >&5
3493
 
sed 's/^/| /' conftest.$ac_ext >&5
3494
 
 
3495
 
        ac_compiler_gnu=no
 
3739
  ac_compiler_gnu=no
3496
3740
fi
3497
 
 
3498
3741
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3499
3742
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3500
3743
 
3501
3744
fi
3502
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3503
3746
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3504
3747
if test $ac_compiler_gnu = yes; then
3505
3748
  GCC=yes
3508
3751
fi
3509
3752
ac_test_CFLAGS=${CFLAGS+set}
3510
3753
ac_save_CFLAGS=$CFLAGS
3511
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3512
3755
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3513
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3756
if test "${ac_cv_prog_cc_g+set}" = set; then :
3514
3757
  $as_echo_n "(cached) " >&6
3515
3758
else
3516
3759
  ac_save_c_werror_flag=$ac_c_werror_flag
3517
3760
   ac_c_werror_flag=yes
3518
3761
   ac_cv_prog_cc_g=no
3519
3762
   CFLAGS="-g"
3520
 
   cat >conftest.$ac_ext <<_ACEOF
3521
 
/* confdefs.h.  */
3522
 
_ACEOF
3523
 
cat confdefs.h >>conftest.$ac_ext
3524
 
cat >>conftest.$ac_ext <<_ACEOF
 
3763
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525
3764
/* end confdefs.h.  */
3526
3765
 
3527
3766
int
3532
3771
  return 0;
3533
3772
}
3534
3773
_ACEOF
3535
 
rm -f conftest.$ac_objext
3536
 
if { (ac_try="$ac_compile"
3537
 
case "(($ac_try" in
3538
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3539
 
  *) ac_try_echo=$ac_try;;
3540
 
esac
3541
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3542
 
$as_echo "$ac_try_echo") >&5
3543
 
  (eval "$ac_compile") 2>conftest.er1
3544
 
  ac_status=$?
3545
 
  grep -v '^ *+' conftest.er1 >conftest.err
3546
 
  rm -f conftest.er1
3547
 
  cat conftest.err >&5
3548
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549
 
  (exit $ac_status); } && {
3550
 
         test -z "$ac_c_werror_flag" ||
3551
 
         test ! -s conftest.err
3552
 
       } && test -s conftest.$ac_objext; then
 
3774
if ac_fn_c_try_compile "$LINENO"; then :
3553
3775
  ac_cv_prog_cc_g=yes
3554
3776
else
3555
 
  $as_echo "$as_me: failed program was:" >&5
3556
 
sed 's/^/| /' conftest.$ac_ext >&5
3557
 
 
3558
 
        CFLAGS=""
3559
 
      cat >conftest.$ac_ext <<_ACEOF
3560
 
/* confdefs.h.  */
3561
 
_ACEOF
3562
 
cat confdefs.h >>conftest.$ac_ext
3563
 
cat >>conftest.$ac_ext <<_ACEOF
 
3777
  CFLAGS=""
 
3778
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564
3779
/* end confdefs.h.  */
3565
3780
 
3566
3781
int
3571
3786
  return 0;
3572
3787
}
3573
3788
_ACEOF
3574
 
rm -f conftest.$ac_objext
3575
 
if { (ac_try="$ac_compile"
3576
 
case "(($ac_try" in
3577
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3578
 
  *) ac_try_echo=$ac_try;;
3579
 
esac
3580
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3581
 
$as_echo "$ac_try_echo") >&5
3582
 
  (eval "$ac_compile") 2>conftest.er1
3583
 
  ac_status=$?
3584
 
  grep -v '^ *+' conftest.er1 >conftest.err
3585
 
  rm -f conftest.er1
3586
 
  cat conftest.err >&5
3587
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588
 
  (exit $ac_status); } && {
3589
 
         test -z "$ac_c_werror_flag" ||
3590
 
         test ! -s conftest.err
3591
 
       } && test -s conftest.$ac_objext; then
3592
 
  :
 
3789
if ac_fn_c_try_compile "$LINENO"; then :
 
3790
 
3593
3791
else
3594
 
  $as_echo "$as_me: failed program was:" >&5
3595
 
sed 's/^/| /' conftest.$ac_ext >&5
3596
 
 
3597
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3792
  ac_c_werror_flag=$ac_save_c_werror_flag
3598
3793
         CFLAGS="-g"
3599
 
         cat >conftest.$ac_ext <<_ACEOF
3600
 
/* confdefs.h.  */
3601
 
_ACEOF
3602
 
cat confdefs.h >>conftest.$ac_ext
3603
 
cat >>conftest.$ac_ext <<_ACEOF
 
3794
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604
3795
/* end confdefs.h.  */
3605
3796
 
3606
3797
int
3611
3802
  return 0;
3612
3803
}
3613
3804
_ACEOF
3614
 
rm -f conftest.$ac_objext
3615
 
if { (ac_try="$ac_compile"
3616
 
case "(($ac_try" in
3617
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618
 
  *) ac_try_echo=$ac_try;;
3619
 
esac
3620
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3621
 
$as_echo "$ac_try_echo") >&5
3622
 
  (eval "$ac_compile") 2>conftest.er1
3623
 
  ac_status=$?
3624
 
  grep -v '^ *+' conftest.er1 >conftest.err
3625
 
  rm -f conftest.er1
3626
 
  cat conftest.err >&5
3627
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628
 
  (exit $ac_status); } && {
3629
 
         test -z "$ac_c_werror_flag" ||
3630
 
         test ! -s conftest.err
3631
 
       } && test -s conftest.$ac_objext; then
 
3805
if ac_fn_c_try_compile "$LINENO"; then :
3632
3806
  ac_cv_prog_cc_g=yes
3633
 
else
3634
 
  $as_echo "$as_me: failed program was:" >&5
3635
 
sed 's/^/| /' conftest.$ac_ext >&5
3636
 
 
3637
 
 
3638
 
fi
3639
 
 
3640
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641
 
fi
3642
 
 
3643
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3644
 
fi
3645
 
 
 
3807
fi
 
3808
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3809
fi
 
3810
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3811
fi
3646
3812
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3647
3813
   ac_c_werror_flag=$ac_save_c_werror_flag
3648
3814
fi
3649
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3650
3816
$as_echo "$ac_cv_prog_cc_g" >&6; }
3651
3817
if test "$ac_test_CFLAGS" = set; then
3652
3818
  CFLAGS=$ac_save_CFLAGS
3663
3829
    CFLAGS=
3664
3830
  fi
3665
3831
fi
3666
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3667
3833
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3668
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3834
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3669
3835
  $as_echo_n "(cached) " >&6
3670
3836
else
3671
3837
  ac_cv_prog_cc_c89=no
3672
3838
ac_save_CC=$CC
3673
 
cat >conftest.$ac_ext <<_ACEOF
3674
 
/* confdefs.h.  */
3675
 
_ACEOF
3676
 
cat confdefs.h >>conftest.$ac_ext
3677
 
cat >>conftest.$ac_ext <<_ACEOF
 
3839
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678
3840
/* end confdefs.h.  */
3679
3841
#include <stdarg.h>
3680
3842
#include <stdio.h>
3731
3893
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3732
3894
do
3733
3895
  CC="$ac_save_CC $ac_arg"
3734
 
  rm -f conftest.$ac_objext
3735
 
if { (ac_try="$ac_compile"
3736
 
case "(($ac_try" in
3737
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3738
 
  *) ac_try_echo=$ac_try;;
3739
 
esac
3740
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3741
 
$as_echo "$ac_try_echo") >&5
3742
 
  (eval "$ac_compile") 2>conftest.er1
3743
 
  ac_status=$?
3744
 
  grep -v '^ *+' conftest.er1 >conftest.err
3745
 
  rm -f conftest.er1
3746
 
  cat conftest.err >&5
3747
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748
 
  (exit $ac_status); } && {
3749
 
         test -z "$ac_c_werror_flag" ||
3750
 
         test ! -s conftest.err
3751
 
       } && test -s conftest.$ac_objext; then
 
3896
  if ac_fn_c_try_compile "$LINENO"; then :
3752
3897
  ac_cv_prog_cc_c89=$ac_arg
3753
 
else
3754
 
  $as_echo "$as_me: failed program was:" >&5
3755
 
sed 's/^/| /' conftest.$ac_ext >&5
3756
 
 
3757
 
 
3758
3898
fi
3759
 
 
3760
3899
rm -f core conftest.err conftest.$ac_objext
3761
3900
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3762
3901
done
3767
3906
# AC_CACHE_VAL
3768
3907
case "x$ac_cv_prog_cc_c89" in
3769
3908
  x)
3770
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3909
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3771
3910
$as_echo "none needed" >&6; } ;;
3772
3911
  xno)
3773
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3912
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3774
3913
$as_echo "unsupported" >&6; } ;;
3775
3914
  *)
3776
3915
    CC="$CC $ac_cv_prog_cc_c89"
3777
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3916
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3778
3917
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3779
3918
esac
 
3919
if test "x$ac_cv_prog_cc_c89" != xno; then :
3780
3920
 
 
3921
fi
3781
3922
 
3782
3923
ac_ext=c
3783
3924
ac_cpp='$CPP $CPPFLAGS'
3787
3928
 
3788
3929
depcc="$CC"   am_compiler_list=
3789
3930
 
3790
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3791
3932
$as_echo_n "checking dependency style of $depcc... " >&6; }
3792
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3933
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3793
3934
  $as_echo_n "(cached) " >&6
3794
3935
else
3795
3936
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3897
4038
fi
3898
4039
 
3899
4040
fi
3900
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3901
4042
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3902
4043
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3903
4044
 
3916
4057
 
3917
4058
 
3918
4059
    # Check whether --enable-compile-warnings was given.
3919
 
if test "${enable_compile_warnings+set}" = set; then
 
4060
if test "${enable_compile_warnings+set}" = set; then :
3920
4061
  enableval=$enable_compile_warnings;
3921
4062
else
3922
4063
  enable_compile_warnings="yes"
3947
4088
        for option in -Wno-sign-compare; do
3948
4089
                SAVE_CFLAGS="$CFLAGS"
3949
4090
                CFLAGS="$CFLAGS $option"
3950
 
                { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
 
4091
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
3951
4092
$as_echo_n "checking whether gcc understands $option... " >&6; }
3952
 
                cat >conftest.$ac_ext <<_ACEOF
3953
 
/* confdefs.h.  */
3954
 
_ACEOF
3955
 
cat confdefs.h >>conftest.$ac_ext
3956
 
cat >>conftest.$ac_ext <<_ACEOF
 
4093
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957
4094
/* end confdefs.h.  */
3958
4095
 
3959
4096
int
3964
4101
  return 0;
3965
4102
}
3966
4103
_ACEOF
3967
 
rm -f conftest.$ac_objext
3968
 
if { (ac_try="$ac_compile"
3969
 
case "(($ac_try" in
3970
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971
 
  *) ac_try_echo=$ac_try;;
3972
 
esac
3973
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3974
 
$as_echo "$ac_try_echo") >&5
3975
 
  (eval "$ac_compile") 2>conftest.er1
3976
 
  ac_status=$?
3977
 
  grep -v '^ *+' conftest.er1 >conftest.err
3978
 
  rm -f conftest.er1
3979
 
  cat conftest.err >&5
3980
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981
 
  (exit $ac_status); } && {
3982
 
         test -z "$ac_c_werror_flag" ||
3983
 
         test ! -s conftest.err
3984
 
       } && test -s conftest.$ac_objext; then
 
4104
if ac_fn_c_try_compile "$LINENO"; then :
3985
4105
  has_option=yes
3986
4106
else
3987
 
  $as_echo "$as_me: failed program was:" >&5
3988
 
sed 's/^/| /' conftest.$ac_ext >&5
3989
 
 
3990
 
        has_option=no
 
4107
  has_option=no
3991
4108
fi
3992
 
 
3993
4109
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3994
4110
                CFLAGS="$SAVE_CFLAGS"
3995
 
                { $as_echo "$as_me:$LINENO: result: $has_option" >&5
 
4111
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
3996
4112
$as_echo "$has_option" >&6; }
3997
4113
                if test $has_option = yes; then
3998
4114
                  warning_flags="$warning_flags $option"
4006
4122
        fi
4007
4123
        ;;
4008
4124
    *)
4009
 
        { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
4010
 
$as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
4011
 
   { (exit 1); exit 1; }; }
 
4125
        as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
4012
4126
        ;;
4013
4127
    esac
4014
4128
    CFLAGS="$realsave_CFLAGS"
4015
 
    { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
 
4129
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4016
4130
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4017
 
    { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
 
4131
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
4018
4132
$as_echo "$warning_flags" >&6; }
4019
4133
 
4020
4134
    # Check whether --enable-iso-c was given.
4021
 
if test "${enable_iso_c+set}" = set; then
 
4135
if test "${enable_iso_c+set}" = set; then :
4022
4136
  enableval=$enable_iso_c;
4023
4137
else
4024
4138
  enable_iso_c=no
4025
4139
fi
4026
4140
 
4027
4141
 
4028
 
    { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
 
4142
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
4029
4143
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
4030
4144
    complCFLAGS=
4031
4145
    if test "x$enable_iso_c" != "xno"; then
4040
4154
        esac
4041
4155
        fi
4042
4156
    fi
4043
 
    { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
 
4157
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
4044
4158
$as_echo "$complCFLAGS" >&6; }
4045
4159
 
4046
4160
    WARN_CFLAGS="$warning_flags $complCFLAGS"
4047
4161
 
4048
4162
 
4049
4163
 
4050
 
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
4164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4051
4165
$as_echo_n "checking for library containing strerror... " >&6; }
4052
 
if test "${ac_cv_search_strerror+set}" = set; then
 
4166
if test "${ac_cv_search_strerror+set}" = set; then :
4053
4167
  $as_echo_n "(cached) " >&6
4054
4168
else
4055
4169
  ac_func_search_save_LIBS=$LIBS
4056
 
cat >conftest.$ac_ext <<_ACEOF
4057
 
/* confdefs.h.  */
4058
 
_ACEOF
4059
 
cat confdefs.h >>conftest.$ac_ext
4060
 
cat >>conftest.$ac_ext <<_ACEOF
 
4170
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061
4171
/* end confdefs.h.  */
4062
4172
 
4063
4173
/* Override any GCC internal prototype to avoid an error.
4082
4192
    ac_res=-l$ac_lib
4083
4193
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4084
4194
  fi
4085
 
  rm -f conftest.$ac_objext conftest$ac_exeext
4086
 
if { (ac_try="$ac_link"
4087
 
case "(($ac_try" in
4088
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089
 
  *) ac_try_echo=$ac_try;;
4090
 
esac
4091
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4092
 
$as_echo "$ac_try_echo") >&5
4093
 
  (eval "$ac_link") 2>conftest.er1
4094
 
  ac_status=$?
4095
 
  grep -v '^ *+' conftest.er1 >conftest.err
4096
 
  rm -f conftest.er1
4097
 
  cat conftest.err >&5
4098
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099
 
  (exit $ac_status); } && {
4100
 
         test -z "$ac_c_werror_flag" ||
4101
 
         test ! -s conftest.err
4102
 
       } && test -s conftest$ac_exeext && {
4103
 
         test "$cross_compiling" = yes ||
4104
 
         $as_test_x conftest$ac_exeext
4105
 
       }; then
 
4195
  if ac_fn_c_try_link "$LINENO"; then :
4106
4196
  ac_cv_search_strerror=$ac_res
4107
 
else
4108
 
  $as_echo "$as_me: failed program was:" >&5
4109
 
sed 's/^/| /' conftest.$ac_ext >&5
4110
 
 
4111
 
 
4112
4197
fi
4113
 
 
4114
 
rm -rf conftest.dSYM
4115
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4116
 
      conftest$ac_exeext
4117
 
  if test "${ac_cv_search_strerror+set}" = set; then
 
4198
rm -f core conftest.err conftest.$ac_objext \
 
4199
    conftest$ac_exeext
 
4200
  if test "${ac_cv_search_strerror+set}" = set; then :
4118
4201
  break
4119
4202
fi
4120
4203
done
4121
 
if test "${ac_cv_search_strerror+set}" = set; then
4122
 
  :
 
4204
if test "${ac_cv_search_strerror+set}" = set; then :
 
4205
 
4123
4206
else
4124
4207
  ac_cv_search_strerror=no
4125
4208
fi
4126
4209
rm conftest.$ac_ext
4127
4210
LIBS=$ac_func_search_save_LIBS
4128
4211
fi
4129
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
4212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4130
4213
$as_echo "$ac_cv_search_strerror" >&6; }
4131
4214
ac_res=$ac_cv_search_strerror
4132
 
if test "$ac_res" != no; then
 
4215
if test "$ac_res" != no; then :
4133
4216
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4134
4217
 
4135
4218
fi
4142
4225
if test -n "$ac_tool_prefix"; then
4143
4226
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4144
4227
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4145
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4146
4229
$as_echo_n "checking for $ac_word... " >&6; }
4147
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4230
if test "${ac_cv_prog_CC+set}" = set; then :
4148
4231
  $as_echo_n "(cached) " >&6
4149
4232
else
4150
4233
  if test -n "$CC"; then
4155
4238
do
4156
4239
  IFS=$as_save_IFS
4157
4240
  test -z "$as_dir" && as_dir=.
4158
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4241
    for ac_exec_ext in '' $ac_executable_extensions; do
4159
4242
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4160
4243
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4161
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4244
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4162
4245
    break 2
4163
4246
  fi
4164
4247
done
4165
 
done
 
4248
  done
4166
4249
IFS=$as_save_IFS
4167
4250
 
4168
4251
fi
4169
4252
fi
4170
4253
CC=$ac_cv_prog_CC
4171
4254
if test -n "$CC"; then
4172
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4255
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4173
4256
$as_echo "$CC" >&6; }
4174
4257
else
4175
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4258
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4176
4259
$as_echo "no" >&6; }
4177
4260
fi
4178
4261
 
4182
4265
  ac_ct_CC=$CC
4183
4266
  # Extract the first word of "gcc", so it can be a program name with args.
4184
4267
set dummy gcc; ac_word=$2
4185
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4186
4269
$as_echo_n "checking for $ac_word... " >&6; }
4187
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4270
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4188
4271
  $as_echo_n "(cached) " >&6
4189
4272
else
4190
4273
  if test -n "$ac_ct_CC"; then
4195
4278
do
4196
4279
  IFS=$as_save_IFS
4197
4280
  test -z "$as_dir" && as_dir=.
4198
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4281
    for ac_exec_ext in '' $ac_executable_extensions; do
4199
4282
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4200
4283
    ac_cv_prog_ac_ct_CC="gcc"
4201
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4284
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202
4285
    break 2
4203
4286
  fi
4204
4287
done
4205
 
done
 
4288
  done
4206
4289
IFS=$as_save_IFS
4207
4290
 
4208
4291
fi
4209
4292
fi
4210
4293
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4211
4294
if test -n "$ac_ct_CC"; then
4212
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4295
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4213
4296
$as_echo "$ac_ct_CC" >&6; }
4214
4297
else
4215
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4298
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216
4299
$as_echo "no" >&6; }
4217
4300
fi
4218
4301
 
4221
4304
  else
4222
4305
    case $cross_compiling:$ac_tool_warned in
4223
4306
yes:)
4224
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4307
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4225
4308
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4226
4309
ac_tool_warned=yes ;;
4227
4310
esac
4235
4318
          if test -n "$ac_tool_prefix"; then
4236
4319
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4237
4320
set dummy ${ac_tool_prefix}cc; ac_word=$2
4238
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4239
4322
$as_echo_n "checking for $ac_word... " >&6; }
4240
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4323
if test "${ac_cv_prog_CC+set}" = set; then :
4241
4324
  $as_echo_n "(cached) " >&6
4242
4325
else
4243
4326
  if test -n "$CC"; then
4248
4331
do
4249
4332
  IFS=$as_save_IFS
4250
4333
  test -z "$as_dir" && as_dir=.
4251
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4334
    for ac_exec_ext in '' $ac_executable_extensions; do
4252
4335
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4253
4336
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4254
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4337
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4255
4338
    break 2
4256
4339
  fi
4257
4340
done
4258
 
done
 
4341
  done
4259
4342
IFS=$as_save_IFS
4260
4343
 
4261
4344
fi
4262
4345
fi
4263
4346
CC=$ac_cv_prog_CC
4264
4347
if test -n "$CC"; then
4265
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4348
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4266
4349
$as_echo "$CC" >&6; }
4267
4350
else
4268
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4351
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4269
4352
$as_echo "no" >&6; }
4270
4353
fi
4271
4354
 
4275
4358
if test -z "$CC"; then
4276
4359
  # Extract the first word of "cc", so it can be a program name with args.
4277
4360
set dummy cc; ac_word=$2
4278
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4279
4362
$as_echo_n "checking for $ac_word... " >&6; }
4280
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4363
if test "${ac_cv_prog_CC+set}" = set; then :
4281
4364
  $as_echo_n "(cached) " >&6
4282
4365
else
4283
4366
  if test -n "$CC"; then
4289
4372
do
4290
4373
  IFS=$as_save_IFS
4291
4374
  test -z "$as_dir" && as_dir=.
4292
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4375
    for ac_exec_ext in '' $ac_executable_extensions; do
4293
4376
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4294
4377
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4295
4378
       ac_prog_rejected=yes
4296
4379
       continue
4297
4380
     fi
4298
4381
    ac_cv_prog_CC="cc"
4299
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4382
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300
4383
    break 2
4301
4384
  fi
4302
4385
done
4303
 
done
 
4386
  done
4304
4387
IFS=$as_save_IFS
4305
4388
 
4306
4389
if test $ac_prog_rejected = yes; then
4319
4402
fi
4320
4403
CC=$ac_cv_prog_CC
4321
4404
if test -n "$CC"; then
4322
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4323
4406
$as_echo "$CC" >&6; }
4324
4407
else
4325
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4408
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326
4409
$as_echo "no" >&6; }
4327
4410
fi
4328
4411
 
4334
4417
  do
4335
4418
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4336
4419
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4337
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338
4421
$as_echo_n "checking for $ac_word... " >&6; }
4339
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4422
if test "${ac_cv_prog_CC+set}" = set; then :
4340
4423
  $as_echo_n "(cached) " >&6
4341
4424
else
4342
4425
  if test -n "$CC"; then
4347
4430
do
4348
4431
  IFS=$as_save_IFS
4349
4432
  test -z "$as_dir" && as_dir=.
4350
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4433
    for ac_exec_ext in '' $ac_executable_extensions; do
4351
4434
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4352
4435
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4353
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4436
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4354
4437
    break 2
4355
4438
  fi
4356
4439
done
4357
 
done
 
4440
  done
4358
4441
IFS=$as_save_IFS
4359
4442
 
4360
4443
fi
4361
4444
fi
4362
4445
CC=$ac_cv_prog_CC
4363
4446
if test -n "$CC"; then
4364
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4447
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4365
4448
$as_echo "$CC" >&6; }
4366
4449
else
4367
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4450
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368
4451
$as_echo "no" >&6; }
4369
4452
fi
4370
4453
 
4378
4461
do
4379
4462
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4380
4463
set dummy $ac_prog; ac_word=$2
4381
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4382
4465
$as_echo_n "checking for $ac_word... " >&6; }
4383
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4466
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4384
4467
  $as_echo_n "(cached) " >&6
4385
4468
else
4386
4469
  if test -n "$ac_ct_CC"; then
4391
4474
do
4392
4475
  IFS=$as_save_IFS
4393
4476
  test -z "$as_dir" && as_dir=.
4394
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4477
    for ac_exec_ext in '' $ac_executable_extensions; do
4395
4478
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4396
4479
    ac_cv_prog_ac_ct_CC="$ac_prog"
4397
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4480
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4398
4481
    break 2
4399
4482
  fi
4400
4483
done
4401
 
done
 
4484
  done
4402
4485
IFS=$as_save_IFS
4403
4486
 
4404
4487
fi
4405
4488
fi
4406
4489
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4407
4490
if test -n "$ac_ct_CC"; then
4408
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4491
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4409
4492
$as_echo "$ac_ct_CC" >&6; }
4410
4493
else
4411
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4494
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4412
4495
$as_echo "no" >&6; }
4413
4496
fi
4414
4497
 
4421
4504
  else
4422
4505
    case $cross_compiling:$ac_tool_warned in
4423
4506
yes:)
4424
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4507
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4425
4508
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4426
4509
ac_tool_warned=yes ;;
4427
4510
esac
4432
4515
fi
4433
4516
 
4434
4517
 
4435
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4518
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4436
4519
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4437
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4438
 
See \`config.log' for more details." >&5
4439
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4440
 
See \`config.log' for more details." >&2;}
4441
 
   { (exit 1); exit 1; }; }; }
 
4520
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4521
See \`config.log' for more details" "$LINENO" 5 ; }
4442
4522
 
4443
4523
# Provide some information about the compiler.
4444
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4524
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4445
4525
set X $ac_compile
4446
4526
ac_compiler=$2
4447
 
{ (ac_try="$ac_compiler --version >&5"
4448
 
case "(($ac_try" in
4449
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4450
 
  *) ac_try_echo=$ac_try;;
4451
 
esac
4452
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4453
 
$as_echo "$ac_try_echo") >&5
4454
 
  (eval "$ac_compiler --version >&5") 2>&5
4455
 
  ac_status=$?
4456
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457
 
  (exit $ac_status); }
4458
 
{ (ac_try="$ac_compiler -v >&5"
4459
 
case "(($ac_try" in
4460
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4461
 
  *) ac_try_echo=$ac_try;;
4462
 
esac
4463
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4464
 
$as_echo "$ac_try_echo") >&5
4465
 
  (eval "$ac_compiler -v >&5") 2>&5
4466
 
  ac_status=$?
4467
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468
 
  (exit $ac_status); }
4469
 
{ (ac_try="$ac_compiler -V >&5"
4470
 
case "(($ac_try" in
4471
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4472
 
  *) ac_try_echo=$ac_try;;
4473
 
esac
4474
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4475
 
$as_echo "$ac_try_echo") >&5
4476
 
  (eval "$ac_compiler -V >&5") 2>&5
4477
 
  ac_status=$?
4478
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479
 
  (exit $ac_status); }
 
4527
for ac_option in --version -v -V -qversion; do
 
4528
  { { ac_try="$ac_compiler $ac_option >&5"
 
4529
case "(($ac_try" in
 
4530
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4531
  *) ac_try_echo=$ac_try;;
 
4532
esac
 
4533
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4534
$as_echo "$ac_try_echo"; } >&5
 
4535
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4536
  ac_status=$?
 
4537
  if test -s conftest.err; then
 
4538
    sed '10a\
 
4539
... rest of stderr output deleted ...
 
4540
         10q' conftest.err >conftest.er1
 
4541
    cat conftest.er1 >&5
 
4542
  fi
 
4543
  rm -f conftest.er1 conftest.err
 
4544
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4545
  test $ac_status = 0; }
 
4546
done
4480
4547
 
4481
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4482
4549
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4483
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
4550
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4484
4551
  $as_echo_n "(cached) " >&6
4485
4552
else
4486
 
  cat >conftest.$ac_ext <<_ACEOF
4487
 
/* confdefs.h.  */
4488
 
_ACEOF
4489
 
cat confdefs.h >>conftest.$ac_ext
4490
 
cat >>conftest.$ac_ext <<_ACEOF
 
4553
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491
4554
/* end confdefs.h.  */
4492
4555
 
4493
4556
int
4501
4564
  return 0;
4502
4565
}
4503
4566
_ACEOF
4504
 
rm -f conftest.$ac_objext
4505
 
if { (ac_try="$ac_compile"
4506
 
case "(($ac_try" in
4507
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4508
 
  *) ac_try_echo=$ac_try;;
4509
 
esac
4510
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4511
 
$as_echo "$ac_try_echo") >&5
4512
 
  (eval "$ac_compile") 2>conftest.er1
4513
 
  ac_status=$?
4514
 
  grep -v '^ *+' conftest.er1 >conftest.err
4515
 
  rm -f conftest.er1
4516
 
  cat conftest.err >&5
4517
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518
 
  (exit $ac_status); } && {
4519
 
         test -z "$ac_c_werror_flag" ||
4520
 
         test ! -s conftest.err
4521
 
       } && test -s conftest.$ac_objext; then
 
4567
if ac_fn_c_try_compile "$LINENO"; then :
4522
4568
  ac_compiler_gnu=yes
4523
4569
else
4524
 
  $as_echo "$as_me: failed program was:" >&5
4525
 
sed 's/^/| /' conftest.$ac_ext >&5
4526
 
 
4527
 
        ac_compiler_gnu=no
 
4570
  ac_compiler_gnu=no
4528
4571
fi
4529
 
 
4530
4572
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4531
4573
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4532
4574
 
4533
4575
fi
4534
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4535
4577
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4536
4578
if test $ac_compiler_gnu = yes; then
4537
4579
  GCC=yes
4540
4582
fi
4541
4583
ac_test_CFLAGS=${CFLAGS+set}
4542
4584
ac_save_CFLAGS=$CFLAGS
4543
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4544
4586
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4545
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
4587
if test "${ac_cv_prog_cc_g+set}" = set; then :
4546
4588
  $as_echo_n "(cached) " >&6
4547
4589
else
4548
4590
  ac_save_c_werror_flag=$ac_c_werror_flag
4549
4591
   ac_c_werror_flag=yes
4550
4592
   ac_cv_prog_cc_g=no
4551
4593
   CFLAGS="-g"
4552
 
   cat >conftest.$ac_ext <<_ACEOF
4553
 
/* confdefs.h.  */
4554
 
_ACEOF
4555
 
cat confdefs.h >>conftest.$ac_ext
4556
 
cat >>conftest.$ac_ext <<_ACEOF
 
4594
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557
4595
/* end confdefs.h.  */
4558
4596
 
4559
4597
int
4564
4602
  return 0;
4565
4603
}
4566
4604
_ACEOF
4567
 
rm -f conftest.$ac_objext
4568
 
if { (ac_try="$ac_compile"
4569
 
case "(($ac_try" in
4570
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4571
 
  *) ac_try_echo=$ac_try;;
4572
 
esac
4573
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4574
 
$as_echo "$ac_try_echo") >&5
4575
 
  (eval "$ac_compile") 2>conftest.er1
4576
 
  ac_status=$?
4577
 
  grep -v '^ *+' conftest.er1 >conftest.err
4578
 
  rm -f conftest.er1
4579
 
  cat conftest.err >&5
4580
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581
 
  (exit $ac_status); } && {
4582
 
         test -z "$ac_c_werror_flag" ||
4583
 
         test ! -s conftest.err
4584
 
       } && test -s conftest.$ac_objext; then
 
4605
if ac_fn_c_try_compile "$LINENO"; then :
4585
4606
  ac_cv_prog_cc_g=yes
4586
4607
else
4587
 
  $as_echo "$as_me: failed program was:" >&5
4588
 
sed 's/^/| /' conftest.$ac_ext >&5
4589
 
 
4590
 
        CFLAGS=""
4591
 
      cat >conftest.$ac_ext <<_ACEOF
4592
 
/* confdefs.h.  */
4593
 
_ACEOF
4594
 
cat confdefs.h >>conftest.$ac_ext
4595
 
cat >>conftest.$ac_ext <<_ACEOF
 
4608
  CFLAGS=""
 
4609
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596
4610
/* end confdefs.h.  */
4597
4611
 
4598
4612
int
4603
4617
  return 0;
4604
4618
}
4605
4619
_ACEOF
4606
 
rm -f conftest.$ac_objext
4607
 
if { (ac_try="$ac_compile"
4608
 
case "(($ac_try" in
4609
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4610
 
  *) ac_try_echo=$ac_try;;
4611
 
esac
4612
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4613
 
$as_echo "$ac_try_echo") >&5
4614
 
  (eval "$ac_compile") 2>conftest.er1
4615
 
  ac_status=$?
4616
 
  grep -v '^ *+' conftest.er1 >conftest.err
4617
 
  rm -f conftest.er1
4618
 
  cat conftest.err >&5
4619
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620
 
  (exit $ac_status); } && {
4621
 
         test -z "$ac_c_werror_flag" ||
4622
 
         test ! -s conftest.err
4623
 
       } && test -s conftest.$ac_objext; then
4624
 
  :
 
4620
if ac_fn_c_try_compile "$LINENO"; then :
 
4621
 
4625
4622
else
4626
 
  $as_echo "$as_me: failed program was:" >&5
4627
 
sed 's/^/| /' conftest.$ac_ext >&5
4628
 
 
4629
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4623
  ac_c_werror_flag=$ac_save_c_werror_flag
4630
4624
         CFLAGS="-g"
4631
 
         cat >conftest.$ac_ext <<_ACEOF
4632
 
/* confdefs.h.  */
4633
 
_ACEOF
4634
 
cat confdefs.h >>conftest.$ac_ext
4635
 
cat >>conftest.$ac_ext <<_ACEOF
 
4625
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636
4626
/* end confdefs.h.  */
4637
4627
 
4638
4628
int
4643
4633
  return 0;
4644
4634
}
4645
4635
_ACEOF
4646
 
rm -f conftest.$ac_objext
4647
 
if { (ac_try="$ac_compile"
4648
 
case "(($ac_try" in
4649
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4650
 
  *) ac_try_echo=$ac_try;;
4651
 
esac
4652
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4653
 
$as_echo "$ac_try_echo") >&5
4654
 
  (eval "$ac_compile") 2>conftest.er1
4655
 
  ac_status=$?
4656
 
  grep -v '^ *+' conftest.er1 >conftest.err
4657
 
  rm -f conftest.er1
4658
 
  cat conftest.err >&5
4659
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660
 
  (exit $ac_status); } && {
4661
 
         test -z "$ac_c_werror_flag" ||
4662
 
         test ! -s conftest.err
4663
 
       } && test -s conftest.$ac_objext; then
 
4636
if ac_fn_c_try_compile "$LINENO"; then :
4664
4637
  ac_cv_prog_cc_g=yes
4665
 
else
4666
 
  $as_echo "$as_me: failed program was:" >&5
4667
 
sed 's/^/| /' conftest.$ac_ext >&5
4668
 
 
4669
 
 
4670
 
fi
4671
 
 
4672
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4673
 
fi
4674
 
 
4675
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4676
 
fi
4677
 
 
 
4638
fi
 
4639
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4640
fi
 
4641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4642
fi
4678
4643
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4679
4644
   ac_c_werror_flag=$ac_save_c_werror_flag
4680
4645
fi
4681
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4682
4647
$as_echo "$ac_cv_prog_cc_g" >&6; }
4683
4648
if test "$ac_test_CFLAGS" = set; then
4684
4649
  CFLAGS=$ac_save_CFLAGS
4695
4660
    CFLAGS=
4696
4661
  fi
4697
4662
fi
4698
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4699
4664
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4700
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
4665
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4701
4666
  $as_echo_n "(cached) " >&6
4702
4667
else
4703
4668
  ac_cv_prog_cc_c89=no
4704
4669
ac_save_CC=$CC
4705
 
cat >conftest.$ac_ext <<_ACEOF
4706
 
/* confdefs.h.  */
4707
 
_ACEOF
4708
 
cat confdefs.h >>conftest.$ac_ext
4709
 
cat >>conftest.$ac_ext <<_ACEOF
 
4670
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710
4671
/* end confdefs.h.  */
4711
4672
#include <stdarg.h>
4712
4673
#include <stdio.h>
4763
4724
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4764
4725
do
4765
4726
  CC="$ac_save_CC $ac_arg"
4766
 
  rm -f conftest.$ac_objext
4767
 
if { (ac_try="$ac_compile"
4768
 
case "(($ac_try" in
4769
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4770
 
  *) ac_try_echo=$ac_try;;
4771
 
esac
4772
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4773
 
$as_echo "$ac_try_echo") >&5
4774
 
  (eval "$ac_compile") 2>conftest.er1
4775
 
  ac_status=$?
4776
 
  grep -v '^ *+' conftest.er1 >conftest.err
4777
 
  rm -f conftest.er1
4778
 
  cat conftest.err >&5
4779
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780
 
  (exit $ac_status); } && {
4781
 
         test -z "$ac_c_werror_flag" ||
4782
 
         test ! -s conftest.err
4783
 
       } && test -s conftest.$ac_objext; then
 
4727
  if ac_fn_c_try_compile "$LINENO"; then :
4784
4728
  ac_cv_prog_cc_c89=$ac_arg
4785
 
else
4786
 
  $as_echo "$as_me: failed program was:" >&5
4787
 
sed 's/^/| /' conftest.$ac_ext >&5
4788
 
 
4789
 
 
4790
4729
fi
4791
 
 
4792
4730
rm -f core conftest.err conftest.$ac_objext
4793
4731
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4794
4732
done
4799
4737
# AC_CACHE_VAL
4800
4738
case "x$ac_cv_prog_cc_c89" in
4801
4739
  x)
4802
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4740
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4803
4741
$as_echo "none needed" >&6; } ;;
4804
4742
  xno)
4805
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4743
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4806
4744
$as_echo "unsupported" >&6; } ;;
4807
4745
  *)
4808
4746
    CC="$CC $ac_cv_prog_cc_c89"
4809
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4747
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4810
4748
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4811
4749
esac
 
4750
if test "x$ac_cv_prog_cc_c89" != xno; then :
4812
4751
 
 
4752
fi
4813
4753
 
4814
4754
ac_ext=c
4815
4755
ac_cpp='$CPP $CPPFLAGS'
4819
4759
 
4820
4760
depcc="$CC"   am_compiler_list=
4821
4761
 
4822
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4823
4763
$as_echo_n "checking dependency style of $depcc... " >&6; }
4824
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
4764
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4825
4765
  $as_echo_n "(cached) " >&6
4826
4766
else
4827
4767
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4929
4869
fi
4930
4870
 
4931
4871
fi
4932
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4933
4873
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4934
4874
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4935
4875
 
4949
4889
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4950
4890
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4951
4891
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4952
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4953
4893
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4954
4894
# On Suns, sometimes $CPP names a directory.
4955
4895
if test -n "$CPP" && test -d "$CPP"; then
4956
4896
  CPP=
4957
4897
fi
4958
4898
if test -z "$CPP"; then
4959
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
4899
  if test "${ac_cv_prog_CPP+set}" = set; then :
4960
4900
  $as_echo_n "(cached) " >&6
4961
4901
else
4962
4902
      # Double quotes because CPP needs to be expanded
4971
4911
  # <limits.h> exists even on freestanding compilers.
4972
4912
  # On the NeXT, cc -E runs the code through the compiler's parser,
4973
4913
  # not just through cpp. "Syntax error" is here to catch this case.
4974
 
  cat >conftest.$ac_ext <<_ACEOF
4975
 
/* confdefs.h.  */
4976
 
_ACEOF
4977
 
cat confdefs.h >>conftest.$ac_ext
4978
 
cat >>conftest.$ac_ext <<_ACEOF
 
4914
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979
4915
/* end confdefs.h.  */
4980
4916
#ifdef __STDC__
4981
4917
# include <limits.h>
4984
4920
#endif
4985
4921
                     Syntax error
4986
4922
_ACEOF
4987
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4988
 
case "(($ac_try" in
4989
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4990
 
  *) ac_try_echo=$ac_try;;
4991
 
esac
4992
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4993
 
$as_echo "$ac_try_echo") >&5
4994
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4995
 
  ac_status=$?
4996
 
  grep -v '^ *+' conftest.er1 >conftest.err
4997
 
  rm -f conftest.er1
4998
 
  cat conftest.err >&5
4999
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000
 
  (exit $ac_status); } >/dev/null && {
5001
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5002
 
         test ! -s conftest.err
5003
 
       }; then
5004
 
  :
 
4923
if ac_fn_c_try_cpp "$LINENO"; then :
 
4924
 
5005
4925
else
5006
 
  $as_echo "$as_me: failed program was:" >&5
5007
 
sed 's/^/| /' conftest.$ac_ext >&5
5008
 
 
5009
4926
  # Broken: fails on valid input.
5010
4927
continue
5011
4928
fi
5012
 
 
5013
 
rm -f conftest.err conftest.$ac_ext
 
4929
rm -f conftest.err conftest.i conftest.$ac_ext
5014
4930
 
5015
4931
  # OK, works on sane cases.  Now check whether nonexistent headers
5016
4932
  # can be detected and how.
5017
 
  cat >conftest.$ac_ext <<_ACEOF
5018
 
/* confdefs.h.  */
5019
 
_ACEOF
5020
 
cat confdefs.h >>conftest.$ac_ext
5021
 
cat >>conftest.$ac_ext <<_ACEOF
 
4933
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5022
4934
/* end confdefs.h.  */
5023
4935
#include <ac_nonexistent.h>
5024
4936
_ACEOF
5025
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5026
 
case "(($ac_try" in
5027
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5028
 
  *) ac_try_echo=$ac_try;;
5029
 
esac
5030
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5031
 
$as_echo "$ac_try_echo") >&5
5032
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5033
 
  ac_status=$?
5034
 
  grep -v '^ *+' conftest.er1 >conftest.err
5035
 
  rm -f conftest.er1
5036
 
  cat conftest.err >&5
5037
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038
 
  (exit $ac_status); } >/dev/null && {
5039
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5040
 
         test ! -s conftest.err
5041
 
       }; then
 
4937
if ac_fn_c_try_cpp "$LINENO"; then :
5042
4938
  # Broken: success on invalid input.
5043
4939
continue
5044
4940
else
5045
 
  $as_echo "$as_me: failed program was:" >&5
5046
 
sed 's/^/| /' conftest.$ac_ext >&5
5047
 
 
5048
4941
  # Passes both tests.
5049
4942
ac_preproc_ok=:
5050
4943
break
5051
4944
fi
5052
 
 
5053
 
rm -f conftest.err conftest.$ac_ext
 
4945
rm -f conftest.err conftest.i conftest.$ac_ext
5054
4946
 
5055
4947
done
5056
4948
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5057
 
rm -f conftest.err conftest.$ac_ext
5058
 
if $ac_preproc_ok; then
 
4949
rm -f conftest.i conftest.err conftest.$ac_ext
 
4950
if $ac_preproc_ok; then :
5059
4951
  break
5060
4952
fi
5061
4953
 
5067
4959
else
5068
4960
  ac_cv_prog_CPP=$CPP
5069
4961
fi
5070
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5071
4963
$as_echo "$CPP" >&6; }
5072
4964
ac_preproc_ok=false
5073
4965
for ac_c_preproc_warn_flag in '' yes
5078
4970
  # <limits.h> exists even on freestanding compilers.
5079
4971
  # On the NeXT, cc -E runs the code through the compiler's parser,
5080
4972
  # not just through cpp. "Syntax error" is here to catch this case.
5081
 
  cat >conftest.$ac_ext <<_ACEOF
5082
 
/* confdefs.h.  */
5083
 
_ACEOF
5084
 
cat confdefs.h >>conftest.$ac_ext
5085
 
cat >>conftest.$ac_ext <<_ACEOF
 
4973
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5086
4974
/* end confdefs.h.  */
5087
4975
#ifdef __STDC__
5088
4976
# include <limits.h>
5091
4979
#endif
5092
4980
                     Syntax error
5093
4981
_ACEOF
5094
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5095
 
case "(($ac_try" in
5096
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5097
 
  *) ac_try_echo=$ac_try;;
5098
 
esac
5099
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5100
 
$as_echo "$ac_try_echo") >&5
5101
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5102
 
  ac_status=$?
5103
 
  grep -v '^ *+' conftest.er1 >conftest.err
5104
 
  rm -f conftest.er1
5105
 
  cat conftest.err >&5
5106
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107
 
  (exit $ac_status); } >/dev/null && {
5108
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5109
 
         test ! -s conftest.err
5110
 
       }; then
5111
 
  :
 
4982
if ac_fn_c_try_cpp "$LINENO"; then :
 
4983
 
5112
4984
else
5113
 
  $as_echo "$as_me: failed program was:" >&5
5114
 
sed 's/^/| /' conftest.$ac_ext >&5
5115
 
 
5116
4985
  # Broken: fails on valid input.
5117
4986
continue
5118
4987
fi
5119
 
 
5120
 
rm -f conftest.err conftest.$ac_ext
 
4988
rm -f conftest.err conftest.i conftest.$ac_ext
5121
4989
 
5122
4990
  # OK, works on sane cases.  Now check whether nonexistent headers
5123
4991
  # can be detected and how.
5124
 
  cat >conftest.$ac_ext <<_ACEOF
5125
 
/* confdefs.h.  */
5126
 
_ACEOF
5127
 
cat confdefs.h >>conftest.$ac_ext
5128
 
cat >>conftest.$ac_ext <<_ACEOF
 
4992
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5129
4993
/* end confdefs.h.  */
5130
4994
#include <ac_nonexistent.h>
5131
4995
_ACEOF
5132
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5133
 
case "(($ac_try" in
5134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5135
 
  *) ac_try_echo=$ac_try;;
5136
 
esac
5137
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5138
 
$as_echo "$ac_try_echo") >&5
5139
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5140
 
  ac_status=$?
5141
 
  grep -v '^ *+' conftest.er1 >conftest.err
5142
 
  rm -f conftest.er1
5143
 
  cat conftest.err >&5
5144
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145
 
  (exit $ac_status); } >/dev/null && {
5146
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5147
 
         test ! -s conftest.err
5148
 
       }; then
 
4996
if ac_fn_c_try_cpp "$LINENO"; then :
5149
4997
  # Broken: success on invalid input.
5150
4998
continue
5151
4999
else
5152
 
  $as_echo "$as_me: failed program was:" >&5
5153
 
sed 's/^/| /' conftest.$ac_ext >&5
5154
 
 
5155
5000
  # Passes both tests.
5156
5001
ac_preproc_ok=:
5157
5002
break
5158
5003
fi
5159
 
 
5160
 
rm -f conftest.err conftest.$ac_ext
 
5004
rm -f conftest.err conftest.i conftest.$ac_ext
5161
5005
 
5162
5006
done
5163
5007
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5164
 
rm -f conftest.err conftest.$ac_ext
5165
 
if $ac_preproc_ok; then
5166
 
  :
 
5008
rm -f conftest.i conftest.err conftest.$ac_ext
 
5009
if $ac_preproc_ok; then :
 
5010
 
5167
5011
else
5168
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5012
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5169
5013
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5170
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5171
 
See \`config.log' for more details." >&5
5172
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5173
 
See \`config.log' for more details." >&2;}
5174
 
   { (exit 1); exit 1; }; }; }
 
5014
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
5015
See \`config.log' for more details" "$LINENO" 5 ; }
5175
5016
fi
5176
5017
 
5177
5018
ac_ext=c
5181
5022
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5182
5023
 
5183
5024
 
5184
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
5025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5185
5026
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5186
 
if test "${ac_cv_path_GREP+set}" = set; then
 
5027
if test "${ac_cv_path_GREP+set}" = set; then :
5187
5028
  $as_echo_n "(cached) " >&6
5188
5029
else
5189
5030
  if test -z "$GREP"; then
5194
5035
do
5195
5036
  IFS=$as_save_IFS
5196
5037
  test -z "$as_dir" && as_dir=.
5197
 
  for ac_prog in grep ggrep; do
 
5038
    for ac_prog in grep ggrep; do
5198
5039
    for ac_exec_ext in '' $ac_executable_extensions; do
5199
5040
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5200
5041
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5214
5055
    $as_echo 'GREP' >> "conftest.nl"
5215
5056
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5216
5057
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5217
 
    ac_count=`expr $ac_count + 1`
 
5058
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5218
5059
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5219
5060
      # Best one so far, save it but keep looking for a better one
5220
5061
      ac_cv_path_GREP="$ac_path_GREP"
5229
5070
      $ac_path_GREP_found && break 3
5230
5071
    done
5231
5072
  done
5232
 
done
 
5073
  done
5233
5074
IFS=$as_save_IFS
5234
5075
  if test -z "$ac_cv_path_GREP"; then
5235
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5236
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5237
 
   { (exit 1); exit 1; }; }
 
5076
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5238
5077
  fi
5239
5078
else
5240
5079
  ac_cv_path_GREP=$GREP
5241
5080
fi
5242
5081
 
5243
5082
fi
5244
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
5083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5245
5084
$as_echo "$ac_cv_path_GREP" >&6; }
5246
5085
 GREP="$ac_cv_path_GREP"
5247
5086
 
5248
5087
 
5249
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
5088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5250
5089
$as_echo_n "checking for egrep... " >&6; }
5251
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
5090
if test "${ac_cv_path_EGREP+set}" = set; then :
5252
5091
  $as_echo_n "(cached) " >&6
5253
5092
else
5254
5093
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5262
5101
do
5263
5102
  IFS=$as_save_IFS
5264
5103
  test -z "$as_dir" && as_dir=.
5265
 
  for ac_prog in egrep; do
 
5104
    for ac_prog in egrep; do
5266
5105
    for ac_exec_ext in '' $ac_executable_extensions; do
5267
5106
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5268
5107
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5282
5121
    $as_echo 'EGREP' >> "conftest.nl"
5283
5122
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5284
5123
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5285
 
    ac_count=`expr $ac_count + 1`
 
5124
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5286
5125
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5287
5126
      # Best one so far, save it but keep looking for a better one
5288
5127
      ac_cv_path_EGREP="$ac_path_EGREP"
5297
5136
      $ac_path_EGREP_found && break 3
5298
5137
    done
5299
5138
  done
5300
 
done
 
5139
  done
5301
5140
IFS=$as_save_IFS
5302
5141
  if test -z "$ac_cv_path_EGREP"; then
5303
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5304
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5305
 
   { (exit 1); exit 1; }; }
 
5142
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5306
5143
  fi
5307
5144
else
5308
5145
  ac_cv_path_EGREP=$EGREP
5310
5147
 
5311
5148
   fi
5312
5149
fi
5313
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
5150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5314
5151
$as_echo "$ac_cv_path_EGREP" >&6; }
5315
5152
 EGREP="$ac_cv_path_EGREP"
5316
5153
 
5317
5154
 
5318
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5319
5156
$as_echo_n "checking for ANSI C header files... " >&6; }
5320
 
if test "${ac_cv_header_stdc+set}" = set; then
 
5157
if test "${ac_cv_header_stdc+set}" = set; then :
5321
5158
  $as_echo_n "(cached) " >&6
5322
5159
else
5323
 
  cat >conftest.$ac_ext <<_ACEOF
5324
 
/* confdefs.h.  */
5325
 
_ACEOF
5326
 
cat confdefs.h >>conftest.$ac_ext
5327
 
cat >>conftest.$ac_ext <<_ACEOF
 
5160
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328
5161
/* end confdefs.h.  */
5329
5162
#include <stdlib.h>
5330
5163
#include <stdarg.h>
5339
5172
  return 0;
5340
5173
}
5341
5174
_ACEOF
5342
 
rm -f conftest.$ac_objext
5343
 
if { (ac_try="$ac_compile"
5344
 
case "(($ac_try" in
5345
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5346
 
  *) ac_try_echo=$ac_try;;
5347
 
esac
5348
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5349
 
$as_echo "$ac_try_echo") >&5
5350
 
  (eval "$ac_compile") 2>conftest.er1
5351
 
  ac_status=$?
5352
 
  grep -v '^ *+' conftest.er1 >conftest.err
5353
 
  rm -f conftest.er1
5354
 
  cat conftest.err >&5
5355
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356
 
  (exit $ac_status); } && {
5357
 
         test -z "$ac_c_werror_flag" ||
5358
 
         test ! -s conftest.err
5359
 
       } && test -s conftest.$ac_objext; then
 
5175
if ac_fn_c_try_compile "$LINENO"; then :
5360
5176
  ac_cv_header_stdc=yes
5361
5177
else
5362
 
  $as_echo "$as_me: failed program was:" >&5
5363
 
sed 's/^/| /' conftest.$ac_ext >&5
5364
 
 
5365
 
        ac_cv_header_stdc=no
 
5178
  ac_cv_header_stdc=no
5366
5179
fi
5367
 
 
5368
5180
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5369
5181
 
5370
5182
if test $ac_cv_header_stdc = yes; then
5371
5183
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5372
 
  cat >conftest.$ac_ext <<_ACEOF
5373
 
/* confdefs.h.  */
5374
 
_ACEOF
5375
 
cat confdefs.h >>conftest.$ac_ext
5376
 
cat >>conftest.$ac_ext <<_ACEOF
 
5184
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5377
5185
/* end confdefs.h.  */
5378
5186
#include <string.h>
5379
5187
 
5380
5188
_ACEOF
5381
5189
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5382
 
  $EGREP "memchr" >/dev/null 2>&1; then
5383
 
  :
 
5190
  $EGREP "memchr" >/dev/null 2>&1; then :
 
5191
 
5384
5192
else
5385
5193
  ac_cv_header_stdc=no
5386
5194
fi
5390
5198
 
5391
5199
if test $ac_cv_header_stdc = yes; then
5392
5200
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5393
 
  cat >conftest.$ac_ext <<_ACEOF
5394
 
/* confdefs.h.  */
5395
 
_ACEOF
5396
 
cat confdefs.h >>conftest.$ac_ext
5397
 
cat >>conftest.$ac_ext <<_ACEOF
 
5201
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398
5202
/* end confdefs.h.  */
5399
5203
#include <stdlib.h>
5400
5204
 
5401
5205
_ACEOF
5402
5206
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5403
 
  $EGREP "free" >/dev/null 2>&1; then
5404
 
  :
 
5207
  $EGREP "free" >/dev/null 2>&1; then :
 
5208
 
5405
5209
else
5406
5210
  ac_cv_header_stdc=no
5407
5211
fi
5411
5215
 
5412
5216
if test $ac_cv_header_stdc = yes; then
5413
5217
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5414
 
  if test "$cross_compiling" = yes; then
 
5218
  if test "$cross_compiling" = yes; then :
5415
5219
  :
5416
5220
else
5417
 
  cat >conftest.$ac_ext <<_ACEOF
5418
 
/* confdefs.h.  */
5419
 
_ACEOF
5420
 
cat confdefs.h >>conftest.$ac_ext
5421
 
cat >>conftest.$ac_ext <<_ACEOF
 
5221
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5422
5222
/* end confdefs.h.  */
5423
5223
#include <ctype.h>
5424
5224
#include <stdlib.h>
5445
5245
  return 0;
5446
5246
}
5447
5247
_ACEOF
5448
 
rm -f conftest$ac_exeext
5449
 
if { (ac_try="$ac_link"
5450
 
case "(($ac_try" in
5451
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5452
 
  *) ac_try_echo=$ac_try;;
5453
 
esac
5454
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5455
 
$as_echo "$ac_try_echo") >&5
5456
 
  (eval "$ac_link") 2>&5
5457
 
  ac_status=$?
5458
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5460
 
  { (case "(($ac_try" in
5461
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5462
 
  *) ac_try_echo=$ac_try;;
5463
 
esac
5464
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5465
 
$as_echo "$ac_try_echo") >&5
5466
 
  (eval "$ac_try") 2>&5
5467
 
  ac_status=$?
5468
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469
 
  (exit $ac_status); }; }; then
5470
 
  :
 
5248
if ac_fn_c_try_run "$LINENO"; then :
 
5249
 
5471
5250
else
5472
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
5473
 
$as_echo "$as_me: failed program was:" >&5
5474
 
sed 's/^/| /' conftest.$ac_ext >&5
5475
 
 
5476
 
( exit $ac_status )
5477
 
ac_cv_header_stdc=no
5478
 
fi
5479
 
rm -rf conftest.dSYM
5480
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5481
 
fi
5482
 
 
5483
 
 
5484
 
fi
5485
 
fi
5486
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5251
  ac_cv_header_stdc=no
 
5252
fi
 
5253
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5254
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5255
fi
 
5256
 
 
5257
fi
 
5258
fi
 
5259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5487
5260
$as_echo "$ac_cv_header_stdc" >&6; }
5488
5261
if test $ac_cv_header_stdc = yes; then
5489
5262
 
5490
 
cat >>confdefs.h <<\_ACEOF
5491
 
#define STDC_HEADERS 1
5492
 
_ACEOF
 
5263
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5493
5264
 
5494
5265
fi
5495
5266
 
5496
5267
case `pwd` in
5497
5268
  *\ * | *\     *)
5498
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5269
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5499
5270
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5500
5271
esac
5501
5272
 
5502
5273
 
5503
5274
 
5504
 
macro_version='2.2.6'
5505
 
macro_revision='1.3012'
 
5275
macro_version='2.2.6b'
 
5276
macro_revision='1.3017'
5506
5277
 
5507
5278
 
5508
5279
 
5520
5291
 
5521
5292
# Make sure we can run config.sub.
5522
5293
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5523
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5524
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5525
 
   { (exit 1); exit 1; }; }
 
5294
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5526
5295
 
5527
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
5296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5528
5297
$as_echo_n "checking build system type... " >&6; }
5529
 
if test "${ac_cv_build+set}" = set; then
 
5298
if test "${ac_cv_build+set}" = set; then :
5530
5299
  $as_echo_n "(cached) " >&6
5531
5300
else
5532
5301
  ac_build_alias=$build_alias
5533
5302
test "x$ac_build_alias" = x &&
5534
5303
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5535
5304
test "x$ac_build_alias" = x &&
5536
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5537
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5538
 
   { (exit 1); exit 1; }; }
 
5305
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5539
5306
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5540
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5541
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5542
 
   { (exit 1); exit 1; }; }
 
5307
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5543
5308
 
5544
5309
fi
5545
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
5310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5546
5311
$as_echo "$ac_cv_build" >&6; }
5547
5312
case $ac_cv_build in
5548
5313
*-*-*) ;;
5549
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5550
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
5551
 
   { (exit 1); exit 1; }; };;
 
5314
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5552
5315
esac
5553
5316
build=$ac_cv_build
5554
5317
ac_save_IFS=$IFS; IFS='-'
5564
5327
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5565
5328
 
5566
5329
 
5567
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
5330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5568
5331
$as_echo_n "checking host system type... " >&6; }
5569
 
if test "${ac_cv_host+set}" = set; then
 
5332
if test "${ac_cv_host+set}" = set; then :
5570
5333
  $as_echo_n "(cached) " >&6
5571
5334
else
5572
5335
  if test "x$host_alias" = x; then
5573
5336
  ac_cv_host=$ac_cv_build
5574
5337
else
5575
5338
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5576
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5577
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5578
 
   { (exit 1); exit 1; }; }
 
5339
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5579
5340
fi
5580
5341
 
5581
5342
fi
5582
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
5343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5583
5344
$as_echo "$ac_cv_host" >&6; }
5584
5345
case $ac_cv_host in
5585
5346
*-*-*) ;;
5586
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5587
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
5588
 
   { (exit 1); exit 1; }; };;
 
5347
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5589
5348
esac
5590
5349
host=$ac_cv_host
5591
5350
ac_save_IFS=$IFS; IFS='-'
5601
5360
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5602
5361
 
5603
5362
 
5604
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
5363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5605
5364
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5606
 
if test "${ac_cv_path_SED+set}" = set; then
 
5365
if test "${ac_cv_path_SED+set}" = set; then :
5607
5366
  $as_echo_n "(cached) " >&6
5608
5367
else
5609
5368
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5611
5370
       ac_script="$ac_script$as_nl$ac_script"
5612
5371
     done
5613
5372
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5614
 
     $as_unset ac_script || ac_script=
 
5373
     { ac_script=; unset ac_script;}
5615
5374
     if test -z "$SED"; then
5616
5375
  ac_path_SED_found=false
5617
5376
  # Loop through the user's path and test for each of PROGNAME-LIST
5620
5379
do
5621
5380
  IFS=$as_save_IFS
5622
5381
  test -z "$as_dir" && as_dir=.
5623
 
  for ac_prog in sed gsed; do
 
5382
    for ac_prog in sed gsed; do
5624
5383
    for ac_exec_ext in '' $ac_executable_extensions; do
5625
5384
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5626
5385
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5640
5399
    $as_echo '' >> "conftest.nl"
5641
5400
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5642
5401
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5643
 
    ac_count=`expr $ac_count + 1`
 
5402
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5644
5403
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5645
5404
      # Best one so far, save it but keep looking for a better one
5646
5405
      ac_cv_path_SED="$ac_path_SED"
5655
5414
      $ac_path_SED_found && break 3
5656
5415
    done
5657
5416
  done
5658
 
done
 
5417
  done
5659
5418
IFS=$as_save_IFS
5660
5419
  if test -z "$ac_cv_path_SED"; then
5661
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5662
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5663
 
   { (exit 1); exit 1; }; }
 
5420
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5664
5421
  fi
5665
5422
else
5666
5423
  ac_cv_path_SED=$SED
5667
5424
fi
5668
5425
 
5669
5426
fi
5670
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
5427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5671
5428
$as_echo "$ac_cv_path_SED" >&6; }
5672
5429
 SED="$ac_cv_path_SED"
5673
5430
  rm -f conftest.sed
5685
5442
 
5686
5443
 
5687
5444
 
5688
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
5445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5689
5446
$as_echo_n "checking for fgrep... " >&6; }
5690
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
5447
if test "${ac_cv_path_FGREP+set}" = set; then :
5691
5448
  $as_echo_n "(cached) " >&6
5692
5449
else
5693
5450
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5701
5458
do
5702
5459
  IFS=$as_save_IFS
5703
5460
  test -z "$as_dir" && as_dir=.
5704
 
  for ac_prog in fgrep; do
 
5461
    for ac_prog in fgrep; do
5705
5462
    for ac_exec_ext in '' $ac_executable_extensions; do
5706
5463
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5707
5464
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5721
5478
    $as_echo 'FGREP' >> "conftest.nl"
5722
5479
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5723
5480
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5724
 
    ac_count=`expr $ac_count + 1`
 
5481
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5725
5482
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5726
5483
      # Best one so far, save it but keep looking for a better one
5727
5484
      ac_cv_path_FGREP="$ac_path_FGREP"
5736
5493
      $ac_path_FGREP_found && break 3
5737
5494
    done
5738
5495
  done
5739
 
done
 
5496
  done
5740
5497
IFS=$as_save_IFS
5741
5498
  if test -z "$ac_cv_path_FGREP"; then
5742
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5743
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5744
 
   { (exit 1); exit 1; }; }
 
5499
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5745
5500
  fi
5746
5501
else
5747
5502
  ac_cv_path_FGREP=$FGREP
5749
5504
 
5750
5505
   fi
5751
5506
fi
5752
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
5507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5753
5508
$as_echo "$ac_cv_path_FGREP" >&6; }
5754
5509
 FGREP="$ac_cv_path_FGREP"
5755
5510
 
5775
5530
 
5776
5531
 
5777
5532
# Check whether --with-gnu-ld was given.
5778
 
if test "${with_gnu_ld+set}" = set; then
 
5533
if test "${with_gnu_ld+set}" = set; then :
5779
5534
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5780
5535
else
5781
5536
  with_gnu_ld=no
5784
5539
ac_prog=ld
5785
5540
if test "$GCC" = yes; then
5786
5541
  # Check if gcc -print-prog-name=ld gives a path.
5787
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5542
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5788
5543
$as_echo_n "checking for ld used by $CC... " >&6; }
5789
5544
  case $host in
5790
5545
  *-*-mingw*)
5814
5569
    ;;
5815
5570
  esac
5816
5571
elif test "$with_gnu_ld" = yes; then
5817
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5572
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5818
5573
$as_echo_n "checking for GNU ld... " >&6; }
5819
5574
else
5820
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5575
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5821
5576
$as_echo_n "checking for non-GNU ld... " >&6; }
5822
5577
fi
5823
 
if test "${lt_cv_path_LD+set}" = set; then
 
5578
if test "${lt_cv_path_LD+set}" = set; then :
5824
5579
  $as_echo_n "(cached) " >&6
5825
5580
else
5826
5581
  if test -z "$LD"; then
5851
5606
 
5852
5607
LD="$lt_cv_path_LD"
5853
5608
if test -n "$LD"; then
5854
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5609
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5855
5610
$as_echo "$LD" >&6; }
5856
5611
else
5857
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5612
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858
5613
$as_echo "no" >&6; }
5859
5614
fi
5860
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5861
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5862
 
   { (exit 1); exit 1; }; }
5863
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5615
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
5616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5864
5617
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5865
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
5618
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5866
5619
  $as_echo_n "(cached) " >&6
5867
5620
else
5868
5621
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5875
5628
  ;;
5876
5629
esac
5877
5630
fi
5878
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5879
5632
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5880
5633
with_gnu_ld=$lt_cv_prog_gnu_ld
5881
5634
 
5887
5640
 
5888
5641
 
5889
5642
 
5890
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5891
5644
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5892
 
if test "${lt_cv_path_NM+set}" = set; then
 
5645
if test "${lt_cv_path_NM+set}" = set; then :
5893
5646
  $as_echo_n "(cached) " >&6
5894
5647
else
5895
5648
  if test -n "$NM"; then
5936
5689
  : ${lt_cv_path_NM=no}
5937
5690
fi
5938
5691
fi
5939
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5940
5693
$as_echo "$lt_cv_path_NM" >&6; }
5941
5694
if test "$lt_cv_path_NM" != "no"; then
5942
5695
  NM="$lt_cv_path_NM"
5947
5700
  do
5948
5701
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5949
5702
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5950
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951
5704
$as_echo_n "checking for $ac_word... " >&6; }
5952
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5705
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5953
5706
  $as_echo_n "(cached) " >&6
5954
5707
else
5955
5708
  if test -n "$DUMPBIN"; then
5960
5713
do
5961
5714
  IFS=$as_save_IFS
5962
5715
  test -z "$as_dir" && as_dir=.
5963
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5716
    for ac_exec_ext in '' $ac_executable_extensions; do
5964
5717
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5965
5718
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5966
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5719
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5967
5720
    break 2
5968
5721
  fi
5969
5722
done
5970
 
done
 
5723
  done
5971
5724
IFS=$as_save_IFS
5972
5725
 
5973
5726
fi
5974
5727
fi
5975
5728
DUMPBIN=$ac_cv_prog_DUMPBIN
5976
5729
if test -n "$DUMPBIN"; then
5977
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5730
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5978
5731
$as_echo "$DUMPBIN" >&6; }
5979
5732
else
5980
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5733
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981
5734
$as_echo "no" >&6; }
5982
5735
fi
5983
5736
 
5991
5744
do
5992
5745
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5993
5746
set dummy $ac_prog; ac_word=$2
5994
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995
5748
$as_echo_n "checking for $ac_word... " >&6; }
5996
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5749
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5997
5750
  $as_echo_n "(cached) " >&6
5998
5751
else
5999
5752
  if test -n "$ac_ct_DUMPBIN"; then
6004
5757
do
6005
5758
  IFS=$as_save_IFS
6006
5759
  test -z "$as_dir" && as_dir=.
6007
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5760
    for ac_exec_ext in '' $ac_executable_extensions; do
6008
5761
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6009
5762
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6010
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5763
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011
5764
    break 2
6012
5765
  fi
6013
5766
done
6014
 
done
 
5767
  done
6015
5768
IFS=$as_save_IFS
6016
5769
 
6017
5770
fi
6018
5771
fi
6019
5772
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6020
5773
if test -n "$ac_ct_DUMPBIN"; then
6021
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5774
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6022
5775
$as_echo "$ac_ct_DUMPBIN" >&6; }
6023
5776
else
6024
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5777
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025
5778
$as_echo "no" >&6; }
6026
5779
fi
6027
5780
 
6034
5787
  else
6035
5788
    case $cross_compiling:$ac_tool_warned in
6036
5789
yes:)
6037
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5790
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6038
5791
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6039
5792
ac_tool_warned=yes ;;
6040
5793
esac
6054
5807
 
6055
5808
 
6056
5809
 
6057
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6058
5811
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6059
 
if test "${lt_cv_nm_interface+set}" = set; then
 
5812
if test "${lt_cv_nm_interface+set}" = set; then :
6060
5813
  $as_echo_n "(cached) " >&6
6061
5814
else
6062
5815
  lt_cv_nm_interface="BSD nm"
6063
5816
  echo "int some_variable = 0;" > conftest.$ac_ext
6064
 
  (eval echo "\"\$as_me:6064: $ac_compile\"" >&5)
 
5817
  (eval echo "\"\$as_me:5817: $ac_compile\"" >&5)
6065
5818
  (eval "$ac_compile" 2>conftest.err)
6066
5819
  cat conftest.err >&5
6067
 
  (eval echo "\"\$as_me:6067: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5820
  (eval echo "\"\$as_me:5820: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6068
5821
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6069
5822
  cat conftest.err >&5
6070
 
  (eval echo "\"\$as_me:6070: output\"" >&5)
 
5823
  (eval echo "\"\$as_me:5823: output\"" >&5)
6071
5824
  cat conftest.out >&5
6072
5825
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6073
5826
    lt_cv_nm_interface="MS dumpbin"
6074
5827
  fi
6075
5828
  rm -f conftest*
6076
5829
fi
6077
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6078
5831
$as_echo "$lt_cv_nm_interface" >&6; }
6079
5832
 
6080
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6081
5834
$as_echo_n "checking whether ln -s works... " >&6; }
6082
5835
LN_S=$as_ln_s
6083
5836
if test "$LN_S" = "ln -s"; then
6084
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5837
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6085
5838
$as_echo "yes" >&6; }
6086
5839
else
6087
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5840
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6088
5841
$as_echo "no, using $LN_S" >&6; }
6089
5842
fi
6090
5843
 
6091
5844
# find the maximum length of command line arguments
6092
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6093
5846
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6094
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5847
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6095
5848
  $as_echo_n "(cached) " >&6
6096
5849
else
6097
5850
    i=0
6209
5962
fi
6210
5963
 
6211
5964
if test -n $lt_cv_sys_max_cmd_len ; then
6212
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5965
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6213
5966
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6214
5967
else
6215
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5968
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6216
5969
$as_echo "none" >&6; }
6217
5970
fi
6218
5971
max_cmd_len=$lt_cv_sys_max_cmd_len
6226
5979
: ${MV="mv -f"}
6227
5980
: ${RM="rm -f"}
6228
5981
 
6229
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6230
5983
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6231
5984
# Try some XSI features
6232
5985
xsi_shell=no
6236
5989
    && eval 'test $(( 1 + 1 )) -eq 2 \
6237
5990
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6238
5991
  && xsi_shell=yes
6239
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6240
5993
$as_echo "$xsi_shell" >&6; }
6241
5994
 
6242
5995
 
6243
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6244
5997
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6245
5998
lt_shell_append=no
6246
5999
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6247
6000
    >/dev/null 2>&1 \
6248
6001
  && lt_shell_append=yes
6249
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
6002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6250
6003
$as_echo "$lt_shell_append" >&6; }
6251
6004
 
6252
6005
 
6281
6034
 
6282
6035
 
6283
6036
 
6284
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6285
6038
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6286
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6039
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6287
6040
  $as_echo_n "(cached) " >&6
6288
6041
else
6289
6042
  lt_cv_ld_reload_flag='-r'
6290
6043
fi
6291
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6292
6045
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6293
6046
reload_flag=$lt_cv_ld_reload_flag
6294
6047
case $reload_flag in
6317
6070
if test -n "$ac_tool_prefix"; then
6318
6071
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6319
6072
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6320
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6321
6074
$as_echo_n "checking for $ac_word... " >&6; }
6322
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
6075
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6323
6076
  $as_echo_n "(cached) " >&6
6324
6077
else
6325
6078
  if test -n "$OBJDUMP"; then
6330
6083
do
6331
6084
  IFS=$as_save_IFS
6332
6085
  test -z "$as_dir" && as_dir=.
6333
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6086
    for ac_exec_ext in '' $ac_executable_extensions; do
6334
6087
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6335
6088
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6336
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6089
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337
6090
    break 2
6338
6091
  fi
6339
6092
done
6340
 
done
 
6093
  done
6341
6094
IFS=$as_save_IFS
6342
6095
 
6343
6096
fi
6344
6097
fi
6345
6098
OBJDUMP=$ac_cv_prog_OBJDUMP
6346
6099
if test -n "$OBJDUMP"; then
6347
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6100
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6348
6101
$as_echo "$OBJDUMP" >&6; }
6349
6102
else
6350
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6103
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6351
6104
$as_echo "no" >&6; }
6352
6105
fi
6353
6106
 
6357
6110
  ac_ct_OBJDUMP=$OBJDUMP
6358
6111
  # Extract the first word of "objdump", so it can be a program name with args.
6359
6112
set dummy objdump; ac_word=$2
6360
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6361
6114
$as_echo_n "checking for $ac_word... " >&6; }
6362
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6115
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6363
6116
  $as_echo_n "(cached) " >&6
6364
6117
else
6365
6118
  if test -n "$ac_ct_OBJDUMP"; then
6370
6123
do
6371
6124
  IFS=$as_save_IFS
6372
6125
  test -z "$as_dir" && as_dir=.
6373
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6126
    for ac_exec_ext in '' $ac_executable_extensions; do
6374
6127
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6375
6128
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6376
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6129
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6377
6130
    break 2
6378
6131
  fi
6379
6132
done
6380
 
done
 
6133
  done
6381
6134
IFS=$as_save_IFS
6382
6135
 
6383
6136
fi
6384
6137
fi
6385
6138
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6386
6139
if test -n "$ac_ct_OBJDUMP"; then
6387
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6388
6141
$as_echo "$ac_ct_OBJDUMP" >&6; }
6389
6142
else
6390
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6143
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6391
6144
$as_echo "no" >&6; }
6392
6145
fi
6393
6146
 
6396
6149
  else
6397
6150
    case $cross_compiling:$ac_tool_warned in
6398
6151
yes:)
6399
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6152
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6400
6153
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6401
6154
ac_tool_warned=yes ;;
6402
6155
esac
6416
6169
 
6417
6170
 
6418
6171
 
6419
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6420
6173
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6421
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
6174
if test "${lt_cv_deplibs_check_method+set}" = set; then :
6422
6175
  $as_echo_n "(cached) " >&6
6423
6176
else
6424
6177
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6533
6286
  ;;
6534
6287
 
6535
6288
# This must be Linux ELF.
6536
 
linux* | k*bsd*-gnu)
 
6289
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6537
6290
  lt_cv_deplibs_check_method=pass_all
6538
6291
  ;;
6539
6292
 
6540
 
netbsd*)
 
6293
netbsd* | netbsdelf*-gnu)
6541
6294
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6542
6295
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6543
6296
  else
6612
6365
esac
6613
6366
 
6614
6367
fi
6615
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6616
6369
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6617
6370
file_magic_cmd=$lt_cv_file_magic_cmd
6618
6371
deplibs_check_method=$lt_cv_deplibs_check_method
6632
6385
if test -n "$ac_tool_prefix"; then
6633
6386
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6634
6387
set dummy ${ac_tool_prefix}ar; ac_word=$2
6635
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6636
6389
$as_echo_n "checking for $ac_word... " >&6; }
6637
 
if test "${ac_cv_prog_AR+set}" = set; then
 
6390
if test "${ac_cv_prog_AR+set}" = set; then :
6638
6391
  $as_echo_n "(cached) " >&6
6639
6392
else
6640
6393
  if test -n "$AR"; then
6645
6398
do
6646
6399
  IFS=$as_save_IFS
6647
6400
  test -z "$as_dir" && as_dir=.
6648
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6401
    for ac_exec_ext in '' $ac_executable_extensions; do
6649
6402
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6650
6403
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6651
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6404
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6652
6405
    break 2
6653
6406
  fi
6654
6407
done
6655
 
done
 
6408
  done
6656
6409
IFS=$as_save_IFS
6657
6410
 
6658
6411
fi
6659
6412
fi
6660
6413
AR=$ac_cv_prog_AR
6661
6414
if test -n "$AR"; then
6662
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6415
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6663
6416
$as_echo "$AR" >&6; }
6664
6417
else
6665
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6418
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6666
6419
$as_echo "no" >&6; }
6667
6420
fi
6668
6421
 
6672
6425
  ac_ct_AR=$AR
6673
6426
  # Extract the first word of "ar", so it can be a program name with args.
6674
6427
set dummy ar; ac_word=$2
6675
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676
6429
$as_echo_n "checking for $ac_word... " >&6; }
6677
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
6430
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6678
6431
  $as_echo_n "(cached) " >&6
6679
6432
else
6680
6433
  if test -n "$ac_ct_AR"; then
6685
6438
do
6686
6439
  IFS=$as_save_IFS
6687
6440
  test -z "$as_dir" && as_dir=.
6688
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6441
    for ac_exec_ext in '' $ac_executable_extensions; do
6689
6442
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6690
6443
    ac_cv_prog_ac_ct_AR="ar"
6691
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6444
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6692
6445
    break 2
6693
6446
  fi
6694
6447
done
6695
 
done
 
6448
  done
6696
6449
IFS=$as_save_IFS
6697
6450
 
6698
6451
fi
6699
6452
fi
6700
6453
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6701
6454
if test -n "$ac_ct_AR"; then
6702
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6455
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6703
6456
$as_echo "$ac_ct_AR" >&6; }
6704
6457
else
6705
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6458
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706
6459
$as_echo "no" >&6; }
6707
6460
fi
6708
6461
 
6711
6464
  else
6712
6465
    case $cross_compiling:$ac_tool_warned in
6713
6466
yes:)
6714
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6467
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6715
6468
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6716
6469
ac_tool_warned=yes ;;
6717
6470
esac
6737
6490
if test -n "$ac_tool_prefix"; then
6738
6491
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6739
6492
set dummy ${ac_tool_prefix}strip; ac_word=$2
6740
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6741
6494
$as_echo_n "checking for $ac_word... " >&6; }
6742
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6495
if test "${ac_cv_prog_STRIP+set}" = set; then :
6743
6496
  $as_echo_n "(cached) " >&6
6744
6497
else
6745
6498
  if test -n "$STRIP"; then
6750
6503
do
6751
6504
  IFS=$as_save_IFS
6752
6505
  test -z "$as_dir" && as_dir=.
6753
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6506
    for ac_exec_ext in '' $ac_executable_extensions; do
6754
6507
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6755
6508
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6756
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6509
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6757
6510
    break 2
6758
6511
  fi
6759
6512
done
6760
 
done
 
6513
  done
6761
6514
IFS=$as_save_IFS
6762
6515
 
6763
6516
fi
6764
6517
fi
6765
6518
STRIP=$ac_cv_prog_STRIP
6766
6519
if test -n "$STRIP"; then
6767
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6520
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6768
6521
$as_echo "$STRIP" >&6; }
6769
6522
else
6770
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6523
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771
6524
$as_echo "no" >&6; }
6772
6525
fi
6773
6526
 
6777
6530
  ac_ct_STRIP=$STRIP
6778
6531
  # Extract the first word of "strip", so it can be a program name with args.
6779
6532
set dummy strip; ac_word=$2
6780
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781
6534
$as_echo_n "checking for $ac_word... " >&6; }
6782
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6535
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6783
6536
  $as_echo_n "(cached) " >&6
6784
6537
else
6785
6538
  if test -n "$ac_ct_STRIP"; then
6790
6543
do
6791
6544
  IFS=$as_save_IFS
6792
6545
  test -z "$as_dir" && as_dir=.
6793
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6546
    for ac_exec_ext in '' $ac_executable_extensions; do
6794
6547
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6795
6548
    ac_cv_prog_ac_ct_STRIP="strip"
6796
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6549
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797
6550
    break 2
6798
6551
  fi
6799
6552
done
6800
 
done
 
6553
  done
6801
6554
IFS=$as_save_IFS
6802
6555
 
6803
6556
fi
6804
6557
fi
6805
6558
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6806
6559
if test -n "$ac_ct_STRIP"; then
6807
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6560
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6808
6561
$as_echo "$ac_ct_STRIP" >&6; }
6809
6562
else
6810
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6563
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811
6564
$as_echo "no" >&6; }
6812
6565
fi
6813
6566
 
6816
6569
  else
6817
6570
    case $cross_compiling:$ac_tool_warned in
6818
6571
yes:)
6819
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6572
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6820
6573
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6821
6574
ac_tool_warned=yes ;;
6822
6575
esac
6836
6589
if test -n "$ac_tool_prefix"; then
6837
6590
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6838
6591
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6839
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6840
6593
$as_echo_n "checking for $ac_word... " >&6; }
6841
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6594
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6842
6595
  $as_echo_n "(cached) " >&6
6843
6596
else
6844
6597
  if test -n "$RANLIB"; then
6849
6602
do
6850
6603
  IFS=$as_save_IFS
6851
6604
  test -z "$as_dir" && as_dir=.
6852
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6605
    for ac_exec_ext in '' $ac_executable_extensions; do
6853
6606
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6854
6607
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6855
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6608
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6856
6609
    break 2
6857
6610
  fi
6858
6611
done
6859
 
done
 
6612
  done
6860
6613
IFS=$as_save_IFS
6861
6614
 
6862
6615
fi
6863
6616
fi
6864
6617
RANLIB=$ac_cv_prog_RANLIB
6865
6618
if test -n "$RANLIB"; then
6866
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6619
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6867
6620
$as_echo "$RANLIB" >&6; }
6868
6621
else
6869
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6622
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6870
6623
$as_echo "no" >&6; }
6871
6624
fi
6872
6625
 
6876
6629
  ac_ct_RANLIB=$RANLIB
6877
6630
  # Extract the first word of "ranlib", so it can be a program name with args.
6878
6631
set dummy ranlib; ac_word=$2
6879
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880
6633
$as_echo_n "checking for $ac_word... " >&6; }
6881
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6634
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6882
6635
  $as_echo_n "(cached) " >&6
6883
6636
else
6884
6637
  if test -n "$ac_ct_RANLIB"; then
6889
6642
do
6890
6643
  IFS=$as_save_IFS
6891
6644
  test -z "$as_dir" && as_dir=.
6892
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6645
    for ac_exec_ext in '' $ac_executable_extensions; do
6893
6646
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6894
6647
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6895
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6648
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896
6649
    break 2
6897
6650
  fi
6898
6651
done
6899
 
done
 
6652
  done
6900
6653
IFS=$as_save_IFS
6901
6654
 
6902
6655
fi
6903
6656
fi
6904
6657
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6905
6658
if test -n "$ac_ct_RANLIB"; then
6906
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6659
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6907
6660
$as_echo "$ac_ct_RANLIB" >&6; }
6908
6661
else
6909
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6662
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910
6663
$as_echo "no" >&6; }
6911
6664
fi
6912
6665
 
6915
6668
  else
6916
6669
    case $cross_compiling:$ac_tool_warned in
6917
6670
yes:)
6918
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6671
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6919
6672
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6920
6673
ac_tool_warned=yes ;;
6921
6674
esac
6993
6746
 
6994
6747
 
6995
6748
# Check for command to grab the raw symbol name followed by C symbol from nm.
6996
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6997
6750
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6998
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6751
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6999
6752
  $as_echo_n "(cached) " >&6
7000
6753
else
7001
6754
 
7111
6864
int main(){nm_test_var='a';nm_test_func();return(0);}
7112
6865
_LT_EOF
7113
6866
 
7114
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6867
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7115
6868
  (eval $ac_compile) 2>&5
7116
6869
  ac_status=$?
7117
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118
 
  (exit $ac_status); }; then
 
6870
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6871
  test $ac_status = 0; }; then
7119
6872
    # Now try to grab the symbols.
7120
6873
    nlist=conftest.nm
7121
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6874
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7122
6875
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7123
6876
  ac_status=$?
7124
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6877
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6878
  test $ac_status = 0; } && test -s "$nlist"; then
7126
6879
      # Try sorting and uniquifying the output.
7127
6880
      if sort "$nlist" | uniq > "$nlist"T; then
7128
6881
        mv -f "$nlist"T "$nlist"
7175
6928
          lt_save_CFLAGS="$CFLAGS"
7176
6929
          LIBS="conftstm.$ac_objext"
7177
6930
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7178
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6931
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7179
6932
  (eval $ac_link) 2>&5
7180
6933
  ac_status=$?
7181
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6934
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6935
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7183
6936
            pipe_works=yes
7184
6937
          fi
7185
6938
          LIBS="$lt_save_LIBS"
7213
6966
  lt_cv_sys_global_symbol_to_cdecl=
7214
6967
fi
7215
6968
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7216
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6969
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7217
6970
$as_echo "failed" >&6; }
7218
6971
else
7219
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6972
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7220
6973
$as_echo "ok" >&6; }
7221
6974
fi
7222
6975
 
7242
6995
 
7243
6996
 
7244
6997
# Check whether --enable-libtool-lock was given.
7245
 
if test "${enable_libtool_lock+set}" = set; then
 
6998
if test "${enable_libtool_lock+set}" = set; then :
7246
6999
  enableval=$enable_libtool_lock;
7247
7000
fi
7248
7001
 
7254
7007
ia64-*-hpux*)
7255
7008
  # Find out which ABI we are using.
7256
7009
  echo 'int i;' > conftest.$ac_ext
7257
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7010
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7258
7011
  (eval $ac_compile) 2>&5
7259
7012
  ac_status=$?
7260
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261
 
  (exit $ac_status); }; then
 
7013
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7014
  test $ac_status = 0; }; then
7262
7015
    case `/usr/bin/file conftest.$ac_objext` in
7263
7016
      *ELF-32*)
7264
7017
        HPUX_IA64_MODE="32"
7272
7025
  ;;
7273
7026
*-*-irix6*)
7274
7027
  # Find out which ABI we are using.
7275
 
  echo '#line 7275 "configure"' > conftest.$ac_ext
7276
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7028
  echo '#line 7028 "configure"' > conftest.$ac_ext
 
7029
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7277
7030
  (eval $ac_compile) 2>&5
7278
7031
  ac_status=$?
7279
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280
 
  (exit $ac_status); }; then
 
7032
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7033
  test $ac_status = 0; }; then
7281
7034
    if test "$lt_cv_prog_gnu_ld" = yes; then
7282
7035
      case `/usr/bin/file conftest.$ac_objext` in
7283
7036
        *32-bit*)
7311
7064
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7312
7065
  # Find out which ABI we are using.
7313
7066
  echo 'int i;' > conftest.$ac_ext
7314
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7067
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7315
7068
  (eval $ac_compile) 2>&5
7316
7069
  ac_status=$?
7317
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7318
 
  (exit $ac_status); }; then
 
7070
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7071
  test $ac_status = 0; }; then
7319
7072
    case `/usr/bin/file conftest.o` in
7320
7073
      *32-bit*)
7321
7074
        case $host in
7364
7117
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7365
7118
  SAVE_CFLAGS="$CFLAGS"
7366
7119
  CFLAGS="$CFLAGS -belf"
7367
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7120
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7368
7121
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7369
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7122
if test "${lt_cv_cc_needs_belf+set}" = set; then :
7370
7123
  $as_echo_n "(cached) " >&6
7371
7124
else
7372
7125
  ac_ext=c
7375
7128
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7376
7129
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7377
7130
 
7378
 
     cat >conftest.$ac_ext <<_ACEOF
7379
 
/* confdefs.h.  */
7380
 
_ACEOF
7381
 
cat confdefs.h >>conftest.$ac_ext
7382
 
cat >>conftest.$ac_ext <<_ACEOF
 
7131
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7383
7132
/* end confdefs.h.  */
7384
7133
 
7385
7134
int
7390
7139
  return 0;
7391
7140
}
7392
7141
_ACEOF
7393
 
rm -f conftest.$ac_objext conftest$ac_exeext
7394
 
if { (ac_try="$ac_link"
7395
 
case "(($ac_try" in
7396
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7397
 
  *) ac_try_echo=$ac_try;;
7398
 
esac
7399
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7400
 
$as_echo "$ac_try_echo") >&5
7401
 
  (eval "$ac_link") 2>conftest.er1
7402
 
  ac_status=$?
7403
 
  grep -v '^ *+' conftest.er1 >conftest.err
7404
 
  rm -f conftest.er1
7405
 
  cat conftest.err >&5
7406
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407
 
  (exit $ac_status); } && {
7408
 
         test -z "$ac_c_werror_flag" ||
7409
 
         test ! -s conftest.err
7410
 
       } && test -s conftest$ac_exeext && {
7411
 
         test "$cross_compiling" = yes ||
7412
 
         $as_test_x conftest$ac_exeext
7413
 
       }; then
 
7142
if ac_fn_c_try_link "$LINENO"; then :
7414
7143
  lt_cv_cc_needs_belf=yes
7415
7144
else
7416
 
  $as_echo "$as_me: failed program was:" >&5
7417
 
sed 's/^/| /' conftest.$ac_ext >&5
7418
 
 
7419
 
        lt_cv_cc_needs_belf=no
 
7145
  lt_cv_cc_needs_belf=no
7420
7146
fi
7421
 
 
7422
 
rm -rf conftest.dSYM
7423
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7424
 
      conftest$ac_exeext conftest.$ac_ext
 
7147
rm -f core conftest.err conftest.$ac_objext \
 
7148
    conftest$ac_exeext conftest.$ac_ext
7425
7149
     ac_ext=c
7426
7150
ac_cpp='$CPP $CPPFLAGS'
7427
7151
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7429
7153
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7430
7154
 
7431
7155
fi
7432
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7433
7157
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7434
7158
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7435
7159
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7439
7163
sparc*-*solaris*)
7440
7164
  # Find out which ABI we are using.
7441
7165
  echo 'int i;' > conftest.$ac_ext
7442
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7166
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7443
7167
  (eval $ac_compile) 2>&5
7444
7168
  ac_status=$?
7445
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446
 
  (exit $ac_status); }; then
 
7169
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7170
  test $ac_status = 0; }; then
7447
7171
    case `/usr/bin/file conftest.o` in
7448
7172
    *64-bit*)
7449
7173
      case $lt_cv_prog_gnu_ld in
7469
7193
    if test -n "$ac_tool_prefix"; then
7470
7194
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7471
7195
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7472
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473
7197
$as_echo_n "checking for $ac_word... " >&6; }
7474
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7198
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7475
7199
  $as_echo_n "(cached) " >&6
7476
7200
else
7477
7201
  if test -n "$DSYMUTIL"; then
7482
7206
do
7483
7207
  IFS=$as_save_IFS
7484
7208
  test -z "$as_dir" && as_dir=.
7485
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7209
    for ac_exec_ext in '' $ac_executable_extensions; do
7486
7210
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487
7211
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7488
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7212
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489
7213
    break 2
7490
7214
  fi
7491
7215
done
7492
 
done
 
7216
  done
7493
7217
IFS=$as_save_IFS
7494
7218
 
7495
7219
fi
7496
7220
fi
7497
7221
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7498
7222
if test -n "$DSYMUTIL"; then
7499
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7223
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7500
7224
$as_echo "$DSYMUTIL" >&6; }
7501
7225
else
7502
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7226
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503
7227
$as_echo "no" >&6; }
7504
7228
fi
7505
7229
 
7509
7233
  ac_ct_DSYMUTIL=$DSYMUTIL
7510
7234
  # Extract the first word of "dsymutil", so it can be a program name with args.
7511
7235
set dummy dsymutil; ac_word=$2
7512
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7513
7237
$as_echo_n "checking for $ac_word... " >&6; }
7514
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7238
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7515
7239
  $as_echo_n "(cached) " >&6
7516
7240
else
7517
7241
  if test -n "$ac_ct_DSYMUTIL"; then
7522
7246
do
7523
7247
  IFS=$as_save_IFS
7524
7248
  test -z "$as_dir" && as_dir=.
7525
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7249
    for ac_exec_ext in '' $ac_executable_extensions; do
7526
7250
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7527
7251
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7528
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7252
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7529
7253
    break 2
7530
7254
  fi
7531
7255
done
7532
 
done
 
7256
  done
7533
7257
IFS=$as_save_IFS
7534
7258
 
7535
7259
fi
7536
7260
fi
7537
7261
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7538
7262
if test -n "$ac_ct_DSYMUTIL"; then
7539
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7263
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7540
7264
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7541
7265
else
7542
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7266
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7543
7267
$as_echo "no" >&6; }
7544
7268
fi
7545
7269
 
7548
7272
  else
7549
7273
    case $cross_compiling:$ac_tool_warned in
7550
7274
yes:)
7551
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7275
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7552
7276
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7553
7277
ac_tool_warned=yes ;;
7554
7278
esac
7561
7285
    if test -n "$ac_tool_prefix"; then
7562
7286
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7563
7287
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7564
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565
7289
$as_echo_n "checking for $ac_word... " >&6; }
7566
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7290
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7567
7291
  $as_echo_n "(cached) " >&6
7568
7292
else
7569
7293
  if test -n "$NMEDIT"; then
7574
7298
do
7575
7299
  IFS=$as_save_IFS
7576
7300
  test -z "$as_dir" && as_dir=.
7577
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7301
    for ac_exec_ext in '' $ac_executable_extensions; do
7578
7302
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579
7303
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7580
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7304
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581
7305
    break 2
7582
7306
  fi
7583
7307
done
7584
 
done
 
7308
  done
7585
7309
IFS=$as_save_IFS
7586
7310
 
7587
7311
fi
7588
7312
fi
7589
7313
NMEDIT=$ac_cv_prog_NMEDIT
7590
7314
if test -n "$NMEDIT"; then
7591
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7315
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7592
7316
$as_echo "$NMEDIT" >&6; }
7593
7317
else
7594
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7318
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595
7319
$as_echo "no" >&6; }
7596
7320
fi
7597
7321
 
7601
7325
  ac_ct_NMEDIT=$NMEDIT
7602
7326
  # Extract the first word of "nmedit", so it can be a program name with args.
7603
7327
set dummy nmedit; ac_word=$2
7604
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7605
7329
$as_echo_n "checking for $ac_word... " >&6; }
7606
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7330
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7607
7331
  $as_echo_n "(cached) " >&6
7608
7332
else
7609
7333
  if test -n "$ac_ct_NMEDIT"; then
7614
7338
do
7615
7339
  IFS=$as_save_IFS
7616
7340
  test -z "$as_dir" && as_dir=.
7617
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7341
    for ac_exec_ext in '' $ac_executable_extensions; do
7618
7342
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7619
7343
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7620
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7344
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7621
7345
    break 2
7622
7346
  fi
7623
7347
done
7624
 
done
 
7348
  done
7625
7349
IFS=$as_save_IFS
7626
7350
 
7627
7351
fi
7628
7352
fi
7629
7353
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7630
7354
if test -n "$ac_ct_NMEDIT"; then
7631
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7355
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7632
7356
$as_echo "$ac_ct_NMEDIT" >&6; }
7633
7357
else
7634
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7635
7359
$as_echo "no" >&6; }
7636
7360
fi
7637
7361
 
7640
7364
  else
7641
7365
    case $cross_compiling:$ac_tool_warned in
7642
7366
yes:)
7643
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7367
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7644
7368
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7645
7369
ac_tool_warned=yes ;;
7646
7370
esac
7653
7377
    if test -n "$ac_tool_prefix"; then
7654
7378
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7655
7379
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7656
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7657
7381
$as_echo_n "checking for $ac_word... " >&6; }
7658
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7382
if test "${ac_cv_prog_LIPO+set}" = set; then :
7659
7383
  $as_echo_n "(cached) " >&6
7660
7384
else
7661
7385
  if test -n "$LIPO"; then
7666
7390
do
7667
7391
  IFS=$as_save_IFS
7668
7392
  test -z "$as_dir" && as_dir=.
7669
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7393
    for ac_exec_ext in '' $ac_executable_extensions; do
7670
7394
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7671
7395
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7672
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7396
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673
7397
    break 2
7674
7398
  fi
7675
7399
done
7676
 
done
 
7400
  done
7677
7401
IFS=$as_save_IFS
7678
7402
 
7679
7403
fi
7680
7404
fi
7681
7405
LIPO=$ac_cv_prog_LIPO
7682
7406
if test -n "$LIPO"; then
7683
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7407
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7684
7408
$as_echo "$LIPO" >&6; }
7685
7409
else
7686
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7687
7411
$as_echo "no" >&6; }
7688
7412
fi
7689
7413
 
7693
7417
  ac_ct_LIPO=$LIPO
7694
7418
  # Extract the first word of "lipo", so it can be a program name with args.
7695
7419
set dummy lipo; ac_word=$2
7696
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7697
7421
$as_echo_n "checking for $ac_word... " >&6; }
7698
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7422
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7699
7423
  $as_echo_n "(cached) " >&6
7700
7424
else
7701
7425
  if test -n "$ac_ct_LIPO"; then
7706
7430
do
7707
7431
  IFS=$as_save_IFS
7708
7432
  test -z "$as_dir" && as_dir=.
7709
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7433
    for ac_exec_ext in '' $ac_executable_extensions; do
7710
7434
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7711
7435
    ac_cv_prog_ac_ct_LIPO="lipo"
7712
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7436
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7713
7437
    break 2
7714
7438
  fi
7715
7439
done
7716
 
done
 
7440
  done
7717
7441
IFS=$as_save_IFS
7718
7442
 
7719
7443
fi
7720
7444
fi
7721
7445
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7722
7446
if test -n "$ac_ct_LIPO"; then
7723
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7447
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7724
7448
$as_echo "$ac_ct_LIPO" >&6; }
7725
7449
else
7726
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7450
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7727
7451
$as_echo "no" >&6; }
7728
7452
fi
7729
7453
 
7732
7456
  else
7733
7457
    case $cross_compiling:$ac_tool_warned in
7734
7458
yes:)
7735
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7459
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7736
7460
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7737
7461
ac_tool_warned=yes ;;
7738
7462
esac
7745
7469
    if test -n "$ac_tool_prefix"; then
7746
7470
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7747
7471
set dummy ${ac_tool_prefix}otool; ac_word=$2
7748
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749
7473
$as_echo_n "checking for $ac_word... " >&6; }
7750
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7474
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7751
7475
  $as_echo_n "(cached) " >&6
7752
7476
else
7753
7477
  if test -n "$OTOOL"; then
7758
7482
do
7759
7483
  IFS=$as_save_IFS
7760
7484
  test -z "$as_dir" && as_dir=.
7761
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7485
    for ac_exec_ext in '' $ac_executable_extensions; do
7762
7486
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7763
7487
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7764
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7488
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765
7489
    break 2
7766
7490
  fi
7767
7491
done
7768
 
done
 
7492
  done
7769
7493
IFS=$as_save_IFS
7770
7494
 
7771
7495
fi
7772
7496
fi
7773
7497
OTOOL=$ac_cv_prog_OTOOL
7774
7498
if test -n "$OTOOL"; then
7775
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7499
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7776
7500
$as_echo "$OTOOL" >&6; }
7777
7501
else
7778
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7502
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779
7503
$as_echo "no" >&6; }
7780
7504
fi
7781
7505
 
7785
7509
  ac_ct_OTOOL=$OTOOL
7786
7510
  # Extract the first word of "otool", so it can be a program name with args.
7787
7511
set dummy otool; ac_word=$2
7788
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7789
7513
$as_echo_n "checking for $ac_word... " >&6; }
7790
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7514
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7791
7515
  $as_echo_n "(cached) " >&6
7792
7516
else
7793
7517
  if test -n "$ac_ct_OTOOL"; then
7798
7522
do
7799
7523
  IFS=$as_save_IFS
7800
7524
  test -z "$as_dir" && as_dir=.
7801
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7525
    for ac_exec_ext in '' $ac_executable_extensions; do
7802
7526
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7803
7527
    ac_cv_prog_ac_ct_OTOOL="otool"
7804
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7528
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7805
7529
    break 2
7806
7530
  fi
7807
7531
done
7808
 
done
 
7532
  done
7809
7533
IFS=$as_save_IFS
7810
7534
 
7811
7535
fi
7812
7536
fi
7813
7537
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7814
7538
if test -n "$ac_ct_OTOOL"; then
7815
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7539
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7816
7540
$as_echo "$ac_ct_OTOOL" >&6; }
7817
7541
else
7818
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7542
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7819
7543
$as_echo "no" >&6; }
7820
7544
fi
7821
7545
 
7824
7548
  else
7825
7549
    case $cross_compiling:$ac_tool_warned in
7826
7550
yes:)
7827
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7551
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7828
7552
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7829
7553
ac_tool_warned=yes ;;
7830
7554
esac
7837
7561
    if test -n "$ac_tool_prefix"; then
7838
7562
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7839
7563
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7840
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7841
7565
$as_echo_n "checking for $ac_word... " >&6; }
7842
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7566
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7843
7567
  $as_echo_n "(cached) " >&6
7844
7568
else
7845
7569
  if test -n "$OTOOL64"; then
7850
7574
do
7851
7575
  IFS=$as_save_IFS
7852
7576
  test -z "$as_dir" && as_dir=.
7853
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7577
    for ac_exec_ext in '' $ac_executable_extensions; do
7854
7578
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7855
7579
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7856
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7580
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7857
7581
    break 2
7858
7582
  fi
7859
7583
done
7860
 
done
 
7584
  done
7861
7585
IFS=$as_save_IFS
7862
7586
 
7863
7587
fi
7864
7588
fi
7865
7589
OTOOL64=$ac_cv_prog_OTOOL64
7866
7590
if test -n "$OTOOL64"; then
7867
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7868
7592
$as_echo "$OTOOL64" >&6; }
7869
7593
else
7870
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7871
7595
$as_echo "no" >&6; }
7872
7596
fi
7873
7597
 
7877
7601
  ac_ct_OTOOL64=$OTOOL64
7878
7602
  # Extract the first word of "otool64", so it can be a program name with args.
7879
7603
set dummy otool64; ac_word=$2
7880
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7881
7605
$as_echo_n "checking for $ac_word... " >&6; }
7882
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7606
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7883
7607
  $as_echo_n "(cached) " >&6
7884
7608
else
7885
7609
  if test -n "$ac_ct_OTOOL64"; then
7890
7614
do
7891
7615
  IFS=$as_save_IFS
7892
7616
  test -z "$as_dir" && as_dir=.
7893
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7617
    for ac_exec_ext in '' $ac_executable_extensions; do
7894
7618
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7895
7619
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7896
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7620
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7897
7621
    break 2
7898
7622
  fi
7899
7623
done
7900
 
done
 
7624
  done
7901
7625
IFS=$as_save_IFS
7902
7626
 
7903
7627
fi
7904
7628
fi
7905
7629
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7906
7630
if test -n "$ac_ct_OTOOL64"; then
7907
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7631
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7908
7632
$as_echo "$ac_ct_OTOOL64" >&6; }
7909
7633
else
7910
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7634
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911
7635
$as_echo "no" >&6; }
7912
7636
fi
7913
7637
 
7916
7640
  else
7917
7641
    case $cross_compiling:$ac_tool_warned in
7918
7642
yes:)
7919
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7643
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7920
7644
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7921
7645
ac_tool_warned=yes ;;
7922
7646
esac
7952
7676
 
7953
7677
 
7954
7678
 
7955
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7679
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7956
7680
$as_echo_n "checking for -single_module linker flag... " >&6; }
7957
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7681
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7958
7682
  $as_echo_n "(cached) " >&6
7959
7683
else
7960
7684
  lt_cv_apple_cc_single_mod=no
7979
7703
        rm -f conftest.*
7980
7704
      fi
7981
7705
fi
7982
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7706
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7983
7707
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7984
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7708
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7985
7709
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7986
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7710
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7987
7711
  $as_echo_n "(cached) " >&6
7988
7712
else
7989
7713
  lt_cv_ld_exported_symbols_list=no
7990
7714
      save_LDFLAGS=$LDFLAGS
7991
7715
      echo "_main" > conftest.sym
7992
7716
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7993
 
      cat >conftest.$ac_ext <<_ACEOF
7994
 
/* confdefs.h.  */
7995
 
_ACEOF
7996
 
cat confdefs.h >>conftest.$ac_ext
7997
 
cat >>conftest.$ac_ext <<_ACEOF
 
7717
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7998
7718
/* end confdefs.h.  */
7999
7719
 
8000
7720
int
8005
7725
  return 0;
8006
7726
}
8007
7727
_ACEOF
8008
 
rm -f conftest.$ac_objext conftest$ac_exeext
8009
 
if { (ac_try="$ac_link"
8010
 
case "(($ac_try" in
8011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8012
 
  *) ac_try_echo=$ac_try;;
8013
 
esac
8014
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8015
 
$as_echo "$ac_try_echo") >&5
8016
 
  (eval "$ac_link") 2>conftest.er1
8017
 
  ac_status=$?
8018
 
  grep -v '^ *+' conftest.er1 >conftest.err
8019
 
  rm -f conftest.er1
8020
 
  cat conftest.err >&5
8021
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022
 
  (exit $ac_status); } && {
8023
 
         test -z "$ac_c_werror_flag" ||
8024
 
         test ! -s conftest.err
8025
 
       } && test -s conftest$ac_exeext && {
8026
 
         test "$cross_compiling" = yes ||
8027
 
         $as_test_x conftest$ac_exeext
8028
 
       }; then
 
7728
if ac_fn_c_try_link "$LINENO"; then :
8029
7729
  lt_cv_ld_exported_symbols_list=yes
8030
7730
else
8031
 
  $as_echo "$as_me: failed program was:" >&5
8032
 
sed 's/^/| /' conftest.$ac_ext >&5
8033
 
 
8034
 
        lt_cv_ld_exported_symbols_list=no
 
7731
  lt_cv_ld_exported_symbols_list=no
8035
7732
fi
8036
 
 
8037
 
rm -rf conftest.dSYM
8038
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8039
 
      conftest$ac_exeext conftest.$ac_ext
 
7733
rm -f core conftest.err conftest.$ac_objext \
 
7734
    conftest$ac_exeext conftest.$ac_ext
8040
7735
        LDFLAGS="$save_LDFLAGS"
8041
7736
 
8042
7737
fi
8043
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8044
7739
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8045
7740
    case $host_os in
8046
7741
    rhapsody* | darwin1.[012])
8078
7773
  esac
8079
7774
 
8080
7775
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8081
 
 
8082
 
 
8083
 
 
8084
 
 
8085
 
 
8086
 
 
8087
 
 
8088
 
 
8089
 
 
8090
7776
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8091
7777
                  inttypes.h stdint.h unistd.h
8092
 
do
8093
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8094
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8095
 
$as_echo_n "checking for $ac_header... " >&6; }
8096
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8097
 
  $as_echo_n "(cached) " >&6
8098
 
else
8099
 
  cat >conftest.$ac_ext <<_ACEOF
8100
 
/* confdefs.h.  */
8101
 
_ACEOF
8102
 
cat confdefs.h >>conftest.$ac_ext
8103
 
cat >>conftest.$ac_ext <<_ACEOF
8104
 
/* end confdefs.h.  */
8105
 
$ac_includes_default
8106
 
 
8107
 
#include <$ac_header>
8108
 
_ACEOF
8109
 
rm -f conftest.$ac_objext
8110
 
if { (ac_try="$ac_compile"
8111
 
case "(($ac_try" in
8112
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8113
 
  *) ac_try_echo=$ac_try;;
8114
 
esac
8115
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8116
 
$as_echo "$ac_try_echo") >&5
8117
 
  (eval "$ac_compile") 2>conftest.er1
8118
 
  ac_status=$?
8119
 
  grep -v '^ *+' conftest.er1 >conftest.err
8120
 
  rm -f conftest.er1
8121
 
  cat conftest.err >&5
8122
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123
 
  (exit $ac_status); } && {
8124
 
         test -z "$ac_c_werror_flag" ||
8125
 
         test ! -s conftest.err
8126
 
       } && test -s conftest.$ac_objext; then
8127
 
  eval "$as_ac_Header=yes"
8128
 
else
8129
 
  $as_echo "$as_me: failed program was:" >&5
8130
 
sed 's/^/| /' conftest.$ac_ext >&5
8131
 
 
8132
 
        eval "$as_ac_Header=no"
8133
 
fi
8134
 
 
8135
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8136
 
fi
8137
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
8138
 
                 $as_echo "$as_val"'`
8139
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8140
 
$as_echo "$ac_res" >&6; }
8141
 
as_val=`eval 'as_val=${'$as_ac_Header'}
8142
 
                 $as_echo "$as_val"'`
8143
 
   if test "x$as_val" = x""yes; then
 
7778
do :
 
7779
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7780
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7781
"
 
7782
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8144
7783
  cat >>confdefs.h <<_ACEOF
8145
7784
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8146
7785
_ACEOF
8150
7789
done
8151
7790
 
8152
7791
 
8153
 
 
8154
7792
for ac_header in dlfcn.h
8155
 
do
8156
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8157
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8158
 
$as_echo_n "checking for $ac_header... " >&6; }
8159
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8160
 
  $as_echo_n "(cached) " >&6
8161
 
else
8162
 
  cat >conftest.$ac_ext <<_ACEOF
8163
 
/* confdefs.h.  */
8164
 
_ACEOF
8165
 
cat confdefs.h >>conftest.$ac_ext
8166
 
cat >>conftest.$ac_ext <<_ACEOF
8167
 
/* end confdefs.h.  */
8168
 
$ac_includes_default
8169
 
 
8170
 
#include <$ac_header>
8171
 
_ACEOF
8172
 
rm -f conftest.$ac_objext
8173
 
if { (ac_try="$ac_compile"
8174
 
case "(($ac_try" in
8175
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8176
 
  *) ac_try_echo=$ac_try;;
8177
 
esac
8178
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8179
 
$as_echo "$ac_try_echo") >&5
8180
 
  (eval "$ac_compile") 2>conftest.er1
8181
 
  ac_status=$?
8182
 
  grep -v '^ *+' conftest.er1 >conftest.err
8183
 
  rm -f conftest.er1
8184
 
  cat conftest.err >&5
8185
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186
 
  (exit $ac_status); } && {
8187
 
         test -z "$ac_c_werror_flag" ||
8188
 
         test ! -s conftest.err
8189
 
       } && test -s conftest.$ac_objext; then
8190
 
  eval "$as_ac_Header=yes"
8191
 
else
8192
 
  $as_echo "$as_me: failed program was:" >&5
8193
 
sed 's/^/| /' conftest.$ac_ext >&5
8194
 
 
8195
 
        eval "$as_ac_Header=no"
8196
 
fi
8197
 
 
8198
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8199
 
fi
8200
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
8201
 
                 $as_echo "$as_val"'`
8202
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8203
 
$as_echo "$ac_res" >&6; }
8204
 
as_val=`eval 'as_val=${'$as_ac_Header'}
8205
 
                 $as_echo "$as_val"'`
8206
 
   if test "x$as_val" = x""yes; then
 
7793
do :
 
7794
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7795
"
 
7796
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8207
7797
  cat >>confdefs.h <<_ACEOF
8208
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7798
#define HAVE_DLFCN_H 1
8209
7799
_ACEOF
8210
7800
 
8211
7801
fi
8225
7815
 
8226
7816
 
8227
7817
            # Check whether --enable-shared was given.
8228
 
if test "${enable_shared+set}" = set; then
 
7818
if test "${enable_shared+set}" = set; then :
8229
7819
  enableval=$enable_shared; p=${PACKAGE-default}
8230
7820
    case $enableval in
8231
7821
    yes) enable_shared=yes ;;
8256
7846
 
8257
7847
 
8258
7848
  # Check whether --enable-static was given.
8259
 
if test "${enable_static+set}" = set; then
 
7849
if test "${enable_static+set}" = set; then :
8260
7850
  enableval=$enable_static; p=${PACKAGE-default}
8261
7851
    case $enableval in
8262
7852
    yes) enable_static=yes ;;
8288
7878
 
8289
7879
 
8290
7880
# Check whether --with-pic was given.
8291
 
if test "${with_pic+set}" = set; then
 
7881
if test "${with_pic+set}" = set; then :
8292
7882
  withval=$with_pic; pic_mode="$withval"
8293
7883
else
8294
7884
  pic_mode=default
8304
7894
 
8305
7895
 
8306
7896
  # Check whether --enable-fast-install was given.
8307
 
if test "${enable_fast_install+set}" = set; then
 
7897
if test "${enable_fast_install+set}" = set; then :
8308
7898
  enableval=$enable_fast_install; p=${PACKAGE-default}
8309
7899
    case $enableval in
8310
7900
    yes) enable_fast_install=yes ;;
8385
7975
   setopt NO_GLOB_SUBST
8386
7976
fi
8387
7977
 
8388
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8389
7979
$as_echo_n "checking for objdir... " >&6; }
8390
 
if test "${lt_cv_objdir+set}" = set; then
 
7980
if test "${lt_cv_objdir+set}" = set; then :
8391
7981
  $as_echo_n "(cached) " >&6
8392
7982
else
8393
7983
  rm -f .libs 2>/dev/null
8400
7990
fi
8401
7991
rmdir .libs 2>/dev/null
8402
7992
fi
8403
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8404
7994
$as_echo "$lt_cv_objdir" >&6; }
8405
7995
objdir=$lt_cv_objdir
8406
7996
 
8493
8083
case $deplibs_check_method in
8494
8084
file_magic*)
8495
8085
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8496
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8086
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8497
8087
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8498
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8088
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8499
8089
  $as_echo_n "(cached) " >&6
8500
8090
else
8501
8091
  case $MAGIC_CMD in
8546
8136
 
8547
8137
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8548
8138
if test -n "$MAGIC_CMD"; then
8549
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8139
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8550
8140
$as_echo "$MAGIC_CMD" >&6; }
8551
8141
else
8552
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8142
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8553
8143
$as_echo "no" >&6; }
8554
8144
fi
8555
8145
 
8559
8149
 
8560
8150
if test -z "$lt_cv_path_MAGIC_CMD"; then
8561
8151
  if test -n "$ac_tool_prefix"; then
8562
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8152
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8563
8153
$as_echo_n "checking for file... " >&6; }
8564
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8154
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8565
8155
  $as_echo_n "(cached) " >&6
8566
8156
else
8567
8157
  case $MAGIC_CMD in
8612
8202
 
8613
8203
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8614
8204
if test -n "$MAGIC_CMD"; then
8615
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8205
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8616
8206
$as_echo "$MAGIC_CMD" >&6; }
8617
8207
else
8618
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8619
8209
$as_echo "no" >&6; }
8620
8210
fi
8621
8211
 
8692
8282
if test "$GCC" = yes; then
8693
8283
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8694
8284
 
8695
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8285
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8696
8286
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8697
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
8287
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8698
8288
  $as_echo_n "(cached) " >&6
8699
8289
else
8700
8290
  lt_cv_prog_compiler_rtti_exceptions=no
8710
8300
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8711
8301
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8712
8302
   -e 's:$: $lt_compiler_flag:'`
8713
 
   (eval echo "\"\$as_me:8713: $lt_compile\"" >&5)
 
8303
   (eval echo "\"\$as_me:8303: $lt_compile\"" >&5)
8714
8304
   (eval "$lt_compile" 2>conftest.err)
8715
8305
   ac_status=$?
8716
8306
   cat conftest.err >&5
8717
 
   echo "$as_me:8717: \$? = $ac_status" >&5
 
8307
   echo "$as_me:8307: \$? = $ac_status" >&5
8718
8308
   if (exit $ac_status) && test -s "$ac_outfile"; then
8719
8309
     # The compiler can only warn and ignore the option if not recognized
8720
8310
     # So say no if there are warnings other than the usual output.
8727
8317
   $RM conftest*
8728
8318
 
8729
8319
fi
8730
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8320
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8731
8321
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8732
8322
 
8733
8323
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8747
8337
lt_prog_compiler_pic=
8748
8338
lt_prog_compiler_static=
8749
8339
 
8750
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8751
8341
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8752
8342
 
8753
8343
  if test "$GCC" = yes; then
8879
8469
      lt_prog_compiler_static='-non_shared'
8880
8470
      ;;
8881
8471
 
8882
 
    linux* | k*bsd*-gnu)
 
8472
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8883
8473
      case $cc_basename in
8884
8474
      # old Intel for x86_64 which still supported -KPIC.
8885
8475
      ecc*)
9019
8609
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9020
8610
    ;;
9021
8611
esac
9022
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9023
8613
$as_echo "$lt_prog_compiler_pic" >&6; }
9024
8614
 
9025
8615
 
9031
8621
# Check to make sure the PIC flag actually works.
9032
8622
#
9033
8623
if test -n "$lt_prog_compiler_pic"; then
9034
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8624
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9035
8625
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9036
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8626
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9037
8627
  $as_echo_n "(cached) " >&6
9038
8628
else
9039
8629
  lt_cv_prog_compiler_pic_works=no
9049
8639
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9050
8640
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9051
8641
   -e 's:$: $lt_compiler_flag:'`
9052
 
   (eval echo "\"\$as_me:9052: $lt_compile\"" >&5)
 
8642
   (eval echo "\"\$as_me:8642: $lt_compile\"" >&5)
9053
8643
   (eval "$lt_compile" 2>conftest.err)
9054
8644
   ac_status=$?
9055
8645
   cat conftest.err >&5
9056
 
   echo "$as_me:9056: \$? = $ac_status" >&5
 
8646
   echo "$as_me:8646: \$? = $ac_status" >&5
9057
8647
   if (exit $ac_status) && test -s "$ac_outfile"; then
9058
8648
     # The compiler can only warn and ignore the option if not recognized
9059
8649
     # So say no if there are warnings other than the usual output.
9066
8656
   $RM conftest*
9067
8657
 
9068
8658
fi
9069
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9070
8660
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9071
8661
 
9072
8662
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9090
8680
# Check to make sure the static flag actually works.
9091
8681
#
9092
8682
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9093
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9094
8684
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9095
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8685
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9096
8686
  $as_echo_n "(cached) " >&6
9097
8687
else
9098
8688
  lt_cv_prog_compiler_static_works=no
9118
8708
   LDFLAGS="$save_LDFLAGS"
9119
8709
 
9120
8710
fi
9121
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9122
8712
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9123
8713
 
9124
8714
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9133
8723
 
9134
8724
 
9135
8725
 
9136
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8726
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9137
8727
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9138
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8728
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9139
8729
  $as_echo_n "(cached) " >&6
9140
8730
else
9141
8731
  lt_cv_prog_compiler_c_o=no
9154
8744
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9155
8745
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9156
8746
   -e 's:$: $lt_compiler_flag:'`
9157
 
   (eval echo "\"\$as_me:9157: $lt_compile\"" >&5)
 
8747
   (eval echo "\"\$as_me:8747: $lt_compile\"" >&5)
9158
8748
   (eval "$lt_compile" 2>out/conftest.err)
9159
8749
   ac_status=$?
9160
8750
   cat out/conftest.err >&5
9161
 
   echo "$as_me:9161: \$? = $ac_status" >&5
 
8751
   echo "$as_me:8751: \$? = $ac_status" >&5
9162
8752
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9163
8753
   then
9164
8754
     # The compiler can only warn and ignore the option if not recognized
9180
8770
   $RM conftest*
9181
8771
 
9182
8772
fi
9183
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9184
8774
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9185
8775
 
9186
8776
 
9188
8778
 
9189
8779
 
9190
8780
 
9191
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8781
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9192
8782
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9193
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8783
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9194
8784
  $as_echo_n "(cached) " >&6
9195
8785
else
9196
8786
  lt_cv_prog_compiler_c_o=no
9209
8799
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9210
8800
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9211
8801
   -e 's:$: $lt_compiler_flag:'`
9212
 
   (eval echo "\"\$as_me:9212: $lt_compile\"" >&5)
 
8802
   (eval echo "\"\$as_me:8802: $lt_compile\"" >&5)
9213
8803
   (eval "$lt_compile" 2>out/conftest.err)
9214
8804
   ac_status=$?
9215
8805
   cat out/conftest.err >&5
9216
 
   echo "$as_me:9216: \$? = $ac_status" >&5
 
8806
   echo "$as_me:8806: \$? = $ac_status" >&5
9217
8807
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9218
8808
   then
9219
8809
     # The compiler can only warn and ignore the option if not recognized
9235
8825
   $RM conftest*
9236
8826
 
9237
8827
fi
9238
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9239
8829
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9240
8830
 
9241
8831
 
9244
8834
hard_links="nottested"
9245
8835
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9246
8836
  # do not overwrite the value of need_locks provided by the user
9247
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8837
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9248
8838
$as_echo_n "checking if we can lock with hard links... " >&6; }
9249
8839
  hard_links=yes
9250
8840
  $RM conftest*
9252
8842
  touch conftest.a
9253
8843
  ln conftest.a conftest.b 2>&5 || hard_links=no
9254
8844
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9255
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8845
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9256
8846
$as_echo "$hard_links" >&6; }
9257
8847
  if test "$hard_links" = no; then
9258
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8848
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9259
8849
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9260
8850
    need_locks=warn
9261
8851
  fi
9268
8858
 
9269
8859
 
9270
8860
 
9271
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8861
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9272
8862
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9273
8863
 
9274
8864
  runpath_var=
9328
8918
  openbsd*)
9329
8919
    with_gnu_ld=no
9330
8920
    ;;
 
8921
  linux* | k*bsd*-gnu)
 
8922
    link_all_deplibs=no
 
8923
    ;;
9331
8924
  esac
9332
8925
 
9333
8926
  ld_shlibs=yes
9349
8942
    fi
9350
8943
    supports_anon_versioning=no
9351
8944
    case `$LD -v 2>&1` in
 
8945
      *GNU\ gold*) supports_anon_versioning=yes ;;
9352
8946
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9353
8947
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9354
8948
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9440
9034
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9441
9035
      ;;
9442
9036
 
9443
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9037
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9444
9038
      tmp_diet=no
9445
9039
      if test "$host_os" = linux-dietlibc; then
9446
9040
        case $cc_basename in
9510
9104
      fi
9511
9105
      ;;
9512
9106
 
9513
 
    netbsd*)
 
9107
    netbsd* | netbsdelf*-gnu)
9514
9108
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9515
9109
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9516
9110
        wlarc=
9685
9279
        if test "$aix_use_runtimelinking" = yes; then
9686
9280
          shared_flag="$shared_flag "'${wl}-G'
9687
9281
        fi
 
9282
        link_all_deplibs=no
9688
9283
      else
9689
9284
        # not using gcc
9690
9285
        if test "$host_cpu" = ia64; then
9710
9305
        allow_undefined_flag='-berok'
9711
9306
        # Determine the default libpath from the value encoded in an
9712
9307
        # empty executable.
9713
 
        cat >conftest.$ac_ext <<_ACEOF
9714
 
/* confdefs.h.  */
9715
 
_ACEOF
9716
 
cat confdefs.h >>conftest.$ac_ext
9717
 
cat >>conftest.$ac_ext <<_ACEOF
 
9308
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9718
9309
/* end confdefs.h.  */
9719
9310
 
9720
9311
int
9725
9316
  return 0;
9726
9317
}
9727
9318
_ACEOF
9728
 
rm -f conftest.$ac_objext conftest$ac_exeext
9729
 
if { (ac_try="$ac_link"
9730
 
case "(($ac_try" in
9731
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9732
 
  *) ac_try_echo=$ac_try;;
9733
 
esac
9734
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9735
 
$as_echo "$ac_try_echo") >&5
9736
 
  (eval "$ac_link") 2>conftest.er1
9737
 
  ac_status=$?
9738
 
  grep -v '^ *+' conftest.er1 >conftest.err
9739
 
  rm -f conftest.er1
9740
 
  cat conftest.err >&5
9741
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742
 
  (exit $ac_status); } && {
9743
 
         test -z "$ac_c_werror_flag" ||
9744
 
         test ! -s conftest.err
9745
 
       } && test -s conftest$ac_exeext && {
9746
 
         test "$cross_compiling" = yes ||
9747
 
         $as_test_x conftest$ac_exeext
9748
 
       }; then
 
9319
if ac_fn_c_try_link "$LINENO"; then :
9749
9320
 
9750
9321
lt_aix_libpath_sed='
9751
9322
    /Import File Strings/,/^$/ {
9759
9330
if test -z "$aix_libpath"; then
9760
9331
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9761
9332
fi
9762
 
else
9763
 
  $as_echo "$as_me: failed program was:" >&5
9764
 
sed 's/^/| /' conftest.$ac_ext >&5
9765
 
 
9766
 
 
9767
9333
fi
9768
 
 
9769
 
rm -rf conftest.dSYM
9770
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9771
 
      conftest$ac_exeext conftest.$ac_ext
 
9334
rm -f core conftest.err conftest.$ac_objext \
 
9335
    conftest$ac_exeext conftest.$ac_ext
9772
9336
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9773
9337
 
9774
9338
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9781
9345
        else
9782
9346
         # Determine the default libpath from the value encoded in an
9783
9347
         # empty executable.
9784
 
         cat >conftest.$ac_ext <<_ACEOF
9785
 
/* confdefs.h.  */
9786
 
_ACEOF
9787
 
cat confdefs.h >>conftest.$ac_ext
9788
 
cat >>conftest.$ac_ext <<_ACEOF
 
9348
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9789
9349
/* end confdefs.h.  */
9790
9350
 
9791
9351
int
9796
9356
  return 0;
9797
9357
}
9798
9358
_ACEOF
9799
 
rm -f conftest.$ac_objext conftest$ac_exeext
9800
 
if { (ac_try="$ac_link"
9801
 
case "(($ac_try" in
9802
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9803
 
  *) ac_try_echo=$ac_try;;
9804
 
esac
9805
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9806
 
$as_echo "$ac_try_echo") >&5
9807
 
  (eval "$ac_link") 2>conftest.er1
9808
 
  ac_status=$?
9809
 
  grep -v '^ *+' conftest.er1 >conftest.err
9810
 
  rm -f conftest.er1
9811
 
  cat conftest.err >&5
9812
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813
 
  (exit $ac_status); } && {
9814
 
         test -z "$ac_c_werror_flag" ||
9815
 
         test ! -s conftest.err
9816
 
       } && test -s conftest$ac_exeext && {
9817
 
         test "$cross_compiling" = yes ||
9818
 
         $as_test_x conftest$ac_exeext
9819
 
       }; then
 
9359
if ac_fn_c_try_link "$LINENO"; then :
9820
9360
 
9821
9361
lt_aix_libpath_sed='
9822
9362
    /Import File Strings/,/^$/ {
9830
9370
if test -z "$aix_libpath"; then
9831
9371
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9832
9372
fi
9833
 
else
9834
 
  $as_echo "$as_me: failed program was:" >&5
9835
 
sed 's/^/| /' conftest.$ac_ext >&5
9836
 
 
9837
 
 
9838
9373
fi
9839
 
 
9840
 
rm -rf conftest.dSYM
9841
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9842
 
      conftest$ac_exeext conftest.$ac_ext
 
9374
rm -f core conftest.err conftest.$ac_objext \
 
9375
    conftest$ac_exeext conftest.$ac_ext
9843
9376
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9844
9377
 
9845
9378
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10051
9584
        # implicitly export all symbols.
10052
9585
        save_LDFLAGS="$LDFLAGS"
10053
9586
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10054
 
        cat >conftest.$ac_ext <<_ACEOF
 
9587
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9588
/* end confdefs.h.  */
10055
9589
int foo(void) {}
10056
9590
_ACEOF
10057
 
rm -f conftest.$ac_objext conftest$ac_exeext
10058
 
if { (ac_try="$ac_link"
10059
 
case "(($ac_try" in
10060
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10061
 
  *) ac_try_echo=$ac_try;;
10062
 
esac
10063
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10064
 
$as_echo "$ac_try_echo") >&5
10065
 
  (eval "$ac_link") 2>conftest.er1
10066
 
  ac_status=$?
10067
 
  grep -v '^ *+' conftest.er1 >conftest.err
10068
 
  rm -f conftest.er1
10069
 
  cat conftest.err >&5
10070
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071
 
  (exit $ac_status); } && {
10072
 
         test -z "$ac_c_werror_flag" ||
10073
 
         test ! -s conftest.err
10074
 
       } && test -s conftest$ac_exeext && {
10075
 
         test "$cross_compiling" = yes ||
10076
 
         $as_test_x conftest$ac_exeext
10077
 
       }; then
 
9591
if ac_fn_c_try_link "$LINENO"; then :
10078
9592
  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'
10079
9593
 
10080
 
else
10081
 
  $as_echo "$as_me: failed program was:" >&5
10082
 
sed 's/^/| /' conftest.$ac_ext >&5
10083
 
 
10084
 
 
10085
9594
fi
10086
 
 
10087
 
rm -rf conftest.dSYM
10088
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10089
 
      conftest$ac_exeext conftest.$ac_ext
 
9595
rm -f core conftest.err conftest.$ac_objext \
 
9596
    conftest$ac_exeext conftest.$ac_ext
10090
9597
        LDFLAGS="$save_LDFLAGS"
10091
9598
      else
10092
9599
        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'
10099
9606
      link_all_deplibs=yes
10100
9607
      ;;
10101
9608
 
10102
 
    netbsd*)
 
9609
    netbsd* | netbsdelf*-gnu)
10103
9610
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10104
9611
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10105
9612
      else
10342
9849
    fi
10343
9850
  fi
10344
9851
 
10345
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10346
9853
$as_echo "$ld_shlibs" >&6; }
10347
9854
test "$ld_shlibs" = no && can_build_shared=no
10348
9855
 
10379
9886
      # Test whether the compiler implicitly links with -lc since on some
10380
9887
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10381
9888
      # to ld, don't add -lc before -lgcc.
10382
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9889
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10383
9890
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10384
9891
      $RM conftest*
10385
9892
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10386
9893
 
10387
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9894
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10388
9895
  (eval $ac_compile) 2>&5
10389
9896
  ac_status=$?
10390
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391
 
  (exit $ac_status); } 2>conftest.err; then
 
9897
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9898
  test $ac_status = 0; } 2>conftest.err; then
10392
9899
        soname=conftest
10393
9900
        lib=conftest
10394
9901
        libobjs=conftest.$ac_objext
10402
9909
        libname=conftest
10403
9910
        lt_save_allow_undefined_flag=$allow_undefined_flag
10404
9911
        allow_undefined_flag=
10405
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9912
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10406
9913
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10407
9914
  ac_status=$?
10408
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409
 
  (exit $ac_status); }
 
9915
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9916
  test $ac_status = 0; }
10410
9917
        then
10411
9918
          archive_cmds_need_lc=no
10412
9919
        else
10417
9924
        cat conftest.err 1>&5
10418
9925
      fi
10419
9926
      $RM conftest*
10420
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9927
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10421
9928
$as_echo "$archive_cmds_need_lc" >&6; }
10422
9929
      ;;
10423
9930
    esac
10581
10088
 
10582
10089
 
10583
10090
 
10584
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10091
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10585
10092
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10586
10093
 
10587
10094
if test "$GCC" = yes; then
10989
10496
  ;;
10990
10497
 
10991
10498
# This must be Linux ELF.
10992
 
linux* | k*bsd*-gnu)
 
10499
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10993
10500
  version_type=linux
10994
10501
  need_lib_prefix=no
10995
10502
  need_version=no
11003
10510
  save_libdir=$libdir
11004
10511
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11005
10512
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11006
 
  cat >conftest.$ac_ext <<_ACEOF
11007
 
/* confdefs.h.  */
11008
 
_ACEOF
11009
 
cat confdefs.h >>conftest.$ac_ext
11010
 
cat >>conftest.$ac_ext <<_ACEOF
 
10513
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11011
10514
/* end confdefs.h.  */
11012
10515
 
11013
10516
int
11018
10521
  return 0;
11019
10522
}
11020
10523
_ACEOF
11021
 
rm -f conftest.$ac_objext conftest$ac_exeext
11022
 
if { (ac_try="$ac_link"
11023
 
case "(($ac_try" in
11024
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11025
 
  *) ac_try_echo=$ac_try;;
11026
 
esac
11027
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11028
 
$as_echo "$ac_try_echo") >&5
11029
 
  (eval "$ac_link") 2>conftest.er1
11030
 
  ac_status=$?
11031
 
  grep -v '^ *+' conftest.er1 >conftest.err
11032
 
  rm -f conftest.er1
11033
 
  cat conftest.err >&5
11034
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035
 
  (exit $ac_status); } && {
11036
 
         test -z "$ac_c_werror_flag" ||
11037
 
         test ! -s conftest.err
11038
 
       } && test -s conftest$ac_exeext && {
11039
 
         test "$cross_compiling" = yes ||
11040
 
         $as_test_x conftest$ac_exeext
11041
 
       }; then
11042
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10524
if ac_fn_c_try_link "$LINENO"; then :
 
10525
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11043
10526
  shlibpath_overrides_runpath=yes
11044
10527
fi
11045
 
 
11046
 
else
11047
 
  $as_echo "$as_me: failed program was:" >&5
11048
 
sed 's/^/| /' conftest.$ac_ext >&5
11049
 
 
11050
 
 
11051
10528
fi
11052
 
 
11053
 
rm -rf conftest.dSYM
11054
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11055
 
      conftest$ac_exeext conftest.$ac_ext
 
10529
rm -f core conftest.err conftest.$ac_objext \
 
10530
    conftest$ac_exeext conftest.$ac_ext
11056
10531
  LDFLAGS=$save_LDFLAGS
11057
10532
  libdir=$save_libdir
11058
10533
 
11076
10551
  dynamic_linker='GNU/Linux ld.so'
11077
10552
  ;;
11078
10553
 
 
10554
netbsdelf*-gnu)
 
10555
  version_type=linux
 
10556
  need_lib_prefix=no
 
10557
  need_version=no
 
10558
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10559
  soname_spec='${libname}${release}${shared_ext}$major'
 
10560
  shlibpath_var=LD_LIBRARY_PATH
 
10561
  shlibpath_overrides_runpath=no
 
10562
  hardcode_into_libs=yes
 
10563
  dynamic_linker='NetBSD ld.elf_so'
 
10564
  ;;
 
10565
 
11079
10566
netbsd*)
11080
10567
  version_type=sunos
11081
10568
  need_lib_prefix=no
11264
10751
  dynamic_linker=no
11265
10752
  ;;
11266
10753
esac
11267
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11268
10755
$as_echo "$dynamic_linker" >&6; }
11269
10756
test "$dynamic_linker" = no && can_build_shared=no
11270
10757
 
11366
10853
 
11367
10854
 
11368
10855
 
11369
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10856
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11370
10857
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11371
10858
hardcode_action=
11372
10859
if test -n "$hardcode_libdir_flag_spec" ||
11391
10878
  # directories.
11392
10879
  hardcode_action=unsupported
11393
10880
fi
11394
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11395
10882
$as_echo "$hardcode_action" >&6; }
11396
10883
 
11397
10884
if test "$hardcode_action" = relink ||
11436
10923
 
11437
10924
  darwin*)
11438
10925
  # if libdl is installed we need to link against it
11439
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10926
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11440
10927
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11441
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10928
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11442
10929
  $as_echo_n "(cached) " >&6
11443
10930
else
11444
10931
  ac_check_lib_save_LIBS=$LIBS
11445
10932
LIBS="-ldl  $LIBS"
11446
 
cat >conftest.$ac_ext <<_ACEOF
11447
 
/* confdefs.h.  */
11448
 
_ACEOF
11449
 
cat confdefs.h >>conftest.$ac_ext
11450
 
cat >>conftest.$ac_ext <<_ACEOF
 
10933
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451
10934
/* end confdefs.h.  */
11452
10935
 
11453
10936
/* Override any GCC internal prototype to avoid an error.
11465
10948
  return 0;
11466
10949
}
11467
10950
_ACEOF
11468
 
rm -f conftest.$ac_objext conftest$ac_exeext
11469
 
if { (ac_try="$ac_link"
11470
 
case "(($ac_try" in
11471
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11472
 
  *) ac_try_echo=$ac_try;;
11473
 
esac
11474
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11475
 
$as_echo "$ac_try_echo") >&5
11476
 
  (eval "$ac_link") 2>conftest.er1
11477
 
  ac_status=$?
11478
 
  grep -v '^ *+' conftest.er1 >conftest.err
11479
 
  rm -f conftest.er1
11480
 
  cat conftest.err >&5
11481
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482
 
  (exit $ac_status); } && {
11483
 
         test -z "$ac_c_werror_flag" ||
11484
 
         test ! -s conftest.err
11485
 
       } && test -s conftest$ac_exeext && {
11486
 
         test "$cross_compiling" = yes ||
11487
 
         $as_test_x conftest$ac_exeext
11488
 
       }; then
 
10951
if ac_fn_c_try_link "$LINENO"; then :
11489
10952
  ac_cv_lib_dl_dlopen=yes
11490
10953
else
11491
 
  $as_echo "$as_me: failed program was:" >&5
11492
 
sed 's/^/| /' conftest.$ac_ext >&5
11493
 
 
11494
 
        ac_cv_lib_dl_dlopen=no
 
10954
  ac_cv_lib_dl_dlopen=no
11495
10955
fi
11496
 
 
11497
 
rm -rf conftest.dSYM
11498
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11499
 
      conftest$ac_exeext conftest.$ac_ext
 
10956
rm -f core conftest.err conftest.$ac_objext \
 
10957
    conftest$ac_exeext conftest.$ac_ext
11500
10958
LIBS=$ac_check_lib_save_LIBS
11501
10959
fi
11502
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11503
10961
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11504
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10962
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11505
10963
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11506
10964
else
11507
10965
 
11514
10972
    ;;
11515
10973
 
11516
10974
  *)
11517
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11518
 
$as_echo_n "checking for shl_load... " >&6; }
11519
 
if test "${ac_cv_func_shl_load+set}" = set; then
11520
 
  $as_echo_n "(cached) " >&6
11521
 
else
11522
 
  cat >conftest.$ac_ext <<_ACEOF
11523
 
/* confdefs.h.  */
11524
 
_ACEOF
11525
 
cat confdefs.h >>conftest.$ac_ext
11526
 
cat >>conftest.$ac_ext <<_ACEOF
11527
 
/* end confdefs.h.  */
11528
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11529
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11530
 
#define shl_load innocuous_shl_load
11531
 
 
11532
 
/* System header to define __stub macros and hopefully few prototypes,
11533
 
    which can conflict with char shl_load (); below.
11534
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11535
 
    <limits.h> exists even on freestanding compilers.  */
11536
 
 
11537
 
#ifdef __STDC__
11538
 
# include <limits.h>
11539
 
#else
11540
 
# include <assert.h>
11541
 
#endif
11542
 
 
11543
 
#undef shl_load
11544
 
 
11545
 
/* Override any GCC internal prototype to avoid an error.
11546
 
   Use char because int might match the return type of a GCC
11547
 
   builtin and then its argument prototype would still apply.  */
11548
 
#ifdef __cplusplus
11549
 
extern "C"
11550
 
#endif
11551
 
char shl_load ();
11552
 
/* The GNU C library defines this for functions which it implements
11553
 
    to always fail with ENOSYS.  Some functions are actually named
11554
 
    something starting with __ and the normal name is an alias.  */
11555
 
#if defined __stub_shl_load || defined __stub___shl_load
11556
 
choke me
11557
 
#endif
11558
 
 
11559
 
int
11560
 
main ()
11561
 
{
11562
 
return shl_load ();
11563
 
  ;
11564
 
  return 0;
11565
 
}
11566
 
_ACEOF
11567
 
rm -f conftest.$ac_objext conftest$ac_exeext
11568
 
if { (ac_try="$ac_link"
11569
 
case "(($ac_try" in
11570
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11571
 
  *) ac_try_echo=$ac_try;;
11572
 
esac
11573
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11574
 
$as_echo "$ac_try_echo") >&5
11575
 
  (eval "$ac_link") 2>conftest.er1
11576
 
  ac_status=$?
11577
 
  grep -v '^ *+' conftest.er1 >conftest.err
11578
 
  rm -f conftest.er1
11579
 
  cat conftest.err >&5
11580
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581
 
  (exit $ac_status); } && {
11582
 
         test -z "$ac_c_werror_flag" ||
11583
 
         test ! -s conftest.err
11584
 
       } && test -s conftest$ac_exeext && {
11585
 
         test "$cross_compiling" = yes ||
11586
 
         $as_test_x conftest$ac_exeext
11587
 
       }; then
11588
 
  ac_cv_func_shl_load=yes
11589
 
else
11590
 
  $as_echo "$as_me: failed program was:" >&5
11591
 
sed 's/^/| /' conftest.$ac_ext >&5
11592
 
 
11593
 
        ac_cv_func_shl_load=no
11594
 
fi
11595
 
 
11596
 
rm -rf conftest.dSYM
11597
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11598
 
      conftest$ac_exeext conftest.$ac_ext
11599
 
fi
11600
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11601
 
$as_echo "$ac_cv_func_shl_load" >&6; }
11602
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
10975
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10976
if test "x$ac_cv_func_shl_load" = x""yes; then :
11603
10977
  lt_cv_dlopen="shl_load"
11604
10978
else
11605
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10979
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11606
10980
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11607
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
10981
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11608
10982
  $as_echo_n "(cached) " >&6
11609
10983
else
11610
10984
  ac_check_lib_save_LIBS=$LIBS
11611
10985
LIBS="-ldld  $LIBS"
11612
 
cat >conftest.$ac_ext <<_ACEOF
11613
 
/* confdefs.h.  */
11614
 
_ACEOF
11615
 
cat confdefs.h >>conftest.$ac_ext
11616
 
cat >>conftest.$ac_ext <<_ACEOF
 
10986
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617
10987
/* end confdefs.h.  */
11618
10988
 
11619
10989
/* Override any GCC internal prototype to avoid an error.
11631
11001
  return 0;
11632
11002
}
11633
11003
_ACEOF
11634
 
rm -f conftest.$ac_objext conftest$ac_exeext
11635
 
if { (ac_try="$ac_link"
11636
 
case "(($ac_try" in
11637
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11638
 
  *) ac_try_echo=$ac_try;;
11639
 
esac
11640
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11641
 
$as_echo "$ac_try_echo") >&5
11642
 
  (eval "$ac_link") 2>conftest.er1
11643
 
  ac_status=$?
11644
 
  grep -v '^ *+' conftest.er1 >conftest.err
11645
 
  rm -f conftest.er1
11646
 
  cat conftest.err >&5
11647
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648
 
  (exit $ac_status); } && {
11649
 
         test -z "$ac_c_werror_flag" ||
11650
 
         test ! -s conftest.err
11651
 
       } && test -s conftest$ac_exeext && {
11652
 
         test "$cross_compiling" = yes ||
11653
 
         $as_test_x conftest$ac_exeext
11654
 
       }; then
 
11004
if ac_fn_c_try_link "$LINENO"; then :
11655
11005
  ac_cv_lib_dld_shl_load=yes
11656
11006
else
11657
 
  $as_echo "$as_me: failed program was:" >&5
11658
 
sed 's/^/| /' conftest.$ac_ext >&5
11659
 
 
11660
 
        ac_cv_lib_dld_shl_load=no
 
11007
  ac_cv_lib_dld_shl_load=no
11661
11008
fi
11662
 
 
11663
 
rm -rf conftest.dSYM
11664
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11665
 
      conftest$ac_exeext conftest.$ac_ext
 
11009
rm -f core conftest.err conftest.$ac_objext \
 
11010
    conftest$ac_exeext conftest.$ac_ext
11666
11011
LIBS=$ac_check_lib_save_LIBS
11667
11012
fi
11668
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11669
11014
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11670
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11015
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11671
11016
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11672
11017
else
11673
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11674
 
$as_echo_n "checking for dlopen... " >&6; }
11675
 
if test "${ac_cv_func_dlopen+set}" = set; then
11676
 
  $as_echo_n "(cached) " >&6
11677
 
else
11678
 
  cat >conftest.$ac_ext <<_ACEOF
11679
 
/* confdefs.h.  */
11680
 
_ACEOF
11681
 
cat confdefs.h >>conftest.$ac_ext
11682
 
cat >>conftest.$ac_ext <<_ACEOF
11683
 
/* end confdefs.h.  */
11684
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11685
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11686
 
#define dlopen innocuous_dlopen
11687
 
 
11688
 
/* System header to define __stub macros and hopefully few prototypes,
11689
 
    which can conflict with char dlopen (); below.
11690
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11691
 
    <limits.h> exists even on freestanding compilers.  */
11692
 
 
11693
 
#ifdef __STDC__
11694
 
# include <limits.h>
11695
 
#else
11696
 
# include <assert.h>
11697
 
#endif
11698
 
 
11699
 
#undef dlopen
11700
 
 
11701
 
/* Override any GCC internal prototype to avoid an error.
11702
 
   Use char because int might match the return type of a GCC
11703
 
   builtin and then its argument prototype would still apply.  */
11704
 
#ifdef __cplusplus
11705
 
extern "C"
11706
 
#endif
11707
 
char dlopen ();
11708
 
/* The GNU C library defines this for functions which it implements
11709
 
    to always fail with ENOSYS.  Some functions are actually named
11710
 
    something starting with __ and the normal name is an alias.  */
11711
 
#if defined __stub_dlopen || defined __stub___dlopen
11712
 
choke me
11713
 
#endif
11714
 
 
11715
 
int
11716
 
main ()
11717
 
{
11718
 
return dlopen ();
11719
 
  ;
11720
 
  return 0;
11721
 
}
11722
 
_ACEOF
11723
 
rm -f conftest.$ac_objext conftest$ac_exeext
11724
 
if { (ac_try="$ac_link"
11725
 
case "(($ac_try" in
11726
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11727
 
  *) ac_try_echo=$ac_try;;
11728
 
esac
11729
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11730
 
$as_echo "$ac_try_echo") >&5
11731
 
  (eval "$ac_link") 2>conftest.er1
11732
 
  ac_status=$?
11733
 
  grep -v '^ *+' conftest.er1 >conftest.err
11734
 
  rm -f conftest.er1
11735
 
  cat conftest.err >&5
11736
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737
 
  (exit $ac_status); } && {
11738
 
         test -z "$ac_c_werror_flag" ||
11739
 
         test ! -s conftest.err
11740
 
       } && test -s conftest$ac_exeext && {
11741
 
         test "$cross_compiling" = yes ||
11742
 
         $as_test_x conftest$ac_exeext
11743
 
       }; then
11744
 
  ac_cv_func_dlopen=yes
11745
 
else
11746
 
  $as_echo "$as_me: failed program was:" >&5
11747
 
sed 's/^/| /' conftest.$ac_ext >&5
11748
 
 
11749
 
        ac_cv_func_dlopen=no
11750
 
fi
11751
 
 
11752
 
rm -rf conftest.dSYM
11753
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11754
 
      conftest$ac_exeext conftest.$ac_ext
11755
 
fi
11756
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11757
 
$as_echo "$ac_cv_func_dlopen" >&6; }
11758
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
11018
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11019
if test "x$ac_cv_func_dlopen" = x""yes; then :
11759
11020
  lt_cv_dlopen="dlopen"
11760
11021
else
11761
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11022
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11762
11023
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11763
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11024
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11764
11025
  $as_echo_n "(cached) " >&6
11765
11026
else
11766
11027
  ac_check_lib_save_LIBS=$LIBS
11767
11028
LIBS="-ldl  $LIBS"
11768
 
cat >conftest.$ac_ext <<_ACEOF
11769
 
/* confdefs.h.  */
11770
 
_ACEOF
11771
 
cat confdefs.h >>conftest.$ac_ext
11772
 
cat >>conftest.$ac_ext <<_ACEOF
 
11029
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11773
11030
/* end confdefs.h.  */
11774
11031
 
11775
11032
/* Override any GCC internal prototype to avoid an error.
11787
11044
  return 0;
11788
11045
}
11789
11046
_ACEOF
11790
 
rm -f conftest.$ac_objext conftest$ac_exeext
11791
 
if { (ac_try="$ac_link"
11792
 
case "(($ac_try" in
11793
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11794
 
  *) ac_try_echo=$ac_try;;
11795
 
esac
11796
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11797
 
$as_echo "$ac_try_echo") >&5
11798
 
  (eval "$ac_link") 2>conftest.er1
11799
 
  ac_status=$?
11800
 
  grep -v '^ *+' conftest.er1 >conftest.err
11801
 
  rm -f conftest.er1
11802
 
  cat conftest.err >&5
11803
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804
 
  (exit $ac_status); } && {
11805
 
         test -z "$ac_c_werror_flag" ||
11806
 
         test ! -s conftest.err
11807
 
       } && test -s conftest$ac_exeext && {
11808
 
         test "$cross_compiling" = yes ||
11809
 
         $as_test_x conftest$ac_exeext
11810
 
       }; then
 
11047
if ac_fn_c_try_link "$LINENO"; then :
11811
11048
  ac_cv_lib_dl_dlopen=yes
11812
11049
else
11813
 
  $as_echo "$as_me: failed program was:" >&5
11814
 
sed 's/^/| /' conftest.$ac_ext >&5
11815
 
 
11816
 
        ac_cv_lib_dl_dlopen=no
 
11050
  ac_cv_lib_dl_dlopen=no
11817
11051
fi
11818
 
 
11819
 
rm -rf conftest.dSYM
11820
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11821
 
      conftest$ac_exeext conftest.$ac_ext
 
11052
rm -f core conftest.err conftest.$ac_objext \
 
11053
    conftest$ac_exeext conftest.$ac_ext
11822
11054
LIBS=$ac_check_lib_save_LIBS
11823
11055
fi
11824
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11825
11057
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11826
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11058
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11827
11059
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11828
11060
else
11829
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11061
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11830
11062
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11831
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
11063
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11832
11064
  $as_echo_n "(cached) " >&6
11833
11065
else
11834
11066
  ac_check_lib_save_LIBS=$LIBS
11835
11067
LIBS="-lsvld  $LIBS"
11836
 
cat >conftest.$ac_ext <<_ACEOF
11837
 
/* confdefs.h.  */
11838
 
_ACEOF
11839
 
cat confdefs.h >>conftest.$ac_ext
11840
 
cat >>conftest.$ac_ext <<_ACEOF
 
11068
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841
11069
/* end confdefs.h.  */
11842
11070
 
11843
11071
/* Override any GCC internal prototype to avoid an error.
11855
11083
  return 0;
11856
11084
}
11857
11085
_ACEOF
11858
 
rm -f conftest.$ac_objext conftest$ac_exeext
11859
 
if { (ac_try="$ac_link"
11860
 
case "(($ac_try" in
11861
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11862
 
  *) ac_try_echo=$ac_try;;
11863
 
esac
11864
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11865
 
$as_echo "$ac_try_echo") >&5
11866
 
  (eval "$ac_link") 2>conftest.er1
11867
 
  ac_status=$?
11868
 
  grep -v '^ *+' conftest.er1 >conftest.err
11869
 
  rm -f conftest.er1
11870
 
  cat conftest.err >&5
11871
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872
 
  (exit $ac_status); } && {
11873
 
         test -z "$ac_c_werror_flag" ||
11874
 
         test ! -s conftest.err
11875
 
       } && test -s conftest$ac_exeext && {
11876
 
         test "$cross_compiling" = yes ||
11877
 
         $as_test_x conftest$ac_exeext
11878
 
       }; then
 
11086
if ac_fn_c_try_link "$LINENO"; then :
11879
11087
  ac_cv_lib_svld_dlopen=yes
11880
11088
else
11881
 
  $as_echo "$as_me: failed program was:" >&5
11882
 
sed 's/^/| /' conftest.$ac_ext >&5
11883
 
 
11884
 
        ac_cv_lib_svld_dlopen=no
 
11089
  ac_cv_lib_svld_dlopen=no
11885
11090
fi
11886
 
 
11887
 
rm -rf conftest.dSYM
11888
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11889
 
      conftest$ac_exeext conftest.$ac_ext
 
11091
rm -f core conftest.err conftest.$ac_objext \
 
11092
    conftest$ac_exeext conftest.$ac_ext
11890
11093
LIBS=$ac_check_lib_save_LIBS
11891
11094
fi
11892
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11893
11096
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11894
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
11097
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11895
11098
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11896
11099
else
11897
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11100
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11898
11101
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11899
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
11102
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11900
11103
  $as_echo_n "(cached) " >&6
11901
11104
else
11902
11105
  ac_check_lib_save_LIBS=$LIBS
11903
11106
LIBS="-ldld  $LIBS"
11904
 
cat >conftest.$ac_ext <<_ACEOF
11905
 
/* confdefs.h.  */
11906
 
_ACEOF
11907
 
cat confdefs.h >>conftest.$ac_ext
11908
 
cat >>conftest.$ac_ext <<_ACEOF
 
11107
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909
11108
/* end confdefs.h.  */
11910
11109
 
11911
11110
/* Override any GCC internal prototype to avoid an error.
11923
11122
  return 0;
11924
11123
}
11925
11124
_ACEOF
11926
 
rm -f conftest.$ac_objext conftest$ac_exeext
11927
 
if { (ac_try="$ac_link"
11928
 
case "(($ac_try" in
11929
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11930
 
  *) ac_try_echo=$ac_try;;
11931
 
esac
11932
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11933
 
$as_echo "$ac_try_echo") >&5
11934
 
  (eval "$ac_link") 2>conftest.er1
11935
 
  ac_status=$?
11936
 
  grep -v '^ *+' conftest.er1 >conftest.err
11937
 
  rm -f conftest.er1
11938
 
  cat conftest.err >&5
11939
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940
 
  (exit $ac_status); } && {
11941
 
         test -z "$ac_c_werror_flag" ||
11942
 
         test ! -s conftest.err
11943
 
       } && test -s conftest$ac_exeext && {
11944
 
         test "$cross_compiling" = yes ||
11945
 
         $as_test_x conftest$ac_exeext
11946
 
       }; then
 
11125
if ac_fn_c_try_link "$LINENO"; then :
11947
11126
  ac_cv_lib_dld_dld_link=yes
11948
11127
else
11949
 
  $as_echo "$as_me: failed program was:" >&5
11950
 
sed 's/^/| /' conftest.$ac_ext >&5
11951
 
 
11952
 
        ac_cv_lib_dld_dld_link=no
 
11128
  ac_cv_lib_dld_dld_link=no
11953
11129
fi
11954
 
 
11955
 
rm -rf conftest.dSYM
11956
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11957
 
      conftest$ac_exeext conftest.$ac_ext
 
11130
rm -f core conftest.err conftest.$ac_objext \
 
11131
    conftest$ac_exeext conftest.$ac_ext
11958
11132
LIBS=$ac_check_lib_save_LIBS
11959
11133
fi
11960
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11961
11135
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11962
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11136
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11963
11137
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11964
11138
fi
11965
11139
 
11998
11172
    save_LIBS="$LIBS"
11999
11173
    LIBS="$lt_cv_dlopen_libs $LIBS"
12000
11174
 
12001
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11175
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12002
11176
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12003
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
11177
if test "${lt_cv_dlopen_self+set}" = set; then :
12004
11178
  $as_echo_n "(cached) " >&6
12005
11179
else
12006
11180
          if test "$cross_compiling" = yes; then :
12009
11183
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12010
11184
  lt_status=$lt_dlunknown
12011
11185
  cat > conftest.$ac_ext <<_LT_EOF
12012
 
#line 12012 "configure"
 
11186
#line 11186 "configure"
12013
11187
#include "confdefs.h"
12014
11188
 
12015
11189
#if HAVE_DLFCN_H
12068
11242
  return status;
12069
11243
}
12070
11244
_LT_EOF
12071
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11245
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12072
11246
  (eval $ac_link) 2>&5
12073
11247
  ac_status=$?
12074
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11248
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11249
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12076
11250
    (./conftest; exit; ) >&5 2>/dev/null
12077
11251
    lt_status=$?
12078
11252
    case x$lt_status in
12089
11263
 
12090
11264
 
12091
11265
fi
12092
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12093
11267
$as_echo "$lt_cv_dlopen_self" >&6; }
12094
11268
 
12095
11269
    if test "x$lt_cv_dlopen_self" = xyes; then
12096
11270
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12097
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11271
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12098
11272
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12099
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
11273
if test "${lt_cv_dlopen_self_static+set}" = set; then :
12100
11274
  $as_echo_n "(cached) " >&6
12101
11275
else
12102
11276
          if test "$cross_compiling" = yes; then :
12105
11279
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12106
11280
  lt_status=$lt_dlunknown
12107
11281
  cat > conftest.$ac_ext <<_LT_EOF
12108
 
#line 12108 "configure"
 
11282
#line 11282 "configure"
12109
11283
#include "confdefs.h"
12110
11284
 
12111
11285
#if HAVE_DLFCN_H
12164
11338
  return status;
12165
11339
}
12166
11340
_LT_EOF
12167
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11341
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12168
11342
  (eval $ac_link) 2>&5
12169
11343
  ac_status=$?
12170
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11344
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11345
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12172
11346
    (./conftest; exit; ) >&5 2>/dev/null
12173
11347
    lt_status=$?
12174
11348
    case x$lt_status in
12185
11359
 
12186
11360
 
12187
11361
fi
12188
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12189
11363
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12190
11364
    fi
12191
11365
 
12224
11398
 
12225
11399
striplib=
12226
11400
old_striplib=
12227
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12228
11402
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12229
11403
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12230
11404
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12231
11405
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12232
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11406
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12233
11407
$as_echo "yes" >&6; }
12234
11408
else
12235
11409
# FIXME - insert some real tests, host_os isn't really good enough
12238
11412
    if test -n "$STRIP" ; then
12239
11413
      striplib="$STRIP -x"
12240
11414
      old_striplib="$STRIP -S"
12241
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11415
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12242
11416
$as_echo "yes" >&6; }
12243
11417
    else
12244
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11418
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12245
11419
$as_echo "no" >&6; }
12246
11420
    fi
12247
11421
    ;;
12248
11422
  *)
12249
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11423
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12250
11424
$as_echo "no" >&6; }
12251
11425
    ;;
12252
11426
  esac
12264
11438
 
12265
11439
 
12266
11440
  # Report which library types will actually be built
12267
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11441
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12268
11442
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12269
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12270
11444
$as_echo "$can_build_shared" >&6; }
12271
11445
 
12272
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11446
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12273
11447
$as_echo_n "checking whether to build shared libraries... " >&6; }
12274
11448
  test "$can_build_shared" = "no" && enable_shared=no
12275
11449
 
12290
11464
    fi
12291
11465
    ;;
12292
11466
  esac
12293
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11467
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12294
11468
$as_echo "$enable_shared" >&6; }
12295
11469
 
12296
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11470
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12297
11471
$as_echo_n "checking whether to build static libraries... " >&6; }
12298
11472
  # Make sure either enable_shared or enable_static is yes.
12299
11473
  test "$enable_shared" = yes || enable_static=yes
12300
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11474
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12301
11475
$as_echo "$enable_static" >&6; }
12302
11476
 
12303
11477
 
12343
11517
 
12344
11518
 
12345
11519
 
12346
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
11520
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12347
11521
$as_echo_n "checking whether NLS is requested... " >&6; }
12348
11522
    # Check whether --enable-nls was given.
12349
 
if test "${enable_nls+set}" = set; then
 
11523
if test "${enable_nls+set}" = set; then :
12350
11524
  enableval=$enable_nls; USE_NLS=$enableval
12351
11525
else
12352
11526
  USE_NLS=yes
12353
11527
fi
12354
11528
 
12355
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
11529
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12356
11530
$as_echo "$USE_NLS" >&6; }
12357
11531
 
12358
11532
 
12360
11534
 
12361
11535
case "$am__api_version" in
12362
11536
    1.01234)
12363
 
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
12364
 
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
12365
 
   { (exit 1); exit 1; }; }
 
11537
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12366
11538
    ;;
12367
11539
    *)
12368
11540
    ;;
12369
11541
esac
12370
11542
 
12371
11543
if test -n "0.35.0"; then
12372
 
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
 
11544
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
12373
11545
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
12374
11546
 
12375
11547
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12376
11548
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12377
11549
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12378
11550
 
12379
 
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
11551
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12380
11552
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12381
11553
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12382
 
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
12383
 
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
12384
 
   { (exit 1); exit 1; }; }
 
11554
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
12385
11555
fi
12386
11556
 
12387
11557
# Extract the first word of "intltool-update", so it can be a program name with args.
12388
11558
set dummy intltool-update; ac_word=$2
12389
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12390
11560
$as_echo_n "checking for $ac_word... " >&6; }
12391
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
11561
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
12392
11562
  $as_echo_n "(cached) " >&6
12393
11563
else
12394
11564
  case $INTLTOOL_UPDATE in
12401
11571
do
12402
11572
  IFS=$as_save_IFS
12403
11573
  test -z "$as_dir" && as_dir=.
12404
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11574
    for ac_exec_ext in '' $ac_executable_extensions; do
12405
11575
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12406
11576
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12407
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11577
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12408
11578
    break 2
12409
11579
  fi
12410
11580
done
12411
 
done
 
11581
  done
12412
11582
IFS=$as_save_IFS
12413
11583
 
12414
11584
  ;;
12416
11586
fi
12417
11587
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12418
11588
if test -n "$INTLTOOL_UPDATE"; then
12419
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
11589
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12420
11590
$as_echo "$INTLTOOL_UPDATE" >&6; }
12421
11591
else
12422
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11592
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12423
11593
$as_echo "no" >&6; }
12424
11594
fi
12425
11595
 
12426
11596
 
12427
11597
# Extract the first word of "intltool-merge", so it can be a program name with args.
12428
11598
set dummy intltool-merge; ac_word=$2
12429
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12430
11600
$as_echo_n "checking for $ac_word... " >&6; }
12431
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
11601
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
12432
11602
  $as_echo_n "(cached) " >&6
12433
11603
else
12434
11604
  case $INTLTOOL_MERGE in
12441
11611
do
12442
11612
  IFS=$as_save_IFS
12443
11613
  test -z "$as_dir" && as_dir=.
12444
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11614
    for ac_exec_ext in '' $ac_executable_extensions; do
12445
11615
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12446
11616
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12447
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11617
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12448
11618
    break 2
12449
11619
  fi
12450
11620
done
12451
 
done
 
11621
  done
12452
11622
IFS=$as_save_IFS
12453
11623
 
12454
11624
  ;;
12456
11626
fi
12457
11627
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12458
11628
if test -n "$INTLTOOL_MERGE"; then
12459
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
11629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12460
11630
$as_echo "$INTLTOOL_MERGE" >&6; }
12461
11631
else
12462
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12463
11633
$as_echo "no" >&6; }
12464
11634
fi
12465
11635
 
12466
11636
 
12467
11637
# Extract the first word of "intltool-extract", so it can be a program name with args.
12468
11638
set dummy intltool-extract; ac_word=$2
12469
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12470
11640
$as_echo_n "checking for $ac_word... " >&6; }
12471
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
11641
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
12472
11642
  $as_echo_n "(cached) " >&6
12473
11643
else
12474
11644
  case $INTLTOOL_EXTRACT in
12481
11651
do
12482
11652
  IFS=$as_save_IFS
12483
11653
  test -z "$as_dir" && as_dir=.
12484
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11654
    for ac_exec_ext in '' $ac_executable_extensions; do
12485
11655
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12486
11656
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12487
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11657
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12488
11658
    break 2
12489
11659
  fi
12490
11660
done
12491
 
done
 
11661
  done
12492
11662
IFS=$as_save_IFS
12493
11663
 
12494
11664
  ;;
12496
11666
fi
12497
11667
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12498
11668
if test -n "$INTLTOOL_EXTRACT"; then
12499
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
11669
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12500
11670
$as_echo "$INTLTOOL_EXTRACT" >&6; }
12501
11671
else
12502
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11672
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12503
11673
$as_echo "no" >&6; }
12504
11674
fi
12505
11675
 
12506
11676
 
12507
11677
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12508
 
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
12509
 
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
12510
 
   { (exit 1); exit 1; }; }
 
11678
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12511
11679
fi
12512
11680
 
12513
11681
  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 $< $@'
12629
11797
# Check the gettext tools to make sure they are GNU
12630
11798
# Extract the first word of "xgettext", so it can be a program name with args.
12631
11799
set dummy xgettext; ac_word=$2
12632
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12633
11801
$as_echo_n "checking for $ac_word... " >&6; }
12634
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
11802
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12635
11803
  $as_echo_n "(cached) " >&6
12636
11804
else
12637
11805
  case $XGETTEXT in
12644
11812
do
12645
11813
  IFS=$as_save_IFS
12646
11814
  test -z "$as_dir" && as_dir=.
12647
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11815
    for ac_exec_ext in '' $ac_executable_extensions; do
12648
11816
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12649
11817
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12650
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11818
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12651
11819
    break 2
12652
11820
  fi
12653
11821
done
12654
 
done
 
11822
  done
12655
11823
IFS=$as_save_IFS
12656
11824
 
12657
11825
  ;;
12659
11827
fi
12660
11828
XGETTEXT=$ac_cv_path_XGETTEXT
12661
11829
if test -n "$XGETTEXT"; then
12662
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
11830
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12663
11831
$as_echo "$XGETTEXT" >&6; }
12664
11832
else
12665
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11833
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12666
11834
$as_echo "no" >&6; }
12667
11835
fi
12668
11836
 
12669
11837
 
12670
11838
# Extract the first word of "msgmerge", so it can be a program name with args.
12671
11839
set dummy msgmerge; ac_word=$2
12672
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12673
11841
$as_echo_n "checking for $ac_word... " >&6; }
12674
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
11842
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12675
11843
  $as_echo_n "(cached) " >&6
12676
11844
else
12677
11845
  case $MSGMERGE in
12684
11852
do
12685
11853
  IFS=$as_save_IFS
12686
11854
  test -z "$as_dir" && as_dir=.
12687
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11855
    for ac_exec_ext in '' $ac_executable_extensions; do
12688
11856
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12689
11857
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12690
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11858
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12691
11859
    break 2
12692
11860
  fi
12693
11861
done
12694
 
done
 
11862
  done
12695
11863
IFS=$as_save_IFS
12696
11864
 
12697
11865
  ;;
12699
11867
fi
12700
11868
MSGMERGE=$ac_cv_path_MSGMERGE
12701
11869
if test -n "$MSGMERGE"; then
12702
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
11870
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12703
11871
$as_echo "$MSGMERGE" >&6; }
12704
11872
else
12705
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11873
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12706
11874
$as_echo "no" >&6; }
12707
11875
fi
12708
11876
 
12709
11877
 
12710
11878
# Extract the first word of "msgfmt", so it can be a program name with args.
12711
11879
set dummy msgfmt; ac_word=$2
12712
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12713
11881
$as_echo_n "checking for $ac_word... " >&6; }
12714
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
11882
if test "${ac_cv_path_MSGFMT+set}" = set; then :
12715
11883
  $as_echo_n "(cached) " >&6
12716
11884
else
12717
11885
  case $MSGFMT in
12724
11892
do
12725
11893
  IFS=$as_save_IFS
12726
11894
  test -z "$as_dir" && as_dir=.
12727
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11895
    for ac_exec_ext in '' $ac_executable_extensions; do
12728
11896
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12729
11897
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12730
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11898
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12731
11899
    break 2
12732
11900
  fi
12733
11901
done
12734
 
done
 
11902
  done
12735
11903
IFS=$as_save_IFS
12736
11904
 
12737
11905
  ;;
12739
11907
fi
12740
11908
MSGFMT=$ac_cv_path_MSGFMT
12741
11909
if test -n "$MSGFMT"; then
12742
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
11910
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12743
11911
$as_echo "$MSGFMT" >&6; }
12744
11912
else
12745
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11913
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12746
11914
$as_echo "no" >&6; }
12747
11915
fi
12748
11916
 
12749
11917
 
12750
11918
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12751
11919
set dummy gmsgfmt; ac_word=$2
12752
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12753
11921
$as_echo_n "checking for $ac_word... " >&6; }
12754
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
11922
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12755
11923
  $as_echo_n "(cached) " >&6
12756
11924
else
12757
11925
  case $GMSGFMT in
12764
11932
do
12765
11933
  IFS=$as_save_IFS
12766
11934
  test -z "$as_dir" && as_dir=.
12767
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11935
    for ac_exec_ext in '' $ac_executable_extensions; do
12768
11936
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12769
11937
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12770
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11938
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12771
11939
    break 2
12772
11940
  fi
12773
11941
done
12774
 
done
 
11942
  done
12775
11943
IFS=$as_save_IFS
12776
11944
 
12777
11945
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12780
11948
fi
12781
11949
GMSGFMT=$ac_cv_path_GMSGFMT
12782
11950
if test -n "$GMSGFMT"; then
12783
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
11951
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12784
11952
$as_echo "$GMSGFMT" >&6; }
12785
11953
else
12786
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11954
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12787
11955
$as_echo "no" >&6; }
12788
11956
fi
12789
11957
 
12790
11958
 
12791
11959
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12792
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
12793
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
12794
 
   { (exit 1); exit 1; }; }
 
11960
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12795
11961
fi
12796
11962
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12797
11963
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12798
11964
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12799
11965
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12800
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
12801
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
12802
 
   { (exit 1); exit 1; }; }
 
11966
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12803
11967
fi
12804
11968
 
12805
11969
# Extract the first word of "perl", so it can be a program name with args.
12806
11970
set dummy perl; ac_word=$2
12807
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12808
11972
$as_echo_n "checking for $ac_word... " >&6; }
12809
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
11973
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
12810
11974
  $as_echo_n "(cached) " >&6
12811
11975
else
12812
11976
  case $INTLTOOL_PERL in
12819
11983
do
12820
11984
  IFS=$as_save_IFS
12821
11985
  test -z "$as_dir" && as_dir=.
12822
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11986
    for ac_exec_ext in '' $ac_executable_extensions; do
12823
11987
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12824
11988
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12825
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11989
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12826
11990
    break 2
12827
11991
  fi
12828
11992
done
12829
 
done
 
11993
  done
12830
11994
IFS=$as_save_IFS
12831
11995
 
12832
11996
  ;;
12834
11998
fi
12835
11999
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12836
12000
if test -n "$INTLTOOL_PERL"; then
12837
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
12001
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12838
12002
$as_echo "$INTLTOOL_PERL" >&6; }
12839
12003
else
12840
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12004
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12841
12005
$as_echo "no" >&6; }
12842
12006
fi
12843
12007
 
12844
12008
 
12845
12009
if test -z "$INTLTOOL_PERL"; then
12846
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
12847
 
$as_echo "$as_me: error: perl not found" >&2;}
12848
 
   { (exit 1); exit 1; }; }
 
12010
   as_fn_error $? "perl not found" "$LINENO" 5
12849
12011
fi
12850
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
12012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12851
12013
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12852
12014
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12853
12015
if test $? -ne 0; then
12854
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
12855
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
12856
 
   { (exit 1); exit 1; }; }
 
12016
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12857
12017
else
12858
12018
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
12859
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
12019
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12860
12020
$as_echo "$IT_PERL_VERSION" >&6; }
12861
12021
fi
12862
12022
if test "x" != "xno-xml"; then
12863
 
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
12023
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12864
12024
$as_echo_n "checking for XML::Parser... " >&6; }
12865
12025
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12866
 
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
12026
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12867
12027
$as_echo "ok" >&6; }
12868
12028
   else
12869
 
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
12870
 
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
12871
 
   { (exit 1); exit 1; }; }
 
12029
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12872
12030
   fi
12873
12031
fi
12874
12032
 
12878
12036
# Set DATADIRNAME correctly if it is not set yet
12879
12037
# (copied from glib-gettext.m4)
12880
12038
if test -z "$DATADIRNAME"; then
12881
 
  cat >conftest.$ac_ext <<_ACEOF
12882
 
/* confdefs.h.  */
12883
 
_ACEOF
12884
 
cat confdefs.h >>conftest.$ac_ext
12885
 
cat >>conftest.$ac_ext <<_ACEOF
 
12039
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12886
12040
/* end confdefs.h.  */
12887
12041
 
12888
12042
int
12894
12048
  return 0;
12895
12049
}
12896
12050
_ACEOF
12897
 
rm -f conftest.$ac_objext conftest$ac_exeext
12898
 
if { (ac_try="$ac_link"
12899
 
case "(($ac_try" in
12900
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12901
 
  *) ac_try_echo=$ac_try;;
12902
 
esac
12903
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12904
 
$as_echo "$ac_try_echo") >&5
12905
 
  (eval "$ac_link") 2>conftest.er1
12906
 
  ac_status=$?
12907
 
  grep -v '^ *+' conftest.er1 >conftest.err
12908
 
  rm -f conftest.er1
12909
 
  cat conftest.err >&5
12910
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911
 
  (exit $ac_status); } && {
12912
 
         test -z "$ac_c_werror_flag" ||
12913
 
         test ! -s conftest.err
12914
 
       } && test -s conftest$ac_exeext && {
12915
 
         test "$cross_compiling" = yes ||
12916
 
         $as_test_x conftest$ac_exeext
12917
 
       }; then
 
12051
if ac_fn_c_try_link "$LINENO"; then :
12918
12052
  DATADIRNAME=share
12919
12053
else
12920
 
  $as_echo "$as_me: failed program was:" >&5
12921
 
sed 's/^/| /' conftest.$ac_ext >&5
12922
 
 
12923
 
        case $host in
 
12054
  case $host in
12924
12055
    *-*-solaris*)
12925
 
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
12926
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
12927
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
12928
 
  $as_echo_n "(cached) " >&6
12929
 
else
12930
 
  cat >conftest.$ac_ext <<_ACEOF
12931
 
/* confdefs.h.  */
12932
 
_ACEOF
12933
 
cat confdefs.h >>conftest.$ac_ext
12934
 
cat >>conftest.$ac_ext <<_ACEOF
12935
 
/* end confdefs.h.  */
12936
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
12937
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12938
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
12939
 
 
12940
 
/* System header to define __stub macros and hopefully few prototypes,
12941
 
    which can conflict with char bind_textdomain_codeset (); below.
12942
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12943
 
    <limits.h> exists even on freestanding compilers.  */
12944
 
 
12945
 
#ifdef __STDC__
12946
 
# include <limits.h>
12947
 
#else
12948
 
# include <assert.h>
12949
 
#endif
12950
 
 
12951
 
#undef bind_textdomain_codeset
12952
 
 
12953
 
/* Override any GCC internal prototype to avoid an error.
12954
 
   Use char because int might match the return type of a GCC
12955
 
   builtin and then its argument prototype would still apply.  */
12956
 
#ifdef __cplusplus
12957
 
extern "C"
12958
 
#endif
12959
 
char bind_textdomain_codeset ();
12960
 
/* The GNU C library defines this for functions which it implements
12961
 
    to always fail with ENOSYS.  Some functions are actually named
12962
 
    something starting with __ and the normal name is an alias.  */
12963
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
12964
 
choke me
12965
 
#endif
12966
 
 
12967
 
int
12968
 
main ()
12969
 
{
12970
 
return bind_textdomain_codeset ();
12971
 
  ;
12972
 
  return 0;
12973
 
}
12974
 
_ACEOF
12975
 
rm -f conftest.$ac_objext conftest$ac_exeext
12976
 
if { (ac_try="$ac_link"
12977
 
case "(($ac_try" in
12978
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12979
 
  *) ac_try_echo=$ac_try;;
12980
 
esac
12981
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12982
 
$as_echo "$ac_try_echo") >&5
12983
 
  (eval "$ac_link") 2>conftest.er1
12984
 
  ac_status=$?
12985
 
  grep -v '^ *+' conftest.er1 >conftest.err
12986
 
  rm -f conftest.er1
12987
 
  cat conftest.err >&5
12988
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989
 
  (exit $ac_status); } && {
12990
 
         test -z "$ac_c_werror_flag" ||
12991
 
         test ! -s conftest.err
12992
 
       } && test -s conftest$ac_exeext && {
12993
 
         test "$cross_compiling" = yes ||
12994
 
         $as_test_x conftest$ac_exeext
12995
 
       }; then
12996
 
  ac_cv_func_bind_textdomain_codeset=yes
12997
 
else
12998
 
  $as_echo "$as_me: failed program was:" >&5
12999
 
sed 's/^/| /' conftest.$ac_ext >&5
13000
 
 
13001
 
        ac_cv_func_bind_textdomain_codeset=no
13002
 
fi
13003
 
 
13004
 
rm -rf conftest.dSYM
13005
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13006
 
      conftest$ac_exeext conftest.$ac_ext
13007
 
fi
13008
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
13009
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
13010
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
12056
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12057
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13011
12058
  DATADIRNAME=share
13012
12059
else
13013
12060
  DATADIRNAME=lib
13019
12066
    ;;
13020
12067
    esac
13021
12068
fi
13022
 
 
13023
 
rm -rf conftest.dSYM
13024
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13025
 
      conftest$ac_exeext conftest.$ac_ext
13026
 
fi
13027
 
 
13028
 
 
13029
 
 
13030
 
 
13031
 
 
13032
 
 
13033
 
 
13034
 
for ac_header in locale.h
13035
 
do
13036
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13037
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13038
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13039
 
$as_echo_n "checking for $ac_header... " >&6; }
13040
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13041
 
  $as_echo_n "(cached) " >&6
13042
 
fi
13043
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13044
 
                 $as_echo "$as_val"'`
13045
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13046
 
$as_echo "$ac_res" >&6; }
13047
 
else
13048
 
  # Is the header compilable?
13049
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13050
 
$as_echo_n "checking $ac_header usability... " >&6; }
13051
 
cat >conftest.$ac_ext <<_ACEOF
13052
 
/* confdefs.h.  */
13053
 
_ACEOF
13054
 
cat confdefs.h >>conftest.$ac_ext
13055
 
cat >>conftest.$ac_ext <<_ACEOF
13056
 
/* end confdefs.h.  */
13057
 
$ac_includes_default
13058
 
#include <$ac_header>
13059
 
_ACEOF
13060
 
rm -f conftest.$ac_objext
13061
 
if { (ac_try="$ac_compile"
13062
 
case "(($ac_try" in
13063
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13064
 
  *) ac_try_echo=$ac_try;;
13065
 
esac
13066
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13067
 
$as_echo "$ac_try_echo") >&5
13068
 
  (eval "$ac_compile") 2>conftest.er1
13069
 
  ac_status=$?
13070
 
  grep -v '^ *+' conftest.er1 >conftest.err
13071
 
  rm -f conftest.er1
13072
 
  cat conftest.err >&5
13073
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074
 
  (exit $ac_status); } && {
13075
 
         test -z "$ac_c_werror_flag" ||
13076
 
         test ! -s conftest.err
13077
 
       } && test -s conftest.$ac_objext; then
13078
 
  ac_header_compiler=yes
13079
 
else
13080
 
  $as_echo "$as_me: failed program was:" >&5
13081
 
sed 's/^/| /' conftest.$ac_ext >&5
13082
 
 
13083
 
        ac_header_compiler=no
13084
 
fi
13085
 
 
13086
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13087
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13088
 
$as_echo "$ac_header_compiler" >&6; }
13089
 
 
13090
 
# Is the header present?
13091
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13092
 
$as_echo_n "checking $ac_header presence... " >&6; }
13093
 
cat >conftest.$ac_ext <<_ACEOF
13094
 
/* confdefs.h.  */
13095
 
_ACEOF
13096
 
cat confdefs.h >>conftest.$ac_ext
13097
 
cat >>conftest.$ac_ext <<_ACEOF
13098
 
/* end confdefs.h.  */
13099
 
#include <$ac_header>
13100
 
_ACEOF
13101
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13102
 
case "(($ac_try" in
13103
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13104
 
  *) ac_try_echo=$ac_try;;
13105
 
esac
13106
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13107
 
$as_echo "$ac_try_echo") >&5
13108
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13109
 
  ac_status=$?
13110
 
  grep -v '^ *+' conftest.er1 >conftest.err
13111
 
  rm -f conftest.er1
13112
 
  cat conftest.err >&5
13113
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114
 
  (exit $ac_status); } >/dev/null && {
13115
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13116
 
         test ! -s conftest.err
13117
 
       }; then
13118
 
  ac_header_preproc=yes
13119
 
else
13120
 
  $as_echo "$as_me: failed program was:" >&5
13121
 
sed 's/^/| /' conftest.$ac_ext >&5
13122
 
 
13123
 
  ac_header_preproc=no
13124
 
fi
13125
 
 
13126
 
rm -f conftest.err conftest.$ac_ext
13127
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13128
 
$as_echo "$ac_header_preproc" >&6; }
13129
 
 
13130
 
# So?  What about this header?
13131
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13132
 
  yes:no: )
13133
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13134
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13135
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13136
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13137
 
    ac_header_preproc=yes
13138
 
    ;;
13139
 
  no:yes:* )
13140
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13141
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13142
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13143
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13144
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13145
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13146
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13147
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13148
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13149
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13150
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13151
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13152
 
    ( cat <<\_ASBOX
13153
 
## ------------------------------------------------------------------------------ ##
13154
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu ##
13155
 
## ------------------------------------------------------------------------------ ##
13156
 
_ASBOX
13157
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
13158
 
    ;;
13159
 
esac
13160
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13161
 
$as_echo_n "checking for $ac_header... " >&6; }
13162
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13163
 
  $as_echo_n "(cached) " >&6
13164
 
else
13165
 
  eval "$as_ac_Header=\$ac_header_preproc"
13166
 
fi
13167
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13168
 
                 $as_echo "$as_val"'`
13169
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13170
 
$as_echo "$ac_res" >&6; }
13171
 
 
13172
 
fi
13173
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13174
 
                 $as_echo "$as_val"'`
13175
 
   if test "x$as_val" = x""yes; then
 
12069
rm -f core conftest.err conftest.$ac_objext \
 
12070
    conftest$ac_exeext conftest.$ac_ext
 
12071
fi
 
12072
 
 
12073
 
 
12074
 
 
12075
 
 
12076
 
 
12077
 
 
12078
   for ac_header in locale.h
 
12079
do :
 
12080
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
12081
if test "x$ac_cv_header_locale_h" = x""yes; then :
13176
12082
  cat >>confdefs.h <<_ACEOF
13177
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
12083
#define HAVE_LOCALE_H 1
13178
12084
_ACEOF
13179
12085
 
13180
12086
fi
13182
12088
done
13183
12089
 
13184
12090
    if test $ac_cv_header_locale_h = yes; then
13185
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
12091
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13186
12092
$as_echo_n "checking for LC_MESSAGES... " >&6; }
13187
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
12093
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
13188
12094
  $as_echo_n "(cached) " >&6
13189
12095
else
13190
 
  cat >conftest.$ac_ext <<_ACEOF
13191
 
/* confdefs.h.  */
13192
 
_ACEOF
13193
 
cat confdefs.h >>conftest.$ac_ext
13194
 
cat >>conftest.$ac_ext <<_ACEOF
 
12096
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13195
12097
/* end confdefs.h.  */
13196
12098
#include <locale.h>
13197
12099
int
13202
12104
  return 0;
13203
12105
}
13204
12106
_ACEOF
13205
 
rm -f conftest.$ac_objext conftest$ac_exeext
13206
 
if { (ac_try="$ac_link"
13207
 
case "(($ac_try" in
13208
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13209
 
  *) ac_try_echo=$ac_try;;
13210
 
esac
13211
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13212
 
$as_echo "$ac_try_echo") >&5
13213
 
  (eval "$ac_link") 2>conftest.er1
13214
 
  ac_status=$?
13215
 
  grep -v '^ *+' conftest.er1 >conftest.err
13216
 
  rm -f conftest.er1
13217
 
  cat conftest.err >&5
13218
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219
 
  (exit $ac_status); } && {
13220
 
         test -z "$ac_c_werror_flag" ||
13221
 
         test ! -s conftest.err
13222
 
       } && test -s conftest$ac_exeext && {
13223
 
         test "$cross_compiling" = yes ||
13224
 
         $as_test_x conftest$ac_exeext
13225
 
       }; then
 
12107
if ac_fn_c_try_link "$LINENO"; then :
13226
12108
  am_cv_val_LC_MESSAGES=yes
13227
12109
else
13228
 
  $as_echo "$as_me: failed program was:" >&5
13229
 
sed 's/^/| /' conftest.$ac_ext >&5
13230
 
 
13231
 
        am_cv_val_LC_MESSAGES=no
13232
 
fi
13233
 
 
13234
 
rm -rf conftest.dSYM
13235
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13236
 
      conftest$ac_exeext conftest.$ac_ext
13237
 
fi
13238
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
12110
  am_cv_val_LC_MESSAGES=no
 
12111
fi
 
12112
rm -f core conftest.err conftest.$ac_objext \
 
12113
    conftest$ac_exeext conftest.$ac_ext
 
12114
fi
 
12115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13239
12116
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13240
12117
    if test $am_cv_val_LC_MESSAGES = yes; then
13241
12118
 
13242
 
cat >>confdefs.h <<\_ACEOF
13243
 
#define HAVE_LC_MESSAGES 1
13244
 
_ACEOF
 
12119
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13245
12120
 
13246
12121
    fi
13247
12122
  fi
13254
12129
    XGETTEXT=:
13255
12130
    INTLLIBS=
13256
12131
 
13257
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
13258
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
13259
 
$as_echo_n "checking for libintl.h... " >&6; }
13260
 
if test "${ac_cv_header_libintl_h+set}" = set; then
13261
 
  $as_echo_n "(cached) " >&6
13262
 
fi
13263
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
13264
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
13265
 
else
13266
 
  # Is the header compilable?
13267
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
13268
 
$as_echo_n "checking libintl.h usability... " >&6; }
13269
 
cat >conftest.$ac_ext <<_ACEOF
13270
 
/* confdefs.h.  */
13271
 
_ACEOF
13272
 
cat confdefs.h >>conftest.$ac_ext
13273
 
cat >>conftest.$ac_ext <<_ACEOF
13274
 
/* end confdefs.h.  */
13275
 
$ac_includes_default
13276
 
#include <libintl.h>
13277
 
_ACEOF
13278
 
rm -f conftest.$ac_objext
13279
 
if { (ac_try="$ac_compile"
13280
 
case "(($ac_try" in
13281
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13282
 
  *) ac_try_echo=$ac_try;;
13283
 
esac
13284
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13285
 
$as_echo "$ac_try_echo") >&5
13286
 
  (eval "$ac_compile") 2>conftest.er1
13287
 
  ac_status=$?
13288
 
  grep -v '^ *+' conftest.er1 >conftest.err
13289
 
  rm -f conftest.er1
13290
 
  cat conftest.err >&5
13291
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292
 
  (exit $ac_status); } && {
13293
 
         test -z "$ac_c_werror_flag" ||
13294
 
         test ! -s conftest.err
13295
 
       } && test -s conftest.$ac_objext; then
13296
 
  ac_header_compiler=yes
13297
 
else
13298
 
  $as_echo "$as_me: failed program was:" >&5
13299
 
sed 's/^/| /' conftest.$ac_ext >&5
13300
 
 
13301
 
        ac_header_compiler=no
13302
 
fi
13303
 
 
13304
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13305
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13306
 
$as_echo "$ac_header_compiler" >&6; }
13307
 
 
13308
 
# Is the header present?
13309
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
13310
 
$as_echo_n "checking libintl.h presence... " >&6; }
13311
 
cat >conftest.$ac_ext <<_ACEOF
13312
 
/* confdefs.h.  */
13313
 
_ACEOF
13314
 
cat confdefs.h >>conftest.$ac_ext
13315
 
cat >>conftest.$ac_ext <<_ACEOF
13316
 
/* end confdefs.h.  */
13317
 
#include <libintl.h>
13318
 
_ACEOF
13319
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13320
 
case "(($ac_try" in
13321
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13322
 
  *) ac_try_echo=$ac_try;;
13323
 
esac
13324
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13325
 
$as_echo "$ac_try_echo") >&5
13326
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13327
 
  ac_status=$?
13328
 
  grep -v '^ *+' conftest.er1 >conftest.err
13329
 
  rm -f conftest.er1
13330
 
  cat conftest.err >&5
13331
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332
 
  (exit $ac_status); } >/dev/null && {
13333
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13334
 
         test ! -s conftest.err
13335
 
       }; then
13336
 
  ac_header_preproc=yes
13337
 
else
13338
 
  $as_echo "$as_me: failed program was:" >&5
13339
 
sed 's/^/| /' conftest.$ac_ext >&5
13340
 
 
13341
 
  ac_header_preproc=no
13342
 
fi
13343
 
 
13344
 
rm -f conftest.err conftest.$ac_ext
13345
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13346
 
$as_echo "$ac_header_preproc" >&6; }
13347
 
 
13348
 
# So?  What about this header?
13349
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13350
 
  yes:no: )
13351
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
13352
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13353
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
13354
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
13355
 
    ac_header_preproc=yes
13356
 
    ;;
13357
 
  no:yes:* )
13358
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
13359
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
13360
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
13361
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
13362
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
13363
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
13364
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
13365
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
13366
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
13367
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
13368
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
13369
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
13370
 
    ( cat <<\_ASBOX
13371
 
## ------------------------------------------------------------------------------ ##
13372
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu ##
13373
 
## ------------------------------------------------------------------------------ ##
13374
 
_ASBOX
13375
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
13376
 
    ;;
13377
 
esac
13378
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
13379
 
$as_echo_n "checking for libintl.h... " >&6; }
13380
 
if test "${ac_cv_header_libintl_h+set}" = set; then
13381
 
  $as_echo_n "(cached) " >&6
13382
 
else
13383
 
  ac_cv_header_libintl_h=$ac_header_preproc
13384
 
fi
13385
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
13386
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
13387
 
 
13388
 
fi
13389
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
12132
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
12133
if test "x$ac_cv_header_libintl_h" = x""yes; then :
13390
12134
  gt_cv_func_dgettext_libintl="no"
13391
12135
      libintl_extra_libs=""
13392
12136
 
13393
12137
      #
13394
12138
      # First check in libc
13395
12139
      #
13396
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
12140
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13397
12141
$as_echo_n "checking for ngettext in libc... " >&6; }
13398
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
12142
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
13399
12143
  $as_echo_n "(cached) " >&6
13400
12144
else
13401
 
  cat >conftest.$ac_ext <<_ACEOF
13402
 
/* confdefs.h.  */
13403
 
_ACEOF
13404
 
cat confdefs.h >>conftest.$ac_ext
13405
 
cat >>conftest.$ac_ext <<_ACEOF
 
12145
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13406
12146
/* end confdefs.h.  */
13407
12147
 
13408
12148
#include <libintl.h>
13415
12155
  return 0;
13416
12156
}
13417
12157
_ACEOF
13418
 
rm -f conftest.$ac_objext conftest$ac_exeext
13419
 
if { (ac_try="$ac_link"
13420
 
case "(($ac_try" in
13421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13422
 
  *) ac_try_echo=$ac_try;;
13423
 
esac
13424
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13425
 
$as_echo "$ac_try_echo") >&5
13426
 
  (eval "$ac_link") 2>conftest.er1
13427
 
  ac_status=$?
13428
 
  grep -v '^ *+' conftest.er1 >conftest.err
13429
 
  rm -f conftest.er1
13430
 
  cat conftest.err >&5
13431
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432
 
  (exit $ac_status); } && {
13433
 
         test -z "$ac_c_werror_flag" ||
13434
 
         test ! -s conftest.err
13435
 
       } && test -s conftest$ac_exeext && {
13436
 
         test "$cross_compiling" = yes ||
13437
 
         $as_test_x conftest$ac_exeext
13438
 
       }; then
 
12158
if ac_fn_c_try_link "$LINENO"; then :
13439
12159
  gt_cv_func_ngettext_libc=yes
13440
12160
else
13441
 
  $as_echo "$as_me: failed program was:" >&5
13442
 
sed 's/^/| /' conftest.$ac_ext >&5
13443
 
 
13444
 
        gt_cv_func_ngettext_libc=no
13445
 
fi
13446
 
 
13447
 
rm -rf conftest.dSYM
13448
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13449
 
      conftest$ac_exeext conftest.$ac_ext
13450
 
 
13451
 
fi
13452
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
12161
  gt_cv_func_ngettext_libc=no
 
12162
fi
 
12163
rm -f core conftest.err conftest.$ac_objext \
 
12164
    conftest$ac_exeext conftest.$ac_ext
 
12165
 
 
12166
fi
 
12167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13453
12168
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13454
12169
 
13455
12170
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13456
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
12171
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13457
12172
$as_echo_n "checking for dgettext in libc... " >&6; }
13458
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
12173
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
13459
12174
  $as_echo_n "(cached) " >&6
13460
12175
else
13461
 
  cat >conftest.$ac_ext <<_ACEOF
13462
 
/* confdefs.h.  */
13463
 
_ACEOF
13464
 
cat confdefs.h >>conftest.$ac_ext
13465
 
cat >>conftest.$ac_ext <<_ACEOF
 
12176
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13466
12177
/* end confdefs.h.  */
13467
12178
 
13468
12179
#include <libintl.h>
13475
12186
  return 0;
13476
12187
}
13477
12188
_ACEOF
13478
 
rm -f conftest.$ac_objext conftest$ac_exeext
13479
 
if { (ac_try="$ac_link"
13480
 
case "(($ac_try" in
13481
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13482
 
  *) ac_try_echo=$ac_try;;
13483
 
esac
13484
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13485
 
$as_echo "$ac_try_echo") >&5
13486
 
  (eval "$ac_link") 2>conftest.er1
13487
 
  ac_status=$?
13488
 
  grep -v '^ *+' conftest.er1 >conftest.err
13489
 
  rm -f conftest.er1
13490
 
  cat conftest.err >&5
13491
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492
 
  (exit $ac_status); } && {
13493
 
         test -z "$ac_c_werror_flag" ||
13494
 
         test ! -s conftest.err
13495
 
       } && test -s conftest$ac_exeext && {
13496
 
         test "$cross_compiling" = yes ||
13497
 
         $as_test_x conftest$ac_exeext
13498
 
       }; then
 
12189
if ac_fn_c_try_link "$LINENO"; then :
13499
12190
  gt_cv_func_dgettext_libc=yes
13500
12191
else
13501
 
  $as_echo "$as_me: failed program was:" >&5
13502
 
sed 's/^/| /' conftest.$ac_ext >&5
13503
 
 
13504
 
        gt_cv_func_dgettext_libc=no
13505
 
fi
13506
 
 
13507
 
rm -rf conftest.dSYM
13508
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13509
 
      conftest$ac_exeext conftest.$ac_ext
13510
 
 
13511
 
fi
13512
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
12192
  gt_cv_func_dgettext_libc=no
 
12193
fi
 
12194
rm -f core conftest.err conftest.$ac_objext \
 
12195
    conftest$ac_exeext conftest.$ac_ext
 
12196
 
 
12197
fi
 
12198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13513
12199
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13514
12200
      fi
13515
12201
 
13516
12202
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13517
 
 
13518
 
for ac_func in bind_textdomain_codeset
13519
 
do
13520
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13521
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13522
 
$as_echo_n "checking for $ac_func... " >&6; }
13523
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13524
 
  $as_echo_n "(cached) " >&6
13525
 
else
13526
 
  cat >conftest.$ac_ext <<_ACEOF
13527
 
/* confdefs.h.  */
13528
 
_ACEOF
13529
 
cat confdefs.h >>conftest.$ac_ext
13530
 
cat >>conftest.$ac_ext <<_ACEOF
13531
 
/* end confdefs.h.  */
13532
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13533
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13534
 
#define $ac_func innocuous_$ac_func
13535
 
 
13536
 
/* System header to define __stub macros and hopefully few prototypes,
13537
 
    which can conflict with char $ac_func (); below.
13538
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13539
 
    <limits.h> exists even on freestanding compilers.  */
13540
 
 
13541
 
#ifdef __STDC__
13542
 
# include <limits.h>
13543
 
#else
13544
 
# include <assert.h>
13545
 
#endif
13546
 
 
13547
 
#undef $ac_func
13548
 
 
13549
 
/* Override any GCC internal prototype to avoid an error.
13550
 
   Use char because int might match the return type of a GCC
13551
 
   builtin and then its argument prototype would still apply.  */
13552
 
#ifdef __cplusplus
13553
 
extern "C"
13554
 
#endif
13555
 
char $ac_func ();
13556
 
/* The GNU C library defines this for functions which it implements
13557
 
    to always fail with ENOSYS.  Some functions are actually named
13558
 
    something starting with __ and the normal name is an alias.  */
13559
 
#if defined __stub_$ac_func || defined __stub___$ac_func
13560
 
choke me
13561
 
#endif
13562
 
 
13563
 
int
13564
 
main ()
13565
 
{
13566
 
return $ac_func ();
13567
 
  ;
13568
 
  return 0;
13569
 
}
13570
 
_ACEOF
13571
 
rm -f conftest.$ac_objext conftest$ac_exeext
13572
 
if { (ac_try="$ac_link"
13573
 
case "(($ac_try" in
13574
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13575
 
  *) ac_try_echo=$ac_try;;
13576
 
esac
13577
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13578
 
$as_echo "$ac_try_echo") >&5
13579
 
  (eval "$ac_link") 2>conftest.er1
13580
 
  ac_status=$?
13581
 
  grep -v '^ *+' conftest.er1 >conftest.err
13582
 
  rm -f conftest.er1
13583
 
  cat conftest.err >&5
13584
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585
 
  (exit $ac_status); } && {
13586
 
         test -z "$ac_c_werror_flag" ||
13587
 
         test ! -s conftest.err
13588
 
       } && test -s conftest$ac_exeext && {
13589
 
         test "$cross_compiling" = yes ||
13590
 
         $as_test_x conftest$ac_exeext
13591
 
       }; then
13592
 
  eval "$as_ac_var=yes"
13593
 
else
13594
 
  $as_echo "$as_me: failed program was:" >&5
13595
 
sed 's/^/| /' conftest.$ac_ext >&5
13596
 
 
13597
 
        eval "$as_ac_var=no"
13598
 
fi
13599
 
 
13600
 
rm -rf conftest.dSYM
13601
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13602
 
      conftest$ac_exeext conftest.$ac_ext
13603
 
fi
13604
 
ac_res=`eval 'as_val=${'$as_ac_var'}
13605
 
                 $as_echo "$as_val"'`
13606
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13607
 
$as_echo "$ac_res" >&6; }
13608
 
as_val=`eval 'as_val=${'$as_ac_var'}
13609
 
                 $as_echo "$as_val"'`
13610
 
   if test "x$as_val" = x""yes; then
 
12203
        for ac_func in bind_textdomain_codeset
 
12204
do :
 
12205
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12206
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13611
12207
  cat >>confdefs.h <<_ACEOF
13612
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12208
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13613
12209
_ACEOF
13614
12210
 
13615
12211
fi
13624
12220
         || test "$gt_cv_func_ngettext_libc" != "yes" \
13625
12221
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13626
12222
 
13627
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
12223
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13628
12224
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13629
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
12225
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
13630
12226
  $as_echo_n "(cached) " >&6
13631
12227
else
13632
12228
  ac_check_lib_save_LIBS=$LIBS
13633
12229
LIBS="-lintl  $LIBS"
13634
 
cat >conftest.$ac_ext <<_ACEOF
13635
 
/* confdefs.h.  */
13636
 
_ACEOF
13637
 
cat confdefs.h >>conftest.$ac_ext
13638
 
cat >>conftest.$ac_ext <<_ACEOF
 
12230
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13639
12231
/* end confdefs.h.  */
13640
12232
 
13641
12233
/* Override any GCC internal prototype to avoid an error.
13653
12245
  return 0;
13654
12246
}
13655
12247
_ACEOF
13656
 
rm -f conftest.$ac_objext conftest$ac_exeext
13657
 
if { (ac_try="$ac_link"
13658
 
case "(($ac_try" in
13659
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13660
 
  *) ac_try_echo=$ac_try;;
13661
 
esac
13662
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13663
 
$as_echo "$ac_try_echo") >&5
13664
 
  (eval "$ac_link") 2>conftest.er1
13665
 
  ac_status=$?
13666
 
  grep -v '^ *+' conftest.er1 >conftest.err
13667
 
  rm -f conftest.er1
13668
 
  cat conftest.err >&5
13669
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670
 
  (exit $ac_status); } && {
13671
 
         test -z "$ac_c_werror_flag" ||
13672
 
         test ! -s conftest.err
13673
 
       } && test -s conftest$ac_exeext && {
13674
 
         test "$cross_compiling" = yes ||
13675
 
         $as_test_x conftest$ac_exeext
13676
 
       }; then
 
12248
if ac_fn_c_try_link "$LINENO"; then :
13677
12249
  ac_cv_lib_intl_bindtextdomain=yes
13678
12250
else
13679
 
  $as_echo "$as_me: failed program was:" >&5
13680
 
sed 's/^/| /' conftest.$ac_ext >&5
13681
 
 
13682
 
        ac_cv_lib_intl_bindtextdomain=no
 
12251
  ac_cv_lib_intl_bindtextdomain=no
13683
12252
fi
13684
 
 
13685
 
rm -rf conftest.dSYM
13686
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13687
 
      conftest$ac_exeext conftest.$ac_ext
 
12253
rm -f core conftest.err conftest.$ac_objext \
 
12254
    conftest$ac_exeext conftest.$ac_ext
13688
12255
LIBS=$ac_check_lib_save_LIBS
13689
12256
fi
13690
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
12257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13691
12258
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13692
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
13693
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
12259
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
12260
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13694
12261
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13695
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
12262
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
13696
12263
  $as_echo_n "(cached) " >&6
13697
12264
else
13698
12265
  ac_check_lib_save_LIBS=$LIBS
13699
12266
LIBS="-lintl  $LIBS"
13700
 
cat >conftest.$ac_ext <<_ACEOF
13701
 
/* confdefs.h.  */
13702
 
_ACEOF
13703
 
cat confdefs.h >>conftest.$ac_ext
13704
 
cat >>conftest.$ac_ext <<_ACEOF
 
12267
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13705
12268
/* end confdefs.h.  */
13706
12269
 
13707
12270
/* Override any GCC internal prototype to avoid an error.
13719
12282
  return 0;
13720
12283
}
13721
12284
_ACEOF
13722
 
rm -f conftest.$ac_objext conftest$ac_exeext
13723
 
if { (ac_try="$ac_link"
13724
 
case "(($ac_try" in
13725
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13726
 
  *) ac_try_echo=$ac_try;;
13727
 
esac
13728
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13729
 
$as_echo "$ac_try_echo") >&5
13730
 
  (eval "$ac_link") 2>conftest.er1
13731
 
  ac_status=$?
13732
 
  grep -v '^ *+' conftest.er1 >conftest.err
13733
 
  rm -f conftest.er1
13734
 
  cat conftest.err >&5
13735
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736
 
  (exit $ac_status); } && {
13737
 
         test -z "$ac_c_werror_flag" ||
13738
 
         test ! -s conftest.err
13739
 
       } && test -s conftest$ac_exeext && {
13740
 
         test "$cross_compiling" = yes ||
13741
 
         $as_test_x conftest$ac_exeext
13742
 
       }; then
 
12285
if ac_fn_c_try_link "$LINENO"; then :
13743
12286
  ac_cv_lib_intl_ngettext=yes
13744
12287
else
13745
 
  $as_echo "$as_me: failed program was:" >&5
13746
 
sed 's/^/| /' conftest.$ac_ext >&5
13747
 
 
13748
 
        ac_cv_lib_intl_ngettext=no
 
12288
  ac_cv_lib_intl_ngettext=no
13749
12289
fi
13750
 
 
13751
 
rm -rf conftest.dSYM
13752
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13753
 
      conftest$ac_exeext conftest.$ac_ext
 
12290
rm -f core conftest.err conftest.$ac_objext \
 
12291
    conftest$ac_exeext conftest.$ac_ext
13754
12292
LIBS=$ac_check_lib_save_LIBS
13755
12293
fi
13756
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
12294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13757
12295
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13758
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
13759
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
12296
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
12297
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13760
12298
$as_echo_n "checking for dgettext in -lintl... " >&6; }
13761
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
12299
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
13762
12300
  $as_echo_n "(cached) " >&6
13763
12301
else
13764
12302
  ac_check_lib_save_LIBS=$LIBS
13765
12303
LIBS="-lintl  $LIBS"
13766
 
cat >conftest.$ac_ext <<_ACEOF
13767
 
/* confdefs.h.  */
13768
 
_ACEOF
13769
 
cat confdefs.h >>conftest.$ac_ext
13770
 
cat >>conftest.$ac_ext <<_ACEOF
 
12304
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771
12305
/* end confdefs.h.  */
13772
12306
 
13773
12307
/* Override any GCC internal prototype to avoid an error.
13785
12319
  return 0;
13786
12320
}
13787
12321
_ACEOF
13788
 
rm -f conftest.$ac_objext conftest$ac_exeext
13789
 
if { (ac_try="$ac_link"
13790
 
case "(($ac_try" in
13791
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13792
 
  *) ac_try_echo=$ac_try;;
13793
 
esac
13794
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13795
 
$as_echo "$ac_try_echo") >&5
13796
 
  (eval "$ac_link") 2>conftest.er1
13797
 
  ac_status=$?
13798
 
  grep -v '^ *+' conftest.er1 >conftest.err
13799
 
  rm -f conftest.er1
13800
 
  cat conftest.err >&5
13801
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802
 
  (exit $ac_status); } && {
13803
 
         test -z "$ac_c_werror_flag" ||
13804
 
         test ! -s conftest.err
13805
 
       } && test -s conftest$ac_exeext && {
13806
 
         test "$cross_compiling" = yes ||
13807
 
         $as_test_x conftest$ac_exeext
13808
 
       }; then
 
12322
if ac_fn_c_try_link "$LINENO"; then :
13809
12323
  ac_cv_lib_intl_dgettext=yes
13810
12324
else
13811
 
  $as_echo "$as_me: failed program was:" >&5
13812
 
sed 's/^/| /' conftest.$ac_ext >&5
13813
 
 
13814
 
        ac_cv_lib_intl_dgettext=no
 
12325
  ac_cv_lib_intl_dgettext=no
13815
12326
fi
13816
 
 
13817
 
rm -rf conftest.dSYM
13818
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13819
 
      conftest$ac_exeext conftest.$ac_ext
 
12327
rm -f core conftest.err conftest.$ac_objext \
 
12328
    conftest$ac_exeext conftest.$ac_ext
13820
12329
LIBS=$ac_check_lib_save_LIBS
13821
12330
fi
13822
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
12331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13823
12332
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13824
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
12333
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
13825
12334
  gt_cv_func_dgettext_libintl=yes
13826
12335
fi
13827
12336
 
13831
12340
 
13832
12341
 
13833
12342
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13834
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
12343
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13835
12344
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13836
 
          { $as_echo "$as_me:$LINENO: result: " >&5
 
12345
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13837
12346
$as_echo "" >&6; }
13838
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
12347
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13839
12348
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13840
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
12349
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
13841
12350
  $as_echo_n "(cached) " >&6
13842
12351
else
13843
12352
  ac_check_lib_save_LIBS=$LIBS
13844
12353
LIBS="-lintl -liconv $LIBS"
13845
 
cat >conftest.$ac_ext <<_ACEOF
13846
 
/* confdefs.h.  */
13847
 
_ACEOF
13848
 
cat confdefs.h >>conftest.$ac_ext
13849
 
cat >>conftest.$ac_ext <<_ACEOF
 
12354
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13850
12355
/* end confdefs.h.  */
13851
12356
 
13852
12357
/* Override any GCC internal prototype to avoid an error.
13864
12369
  return 0;
13865
12370
}
13866
12371
_ACEOF
13867
 
rm -f conftest.$ac_objext conftest$ac_exeext
13868
 
if { (ac_try="$ac_link"
13869
 
case "(($ac_try" in
13870
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13871
 
  *) ac_try_echo=$ac_try;;
13872
 
esac
13873
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13874
 
$as_echo "$ac_try_echo") >&5
13875
 
  (eval "$ac_link") 2>conftest.er1
13876
 
  ac_status=$?
13877
 
  grep -v '^ *+' conftest.er1 >conftest.err
13878
 
  rm -f conftest.er1
13879
 
  cat conftest.err >&5
13880
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881
 
  (exit $ac_status); } && {
13882
 
         test -z "$ac_c_werror_flag" ||
13883
 
         test ! -s conftest.err
13884
 
       } && test -s conftest$ac_exeext && {
13885
 
         test "$cross_compiling" = yes ||
13886
 
         $as_test_x conftest$ac_exeext
13887
 
       }; then
 
12372
if ac_fn_c_try_link "$LINENO"; then :
13888
12373
  ac_cv_lib_intl_ngettext=yes
13889
12374
else
13890
 
  $as_echo "$as_me: failed program was:" >&5
13891
 
sed 's/^/| /' conftest.$ac_ext >&5
13892
 
 
13893
 
        ac_cv_lib_intl_ngettext=no
 
12375
  ac_cv_lib_intl_ngettext=no
13894
12376
fi
13895
 
 
13896
 
rm -rf conftest.dSYM
13897
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13898
 
      conftest$ac_exeext conftest.$ac_ext
 
12377
rm -f core conftest.err conftest.$ac_objext \
 
12378
    conftest$ac_exeext conftest.$ac_ext
13899
12379
LIBS=$ac_check_lib_save_LIBS
13900
12380
fi
13901
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
12381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13902
12382
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13903
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
13904
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
12383
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
12384
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13905
12385
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13906
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
12386
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
13907
12387
  $as_echo_n "(cached) " >&6
13908
12388
else
13909
12389
  ac_check_lib_save_LIBS=$LIBS
13910
12390
LIBS="-lintl -liconv $LIBS"
13911
 
cat >conftest.$ac_ext <<_ACEOF
13912
 
/* confdefs.h.  */
13913
 
_ACEOF
13914
 
cat confdefs.h >>conftest.$ac_ext
13915
 
cat >>conftest.$ac_ext <<_ACEOF
 
12391
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916
12392
/* end confdefs.h.  */
13917
12393
 
13918
12394
/* Override any GCC internal prototype to avoid an error.
13930
12406
  return 0;
13931
12407
}
13932
12408
_ACEOF
13933
 
rm -f conftest.$ac_objext conftest$ac_exeext
13934
 
if { (ac_try="$ac_link"
13935
 
case "(($ac_try" in
13936
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13937
 
  *) ac_try_echo=$ac_try;;
13938
 
esac
13939
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13940
 
$as_echo "$ac_try_echo") >&5
13941
 
  (eval "$ac_link") 2>conftest.er1
13942
 
  ac_status=$?
13943
 
  grep -v '^ *+' conftest.er1 >conftest.err
13944
 
  rm -f conftest.er1
13945
 
  cat conftest.err >&5
13946
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947
 
  (exit $ac_status); } && {
13948
 
         test -z "$ac_c_werror_flag" ||
13949
 
         test ! -s conftest.err
13950
 
       } && test -s conftest$ac_exeext && {
13951
 
         test "$cross_compiling" = yes ||
13952
 
         $as_test_x conftest$ac_exeext
13953
 
       }; then
 
12409
if ac_fn_c_try_link "$LINENO"; then :
13954
12410
  ac_cv_lib_intl_dcgettext=yes
13955
12411
else
13956
 
  $as_echo "$as_me: failed program was:" >&5
13957
 
sed 's/^/| /' conftest.$ac_ext >&5
13958
 
 
13959
 
        ac_cv_lib_intl_dcgettext=no
 
12412
  ac_cv_lib_intl_dcgettext=no
13960
12413
fi
13961
 
 
13962
 
rm -rf conftest.dSYM
13963
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13964
 
      conftest$ac_exeext conftest.$ac_ext
 
12414
rm -f core conftest.err conftest.$ac_objext \
 
12415
    conftest$ac_exeext conftest.$ac_ext
13965
12416
LIBS=$ac_check_lib_save_LIBS
13966
12417
fi
13967
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
12418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13968
12419
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13969
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
12420
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
13970
12421
  gt_cv_func_dgettext_libintl=yes
13971
12422
                        libintl_extra_libs=-liconv
13972
12423
else
13988
12439
          glib_save_LIBS="$LIBS"
13989
12440
          LIBS="$LIBS -lintl $libintl_extra_libs"
13990
12441
          unset ac_cv_func_bind_textdomain_codeset
13991
 
 
13992
 
for ac_func in bind_textdomain_codeset
13993
 
do
13994
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13995
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13996
 
$as_echo_n "checking for $ac_func... " >&6; }
13997
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13998
 
  $as_echo_n "(cached) " >&6
13999
 
else
14000
 
  cat >conftest.$ac_ext <<_ACEOF
14001
 
/* confdefs.h.  */
14002
 
_ACEOF
14003
 
cat confdefs.h >>conftest.$ac_ext
14004
 
cat >>conftest.$ac_ext <<_ACEOF
14005
 
/* end confdefs.h.  */
14006
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14007
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14008
 
#define $ac_func innocuous_$ac_func
14009
 
 
14010
 
/* System header to define __stub macros and hopefully few prototypes,
14011
 
    which can conflict with char $ac_func (); below.
14012
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14013
 
    <limits.h> exists even on freestanding compilers.  */
14014
 
 
14015
 
#ifdef __STDC__
14016
 
# include <limits.h>
14017
 
#else
14018
 
# include <assert.h>
14019
 
#endif
14020
 
 
14021
 
#undef $ac_func
14022
 
 
14023
 
/* Override any GCC internal prototype to avoid an error.
14024
 
   Use char because int might match the return type of a GCC
14025
 
   builtin and then its argument prototype would still apply.  */
14026
 
#ifdef __cplusplus
14027
 
extern "C"
14028
 
#endif
14029
 
char $ac_func ();
14030
 
/* The GNU C library defines this for functions which it implements
14031
 
    to always fail with ENOSYS.  Some functions are actually named
14032
 
    something starting with __ and the normal name is an alias.  */
14033
 
#if defined __stub_$ac_func || defined __stub___$ac_func
14034
 
choke me
14035
 
#endif
14036
 
 
14037
 
int
14038
 
main ()
14039
 
{
14040
 
return $ac_func ();
14041
 
  ;
14042
 
  return 0;
14043
 
}
14044
 
_ACEOF
14045
 
rm -f conftest.$ac_objext conftest$ac_exeext
14046
 
if { (ac_try="$ac_link"
14047
 
case "(($ac_try" in
14048
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14049
 
  *) ac_try_echo=$ac_try;;
14050
 
esac
14051
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14052
 
$as_echo "$ac_try_echo") >&5
14053
 
  (eval "$ac_link") 2>conftest.er1
14054
 
  ac_status=$?
14055
 
  grep -v '^ *+' conftest.er1 >conftest.err
14056
 
  rm -f conftest.er1
14057
 
  cat conftest.err >&5
14058
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059
 
  (exit $ac_status); } && {
14060
 
         test -z "$ac_c_werror_flag" ||
14061
 
         test ! -s conftest.err
14062
 
       } && test -s conftest$ac_exeext && {
14063
 
         test "$cross_compiling" = yes ||
14064
 
         $as_test_x conftest$ac_exeext
14065
 
       }; then
14066
 
  eval "$as_ac_var=yes"
14067
 
else
14068
 
  $as_echo "$as_me: failed program was:" >&5
14069
 
sed 's/^/| /' conftest.$ac_ext >&5
14070
 
 
14071
 
        eval "$as_ac_var=no"
14072
 
fi
14073
 
 
14074
 
rm -rf conftest.dSYM
14075
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14076
 
      conftest$ac_exeext conftest.$ac_ext
14077
 
fi
14078
 
ac_res=`eval 'as_val=${'$as_ac_var'}
14079
 
                 $as_echo "$as_val"'`
14080
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14081
 
$as_echo "$ac_res" >&6; }
14082
 
as_val=`eval 'as_val=${'$as_ac_var'}
14083
 
                 $as_echo "$as_val"'`
14084
 
   if test "x$as_val" = x""yes; then
 
12442
          for ac_func in bind_textdomain_codeset
 
12443
do :
 
12444
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12445
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14085
12446
  cat >>confdefs.h <<_ACEOF
14086
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12447
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14087
12448
_ACEOF
14088
12449
 
14089
12450
fi
14113
12474
 
14114
12475
      if test "$gt_cv_have_gettext" = "yes"; then
14115
12476
 
14116
 
cat >>confdefs.h <<\_ACEOF
14117
 
#define HAVE_GETTEXT 1
14118
 
_ACEOF
 
12477
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14119
12478
 
14120
12479
        # Extract the first word of "msgfmt", so it can be a program name with args.
14121
12480
set dummy msgfmt; ac_word=$2
14122
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14123
12482
$as_echo_n "checking for $ac_word... " >&6; }
14124
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
12483
if test "${ac_cv_path_MSGFMT+set}" = set; then :
14125
12484
  $as_echo_n "(cached) " >&6
14126
12485
else
14127
12486
  case "$MSGFMT" in
14146
12505
fi
14147
12506
MSGFMT="$ac_cv_path_MSGFMT"
14148
12507
if test "$MSGFMT" != "no"; then
14149
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
12508
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14150
12509
$as_echo "$MSGFMT" >&6; }
14151
12510
else
14152
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12511
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14153
12512
$as_echo "no" >&6; }
14154
12513
fi
14155
12514
        if test "$MSGFMT" != "no"; then
14156
12515
          glib_save_LIBS="$LIBS"
14157
12516
          LIBS="$LIBS $INTLLIBS"
14158
 
 
14159
 
for ac_func in dcgettext
14160
 
do
14161
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14162
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14163
 
$as_echo_n "checking for $ac_func... " >&6; }
14164
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14165
 
  $as_echo_n "(cached) " >&6
14166
 
else
14167
 
  cat >conftest.$ac_ext <<_ACEOF
14168
 
/* confdefs.h.  */
14169
 
_ACEOF
14170
 
cat confdefs.h >>conftest.$ac_ext
14171
 
cat >>conftest.$ac_ext <<_ACEOF
14172
 
/* end confdefs.h.  */
14173
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14174
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14175
 
#define $ac_func innocuous_$ac_func
14176
 
 
14177
 
/* System header to define __stub macros and hopefully few prototypes,
14178
 
    which can conflict with char $ac_func (); below.
14179
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14180
 
    <limits.h> exists even on freestanding compilers.  */
14181
 
 
14182
 
#ifdef __STDC__
14183
 
# include <limits.h>
14184
 
#else
14185
 
# include <assert.h>
14186
 
#endif
14187
 
 
14188
 
#undef $ac_func
14189
 
 
14190
 
/* Override any GCC internal prototype to avoid an error.
14191
 
   Use char because int might match the return type of a GCC
14192
 
   builtin and then its argument prototype would still apply.  */
14193
 
#ifdef __cplusplus
14194
 
extern "C"
14195
 
#endif
14196
 
char $ac_func ();
14197
 
/* The GNU C library defines this for functions which it implements
14198
 
    to always fail with ENOSYS.  Some functions are actually named
14199
 
    something starting with __ and the normal name is an alias.  */
14200
 
#if defined __stub_$ac_func || defined __stub___$ac_func
14201
 
choke me
14202
 
#endif
14203
 
 
14204
 
int
14205
 
main ()
14206
 
{
14207
 
return $ac_func ();
14208
 
  ;
14209
 
  return 0;
14210
 
}
14211
 
_ACEOF
14212
 
rm -f conftest.$ac_objext conftest$ac_exeext
14213
 
if { (ac_try="$ac_link"
14214
 
case "(($ac_try" in
14215
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14216
 
  *) ac_try_echo=$ac_try;;
14217
 
esac
14218
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14219
 
$as_echo "$ac_try_echo") >&5
14220
 
  (eval "$ac_link") 2>conftest.er1
14221
 
  ac_status=$?
14222
 
  grep -v '^ *+' conftest.er1 >conftest.err
14223
 
  rm -f conftest.er1
14224
 
  cat conftest.err >&5
14225
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226
 
  (exit $ac_status); } && {
14227
 
         test -z "$ac_c_werror_flag" ||
14228
 
         test ! -s conftest.err
14229
 
       } && test -s conftest$ac_exeext && {
14230
 
         test "$cross_compiling" = yes ||
14231
 
         $as_test_x conftest$ac_exeext
14232
 
       }; then
14233
 
  eval "$as_ac_var=yes"
14234
 
else
14235
 
  $as_echo "$as_me: failed program was:" >&5
14236
 
sed 's/^/| /' conftest.$ac_ext >&5
14237
 
 
14238
 
        eval "$as_ac_var=no"
14239
 
fi
14240
 
 
14241
 
rm -rf conftest.dSYM
14242
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14243
 
      conftest$ac_exeext conftest.$ac_ext
14244
 
fi
14245
 
ac_res=`eval 'as_val=${'$as_ac_var'}
14246
 
                 $as_echo "$as_val"'`
14247
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14248
 
$as_echo "$ac_res" >&6; }
14249
 
as_val=`eval 'as_val=${'$as_ac_var'}
14250
 
                 $as_echo "$as_val"'`
14251
 
   if test "x$as_val" = x""yes; then
 
12517
          for ac_func in dcgettext
 
12518
do :
 
12519
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
12520
if test "x$ac_cv_func_dcgettext" = x""yes; then :
14252
12521
  cat >>confdefs.h <<_ACEOF
14253
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12522
#define HAVE_DCGETTEXT 1
14254
12523
_ACEOF
14255
12524
 
14256
12525
fi
14257
12526
done
14258
12527
 
14259
12528
          MSGFMT_OPTS=
14260
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
12529
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14261
12530
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
14262
12531
          cat >conftest.foo <<_ACEOF
14263
12532
 
14272
12541
"Content-Transfer-Encoding: 8bit\n"
14273
12542
 
14274
12543
_ACEOF
14275
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
12544
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
14276
12545
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14277
12546
  ac_status=$?
14278
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279
 
  (exit $ac_status); }; then
14280
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12547
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12548
  test $ac_status = 0; }; then
 
12549
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14281
12550
$as_echo "yes" >&6; }
14282
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
12551
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14283
12552
$as_echo "no" >&6; }
14284
12553
echo "$as_me: failed input was:" >&5
14285
12554
sed 's/^/| /' conftest.foo >&5
14287
12556
 
14288
12557
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
14289
12558
set dummy gmsgfmt; ac_word=$2
14290
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14291
12560
$as_echo_n "checking for $ac_word... " >&6; }
14292
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
12561
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
14293
12562
  $as_echo_n "(cached) " >&6
14294
12563
else
14295
12564
  case $GMSGFMT in
14302
12571
do
14303
12572
  IFS=$as_save_IFS
14304
12573
  test -z "$as_dir" && as_dir=.
14305
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12574
    for ac_exec_ext in '' $ac_executable_extensions; do
14306
12575
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14307
12576
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14308
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12577
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14309
12578
    break 2
14310
12579
  fi
14311
12580
done
14312
 
done
 
12581
  done
14313
12582
IFS=$as_save_IFS
14314
12583
 
14315
12584
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14318
12587
fi
14319
12588
GMSGFMT=$ac_cv_path_GMSGFMT
14320
12589
if test -n "$GMSGFMT"; then
14321
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
12590
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14322
12591
$as_echo "$GMSGFMT" >&6; }
14323
12592
else
14324
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12593
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14325
12594
$as_echo "no" >&6; }
14326
12595
fi
14327
12596
 
14328
12597
 
14329
12598
          # Extract the first word of "xgettext", so it can be a program name with args.
14330
12599
set dummy xgettext; ac_word=$2
14331
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14332
12601
$as_echo_n "checking for $ac_word... " >&6; }
14333
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
12602
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
14334
12603
  $as_echo_n "(cached) " >&6
14335
12604
else
14336
12605
  case "$XGETTEXT" in
14355
12624
fi
14356
12625
XGETTEXT="$ac_cv_path_XGETTEXT"
14357
12626
if test "$XGETTEXT" != ":"; then
14358
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
12627
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14359
12628
$as_echo "$XGETTEXT" >&6; }
14360
12629
else
14361
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12630
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14362
12631
$as_echo "no" >&6; }
14363
12632
fi
14364
12633
 
14365
 
          cat >conftest.$ac_ext <<_ACEOF
14366
 
/* confdefs.h.  */
14367
 
_ACEOF
14368
 
cat confdefs.h >>conftest.$ac_ext
14369
 
cat >>conftest.$ac_ext <<_ACEOF
 
12634
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370
12635
/* end confdefs.h.  */
14371
12636
 
14372
12637
int
14378
12643
  return 0;
14379
12644
}
14380
12645
_ACEOF
14381
 
rm -f conftest.$ac_objext conftest$ac_exeext
14382
 
if { (ac_try="$ac_link"
14383
 
case "(($ac_try" in
14384
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14385
 
  *) ac_try_echo=$ac_try;;
14386
 
esac
14387
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14388
 
$as_echo "$ac_try_echo") >&5
14389
 
  (eval "$ac_link") 2>conftest.er1
14390
 
  ac_status=$?
14391
 
  grep -v '^ *+' conftest.er1 >conftest.err
14392
 
  rm -f conftest.er1
14393
 
  cat conftest.err >&5
14394
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395
 
  (exit $ac_status); } && {
14396
 
         test -z "$ac_c_werror_flag" ||
14397
 
         test ! -s conftest.err
14398
 
       } && test -s conftest$ac_exeext && {
14399
 
         test "$cross_compiling" = yes ||
14400
 
         $as_test_x conftest$ac_exeext
14401
 
       }; then
 
12646
if ac_fn_c_try_link "$LINENO"; then :
14402
12647
  CATOBJEXT=.gmo
14403
12648
             DATADIRNAME=share
14404
12649
else
14405
 
  $as_echo "$as_me: failed program was:" >&5
14406
 
sed 's/^/| /' conftest.$ac_ext >&5
14407
 
 
14408
 
        case $host in
 
12650
  case $host in
14409
12651
            *-*-solaris*)
14410
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
14411
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
14412
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
14413
 
  $as_echo_n "(cached) " >&6
14414
 
else
14415
 
  cat >conftest.$ac_ext <<_ACEOF
14416
 
/* confdefs.h.  */
14417
 
_ACEOF
14418
 
cat confdefs.h >>conftest.$ac_ext
14419
 
cat >>conftest.$ac_ext <<_ACEOF
14420
 
/* end confdefs.h.  */
14421
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
14422
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14423
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
14424
 
 
14425
 
/* System header to define __stub macros and hopefully few prototypes,
14426
 
    which can conflict with char bind_textdomain_codeset (); below.
14427
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14428
 
    <limits.h> exists even on freestanding compilers.  */
14429
 
 
14430
 
#ifdef __STDC__
14431
 
# include <limits.h>
14432
 
#else
14433
 
# include <assert.h>
14434
 
#endif
14435
 
 
14436
 
#undef bind_textdomain_codeset
14437
 
 
14438
 
/* Override any GCC internal prototype to avoid an error.
14439
 
   Use char because int might match the return type of a GCC
14440
 
   builtin and then its argument prototype would still apply.  */
14441
 
#ifdef __cplusplus
14442
 
extern "C"
14443
 
#endif
14444
 
char bind_textdomain_codeset ();
14445
 
/* The GNU C library defines this for functions which it implements
14446
 
    to always fail with ENOSYS.  Some functions are actually named
14447
 
    something starting with __ and the normal name is an alias.  */
14448
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
14449
 
choke me
14450
 
#endif
14451
 
 
14452
 
int
14453
 
main ()
14454
 
{
14455
 
return bind_textdomain_codeset ();
14456
 
  ;
14457
 
  return 0;
14458
 
}
14459
 
_ACEOF
14460
 
rm -f conftest.$ac_objext conftest$ac_exeext
14461
 
if { (ac_try="$ac_link"
14462
 
case "(($ac_try" in
14463
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14464
 
  *) ac_try_echo=$ac_try;;
14465
 
esac
14466
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14467
 
$as_echo "$ac_try_echo") >&5
14468
 
  (eval "$ac_link") 2>conftest.er1
14469
 
  ac_status=$?
14470
 
  grep -v '^ *+' conftest.er1 >conftest.err
14471
 
  rm -f conftest.er1
14472
 
  cat conftest.err >&5
14473
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474
 
  (exit $ac_status); } && {
14475
 
         test -z "$ac_c_werror_flag" ||
14476
 
         test ! -s conftest.err
14477
 
       } && test -s conftest$ac_exeext && {
14478
 
         test "$cross_compiling" = yes ||
14479
 
         $as_test_x conftest$ac_exeext
14480
 
       }; then
14481
 
  ac_cv_func_bind_textdomain_codeset=yes
14482
 
else
14483
 
  $as_echo "$as_me: failed program was:" >&5
14484
 
sed 's/^/| /' conftest.$ac_ext >&5
14485
 
 
14486
 
        ac_cv_func_bind_textdomain_codeset=no
14487
 
fi
14488
 
 
14489
 
rm -rf conftest.dSYM
14490
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14491
 
      conftest$ac_exeext conftest.$ac_ext
14492
 
fi
14493
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
14494
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
14495
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
12652
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12653
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14496
12654
  CATOBJEXT=.gmo
14497
12655
               DATADIRNAME=share
14498
12656
else
14507
12665
            ;;
14508
12666
            esac
14509
12667
fi
14510
 
 
14511
 
rm -rf conftest.dSYM
14512
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14513
 
      conftest$ac_exeext conftest.$ac_ext
 
12668
rm -f core conftest.err conftest.$ac_objext \
 
12669
    conftest$ac_exeext conftest.$ac_ext
14514
12670
          LIBS="$glib_save_LIBS"
14515
12671
          INSTOBJEXT=.mo
14516
12672
        else
14524
12680
 
14525
12681
    if test "$gt_cv_have_gettext" = "yes" ; then
14526
12682
 
14527
 
cat >>confdefs.h <<\_ACEOF
14528
 
#define ENABLE_NLS 1
14529
 
_ACEOF
 
12683
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
14530
12684
 
14531
12685
    fi
14532
12686
 
14534
12688
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
14535
12689
        : ;
14536
12690
      else
14537
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
12691
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
14538
12692
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14539
12693
        XGETTEXT=":"
14540
12694
      fi
14567
12721
     if test "x$ALL_LINGUAS" = "x"; then
14568
12722
       LINGUAS=
14569
12723
     else
14570
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
12724
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
14571
12725
$as_echo_n "checking for catalogs to be installed... " >&6; }
14572
12726
       NEW_LINGUAS=
14573
12727
       for presentlang in $ALL_LINGUAS; do
14592
12746
         fi
14593
12747
       done
14594
12748
       LINGUAS=$NEW_LINGUAS
14595
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
12749
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
14596
12750
$as_echo "$LINGUAS" >&6; }
14597
12751
     fi
14598
12752
 
14627
12781
 
14628
12782
 
14629
12783
GLIB_REQUIRED=2.16.0
14630
 
GTK_REQUIRED=2.14
 
12784
GTK_REQUIRED=2.18
14631
12785
SLAB_REQUIRED=2.29.0
14632
12786
 
14633
12787
# Check whether --enable-glibtest was given.
14634
 
if test "${enable_glibtest+set}" = set; then
 
12788
if test "${enable_glibtest+set}" = set; then :
14635
12789
  enableval=$enable_glibtest;
14636
12790
else
14637
12791
  enable_glibtest=yes
14662
12816
 
14663
12817
 
14664
12818
 
 
12819
 
 
12820
 
 
12821
 
 
12822
 
14665
12823
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14666
12824
        if test -n "$ac_tool_prefix"; then
14667
12825
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14668
12826
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14669
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14670
12828
$as_echo_n "checking for $ac_word... " >&6; }
14671
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
12829
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14672
12830
  $as_echo_n "(cached) " >&6
14673
12831
else
14674
12832
  case $PKG_CONFIG in
14681
12839
do
14682
12840
  IFS=$as_save_IFS
14683
12841
  test -z "$as_dir" && as_dir=.
14684
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12842
    for ac_exec_ext in '' $ac_executable_extensions; do
14685
12843
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14686
12844
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14687
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12845
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14688
12846
    break 2
14689
12847
  fi
14690
12848
done
14691
 
done
 
12849
  done
14692
12850
IFS=$as_save_IFS
14693
12851
 
14694
12852
  ;;
14696
12854
fi
14697
12855
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14698
12856
if test -n "$PKG_CONFIG"; then
14699
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
12857
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14700
12858
$as_echo "$PKG_CONFIG" >&6; }
14701
12859
else
14702
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12860
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14703
12861
$as_echo "no" >&6; }
14704
12862
fi
14705
12863
 
14709
12867
  ac_pt_PKG_CONFIG=$PKG_CONFIG
14710
12868
  # Extract the first word of "pkg-config", so it can be a program name with args.
14711
12869
set dummy pkg-config; ac_word=$2
14712
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14713
12871
$as_echo_n "checking for $ac_word... " >&6; }
14714
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
12872
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14715
12873
  $as_echo_n "(cached) " >&6
14716
12874
else
14717
12875
  case $ac_pt_PKG_CONFIG in
14724
12882
do
14725
12883
  IFS=$as_save_IFS
14726
12884
  test -z "$as_dir" && as_dir=.
14727
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12885
    for ac_exec_ext in '' $ac_executable_extensions; do
14728
12886
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14729
12887
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14730
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12888
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14731
12889
    break 2
14732
12890
  fi
14733
12891
done
14734
 
done
 
12892
  done
14735
12893
IFS=$as_save_IFS
14736
12894
 
14737
12895
  ;;
14739
12897
fi
14740
12898
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14741
12899
if test -n "$ac_pt_PKG_CONFIG"; then
14742
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
12900
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14743
12901
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14744
12902
else
14745
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14746
12904
$as_echo "no" >&6; }
14747
12905
fi
14748
12906
 
14751
12909
  else
14752
12910
    case $cross_compiling:$ac_tool_warned in
14753
12911
yes:)
14754
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
12912
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14755
12913
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14756
12914
ac_tool_warned=yes ;;
14757
12915
esac
14764
12922
fi
14765
12923
if test -n "$PKG_CONFIG"; then
14766
12924
        _pkg_min_version=0.16
14767
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
12925
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14768
12926
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14769
12927
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14770
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12928
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14771
12929
$as_echo "yes" >&6; }
14772
12930
        else
14773
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
12931
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14774
12932
$as_echo "no" >&6; }
14775
12933
                PKG_CONFIG=""
14776
12934
        fi
14777
 
 
14778
12935
fi
14779
12936
 
14780
12937
  no_glib=""
14785
12942
  fi
14786
12943
 
14787
12944
  min_glib_version=$GLIB_REQUIRED
14788
 
  { $as_echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
 
12945
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
14789
12946
$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
14790
12947
 
14791
12948
  if test x$PKG_CONFIG != xno ; then
14821
12978
      CFLAGS="$CFLAGS $GLIB_CFLAGS"
14822
12979
      LIBS="$GLIB_LIBS $LIBS"
14823
12980
      rm -f conf.glibtest
14824
 
      if test "$cross_compiling" = yes; then
 
12981
      if test "$cross_compiling" = yes; then :
14825
12982
  echo $ac_n "cross compiling; assumed OK... $ac_c"
14826
12983
else
14827
 
  cat >conftest.$ac_ext <<_ACEOF
14828
 
/* confdefs.h.  */
14829
 
_ACEOF
14830
 
cat confdefs.h >>conftest.$ac_ext
14831
 
cat >>conftest.$ac_ext <<_ACEOF
 
12984
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14832
12985
/* end confdefs.h.  */
14833
12986
 
14834
12987
#include <glib.h>
14838
12991
int
14839
12992
main ()
14840
12993
{
14841
 
  int major, minor, micro;
 
12994
  unsigned int major, minor, micro;
14842
12995
  char *tmp_version;
14843
12996
 
14844
12997
  fclose (fopen ("conf.glibtest", "w"));
14845
12998
 
14846
12999
  /* HP/UX 9 (%@#!) writes to sscanf strings */
14847
13000
  tmp_version = g_strdup("$min_glib_version");
14848
 
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
 
13001
  if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
14849
13002
     printf("%s, bad version string\n", "$min_glib_version");
14850
13003
     exit(1);
14851
13004
   }
14884
13037
       }
14885
13038
     else
14886
13039
      {
14887
 
        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
 
13040
        printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
14888
13041
               glib_major_version, glib_minor_version, glib_micro_version);
14889
 
        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
 
13042
        printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
14890
13043
               major, minor, micro);
14891
13044
        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
14892
13045
        printf("***\n");
14903
13056
}
14904
13057
 
14905
13058
_ACEOF
14906
 
rm -f conftest$ac_exeext
14907
 
if { (ac_try="$ac_link"
14908
 
case "(($ac_try" in
14909
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14910
 
  *) ac_try_echo=$ac_try;;
14911
 
esac
14912
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14913
 
$as_echo "$ac_try_echo") >&5
14914
 
  (eval "$ac_link") 2>&5
14915
 
  ac_status=$?
14916
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14918
 
  { (case "(($ac_try" in
14919
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14920
 
  *) ac_try_echo=$ac_try;;
14921
 
esac
14922
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14923
 
$as_echo "$ac_try_echo") >&5
14924
 
  (eval "$ac_try") 2>&5
14925
 
  ac_status=$?
14926
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927
 
  (exit $ac_status); }; }; then
14928
 
  :
 
13059
if ac_fn_c_try_run "$LINENO"; then :
 
13060
 
14929
13061
else
14930
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
14931
 
$as_echo "$as_me: failed program was:" >&5
14932
 
sed 's/^/| /' conftest.$ac_ext >&5
14933
 
 
14934
 
( exit $ac_status )
14935
 
no_glib=yes
14936
 
fi
14937
 
rm -rf conftest.dSYM
14938
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14939
 
fi
14940
 
 
 
13062
  no_glib=yes
 
13063
fi
 
13064
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
13065
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
13066
fi
14941
13067
 
14942
13068
       CFLAGS="$ac_save_CFLAGS"
14943
13069
       LIBS="$ac_save_LIBS"
14944
13070
     fi
14945
13071
  fi
14946
13072
  if test "x$no_glib" = x ; then
14947
 
     { $as_echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
 
13073
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
14948
13074
$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
14949
13075
     :
14950
13076
  else
14951
 
     { $as_echo "$as_me:$LINENO: result: no" >&5
 
13077
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14952
13078
$as_echo "no" >&6; }
14953
13079
     if test "$PKG_CONFIG" = "no" ; then
14954
13080
       echo "*** A new enough version of pkg-config was not found."
14962
13088
          ac_save_LIBS="$LIBS"
14963
13089
          CFLAGS="$CFLAGS $GLIB_CFLAGS"
14964
13090
          LIBS="$LIBS $GLIB_LIBS"
14965
 
          cat >conftest.$ac_ext <<_ACEOF
14966
 
/* confdefs.h.  */
14967
 
_ACEOF
14968
 
cat confdefs.h >>conftest.$ac_ext
14969
 
cat >>conftest.$ac_ext <<_ACEOF
 
13091
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970
13092
/* end confdefs.h.  */
14971
13093
 
14972
13094
#include <glib.h>
14980
13102
  return 0;
14981
13103
}
14982
13104
_ACEOF
14983
 
rm -f conftest.$ac_objext conftest$ac_exeext
14984
 
if { (ac_try="$ac_link"
14985
 
case "(($ac_try" in
14986
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14987
 
  *) ac_try_echo=$ac_try;;
14988
 
esac
14989
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14990
 
$as_echo "$ac_try_echo") >&5
14991
 
  (eval "$ac_link") 2>conftest.er1
14992
 
  ac_status=$?
14993
 
  grep -v '^ *+' conftest.er1 >conftest.err
14994
 
  rm -f conftest.er1
14995
 
  cat conftest.err >&5
14996
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997
 
  (exit $ac_status); } && {
14998
 
         test -z "$ac_c_werror_flag" ||
14999
 
         test ! -s conftest.err
15000
 
       } && test -s conftest$ac_exeext && {
15001
 
         test "$cross_compiling" = yes ||
15002
 
         $as_test_x conftest$ac_exeext
15003
 
       }; then
 
13105
if ac_fn_c_try_link "$LINENO"; then :
15004
13106
   echo "*** The test program compiled, but did not run. This usually means"
15005
13107
          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
15006
13108
          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
15011
13113
          echo "*** If you have an old version installed, it is best to remove it, although"
15012
13114
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15013
13115
else
15014
 
  $as_echo "$as_me: failed program was:" >&5
15015
 
sed 's/^/| /' conftest.$ac_ext >&5
15016
 
 
15017
 
         echo "*** The test program failed to compile or link. See the file config.log for the"
 
13116
   echo "*** The test program failed to compile or link. See the file config.log for the"
15018
13117
          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
15019
13118
fi
15020
 
 
15021
 
rm -rf conftest.dSYM
15022
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15023
 
      conftest$ac_exeext conftest.$ac_ext
 
13119
rm -f core conftest.err conftest.$ac_objext \
 
13120
    conftest$ac_exeext conftest.$ac_ext
15024
13121
          CFLAGS="$ac_save_CFLAGS"
15025
13122
          LIBS="$ac_save_LIBS"
15026
13123
       fi
15048
13145
                libslab >= $SLAB_REQUIRED"
15049
13146
 
15050
13147
 
 
13148
 
15051
13149
pkg_failed=no
15052
 
{ $as_echo "$as_me:$LINENO: checking for GLADE" >&5
15053
 
$as_echo_n "checking for GLADE... " >&6; }
 
13150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPLICATION_BROWSER" >&5
 
13151
$as_echo_n "checking for APPLICATION_BROWSER... " >&6; }
15054
13152
 
15055
 
if test -n "$GLADE_CFLAGS"; then
15056
 
    pkg_cv_GLADE_CFLAGS="$GLADE_CFLAGS"
 
13153
if test -n "$APPLICATION_BROWSER_CFLAGS"; then
 
13154
    pkg_cv_APPLICATION_BROWSER_CFLAGS="$APPLICATION_BROWSER_CFLAGS"
15057
13155
 elif test -n "$PKG_CONFIG"; then
15058
13156
    if test -n "$PKG_CONFIG" && \
15059
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\"") >&5
15060
 
  ($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5
 
13157
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" \$COMMON_MODULES gnome-desktop-2.0 unique-1.0 \""; } >&5
 
13158
  ($PKG_CONFIG --exists --print-errors " $COMMON_MODULES gnome-desktop-2.0 unique-1.0 ") 2>&5
15061
13159
  ac_status=$?
15062
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063
 
  (exit $ac_status); }; then
15064
 
  pkg_cv_GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0" 2>/dev/null`
 
13160
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13161
  test $ac_status = 0; }; then
 
13162
  pkg_cv_APPLICATION_BROWSER_CFLAGS=`$PKG_CONFIG --cflags " $COMMON_MODULES gnome-desktop-2.0 unique-1.0 " 2>/dev/null`
15065
13163
else
15066
13164
  pkg_failed=yes
15067
13165
fi
15068
13166
 else
15069
13167
    pkg_failed=untried
15070
13168
fi
15071
 
if test -n "$GLADE_LIBS"; then
15072
 
    pkg_cv_GLADE_LIBS="$GLADE_LIBS"
 
13169
if test -n "$APPLICATION_BROWSER_LIBS"; then
 
13170
    pkg_cv_APPLICATION_BROWSER_LIBS="$APPLICATION_BROWSER_LIBS"
15073
13171
 elif test -n "$PKG_CONFIG"; then
15074
13172
    if test -n "$PKG_CONFIG" && \
15075
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\"") >&5
15076
 
  ($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5
 
13173
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" \$COMMON_MODULES gnome-desktop-2.0 unique-1.0 \""; } >&5
 
13174
  ($PKG_CONFIG --exists --print-errors " $COMMON_MODULES gnome-desktop-2.0 unique-1.0 ") 2>&5
15077
13175
  ac_status=$?
15078
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079
 
  (exit $ac_status); }; then
15080
 
  pkg_cv_GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0" 2>/dev/null`
 
13176
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13177
  test $ac_status = 0; }; then
 
13178
  pkg_cv_APPLICATION_BROWSER_LIBS=`$PKG_CONFIG --libs " $COMMON_MODULES gnome-desktop-2.0 unique-1.0 " 2>/dev/null`
15081
13179
else
15082
13180
  pkg_failed=yes
15083
13181
fi
15088
13186
 
15089
13187
 
15090
13188
if test $pkg_failed = yes; then
 
13189
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13190
$as_echo "no" >&6; }
15091
13191
 
15092
13192
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15093
13193
        _pkg_short_errors_supported=yes
15095
13195
        _pkg_short_errors_supported=no
15096
13196
fi
15097
13197
        if test $_pkg_short_errors_supported = yes; then
15098
 
                GLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libglade-2.0" 2>&1`
 
13198
                APPLICATION_BROWSER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " $COMMON_MODULES gnome-desktop-2.0 unique-1.0 " 2>&1`
15099
13199
        else
15100
 
                GLADE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libglade-2.0" 2>&1`
 
13200
                APPLICATION_BROWSER_PKG_ERRORS=`$PKG_CONFIG --print-errors " $COMMON_MODULES gnome-desktop-2.0 unique-1.0 " 2>&1`
15101
13201
        fi
15102
13202
        # Put the nasty error message in config.log where it belongs
15103
 
        echo "$GLADE_PKG_ERRORS" >&5
15104
 
 
15105
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (libglade-2.0) were not met:
15106
 
 
15107
 
$GLADE_PKG_ERRORS
15108
 
 
15109
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15110
 
installed software in a non-standard prefix.
15111
 
 
15112
 
Alternatively, you may set the environment variables GLADE_CFLAGS
15113
 
and GLADE_LIBS to avoid the need to call pkg-config.
15114
 
See the pkg-config man page for more details.
15115
 
" >&5
15116
 
$as_echo "$as_me: error: Package requirements (libglade-2.0) were not met:
15117
 
 
15118
 
$GLADE_PKG_ERRORS
15119
 
 
15120
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15121
 
installed software in a non-standard prefix.
15122
 
 
15123
 
Alternatively, you may set the environment variables GLADE_CFLAGS
15124
 
and GLADE_LIBS to avoid the need to call pkg-config.
15125
 
See the pkg-config man page for more details.
15126
 
" >&2;}
15127
 
   { (exit 1); exit 1; }; }
 
13203
        echo "$APPLICATION_BROWSER_PKG_ERRORS" >&5
 
13204
 
 
13205
        as_fn_error $? "Package requirements ( $COMMON_MODULES gnome-desktop-2.0 unique-1.0 ) were not met:
 
13206
 
 
13207
$APPLICATION_BROWSER_PKG_ERRORS
 
13208
 
 
13209
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13210
installed software in a non-standard prefix.
 
13211
 
 
13212
Alternatively, you may set the environment variables APPLICATION_BROWSER_CFLAGS
 
13213
and APPLICATION_BROWSER_LIBS to avoid the need to call pkg-config.
 
13214
See the pkg-config man page for more details." "$LINENO" 5
15128
13215
elif test $pkg_failed = untried; then
15129
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13216
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13217
$as_echo "no" >&6; }
 
13218
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15130
13219
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15131
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15132
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15133
 
path to pkg-config.
15134
 
 
15135
 
Alternatively, you may set the environment variables GLADE_CFLAGS
15136
 
and GLADE_LIBS to avoid the need to call pkg-config.
15137
 
See the pkg-config man page for more details.
15138
 
 
15139
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15140
 
See \`config.log' for more details." >&5
15141
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15142
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15143
 
path to pkg-config.
15144
 
 
15145
 
Alternatively, you may set the environment variables GLADE_CFLAGS
15146
 
and GLADE_LIBS to avoid the need to call pkg-config.
15147
 
See the pkg-config man page for more details.
15148
 
 
15149
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15150
 
See \`config.log' for more details." >&2;}
15151
 
   { (exit 1); exit 1; }; }; }
 
13220
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13221
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13222
path to pkg-config.
 
13223
 
 
13224
Alternatively, you may set the environment variables APPLICATION_BROWSER_CFLAGS
 
13225
and APPLICATION_BROWSER_LIBS to avoid the need to call pkg-config.
 
13226
See the pkg-config man page for more details.
 
13227
 
 
13228
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13229
See \`config.log' for more details" "$LINENO" 5 ; }
15152
13230
else
15153
 
        GLADE_CFLAGS=$pkg_cv_GLADE_CFLAGS
15154
 
        GLADE_LIBS=$pkg_cv_GLADE_LIBS
15155
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13231
        APPLICATION_BROWSER_CFLAGS=$pkg_cv_APPLICATION_BROWSER_CFLAGS
 
13232
        APPLICATION_BROWSER_LIBS=$pkg_cv_APPLICATION_BROWSER_LIBS
 
13233
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15156
13234
$as_echo "yes" >&6; }
15157
 
        :
15158
 
fi
15159
 
 
15160
 
 
15161
 
 
15162
 
NM_GLIB=
15163
 
if test -n "$PKG_CONFIG" && \
15164
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnm-glib\"") >&5
15165
 
  ($PKG_CONFIG --exists --print-errors "libnm-glib") 2>&5
15166
 
  ac_status=$?
15167
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168
 
  (exit $ac_status); }; then
15169
 
   NM_GLIB=libnm-glib
15170
 
fi
15171
 
if test "x$NM_GLIB" = "x"; then
15172
 
        if test -n "$PKG_CONFIG" && \
15173
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnm_glib\"") >&5
15174
 
  ($PKG_CONFIG --exists --print-errors "libnm_glib") 2>&5
15175
 
  ac_status=$?
15176
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177
 
  (exit $ac_status); }; then
15178
 
   NM_GLIB=libnm_glib
15179
 
else
15180
 
   { { $as_echo "$as_me:$LINENO: error: cannot find NetworkManager Glib library" >&5
15181
 
$as_echo "$as_me: error: cannot find NetworkManager Glib library" >&2;}
15182
 
   { (exit 1); exit 1; }; }
15183
 
fi
15184
 
fi
 
13235
 
 
13236
fi
 
13237
 
 
13238
 
15185
13239
 
15186
13240
 
15187
13241
pkg_failed=no
15188
 
{ $as_echo "$as_me:$LINENO: checking for MAIN_MENU" >&5
 
13242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAIN_MENU" >&5
15189
13243
$as_echo_n "checking for MAIN_MENU... " >&6; }
15190
13244
 
15191
13245
if test -n "$MAIN_MENU_CFLAGS"; then
15192
13246
    pkg_cv_MAIN_MENU_CFLAGS="$MAIN_MENU_CFLAGS"
15193
13247
 elif test -n "$PKG_CONFIG"; then
15194
13248
    if test -n "$PKG_CONFIG" && \
15195
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" \$COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 dbus-glib-1 NetworkManager \$NM_GLIB >= 0.7.0 libnm-util >= 0.7.0 x11 hal-storage cairo \"") >&5
15196
 
  ($PKG_CONFIG --exists --print-errors " $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 dbus-glib-1 NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0 x11 hal-storage cairo ") 2>&5
 
13249
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" \$COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libxml-2.0 x11 cairo \""; } >&5
 
13250
  ($PKG_CONFIG --exists --print-errors " $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libxml-2.0 x11 cairo ") 2>&5
15197
13251
  ac_status=$?
15198
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199
 
  (exit $ac_status); }; then
15200
 
  pkg_cv_MAIN_MENU_CFLAGS=`$PKG_CONFIG --cflags " $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 dbus-glib-1 NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0 x11 hal-storage cairo " 2>/dev/null`
 
13252
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13253
  test $ac_status = 0; }; then
 
13254
  pkg_cv_MAIN_MENU_CFLAGS=`$PKG_CONFIG --cflags " $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libxml-2.0 x11 cairo " 2>/dev/null`
15201
13255
else
15202
13256
  pkg_failed=yes
15203
13257
fi
15208
13262
    pkg_cv_MAIN_MENU_LIBS="$MAIN_MENU_LIBS"
15209
13263
 elif test -n "$PKG_CONFIG"; then
15210
13264
    if test -n "$PKG_CONFIG" && \
15211
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" \$COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 dbus-glib-1 NetworkManager \$NM_GLIB >= 0.7.0 libnm-util >= 0.7.0 x11 hal-storage cairo \"") >&5
15212
 
  ($PKG_CONFIG --exists --print-errors " $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 dbus-glib-1 NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0 x11 hal-storage cairo ") 2>&5
 
13265
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" \$COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libxml-2.0 x11 cairo \""; } >&5
 
13266
  ($PKG_CONFIG --exists --print-errors " $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libxml-2.0 x11 cairo ") 2>&5
15213
13267
  ac_status=$?
15214
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215
 
  (exit $ac_status); }; then
15216
 
  pkg_cv_MAIN_MENU_LIBS=`$PKG_CONFIG --libs " $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 dbus-glib-1 NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0 x11 hal-storage cairo " 2>/dev/null`
 
13268
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13269
  test $ac_status = 0; }; then
 
13270
  pkg_cv_MAIN_MENU_LIBS=`$PKG_CONFIG --libs " $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libxml-2.0 x11 cairo " 2>/dev/null`
15217
13271
else
15218
13272
  pkg_failed=yes
15219
13273
fi
15224
13278
 
15225
13279
 
15226
13280
if test $pkg_failed = yes; then
 
13281
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13282
$as_echo "no" >&6; }
15227
13283
 
15228
13284
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15229
13285
        _pkg_short_errors_supported=yes
15231
13287
        _pkg_short_errors_supported=no
15232
13288
fi
15233
13289
        if test $_pkg_short_errors_supported = yes; then
15234
 
                MAIN_MENU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 dbus-glib-1 NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0 x11 hal-storage cairo " 2>&1`
 
13290
                MAIN_MENU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libxml-2.0 x11 cairo " 2>&1`
15235
13291
        else
15236
 
                MAIN_MENU_PKG_ERRORS=`$PKG_CONFIG --print-errors " $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 dbus-glib-1 NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0 x11 hal-storage cairo " 2>&1`
 
13292
                MAIN_MENU_PKG_ERRORS=`$PKG_CONFIG --print-errors " $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libxml-2.0 x11 cairo " 2>&1`
15237
13293
        fi
15238
13294
        # Put the nasty error message in config.log where it belongs
15239
13295
        echo "$MAIN_MENU_PKG_ERRORS" >&5
15240
13296
 
15241
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements ( $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 dbus-glib-1 NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0 x11 hal-storage cairo ) were not met:
15242
 
 
15243
 
$MAIN_MENU_PKG_ERRORS
15244
 
 
15245
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15246
 
installed software in a non-standard prefix.
15247
 
 
15248
 
Alternatively, you may set the environment variables MAIN_MENU_CFLAGS
15249
 
and MAIN_MENU_LIBS to avoid the need to call pkg-config.
15250
 
See the pkg-config man page for more details.
15251
 
" >&5
15252
 
$as_echo "$as_me: error: Package requirements ( $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 dbus-glib-1 NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0 x11 hal-storage cairo ) were not met:
15253
 
 
15254
 
$MAIN_MENU_PKG_ERRORS
15255
 
 
15256
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15257
 
installed software in a non-standard prefix.
15258
 
 
15259
 
Alternatively, you may set the environment variables MAIN_MENU_CFLAGS
15260
 
and MAIN_MENU_LIBS to avoid the need to call pkg-config.
15261
 
See the pkg-config man page for more details.
15262
 
" >&2;}
15263
 
   { (exit 1); exit 1; }; }
 
13297
        as_fn_error $? "Package requirements ( $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libxml-2.0 x11 cairo ) were not met:
 
13298
 
 
13299
$MAIN_MENU_PKG_ERRORS
 
13300
 
 
13301
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13302
installed software in a non-standard prefix.
 
13303
 
 
13304
Alternatively, you may set the environment variables MAIN_MENU_CFLAGS
 
13305
and MAIN_MENU_LIBS to avoid the need to call pkg-config.
 
13306
See the pkg-config man page for more details." "$LINENO" 5
15264
13307
elif test $pkg_failed = untried; then
15265
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13308
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13309
$as_echo "no" >&6; }
 
13310
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15266
13311
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15267
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15268
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15269
 
path to pkg-config.
15270
 
 
15271
 
Alternatively, you may set the environment variables MAIN_MENU_CFLAGS
15272
 
and MAIN_MENU_LIBS to avoid the need to call pkg-config.
15273
 
See the pkg-config man page for more details.
15274
 
 
15275
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15276
 
See \`config.log' for more details." >&5
15277
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15278
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15279
 
path to pkg-config.
15280
 
 
15281
 
Alternatively, you may set the environment variables MAIN_MENU_CFLAGS
15282
 
and MAIN_MENU_LIBS to avoid the need to call pkg-config.
15283
 
See the pkg-config man page for more details.
15284
 
 
15285
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15286
 
See \`config.log' for more details." >&2;}
15287
 
   { (exit 1); exit 1; }; }; }
 
13312
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13313
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13314
path to pkg-config.
 
13315
 
 
13316
Alternatively, you may set the environment variables MAIN_MENU_CFLAGS
 
13317
and MAIN_MENU_LIBS to avoid the need to call pkg-config.
 
13318
See the pkg-config man page for more details.
 
13319
 
 
13320
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13321
See \`config.log' for more details" "$LINENO" 5 ; }
15288
13322
else
15289
13323
        MAIN_MENU_CFLAGS=$pkg_cv_MAIN_MENU_CFLAGS
15290
13324
        MAIN_MENU_LIBS=$pkg_cv_MAIN_MENU_LIBS
15291
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
15292
 
$as_echo "yes" >&6; }
15293
 
        :
15294
 
fi
15295
 
 
 
13325
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13326
$as_echo "yes" >&6; }
 
13327
 
 
13328
fi
 
13329
 
 
13330
 
 
13331
 
 
13332
# Check for network support
 
13333
NM_GLIB=
 
13334
if test -n "$PKG_CONFIG" && \
 
13335
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnm-glib\""; } >&5
 
13336
  ($PKG_CONFIG --exists --print-errors "libnm-glib") 2>&5
 
13337
  ac_status=$?
 
13338
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13339
  test $ac_status = 0; }; then
 
13340
   NM_GLIB=libnm-glib
 
13341
else
 
13342
  if test -n "$PKG_CONFIG" && \
 
13343
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnm_glib\""; } >&5
 
13344
  ($PKG_CONFIG --exists --print-errors "libnm_glib") 2>&5
 
13345
  ac_status=$?
 
13346
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13347
  test $ac_status = 0; }; then
 
13348
   NM_GLIB=libnm_glib
 
13349
fi
 
13350
fi
 
13351
if test "x$NM_GLIB" = "x"; then
 
13352
        # make sure we have something set for the call to PKG_CHECK_MODULES
 
13353
        NM_GLIB=libnm-glib
 
13354
fi
 
13355
 
 
13356
 
 
13357
pkg_failed=no
 
13358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NETWORKMANAGER" >&5
 
13359
$as_echo_n "checking for NETWORKMANAGER... " >&6; }
 
13360
 
 
13361
if test -n "$NETWORKMANAGER_CFLAGS"; then
 
13362
    pkg_cv_NETWORKMANAGER_CFLAGS="$NETWORKMANAGER_CFLAGS"
 
13363
 elif test -n "$PKG_CONFIG"; then
 
13364
    if test -n "$PKG_CONFIG" && \
 
13365
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"NetworkManager \$NM_GLIB >= 0.7.0 libnm-util >= 0.7.0\""; } >&5
 
13366
  ($PKG_CONFIG --exists --print-errors "NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0") 2>&5
 
13367
  ac_status=$?
 
13368
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13369
  test $ac_status = 0; }; then
 
13370
  pkg_cv_NETWORKMANAGER_CFLAGS=`$PKG_CONFIG --cflags "NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0" 2>/dev/null`
 
13371
else
 
13372
  pkg_failed=yes
 
13373
fi
 
13374
 else
 
13375
    pkg_failed=untried
 
13376
fi
 
13377
if test -n "$NETWORKMANAGER_LIBS"; then
 
13378
    pkg_cv_NETWORKMANAGER_LIBS="$NETWORKMANAGER_LIBS"
 
13379
 elif test -n "$PKG_CONFIG"; then
 
13380
    if test -n "$PKG_CONFIG" && \
 
13381
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"NetworkManager \$NM_GLIB >= 0.7.0 libnm-util >= 0.7.0\""; } >&5
 
13382
  ($PKG_CONFIG --exists --print-errors "NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0") 2>&5
 
13383
  ac_status=$?
 
13384
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13385
  test $ac_status = 0; }; then
 
13386
  pkg_cv_NETWORKMANAGER_LIBS=`$PKG_CONFIG --libs "NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0" 2>/dev/null`
 
13387
else
 
13388
  pkg_failed=yes
 
13389
fi
 
13390
 else
 
13391
    pkg_failed=untried
 
13392
fi
 
13393
 
 
13394
 
 
13395
 
 
13396
if test $pkg_failed = yes; then
 
13397
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13398
$as_echo "no" >&6; }
 
13399
 
 
13400
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13401
        _pkg_short_errors_supported=yes
 
13402
else
 
13403
        _pkg_short_errors_supported=no
 
13404
fi
 
13405
        if test $_pkg_short_errors_supported = yes; then
 
13406
                NETWORKMANAGER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0" 2>&1`
 
13407
        else
 
13408
                NETWORKMANAGER_PKG_ERRORS=`$PKG_CONFIG --print-errors "NetworkManager $NM_GLIB >= 0.7.0 libnm-util >= 0.7.0" 2>&1`
 
13409
        fi
 
13410
        # Put the nasty error message in config.log where it belongs
 
13411
        echo "$NETWORKMANAGER_PKG_ERRORS" >&5
 
13412
 
 
13413
        HAVE_NM=0
 
13414
elif test $pkg_failed = untried; then
 
13415
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13416
$as_echo "no" >&6; }
 
13417
        HAVE_NM=0
 
13418
else
 
13419
        NETWORKMANAGER_CFLAGS=$pkg_cv_NETWORKMANAGER_CFLAGS
 
13420
        NETWORKMANAGER_LIBS=$pkg_cv_NETWORKMANAGER_LIBS
 
13421
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13422
$as_echo "yes" >&6; }
 
13423
        HAVE_NM=1
 
13424
fi
 
13425
if test "x$HAVE_NM" != "x1"; then
 
13426
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NetworkManager is not available" >&5
 
13427
$as_echo "$as_me: WARNING: NetworkManager is not available" >&2;}
 
13428
fi
15296
13429
 
15297
13430
for ac_header in iwlib.h
15298
 
do
15299
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15300
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15301
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15302
 
$as_echo_n "checking for $ac_header... " >&6; }
15303
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15304
 
  $as_echo_n "(cached) " >&6
15305
 
fi
15306
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
15307
 
                 $as_echo "$as_val"'`
15308
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15309
 
$as_echo "$ac_res" >&6; }
15310
 
else
15311
 
  # Is the header compilable?
15312
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15313
 
$as_echo_n "checking $ac_header usability... " >&6; }
15314
 
cat >conftest.$ac_ext <<_ACEOF
15315
 
/* confdefs.h.  */
15316
 
_ACEOF
15317
 
cat confdefs.h >>conftest.$ac_ext
15318
 
cat >>conftest.$ac_ext <<_ACEOF
15319
 
/* end confdefs.h.  */
15320
 
$ac_includes_default
15321
 
#include <$ac_header>
15322
 
_ACEOF
15323
 
rm -f conftest.$ac_objext
15324
 
if { (ac_try="$ac_compile"
15325
 
case "(($ac_try" in
15326
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15327
 
  *) ac_try_echo=$ac_try;;
15328
 
esac
15329
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15330
 
$as_echo "$ac_try_echo") >&5
15331
 
  (eval "$ac_compile") 2>conftest.er1
15332
 
  ac_status=$?
15333
 
  grep -v '^ *+' conftest.er1 >conftest.err
15334
 
  rm -f conftest.er1
15335
 
  cat conftest.err >&5
15336
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337
 
  (exit $ac_status); } && {
15338
 
         test -z "$ac_c_werror_flag" ||
15339
 
         test ! -s conftest.err
15340
 
       } && test -s conftest.$ac_objext; then
15341
 
  ac_header_compiler=yes
15342
 
else
15343
 
  $as_echo "$as_me: failed program was:" >&5
15344
 
sed 's/^/| /' conftest.$ac_ext >&5
15345
 
 
15346
 
        ac_header_compiler=no
15347
 
fi
15348
 
 
15349
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15350
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15351
 
$as_echo "$ac_header_compiler" >&6; }
15352
 
 
15353
 
# Is the header present?
15354
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15355
 
$as_echo_n "checking $ac_header presence... " >&6; }
15356
 
cat >conftest.$ac_ext <<_ACEOF
15357
 
/* confdefs.h.  */
15358
 
_ACEOF
15359
 
cat confdefs.h >>conftest.$ac_ext
15360
 
cat >>conftest.$ac_ext <<_ACEOF
15361
 
/* end confdefs.h.  */
15362
 
#include <$ac_header>
15363
 
_ACEOF
15364
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
15365
 
case "(($ac_try" in
15366
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15367
 
  *) ac_try_echo=$ac_try;;
15368
 
esac
15369
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15370
 
$as_echo "$ac_try_echo") >&5
15371
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15372
 
  ac_status=$?
15373
 
  grep -v '^ *+' conftest.er1 >conftest.err
15374
 
  rm -f conftest.er1
15375
 
  cat conftest.err >&5
15376
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377
 
  (exit $ac_status); } >/dev/null && {
15378
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15379
 
         test ! -s conftest.err
15380
 
       }; then
15381
 
  ac_header_preproc=yes
15382
 
else
15383
 
  $as_echo "$as_me: failed program was:" >&5
15384
 
sed 's/^/| /' conftest.$ac_ext >&5
15385
 
 
15386
 
  ac_header_preproc=no
15387
 
fi
15388
 
 
15389
 
rm -f conftest.err conftest.$ac_ext
15390
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15391
 
$as_echo "$ac_header_preproc" >&6; }
15392
 
 
15393
 
# So?  What about this header?
15394
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15395
 
  yes:no: )
15396
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15397
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15398
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15399
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15400
 
    ac_header_preproc=yes
15401
 
    ;;
15402
 
  no:yes:* )
15403
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15404
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15405
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15406
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15407
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15408
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15409
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15410
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15411
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15412
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15413
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15414
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15415
 
    ( cat <<\_ASBOX
15416
 
## ------------------------------------------------------------------------------ ##
15417
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu ##
15418
 
## ------------------------------------------------------------------------------ ##
15419
 
_ASBOX
15420
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
15421
 
    ;;
15422
 
esac
15423
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15424
 
$as_echo_n "checking for $ac_header... " >&6; }
15425
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15426
 
  $as_echo_n "(cached) " >&6
15427
 
else
15428
 
  eval "$as_ac_Header=\$ac_header_preproc"
15429
 
fi
15430
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
15431
 
                 $as_echo "$as_val"'`
15432
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15433
 
$as_echo "$ac_res" >&6; }
15434
 
 
15435
 
fi
15436
 
as_val=`eval 'as_val=${'$as_ac_Header'}
15437
 
                 $as_echo "$as_val"'`
15438
 
   if test "x$as_val" = x""yes; then
 
13431
do :
 
13432
  ac_fn_c_check_header_mongrel "$LINENO" "iwlib.h" "ac_cv_header_iwlib_h" "$ac_includes_default"
 
13433
if test "x$ac_cv_header_iwlib_h" = x""yes; then :
15439
13434
  cat >>confdefs.h <<_ACEOF
15440
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
13435
#define HAVE_IWLIB_H 1
15441
13436
_ACEOF
15442
 
  { $as_echo "$as_me:$LINENO: checking for iw_sockets_open in -liw" >&5
 
13437
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iw_sockets_open in -liw" >&5
15443
13438
$as_echo_n "checking for iw_sockets_open in -liw... " >&6; }
15444
 
if test "${ac_cv_lib_iw_iw_sockets_open+set}" = set; then
 
13439
if test "${ac_cv_lib_iw_iw_sockets_open+set}" = set; then :
15445
13440
  $as_echo_n "(cached) " >&6
15446
13441
else
15447
13442
  ac_check_lib_save_LIBS=$LIBS
15448
13443
LIBS="-liw -lm $LIBS"
15449
 
cat >conftest.$ac_ext <<_ACEOF
15450
 
/* confdefs.h.  */
15451
 
_ACEOF
15452
 
cat confdefs.h >>conftest.$ac_ext
15453
 
cat >>conftest.$ac_ext <<_ACEOF
 
13444
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15454
13445
/* end confdefs.h.  */
15455
13446
 
15456
13447
/* Override any GCC internal prototype to avoid an error.
15468
13459
  return 0;
15469
13460
}
15470
13461
_ACEOF
15471
 
rm -f conftest.$ac_objext conftest$ac_exeext
15472
 
if { (ac_try="$ac_link"
15473
 
case "(($ac_try" in
15474
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15475
 
  *) ac_try_echo=$ac_try;;
15476
 
esac
15477
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15478
 
$as_echo "$ac_try_echo") >&5
15479
 
  (eval "$ac_link") 2>conftest.er1
15480
 
  ac_status=$?
15481
 
  grep -v '^ *+' conftest.er1 >conftest.err
15482
 
  rm -f conftest.er1
15483
 
  cat conftest.err >&5
15484
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485
 
  (exit $ac_status); } && {
15486
 
         test -z "$ac_c_werror_flag" ||
15487
 
         test ! -s conftest.err
15488
 
       } && test -s conftest$ac_exeext && {
15489
 
         test "$cross_compiling" = yes ||
15490
 
         $as_test_x conftest$ac_exeext
15491
 
       }; then
 
13462
if ac_fn_c_try_link "$LINENO"; then :
15492
13463
  ac_cv_lib_iw_iw_sockets_open=yes
15493
13464
else
15494
 
  $as_echo "$as_me: failed program was:" >&5
15495
 
sed 's/^/| /' conftest.$ac_ext >&5
15496
 
 
15497
 
        ac_cv_lib_iw_iw_sockets_open=no
 
13465
  ac_cv_lib_iw_iw_sockets_open=no
15498
13466
fi
15499
 
 
15500
 
rm -rf conftest.dSYM
15501
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15502
 
      conftest$ac_exeext conftest.$ac_ext
 
13467
rm -f core conftest.err conftest.$ac_objext \
 
13468
    conftest$ac_exeext conftest.$ac_ext
15503
13469
LIBS=$ac_check_lib_save_LIBS
15504
13470
fi
15505
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iw_iw_sockets_open" >&5
 
13471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iw_iw_sockets_open" >&5
15506
13472
$as_echo "$ac_cv_lib_iw_iw_sockets_open" >&6; }
15507
 
if test "x$ac_cv_lib_iw_iw_sockets_open" = x""yes; then
15508
 
  have_iwlib=yes
 
13473
if test "x$ac_cv_lib_iw_iw_sockets_open" = x""yes; then :
 
13474
  HAVE_IWLIB=1
15509
13475
else
15510
 
  have_iwlib=no
 
13476
  HAVE_IWLIB=0
15511
13477
fi
15512
13478
 
15513
13479
else
15514
 
  have_iwlib=no
 
13480
  HAVE_IWLIB=0
15515
13481
fi
15516
13482
 
15517
13483
done
15518
13484
 
15519
 
 
15520
 
if test "x$have_iwlib" != "xyes" ; then
15521
 
        { { $as_echo "$as_me:$LINENO: error: cannot find iwlib" >&5
15522
 
$as_echo "$as_me: error: cannot find iwlib" >&2;}
15523
 
   { (exit 1); exit 1; }; }
15524
 
else
15525
 
        MAIN_MENU_LIBS="$MAIN_MENU_LIBS -liw -lm"
15526
 
 
15527
 
fi
15528
 
 
15529
 
 
15530
 
 
15531
 
 
15532
 
 
15533
 
pkg_failed=no
15534
 
{ $as_echo "$as_me:$LINENO: checking for APPLICATION_BROWSER" >&5
15535
 
$as_echo_n "checking for APPLICATION_BROWSER... " >&6; }
15536
 
 
15537
 
if test -n "$APPLICATION_BROWSER_CFLAGS"; then
15538
 
    pkg_cv_APPLICATION_BROWSER_CFLAGS="$APPLICATION_BROWSER_CFLAGS"
15539
 
 elif test -n "$PKG_CONFIG"; then
15540
 
    if test -n "$PKG_CONFIG" && \
15541
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" \$COMMON_MODULES gnome-desktop-2.0 unique-1.0 \"") >&5
15542
 
  ($PKG_CONFIG --exists --print-errors " $COMMON_MODULES gnome-desktop-2.0 unique-1.0 ") 2>&5
15543
 
  ac_status=$?
15544
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545
 
  (exit $ac_status); }; then
15546
 
  pkg_cv_APPLICATION_BROWSER_CFLAGS=`$PKG_CONFIG --cflags " $COMMON_MODULES gnome-desktop-2.0 unique-1.0 " 2>/dev/null`
15547
 
else
15548
 
  pkg_failed=yes
15549
 
fi
15550
 
 else
15551
 
    pkg_failed=untried
15552
 
fi
15553
 
if test -n "$APPLICATION_BROWSER_LIBS"; then
15554
 
    pkg_cv_APPLICATION_BROWSER_LIBS="$APPLICATION_BROWSER_LIBS"
15555
 
 elif test -n "$PKG_CONFIG"; then
15556
 
    if test -n "$PKG_CONFIG" && \
15557
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" \$COMMON_MODULES gnome-desktop-2.0 unique-1.0 \"") >&5
15558
 
  ($PKG_CONFIG --exists --print-errors " $COMMON_MODULES gnome-desktop-2.0 unique-1.0 ") 2>&5
15559
 
  ac_status=$?
15560
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561
 
  (exit $ac_status); }; then
15562
 
  pkg_cv_APPLICATION_BROWSER_LIBS=`$PKG_CONFIG --libs " $COMMON_MODULES gnome-desktop-2.0 unique-1.0 " 2>/dev/null`
15563
 
else
15564
 
  pkg_failed=yes
15565
 
fi
15566
 
 else
15567
 
    pkg_failed=untried
15568
 
fi
15569
 
 
15570
 
 
15571
 
 
15572
 
if test $pkg_failed = yes; then
15573
 
 
15574
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15575
 
        _pkg_short_errors_supported=yes
15576
 
else
15577
 
        _pkg_short_errors_supported=no
15578
 
fi
15579
 
        if test $_pkg_short_errors_supported = yes; then
15580
 
                APPLICATION_BROWSER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " $COMMON_MODULES gnome-desktop-2.0 unique-1.0 " 2>&1`
15581
 
        else
15582
 
                APPLICATION_BROWSER_PKG_ERRORS=`$PKG_CONFIG --print-errors " $COMMON_MODULES gnome-desktop-2.0 unique-1.0 " 2>&1`
15583
 
        fi
15584
 
        # Put the nasty error message in config.log where it belongs
15585
 
        echo "$APPLICATION_BROWSER_PKG_ERRORS" >&5
15586
 
 
15587
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements ( $COMMON_MODULES gnome-desktop-2.0 unique-1.0 ) were not met:
15588
 
 
15589
 
$APPLICATION_BROWSER_PKG_ERRORS
15590
 
 
15591
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15592
 
installed software in a non-standard prefix.
15593
 
 
15594
 
Alternatively, you may set the environment variables APPLICATION_BROWSER_CFLAGS
15595
 
and APPLICATION_BROWSER_LIBS to avoid the need to call pkg-config.
15596
 
See the pkg-config man page for more details.
15597
 
" >&5
15598
 
$as_echo "$as_me: error: Package requirements ( $COMMON_MODULES gnome-desktop-2.0 unique-1.0 ) were not met:
15599
 
 
15600
 
$APPLICATION_BROWSER_PKG_ERRORS
15601
 
 
15602
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15603
 
installed software in a non-standard prefix.
15604
 
 
15605
 
Alternatively, you may set the environment variables APPLICATION_BROWSER_CFLAGS
15606
 
and APPLICATION_BROWSER_LIBS to avoid the need to call pkg-config.
15607
 
See the pkg-config man page for more details.
15608
 
" >&2;}
15609
 
   { (exit 1); exit 1; }; }
15610
 
elif test $pkg_failed = untried; then
15611
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15612
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15613
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15614
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15615
 
path to pkg-config.
15616
 
 
15617
 
Alternatively, you may set the environment variables APPLICATION_BROWSER_CFLAGS
15618
 
and APPLICATION_BROWSER_LIBS to avoid the need to call pkg-config.
15619
 
See the pkg-config man page for more details.
15620
 
 
15621
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15622
 
See \`config.log' for more details." >&5
15623
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15624
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15625
 
path to pkg-config.
15626
 
 
15627
 
Alternatively, you may set the environment variables APPLICATION_BROWSER_CFLAGS
15628
 
and APPLICATION_BROWSER_LIBS to avoid the need to call pkg-config.
15629
 
See the pkg-config man page for more details.
15630
 
 
15631
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15632
 
See \`config.log' for more details." >&2;}
15633
 
   { (exit 1); exit 1; }; }; }
15634
 
else
15635
 
        APPLICATION_BROWSER_CFLAGS=$pkg_cv_APPLICATION_BROWSER_CFLAGS
15636
 
        APPLICATION_BROWSER_LIBS=$pkg_cv_APPLICATION_BROWSER_LIBS
15637
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
15638
 
$as_echo "yes" >&6; }
15639
 
        :
 
13485
if test "x$HAVE_IWLIB" != "x1"; then
 
13486
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iwlib is not available" >&5
 
13487
$as_echo "$as_me: WARNING: iwlib is not available" >&2;}
 
13488
fi
 
13489
 
 
13490
HAVE_NETWORK=0
 
13491
NETWORK_CFLAGS=
 
13492
NETWORK_LIBS=
 
13493
if test "x$HAVE_NM" != "x1" -o "x$HAVE_IWLIB" != "x1"; then
 
13494
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: network support disabled" >&5
 
13495
$as_echo "$as_me: WARNING: network support disabled" >&2;}
 
13496
else
 
13497
        HAVE_NETWORK=1
 
13498
        NETWORK_CFLAGS="$NETWORKMANAGER_CFLAGS"
 
13499
        NETWORK_LIBS="$NETWORKMANAGER_LIBS -liw -lm"
 
13500
 
 
13501
$as_echo "#define HAVE_NETWORK 1" >>confdefs.h
 
13502
 
 
13503
fi
 
13504
 
 
13505
 if test "x$HAVE_NETWORK" = "x1"; then
 
13506
  HAVE_NETWORK_TRUE=
 
13507
  HAVE_NETWORK_FALSE='#'
 
13508
else
 
13509
  HAVE_NETWORK_TRUE='#'
 
13510
  HAVE_NETWORK_FALSE=
15640
13511
fi
15641
13512
 
15642
13513
 
15645
13516
 
15646
13517
# Extract the first word of "gconftool-2", so it can be a program name with args.
15647
13518
set dummy gconftool-2; ac_word=$2
15648
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15649
13520
$as_echo_n "checking for $ac_word... " >&6; }
15650
 
if test "${ac_cv_path_GCONFTOOL+set}" = set; then
 
13521
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
15651
13522
  $as_echo_n "(cached) " >&6
15652
13523
else
15653
13524
  case $GCONFTOOL in
15660
13531
do
15661
13532
  IFS=$as_save_IFS
15662
13533
  test -z "$as_dir" && as_dir=.
15663
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13534
    for ac_exec_ext in '' $ac_executable_extensions; do
15664
13535
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15665
13536
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
15666
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13537
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15667
13538
    break 2
15668
13539
  fi
15669
13540
done
15670
 
done
 
13541
  done
15671
13542
IFS=$as_save_IFS
15672
13543
 
15673
13544
  test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
15676
13547
fi
15677
13548
GCONFTOOL=$ac_cv_path_GCONFTOOL
15678
13549
if test -n "$GCONFTOOL"; then
15679
 
  { $as_echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
 
13550
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
15680
13551
$as_echo "$GCONFTOOL" >&6; }
15681
13552
else
15682
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15683
13554
$as_echo "no" >&6; }
15684
13555
fi
15685
13556
 
15686
13557
 
15687
13558
 
15688
13559
if test x"$GCONFTOOL" = xno; then
15689
 
  { { $as_echo "$as_me:$LINENO: error: gconftool-2 executable was not found in your path - should be install with gconf" >&5
15690
 
$as_echo "$as_me: error: gconftool-2 executable was not found in your path - should be install with gconf" >&2;}
15691
 
   { (exit 1); exit 1; }; }
 
13560
  as_fn_error $? "gconftool-2 executable was not found in your path - should be install with gconf" "$LINENO" 5
15692
13561
fi
15693
13562
 
15694
13563
 
15700
13569
 
15701
13570
 
15702
13571
# Check whether --with-gconf-source was given.
15703
 
if test "${with_gconf_source+set}" = set; then
 
13572
if test "${with_gconf_source+set}" = set; then :
15704
13573
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
15705
13574
fi
15706
13575
 
15707
13576
 
15708
13577
 
15709
 
  { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
 
13578
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
15710
13579
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
15711
13580
 
15712
13581
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
15715
13584
 
15716
13585
 
15717
13586
# Check whether --with-gconf-schema-file-dir was given.
15718
 
if test "${with_gconf_schema_file_dir+set}" = set; then
 
13587
if test "${with_gconf_schema_file_dir+set}" = set; then :
15719
13588
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
15720
13589
fi
15721
13590
 
15722
13591
 
15723
13592
 
15724
 
  { $as_echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
 
13593
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
15725
13594
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
15726
13595
 
15727
13596
  # Check whether --enable-schemas-install was given.
15728
 
if test "${enable_schemas_install+set}" = set; then
 
13597
if test "${enable_schemas_install+set}" = set; then :
15729
13598
  enableval=$enable_schemas_install; case ${enableval} in
15730
13599
       yes|no) ;;
15731
 
       *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
15732
 
$as_echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
15733
 
   { (exit 1); exit 1; }; } ;;
 
13600
       *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5  ;;
15734
13601
      esac
15735
13602
fi
15736
13603
 
15746
13613
 
15747
13614
 
15748
13615
 
15749
 
{ $as_echo "$as_me:$LINENO: checking for %l and %k support in strftime" >&5
 
13616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for %l and %k support in strftime" >&5
15750
13617
$as_echo_n "checking for %l and %k support in strftime... " >&6; }
15751
 
if test "$cross_compiling" = yes; then
 
13618
if test "$cross_compiling" = yes; then :
15752
13619
  ac_cv_lkstrftime=no
15753
13620
else
15754
 
  cat >conftest.$ac_ext <<_ACEOF
15755
 
/* confdefs.h.  */
15756
 
_ACEOF
15757
 
cat confdefs.h >>conftest.$ac_ext
15758
 
cat >>conftest.$ac_ext <<_ACEOF
 
13621
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759
13622
/* end confdefs.h.  */
15760
13623
 
15761
13624
#include <string.h>
15778
13641
                exit(0);
15779
13642
}
15780
13643
_ACEOF
15781
 
rm -f conftest$ac_exeext
15782
 
if { (ac_try="$ac_link"
15783
 
case "(($ac_try" in
15784
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15785
 
  *) ac_try_echo=$ac_try;;
15786
 
esac
15787
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15788
 
$as_echo "$ac_try_echo") >&5
15789
 
  (eval "$ac_link") 2>&5
15790
 
  ac_status=$?
15791
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15793
 
  { (case "(($ac_try" in
15794
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15795
 
  *) ac_try_echo=$ac_try;;
15796
 
esac
15797
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15798
 
$as_echo "$ac_try_echo") >&5
15799
 
  (eval "$ac_try") 2>&5
15800
 
  ac_status=$?
15801
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802
 
  (exit $ac_status); }; }; then
15803
 
 
15804
 
 
15805
 
cat >>confdefs.h <<\_ACEOF
15806
 
#define HAVE_LKSTRFTIME 1
15807
 
_ACEOF
 
13644
if ac_fn_c_try_run "$LINENO"; then :
 
13645
 
 
13646
 
 
13647
$as_echo "#define HAVE_LKSTRFTIME 1" >>confdefs.h
15808
13648
 
15809
13649
ac_cv_lkstrftime=yes
15810
13650
 
15811
13651
else
15812
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
15813
 
$as_echo "$as_me: failed program was:" >&5
15814
 
sed 's/^/| /' conftest.$ac_ext >&5
15815
 
 
15816
 
( exit $ac_status )
15817
 
ac_cv_lkstrftime=no
15818
 
fi
15819
 
rm -rf conftest.dSYM
15820
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15821
 
fi
15822
 
 
15823
 
 
15824
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lkstrftime" >&5
 
13652
  ac_cv_lkstrftime=no
 
13653
fi
 
13654
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
13655
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
13656
fi
 
13657
 
 
13658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lkstrftime" >&5
15825
13659
$as_echo "$ac_cv_lkstrftime" >&6; }
15826
13660
 
15827
13661
 
15828
13662
 
15829
13663
ENABLE_PROFILER=
15830
13664
# Check whether --enable-nautilus-extension was given.
15831
 
if test "${enable_nautilus_extension+set}" = set; then
 
13665
if test "${enable_nautilus_extension+set}" = set; then :
15832
13666
  enableval=$enable_nautilus_extension; ENABLE_NAUTILUS_EXTENSION=1
15833
13667
fi
15834
13668
 
15839
13673
 
15840
13674
 
15841
13675
pkg_failed=no
15842
 
{ $as_echo "$as_me:$LINENO: checking for NAUTILUS" >&5
 
13676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NAUTILUS" >&5
15843
13677
$as_echo_n "checking for NAUTILUS... " >&6; }
15844
13678
 
15845
13679
if test -n "$NAUTILUS_CFLAGS"; then
15846
13680
    pkg_cv_NAUTILUS_CFLAGS="$NAUTILUS_CFLAGS"
15847
13681
 elif test -n "$PKG_CONFIG"; then
15848
13682
    if test -n "$PKG_CONFIG" && \
15849
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED glib-2.0 gobject-2.0 gconf-2.0\"") >&5
 
13683
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED glib-2.0 gobject-2.0 gconf-2.0\""; } >&5
15850
13684
  ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED glib-2.0 gobject-2.0 gconf-2.0") 2>&5
15851
13685
  ac_status=$?
15852
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853
 
  (exit $ac_status); }; then
 
13686
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13687
  test $ac_status = 0; }; then
15854
13688
  pkg_cv_NAUTILUS_CFLAGS=`$PKG_CONFIG --cflags "libnautilus-extension >= $NAUTILUS_REQUIRED glib-2.0 gobject-2.0 gconf-2.0" 2>/dev/null`
15855
13689
else
15856
13690
  pkg_failed=yes
15862
13696
    pkg_cv_NAUTILUS_LIBS="$NAUTILUS_LIBS"
15863
13697
 elif test -n "$PKG_CONFIG"; then
15864
13698
    if test -n "$PKG_CONFIG" && \
15865
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED glib-2.0 gobject-2.0 gconf-2.0\"") >&5
 
13699
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED glib-2.0 gobject-2.0 gconf-2.0\""; } >&5
15866
13700
  ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED glib-2.0 gobject-2.0 gconf-2.0") 2>&5
15867
13701
  ac_status=$?
15868
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869
 
  (exit $ac_status); }; then
 
13702
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13703
  test $ac_status = 0; }; then
15870
13704
  pkg_cv_NAUTILUS_LIBS=`$PKG_CONFIG --libs "libnautilus-extension >= $NAUTILUS_REQUIRED glib-2.0 gobject-2.0 gconf-2.0" 2>/dev/null`
15871
13705
else
15872
13706
  pkg_failed=yes
15878
13712
 
15879
13713
 
15880
13714
if test $pkg_failed = yes; then
 
13715
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13716
$as_echo "no" >&6; }
15881
13717
 
15882
13718
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15883
13719
        _pkg_short_errors_supported=yes
15892
13728
        # Put the nasty error message in config.log where it belongs
15893
13729
        echo "$NAUTILUS_PKG_ERRORS" >&5
15894
13730
 
15895
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (libnautilus-extension >= $NAUTILUS_REQUIRED glib-2.0 gobject-2.0 gconf-2.0) were not met:
15896
 
 
15897
 
$NAUTILUS_PKG_ERRORS
15898
 
 
15899
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15900
 
installed software in a non-standard prefix.
15901
 
 
15902
 
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
15903
 
and NAUTILUS_LIBS to avoid the need to call pkg-config.
15904
 
See the pkg-config man page for more details.
15905
 
" >&5
15906
 
$as_echo "$as_me: error: Package requirements (libnautilus-extension >= $NAUTILUS_REQUIRED glib-2.0 gobject-2.0 gconf-2.0) were not met:
15907
 
 
15908
 
$NAUTILUS_PKG_ERRORS
15909
 
 
15910
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15911
 
installed software in a non-standard prefix.
15912
 
 
15913
 
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
15914
 
and NAUTILUS_LIBS to avoid the need to call pkg-config.
15915
 
See the pkg-config man page for more details.
15916
 
" >&2;}
15917
 
   { (exit 1); exit 1; }; }
 
13731
        as_fn_error $? "Package requirements (libnautilus-extension >= $NAUTILUS_REQUIRED glib-2.0 gobject-2.0 gconf-2.0) were not met:
 
13732
 
 
13733
$NAUTILUS_PKG_ERRORS
 
13734
 
 
13735
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13736
installed software in a non-standard prefix.
 
13737
 
 
13738
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
 
13739
and NAUTILUS_LIBS to avoid the need to call pkg-config.
 
13740
See the pkg-config man page for more details." "$LINENO" 5
15918
13741
elif test $pkg_failed = untried; then
15919
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13742
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13743
$as_echo "no" >&6; }
 
13744
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15920
13745
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15921
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15922
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15923
 
path to pkg-config.
15924
 
 
15925
 
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
15926
 
and NAUTILUS_LIBS to avoid the need to call pkg-config.
15927
 
See the pkg-config man page for more details.
15928
 
 
15929
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15930
 
See \`config.log' for more details." >&5
15931
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15932
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15933
 
path to pkg-config.
15934
 
 
15935
 
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
15936
 
and NAUTILUS_LIBS to avoid the need to call pkg-config.
15937
 
See the pkg-config man page for more details.
15938
 
 
15939
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15940
 
See \`config.log' for more details." >&2;}
15941
 
   { (exit 1); exit 1; }; }; }
 
13746
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13747
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13748
path to pkg-config.
 
13749
 
 
13750
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
 
13751
and NAUTILUS_LIBS to avoid the need to call pkg-config.
 
13752
See the pkg-config man page for more details.
 
13753
 
 
13754
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13755
See \`config.log' for more details" "$LINENO" 5 ; }
15942
13756
else
15943
13757
        NAUTILUS_CFLAGS=$pkg_cv_NAUTILUS_CFLAGS
15944
13758
        NAUTILUS_LIBS=$pkg_cv_NAUTILUS_LIBS
15945
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13759
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15946
13760
$as_echo "yes" >&6; }
15947
 
        :
 
13761
 
15948
13762
fi
15949
13763
        NAUTILUSDIR=`pkg-config --variable=extensiondir libnautilus-extension`
15950
13764
 
15968
13782
 
15969
13783
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
15970
13784
set dummy gtkdoc-check; ac_word=$2
15971
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13785
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15972
13786
$as_echo_n "checking for $ac_word... " >&6; }
15973
 
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then
 
13787
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
15974
13788
  $as_echo_n "(cached) " >&6
15975
13789
else
15976
13790
  case $GTKDOC_CHECK in
15983
13797
do
15984
13798
  IFS=$as_save_IFS
15985
13799
  test -z "$as_dir" && as_dir=.
15986
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13800
    for ac_exec_ext in '' $ac_executable_extensions; do
15987
13801
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15988
13802
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
15989
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13803
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15990
13804
    break 2
15991
13805
  fi
15992
13806
done
15993
 
done
 
13807
  done
15994
13808
IFS=$as_save_IFS
15995
13809
 
15996
13810
  ;;
15998
13812
fi
15999
13813
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
16000
13814
if test -n "$GTKDOC_CHECK"; then
16001
 
  { $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5
 
13815
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
16002
13816
$as_echo "$GTKDOC_CHECK" >&6; }
16003
13817
else
16004
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13818
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16005
13819
$as_echo "no" >&6; }
16006
13820
fi
16007
13821
 
16010
13824
do
16011
13825
  # Extract the first word of "$ac_prog", so it can be a program name with args.
16012
13826
set dummy $ac_prog; ac_word=$2
16013
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16014
13828
$as_echo_n "checking for $ac_word... " >&6; }
16015
 
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then
 
13829
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
16016
13830
  $as_echo_n "(cached) " >&6
16017
13831
else
16018
13832
  case $GTKDOC_REBASE in
16025
13839
do
16026
13840
  IFS=$as_save_IFS
16027
13841
  test -z "$as_dir" && as_dir=.
16028
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13842
    for ac_exec_ext in '' $ac_executable_extensions; do
16029
13843
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16030
13844
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
16031
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13845
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16032
13846
    break 2
16033
13847
  fi
16034
13848
done
16035
 
done
 
13849
  done
16036
13850
IFS=$as_save_IFS
16037
13851
 
16038
13852
  ;;
16040
13854
fi
16041
13855
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
16042
13856
if test -n "$GTKDOC_REBASE"; then
16043
 
  { $as_echo "$as_me:$LINENO: result: $GTKDOC_REBASE" >&5
 
13857
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
16044
13858
$as_echo "$GTKDOC_REBASE" >&6; }
16045
13859
else
16046
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13860
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16047
13861
$as_echo "no" >&6; }
16048
13862
fi
16049
13863
 
16054
13868
 
16055
13869
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
16056
13870
set dummy gtkdoc-mkpdf; ac_word=$2
16057
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16058
13872
$as_echo_n "checking for $ac_word... " >&6; }
16059
 
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then
 
13873
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
16060
13874
  $as_echo_n "(cached) " >&6
16061
13875
else
16062
13876
  case $GTKDOC_MKPDF in
16069
13883
do
16070
13884
  IFS=$as_save_IFS
16071
13885
  test -z "$as_dir" && as_dir=.
16072
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13886
    for ac_exec_ext in '' $ac_executable_extensions; do
16073
13887
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16074
13888
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
16075
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13889
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16076
13890
    break 2
16077
13891
  fi
16078
13892
done
16079
 
done
 
13893
  done
16080
13894
IFS=$as_save_IFS
16081
13895
 
16082
13896
  ;;
16084
13898
fi
16085
13899
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
16086
13900
if test -n "$GTKDOC_MKPDF"; then
16087
 
  { $as_echo "$as_me:$LINENO: result: $GTKDOC_MKPDF" >&5
 
13901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
16088
13902
$as_echo "$GTKDOC_MKPDF" >&6; }
16089
13903
else
16090
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13904
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16091
13905
$as_echo "no" >&6; }
16092
13906
fi
16093
13907
 
16095
13909
 
16096
13910
 
16097
13911
# Check whether --with-html-dir was given.
16098
 
if test "${with_html_dir+set}" = set; then
 
13912
if test "${with_html_dir+set}" = set; then :
16099
13913
  withval=$with_html_dir;
16100
13914
else
16101
13915
  with_html_dir='${datadir}/gtk-doc/html'
16105
13919
 
16106
13920
 
16107
13921
    # Check whether --enable-gtk-doc was given.
16108
 
if test "${enable_gtk_doc+set}" = set; then
 
13922
if test "${enable_gtk_doc+set}" = set; then :
16109
13923
  enableval=$enable_gtk_doc;
16110
13924
else
16111
13925
  enable_gtk_doc=no
16114
13928
 
16115
13929
  if test x$enable_gtk_doc = xyes; then
16116
13930
    if test -n "$PKG_CONFIG" && \
16117
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\"") >&5
 
13931
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
16118
13932
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
16119
13933
  ac_status=$?
16120
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121
 
  (exit $ac_status); }; then
 
13934
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13935
  test $ac_status = 0; }; then
16122
13936
  :
16123
13937
else
16124
 
  { { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" >&5
16125
 
$as_echo "$as_me: error: You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" >&2;}
16126
 
   { (exit 1); exit 1; }; }
 
13938
  as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
16127
13939
fi
16128
13940
  fi
16129
13941
 
16130
 
  { $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5
 
13942
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
16131
13943
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
16132
 
  { $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5
 
13944
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
16133
13945
$as_echo "$enable_gtk_doc" >&6; }
16134
13946
 
16135
13947
    # Check whether --enable-gtk-doc-html was given.
16136
 
if test "${enable_gtk_doc_html+set}" = set; then
 
13948
if test "${enable_gtk_doc_html+set}" = set; then :
16137
13949
  enableval=$enable_gtk_doc_html;
16138
13950
else
16139
13951
  enable_gtk_doc_html=yes
16140
13952
fi
16141
13953
 
16142
13954
    # Check whether --enable-gtk-doc-pdf was given.
16143
 
if test "${enable_gtk_doc_pdf+set}" = set; then
 
13955
if test "${enable_gtk_doc_pdf+set}" = set; then :
16144
13956
  enableval=$enable_gtk_doc_pdf;
16145
13957
else
16146
13958
  enable_gtk_doc_pdf=no
16224
14036
    case $ac_val in #(
16225
14037
    *${as_nl}*)
16226
14038
      case $ac_var in #(
16227
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
14039
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16228
14040
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16229
14041
      esac
16230
14042
      case $ac_var in #(
16231
14043
      _ | IFS | as_nl) ;; #(
16232
14044
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16233
 
      *) $as_unset $ac_var ;;
 
14045
      *) { eval $ac_var=; unset $ac_var;} ;;
16234
14046
      esac ;;
16235
14047
    esac
16236
14048
  done
16238
14050
  (set) 2>&1 |
16239
14051
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16240
14052
    *${as_nl}ac_space=\ *)
16241
 
      # `set' does not quote correctly, so add quotes (double-quote
16242
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
14053
      # `set' does not quote correctly, so add quotes: double-quote
 
14054
      # substitution turns \\\\ into \\, and sed turns \\ into \.
16243
14055
      sed -n \
16244
14056
        "s/'/'\\\\''/g;
16245
14057
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16262
14074
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16263
14075
  if test -w "$cache_file"; then
16264
14076
    test "x$cache_file" != "x/dev/null" &&
16265
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
14077
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16266
14078
$as_echo "$as_me: updating cache $cache_file" >&6;}
16267
14079
    cat confcache >$cache_file
16268
14080
  else
16269
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
14081
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16270
14082
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16271
14083
  fi
16272
14084
fi
16280
14092
 
16281
14093
ac_libobjs=
16282
14094
ac_ltlibobjs=
 
14095
U=
16283
14096
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16284
14097
  # 1. Remove the extension, and $U if already installed.
16285
14098
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16286
14099
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16287
14100
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16288
14101
  #    will be set to the directory where LIBOBJS objects are built.
16289
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16290
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
14102
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
14103
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16291
14104
done
16292
14105
LIBOBJS=$ac_libobjs
16293
14106
 
16303
14116
fi
16304
14117
 
16305
14118
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16306
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16307
 
Usually this means the macro was only invoked conditionally." >&5
16308
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16309
 
Usually this means the macro was only invoked conditionally." >&2;}
16310
 
   { (exit 1); exit 1; }; }
 
14119
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
14120
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16311
14121
fi
16312
14122
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16313
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16314
 
Usually this means the macro was only invoked conditionally." >&5
16315
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
16316
 
Usually this means the macro was only invoked conditionally." >&2;}
16317
 
   { (exit 1); exit 1; }; }
16318
 
fi
16319
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16320
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16321
 
Usually this means the macro was only invoked conditionally." >&5
16322
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16323
 
Usually this means the macro was only invoked conditionally." >&2;}
16324
 
   { (exit 1); exit 1; }; }
16325
 
fi
16326
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16327
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16328
 
Usually this means the macro was only invoked conditionally." >&5
16329
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16330
 
Usually this means the macro was only invoked conditionally." >&2;}
16331
 
   { (exit 1); exit 1; }; }
 
14123
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
14124
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14125
fi
 
14126
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14127
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14128
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14129
fi
 
14130
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14131
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14132
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16332
14133
fi
16333
14134
 
16334
14135
  ac_config_commands="$ac_config_commands po/stamp-it"
16335
14136
 
16336
14137
 
 
14138
if test -z "${HAVE_NETWORK_TRUE}" && test -z "${HAVE_NETWORK_FALSE}"; then
 
14139
  as_fn_error $? "conditional \"HAVE_NETWORK\" was never defined.
 
14140
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14141
fi
16337
14142
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
16338
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
16339
 
Usually this means the macro was only invoked conditionally." >&5
16340
 
$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
16341
 
Usually this means the macro was only invoked conditionally." >&2;}
16342
 
   { (exit 1); exit 1; }; }
 
14143
  as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
14144
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16343
14145
fi
16344
14146
if test -z "${ENABLE_NAUTILUS_EXTENSION_TRUE}" && test -z "${ENABLE_NAUTILUS_EXTENSION_FALSE}"; then
16345
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_NAUTILUS_EXTENSION\" was never defined.
16346
 
Usually this means the macro was only invoked conditionally." >&5
16347
 
$as_echo "$as_me: error: conditional \"ENABLE_NAUTILUS_EXTENSION\" was never defined.
16348
 
Usually this means the macro was only invoked conditionally." >&2;}
16349
 
   { (exit 1); exit 1; }; }
 
14147
  as_fn_error $? "conditional \"ENABLE_NAUTILUS_EXTENSION\" was never defined.
 
14148
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16350
14149
fi
16351
14150
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16352
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
16353
 
Usually this means the macro was only invoked conditionally." >&5
16354
 
$as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
16355
 
Usually this means the macro was only invoked conditionally." >&2;}
16356
 
   { (exit 1); exit 1; }; }
 
14151
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
 
14152
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16357
14153
fi
16358
14154
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
16359
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_BUILD_HTML\" was never defined.
16360
 
Usually this means the macro was only invoked conditionally." >&5
16361
 
$as_echo "$as_me: error: conditional \"GTK_DOC_BUILD_HTML\" was never defined.
16362
 
Usually this means the macro was only invoked conditionally." >&2;}
16363
 
   { (exit 1); exit 1; }; }
 
14155
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
 
14156
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16364
14157
fi
16365
14158
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
16366
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_BUILD_PDF\" was never defined.
16367
 
Usually this means the macro was only invoked conditionally." >&5
16368
 
$as_echo "$as_me: error: conditional \"GTK_DOC_BUILD_PDF\" was never defined.
16369
 
Usually this means the macro was only invoked conditionally." >&2;}
16370
 
   { (exit 1); exit 1; }; }
 
14159
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
 
14160
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16371
14161
fi
16372
14162
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16373
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16374
 
Usually this means the macro was only invoked conditionally." >&5
16375
 
$as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16376
 
Usually this means the macro was only invoked conditionally." >&2;}
16377
 
   { (exit 1); exit 1; }; }
 
14163
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
14164
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16378
14165
fi
16379
14166
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
16380
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_REBASE\" was never defined.
16381
 
Usually this means the macro was only invoked conditionally." >&5
16382
 
$as_echo "$as_me: error: conditional \"GTK_DOC_USE_REBASE\" was never defined.
16383
 
Usually this means the macro was only invoked conditionally." >&2;}
16384
 
   { (exit 1); exit 1; }; }
 
14167
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
14168
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16385
14169
fi
16386
14170
 
16387
14171
: ${CONFIG_STATUS=./config.status}
16388
14172
ac_write_fail=0
16389
14173
ac_clean_files_save=$ac_clean_files
16390
14174
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16391
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
14175
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16392
14176
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16393
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14177
as_write_fail=0
 
14178
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16394
14179
#! $SHELL
16395
14180
# Generated by $as_me.
16396
14181
# Run this file to recreate the current configuration.
16400
14185
debug=false
16401
14186
ac_cs_recheck=false
16402
14187
ac_cs_silent=false
 
14188
 
16403
14189
SHELL=\${CONFIG_SHELL-$SHELL}
16404
 
_ACEOF
16405
 
 
16406
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16407
 
## --------------------- ##
16408
 
## M4sh Initialization.  ##
16409
 
## --------------------- ##
 
14190
export SHELL
 
14191
_ASEOF
 
14192
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
14193
## -------------------- ##
 
14194
## M4sh Initialization. ##
 
14195
## -------------------- ##
16410
14196
 
16411
14197
# Be more Bourne compatible
16412
14198
DUALCASE=1; export DUALCASE # for MKS sh
16413
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
14199
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16414
14200
  emulate sh
16415
14201
  NULLCMD=:
16416
14202
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16418
14204
  alias -g '${1+"$@"}'='"$@"'
16419
14205
  setopt NO_GLOB_SUBST
16420
14206
else
16421
 
  case `(set -o) 2>/dev/null` in
16422
 
  *posix*) set -o posix ;;
 
14207
  case `(set -o) 2>/dev/null` in #(
 
14208
  *posix*) :
 
14209
    set -o posix ;; #(
 
14210
  *) :
 
14211
     ;;
16423
14212
esac
16424
 
 
16425
14213
fi
16426
14214
 
16427
14215
 
16428
 
 
16429
 
 
16430
 
# PATH needs CR
16431
 
# Avoid depending upon Character Ranges.
16432
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16433
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16434
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16435
 
as_cr_digits='0123456789'
16436
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
16437
 
 
16438
14216
as_nl='
16439
14217
'
16440
14218
export as_nl
16442
14220
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16443
14221
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16444
14222
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16445
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
14223
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
14224
# but without wasting forks for bash or zsh.
 
14225
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
14226
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
14227
  as_echo='print -r --'
 
14228
  as_echo_n='print -rn --'
 
14229
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16446
14230
  as_echo='printf %s\n'
16447
14231
  as_echo_n='printf %s'
16448
14232
else
16453
14237
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16454
14238
    as_echo_n_body='eval
16455
14239
      arg=$1;
16456
 
      case $arg in
 
14240
      case $arg in #(
16457
14241
      *"$as_nl"*)
16458
14242
        expr "X$arg" : "X\\(.*\\)$as_nl";
16459
14243
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16476
14260
  }
16477
14261
fi
16478
14262
 
16479
 
# Support unset when possible.
16480
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16481
 
  as_unset=unset
16482
 
else
16483
 
  as_unset=false
16484
 
fi
16485
 
 
16486
14263
 
16487
14264
# IFS
16488
14265
# We need space, tab and new line, in precisely that order.  Quoting is
16492
14269
IFS=" ""        $as_nl"
16493
14270
 
16494
14271
# Find who we are.  Look in the path if we contain no directory separator.
16495
 
case $0 in
 
14272
case $0 in #((
16496
14273
  *[\\/]* ) as_myself=$0 ;;
16497
14274
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16498
14275
for as_dir in $PATH
16499
14276
do
16500
14277
  IFS=$as_save_IFS
16501
14278
  test -z "$as_dir" && as_dir=.
16502
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16503
 
done
 
14279
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
14280
  done
16504
14281
IFS=$as_save_IFS
16505
14282
 
16506
14283
     ;;
16512
14289
fi
16513
14290
if test ! -f "$as_myself"; then
16514
14291
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16515
 
  { (exit 1); exit 1; }
 
14292
  exit 1
16516
14293
fi
16517
14294
 
16518
 
# Work around bugs in pre-3.0 UWIN ksh.
16519
 
for as_var in ENV MAIL MAILPATH
16520
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
14295
# Unset variables that we do not need and which cause bugs (e.g. in
 
14296
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
14297
# suppresses any "Segmentation fault" message there.  '((' could
 
14298
# trigger a bug in pdksh 5.2.14.
 
14299
for as_var in BASH_ENV ENV MAIL MAILPATH
 
14300
do eval test x\${$as_var+set} = xset \
 
14301
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16521
14302
done
16522
14303
PS1='$ '
16523
14304
PS2='> '
16529
14310
LANGUAGE=C
16530
14311
export LANGUAGE
16531
14312
 
16532
 
# Required to use basename.
 
14313
# CDPATH.
 
14314
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
14315
 
 
14316
 
 
14317
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
14318
# ----------------------------------------
 
14319
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
14320
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
14321
# script with STATUS, using 1 if that was 0.
 
14322
as_fn_error ()
 
14323
{
 
14324
  as_status=$1; test $as_status -eq 0 && as_status=1
 
14325
  if test "$4"; then
 
14326
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
14327
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
14328
  fi
 
14329
  $as_echo "$as_me: error: $2" >&2
 
14330
  as_fn_exit $as_status
 
14331
} # as_fn_error
 
14332
 
 
14333
 
 
14334
# as_fn_set_status STATUS
 
14335
# -----------------------
 
14336
# Set $? to STATUS, without forking.
 
14337
as_fn_set_status ()
 
14338
{
 
14339
  return $1
 
14340
} # as_fn_set_status
 
14341
 
 
14342
# as_fn_exit STATUS
 
14343
# -----------------
 
14344
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
14345
as_fn_exit ()
 
14346
{
 
14347
  set +e
 
14348
  as_fn_set_status $1
 
14349
  exit $1
 
14350
} # as_fn_exit
 
14351
 
 
14352
# as_fn_unset VAR
 
14353
# ---------------
 
14354
# Portably unset VAR.
 
14355
as_fn_unset ()
 
14356
{
 
14357
  { eval $1=; unset $1;}
 
14358
}
 
14359
as_unset=as_fn_unset
 
14360
# as_fn_append VAR VALUE
 
14361
# ----------------------
 
14362
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
14363
# advantage of any shell optimizations that allow amortized linear growth over
 
14364
# repeated appends, instead of the typical quadratic growth present in naive
 
14365
# implementations.
 
14366
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
14367
  eval 'as_fn_append ()
 
14368
  {
 
14369
    eval $1+=\$2
 
14370
  }'
 
14371
else
 
14372
  as_fn_append ()
 
14373
  {
 
14374
    eval $1=\$$1\$2
 
14375
  }
 
14376
fi # as_fn_append
 
14377
 
 
14378
# as_fn_arith ARG...
 
14379
# ------------------
 
14380
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
14381
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
14382
# must be portable across $(()) and expr.
 
14383
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
14384
  eval 'as_fn_arith ()
 
14385
  {
 
14386
    as_val=$(( $* ))
 
14387
  }'
 
14388
else
 
14389
  as_fn_arith ()
 
14390
  {
 
14391
    as_val=`expr "$@" || test $? -eq 1`
 
14392
  }
 
14393
fi # as_fn_arith
 
14394
 
 
14395
 
16533
14396
if expr a : '\(a\)' >/dev/null 2>&1 &&
16534
14397
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16535
14398
  as_expr=expr
16543
14406
  as_basename=false
16544
14407
fi
16545
14408
 
 
14409
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
14410
  as_dirname=dirname
 
14411
else
 
14412
  as_dirname=false
 
14413
fi
16546
14414
 
16547
 
# Name of the executable.
16548
14415
as_me=`$as_basename -- "$0" ||
16549
14416
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16550
14417
         X"$0" : 'X\(//\)$' \| \
16564
14431
          }
16565
14432
          s/.*/./; q'`
16566
14433
 
16567
 
# CDPATH.
16568
 
$as_unset CDPATH
16569
 
 
16570
 
 
16571
 
 
16572
 
  as_lineno_1=$LINENO
16573
 
  as_lineno_2=$LINENO
16574
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
16575
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
16576
 
 
16577
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16578
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
16579
 
  # line-number line after each line using $LINENO; the second 'sed'
16580
 
  # does the real work.  The second script uses 'N' to pair each
16581
 
  # line-number line with the line containing $LINENO, and appends
16582
 
  # trailing '-' during substitution so that $LINENO is not a special
16583
 
  # case at line end.
16584
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16585
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
16586
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
16587
 
  sed -n '
16588
 
    p
16589
 
    /[$]LINENO/=
16590
 
  ' <$as_myself |
16591
 
    sed '
16592
 
      s/[$]LINENO.*/&-/
16593
 
      t lineno
16594
 
      b
16595
 
      :lineno
16596
 
      N
16597
 
      :loop
16598
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16599
 
      t loop
16600
 
      s/-\n.*//
16601
 
    ' >$as_me.lineno &&
16602
 
  chmod +x "$as_me.lineno" ||
16603
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16604
 
   { (exit 1); exit 1; }; }
16605
 
 
16606
 
  # Don't try to exec as it changes $[0], causing all sort of problems
16607
 
  # (the dirname of $[0] is not the place where we might find the
16608
 
  # original and so on.  Autoconf is especially sensitive to this).
16609
 
  . "./$as_me.lineno"
16610
 
  # Exit status is that of the last command.
16611
 
  exit
16612
 
}
16613
 
 
16614
 
 
16615
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16616
 
  as_dirname=dirname
16617
 
else
16618
 
  as_dirname=false
16619
 
fi
 
14434
# Avoid depending upon Character Ranges.
 
14435
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
14436
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
14437
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
14438
as_cr_digits='0123456789'
 
14439
as_cr_alnum=$as_cr_Letters$as_cr_digits
16620
14440
 
16621
14441
ECHO_C= ECHO_N= ECHO_T=
16622
 
case `echo -n x` in
 
14442
case `echo -n x` in #(((((
16623
14443
-n*)
16624
 
  case `echo 'x\c'` in
 
14444
  case `echo 'xy\c'` in
16625
14445
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16626
 
  *)   ECHO_C='\c';;
 
14446
  xy)  ECHO_C='\c';;
 
14447
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
14448
       ECHO_T=' ';;
16627
14449
  esac;;
16628
14450
*)
16629
14451
  ECHO_N='-n';;
16630
14452
esac
16631
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
16632
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16633
 
  as_expr=expr
16634
 
else
16635
 
  as_expr=false
16636
 
fi
16637
14453
 
16638
14454
rm -f conf$$ conf$$.exe conf$$.file
16639
14455
if test -d conf$$.dir; then
16662
14478
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16663
14479
rmdir conf$$.dir 2>/dev/null
16664
14480
 
 
14481
 
 
14482
# as_fn_mkdir_p
 
14483
# -------------
 
14484
# Create "$as_dir" as a directory, including parents if necessary.
 
14485
as_fn_mkdir_p ()
 
14486
{
 
14487
 
 
14488
  case $as_dir in #(
 
14489
  -*) as_dir=./$as_dir;;
 
14490
  esac
 
14491
  test -d "$as_dir" || eval $as_mkdir_p || {
 
14492
    as_dirs=
 
14493
    while :; do
 
14494
      case $as_dir in #(
 
14495
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
14496
      *) as_qdir=$as_dir;;
 
14497
      esac
 
14498
      as_dirs="'$as_qdir' $as_dirs"
 
14499
      as_dir=`$as_dirname -- "$as_dir" ||
 
14500
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14501
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
14502
         X"$as_dir" : 'X\(//\)$' \| \
 
14503
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
14504
$as_echo X"$as_dir" |
 
14505
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14506
            s//\1/
 
14507
            q
 
14508
          }
 
14509
          /^X\(\/\/\)[^/].*/{
 
14510
            s//\1/
 
14511
            q
 
14512
          }
 
14513
          /^X\(\/\/\)$/{
 
14514
            s//\1/
 
14515
            q
 
14516
          }
 
14517
          /^X\(\/\).*/{
 
14518
            s//\1/
 
14519
            q
 
14520
          }
 
14521
          s/.*/./; q'`
 
14522
      test -d "$as_dir" && break
 
14523
    done
 
14524
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
14525
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
14526
 
 
14527
 
 
14528
} # as_fn_mkdir_p
16665
14529
if mkdir -p . 2>/dev/null; then
16666
 
  as_mkdir_p=:
 
14530
  as_mkdir_p='mkdir -p "$as_dir"'
16667
14531
else
16668
14532
  test -d ./-p && rmdir ./-p
16669
14533
  as_mkdir_p=false
16682
14546
      if test -d "$1"; then
16683
14547
        test -d "$1/.";
16684
14548
      else
16685
 
        case $1 in
 
14549
        case $1 in #(
16686
14550
        -*)set "./$1";;
16687
14551
        esac;
16688
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
14552
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16689
14553
        ???[sx]*):;;*)false;;esac;fi
16690
14554
    '\'' sh
16691
14555
  '
16700
14564
 
16701
14565
 
16702
14566
exec 6>&1
 
14567
## ----------------------------------- ##
 
14568
## Main body of $CONFIG_STATUS script. ##
 
14569
## ----------------------------------- ##
 
14570
_ASEOF
 
14571
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16703
14572
 
16704
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
14573
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14574
# Save the log message, to keep $0 and so on meaningful, and to
16705
14575
# report actual input values of CONFIG_FILES etc. instead of their
16706
14576
# values after options handling.
16707
14577
ac_log="
16708
 
This file was extended by gnome-main-menu $as_me 0.9.14, which was
16709
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
14578
This file was extended by gnome-main-menu $as_me 0.9.16, which was
 
14579
generated by GNU Autoconf 2.67.  Invocation command line was
16710
14580
 
16711
14581
  CONFIG_FILES    = $CONFIG_FILES
16712
14582
  CONFIG_HEADERS  = $CONFIG_HEADERS
16738
14608
 
16739
14609
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16740
14610
ac_cs_usage="\
16741
 
\`$as_me' instantiates files from templates according to the
16742
 
current configuration.
 
14611
\`$as_me' instantiates files and other configuration actions
 
14612
from templates according to the current configuration.  Unless the files
 
14613
and actions are specified as TAGs, all are instantiated by default.
16743
14614
 
16744
 
Usage: $0 [OPTION]... [FILE]...
 
14615
Usage: $0 [OPTION]... [TAG]...
16745
14616
 
16746
14617
  -h, --help       print this help, then exit
16747
14618
  -V, --version    print version number and configuration settings, then exit
 
14619
      --config     print configuration, then exit
16748
14620
  -q, --quiet, --silent
16749
14621
                   do not print progress messages
16750
14622
  -d, --debug      don't remove temporary files
16763
14635
Configuration commands:
16764
14636
$config_commands
16765
14637
 
16766
 
Report bugs to <bug-autoconf@gnu.org>."
 
14638
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu>."
16767
14639
 
16768
14640
_ACEOF
16769
14641
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14642
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16770
14643
ac_cs_version="\\
16771
 
gnome-main-menu config.status 0.9.14
16772
 
configured by $0, generated by GNU Autoconf 2.63,
16773
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
14644
gnome-main-menu config.status 0.9.16
 
14645
configured by $0, generated by GNU Autoconf 2.67,
 
14646
  with options \\"\$ac_cs_config\\"
16774
14647
 
16775
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
14648
Copyright (C) 2010 Free Software Foundation, Inc.
16776
14649
This config.status script is free software; the Free Software Foundation
16777
14650
gives unlimited permission to copy, distribute and modify it."
16778
14651
 
16790
14663
while test $# != 0
16791
14664
do
16792
14665
  case $1 in
16793
 
  --*=*)
 
14666
  --*=?*)
16794
14667
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16795
14668
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16796
14669
    ac_shift=:
16797
14670
    ;;
 
14671
  --*=)
 
14672
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
14673
    ac_optarg=
 
14674
    ac_shift=:
 
14675
    ;;
16798
14676
  *)
16799
14677
    ac_option=$1
16800
14678
    ac_optarg=$2
16808
14686
    ac_cs_recheck=: ;;
16809
14687
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16810
14688
    $as_echo "$ac_cs_version"; exit ;;
 
14689
  --config | --confi | --conf | --con | --co | --c )
 
14690
    $as_echo "$ac_cs_config"; exit ;;
16811
14691
  --debug | --debu | --deb | --de | --d | -d )
16812
14692
    debug=: ;;
16813
14693
  --file | --fil | --fi | --f )
16814
14694
    $ac_shift
16815
14695
    case $ac_optarg in
16816
14696
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
14697
    '') as_fn_error $? "missing file argument" ;;
16817
14698
    esac
16818
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
14699
    as_fn_append CONFIG_FILES " '$ac_optarg'"
16819
14700
    ac_need_defaults=false;;
16820
14701
  --header | --heade | --head | --hea )
16821
14702
    $ac_shift
16822
14703
    case $ac_optarg in
16823
14704
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16824
14705
    esac
16825
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
14706
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16826
14707
    ac_need_defaults=false;;
16827
14708
  --he | --h)
16828
14709
    # Conflict between --help and --header
16829
 
    { $as_echo "$as_me: error: ambiguous option: $1
16830
 
Try \`$0 --help' for more information." >&2
16831
 
   { (exit 1); exit 1; }; };;
 
14710
    as_fn_error $? "ambiguous option: \`$1'
 
14711
Try \`$0 --help' for more information.";;
16832
14712
  --help | --hel | -h )
16833
14713
    $as_echo "$ac_cs_usage"; exit ;;
16834
14714
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16836
14716
    ac_cs_silent=: ;;
16837
14717
 
16838
14718
  # This is an error.
16839
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
16840
 
Try \`$0 --help' for more information." >&2
16841
 
   { (exit 1); exit 1; }; } ;;
 
14719
  -*) as_fn_error $? "unrecognized option: \`$1'
 
14720
Try \`$0 --help' for more information." ;;
16842
14721
 
16843
 
  *) ac_config_targets="$ac_config_targets $1"
 
14722
  *) as_fn_append ac_config_targets " $1"
16844
14723
     ac_need_defaults=false ;;
16845
14724
 
16846
14725
  esac
17161
15040
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17162
15041
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17163
15042
 
17164
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17165
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17166
 
   { (exit 1); exit 1; }; };;
 
15043
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17167
15044
  esac
17168
15045
done
17169
15046
 
17190
15067
  trap 'exit_status=$?
17191
15068
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17192
15069
' 0
17193
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
15070
  trap 'as_fn_exit 1' 1 2 13 15
17194
15071
}
17195
15072
# Create a (secure) tmp directory for tmp files.
17196
15073
 
17201
15078
{
17202
15079
  tmp=./conf$$-$RANDOM
17203
15080
  (umask 077 && mkdir "$tmp")
17204
 
} ||
17205
 
{
17206
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
17207
 
   { (exit 1); exit 1; }
17208
 
}
 
15081
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17209
15082
 
17210
15083
# Set up the scripts for CONFIG_FILES section.
17211
15084
# No need to generate them if there are no CONFIG_FILES.
17213
15086
if test -n "$CONFIG_FILES"; then
17214
15087
 
17215
15088
 
17216
 
ac_cr='
 
 
b"'"
 
15089
ac_cr=`echo X | tr X '\015'`
 
15090
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
15091
# But we know of no other shell where ac_cr would be empty at this
 
15092
# point, so we can use a bashism as a fallback.
 
15093
if test "x$ac_cr" = x; then
 
15094
  eval ac_cr=\$\'\\r\'
 
15095
fi
17217
15096
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17218
15097
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17219
15098
  ac_cs_awk_cr='\\r'
17230
15109
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17231
15110
  echo "_ACEOF"
17232
15111
} >conf$$subs.sh ||
17233
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17234
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17235
 
   { (exit 1); exit 1; }; }
17236
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
15112
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15113
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17237
15114
ac_delim='%!_!# '
17238
15115
for ac_last_try in false false false false false :; do
17239
15116
  . ./conf$$subs.sh ||
17240
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17241
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17242
 
   { (exit 1); exit 1; }; }
 
15117
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17243
15118
 
17244
15119
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17245
15120
  if test $ac_delim_n = $ac_delim_num; then
17246
15121
    break
17247
15122
  elif $ac_last_try; then
17248
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17249
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17250
 
   { (exit 1); exit 1; }; }
 
15123
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17251
15124
  else
17252
15125
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17253
15126
  fi
17269
15142
t delim
17270
15143
:nl
17271
15144
h
17272
 
s/\(.\{148\}\).*/\1/
 
15145
s/\(.\{148\}\)..*/\1/
17273
15146
t more1
17274
15147
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17275
15148
p
17283
15156
t nl
17284
15157
:delim
17285
15158
h
17286
 
s/\(.\{148\}\).*/\1/
 
15159
s/\(.\{148\}\)..*/\1/
17287
15160
t more2
17288
15161
s/["\\]/\\&/g; s/^/"/; s/$/"/
17289
15162
p
17336
15209
else
17337
15210
  cat
17338
15211
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17339
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
17340
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
17341
 
   { (exit 1); exit 1; }; }
 
15212
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17342
15213
_ACEOF
17343
15214
 
17344
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
17345
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
15215
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
15216
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17346
15217
# trailing colons and then remove the whole line if VPATH becomes empty
17347
15218
# (actually we leave an empty line to preserve line numbers).
17348
15219
if test "x$srcdir" = x.; then
17349
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
17350
 
s/:*\$(srcdir):*/:/
17351
 
s/:*\${srcdir}:*/:/
17352
 
s/:*@srcdir@:*/:/
17353
 
s/^\([^=]*=[     ]*\):*/\1/
 
15220
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
15221
h
 
15222
s///
 
15223
s/^/:/
 
15224
s/[      ]*$/:/
 
15225
s/:\$(srcdir):/:/g
 
15226
s/:\${srcdir}:/:/g
 
15227
s/:@srcdir@:/:/g
 
15228
s/^:*//
17354
15229
s/:*$//
 
15230
x
 
15231
s/\(=[   ]*\).*/\1/
 
15232
G
 
15233
s/\n//
17355
15234
s/^[^=]*=[       ]*$//
17356
15235
}'
17357
15236
fi
17379
15258
  if test -z "$ac_t"; then
17380
15259
    break
17381
15260
  elif $ac_last_try; then
17382
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
17383
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
17384
 
   { (exit 1); exit 1; }; }
 
15261
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17385
15262
  else
17386
15263
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17387
15264
  fi
17466
15343
_ACAWK
17467
15344
_ACEOF
17468
15345
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17469
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
17470
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
17471
 
   { (exit 1); exit 1; }; }
 
15346
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17472
15347
fi # test -n "$CONFIG_HEADERS"
17473
15348
 
17474
15349
 
17481
15356
  esac
17482
15357
  case $ac_mode$ac_tag in
17483
15358
  :[FHL]*:*);;
17484
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
17485
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
17486
 
   { (exit 1); exit 1; }; };;
 
15359
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17487
15360
  :[FH]-) ac_tag=-:-;;
17488
15361
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17489
15362
  esac
17511
15384
           [\\/$]*) false;;
17512
15385
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17513
15386
           esac ||
17514
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
17515
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
17516
 
   { (exit 1); exit 1; }; };;
 
15387
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17517
15388
      esac
17518
15389
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17519
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
15390
      as_fn_append ac_file_inputs " '$ac_f'"
17520
15391
    done
17521
15392
 
17522
15393
    # Let's still pretend it is `configure' which instantiates (i.e., don't
17527
15398
        `' by configure.'
17528
15399
    if test x"$ac_file" != x-; then
17529
15400
      configure_input="$ac_file.  $configure_input"
17530
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
15401
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17531
15402
$as_echo "$as_me: creating $ac_file" >&6;}
17532
15403
    fi
17533
15404
    # Neutralize special characters interpreted by sed in replacement strings.
17540
15411
 
17541
15412
    case $ac_tag in
17542
15413
    *:-:* | *:-) cat >"$tmp/stdin" \
17543
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17544
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17545
 
   { (exit 1); exit 1; }; } ;;
 
15414
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
17546
15415
    esac
17547
15416
    ;;
17548
15417
  esac
17570
15439
            q
17571
15440
          }
17572
15441
          s/.*/./; q'`
17573
 
  { as_dir="$ac_dir"
17574
 
  case $as_dir in #(
17575
 
  -*) as_dir=./$as_dir;;
17576
 
  esac
17577
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17578
 
    as_dirs=
17579
 
    while :; do
17580
 
      case $as_dir in #(
17581
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17582
 
      *) as_qdir=$as_dir;;
17583
 
      esac
17584
 
      as_dirs="'$as_qdir' $as_dirs"
17585
 
      as_dir=`$as_dirname -- "$as_dir" ||
17586
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17587
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
17588
 
         X"$as_dir" : 'X\(//\)$' \| \
17589
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17590
 
$as_echo X"$as_dir" |
17591
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17592
 
            s//\1/
17593
 
            q
17594
 
          }
17595
 
          /^X\(\/\/\)[^/].*/{
17596
 
            s//\1/
17597
 
            q
17598
 
          }
17599
 
          /^X\(\/\/\)$/{
17600
 
            s//\1/
17601
 
            q
17602
 
          }
17603
 
          /^X\(\/\).*/{
17604
 
            s//\1/
17605
 
            q
17606
 
          }
17607
 
          s/.*/./; q'`
17608
 
      test -d "$as_dir" && break
17609
 
    done
17610
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
17611
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17612
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
17613
 
   { (exit 1); exit 1; }; }; }
 
15442
  as_dir="$ac_dir"; as_fn_mkdir_p
17614
15443
  ac_builddir=.
17615
15444
 
17616
15445
case "$ac_dir" in
17667
15496
# If the template does not know about datarootdir, expand it.
17668
15497
# FIXME: This hack should be removed a few years after 2.60.
17669
15498
ac_datarootdir_hack=; ac_datarootdir_seen=
17670
 
 
17671
15499
ac_sed_dataroot='
17672
15500
/datarootdir/ {
17673
15501
  p
17677
15505
/@docdir@/p
17678
15506
/@infodir@/p
17679
15507
/@localedir@/p
17680
 
/@mandir@/p
17681
 
'
 
15508
/@mandir@/p'
17682
15509
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17683
15510
*datarootdir*) ac_datarootdir_seen=yes;;
17684
15511
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17685
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
15512
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17686
15513
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17687
15514
_ACEOF
17688
15515
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17692
15519
  s&@infodir@&$infodir&g
17693
15520
  s&@localedir@&$localedir&g
17694
15521
  s&@mandir@&$mandir&g
17695
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
15522
  s&\\\${datarootdir}&$datarootdir&g' ;;
17696
15523
esac
17697
15524
_ACEOF
17698
15525
 
17721
15548
$ac_datarootdir_hack
17722
15549
"
17723
15550
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17724
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17725
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17726
 
   { (exit 1); exit 1; }; }
 
15551
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17727
15552
 
17728
15553
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17729
15554
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17730
15555
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17731
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17732
 
which seems to be undefined.  Please make sure it is defined." >&5
 
15556
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
15557
which seems to be undefined.  Please make sure it is defined" >&5
17733
15558
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17734
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
15559
which seems to be undefined.  Please make sure it is defined" >&2;}
17735
15560
 
17736
15561
  rm -f "$tmp/stdin"
17737
15562
  case $ac_file in
17738
15563
  -) cat "$tmp/out" && rm -f "$tmp/out";;
17739
15564
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17740
15565
  esac \
17741
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17742
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17743
 
   { (exit 1); exit 1; }; }
 
15566
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17744
15567
 ;;
17745
15568
  :H)
17746
15569
  #
17751
15574
      $as_echo "/* $configure_input  */" \
17752
15575
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17753
15576
    } >"$tmp/config.h" \
17754
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17755
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17756
 
   { (exit 1); exit 1; }; }
 
15577
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17757
15578
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17758
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
15579
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17759
15580
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17760
15581
    else
17761
15582
      rm -f "$ac_file"
17762
15583
      mv "$tmp/config.h" "$ac_file" \
17763
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17764
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17765
 
   { (exit 1); exit 1; }; }
 
15584
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17766
15585
    fi
17767
15586
  else
17768
15587
    $as_echo "/* $configure_input  */" \
17769
15588
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17770
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
17771
 
$as_echo "$as_me: error: could not create -" >&2;}
17772
 
   { (exit 1); exit 1; }; }
 
15589
      || as_fn_error $? "could not create -" "$LINENO" 5
17773
15590
  fi
17774
15591
# Compute "$ac_file"'s index in $config_headers.
17775
15592
_am_arg="$ac_file"
17807
15624
          s/.*/./; q'`/stamp-h$_am_stamp_count
17808
15625
 ;;
17809
15626
 
17810
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
15627
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17811
15628
$as_echo "$as_me: executing $ac_file commands" >&6;}
17812
15629
 ;;
17813
15630
  esac
17902
15719
            q
17903
15720
          }
17904
15721
          s/.*/./; q'`
17905
 
      { as_dir=$dirpart/$fdir
17906
 
  case $as_dir in #(
17907
 
  -*) as_dir=./$as_dir;;
17908
 
  esac
17909
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17910
 
    as_dirs=
17911
 
    while :; do
17912
 
      case $as_dir in #(
17913
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17914
 
      *) as_qdir=$as_dir;;
17915
 
      esac
17916
 
      as_dirs="'$as_qdir' $as_dirs"
17917
 
      as_dir=`$as_dirname -- "$as_dir" ||
17918
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17919
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
17920
 
         X"$as_dir" : 'X\(//\)$' \| \
17921
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17922
 
$as_echo X"$as_dir" |
17923
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17924
 
            s//\1/
17925
 
            q
17926
 
          }
17927
 
          /^X\(\/\/\)[^/].*/{
17928
 
            s//\1/
17929
 
            q
17930
 
          }
17931
 
          /^X\(\/\/\)$/{
17932
 
            s//\1/
17933
 
            q
17934
 
          }
17935
 
          /^X\(\/\).*/{
17936
 
            s//\1/
17937
 
            q
17938
 
          }
17939
 
          s/.*/./; q'`
17940
 
      test -d "$as_dir" && break
17941
 
    done
17942
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
17943
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17944
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
17945
 
   { (exit 1); exit 1; }; }; }
 
15722
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
17946
15723
      # echo "creating $dirpart/$file"
17947
15724
      echo '# dummy' > "$dirpart/$file"
17948
15725
    done
18589
16366
      esac ;;
18590
16367
    "po/stamp-it":C)
18591
16368
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18592
 
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
18593
 
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
18594
 
   { (exit 1); exit 1; }; }
 
16369
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18595
16370
    fi
18596
16371
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18597
16372
    >"po/stamp-it.tmp"
18614
16389
done # for ac_tag
18615
16390
 
18616
16391
 
18617
 
{ (exit 0); exit 0; }
 
16392
as_fn_exit 0
18618
16393
_ACEOF
18619
 
chmod +x $CONFIG_STATUS
18620
16394
ac_clean_files=$ac_clean_files_save
18621
16395
 
18622
16396
test $ac_write_fail = 0 ||
18623
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
18624
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
18625
 
   { (exit 1); exit 1; }; }
 
16397
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18626
16398
 
18627
16399
 
18628
16400
# configure is writing to config.log, and then calls config.status.
18643
16415
  exec 5>>config.log
18644
16416
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18645
16417
  # would make configure fail if this is the last instruction.
18646
 
  $ac_cs_success || { (exit 1); exit 1; }
 
16418
  $ac_cs_success || as_fn_exit 1
18647
16419
fi
18648
16420
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18649
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
16421
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18650
16422
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18651
16423
fi
18652
16424