~ubuntu-branches/ubuntu/lucid/gbrainy/lucid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-01-12 11:21:24 UTC
  • mfrom: (13.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100112112124-o4ztomxa0xfh2ulj
Tags: 1.30-1ubuntu1
* debian/control:
  - Revert build-depends to lucid versions

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 gbrainy 1.20.
 
3
# Generated by GNU Autoconf 2.64 for gbrainy 1.30.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
7
# Foundation, Inc.
 
8
#
7
9
# This configure script is free software; the Free Software Foundation
8
10
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
11
## -------------------- ##
 
12
## M4sh Initialization. ##
 
13
## -------------------- ##
12
14
 
13
15
# Be more Bourne compatible
14
16
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
18
  emulate sh
17
19
  NULLCMD=:
18
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
22
  alias -g '${1+"$@"}'='"$@"'
21
23
  setopt NO_GLOB_SUBST
22
24
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
25
  case `(set -o) 2>/dev/null` in #(
 
26
  *posix*) :
 
27
    set -o posix ;; #(
 
28
  *) :
 
29
     ;;
25
30
esac
26
 
 
27
31
fi
28
32
 
29
33
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
34
as_nl='
41
35
'
42
36
export as_nl
44
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
42
# but without wasting forks for bash or zsh.
 
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
  as_echo='print -r --'
 
46
  as_echo_n='print -rn --'
 
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
48
  as_echo='printf %s\n'
49
49
  as_echo_n='printf %s'
50
50
else
55
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
56
    as_echo_n_body='eval
57
57
      arg=$1;
58
 
      case $arg in
 
58
      case $arg in #(
59
59
      *"$as_nl"*)
60
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78
78
  }
79
79
fi
80
80
 
81
 
# Support unset when possible.
82
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
 
  as_unset=unset
84
 
else
85
 
  as_unset=false
86
 
fi
87
 
 
88
81
 
89
82
# IFS
90
83
# We need space, tab and new line, in precisely that order.  Quoting is
94
87
IFS=" ""        $as_nl"
95
88
 
96
89
# Find who we are.  Look in the path if we contain no directory separator.
97
 
case $0 in
 
90
case $0 in #((
98
91
  *[\\/]* ) as_myself=$0 ;;
99
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
93
for as_dir in $PATH
101
94
do
102
95
  IFS=$as_save_IFS
103
96
  test -z "$as_dir" && as_dir=.
104
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
 
done
 
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
98
  done
106
99
IFS=$as_save_IFS
107
100
 
108
101
     ;;
114
107
fi
115
108
if test ! -f "$as_myself"; then
116
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
 
  { (exit 1); exit 1; }
 
110
  exit 1
118
111
fi
119
112
 
120
 
# Work around bugs in pre-3.0 UWIN ksh.
121
 
for as_var in ENV MAIL MAILPATH
122
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
 
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
115
# suppresses any "Segmentation fault" message there.  '((' could
 
116
# trigger a bug in pdksh 5.2.14.
 
117
for as_var in BASH_ENV ENV MAIL MAILPATH
 
118
do eval test x\${$as_var+set} = xset \
 
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
120
done
124
121
PS1='$ '
125
122
PS2='> '
131
128
LANGUAGE=C
132
129
export LANGUAGE
133
130
 
134
 
# Required to use basename.
135
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137
 
  as_expr=expr
138
 
else
139
 
  as_expr=false
140
 
fi
141
 
 
142
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143
 
  as_basename=basename
144
 
else
145
 
  as_basename=false
146
 
fi
147
 
 
148
 
 
149
 
# Name of the executable.
150
 
as_me=`$as_basename -- "$0" ||
151
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
 
         X"$0" : 'X\(//\)$' \| \
153
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154
 
$as_echo X/"$0" |
155
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
156
 
            s//\1/
157
 
            q
158
 
          }
159
 
          /^X\/\(\/\/\)$/{
160
 
            s//\1/
161
 
            q
162
 
          }
163
 
          /^X\/\(\/\).*/{
164
 
            s//\1/
165
 
            q
166
 
          }
167
 
          s/.*/./; q'`
168
 
 
169
131
# CDPATH.
170
 
$as_unset CDPATH
171
 
 
 
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
172
133
 
173
134
if test "x$CONFIG_SHELL" = x; then
174
 
  if (eval ":") 2>/dev/null; then
 
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
136
  emulate sh
 
137
  NULLCMD=:
 
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
139
  # is contrary to our usage.  Disable this feature.
 
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
141
  setopt NO_GLOB_SUBST
 
142
else
 
143
  case \`(set -o) 2>/dev/null\` in #(
 
144
  *posix*) :
 
145
    set -o posix ;; #(
 
146
  *) :
 
147
     ;;
 
148
esac
 
149
fi
 
150
"
 
151
  as_required="as_fn_return () { (exit \$1); }
 
152
as_fn_success () { as_fn_return 0; }
 
153
as_fn_failure () { as_fn_return 1; }
 
154
as_fn_ret_success () { return 0; }
 
155
as_fn_ret_failure () { return 1; }
 
156
 
 
157
exitcode=0
 
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
163
 
 
164
else
 
165
  exitcode=1; echo positional parameters were not saved.
 
166
fi
 
167
test x\$exitcode = x0 || exit 1"
 
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
172
test \$(( 1 + 1 )) = 2 || exit 1"
 
173
  if (eval "$as_required") 2>/dev/null; then :
175
174
  as_have_required=yes
176
175
else
177
176
  as_have_required=no
178
177
fi
179
 
 
180
 
  if test $as_have_required = yes &&     (eval ":
181
 
(as_func_return () {
182
 
  (exit \$1)
183
 
}
184
 
as_func_success () {
185
 
  as_func_return 0
186
 
}
187
 
as_func_failure () {
188
 
  as_func_return 1
189
 
}
190
 
as_func_ret_success () {
191
 
  return 0
192
 
}
193
 
as_func_ret_failure () {
194
 
  return 1
195
 
}
196
 
 
197
 
exitcode=0
198
 
if as_func_success; then
199
 
  :
200
 
else
201
 
  exitcode=1
202
 
  echo as_func_success failed.
203
 
fi
204
 
 
205
 
if as_func_failure; then
206
 
  exitcode=1
207
 
  echo as_func_failure succeeded.
208
 
fi
209
 
 
210
 
if as_func_ret_success; then
211
 
  :
212
 
else
213
 
  exitcode=1
214
 
  echo as_func_ret_success failed.
215
 
fi
216
 
 
217
 
if as_func_ret_failure; then
218
 
  exitcode=1
219
 
  echo as_func_ret_failure succeeded.
220
 
fi
221
 
 
222
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223
 
  :
224
 
else
225
 
  exitcode=1
226
 
  echo positional parameters were not saved.
227
 
fi
228
 
 
229
 
test \$exitcode = 0) || { (exit 1); exit 1; }
230
 
 
231
 
(
232
 
  as_lineno_1=\$LINENO
233
 
  as_lineno_2=\$LINENO
234
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
 
") 2> /dev/null; then
237
 
  :
238
 
else
239
 
  as_candidate_shells=
240
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
178
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
179
 
 
180
else
 
181
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
as_found=false
241
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242
184
do
243
185
  IFS=$as_save_IFS
244
186
  test -z "$as_dir" && as_dir=.
245
 
  case $as_dir in
 
187
  as_found=:
 
188
  case $as_dir in #(
246
189
         /*)
247
190
           for as_base in sh bash ksh sh5; do
248
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
191
             # Try only shells that exist, to save several forks.
 
192
             as_shell=$as_dir/$as_base
 
193
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
194
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
195
  CONFIG_SHELL=$as_shell as_have_required=yes
 
196
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  break 2
 
198
fi
 
199
fi
249
200
           done;;
250
201
       esac
 
202
  as_found=false
251
203
done
 
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
205
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
206
  CONFIG_SHELL=$SHELL as_have_required=yes
 
207
fi; }
252
208
IFS=$as_save_IFS
253
209
 
254
210
 
255
 
      for as_shell in $as_candidate_shells $SHELL; do
256
 
         # Try only shells that exist, to save several forks.
257
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
259
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
 
  emulate sh
261
 
  NULLCMD=:
262
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
 
  # is contrary to our usage.  Disable this feature.
264
 
  alias -g '${1+"$@"}'='"$@"'
265
 
  setopt NO_GLOB_SUBST
266
 
else
267
 
  case `(set -o) 2>/dev/null` in
268
 
  *posix*) set -o posix ;;
269
 
esac
270
 
 
271
 
fi
272
 
 
273
 
 
274
 
:
275
 
_ASEOF
276
 
}; then
277
 
  CONFIG_SHELL=$as_shell
278
 
               as_have_required=yes
279
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
280
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281
 
  emulate sh
282
 
  NULLCMD=:
283
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
 
  # is contrary to our usage.  Disable this feature.
285
 
  alias -g '${1+"$@"}'='"$@"'
286
 
  setopt NO_GLOB_SUBST
287
 
else
288
 
  case `(set -o) 2>/dev/null` in
289
 
  *posix*) set -o posix ;;
290
 
esac
291
 
 
292
 
fi
293
 
 
294
 
 
295
 
:
296
 
(as_func_return () {
297
 
  (exit $1)
298
 
}
299
 
as_func_success () {
300
 
  as_func_return 0
301
 
}
302
 
as_func_failure () {
303
 
  as_func_return 1
304
 
}
305
 
as_func_ret_success () {
306
 
  return 0
307
 
}
308
 
as_func_ret_failure () {
309
 
  return 1
310
 
}
311
 
 
312
 
exitcode=0
313
 
if as_func_success; then
314
 
  :
315
 
else
316
 
  exitcode=1
317
 
  echo as_func_success failed.
318
 
fi
319
 
 
320
 
if as_func_failure; then
321
 
  exitcode=1
322
 
  echo as_func_failure succeeded.
323
 
fi
324
 
 
325
 
if as_func_ret_success; then
326
 
  :
327
 
else
328
 
  exitcode=1
329
 
  echo as_func_ret_success failed.
330
 
fi
331
 
 
332
 
if as_func_ret_failure; then
333
 
  exitcode=1
334
 
  echo as_func_ret_failure succeeded.
335
 
fi
336
 
 
337
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
338
 
  :
339
 
else
340
 
  exitcode=1
341
 
  echo positional parameters were not saved.
342
 
fi
343
 
 
344
 
test $exitcode = 0) || { (exit 1); exit 1; }
345
 
 
346
 
(
347
 
  as_lineno_1=$LINENO
348
 
  as_lineno_2=$LINENO
349
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
350
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
 
 
352
 
_ASEOF
353
 
}; then
354
 
  break
355
 
fi
356
 
 
357
 
fi
358
 
 
359
 
      done
360
 
 
361
 
      if test "x$CONFIG_SHELL" != x; then
362
 
  for as_var in BASH_ENV ENV
363
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364
 
        done
 
211
      if test "x$CONFIG_SHELL" != x; then :
 
212
  # We cannot yet assume a decent shell, so we have to provide a
 
213
        # neutralization value for shells without unset; and this also
 
214
        # works around shells that cannot unset nonexistent variables.
 
215
        BASH_ENV=/dev/null
 
216
        ENV=/dev/null
 
217
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
218
        export CONFIG_SHELL
366
219
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367
220
fi
368
221
 
369
 
 
370
 
    if test $as_have_required = no; then
371
 
  echo This script requires a shell more modern than all the
372
 
      echo shells that I found on your system.  Please install a
373
 
      echo modern shell, or manually run the script under such a
374
 
      echo shell if you do have one.
375
 
      { (exit 1); exit 1; }
376
 
fi
377
 
 
378
 
 
379
 
fi
380
 
 
381
 
fi
382
 
 
383
 
 
384
 
 
385
 
(eval "as_func_return () {
386
 
  (exit \$1)
387
 
}
388
 
as_func_success () {
389
 
  as_func_return 0
390
 
}
391
 
as_func_failure () {
392
 
  as_func_return 1
393
 
}
394
 
as_func_ret_success () {
395
 
  return 0
396
 
}
397
 
as_func_ret_failure () {
398
 
  return 1
399
 
}
400
 
 
401
 
exitcode=0
402
 
if as_func_success; then
403
 
  :
404
 
else
405
 
  exitcode=1
406
 
  echo as_func_success failed.
407
 
fi
408
 
 
409
 
if as_func_failure; then
410
 
  exitcode=1
411
 
  echo as_func_failure succeeded.
412
 
fi
413
 
 
414
 
if as_func_ret_success; then
415
 
  :
416
 
else
417
 
  exitcode=1
418
 
  echo as_func_ret_success failed.
419
 
fi
420
 
 
421
 
if as_func_ret_failure; then
422
 
  exitcode=1
423
 
  echo as_func_ret_failure succeeded.
424
 
fi
425
 
 
426
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427
 
  :
428
 
else
429
 
  exitcode=1
430
 
  echo positional parameters were not saved.
431
 
fi
432
 
 
433
 
test \$exitcode = 0") || {
434
 
  echo No shell found that supports shell functions.
435
 
  echo Please tell bug-autoconf@gnu.org about your system,
436
 
  echo including any error possibly output before this message.
437
 
  echo This can help us improve future autoconf versions.
438
 
  echo Configuration will now proceed without shell functions.
439
 
}
440
 
 
441
 
 
442
 
 
443
 
  as_lineno_1=$LINENO
444
 
  as_lineno_2=$LINENO
445
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
446
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
 
 
448
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
450
 
  # line-number line after each line using $LINENO; the second 'sed'
451
 
  # does the real work.  The second script uses 'N' to pair each
452
 
  # line-number line with the line containing $LINENO, and appends
453
 
  # trailing '-' during substitution so that $LINENO is not a special
454
 
  # case at line end.
455
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
222
    if test x$as_have_required = xno; then :
 
223
  $as_echo "$0: This script requires a shell more modern than all"
 
224
  $as_echo "$0: the shells that I found on your system."
 
225
  if test x${ZSH_VERSION+set} = xset ; then
 
226
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
227
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
228
  else
 
229
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
230
$0: including any error possibly output before this
 
231
$0: message. Then install a modern shell, or manually run
 
232
$0: the script under such a shell if you do have one."
 
233
  fi
 
234
  exit 1
 
235
fi
 
236
fi
 
237
fi
 
238
SHELL=${CONFIG_SHELL-/bin/sh}
 
239
export SHELL
 
240
# Unset more variables known to interfere with behavior of common tools.
 
241
CLICOLOR_FORCE= GREP_OPTIONS=
 
242
unset CLICOLOR_FORCE GREP_OPTIONS
 
243
 
 
244
## --------------------- ##
 
245
## M4sh Shell Functions. ##
 
246
## --------------------- ##
 
247
# as_fn_unset VAR
 
248
# ---------------
 
249
# Portably unset VAR.
 
250
as_fn_unset ()
 
251
{
 
252
  { eval $1=; unset $1;}
 
253
}
 
254
as_unset=as_fn_unset
 
255
 
 
256
# as_fn_set_status STATUS
 
257
# -----------------------
 
258
# Set $? to STATUS, without forking.
 
259
as_fn_set_status ()
 
260
{
 
261
  return $1
 
262
} # as_fn_set_status
 
263
 
 
264
# as_fn_exit STATUS
 
265
# -----------------
 
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
267
as_fn_exit ()
 
268
{
 
269
  set +e
 
270
  as_fn_set_status $1
 
271
  exit $1
 
272
} # as_fn_exit
 
273
 
 
274
# as_fn_mkdir_p
 
275
# -------------
 
276
# Create "$as_dir" as a directory, including parents if necessary.
 
277
as_fn_mkdir_p ()
 
278
{
 
279
 
 
280
  case $as_dir in #(
 
281
  -*) as_dir=./$as_dir;;
 
282
  esac
 
283
  test -d "$as_dir" || eval $as_mkdir_p || {
 
284
    as_dirs=
 
285
    while :; do
 
286
      case $as_dir in #(
 
287
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
288
      *) as_qdir=$as_dir;;
 
289
      esac
 
290
      as_dirs="'$as_qdir' $as_dirs"
 
291
      as_dir=`$as_dirname -- "$as_dir" ||
 
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
293
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
294
         X"$as_dir" : 'X\(//\)$' \| \
 
295
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
296
$as_echo X"$as_dir" |
 
297
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
298
            s//\1/
 
299
            q
 
300
          }
 
301
          /^X\(\/\/\)[^/].*/{
 
302
            s//\1/
 
303
            q
 
304
          }
 
305
          /^X\(\/\/\)$/{
 
306
            s//\1/
 
307
            q
 
308
          }
 
309
          /^X\(\/\).*/{
 
310
            s//\1/
 
311
            q
 
312
          }
 
313
          s/.*/./; q'`
 
314
      test -d "$as_dir" && break
 
315
    done
 
316
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
317
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
318
 
 
319
 
 
320
} # as_fn_mkdir_p
 
321
# as_fn_append VAR VALUE
 
322
# ----------------------
 
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
324
# advantage of any shell optimizations that allow amortized linear growth over
 
325
# repeated appends, instead of the typical quadratic growth present in naive
 
326
# implementations.
 
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
328
  eval 'as_fn_append ()
 
329
  {
 
330
    eval $1+=\$2
 
331
  }'
 
332
else
 
333
  as_fn_append ()
 
334
  {
 
335
    eval $1=\$$1\$2
 
336
  }
 
337
fi # as_fn_append
 
338
 
 
339
# as_fn_arith ARG...
 
340
# ------------------
 
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
343
# must be portable across $(()) and expr.
 
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
345
  eval 'as_fn_arith ()
 
346
  {
 
347
    as_val=$(( $* ))
 
348
  }'
 
349
else
 
350
  as_fn_arith ()
 
351
  {
 
352
    as_val=`expr "$@" || test $? -eq 1`
 
353
  }
 
354
fi # as_fn_arith
 
355
 
 
356
 
 
357
# as_fn_error ERROR [LINENO LOG_FD]
 
358
# ---------------------------------
 
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
361
# script with status $?, using 1 if that was 0.
 
362
as_fn_error ()
 
363
{
 
364
  as_status=$?; test $as_status -eq 0 && as_status=1
 
365
  if test "$3"; then
 
366
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
367
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
368
  fi
 
369
  $as_echo "$as_me: error: $1" >&2
 
370
  as_fn_exit $as_status
 
371
} # as_fn_error
 
372
 
 
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
374
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
375
  as_expr=expr
 
376
else
 
377
  as_expr=false
 
378
fi
 
379
 
 
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
381
  as_basename=basename
 
382
else
 
383
  as_basename=false
 
384
fi
 
385
 
 
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
387
  as_dirname=dirname
 
388
else
 
389
  as_dirname=false
 
390
fi
 
391
 
 
392
as_me=`$as_basename -- "$0" ||
 
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
394
         X"$0" : 'X\(//\)$' \| \
 
395
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
396
$as_echo X/"$0" |
 
397
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
398
            s//\1/
 
399
            q
 
400
          }
 
401
          /^X\/\(\/\/\)$/{
 
402
            s//\1/
 
403
            q
 
404
          }
 
405
          /^X\/\(\/\).*/{
 
406
            s//\1/
 
407
            q
 
408
          }
 
409
          s/.*/./; q'`
 
410
 
 
411
# Avoid depending upon Character Ranges.
 
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
414
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
415
as_cr_digits='0123456789'
 
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
417
 
 
418
 
 
419
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
420
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
421
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
422
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
423
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
458
424
  sed -n '
459
425
    p
460
426
    /[$]LINENO/=
471
437
      s/-\n.*//
472
438
    ' >$as_me.lineno &&
473
439
  chmod +x "$as_me.lineno" ||
474
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
 
   { (exit 1); exit 1; }; }
 
440
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
476
441
 
477
442
  # Don't try to exec as it changes $[0], causing all sort of problems
478
443
  # (the dirname of $[0] is not the place where we might find the
482
447
  exit
483
448
}
484
449
 
485
 
 
486
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487
 
  as_dirname=dirname
488
 
else
489
 
  as_dirname=false
490
 
fi
491
 
 
492
450
ECHO_C= ECHO_N= ECHO_T=
493
 
case `echo -n x` in
 
451
case `echo -n x` in #(((((
494
452
-n*)
495
 
  case `echo 'x\c'` in
 
453
  case `echo 'xy\c'` in
496
454
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497
 
  *)   ECHO_C='\c';;
 
455
  xy)  ECHO_C='\c';;
 
456
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
457
       ECHO_T=' ';;
498
458
  esac;;
499
459
*)
500
460
  ECHO_N='-n';;
501
461
esac
502
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504
 
  as_expr=expr
505
 
else
506
 
  as_expr=false
507
 
fi
508
462
 
509
463
rm -f conf$$ conf$$.exe conf$$.file
510
464
if test -d conf$$.dir; then
534
488
rmdir conf$$.dir 2>/dev/null
535
489
 
536
490
if mkdir -p . 2>/dev/null; then
537
 
  as_mkdir_p=:
 
491
  as_mkdir_p='mkdir -p "$as_dir"'
538
492
else
539
493
  test -d ./-p && rmdir ./-p
540
494
  as_mkdir_p=false
553
507
      if test -d "$1"; then
554
508
        test -d "$1/.";
555
509
      else
556
 
        case $1 in
 
510
        case $1 in #(
557
511
        -*)set "./$1";;
558
512
        esac;
559
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
513
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560
514
        ???[sx]*):;;*)false;;esac;fi
561
515
    '\'' sh
562
516
  '
571
525
 
572
526
 
573
527
 
574
 
 
575
528
# Check that we are running under the correct shell.
576
529
SHELL=${CONFIG_SHELL-/bin/sh}
577
530
 
738
691
subdirs=
739
692
MFLAGS=
740
693
MAKEFLAGS=
741
 
SHELL=${CONFIG_SHELL-/bin/sh}
742
694
 
743
695
# Identity of this package.
744
696
PACKAGE_NAME='gbrainy'
745
697
PACKAGE_TARNAME='gbrainy'
746
 
PACKAGE_VERSION='1.20'
747
 
PACKAGE_STRING='gbrainy 1.20'
 
698
PACKAGE_VERSION='1.30'
 
699
PACKAGE_STRING='gbrainy 1.30'
748
700
PACKAGE_BUGREPORT=''
 
701
PACKAGE_URL=''
749
702
 
750
 
ac_unique_file="src/gbrainy.cs"
 
703
ac_unique_file="src/Core/"
751
704
# Factoring default headers for most tests.
752
705
ac_includes_default="\
753
706
#include <stdio.h>
784
737
# include <unistd.h>
785
738
#endif"
786
739
 
787
 
ac_subst_vars='LTLIBOBJS
 
740
ac_subst_vars='am__EXEEXT_FALSE
 
741
am__EXEEXT_TRUE
 
742
LTLIBOBJS
788
743
LIBOBJS
 
744
COPYRIGHT
789
745
GNOME_ICON_THEME_PREFIX
790
746
expanded_libdir
791
747
CSC
812
768
GBRAINY_CFLAGS
813
769
GBRAINY_CORE_LIBS
814
770
GBRAINY_CORE_CFLAGS
 
771
HAVE_GNOME_DOC_UTILS_FALSE
 
772
HAVE_GNOME_DOC_UTILS_TRUE
 
773
DISTCHECK_CONFIGURE_FLAGS
 
774
ENABLE_SK_FALSE
 
775
ENABLE_SK_TRUE
 
776
DOC_USER_FORMATS
 
777
OMF_DIR
 
778
HELP_DIR
815
779
MCS
816
780
MONO
817
781
GLIB_MKENUMS
905
869
SET_MAKE
906
870
AWK
907
871
mkdir_p
 
872
MKDIR_P
908
873
INSTALL_STRIP_PROGRAM
909
874
STRIP
910
875
install_sh
916
881
VERSION
917
882
PACKAGE
918
883
CYGPATH_W
 
884
am__isrc
919
885
INSTALL_DATA
920
886
INSTALL_SCRIPT
921
887
INSTALL_PROGRAM
949
915
program_transform_name
950
916
prefix
951
917
exec_prefix
 
918
PACKAGE_URL
952
919
PACKAGE_BUGREPORT
953
920
PACKAGE_STRING
954
921
PACKAGE_VERSION
971
938
enable_compile_warnings
972
939
enable_iso_c
973
940
enable_glibtest
 
941
with_help_dir
 
942
with_omf_dir
 
943
with_help_formats
 
944
enable_scrollkeeper
974
945
enable_addins
975
946
'
976
947
      ac_precious_vars='build_alias
1099
1070
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1100
1071
    # Reject names that are not valid shell variable names.
1101
1072
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1103
 
   { (exit 1); exit 1; }; }
 
1073
      as_fn_error "invalid feature name: $ac_useropt"
1104
1074
    ac_useropt_orig=$ac_useropt
1105
1075
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106
1076
    case $ac_user_opts in
1126
1096
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1127
1097
    # Reject names that are not valid shell variable names.
1128
1098
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1130
 
   { (exit 1); exit 1; }; }
 
1099
      as_fn_error "invalid feature name: $ac_useropt"
1131
1100
    ac_useropt_orig=$ac_useropt
1132
1101
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133
1102
    case $ac_user_opts in
1331
1300
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1332
1301
    # Reject names that are not valid shell variable names.
1333
1302
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1334
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1335
 
   { (exit 1); exit 1; }; }
 
1303
      as_fn_error "invalid package name: $ac_useropt"
1336
1304
    ac_useropt_orig=$ac_useropt
1337
1305
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1338
1306
    case $ac_user_opts in
1348
1316
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1349
1317
    # Reject names that are not valid shell variable names.
1350
1318
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1351
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1352
 
   { (exit 1); exit 1; }; }
 
1319
      as_fn_error "invalid package name: $ac_useropt"
1353
1320
    ac_useropt_orig=$ac_useropt
1354
1321
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1355
1322
    case $ac_user_opts in
1379
1346
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1380
1347
    x_libraries=$ac_optarg ;;
1381
1348
 
1382
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1383
 
Try \`$0 --help' for more information." >&2
1384
 
   { (exit 1); exit 1; }; }
 
1349
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1350
Try \`$0 --help' for more information."
1385
1351
    ;;
1386
1352
 
1387
1353
  *=*)
1388
1354
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1389
1355
    # Reject names that are not valid shell variable names.
1390
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1391
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1392
 
   { (exit 1); exit 1; }; }
 
1356
    case $ac_envvar in #(
 
1357
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1358
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1359
    esac
1393
1360
    eval $ac_envvar=\$ac_optarg
1394
1361
    export $ac_envvar ;;
1395
1362
 
1406
1373
 
1407
1374
if test -n "$ac_prev"; then
1408
1375
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1409
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1410
 
   { (exit 1); exit 1; }; }
 
1376
  as_fn_error "missing argument to $ac_option"
1411
1377
fi
1412
1378
 
1413
1379
if test -n "$ac_unrecognized_opts"; then
1414
1380
  case $enable_option_checking in
1415
1381
    no) ;;
1416
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1417
 
   { (exit 1); exit 1; }; } ;;
 
1382
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1418
1383
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1419
1384
  esac
1420
1385
fi
1437
1402
    [\\/$]* | ?:[\\/]* )  continue;;
1438
1403
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1439
1404
  esac
1440
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1441
 
   { (exit 1); exit 1; }; }
 
1405
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1442
1406
done
1443
1407
 
1444
1408
# There might be people who depend on the old broken behavior: `$host'
1468
1432
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1469
1433
ac_ls_di=`ls -di .` &&
1470
1434
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1471
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1472
 
   { (exit 1); exit 1; }; }
 
1435
  as_fn_error "working directory cannot be determined"
1473
1436
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1474
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1475
 
   { (exit 1); exit 1; }; }
 
1437
  as_fn_error "pwd does not report name of working directory"
1476
1438
 
1477
1439
 
1478
1440
# Find the source files, if location was not specified.
1511
1473
fi
1512
1474
if test ! -r "$srcdir/$ac_unique_file"; then
1513
1475
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1514
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1515
 
   { (exit 1); exit 1; }; }
 
1476
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1516
1477
fi
1517
1478
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1518
1479
ac_abs_confdir=`(
1519
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1520
 
   { (exit 1); exit 1; }; }
 
1480
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1521
1481
        pwd)`
1522
1482
# When building in place, set srcdir=.
1523
1483
if test "$ac_abs_confdir" = "$ac_pwd"; then
1543
1503
  # Omit some internal or obsolete options to make the list less imposing.
1544
1504
  # This message is too long to be a string in the A/UX 3.1 sh.
1545
1505
  cat <<_ACEOF
1546
 
\`configure' configures gbrainy 1.20 to adapt to many kinds of systems.
 
1506
\`configure' configures gbrainy 1.30 to adapt to many kinds of systems.
1547
1507
 
1548
1508
Usage: $0 [OPTION]... [VAR=VALUE]...
1549
1509
 
1613
1573
 
1614
1574
if test -n "$ac_init_help"; then
1615
1575
  case $ac_init_help in
1616
 
     short | recursive ) echo "Configuration of gbrainy 1.20:";;
 
1576
     short | recursive ) echo "Configuration of gbrainy 1.30:";;
1617
1577
   esac
1618
1578
  cat <<\_ACEOF
1619
1579
 
1635
1595
                          Turn on compiler warnings
1636
1596
  --enable-iso-c          Try to warn if code is not ISO C
1637
1597
  --disable-glibtest      do not try to compile and run a test GLIB program
 
1598
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1638
1599
  --disable-addins        Disable mono-addins support
1639
1600
 
1640
1601
Optional Packages:
1643
1604
  --with-pic              try to use only PIC/non-PIC objects [default=use
1644
1605
                          both]
1645
1606
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1607
  --with-help-dir=DIR     path to help docs
 
1608
  --with-omf-dir=DIR      path to OMF files
 
1609
  --with-help-formats=FORMATS
 
1610
                          list of formats
1646
1611
 
1647
1612
Some influential environment variables:
1648
1613
  CC          C compiler command
1674
1639
Use these variables to override the choices made by `configure' or to help
1675
1640
it to find libraries and programs with nonstandard names/locations.
1676
1641
 
 
1642
Report bugs to the package provider.
1677
1643
_ACEOF
1678
1644
ac_status=$?
1679
1645
fi
1736
1702
test -n "$ac_init_help" && exit $ac_status
1737
1703
if $ac_init_version; then
1738
1704
  cat <<\_ACEOF
1739
 
gbrainy configure 1.20
1740
 
generated by GNU Autoconf 2.63
 
1705
gbrainy configure 1.30
 
1706
generated by GNU Autoconf 2.64
1741
1707
 
1742
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1743
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1708
Copyright (C) 2009 Free Software Foundation, Inc.
1744
1709
This configure script is free software; the Free Software Foundation
1745
1710
gives unlimited permission to copy, distribute and modify it.
1746
1711
_ACEOF
1747
1712
  exit
1748
1713
fi
 
1714
 
 
1715
## ------------------------ ##
 
1716
## Autoconf initialization. ##
 
1717
## ------------------------ ##
 
1718
 
 
1719
# ac_fn_c_try_compile LINENO
 
1720
# --------------------------
 
1721
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1722
ac_fn_c_try_compile ()
 
1723
{
 
1724
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1725
  rm -f conftest.$ac_objext
 
1726
  if { { ac_try="$ac_compile"
 
1727
case "(($ac_try" in
 
1728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1729
  *) ac_try_echo=$ac_try;;
 
1730
esac
 
1731
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1732
$as_echo "$ac_try_echo"; } >&5
 
1733
  (eval "$ac_compile") 2>conftest.err
 
1734
  ac_status=$?
 
1735
  if test -s conftest.err; then
 
1736
    grep -v '^ *+' conftest.err >conftest.er1
 
1737
    cat conftest.er1 >&5
 
1738
    mv -f conftest.er1 conftest.err
 
1739
  fi
 
1740
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1741
  test $ac_status = 0; } && {
 
1742
         test -z "$ac_c_werror_flag" ||
 
1743
         test ! -s conftest.err
 
1744
       } && test -s conftest.$ac_objext; then :
 
1745
  ac_retval=0
 
1746
else
 
1747
  $as_echo "$as_me: failed program was:" >&5
 
1748
sed 's/^/| /' conftest.$ac_ext >&5
 
1749
 
 
1750
        ac_retval=1
 
1751
fi
 
1752
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1753
  return $ac_retval
 
1754
 
 
1755
} # ac_fn_c_try_compile
 
1756
 
 
1757
# ac_fn_c_try_link LINENO
 
1758
# -----------------------
 
1759
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1760
ac_fn_c_try_link ()
 
1761
{
 
1762
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1763
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1764
  if { { ac_try="$ac_link"
 
1765
case "(($ac_try" in
 
1766
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1767
  *) ac_try_echo=$ac_try;;
 
1768
esac
 
1769
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1770
$as_echo "$ac_try_echo"; } >&5
 
1771
  (eval "$ac_link") 2>conftest.err
 
1772
  ac_status=$?
 
1773
  if test -s conftest.err; then
 
1774
    grep -v '^ *+' conftest.err >conftest.er1
 
1775
    cat conftest.er1 >&5
 
1776
    mv -f conftest.er1 conftest.err
 
1777
  fi
 
1778
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1779
  test $ac_status = 0; } && {
 
1780
         test -z "$ac_c_werror_flag" ||
 
1781
         test ! -s conftest.err
 
1782
       } && test -s conftest$ac_exeext && {
 
1783
         test "$cross_compiling" = yes ||
 
1784
         $as_test_x conftest$ac_exeext
 
1785
       }; then :
 
1786
  ac_retval=0
 
1787
else
 
1788
  $as_echo "$as_me: failed program was:" >&5
 
1789
sed 's/^/| /' conftest.$ac_ext >&5
 
1790
 
 
1791
        ac_retval=1
 
1792
fi
 
1793
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1794
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1795
  # interfere with the next link command; also delete a directory that is
 
1796
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1797
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1798
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1799
  return $ac_retval
 
1800
 
 
1801
} # ac_fn_c_try_link
 
1802
 
 
1803
# ac_fn_c_check_func LINENO FUNC VAR
 
1804
# ----------------------------------
 
1805
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1806
ac_fn_c_check_func ()
 
1807
{
 
1808
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1809
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1810
$as_echo_n "checking for $2... " >&6; }
 
1811
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1812
  $as_echo_n "(cached) " >&6
 
1813
else
 
1814
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1815
/* end confdefs.h.  */
 
1816
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1817
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1818
#define $2 innocuous_$2
 
1819
 
 
1820
/* System header to define __stub macros and hopefully few prototypes,
 
1821
    which can conflict with char $2 (); below.
 
1822
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1823
    <limits.h> exists even on freestanding compilers.  */
 
1824
 
 
1825
#ifdef __STDC__
 
1826
# include <limits.h>
 
1827
#else
 
1828
# include <assert.h>
 
1829
#endif
 
1830
 
 
1831
#undef $2
 
1832
 
 
1833
/* Override any GCC internal prototype to avoid an error.
 
1834
   Use char because int might match the return type of a GCC
 
1835
   builtin and then its argument prototype would still apply.  */
 
1836
#ifdef __cplusplus
 
1837
extern "C"
 
1838
#endif
 
1839
char $2 ();
 
1840
/* The GNU C library defines this for functions which it implements
 
1841
    to always fail with ENOSYS.  Some functions are actually named
 
1842
    something starting with __ and the normal name is an alias.  */
 
1843
#if defined __stub_$2 || defined __stub___$2
 
1844
choke me
 
1845
#endif
 
1846
 
 
1847
int
 
1848
main ()
 
1849
{
 
1850
return $2 ();
 
1851
  ;
 
1852
  return 0;
 
1853
}
 
1854
_ACEOF
 
1855
if ac_fn_c_try_link "$LINENO"; then :
 
1856
  eval "$3=yes"
 
1857
else
 
1858
  eval "$3=no"
 
1859
fi
 
1860
rm -f core conftest.err conftest.$ac_objext \
 
1861
    conftest$ac_exeext conftest.$ac_ext
 
1862
fi
 
1863
eval ac_res=\$$3
 
1864
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1865
$as_echo "$ac_res" >&6; }
 
1866
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1867
 
 
1868
} # ac_fn_c_check_func
 
1869
 
 
1870
# ac_fn_c_try_cpp LINENO
 
1871
# ----------------------
 
1872
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1873
ac_fn_c_try_cpp ()
 
1874
{
 
1875
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1876
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1877
case "(($ac_try" in
 
1878
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1879
  *) ac_try_echo=$ac_try;;
 
1880
esac
 
1881
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1882
$as_echo "$ac_try_echo"; } >&5
 
1883
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1884
  ac_status=$?
 
1885
  if test -s conftest.err; then
 
1886
    grep -v '^ *+' conftest.err >conftest.er1
 
1887
    cat conftest.er1 >&5
 
1888
    mv -f conftest.er1 conftest.err
 
1889
  fi
 
1890
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1891
  test $ac_status = 0; } >/dev/null && {
 
1892
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1893
         test ! -s conftest.err
 
1894
       }; then :
 
1895
  ac_retval=0
 
1896
else
 
1897
  $as_echo "$as_me: failed program was:" >&5
 
1898
sed 's/^/| /' conftest.$ac_ext >&5
 
1899
 
 
1900
    ac_retval=1
 
1901
fi
 
1902
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1903
  return $ac_retval
 
1904
 
 
1905
} # ac_fn_c_try_cpp
 
1906
 
 
1907
# ac_fn_c_try_run LINENO
 
1908
# ----------------------
 
1909
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1910
# that executables *can* be run.
 
1911
ac_fn_c_try_run ()
 
1912
{
 
1913
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1914
  if { { ac_try="$ac_link"
 
1915
case "(($ac_try" in
 
1916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1917
  *) ac_try_echo=$ac_try;;
 
1918
esac
 
1919
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1920
$as_echo "$ac_try_echo"; } >&5
 
1921
  (eval "$ac_link") 2>&5
 
1922
  ac_status=$?
 
1923
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1924
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1925
  { { case "(($ac_try" in
 
1926
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1927
  *) ac_try_echo=$ac_try;;
 
1928
esac
 
1929
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1930
$as_echo "$ac_try_echo"; } >&5
 
1931
  (eval "$ac_try") 2>&5
 
1932
  ac_status=$?
 
1933
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1934
  test $ac_status = 0; }; }; then :
 
1935
  ac_retval=0
 
1936
else
 
1937
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1938
       $as_echo "$as_me: failed program was:" >&5
 
1939
sed 's/^/| /' conftest.$ac_ext >&5
 
1940
 
 
1941
       ac_retval=$ac_status
 
1942
fi
 
1943
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1944
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1945
  return $ac_retval
 
1946
 
 
1947
} # ac_fn_c_try_run
 
1948
 
 
1949
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1950
# -------------------------------------------------------
 
1951
# Tests whether HEADER exists and can be compiled using the include files in
 
1952
# INCLUDES, setting the cache variable VAR accordingly.
 
1953
ac_fn_c_check_header_compile ()
 
1954
{
 
1955
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1956
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1957
$as_echo_n "checking for $2... " >&6; }
 
1958
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1959
  $as_echo_n "(cached) " >&6
 
1960
else
 
1961
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1962
/* end confdefs.h.  */
 
1963
$4
 
1964
#include <$2>
 
1965
_ACEOF
 
1966
if ac_fn_c_try_compile "$LINENO"; then :
 
1967
  eval "$3=yes"
 
1968
else
 
1969
  eval "$3=no"
 
1970
fi
 
1971
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1972
fi
 
1973
eval ac_res=\$$3
 
1974
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1975
$as_echo "$ac_res" >&6; }
 
1976
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1977
 
 
1978
} # ac_fn_c_check_header_compile
 
1979
 
 
1980
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1981
# -------------------------------------------------------
 
1982
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1983
# the include files in INCLUDES and setting the cache variable VAR
 
1984
# accordingly.
 
1985
ac_fn_c_check_header_mongrel ()
 
1986
{
 
1987
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1988
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1989
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1990
$as_echo_n "checking for $2... " >&6; }
 
1991
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1992
  $as_echo_n "(cached) " >&6
 
1993
fi
 
1994
eval ac_res=\$$3
 
1995
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1996
$as_echo "$ac_res" >&6; }
 
1997
else
 
1998
  # Is the header compilable?
 
1999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2000
$as_echo_n "checking $2 usability... " >&6; }
 
2001
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2002
/* end confdefs.h.  */
 
2003
$4
 
2004
#include <$2>
 
2005
_ACEOF
 
2006
if ac_fn_c_try_compile "$LINENO"; then :
 
2007
  ac_header_compiler=yes
 
2008
else
 
2009
  ac_header_compiler=no
 
2010
fi
 
2011
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2013
$as_echo "$ac_header_compiler" >&6; }
 
2014
 
 
2015
# Is the header present?
 
2016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2017
$as_echo_n "checking $2 presence... " >&6; }
 
2018
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2019
/* end confdefs.h.  */
 
2020
#include <$2>
 
2021
_ACEOF
 
2022
if ac_fn_c_try_cpp "$LINENO"; then :
 
2023
  ac_header_preproc=yes
 
2024
else
 
2025
  ac_header_preproc=no
 
2026
fi
 
2027
rm -f conftest.err conftest.$ac_ext
 
2028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2029
$as_echo "$ac_header_preproc" >&6; }
 
2030
 
 
2031
# So?  What about this header?
 
2032
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2033
  yes:no: )
 
2034
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2035
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2036
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2037
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2038
    ;;
 
2039
  no:yes:* )
 
2040
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2041
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2042
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2043
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2044
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2045
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2046
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2047
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2048
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2049
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2050
    ;;
 
2051
esac
 
2052
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2053
$as_echo_n "checking for $2... " >&6; }
 
2054
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2055
  $as_echo_n "(cached) " >&6
 
2056
else
 
2057
  eval "$3=\$ac_header_compiler"
 
2058
fi
 
2059
eval ac_res=\$$3
 
2060
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2061
$as_echo "$ac_res" >&6; }
 
2062
fi
 
2063
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2064
 
 
2065
} # ac_fn_c_check_header_mongrel
1749
2066
cat >config.log <<_ACEOF
1750
2067
This file contains any messages produced by compilers while
1751
2068
running configure, to aid debugging if configure makes a mistake.
1752
2069
 
1753
 
It was created by gbrainy $as_me 1.20, which was
1754
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2070
It was created by gbrainy $as_me 1.30, which was
 
2071
generated by GNU Autoconf 2.64.  Invocation command line was
1755
2072
 
1756
2073
  $ $0 $@
1757
2074
 
1787
2104
do
1788
2105
  IFS=$as_save_IFS
1789
2106
  test -z "$as_dir" && as_dir=.
1790
 
  $as_echo "PATH: $as_dir"
1791
 
done
 
2107
    $as_echo "PATH: $as_dir"
 
2108
  done
1792
2109
IFS=$as_save_IFS
1793
2110
 
1794
2111
} >&5
1825
2142
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1826
2143
    esac
1827
2144
    case $ac_pass in
1828
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2145
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1829
2146
    2)
1830
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2147
      as_fn_append ac_configure_args1 " '$ac_arg'"
1831
2148
      if test $ac_must_keep_next = true; then
1832
2149
        ac_must_keep_next=false # Got value, back to normal.
1833
2150
      else
1843
2160
          -* ) ac_must_keep_next=true ;;
1844
2161
        esac
1845
2162
      fi
1846
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2163
      as_fn_append ac_configure_args " '$ac_arg'"
1847
2164
      ;;
1848
2165
    esac
1849
2166
  done
1850
2167
done
1851
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1852
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2168
{ ac_configure_args0=; unset ac_configure_args0;}
 
2169
{ ac_configure_args1=; unset ac_configure_args1;}
1853
2170
 
1854
2171
# When interrupted or exit'd, cleanup temporary files, and complete
1855
2172
# config.log.  We remove comments because anyway the quotes in there
1874
2191
    case $ac_val in #(
1875
2192
    *${as_nl}*)
1876
2193
      case $ac_var in #(
1877
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2194
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1878
2195
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1879
2196
      esac
1880
2197
      case $ac_var in #(
1881
2198
      _ | IFS | as_nl) ;; #(
1882
2199
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1883
 
      *) $as_unset $ac_var ;;
 
2200
      *) { eval $ac_var=; unset $ac_var;} ;;
1884
2201
      esac ;;
1885
2202
    esac
1886
2203
  done
1952
2269
    exit $exit_status
1953
2270
' 0
1954
2271
for ac_signal in 1 2 13 15; do
1955
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2272
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1956
2273
done
1957
2274
ac_signal=0
1958
2275
 
1959
2276
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1960
2277
rm -f -r conftest* confdefs.h
1961
2278
 
 
2279
$as_echo "/* confdefs.h */" > confdefs.h
 
2280
 
1962
2281
# Predefined preprocessor variables.
1963
2282
 
1964
2283
cat >>confdefs.h <<_ACEOF
1965
2284
#define PACKAGE_NAME "$PACKAGE_NAME"
1966
2285
_ACEOF
1967
2286
 
1968
 
 
1969
2287
cat >>confdefs.h <<_ACEOF
1970
2288
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1971
2289
_ACEOF
1972
2290
 
1973
 
 
1974
2291
cat >>confdefs.h <<_ACEOF
1975
2292
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1976
2293
_ACEOF
1977
2294
 
1978
 
 
1979
2295
cat >>confdefs.h <<_ACEOF
1980
2296
#define PACKAGE_STRING "$PACKAGE_STRING"
1981
2297
_ACEOF
1982
2298
 
1983
 
 
1984
2299
cat >>confdefs.h <<_ACEOF
1985
2300
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1986
2301
_ACEOF
1987
2302
 
 
2303
cat >>confdefs.h <<_ACEOF
 
2304
#define PACKAGE_URL "$PACKAGE_URL"
 
2305
_ACEOF
 
2306
 
1988
2307
 
1989
2308
# Let the site file select an alternate cache file if it wants to.
1990
2309
# Prefer an explicitly selected file to automatically selected ones.
2003
2322
do
2004
2323
  test "x$ac_site_file" = xNONE && continue
2005
2324
  if test -r "$ac_site_file"; then
2006
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2325
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2007
2326
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2008
2327
    sed 's/^/| /' "$ac_site_file" >&5
2009
2328
    . "$ac_site_file"
2014
2333
  # Some versions of bash will fail to source /dev/null (special
2015
2334
  # files actually), so we avoid doing that.
2016
2335
  if test -f "$cache_file"; then
2017
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2336
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2018
2337
$as_echo "$as_me: loading cache $cache_file" >&6;}
2019
2338
    case $cache_file in
2020
2339
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2022
2341
    esac
2023
2342
  fi
2024
2343
else
2025
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2344
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2026
2345
$as_echo "$as_me: creating cache $cache_file" >&6;}
2027
2346
  >$cache_file
2028
2347
fi
2037
2356
  eval ac_new_val=\$ac_env_${ac_var}_value
2038
2357
  case $ac_old_set,$ac_new_set in
2039
2358
    set,)
2040
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2359
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2041
2360
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2042
2361
      ac_cache_corrupted=: ;;
2043
2362
    ,set)
2044
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2363
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2045
2364
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2046
2365
      ac_cache_corrupted=: ;;
2047
2366
    ,);;
2051
2370
        ac_old_val_w=`echo x $ac_old_val`
2052
2371
        ac_new_val_w=`echo x $ac_new_val`
2053
2372
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2054
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2373
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2055
2374
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2056
2375
          ac_cache_corrupted=:
2057
2376
        else
2058
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2377
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2059
2378
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2060
2379
          eval $ac_var=\$ac_old_val
2061
2380
        fi
2062
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2381
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2063
2382
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2064
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2383
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2065
2384
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2066
2385
      fi;;
2067
2386
  esac
2073
2392
    esac
2074
2393
    case " $ac_configure_args " in
2075
2394
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2076
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2395
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2077
2396
    esac
2078
2397
  fi
2079
2398
done
2080
2399
if $ac_cache_corrupted; then
2081
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2400
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2082
2401
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2083
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2402
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2084
2403
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2085
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2086
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2087
 
   { (exit 1); exit 1; }; }
 
2404
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2088
2405
fi
2089
 
 
2090
 
 
2091
 
 
2092
 
 
2093
 
 
2094
 
 
2095
 
 
2096
 
 
2097
 
 
2098
 
 
2099
 
 
2100
 
 
2101
 
 
2102
 
 
2103
 
 
2104
 
 
2105
 
 
2106
 
 
2107
 
 
2108
 
 
2109
 
 
2110
 
 
2111
 
 
2112
 
 
 
2406
## -------------------- ##
 
2407
## Main body of script. ##
 
2408
## -------------------- ##
2113
2409
 
2114
2410
ac_ext=c
2115
2411
ac_cpp='$CPP $CPPFLAGS'
2123
2419
ac_config_headers="$ac_config_headers config.h"
2124
2420
 
2125
2421
 
2126
 
am__api_version="1.9"
 
2422
am__api_version='1.11'
 
2423
 
2127
2424
ac_aux_dir=
2128
2425
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2129
 
  if test -f "$ac_dir/install-sh"; then
2130
 
    ac_aux_dir=$ac_dir
2131
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2132
 
    break
2133
 
  elif test -f "$ac_dir/install.sh"; then
2134
 
    ac_aux_dir=$ac_dir
2135
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2136
 
    break
2137
 
  elif test -f "$ac_dir/shtool"; then
2138
 
    ac_aux_dir=$ac_dir
2139
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2140
 
    break
2141
 
  fi
 
2426
  for ac_t in install-sh install.sh shtool; do
 
2427
    if test -f "$ac_dir/$ac_t"; then
 
2428
      ac_aux_dir=$ac_dir
 
2429
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2430
      break 2
 
2431
    fi
 
2432
  done
2142
2433
done
2143
2434
if test -z "$ac_aux_dir"; then
2144
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2145
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2146
 
   { (exit 1); exit 1; }; }
 
2435
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2147
2436
fi
2148
2437
 
2149
2438
# These three variables are undocumented and unsupported,
2169
2458
# OS/2's system install, which has a completely different semantic
2170
2459
# ./install, which can be erroneously created by make from ./install.sh.
2171
2460
# Reject install programs that cannot install multiple files.
2172
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2173
2462
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2174
2463
if test -z "$INSTALL"; then
2175
 
if test "${ac_cv_path_install+set}" = set; then
 
2464
if test "${ac_cv_path_install+set}" = set; then :
2176
2465
  $as_echo_n "(cached) " >&6
2177
2466
else
2178
2467
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180
2469
do
2181
2470
  IFS=$as_save_IFS
2182
2471
  test -z "$as_dir" && as_dir=.
2183
 
  # Account for people who put trailing slashes in PATH elements.
2184
 
case $as_dir/ in
2185
 
  ./ | .// | /cC/* | \
 
2472
    # Account for people who put trailing slashes in PATH elements.
 
2473
case $as_dir/ in #((
 
2474
  ./ | .// | /[cC]/* | \
2186
2475
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2187
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2476
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2188
2477
  /usr/ucb/* ) ;;
2189
2478
  *)
2190
2479
    # OSF1 and SCO ODT 3.0 have their own names for install.
2221
2510
    ;;
2222
2511
esac
2223
2512
 
2224
 
done
 
2513
  done
2225
2514
IFS=$as_save_IFS
2226
2515
 
2227
2516
rm -rf conftest.one conftest.two conftest.dir
2237
2526
    INSTALL=$ac_install_sh
2238
2527
  fi
2239
2528
fi
2240
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2241
2530
$as_echo "$INSTALL" >&6; }
2242
2531
 
2243
2532
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2248
2537
 
2249
2538
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2250
2539
 
2251
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2252
2541
$as_echo_n "checking whether build environment is sane... " >&6; }
2253
2542
# Just in case
2254
2543
sleep 1
2255
2544
echo timestamp > conftest.file
 
2545
# Reject unsafe characters in $srcdir or the absolute working directory
 
2546
# name.  Accept space and tab only in the latter.
 
2547
am_lf='
 
2548
'
 
2549
case `pwd` in
 
2550
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2551
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2552
esac
 
2553
case $srcdir in
 
2554
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2555
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2556
esac
 
2557
 
2256
2558
# Do `set' in a subshell so we don't clobber the current shell's
2257
2559
# arguments.  Must try -L first in case configure is actually a
2258
2560
# symlink; some systems play weird games with the mod time of symlinks
2259
2561
# (eg FreeBSD returns the mod time of the symlink's containing
2260
2562
# directory).
2261
2563
if (
2262
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2564
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2263
2565
   if test "$*" = "X"; then
2264
2566
      # -L didn't work.
2265
 
      set X `ls -t $srcdir/configure conftest.file`
 
2567
      set X `ls -t "$srcdir/configure" conftest.file`
2266
2568
   fi
2267
2569
   rm -f conftest.file
2268
2570
   if test "$*" != "X $srcdir/configure conftest.file" \
2272
2574
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2273
2575
      # broken ls alias from the environment.  This has actually
2274
2576
      # happened.  Such a system could not be considered "sane".
2275
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2276
 
alias in your environment" >&5
2277
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2278
 
alias in your environment" >&2;}
2279
 
   { (exit 1); exit 1; }; }
 
2577
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2578
alias in your environment" "$LINENO" 5
2280
2579
   fi
2281
2580
 
2282
2581
   test "$2" = conftest.file
2285
2584
   # Ok.
2286
2585
   :
2287
2586
else
2288
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2289
 
Check your system clock" >&5
2290
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2291
 
Check your system clock" >&2;}
2292
 
   { (exit 1); exit 1; }; }
 
2587
   as_fn_error "newly created file is older than distributed files!
 
2588
Check your system clock" "$LINENO" 5
2293
2589
fi
2294
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2295
2591
$as_echo "yes" >&6; }
2296
2592
test "$program_prefix" != NONE &&
2297
2593
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2306
2602
# expand $ac_aux_dir to an absolute path
2307
2603
am_aux_dir=`cd $ac_aux_dir && pwd`
2308
2604
 
2309
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2605
if test x"${MISSING+set}" != xset; then
 
2606
  case $am_aux_dir in
 
2607
  *\ * | *\     *)
 
2608
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2609
  *)
 
2610
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2611
  esac
 
2612
fi
2310
2613
# Use eval to expand $SHELL
2311
2614
if eval "$MISSING --run true"; then
2312
2615
  am_missing_run="$MISSING --run "
2313
2616
else
2314
2617
  am_missing_run=
2315
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2618
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2316
2619
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2317
2620
fi
2318
2621
 
2319
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2320
 
  # We used to keeping the `.' as first argument, in order to
2321
 
  # allow $(mkdir_p) to be used without argument.  As in
2322
 
  #   $(mkdir_p) $(somedir)
2323
 
  # where $(somedir) is conditionally defined.  However this is wrong
2324
 
  # for two reasons:
2325
 
  #  1. if the package is installed by a user who cannot write `.'
2326
 
  #     make install will fail,
2327
 
  #  2. the above comment should most certainly read
2328
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2329
 
  #     so it does not work when $(somedir) is undefined and
2330
 
  #     $(DESTDIR) is not.
2331
 
  #  To support the latter case, we have to write
2332
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2333
 
  #  so the `.' trick is pointless.
2334
 
  mkdir_p='mkdir -p --'
2335
 
else
2336
 
  # On NextStep and OpenStep, the `mkdir' command does not
2337
 
  # recognize any option.  It will interpret all options as
2338
 
  # directories to create, and then abort because `.' already
2339
 
  # exists.
2340
 
  for d in ./-p ./--version;
2341
 
  do
2342
 
    test -d $d && rmdir $d
2343
 
  done
2344
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2345
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2346
 
    mkdir_p='$(mkinstalldirs)'
2347
 
  else
2348
 
    mkdir_p='$(install_sh) -d'
2349
 
  fi
2350
 
fi
 
2622
if test x"${install_sh}" != xset; then
 
2623
  case $am_aux_dir in
 
2624
  *\ * | *\     *)
 
2625
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2626
  *)
 
2627
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2628
  esac
 
2629
fi
 
2630
 
 
2631
# Installed binaries are usually stripped using `strip' when the user
 
2632
# run `make install-strip'.  However `strip' might not be the right
 
2633
# tool to use in cross-compilation environments, therefore Automake
 
2634
# will honor the `STRIP' environment variable to overrule this program.
 
2635
if test "$cross_compiling" != no; then
 
2636
  if test -n "$ac_tool_prefix"; then
 
2637
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2638
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2640
$as_echo_n "checking for $ac_word... " >&6; }
 
2641
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2642
  $as_echo_n "(cached) " >&6
 
2643
else
 
2644
  if test -n "$STRIP"; then
 
2645
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2646
else
 
2647
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2648
for as_dir in $PATH
 
2649
do
 
2650
  IFS=$as_save_IFS
 
2651
  test -z "$as_dir" && as_dir=.
 
2652
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2653
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2654
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2655
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2656
    break 2
 
2657
  fi
 
2658
done
 
2659
  done
 
2660
IFS=$as_save_IFS
 
2661
 
 
2662
fi
 
2663
fi
 
2664
STRIP=$ac_cv_prog_STRIP
 
2665
if test -n "$STRIP"; then
 
2666
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2667
$as_echo "$STRIP" >&6; }
 
2668
else
 
2669
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2670
$as_echo "no" >&6; }
 
2671
fi
 
2672
 
 
2673
 
 
2674
fi
 
2675
if test -z "$ac_cv_prog_STRIP"; then
 
2676
  ac_ct_STRIP=$STRIP
 
2677
  # Extract the first word of "strip", so it can be a program name with args.
 
2678
set dummy strip; ac_word=$2
 
2679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2680
$as_echo_n "checking for $ac_word... " >&6; }
 
2681
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2682
  $as_echo_n "(cached) " >&6
 
2683
else
 
2684
  if test -n "$ac_ct_STRIP"; then
 
2685
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2686
else
 
2687
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2688
for as_dir in $PATH
 
2689
do
 
2690
  IFS=$as_save_IFS
 
2691
  test -z "$as_dir" && as_dir=.
 
2692
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2693
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2694
    ac_cv_prog_ac_ct_STRIP="strip"
 
2695
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2696
    break 2
 
2697
  fi
 
2698
done
 
2699
  done
 
2700
IFS=$as_save_IFS
 
2701
 
 
2702
fi
 
2703
fi
 
2704
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2705
if test -n "$ac_ct_STRIP"; then
 
2706
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2707
$as_echo "$ac_ct_STRIP" >&6; }
 
2708
else
 
2709
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2710
$as_echo "no" >&6; }
 
2711
fi
 
2712
 
 
2713
  if test "x$ac_ct_STRIP" = x; then
 
2714
    STRIP=":"
 
2715
  else
 
2716
    case $cross_compiling:$ac_tool_warned in
 
2717
yes:)
 
2718
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2719
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2720
ac_tool_warned=yes ;;
 
2721
esac
 
2722
    STRIP=$ac_ct_STRIP
 
2723
  fi
 
2724
else
 
2725
  STRIP="$ac_cv_prog_STRIP"
 
2726
fi
 
2727
 
 
2728
fi
 
2729
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2730
 
 
2731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2732
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2733
if test -z "$MKDIR_P"; then
 
2734
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2735
  $as_echo_n "(cached) " >&6
 
2736
else
 
2737
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2738
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2739
do
 
2740
  IFS=$as_save_IFS
 
2741
  test -z "$as_dir" && as_dir=.
 
2742
    for ac_prog in mkdir gmkdir; do
 
2743
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2744
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2745
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2746
             'mkdir (GNU coreutils) '* | \
 
2747
             'mkdir (coreutils) '* | \
 
2748
             'mkdir (fileutils) '4.1*)
 
2749
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2750
               break 3;;
 
2751
           esac
 
2752
         done
 
2753
       done
 
2754
  done
 
2755
IFS=$as_save_IFS
 
2756
 
 
2757
fi
 
2758
 
 
2759
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2760
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2761
  else
 
2762
    # As a last resort, use the slow shell script.  Don't cache a
 
2763
    # value for MKDIR_P within a source directory, because that will
 
2764
    # break other packages using the cache if that directory is
 
2765
    # removed, or if the value is a relative name.
 
2766
    test -d ./--version && rmdir ./--version
 
2767
    MKDIR_P="$ac_install_sh -d"
 
2768
  fi
 
2769
fi
 
2770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2771
$as_echo "$MKDIR_P" >&6; }
 
2772
 
 
2773
mkdir_p="$MKDIR_P"
 
2774
case $mkdir_p in
 
2775
  [\\/$]* | ?:[\\/]*) ;;
 
2776
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2777
esac
2351
2778
 
2352
2779
for ac_prog in gawk mawk nawk awk
2353
2780
do
2354
2781
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2355
2782
set dummy $ac_prog; ac_word=$2
2356
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2357
2784
$as_echo_n "checking for $ac_word... " >&6; }
2358
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2785
if test "${ac_cv_prog_AWK+set}" = set; then :
2359
2786
  $as_echo_n "(cached) " >&6
2360
2787
else
2361
2788
  if test -n "$AWK"; then
2366
2793
do
2367
2794
  IFS=$as_save_IFS
2368
2795
  test -z "$as_dir" && as_dir=.
2369
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2796
    for ac_exec_ext in '' $ac_executable_extensions; do
2370
2797
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371
2798
    ac_cv_prog_AWK="$ac_prog"
2372
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2799
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2373
2800
    break 2
2374
2801
  fi
2375
2802
done
2376
 
done
 
2803
  done
2377
2804
IFS=$as_save_IFS
2378
2805
 
2379
2806
fi
2380
2807
fi
2381
2808
AWK=$ac_cv_prog_AWK
2382
2809
if test -n "$AWK"; then
2383
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2810
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2384
2811
$as_echo "$AWK" >&6; }
2385
2812
else
2386
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2813
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2387
2814
$as_echo "no" >&6; }
2388
2815
fi
2389
2816
 
2391
2818
  test -n "$AWK" && break
2392
2819
done
2393
2820
 
2394
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2395
2822
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2396
2823
set x ${MAKE-make}
2397
2824
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2398
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2825
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2399
2826
  $as_echo_n "(cached) " >&6
2400
2827
else
2401
2828
  cat >conftest.make <<\_ACEOF
2413
2840
rm -f conftest.make
2414
2841
fi
2415
2842
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2416
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2417
2844
$as_echo "yes" >&6; }
2418
2845
  SET_MAKE=
2419
2846
else
2420
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2847
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2421
2848
$as_echo "no" >&6; }
2422
2849
  SET_MAKE="MAKE=${MAKE-make}"
2423
2850
fi
2431
2858
fi
2432
2859
rmdir .tst 2>/dev/null
2433
2860
 
2434
 
# test to see if srcdir already configured
2435
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2436
 
   test -f $srcdir/config.status; then
2437
 
  { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2438
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2439
 
   { (exit 1); exit 1; }; }
 
2861
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2862
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2863
  # is not polluted with repeated "-I."
 
2864
  am__isrc=' -I$(srcdir)'
 
2865
  # test to see if srcdir already configured
 
2866
  if test -f $srcdir/config.status; then
 
2867
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2868
  fi
2440
2869
fi
2441
2870
 
2442
2871
# test whether we have cygpath
2451
2880
 
2452
2881
# Define the identity of the package.
2453
2882
 PACKAGE='gbrainy'
2454
 
 VERSION='1.20'
 
2883
 VERSION='1.30'
2455
2884
 
2456
2885
 
2457
2886
cat >>confdefs.h <<_ACEOF
2479
2908
 
2480
2909
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2481
2910
 
2482
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2483
 
 
2484
 
# Installed binaries are usually stripped using `strip' when the user
2485
 
# run `make install-strip'.  However `strip' might not be the right
2486
 
# tool to use in cross-compilation environments, therefore Automake
2487
 
# will honor the `STRIP' environment variable to overrule this program.
2488
 
if test "$cross_compiling" != no; then
2489
 
  if test -n "$ac_tool_prefix"; then
2490
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2491
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2492
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2493
 
$as_echo_n "checking for $ac_word... " >&6; }
2494
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2495
 
  $as_echo_n "(cached) " >&6
2496
 
else
2497
 
  if test -n "$STRIP"; then
2498
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2499
 
else
2500
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501
 
for as_dir in $PATH
2502
 
do
2503
 
  IFS=$as_save_IFS
2504
 
  test -z "$as_dir" && as_dir=.
2505
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2506
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2507
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2508
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2509
 
    break 2
2510
 
  fi
2511
 
done
2512
 
done
2513
 
IFS=$as_save_IFS
2514
 
 
2515
 
fi
2516
 
fi
2517
 
STRIP=$ac_cv_prog_STRIP
2518
 
if test -n "$STRIP"; then
2519
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2520
 
$as_echo "$STRIP" >&6; }
2521
 
else
2522
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2523
 
$as_echo "no" >&6; }
2524
 
fi
2525
 
 
2526
 
 
2527
 
fi
2528
 
if test -z "$ac_cv_prog_STRIP"; then
2529
 
  ac_ct_STRIP=$STRIP
2530
 
  # Extract the first word of "strip", so it can be a program name with args.
2531
 
set dummy strip; ac_word=$2
2532
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2533
 
$as_echo_n "checking for $ac_word... " >&6; }
2534
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2535
 
  $as_echo_n "(cached) " >&6
2536
 
else
2537
 
  if test -n "$ac_ct_STRIP"; then
2538
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2539
 
else
2540
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541
 
for as_dir in $PATH
2542
 
do
2543
 
  IFS=$as_save_IFS
2544
 
  test -z "$as_dir" && as_dir=.
2545
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2546
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547
 
    ac_cv_prog_ac_ct_STRIP="strip"
2548
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2549
 
    break 2
2550
 
  fi
2551
 
done
2552
 
done
2553
 
IFS=$as_save_IFS
2554
 
 
2555
 
fi
2556
 
fi
2557
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2558
 
if test -n "$ac_ct_STRIP"; then
2559
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2560
 
$as_echo "$ac_ct_STRIP" >&6; }
2561
 
else
2562
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2563
 
$as_echo "no" >&6; }
2564
 
fi
2565
 
 
2566
 
  if test "x$ac_ct_STRIP" = x; then
2567
 
    STRIP=":"
2568
 
  else
2569
 
    case $cross_compiling:$ac_tool_warned in
2570
 
yes:)
2571
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2572
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2573
 
ac_tool_warned=yes ;;
2574
 
esac
2575
 
    STRIP=$ac_ct_STRIP
2576
 
  fi
2577
 
else
2578
 
  STRIP="$ac_cv_prog_STRIP"
2579
 
fi
2580
 
 
2581
 
fi
2582
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2583
 
 
2584
2911
# We need awk for the "check" target.  The system "awk" is bad on
2585
2912
# some platforms.
2586
2913
# Always define AMTAR for backward compatibility.
2588
2915
AMTAR=${AMTAR-"${am_missing_run}tar"}
2589
2916
 
2590
2917
 
2591
 
{ $as_echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
 
2918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2592
2919
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2593
2920
# Loop over all known methods to create a tar archive until one works.
2594
2921
_am_tools='gnutar plaintar pax cpio none'
2661
2988
done
2662
2989
rm -rf conftest.dir
2663
2990
 
2664
 
if test "${am_cv_prog_tar_ustar+set}" = set; then
 
2991
if test "${am_cv_prog_tar_ustar+set}" = set; then :
2665
2992
  $as_echo_n "(cached) " >&6
2666
2993
else
2667
2994
  am_cv_prog_tar_ustar=$_am_tool
2668
2995
fi
2669
2996
 
2670
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
 
2997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2671
2998
$as_echo "$am_cv_prog_tar_ustar" >&6; }
2672
2999
 
2673
3000
 
2675
3002
 
2676
3003
 
2677
3004
 
2678
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
3005
 
 
3006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2679
3007
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2680
3008
    # Check whether --enable-maintainer-mode was given.
2681
 
if test "${enable_maintainer_mode+set}" = set; then
 
3009
if test "${enable_maintainer_mode+set}" = set; then :
2682
3010
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2683
3011
else
2684
3012
  USE_MAINTAINER_MODE=no
2685
3013
fi
2686
3014
 
2687
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
3015
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2688
3016
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2689
 
 
2690
 
 
2691
 
if test $USE_MAINTAINER_MODE = yes; then
 
3017
   if test $USE_MAINTAINER_MODE = yes; then
2692
3018
  MAINTAINER_MODE_TRUE=
2693
3019
  MAINTAINER_MODE_FALSE='#'
2694
3020
else
2701
3027
 
2702
3028
 
2703
3029
 
2704
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
3030
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2705
3031
$as_echo_n "checking whether NLS is requested... " >&6; }
2706
3032
    # Check whether --enable-nls was given.
2707
 
if test "${enable_nls+set}" = set; then
 
3033
if test "${enable_nls+set}" = set; then :
2708
3034
  enableval=$enable_nls; USE_NLS=$enableval
2709
3035
else
2710
3036
  USE_NLS=yes
2711
3037
fi
2712
3038
 
2713
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
3039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2714
3040
$as_echo "$USE_NLS" >&6; }
2715
3041
 
2716
3042
 
2722
3048
am_make=${MAKE-make}
2723
3049
cat > confinc << 'END'
2724
3050
am__doit:
2725
 
        @echo done
 
3051
        @echo this is the am__doit target
2726
3052
.PHONY: am__doit
2727
3053
END
2728
3054
# If we don't find an include directive, just comment out the code.
2729
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2730
3056
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2731
3057
am__include="#"
2732
3058
am__quote=
2733
3059
_am_result=none
2734
3060
# First try GNU make style include.
2735
3061
echo "include confinc" > confmf
2736
 
# We grep out `Entering directory' and `Leaving directory'
2737
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2738
 
# In particular we don't look at `^make:' because GNU make might
2739
 
# be invoked under some other name (usually "gmake"), in which
2740
 
# case it prints its new name instead of `make'.
2741
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2742
 
   am__include=include
2743
 
   am__quote=
2744
 
   _am_result=GNU
2745
 
fi
 
3062
# Ignore all kinds of additional output from `make'.
 
3063
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3064
*the\ am__doit\ target*)
 
3065
  am__include=include
 
3066
  am__quote=
 
3067
  _am_result=GNU
 
3068
  ;;
 
3069
esac
2746
3070
# Now try BSD make style include.
2747
3071
if test "$am__include" = "#"; then
2748
3072
   echo '.include "confinc"' > confmf
2749
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2750
 
      am__include=.include
2751
 
      am__quote="\""
2752
 
      _am_result=BSD
2753
 
   fi
 
3073
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3074
   *the\ am__doit\ target*)
 
3075
     am__include=.include
 
3076
     am__quote="\""
 
3077
     _am_result=BSD
 
3078
     ;;
 
3079
   esac
2754
3080
fi
2755
3081
 
2756
3082
 
2757
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2758
3084
$as_echo "$_am_result" >&6; }
2759
3085
rm -f confinc confmf
2760
3086
 
2761
3087
# Check whether --enable-dependency-tracking was given.
2762
 
if test "${enable_dependency_tracking+set}" = set; then
 
3088
if test "${enable_dependency_tracking+set}" = set; then :
2763
3089
  enableval=$enable_dependency_tracking;
2764
3090
fi
2765
3091
 
2767
3093
  am_depcomp="$ac_aux_dir/depcomp"
2768
3094
  AMDEPBACKSLASH='\'
2769
3095
fi
2770
 
 
2771
 
 
2772
 
if test "x$enable_dependency_tracking" != xno; then
 
3096
 if test "x$enable_dependency_tracking" != xno; then
2773
3097
  AMDEP_TRUE=
2774
3098
  AMDEP_FALSE='#'
2775
3099
else
2778
3102
fi
2779
3103
 
2780
3104
 
2781
 
 
2782
3105
ac_ext=c
2783
3106
ac_cpp='$CPP $CPPFLAGS'
2784
3107
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2787
3110
if test -n "$ac_tool_prefix"; then
2788
3111
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2789
3112
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2790
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791
3114
$as_echo_n "checking for $ac_word... " >&6; }
2792
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3115
if test "${ac_cv_prog_CC+set}" = set; then :
2793
3116
  $as_echo_n "(cached) " >&6
2794
3117
else
2795
3118
  if test -n "$CC"; then
2800
3123
do
2801
3124
  IFS=$as_save_IFS
2802
3125
  test -z "$as_dir" && as_dir=.
2803
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3126
    for ac_exec_ext in '' $ac_executable_extensions; do
2804
3127
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805
3128
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2806
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3129
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807
3130
    break 2
2808
3131
  fi
2809
3132
done
2810
 
done
 
3133
  done
2811
3134
IFS=$as_save_IFS
2812
3135
 
2813
3136
fi
2814
3137
fi
2815
3138
CC=$ac_cv_prog_CC
2816
3139
if test -n "$CC"; then
2817
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2818
3141
$as_echo "$CC" >&6; }
2819
3142
else
2820
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3143
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821
3144
$as_echo "no" >&6; }
2822
3145
fi
2823
3146
 
2827
3150
  ac_ct_CC=$CC
2828
3151
  # Extract the first word of "gcc", so it can be a program name with args.
2829
3152
set dummy gcc; ac_word=$2
2830
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831
3154
$as_echo_n "checking for $ac_word... " >&6; }
2832
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3155
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2833
3156
  $as_echo_n "(cached) " >&6
2834
3157
else
2835
3158
  if test -n "$ac_ct_CC"; then
2840
3163
do
2841
3164
  IFS=$as_save_IFS
2842
3165
  test -z "$as_dir" && as_dir=.
2843
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3166
    for ac_exec_ext in '' $ac_executable_extensions; do
2844
3167
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2845
3168
    ac_cv_prog_ac_ct_CC="gcc"
2846
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3169
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847
3170
    break 2
2848
3171
  fi
2849
3172
done
2850
 
done
 
3173
  done
2851
3174
IFS=$as_save_IFS
2852
3175
 
2853
3176
fi
2854
3177
fi
2855
3178
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2856
3179
if test -n "$ac_ct_CC"; then
2857
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3180
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2858
3181
$as_echo "$ac_ct_CC" >&6; }
2859
3182
else
2860
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861
3184
$as_echo "no" >&6; }
2862
3185
fi
2863
3186
 
2866
3189
  else
2867
3190
    case $cross_compiling:$ac_tool_warned in
2868
3191
yes:)
2869
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3192
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2870
3193
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2871
3194
ac_tool_warned=yes ;;
2872
3195
esac
2880
3203
          if test -n "$ac_tool_prefix"; then
2881
3204
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2882
3205
set dummy ${ac_tool_prefix}cc; ac_word=$2
2883
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884
3207
$as_echo_n "checking for $ac_word... " >&6; }
2885
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3208
if test "${ac_cv_prog_CC+set}" = set; then :
2886
3209
  $as_echo_n "(cached) " >&6
2887
3210
else
2888
3211
  if test -n "$CC"; then
2893
3216
do
2894
3217
  IFS=$as_save_IFS
2895
3218
  test -z "$as_dir" && as_dir=.
2896
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3219
    for ac_exec_ext in '' $ac_executable_extensions; do
2897
3220
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2898
3221
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2899
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3222
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900
3223
    break 2
2901
3224
  fi
2902
3225
done
2903
 
done
 
3226
  done
2904
3227
IFS=$as_save_IFS
2905
3228
 
2906
3229
fi
2907
3230
fi
2908
3231
CC=$ac_cv_prog_CC
2909
3232
if test -n "$CC"; then
2910
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2911
3234
$as_echo "$CC" >&6; }
2912
3235
else
2913
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3236
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914
3237
$as_echo "no" >&6; }
2915
3238
fi
2916
3239
 
2920
3243
if test -z "$CC"; then
2921
3244
  # Extract the first word of "cc", so it can be a program name with args.
2922
3245
set dummy cc; ac_word=$2
2923
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924
3247
$as_echo_n "checking for $ac_word... " >&6; }
2925
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3248
if test "${ac_cv_prog_CC+set}" = set; then :
2926
3249
  $as_echo_n "(cached) " >&6
2927
3250
else
2928
3251
  if test -n "$CC"; then
2934
3257
do
2935
3258
  IFS=$as_save_IFS
2936
3259
  test -z "$as_dir" && as_dir=.
2937
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3260
    for ac_exec_ext in '' $ac_executable_extensions; do
2938
3261
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939
3262
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2940
3263
       ac_prog_rejected=yes
2941
3264
       continue
2942
3265
     fi
2943
3266
    ac_cv_prog_CC="cc"
2944
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3267
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945
3268
    break 2
2946
3269
  fi
2947
3270
done
2948
 
done
 
3271
  done
2949
3272
IFS=$as_save_IFS
2950
3273
 
2951
3274
if test $ac_prog_rejected = yes; then
2964
3287
fi
2965
3288
CC=$ac_cv_prog_CC
2966
3289
if test -n "$CC"; then
2967
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3290
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2968
3291
$as_echo "$CC" >&6; }
2969
3292
else
2970
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3293
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971
3294
$as_echo "no" >&6; }
2972
3295
fi
2973
3296
 
2979
3302
  do
2980
3303
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2981
3304
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2982
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2983
3306
$as_echo_n "checking for $ac_word... " >&6; }
2984
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3307
if test "${ac_cv_prog_CC+set}" = set; then :
2985
3308
  $as_echo_n "(cached) " >&6
2986
3309
else
2987
3310
  if test -n "$CC"; then
2992
3315
do
2993
3316
  IFS=$as_save_IFS
2994
3317
  test -z "$as_dir" && as_dir=.
2995
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3318
    for ac_exec_ext in '' $ac_executable_extensions; do
2996
3319
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2997
3320
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2998
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3321
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2999
3322
    break 2
3000
3323
  fi
3001
3324
done
3002
 
done
 
3325
  done
3003
3326
IFS=$as_save_IFS
3004
3327
 
3005
3328
fi
3006
3329
fi
3007
3330
CC=$ac_cv_prog_CC
3008
3331
if test -n "$CC"; then
3009
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3332
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3010
3333
$as_echo "$CC" >&6; }
3011
3334
else
3012
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3335
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3013
3336
$as_echo "no" >&6; }
3014
3337
fi
3015
3338
 
3023
3346
do
3024
3347
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3025
3348
set dummy $ac_prog; ac_word=$2
3026
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027
3350
$as_echo_n "checking for $ac_word... " >&6; }
3028
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3351
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3029
3352
  $as_echo_n "(cached) " >&6
3030
3353
else
3031
3354
  if test -n "$ac_ct_CC"; then
3036
3359
do
3037
3360
  IFS=$as_save_IFS
3038
3361
  test -z "$as_dir" && as_dir=.
3039
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3362
    for ac_exec_ext in '' $ac_executable_extensions; do
3040
3363
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3041
3364
    ac_cv_prog_ac_ct_CC="$ac_prog"
3042
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3365
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3043
3366
    break 2
3044
3367
  fi
3045
3368
done
3046
 
done
 
3369
  done
3047
3370
IFS=$as_save_IFS
3048
3371
 
3049
3372
fi
3050
3373
fi
3051
3374
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3052
3375
if test -n "$ac_ct_CC"; then
3053
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3376
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3054
3377
$as_echo "$ac_ct_CC" >&6; }
3055
3378
else
3056
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3379
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057
3380
$as_echo "no" >&6; }
3058
3381
fi
3059
3382
 
3066
3389
  else
3067
3390
    case $cross_compiling:$ac_tool_warned in
3068
3391
yes:)
3069
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3392
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3070
3393
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3071
3394
ac_tool_warned=yes ;;
3072
3395
esac
3077
3400
fi
3078
3401
 
3079
3402
 
3080
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3403
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081
3404
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3083
 
See \`config.log' for more details." >&5
3084
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3085
 
See \`config.log' for more details." >&2;}
3086
 
   { (exit 1); exit 1; }; }; }
 
3405
as_fn_error "no acceptable C compiler found in \$PATH
 
3406
See \`config.log' for more details." "$LINENO" 5; }
3087
3407
 
3088
3408
# Provide some information about the compiler.
3089
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3409
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3090
3410
set X $ac_compile
3091
3411
ac_compiler=$2
3092
 
{ (ac_try="$ac_compiler --version >&5"
3093
 
case "(($ac_try" in
3094
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095
 
  *) ac_try_echo=$ac_try;;
3096
 
esac
3097
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3098
 
$as_echo "$ac_try_echo") >&5
3099
 
  (eval "$ac_compiler --version >&5") 2>&5
3100
 
  ac_status=$?
3101
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102
 
  (exit $ac_status); }
3103
 
{ (ac_try="$ac_compiler -v >&5"
3104
 
case "(($ac_try" in
3105
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106
 
  *) ac_try_echo=$ac_try;;
3107
 
esac
3108
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3109
 
$as_echo "$ac_try_echo") >&5
3110
 
  (eval "$ac_compiler -v >&5") 2>&5
3111
 
  ac_status=$?
3112
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113
 
  (exit $ac_status); }
3114
 
{ (ac_try="$ac_compiler -V >&5"
3115
 
case "(($ac_try" in
3116
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117
 
  *) ac_try_echo=$ac_try;;
3118
 
esac
3119
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3120
 
$as_echo "$ac_try_echo") >&5
3121
 
  (eval "$ac_compiler -V >&5") 2>&5
3122
 
  ac_status=$?
3123
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124
 
  (exit $ac_status); }
 
3412
for ac_option in --version -v -V -qversion; do
 
3413
  { { ac_try="$ac_compiler $ac_option >&5"
 
3414
case "(($ac_try" in
 
3415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3416
  *) ac_try_echo=$ac_try;;
 
3417
esac
 
3418
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3419
$as_echo "$ac_try_echo"; } >&5
 
3420
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3421
  ac_status=$?
 
3422
  if test -s conftest.err; then
 
3423
    sed '10a\
 
3424
... rest of stderr output deleted ...
 
3425
         10q' conftest.err >conftest.er1
 
3426
    cat conftest.er1 >&5
 
3427
    rm -f conftest.er1 conftest.err
 
3428
  fi
 
3429
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3430
  test $ac_status = 0; }
 
3431
done
3125
3432
 
3126
 
cat >conftest.$ac_ext <<_ACEOF
3127
 
/* confdefs.h.  */
3128
 
_ACEOF
3129
 
cat confdefs.h >>conftest.$ac_ext
3130
 
cat >>conftest.$ac_ext <<_ACEOF
 
3433
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131
3434
/* end confdefs.h.  */
3132
 
 
 
3435
#include <stdio.h>
3133
3436
int
3134
3437
main ()
3135
3438
{
 
3439
FILE *f = fopen ("conftest.out", "w");
 
3440
 return ferror (f) || fclose (f) != 0;
3136
3441
 
3137
3442
  ;
3138
3443
  return 0;
3139
3444
}
3140
3445
_ACEOF
3141
3446
ac_clean_files_save=$ac_clean_files
3142
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3447
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3143
3448
# Try to create an executable without -o first, disregard a.out.
3144
3449
# It will help us diagnose broken compilers, and finding out an intuition
3145
3450
# of exeext.
3146
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3147
3452
$as_echo_n "checking for C compiler default output file name... " >&6; }
3148
3453
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3149
3454
 
3160
3465
done
3161
3466
rm -f $ac_rmfiles
3162
3467
 
3163
 
if { (ac_try="$ac_link_default"
 
3468
if { { ac_try="$ac_link_default"
3164
3469
case "(($ac_try" in
3165
3470
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166
3471
  *) ac_try_echo=$ac_try;;
3167
3472
esac
3168
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3169
 
$as_echo "$ac_try_echo") >&5
 
3473
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3474
$as_echo "$ac_try_echo"; } >&5
3170
3475
  (eval "$ac_link_default") 2>&5
3171
3476
  ac_status=$?
3172
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173
 
  (exit $ac_status); }; then
 
3477
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3478
  test $ac_status = 0; }; then :
3174
3479
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3175
3480
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3176
3481
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3187
3492
        # certainly right.
3188
3493
        break;;
3189
3494
    *.* )
3190
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3495
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3191
3496
        then :; else
3192
3497
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3193
3498
        fi
3206
3511
else
3207
3512
  ac_file=''
3208
3513
fi
3209
 
 
3210
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3211
3515
$as_echo "$ac_file" >&6; }
3212
 
if test -z "$ac_file"; then
 
3516
if test -z "$ac_file"; then :
3213
3517
  $as_echo "$as_me: failed program was:" >&5
3214
3518
sed 's/^/| /' conftest.$ac_ext >&5
3215
3519
 
3216
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3520
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3217
3521
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3218
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3219
 
See \`config.log' for more details." >&5
3220
 
$as_echo "$as_me: error: C compiler cannot create executables
3221
 
See \`config.log' for more details." >&2;}
3222
 
   { (exit 77); exit 77; }; }; }
 
3522
{ as_fn_set_status 77
 
3523
as_fn_error "C compiler cannot create executables
 
3524
See \`config.log' for more details." "$LINENO" 5; }; }
3223
3525
fi
3224
 
 
3225
3526
ac_exeext=$ac_cv_exeext
3226
3527
 
3227
3528
# Check that the compiler produces executables we can run.  If not, either
3228
3529
# the compiler is broken, or we cross compile.
3229
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3230
3531
$as_echo_n "checking whether the C compiler works... " >&6; }
3231
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3232
3532
# If not cross compiling, check that we can run a simple program.
3233
3533
if test "$cross_compiling" != yes; then
3234
3534
  if { ac_try='./$ac_file'
3235
 
  { (case "(($ac_try" in
 
3535
  { { case "(($ac_try" in
3236
3536
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237
3537
  *) ac_try_echo=$ac_try;;
3238
3538
esac
3239
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3240
 
$as_echo "$ac_try_echo") >&5
 
3539
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3540
$as_echo "$ac_try_echo"; } >&5
3241
3541
  (eval "$ac_try") 2>&5
3242
3542
  ac_status=$?
3243
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244
 
  (exit $ac_status); }; }; then
 
3543
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3544
  test $ac_status = 0; }; }; then
3245
3545
    cross_compiling=no
3246
3546
  else
3247
3547
    if test "$cross_compiling" = maybe; then
3248
3548
        cross_compiling=yes
3249
3549
    else
3250
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3550
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251
3551
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3253
 
If you meant to cross compile, use \`--host'.
3254
 
See \`config.log' for more details." >&5
3255
 
$as_echo "$as_me: error: cannot run C compiled programs.
3256
 
If you meant to cross compile, use \`--host'.
3257
 
See \`config.log' for more details." >&2;}
3258
 
   { (exit 1); exit 1; }; }; }
 
3552
as_fn_error "cannot run C compiled programs.
 
3553
If you meant to cross compile, use \`--host'.
 
3554
See \`config.log' for more details." "$LINENO" 5; }
3259
3555
    fi
3260
3556
  fi
3261
3557
fi
3262
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3263
3559
$as_echo "yes" >&6; }
3264
3560
 
3265
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3561
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3266
3562
ac_clean_files=$ac_clean_files_save
3267
3563
# Check that the compiler produces executables we can run.  If not, either
3268
3564
# the compiler is broken, or we cross compile.
3269
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3270
3566
$as_echo_n "checking whether we are cross compiling... " >&6; }
3271
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3272
3568
$as_echo "$cross_compiling" >&6; }
3273
3569
 
3274
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3275
3571
$as_echo_n "checking for suffix of executables... " >&6; }
3276
 
if { (ac_try="$ac_link"
 
3572
if { { ac_try="$ac_link"
3277
3573
case "(($ac_try" in
3278
3574
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279
3575
  *) ac_try_echo=$ac_try;;
3280
3576
esac
3281
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3282
 
$as_echo "$ac_try_echo") >&5
 
3577
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3578
$as_echo "$ac_try_echo"; } >&5
3283
3579
  (eval "$ac_link") 2>&5
3284
3580
  ac_status=$?
3285
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286
 
  (exit $ac_status); }; then
 
3581
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3582
  test $ac_status = 0; }; then :
3287
3583
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3288
3584
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3289
3585
# work properly (i.e., refer to `conftest.exe'), while it won't with
3298
3594
  esac
3299
3595
done
3300
3596
else
3301
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3597
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3302
3598
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3303
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3304
 
See \`config.log' for more details." >&5
3305
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3306
 
See \`config.log' for more details." >&2;}
3307
 
   { (exit 1); exit 1; }; }; }
 
3599
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3600
See \`config.log' for more details." "$LINENO" 5; }
3308
3601
fi
3309
 
 
3310
3602
rm -f conftest$ac_cv_exeext
3311
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3312
3604
$as_echo "$ac_cv_exeext" >&6; }
3313
3605
 
3314
3606
rm -f conftest.$ac_ext
3315
3607
EXEEXT=$ac_cv_exeext
3316
3608
ac_exeext=$EXEEXT
3317
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3318
3610
$as_echo_n "checking for suffix of object files... " >&6; }
3319
 
if test "${ac_cv_objext+set}" = set; then
 
3611
if test "${ac_cv_objext+set}" = set; then :
3320
3612
  $as_echo_n "(cached) " >&6
3321
3613
else
3322
 
  cat >conftest.$ac_ext <<_ACEOF
3323
 
/* confdefs.h.  */
3324
 
_ACEOF
3325
 
cat confdefs.h >>conftest.$ac_ext
3326
 
cat >>conftest.$ac_ext <<_ACEOF
 
3614
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327
3615
/* end confdefs.h.  */
3328
3616
 
3329
3617
int
3335
3623
}
3336
3624
_ACEOF
3337
3625
rm -f conftest.o conftest.obj
3338
 
if { (ac_try="$ac_compile"
 
3626
if { { ac_try="$ac_compile"
3339
3627
case "(($ac_try" in
3340
3628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341
3629
  *) ac_try_echo=$ac_try;;
3342
3630
esac
3343
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3344
 
$as_echo "$ac_try_echo") >&5
 
3631
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3632
$as_echo "$ac_try_echo"; } >&5
3345
3633
  (eval "$ac_compile") 2>&5
3346
3634
  ac_status=$?
3347
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348
 
  (exit $ac_status); }; then
 
3635
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3636
  test $ac_status = 0; }; then :
3349
3637
  for ac_file in conftest.o conftest.obj conftest.*; do
3350
3638
  test -f "$ac_file" || continue;
3351
3639
  case $ac_file in
3358
3646
  $as_echo "$as_me: failed program was:" >&5
3359
3647
sed 's/^/| /' conftest.$ac_ext >&5
3360
3648
 
3361
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3649
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362
3650
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3363
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3364
 
See \`config.log' for more details." >&5
3365
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3366
 
See \`config.log' for more details." >&2;}
3367
 
   { (exit 1); exit 1; }; }; }
 
3651
as_fn_error "cannot compute suffix of object files: cannot compile
 
3652
See \`config.log' for more details." "$LINENO" 5; }
3368
3653
fi
3369
 
 
3370
3654
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3371
3655
fi
3372
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3373
3657
$as_echo "$ac_cv_objext" >&6; }
3374
3658
OBJEXT=$ac_cv_objext
3375
3659
ac_objext=$OBJEXT
3376
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3377
3661
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3378
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3662
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3379
3663
  $as_echo_n "(cached) " >&6
3380
3664
else
3381
 
  cat >conftest.$ac_ext <<_ACEOF
3382
 
/* confdefs.h.  */
3383
 
_ACEOF
3384
 
cat confdefs.h >>conftest.$ac_ext
3385
 
cat >>conftest.$ac_ext <<_ACEOF
 
3665
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3386
3666
/* end confdefs.h.  */
3387
3667
 
3388
3668
int
3396
3676
  return 0;
3397
3677
}
3398
3678
_ACEOF
3399
 
rm -f conftest.$ac_objext
3400
 
if { (ac_try="$ac_compile"
3401
 
case "(($ac_try" in
3402
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403
 
  *) ac_try_echo=$ac_try;;
3404
 
esac
3405
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3406
 
$as_echo "$ac_try_echo") >&5
3407
 
  (eval "$ac_compile") 2>conftest.er1
3408
 
  ac_status=$?
3409
 
  grep -v '^ *+' conftest.er1 >conftest.err
3410
 
  rm -f conftest.er1
3411
 
  cat conftest.err >&5
3412
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413
 
  (exit $ac_status); } && {
3414
 
         test -z "$ac_c_werror_flag" ||
3415
 
         test ! -s conftest.err
3416
 
       } && test -s conftest.$ac_objext; then
 
3679
if ac_fn_c_try_compile "$LINENO"; then :
3417
3680
  ac_compiler_gnu=yes
3418
3681
else
3419
 
  $as_echo "$as_me: failed program was:" >&5
3420
 
sed 's/^/| /' conftest.$ac_ext >&5
3421
 
 
3422
 
        ac_compiler_gnu=no
 
3682
  ac_compiler_gnu=no
3423
3683
fi
3424
 
 
3425
3684
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3426
3685
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3427
3686
 
3428
3687
fi
3429
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3430
3689
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3431
3690
if test $ac_compiler_gnu = yes; then
3432
3691
  GCC=yes
3435
3694
fi
3436
3695
ac_test_CFLAGS=${CFLAGS+set}
3437
3696
ac_save_CFLAGS=$CFLAGS
3438
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3439
3698
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3440
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3699
if test "${ac_cv_prog_cc_g+set}" = set; then :
3441
3700
  $as_echo_n "(cached) " >&6
3442
3701
else
3443
3702
  ac_save_c_werror_flag=$ac_c_werror_flag
3444
3703
   ac_c_werror_flag=yes
3445
3704
   ac_cv_prog_cc_g=no
3446
3705
   CFLAGS="-g"
3447
 
   cat >conftest.$ac_ext <<_ACEOF
3448
 
/* confdefs.h.  */
3449
 
_ACEOF
3450
 
cat confdefs.h >>conftest.$ac_ext
3451
 
cat >>conftest.$ac_ext <<_ACEOF
 
3706
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452
3707
/* end confdefs.h.  */
3453
3708
 
3454
3709
int
3459
3714
  return 0;
3460
3715
}
3461
3716
_ACEOF
3462
 
rm -f conftest.$ac_objext
3463
 
if { (ac_try="$ac_compile"
3464
 
case "(($ac_try" in
3465
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466
 
  *) ac_try_echo=$ac_try;;
3467
 
esac
3468
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3469
 
$as_echo "$ac_try_echo") >&5
3470
 
  (eval "$ac_compile") 2>conftest.er1
3471
 
  ac_status=$?
3472
 
  grep -v '^ *+' conftest.er1 >conftest.err
3473
 
  rm -f conftest.er1
3474
 
  cat conftest.err >&5
3475
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476
 
  (exit $ac_status); } && {
3477
 
         test -z "$ac_c_werror_flag" ||
3478
 
         test ! -s conftest.err
3479
 
       } && test -s conftest.$ac_objext; then
 
3717
if ac_fn_c_try_compile "$LINENO"; then :
3480
3718
  ac_cv_prog_cc_g=yes
3481
3719
else
3482
 
  $as_echo "$as_me: failed program was:" >&5
3483
 
sed 's/^/| /' conftest.$ac_ext >&5
3484
 
 
3485
 
        CFLAGS=""
3486
 
      cat >conftest.$ac_ext <<_ACEOF
3487
 
/* confdefs.h.  */
3488
 
_ACEOF
3489
 
cat confdefs.h >>conftest.$ac_ext
3490
 
cat >>conftest.$ac_ext <<_ACEOF
 
3720
  CFLAGS=""
 
3721
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491
3722
/* end confdefs.h.  */
3492
3723
 
3493
3724
int
3498
3729
  return 0;
3499
3730
}
3500
3731
_ACEOF
3501
 
rm -f conftest.$ac_objext
3502
 
if { (ac_try="$ac_compile"
3503
 
case "(($ac_try" in
3504
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505
 
  *) ac_try_echo=$ac_try;;
3506
 
esac
3507
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3508
 
$as_echo "$ac_try_echo") >&5
3509
 
  (eval "$ac_compile") 2>conftest.er1
3510
 
  ac_status=$?
3511
 
  grep -v '^ *+' conftest.er1 >conftest.err
3512
 
  rm -f conftest.er1
3513
 
  cat conftest.err >&5
3514
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515
 
  (exit $ac_status); } && {
3516
 
         test -z "$ac_c_werror_flag" ||
3517
 
         test ! -s conftest.err
3518
 
       } && test -s conftest.$ac_objext; then
3519
 
  :
 
3732
if ac_fn_c_try_compile "$LINENO"; then :
 
3733
 
3520
3734
else
3521
 
  $as_echo "$as_me: failed program was:" >&5
3522
 
sed 's/^/| /' conftest.$ac_ext >&5
3523
 
 
3524
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3735
  ac_c_werror_flag=$ac_save_c_werror_flag
3525
3736
         CFLAGS="-g"
3526
 
         cat >conftest.$ac_ext <<_ACEOF
3527
 
/* confdefs.h.  */
3528
 
_ACEOF
3529
 
cat confdefs.h >>conftest.$ac_ext
3530
 
cat >>conftest.$ac_ext <<_ACEOF
 
3737
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3531
3738
/* end confdefs.h.  */
3532
3739
 
3533
3740
int
3538
3745
  return 0;
3539
3746
}
3540
3747
_ACEOF
3541
 
rm -f conftest.$ac_objext
3542
 
if { (ac_try="$ac_compile"
3543
 
case "(($ac_try" in
3544
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545
 
  *) ac_try_echo=$ac_try;;
3546
 
esac
3547
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3548
 
$as_echo "$ac_try_echo") >&5
3549
 
  (eval "$ac_compile") 2>conftest.er1
3550
 
  ac_status=$?
3551
 
  grep -v '^ *+' conftest.er1 >conftest.err
3552
 
  rm -f conftest.er1
3553
 
  cat conftest.err >&5
3554
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555
 
  (exit $ac_status); } && {
3556
 
         test -z "$ac_c_werror_flag" ||
3557
 
         test ! -s conftest.err
3558
 
       } && test -s conftest.$ac_objext; then
 
3748
if ac_fn_c_try_compile "$LINENO"; then :
3559
3749
  ac_cv_prog_cc_g=yes
3560
 
else
3561
 
  $as_echo "$as_me: failed program was:" >&5
3562
 
sed 's/^/| /' conftest.$ac_ext >&5
3563
 
 
3564
 
 
3565
 
fi
3566
 
 
3567
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568
 
fi
3569
 
 
3570
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571
 
fi
3572
 
 
 
3750
fi
 
3751
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3752
fi
 
3753
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3754
fi
3573
3755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3574
3756
   ac_c_werror_flag=$ac_save_c_werror_flag
3575
3757
fi
3576
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3577
3759
$as_echo "$ac_cv_prog_cc_g" >&6; }
3578
3760
if test "$ac_test_CFLAGS" = set; then
3579
3761
  CFLAGS=$ac_save_CFLAGS
3590
3772
    CFLAGS=
3591
3773
  fi
3592
3774
fi
3593
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3594
3776
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3595
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3777
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3596
3778
  $as_echo_n "(cached) " >&6
3597
3779
else
3598
3780
  ac_cv_prog_cc_c89=no
3599
3781
ac_save_CC=$CC
3600
 
cat >conftest.$ac_ext <<_ACEOF
3601
 
/* confdefs.h.  */
3602
 
_ACEOF
3603
 
cat confdefs.h >>conftest.$ac_ext
3604
 
cat >>conftest.$ac_ext <<_ACEOF
 
3782
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605
3783
/* end confdefs.h.  */
3606
3784
#include <stdarg.h>
3607
3785
#include <stdio.h>
3658
3836
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3659
3837
do
3660
3838
  CC="$ac_save_CC $ac_arg"
3661
 
  rm -f conftest.$ac_objext
3662
 
if { (ac_try="$ac_compile"
3663
 
case "(($ac_try" in
3664
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3665
 
  *) ac_try_echo=$ac_try;;
3666
 
esac
3667
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3668
 
$as_echo "$ac_try_echo") >&5
3669
 
  (eval "$ac_compile") 2>conftest.er1
3670
 
  ac_status=$?
3671
 
  grep -v '^ *+' conftest.er1 >conftest.err
3672
 
  rm -f conftest.er1
3673
 
  cat conftest.err >&5
3674
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675
 
  (exit $ac_status); } && {
3676
 
         test -z "$ac_c_werror_flag" ||
3677
 
         test ! -s conftest.err
3678
 
       } && test -s conftest.$ac_objext; then
 
3839
  if ac_fn_c_try_compile "$LINENO"; then :
3679
3840
  ac_cv_prog_cc_c89=$ac_arg
3680
 
else
3681
 
  $as_echo "$as_me: failed program was:" >&5
3682
 
sed 's/^/| /' conftest.$ac_ext >&5
3683
 
 
3684
 
 
3685
3841
fi
3686
 
 
3687
3842
rm -f core conftest.err conftest.$ac_objext
3688
3843
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3689
3844
done
3694
3849
# AC_CACHE_VAL
3695
3850
case "x$ac_cv_prog_cc_c89" in
3696
3851
  x)
3697
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3852
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3698
3853
$as_echo "none needed" >&6; } ;;
3699
3854
  xno)
3700
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3855
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3701
3856
$as_echo "unsupported" >&6; } ;;
3702
3857
  *)
3703
3858
    CC="$CC $ac_cv_prog_cc_c89"
3704
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3859
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3705
3860
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3706
3861
esac
 
3862
if test "x$ac_cv_prog_cc_c89" != xno; then :
3707
3863
 
 
3864
fi
3708
3865
 
3709
3866
ac_ext=c
3710
3867
ac_cpp='$CPP $CPPFLAGS'
3714
3871
 
3715
3872
depcc="$CC"   am_compiler_list=
3716
3873
 
3717
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3718
3875
$as_echo_n "checking dependency style of $depcc... " >&6; }
3719
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3876
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3720
3877
  $as_echo_n "(cached) " >&6
3721
3878
else
3722
3879
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3742
3899
  if test "$am_compiler_list" = ""; then
3743
3900
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3744
3901
  fi
 
3902
  am__universal=false
 
3903
  case " $depcc " in #(
 
3904
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3905
     esac
 
3906
 
3745
3907
  for depmode in $am_compiler_list; do
3746
3908
    # Setup a source with many dependencies, because some compilers
3747
3909
    # like to wrap large dependency lists on column 80 (with \), and
3759
3921
    done
3760
3922
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3761
3923
 
 
3924
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3925
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3926
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3927
    # versions had trouble with output in subdirs
 
3928
    am__obj=sub/conftest.${OBJEXT-o}
 
3929
    am__minus_obj="-o $am__obj"
3762
3930
    case $depmode in
 
3931
    gcc)
 
3932
      # This depmode causes a compiler race in universal mode.
 
3933
      test "$am__universal" = false || continue
 
3934
      ;;
3763
3935
    nosideeffect)
3764
3936
      # after this tag, mechanisms are not by side-effect, so they'll
3765
3937
      # only be used when explicitly requested
3769
3941
        break
3770
3942
      fi
3771
3943
      ;;
 
3944
    msvisualcpp | msvcmsys)
 
3945
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3946
      # not run yet.  These depmodes are late enough in the game, and
 
3947
      # so weak that their functioning should not be impacted.
 
3948
      am__obj=conftest.${OBJEXT-o}
 
3949
      am__minus_obj=
 
3950
      ;;
3772
3951
    none) break ;;
3773
3952
    esac
3774
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3775
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3776
 
    # handle `-M -o', and we need to detect this.
3777
3953
    if depmode=$depmode \
3778
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3954
       source=sub/conftest.c object=$am__obj \
3779
3955
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3780
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3956
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3781
3957
         >/dev/null 2>conftest.err &&
 
3958
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3782
3959
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3783
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3960
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3784
3961
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3785
3962
      # icc doesn't choke on unknown options, it will just issue warnings
3786
3963
      # or remarks (even with -Werror).  So we grep stderr for any message
3804
3981
fi
3805
3982
 
3806
3983
fi
3807
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3808
3985
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3809
3986
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3810
3987
 
3811
 
 
3812
 
 
3813
 
if
 
3988
 if
3814
3989
  test "x$enable_dependency_tracking" != xno \
3815
3990
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3816
3991
  am__fastdepCC_TRUE=
3826
4001
 
3827
4002
case "$am__api_version" in
3828
4003
    1.01234)
3829
 
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3830
 
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3831
 
   { (exit 1); exit 1; }; }
 
4004
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3832
4005
    ;;
3833
4006
    *)
3834
4007
    ;;
3835
4008
esac
3836
4009
 
3837
 
if test -n "0.35"; then
3838
 
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35" >&5
3839
 
$as_echo_n "checking for intltool >= 0.35... " >&6; }
 
4010
if test -n "0.35.0"; then
 
4011
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
 
4012
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3840
4013
 
3841
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
4014
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3842
4015
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3843
4016
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3844
4017
 
3845
 
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
4018
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3846
4019
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3847
4020
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3848
 
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35 or later." >&5
3849
 
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.35 or later." >&2;}
3850
 
   { (exit 1); exit 1; }; }
 
4021
        as_fn_error "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
3851
4022
fi
3852
4023
 
3853
4024
# Extract the first word of "intltool-update", so it can be a program name with args.
3854
4025
set dummy intltool-update; ac_word=$2
3855
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856
4027
$as_echo_n "checking for $ac_word... " >&6; }
3857
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
4028
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
3858
4029
  $as_echo_n "(cached) " >&6
3859
4030
else
3860
4031
  case $INTLTOOL_UPDATE in
3867
4038
do
3868
4039
  IFS=$as_save_IFS
3869
4040
  test -z "$as_dir" && as_dir=.
3870
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4041
    for ac_exec_ext in '' $ac_executable_extensions; do
3871
4042
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3872
4043
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3873
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4044
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3874
4045
    break 2
3875
4046
  fi
3876
4047
done
3877
 
done
 
4048
  done
3878
4049
IFS=$as_save_IFS
3879
4050
 
3880
4051
  ;;
3882
4053
fi
3883
4054
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3884
4055
if test -n "$INTLTOOL_UPDATE"; then
3885
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
4056
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3886
4057
$as_echo "$INTLTOOL_UPDATE" >&6; }
3887
4058
else
3888
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4059
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3889
4060
$as_echo "no" >&6; }
3890
4061
fi
3891
4062
 
3892
4063
 
3893
4064
# Extract the first word of "intltool-merge", so it can be a program name with args.
3894
4065
set dummy intltool-merge; ac_word=$2
3895
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3896
4067
$as_echo_n "checking for $ac_word... " >&6; }
3897
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
4068
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
3898
4069
  $as_echo_n "(cached) " >&6
3899
4070
else
3900
4071
  case $INTLTOOL_MERGE in
3907
4078
do
3908
4079
  IFS=$as_save_IFS
3909
4080
  test -z "$as_dir" && as_dir=.
3910
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4081
    for ac_exec_ext in '' $ac_executable_extensions; do
3911
4082
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3912
4083
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3913
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4084
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3914
4085
    break 2
3915
4086
  fi
3916
4087
done
3917
 
done
 
4088
  done
3918
4089
IFS=$as_save_IFS
3919
4090
 
3920
4091
  ;;
3922
4093
fi
3923
4094
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3924
4095
if test -n "$INTLTOOL_MERGE"; then
3925
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
4096
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3926
4097
$as_echo "$INTLTOOL_MERGE" >&6; }
3927
4098
else
3928
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4099
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929
4100
$as_echo "no" >&6; }
3930
4101
fi
3931
4102
 
3932
4103
 
3933
4104
# Extract the first word of "intltool-extract", so it can be a program name with args.
3934
4105
set dummy intltool-extract; ac_word=$2
3935
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3936
4107
$as_echo_n "checking for $ac_word... " >&6; }
3937
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
4108
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
3938
4109
  $as_echo_n "(cached) " >&6
3939
4110
else
3940
4111
  case $INTLTOOL_EXTRACT in
3947
4118
do
3948
4119
  IFS=$as_save_IFS
3949
4120
  test -z "$as_dir" && as_dir=.
3950
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4121
    for ac_exec_ext in '' $ac_executable_extensions; do
3951
4122
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3952
4123
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3953
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4124
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3954
4125
    break 2
3955
4126
  fi
3956
4127
done
3957
 
done
 
4128
  done
3958
4129
IFS=$as_save_IFS
3959
4130
 
3960
4131
  ;;
3962
4133
fi
3963
4134
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3964
4135
if test -n "$INTLTOOL_EXTRACT"; then
3965
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
4136
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
3966
4137
$as_echo "$INTLTOOL_EXTRACT" >&6; }
3967
4138
else
3968
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4139
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969
4140
$as_echo "no" >&6; }
3970
4141
fi
3971
4142
 
3972
4143
 
3973
4144
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3974
 
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
3975
 
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
3976
 
   { (exit 1); exit 1; }; }
 
4145
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
3977
4146
fi
3978
4147
 
3979
4148
  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 $< $@'
4095
4264
# Check the gettext tools to make sure they are GNU
4096
4265
# Extract the first word of "xgettext", so it can be a program name with args.
4097
4266
set dummy xgettext; ac_word=$2
4098
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4099
4268
$as_echo_n "checking for $ac_word... " >&6; }
4100
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
4269
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4101
4270
  $as_echo_n "(cached) " >&6
4102
4271
else
4103
4272
  case $XGETTEXT in
4110
4279
do
4111
4280
  IFS=$as_save_IFS
4112
4281
  test -z "$as_dir" && as_dir=.
4113
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4282
    for ac_exec_ext in '' $ac_executable_extensions; do
4114
4283
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4115
4284
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4116
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4285
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4117
4286
    break 2
4118
4287
  fi
4119
4288
done
4120
 
done
 
4289
  done
4121
4290
IFS=$as_save_IFS
4122
4291
 
4123
4292
  ;;
4125
4294
fi
4126
4295
XGETTEXT=$ac_cv_path_XGETTEXT
4127
4296
if test -n "$XGETTEXT"; then
4128
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
4297
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4129
4298
$as_echo "$XGETTEXT" >&6; }
4130
4299
else
4131
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4300
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4132
4301
$as_echo "no" >&6; }
4133
4302
fi
4134
4303
 
4135
4304
 
4136
4305
# Extract the first word of "msgmerge", so it can be a program name with args.
4137
4306
set dummy msgmerge; ac_word=$2
4138
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4139
4308
$as_echo_n "checking for $ac_word... " >&6; }
4140
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
4309
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4141
4310
  $as_echo_n "(cached) " >&6
4142
4311
else
4143
4312
  case $MSGMERGE in
4150
4319
do
4151
4320
  IFS=$as_save_IFS
4152
4321
  test -z "$as_dir" && as_dir=.
4153
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4322
    for ac_exec_ext in '' $ac_executable_extensions; do
4154
4323
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4155
4324
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4156
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4325
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4157
4326
    break 2
4158
4327
  fi
4159
4328
done
4160
 
done
 
4329
  done
4161
4330
IFS=$as_save_IFS
4162
4331
 
4163
4332
  ;;
4165
4334
fi
4166
4335
MSGMERGE=$ac_cv_path_MSGMERGE
4167
4336
if test -n "$MSGMERGE"; then
4168
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
4337
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4169
4338
$as_echo "$MSGMERGE" >&6; }
4170
4339
else
4171
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4340
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172
4341
$as_echo "no" >&6; }
4173
4342
fi
4174
4343
 
4175
4344
 
4176
4345
# Extract the first word of "msgfmt", so it can be a program name with args.
4177
4346
set dummy msgfmt; ac_word=$2
4178
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4179
4348
$as_echo_n "checking for $ac_word... " >&6; }
4180
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
4349
if test "${ac_cv_path_MSGFMT+set}" = set; then :
4181
4350
  $as_echo_n "(cached) " >&6
4182
4351
else
4183
4352
  case $MSGFMT in
4190
4359
do
4191
4360
  IFS=$as_save_IFS
4192
4361
  test -z "$as_dir" && as_dir=.
4193
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4362
    for ac_exec_ext in '' $ac_executable_extensions; do
4194
4363
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4195
4364
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4196
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4365
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4197
4366
    break 2
4198
4367
  fi
4199
4368
done
4200
 
done
 
4369
  done
4201
4370
IFS=$as_save_IFS
4202
4371
 
4203
4372
  ;;
4205
4374
fi
4206
4375
MSGFMT=$ac_cv_path_MSGFMT
4207
4376
if test -n "$MSGFMT"; then
4208
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
4377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4209
4378
$as_echo "$MSGFMT" >&6; }
4210
4379
else
4211
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4380
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4212
4381
$as_echo "no" >&6; }
4213
4382
fi
4214
4383
 
4215
4384
 
4216
4385
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4217
4386
set dummy gmsgfmt; ac_word=$2
4218
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4219
4388
$as_echo_n "checking for $ac_word... " >&6; }
4220
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
4389
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4221
4390
  $as_echo_n "(cached) " >&6
4222
4391
else
4223
4392
  case $GMSGFMT in
4230
4399
do
4231
4400
  IFS=$as_save_IFS
4232
4401
  test -z "$as_dir" && as_dir=.
4233
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4402
    for ac_exec_ext in '' $ac_executable_extensions; do
4234
4403
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4235
4404
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4236
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4405
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4237
4406
    break 2
4238
4407
  fi
4239
4408
done
4240
 
done
 
4409
  done
4241
4410
IFS=$as_save_IFS
4242
4411
 
4243
4412
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4246
4415
fi
4247
4416
GMSGFMT=$ac_cv_path_GMSGFMT
4248
4417
if test -n "$GMSGFMT"; then
4249
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
4418
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4250
4419
$as_echo "$GMSGFMT" >&6; }
4251
4420
else
4252
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4421
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253
4422
$as_echo "no" >&6; }
4254
4423
fi
4255
4424
 
4256
4425
 
4257
4426
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4258
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4259
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4260
 
   { (exit 1); exit 1; }; }
 
4427
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4261
4428
fi
4262
4429
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4263
4430
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4264
4431
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4265
4432
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4266
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4267
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4268
 
   { (exit 1); exit 1; }; }
 
4433
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4269
4434
fi
4270
4435
 
4271
4436
# Extract the first word of "perl", so it can be a program name with args.
4272
4437
set dummy perl; ac_word=$2
4273
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274
4439
$as_echo_n "checking for $ac_word... " >&6; }
4275
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
4440
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4276
4441
  $as_echo_n "(cached) " >&6
4277
4442
else
4278
4443
  case $INTLTOOL_PERL in
4285
4450
do
4286
4451
  IFS=$as_save_IFS
4287
4452
  test -z "$as_dir" && as_dir=.
4288
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4453
    for ac_exec_ext in '' $ac_executable_extensions; do
4289
4454
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4290
4455
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4291
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4456
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292
4457
    break 2
4293
4458
  fi
4294
4459
done
4295
 
done
 
4460
  done
4296
4461
IFS=$as_save_IFS
4297
4462
 
4298
4463
  ;;
4300
4465
fi
4301
4466
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4302
4467
if test -n "$INTLTOOL_PERL"; then
4303
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
4468
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4304
4469
$as_echo "$INTLTOOL_PERL" >&6; }
4305
4470
else
4306
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4471
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307
4472
$as_echo "no" >&6; }
4308
4473
fi
4309
4474
 
4310
4475
 
4311
4476
if test -z "$INTLTOOL_PERL"; then
4312
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
4313
 
$as_echo "$as_me: error: perl not found" >&2;}
4314
 
   { (exit 1); exit 1; }; }
 
4477
   as_fn_error "perl not found" "$LINENO" 5
4315
4478
fi
4316
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
4479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4317
4480
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4318
4481
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4319
4482
if test $? -ne 0; then
4320
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
4321
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
4322
 
   { (exit 1); exit 1; }; }
 
4483
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
4323
4484
else
4324
4485
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4325
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
4486
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4326
4487
$as_echo "$IT_PERL_VERSION" >&6; }
4327
4488
fi
4328
4489
if test "x" != "xno-xml"; then
4329
 
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
4490
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4330
4491
$as_echo_n "checking for XML::Parser... " >&6; }
4331
4492
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4332
 
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
4493
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4333
4494
$as_echo "ok" >&6; }
4334
4495
   else
4335
 
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
4336
 
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
4337
 
   { (exit 1); exit 1; }; }
 
4496
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
4338
4497
   fi
4339
4498
fi
4340
4499
 
4344
4503
# Set DATADIRNAME correctly if it is not set yet
4345
4504
# (copied from glib-gettext.m4)
4346
4505
if test -z "$DATADIRNAME"; then
4347
 
  cat >conftest.$ac_ext <<_ACEOF
4348
 
/* confdefs.h.  */
4349
 
_ACEOF
4350
 
cat confdefs.h >>conftest.$ac_ext
4351
 
cat >>conftest.$ac_ext <<_ACEOF
 
4506
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352
4507
/* end confdefs.h.  */
4353
4508
 
4354
4509
int
4360
4515
  return 0;
4361
4516
}
4362
4517
_ACEOF
4363
 
rm -f conftest.$ac_objext conftest$ac_exeext
4364
 
if { (ac_try="$ac_link"
4365
 
case "(($ac_try" in
4366
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4367
 
  *) ac_try_echo=$ac_try;;
4368
 
esac
4369
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4370
 
$as_echo "$ac_try_echo") >&5
4371
 
  (eval "$ac_link") 2>conftest.er1
4372
 
  ac_status=$?
4373
 
  grep -v '^ *+' conftest.er1 >conftest.err
4374
 
  rm -f conftest.er1
4375
 
  cat conftest.err >&5
4376
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377
 
  (exit $ac_status); } && {
4378
 
         test -z "$ac_c_werror_flag" ||
4379
 
         test ! -s conftest.err
4380
 
       } && test -s conftest$ac_exeext && {
4381
 
         test "$cross_compiling" = yes ||
4382
 
         $as_test_x conftest$ac_exeext
4383
 
       }; then
 
4518
if ac_fn_c_try_link "$LINENO"; then :
4384
4519
  DATADIRNAME=share
4385
4520
else
4386
 
  $as_echo "$as_me: failed program was:" >&5
4387
 
sed 's/^/| /' conftest.$ac_ext >&5
4388
 
 
4389
 
        case $host in
 
4521
  case $host in
4390
4522
    *-*-solaris*)
4391
 
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4392
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
4393
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4394
 
  $as_echo_n "(cached) " >&6
4395
 
else
4396
 
  cat >conftest.$ac_ext <<_ACEOF
4397
 
/* confdefs.h.  */
4398
 
_ACEOF
4399
 
cat confdefs.h >>conftest.$ac_ext
4400
 
cat >>conftest.$ac_ext <<_ACEOF
4401
 
/* end confdefs.h.  */
4402
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4403
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4404
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4405
 
 
4406
 
/* System header to define __stub macros and hopefully few prototypes,
4407
 
    which can conflict with char bind_textdomain_codeset (); below.
4408
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4409
 
    <limits.h> exists even on freestanding compilers.  */
4410
 
 
4411
 
#ifdef __STDC__
4412
 
# include <limits.h>
4413
 
#else
4414
 
# include <assert.h>
4415
 
#endif
4416
 
 
4417
 
#undef bind_textdomain_codeset
4418
 
 
4419
 
/* Override any GCC internal prototype to avoid an error.
4420
 
   Use char because int might match the return type of a GCC
4421
 
   builtin and then its argument prototype would still apply.  */
4422
 
#ifdef __cplusplus
4423
 
extern "C"
4424
 
#endif
4425
 
char bind_textdomain_codeset ();
4426
 
/* The GNU C library defines this for functions which it implements
4427
 
    to always fail with ENOSYS.  Some functions are actually named
4428
 
    something starting with __ and the normal name is an alias.  */
4429
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
4430
 
choke me
4431
 
#endif
4432
 
 
4433
 
int
4434
 
main ()
4435
 
{
4436
 
return bind_textdomain_codeset ();
4437
 
  ;
4438
 
  return 0;
4439
 
}
4440
 
_ACEOF
4441
 
rm -f conftest.$ac_objext conftest$ac_exeext
4442
 
if { (ac_try="$ac_link"
4443
 
case "(($ac_try" in
4444
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4445
 
  *) ac_try_echo=$ac_try;;
4446
 
esac
4447
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4448
 
$as_echo "$ac_try_echo") >&5
4449
 
  (eval "$ac_link") 2>conftest.er1
4450
 
  ac_status=$?
4451
 
  grep -v '^ *+' conftest.er1 >conftest.err
4452
 
  rm -f conftest.er1
4453
 
  cat conftest.err >&5
4454
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455
 
  (exit $ac_status); } && {
4456
 
         test -z "$ac_c_werror_flag" ||
4457
 
         test ! -s conftest.err
4458
 
       } && test -s conftest$ac_exeext && {
4459
 
         test "$cross_compiling" = yes ||
4460
 
         $as_test_x conftest$ac_exeext
4461
 
       }; then
4462
 
  ac_cv_func_bind_textdomain_codeset=yes
4463
 
else
4464
 
  $as_echo "$as_me: failed program was:" >&5
4465
 
sed 's/^/| /' conftest.$ac_ext >&5
4466
 
 
4467
 
        ac_cv_func_bind_textdomain_codeset=no
4468
 
fi
4469
 
 
4470
 
rm -rf conftest.dSYM
4471
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4472
 
      conftest$ac_exeext conftest.$ac_ext
4473
 
fi
4474
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4475
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4476
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
4523
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4524
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4477
4525
  DATADIRNAME=share
4478
4526
else
4479
4527
  DATADIRNAME=lib
4485
4533
    ;;
4486
4534
    esac
4487
4535
fi
4488
 
 
4489
 
rm -rf conftest.dSYM
4490
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4491
 
      conftest$ac_exeext conftest.$ac_ext
 
4536
rm -f core conftest.err conftest.$ac_objext \
 
4537
    conftest$ac_exeext conftest.$ac_ext
4492
4538
fi
4493
4539
 
4494
4540
 
4504
4550
if test -n "$ac_tool_prefix"; then
4505
4551
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4506
4552
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4507
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4508
4554
$as_echo_n "checking for $ac_word... " >&6; }
4509
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4555
if test "${ac_cv_prog_CC+set}" = set; then :
4510
4556
  $as_echo_n "(cached) " >&6
4511
4557
else
4512
4558
  if test -n "$CC"; then
4517
4563
do
4518
4564
  IFS=$as_save_IFS
4519
4565
  test -z "$as_dir" && as_dir=.
4520
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4566
    for ac_exec_ext in '' $ac_executable_extensions; do
4521
4567
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4522
4568
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4523
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4569
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4524
4570
    break 2
4525
4571
  fi
4526
4572
done
4527
 
done
 
4573
  done
4528
4574
IFS=$as_save_IFS
4529
4575
 
4530
4576
fi
4531
4577
fi
4532
4578
CC=$ac_cv_prog_CC
4533
4579
if test -n "$CC"; then
4534
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4580
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4535
4581
$as_echo "$CC" >&6; }
4536
4582
else
4537
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4583
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4538
4584
$as_echo "no" >&6; }
4539
4585
fi
4540
4586
 
4544
4590
  ac_ct_CC=$CC
4545
4591
  # Extract the first word of "gcc", so it can be a program name with args.
4546
4592
set dummy gcc; ac_word=$2
4547
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548
4594
$as_echo_n "checking for $ac_word... " >&6; }
4549
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4595
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4550
4596
  $as_echo_n "(cached) " >&6
4551
4597
else
4552
4598
  if test -n "$ac_ct_CC"; then
4557
4603
do
4558
4604
  IFS=$as_save_IFS
4559
4605
  test -z "$as_dir" && as_dir=.
4560
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4606
    for ac_exec_ext in '' $ac_executable_extensions; do
4561
4607
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4562
4608
    ac_cv_prog_ac_ct_CC="gcc"
4563
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4609
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564
4610
    break 2
4565
4611
  fi
4566
4612
done
4567
 
done
 
4613
  done
4568
4614
IFS=$as_save_IFS
4569
4615
 
4570
4616
fi
4571
4617
fi
4572
4618
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4573
4619
if test -n "$ac_ct_CC"; then
4574
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4620
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4575
4621
$as_echo "$ac_ct_CC" >&6; }
4576
4622
else
4577
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4623
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578
4624
$as_echo "no" >&6; }
4579
4625
fi
4580
4626
 
4583
4629
  else
4584
4630
    case $cross_compiling:$ac_tool_warned in
4585
4631
yes:)
4586
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4632
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4587
4633
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4588
4634
ac_tool_warned=yes ;;
4589
4635
esac
4597
4643
          if test -n "$ac_tool_prefix"; then
4598
4644
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4599
4645
set dummy ${ac_tool_prefix}cc; ac_word=$2
4600
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601
4647
$as_echo_n "checking for $ac_word... " >&6; }
4602
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4648
if test "${ac_cv_prog_CC+set}" = set; then :
4603
4649
  $as_echo_n "(cached) " >&6
4604
4650
else
4605
4651
  if test -n "$CC"; then
4610
4656
do
4611
4657
  IFS=$as_save_IFS
4612
4658
  test -z "$as_dir" && as_dir=.
4613
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4659
    for ac_exec_ext in '' $ac_executable_extensions; do
4614
4660
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4615
4661
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4616
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4662
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617
4663
    break 2
4618
4664
  fi
4619
4665
done
4620
 
done
 
4666
  done
4621
4667
IFS=$as_save_IFS
4622
4668
 
4623
4669
fi
4624
4670
fi
4625
4671
CC=$ac_cv_prog_CC
4626
4672
if test -n "$CC"; then
4627
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4673
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4628
4674
$as_echo "$CC" >&6; }
4629
4675
else
4630
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4676
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631
4677
$as_echo "no" >&6; }
4632
4678
fi
4633
4679
 
4637
4683
if test -z "$CC"; then
4638
4684
  # Extract the first word of "cc", so it can be a program name with args.
4639
4685
set dummy cc; ac_word=$2
4640
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641
4687
$as_echo_n "checking for $ac_word... " >&6; }
4642
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4688
if test "${ac_cv_prog_CC+set}" = set; then :
4643
4689
  $as_echo_n "(cached) " >&6
4644
4690
else
4645
4691
  if test -n "$CC"; then
4651
4697
do
4652
4698
  IFS=$as_save_IFS
4653
4699
  test -z "$as_dir" && as_dir=.
4654
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4700
    for ac_exec_ext in '' $ac_executable_extensions; do
4655
4701
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4656
4702
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4657
4703
       ac_prog_rejected=yes
4658
4704
       continue
4659
4705
     fi
4660
4706
    ac_cv_prog_CC="cc"
4661
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4707
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662
4708
    break 2
4663
4709
  fi
4664
4710
done
4665
 
done
 
4711
  done
4666
4712
IFS=$as_save_IFS
4667
4713
 
4668
4714
if test $ac_prog_rejected = yes; then
4681
4727
fi
4682
4728
CC=$ac_cv_prog_CC
4683
4729
if test -n "$CC"; then
4684
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4730
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4685
4731
$as_echo "$CC" >&6; }
4686
4732
else
4687
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4733
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688
4734
$as_echo "no" >&6; }
4689
4735
fi
4690
4736
 
4696
4742
  do
4697
4743
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4698
4744
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4699
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700
4746
$as_echo_n "checking for $ac_word... " >&6; }
4701
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4747
if test "${ac_cv_prog_CC+set}" = set; then :
4702
4748
  $as_echo_n "(cached) " >&6
4703
4749
else
4704
4750
  if test -n "$CC"; then
4709
4755
do
4710
4756
  IFS=$as_save_IFS
4711
4757
  test -z "$as_dir" && as_dir=.
4712
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4758
    for ac_exec_ext in '' $ac_executable_extensions; do
4713
4759
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4714
4760
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4715
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4761
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4716
4762
    break 2
4717
4763
  fi
4718
4764
done
4719
 
done
 
4765
  done
4720
4766
IFS=$as_save_IFS
4721
4767
 
4722
4768
fi
4723
4769
fi
4724
4770
CC=$ac_cv_prog_CC
4725
4771
if test -n "$CC"; then
4726
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4772
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4727
4773
$as_echo "$CC" >&6; }
4728
4774
else
4729
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4775
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730
4776
$as_echo "no" >&6; }
4731
4777
fi
4732
4778
 
4740
4786
do
4741
4787
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4742
4788
set dummy $ac_prog; ac_word=$2
4743
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4744
4790
$as_echo_n "checking for $ac_word... " >&6; }
4745
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4791
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4746
4792
  $as_echo_n "(cached) " >&6
4747
4793
else
4748
4794
  if test -n "$ac_ct_CC"; then
4753
4799
do
4754
4800
  IFS=$as_save_IFS
4755
4801
  test -z "$as_dir" && as_dir=.
4756
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4802
    for ac_exec_ext in '' $ac_executable_extensions; do
4757
4803
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4758
4804
    ac_cv_prog_ac_ct_CC="$ac_prog"
4759
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4805
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4760
4806
    break 2
4761
4807
  fi
4762
4808
done
4763
 
done
 
4809
  done
4764
4810
IFS=$as_save_IFS
4765
4811
 
4766
4812
fi
4767
4813
fi
4768
4814
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4769
4815
if test -n "$ac_ct_CC"; then
4770
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4816
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4771
4817
$as_echo "$ac_ct_CC" >&6; }
4772
4818
else
4773
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4819
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4774
4820
$as_echo "no" >&6; }
4775
4821
fi
4776
4822
 
4783
4829
  else
4784
4830
    case $cross_compiling:$ac_tool_warned in
4785
4831
yes:)
4786
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4832
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4787
4833
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4788
4834
ac_tool_warned=yes ;;
4789
4835
esac
4794
4840
fi
4795
4841
 
4796
4842
 
4797
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4843
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4798
4844
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4799
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4800
 
See \`config.log' for more details." >&5
4801
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4802
 
See \`config.log' for more details." >&2;}
4803
 
   { (exit 1); exit 1; }; }; }
 
4845
as_fn_error "no acceptable C compiler found in \$PATH
 
4846
See \`config.log' for more details." "$LINENO" 5; }
4804
4847
 
4805
4848
# Provide some information about the compiler.
4806
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4849
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4807
4850
set X $ac_compile
4808
4851
ac_compiler=$2
4809
 
{ (ac_try="$ac_compiler --version >&5"
4810
 
case "(($ac_try" in
4811
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812
 
  *) ac_try_echo=$ac_try;;
4813
 
esac
4814
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4815
 
$as_echo "$ac_try_echo") >&5
4816
 
  (eval "$ac_compiler --version >&5") 2>&5
4817
 
  ac_status=$?
4818
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819
 
  (exit $ac_status); }
4820
 
{ (ac_try="$ac_compiler -v >&5"
4821
 
case "(($ac_try" in
4822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4823
 
  *) ac_try_echo=$ac_try;;
4824
 
esac
4825
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4826
 
$as_echo "$ac_try_echo") >&5
4827
 
  (eval "$ac_compiler -v >&5") 2>&5
4828
 
  ac_status=$?
4829
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830
 
  (exit $ac_status); }
4831
 
{ (ac_try="$ac_compiler -V >&5"
4832
 
case "(($ac_try" in
4833
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834
 
  *) ac_try_echo=$ac_try;;
4835
 
esac
4836
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4837
 
$as_echo "$ac_try_echo") >&5
4838
 
  (eval "$ac_compiler -V >&5") 2>&5
4839
 
  ac_status=$?
4840
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841
 
  (exit $ac_status); }
 
4852
for ac_option in --version -v -V -qversion; do
 
4853
  { { ac_try="$ac_compiler $ac_option >&5"
 
4854
case "(($ac_try" in
 
4855
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4856
  *) ac_try_echo=$ac_try;;
 
4857
esac
 
4858
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4859
$as_echo "$ac_try_echo"; } >&5
 
4860
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4861
  ac_status=$?
 
4862
  if test -s conftest.err; then
 
4863
    sed '10a\
 
4864
... rest of stderr output deleted ...
 
4865
         10q' conftest.err >conftest.er1
 
4866
    cat conftest.er1 >&5
 
4867
    rm -f conftest.er1 conftest.err
 
4868
  fi
 
4869
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4870
  test $ac_status = 0; }
 
4871
done
4842
4872
 
4843
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4844
4874
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4845
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
4875
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4846
4876
  $as_echo_n "(cached) " >&6
4847
4877
else
4848
 
  cat >conftest.$ac_ext <<_ACEOF
4849
 
/* confdefs.h.  */
4850
 
_ACEOF
4851
 
cat confdefs.h >>conftest.$ac_ext
4852
 
cat >>conftest.$ac_ext <<_ACEOF
 
4878
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853
4879
/* end confdefs.h.  */
4854
4880
 
4855
4881
int
4863
4889
  return 0;
4864
4890
}
4865
4891
_ACEOF
4866
 
rm -f conftest.$ac_objext
4867
 
if { (ac_try="$ac_compile"
4868
 
case "(($ac_try" in
4869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4870
 
  *) ac_try_echo=$ac_try;;
4871
 
esac
4872
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4873
 
$as_echo "$ac_try_echo") >&5
4874
 
  (eval "$ac_compile") 2>conftest.er1
4875
 
  ac_status=$?
4876
 
  grep -v '^ *+' conftest.er1 >conftest.err
4877
 
  rm -f conftest.er1
4878
 
  cat conftest.err >&5
4879
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880
 
  (exit $ac_status); } && {
4881
 
         test -z "$ac_c_werror_flag" ||
4882
 
         test ! -s conftest.err
4883
 
       } && test -s conftest.$ac_objext; then
 
4892
if ac_fn_c_try_compile "$LINENO"; then :
4884
4893
  ac_compiler_gnu=yes
4885
4894
else
4886
 
  $as_echo "$as_me: failed program was:" >&5
4887
 
sed 's/^/| /' conftest.$ac_ext >&5
4888
 
 
4889
 
        ac_compiler_gnu=no
 
4895
  ac_compiler_gnu=no
4890
4896
fi
4891
 
 
4892
4897
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4893
4898
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4894
4899
 
4895
4900
fi
4896
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4897
4902
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4898
4903
if test $ac_compiler_gnu = yes; then
4899
4904
  GCC=yes
4902
4907
fi
4903
4908
ac_test_CFLAGS=${CFLAGS+set}
4904
4909
ac_save_CFLAGS=$CFLAGS
4905
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4906
4911
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4907
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
4912
if test "${ac_cv_prog_cc_g+set}" = set; then :
4908
4913
  $as_echo_n "(cached) " >&6
4909
4914
else
4910
4915
  ac_save_c_werror_flag=$ac_c_werror_flag
4911
4916
   ac_c_werror_flag=yes
4912
4917
   ac_cv_prog_cc_g=no
4913
4918
   CFLAGS="-g"
4914
 
   cat >conftest.$ac_ext <<_ACEOF
4915
 
/* confdefs.h.  */
4916
 
_ACEOF
4917
 
cat confdefs.h >>conftest.$ac_ext
4918
 
cat >>conftest.$ac_ext <<_ACEOF
 
4919
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4919
4920
/* end confdefs.h.  */
4920
4921
 
4921
4922
int
4926
4927
  return 0;
4927
4928
}
4928
4929
_ACEOF
4929
 
rm -f conftest.$ac_objext
4930
 
if { (ac_try="$ac_compile"
4931
 
case "(($ac_try" in
4932
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4933
 
  *) ac_try_echo=$ac_try;;
4934
 
esac
4935
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4936
 
$as_echo "$ac_try_echo") >&5
4937
 
  (eval "$ac_compile") 2>conftest.er1
4938
 
  ac_status=$?
4939
 
  grep -v '^ *+' conftest.er1 >conftest.err
4940
 
  rm -f conftest.er1
4941
 
  cat conftest.err >&5
4942
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943
 
  (exit $ac_status); } && {
4944
 
         test -z "$ac_c_werror_flag" ||
4945
 
         test ! -s conftest.err
4946
 
       } && test -s conftest.$ac_objext; then
 
4930
if ac_fn_c_try_compile "$LINENO"; then :
4947
4931
  ac_cv_prog_cc_g=yes
4948
4932
else
4949
 
  $as_echo "$as_me: failed program was:" >&5
4950
 
sed 's/^/| /' conftest.$ac_ext >&5
4951
 
 
4952
 
        CFLAGS=""
4953
 
      cat >conftest.$ac_ext <<_ACEOF
4954
 
/* confdefs.h.  */
4955
 
_ACEOF
4956
 
cat confdefs.h >>conftest.$ac_ext
4957
 
cat >>conftest.$ac_ext <<_ACEOF
 
4933
  CFLAGS=""
 
4934
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958
4935
/* end confdefs.h.  */
4959
4936
 
4960
4937
int
4965
4942
  return 0;
4966
4943
}
4967
4944
_ACEOF
4968
 
rm -f conftest.$ac_objext
4969
 
if { (ac_try="$ac_compile"
4970
 
case "(($ac_try" in
4971
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4972
 
  *) ac_try_echo=$ac_try;;
4973
 
esac
4974
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4975
 
$as_echo "$ac_try_echo") >&5
4976
 
  (eval "$ac_compile") 2>conftest.er1
4977
 
  ac_status=$?
4978
 
  grep -v '^ *+' conftest.er1 >conftest.err
4979
 
  rm -f conftest.er1
4980
 
  cat conftest.err >&5
4981
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982
 
  (exit $ac_status); } && {
4983
 
         test -z "$ac_c_werror_flag" ||
4984
 
         test ! -s conftest.err
4985
 
       } && test -s conftest.$ac_objext; then
4986
 
  :
 
4945
if ac_fn_c_try_compile "$LINENO"; then :
 
4946
 
4987
4947
else
4988
 
  $as_echo "$as_me: failed program was:" >&5
4989
 
sed 's/^/| /' conftest.$ac_ext >&5
4990
 
 
4991
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4948
  ac_c_werror_flag=$ac_save_c_werror_flag
4992
4949
         CFLAGS="-g"
4993
 
         cat >conftest.$ac_ext <<_ACEOF
4994
 
/* confdefs.h.  */
4995
 
_ACEOF
4996
 
cat confdefs.h >>conftest.$ac_ext
4997
 
cat >>conftest.$ac_ext <<_ACEOF
 
4950
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998
4951
/* end confdefs.h.  */
4999
4952
 
5000
4953
int
5005
4958
  return 0;
5006
4959
}
5007
4960
_ACEOF
5008
 
rm -f conftest.$ac_objext
5009
 
if { (ac_try="$ac_compile"
5010
 
case "(($ac_try" in
5011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5012
 
  *) ac_try_echo=$ac_try;;
5013
 
esac
5014
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5015
 
$as_echo "$ac_try_echo") >&5
5016
 
  (eval "$ac_compile") 2>conftest.er1
5017
 
  ac_status=$?
5018
 
  grep -v '^ *+' conftest.er1 >conftest.err
5019
 
  rm -f conftest.er1
5020
 
  cat conftest.err >&5
5021
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022
 
  (exit $ac_status); } && {
5023
 
         test -z "$ac_c_werror_flag" ||
5024
 
         test ! -s conftest.err
5025
 
       } && test -s conftest.$ac_objext; then
 
4961
if ac_fn_c_try_compile "$LINENO"; then :
5026
4962
  ac_cv_prog_cc_g=yes
5027
 
else
5028
 
  $as_echo "$as_me: failed program was:" >&5
5029
 
sed 's/^/| /' conftest.$ac_ext >&5
5030
 
 
5031
 
 
5032
 
fi
5033
 
 
5034
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5035
 
fi
5036
 
 
5037
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5038
 
fi
5039
 
 
 
4963
fi
 
4964
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4965
fi
 
4966
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4967
fi
5040
4968
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5041
4969
   ac_c_werror_flag=$ac_save_c_werror_flag
5042
4970
fi
5043
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5044
4972
$as_echo "$ac_cv_prog_cc_g" >&6; }
5045
4973
if test "$ac_test_CFLAGS" = set; then
5046
4974
  CFLAGS=$ac_save_CFLAGS
5057
4985
    CFLAGS=
5058
4986
  fi
5059
4987
fi
5060
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5061
4989
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5062
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
4990
if test "${ac_cv_prog_cc_c89+set}" = set; then :
5063
4991
  $as_echo_n "(cached) " >&6
5064
4992
else
5065
4993
  ac_cv_prog_cc_c89=no
5066
4994
ac_save_CC=$CC
5067
 
cat >conftest.$ac_ext <<_ACEOF
5068
 
/* confdefs.h.  */
5069
 
_ACEOF
5070
 
cat confdefs.h >>conftest.$ac_ext
5071
 
cat >>conftest.$ac_ext <<_ACEOF
 
4995
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072
4996
/* end confdefs.h.  */
5073
4997
#include <stdarg.h>
5074
4998
#include <stdio.h>
5125
5049
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5126
5050
do
5127
5051
  CC="$ac_save_CC $ac_arg"
5128
 
  rm -f conftest.$ac_objext
5129
 
if { (ac_try="$ac_compile"
5130
 
case "(($ac_try" in
5131
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5132
 
  *) ac_try_echo=$ac_try;;
5133
 
esac
5134
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5135
 
$as_echo "$ac_try_echo") >&5
5136
 
  (eval "$ac_compile") 2>conftest.er1
5137
 
  ac_status=$?
5138
 
  grep -v '^ *+' conftest.er1 >conftest.err
5139
 
  rm -f conftest.er1
5140
 
  cat conftest.err >&5
5141
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142
 
  (exit $ac_status); } && {
5143
 
         test -z "$ac_c_werror_flag" ||
5144
 
         test ! -s conftest.err
5145
 
       } && test -s conftest.$ac_objext; then
 
5052
  if ac_fn_c_try_compile "$LINENO"; then :
5146
5053
  ac_cv_prog_cc_c89=$ac_arg
5147
 
else
5148
 
  $as_echo "$as_me: failed program was:" >&5
5149
 
sed 's/^/| /' conftest.$ac_ext >&5
5150
 
 
5151
 
 
5152
5054
fi
5153
 
 
5154
5055
rm -f core conftest.err conftest.$ac_objext
5155
5056
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5156
5057
done
5161
5062
# AC_CACHE_VAL
5162
5063
case "x$ac_cv_prog_cc_c89" in
5163
5064
  x)
5164
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
5065
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5165
5066
$as_echo "none needed" >&6; } ;;
5166
5067
  xno)
5167
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
5068
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5168
5069
$as_echo "unsupported" >&6; } ;;
5169
5070
  *)
5170
5071
    CC="$CC $ac_cv_prog_cc_c89"
5171
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5072
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5172
5073
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5173
5074
esac
 
5075
if test "x$ac_cv_prog_cc_c89" != xno; then :
5174
5076
 
 
5077
fi
5175
5078
 
5176
5079
ac_ext=c
5177
5080
ac_cpp='$CPP $CPPFLAGS'
5181
5084
 
5182
5085
depcc="$CC"   am_compiler_list=
5183
5086
 
5184
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5185
5088
$as_echo_n "checking dependency style of $depcc... " >&6; }
5186
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
5089
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5187
5090
  $as_echo_n "(cached) " >&6
5188
5091
else
5189
5092
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5209
5112
  if test "$am_compiler_list" = ""; then
5210
5113
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5211
5114
  fi
 
5115
  am__universal=false
 
5116
  case " $depcc " in #(
 
5117
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5118
     esac
 
5119
 
5212
5120
  for depmode in $am_compiler_list; do
5213
5121
    # Setup a source with many dependencies, because some compilers
5214
5122
    # like to wrap large dependency lists on column 80 (with \), and
5226
5134
    done
5227
5135
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5228
5136
 
 
5137
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5138
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5139
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5140
    # versions had trouble with output in subdirs
 
5141
    am__obj=sub/conftest.${OBJEXT-o}
 
5142
    am__minus_obj="-o $am__obj"
5229
5143
    case $depmode in
 
5144
    gcc)
 
5145
      # This depmode causes a compiler race in universal mode.
 
5146
      test "$am__universal" = false || continue
 
5147
      ;;
5230
5148
    nosideeffect)
5231
5149
      # after this tag, mechanisms are not by side-effect, so they'll
5232
5150
      # only be used when explicitly requested
5236
5154
        break
5237
5155
      fi
5238
5156
      ;;
 
5157
    msvisualcpp | msvcmsys)
 
5158
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5159
      # not run yet.  These depmodes are late enough in the game, and
 
5160
      # so weak that their functioning should not be impacted.
 
5161
      am__obj=conftest.${OBJEXT-o}
 
5162
      am__minus_obj=
 
5163
      ;;
5239
5164
    none) break ;;
5240
5165
    esac
5241
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5242
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5243
 
    # handle `-M -o', and we need to detect this.
5244
5166
    if depmode=$depmode \
5245
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5167
       source=sub/conftest.c object=$am__obj \
5246
5168
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5247
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5169
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5248
5170
         >/dev/null 2>conftest.err &&
 
5171
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5249
5172
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5250
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5173
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5251
5174
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5252
5175
      # icc doesn't choke on unknown options, it will just issue warnings
5253
5176
      # or remarks (even with -Werror).  So we grep stderr for any message
5271
5194
fi
5272
5195
 
5273
5196
fi
5274
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5275
5198
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5276
5199
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5277
5200
 
5278
 
 
5279
 
 
5280
 
if
 
5201
 if
5281
5202
  test "x$enable_dependency_tracking" != xno \
5282
5203
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5283
5204
  am__fastdepCC_TRUE=
5288
5209
fi
5289
5210
 
5290
5211
 
5291
 
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
5212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5292
5213
$as_echo_n "checking for library containing strerror... " >&6; }
5293
 
if test "${ac_cv_search_strerror+set}" = set; then
 
5214
if test "${ac_cv_search_strerror+set}" = set; then :
5294
5215
  $as_echo_n "(cached) " >&6
5295
5216
else
5296
5217
  ac_func_search_save_LIBS=$LIBS
5297
 
cat >conftest.$ac_ext <<_ACEOF
5298
 
/* confdefs.h.  */
5299
 
_ACEOF
5300
 
cat confdefs.h >>conftest.$ac_ext
5301
 
cat >>conftest.$ac_ext <<_ACEOF
 
5218
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5302
5219
/* end confdefs.h.  */
5303
5220
 
5304
5221
/* Override any GCC internal prototype to avoid an error.
5323
5240
    ac_res=-l$ac_lib
5324
5241
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5325
5242
  fi
5326
 
  rm -f conftest.$ac_objext conftest$ac_exeext
5327
 
if { (ac_try="$ac_link"
5328
 
case "(($ac_try" in
5329
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5330
 
  *) ac_try_echo=$ac_try;;
5331
 
esac
5332
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5333
 
$as_echo "$ac_try_echo") >&5
5334
 
  (eval "$ac_link") 2>conftest.er1
5335
 
  ac_status=$?
5336
 
  grep -v '^ *+' conftest.er1 >conftest.err
5337
 
  rm -f conftest.er1
5338
 
  cat conftest.err >&5
5339
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340
 
  (exit $ac_status); } && {
5341
 
         test -z "$ac_c_werror_flag" ||
5342
 
         test ! -s conftest.err
5343
 
       } && test -s conftest$ac_exeext && {
5344
 
         test "$cross_compiling" = yes ||
5345
 
         $as_test_x conftest$ac_exeext
5346
 
       }; then
 
5243
  if ac_fn_c_try_link "$LINENO"; then :
5347
5244
  ac_cv_search_strerror=$ac_res
5348
 
else
5349
 
  $as_echo "$as_me: failed program was:" >&5
5350
 
sed 's/^/| /' conftest.$ac_ext >&5
5351
 
 
5352
 
 
5353
5245
fi
5354
 
 
5355
 
rm -rf conftest.dSYM
5356
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5357
 
      conftest$ac_exeext
5358
 
  if test "${ac_cv_search_strerror+set}" = set; then
 
5246
rm -f core conftest.err conftest.$ac_objext \
 
5247
    conftest$ac_exeext
 
5248
  if test "${ac_cv_search_strerror+set}" = set; then :
5359
5249
  break
5360
5250
fi
5361
5251
done
5362
 
if test "${ac_cv_search_strerror+set}" = set; then
5363
 
  :
 
5252
if test "${ac_cv_search_strerror+set}" = set; then :
 
5253
 
5364
5254
else
5365
5255
  ac_cv_search_strerror=no
5366
5256
fi
5367
5257
rm conftest.$ac_ext
5368
5258
LIBS=$ac_func_search_save_LIBS
5369
5259
fi
5370
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
5260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5371
5261
$as_echo "$ac_cv_search_strerror" >&6; }
5372
5262
ac_res=$ac_cv_search_strerror
5373
 
if test "$ac_res" != no; then
 
5263
if test "$ac_res" != no; then :
5374
5264
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5375
5265
 
5376
5266
fi
5380
5270
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5381
5271
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5382
5272
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5383
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5384
5274
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5385
5275
# On Suns, sometimes $CPP names a directory.
5386
5276
if test -n "$CPP" && test -d "$CPP"; then
5387
5277
  CPP=
5388
5278
fi
5389
5279
if test -z "$CPP"; then
5390
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
5280
  if test "${ac_cv_prog_CPP+set}" = set; then :
5391
5281
  $as_echo_n "(cached) " >&6
5392
5282
else
5393
5283
      # Double quotes because CPP needs to be expanded
5402
5292
  # <limits.h> exists even on freestanding compilers.
5403
5293
  # On the NeXT, cc -E runs the code through the compiler's parser,
5404
5294
  # not just through cpp. "Syntax error" is here to catch this case.
5405
 
  cat >conftest.$ac_ext <<_ACEOF
5406
 
/* confdefs.h.  */
5407
 
_ACEOF
5408
 
cat confdefs.h >>conftest.$ac_ext
5409
 
cat >>conftest.$ac_ext <<_ACEOF
 
5295
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5410
5296
/* end confdefs.h.  */
5411
5297
#ifdef __STDC__
5412
5298
# include <limits.h>
5415
5301
#endif
5416
5302
                     Syntax error
5417
5303
_ACEOF
5418
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5419
 
case "(($ac_try" in
5420
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5421
 
  *) ac_try_echo=$ac_try;;
5422
 
esac
5423
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5424
 
$as_echo "$ac_try_echo") >&5
5425
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5426
 
  ac_status=$?
5427
 
  grep -v '^ *+' conftest.er1 >conftest.err
5428
 
  rm -f conftest.er1
5429
 
  cat conftest.err >&5
5430
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431
 
  (exit $ac_status); } >/dev/null && {
5432
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5433
 
         test ! -s conftest.err
5434
 
       }; then
5435
 
  :
 
5304
if ac_fn_c_try_cpp "$LINENO"; then :
 
5305
 
5436
5306
else
5437
 
  $as_echo "$as_me: failed program was:" >&5
5438
 
sed 's/^/| /' conftest.$ac_ext >&5
5439
 
 
5440
5307
  # Broken: fails on valid input.
5441
5308
continue
5442
5309
fi
5443
 
 
5444
5310
rm -f conftest.err conftest.$ac_ext
5445
5311
 
5446
5312
  # OK, works on sane cases.  Now check whether nonexistent headers
5447
5313
  # can be detected and how.
5448
 
  cat >conftest.$ac_ext <<_ACEOF
5449
 
/* confdefs.h.  */
5450
 
_ACEOF
5451
 
cat confdefs.h >>conftest.$ac_ext
5452
 
cat >>conftest.$ac_ext <<_ACEOF
 
5314
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453
5315
/* end confdefs.h.  */
5454
5316
#include <ac_nonexistent.h>
5455
5317
_ACEOF
5456
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5457
 
case "(($ac_try" in
5458
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5459
 
  *) ac_try_echo=$ac_try;;
5460
 
esac
5461
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5462
 
$as_echo "$ac_try_echo") >&5
5463
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5464
 
  ac_status=$?
5465
 
  grep -v '^ *+' conftest.er1 >conftest.err
5466
 
  rm -f conftest.er1
5467
 
  cat conftest.err >&5
5468
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469
 
  (exit $ac_status); } >/dev/null && {
5470
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5471
 
         test ! -s conftest.err
5472
 
       }; then
 
5318
if ac_fn_c_try_cpp "$LINENO"; then :
5473
5319
  # Broken: success on invalid input.
5474
5320
continue
5475
5321
else
5476
 
  $as_echo "$as_me: failed program was:" >&5
5477
 
sed 's/^/| /' conftest.$ac_ext >&5
5478
 
 
5479
5322
  # Passes both tests.
5480
5323
ac_preproc_ok=:
5481
5324
break
5482
5325
fi
5483
 
 
5484
5326
rm -f conftest.err conftest.$ac_ext
5485
5327
 
5486
5328
done
5487
5329
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5488
5330
rm -f conftest.err conftest.$ac_ext
5489
 
if $ac_preproc_ok; then
 
5331
if $ac_preproc_ok; then :
5490
5332
  break
5491
5333
fi
5492
5334
 
5498
5340
else
5499
5341
  ac_cv_prog_CPP=$CPP
5500
5342
fi
5501
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
5343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5502
5344
$as_echo "$CPP" >&6; }
5503
5345
ac_preproc_ok=false
5504
5346
for ac_c_preproc_warn_flag in '' yes
5509
5351
  # <limits.h> exists even on freestanding compilers.
5510
5352
  # On the NeXT, cc -E runs the code through the compiler's parser,
5511
5353
  # not just through cpp. "Syntax error" is here to catch this case.
5512
 
  cat >conftest.$ac_ext <<_ACEOF
5513
 
/* confdefs.h.  */
5514
 
_ACEOF
5515
 
cat confdefs.h >>conftest.$ac_ext
5516
 
cat >>conftest.$ac_ext <<_ACEOF
 
5354
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5517
5355
/* end confdefs.h.  */
5518
5356
#ifdef __STDC__
5519
5357
# include <limits.h>
5522
5360
#endif
5523
5361
                     Syntax error
5524
5362
_ACEOF
5525
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5526
 
case "(($ac_try" in
5527
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5528
 
  *) ac_try_echo=$ac_try;;
5529
 
esac
5530
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5531
 
$as_echo "$ac_try_echo") >&5
5532
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5533
 
  ac_status=$?
5534
 
  grep -v '^ *+' conftest.er1 >conftest.err
5535
 
  rm -f conftest.er1
5536
 
  cat conftest.err >&5
5537
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538
 
  (exit $ac_status); } >/dev/null && {
5539
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5540
 
         test ! -s conftest.err
5541
 
       }; then
5542
 
  :
 
5363
if ac_fn_c_try_cpp "$LINENO"; then :
 
5364
 
5543
5365
else
5544
 
  $as_echo "$as_me: failed program was:" >&5
5545
 
sed 's/^/| /' conftest.$ac_ext >&5
5546
 
 
5547
5366
  # Broken: fails on valid input.
5548
5367
continue
5549
5368
fi
5550
 
 
5551
5369
rm -f conftest.err conftest.$ac_ext
5552
5370
 
5553
5371
  # OK, works on sane cases.  Now check whether nonexistent headers
5554
5372
  # can be detected and how.
5555
 
  cat >conftest.$ac_ext <<_ACEOF
5556
 
/* confdefs.h.  */
5557
 
_ACEOF
5558
 
cat confdefs.h >>conftest.$ac_ext
5559
 
cat >>conftest.$ac_ext <<_ACEOF
 
5373
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5560
5374
/* end confdefs.h.  */
5561
5375
#include <ac_nonexistent.h>
5562
5376
_ACEOF
5563
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5564
 
case "(($ac_try" in
5565
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5566
 
  *) ac_try_echo=$ac_try;;
5567
 
esac
5568
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5569
 
$as_echo "$ac_try_echo") >&5
5570
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5571
 
  ac_status=$?
5572
 
  grep -v '^ *+' conftest.er1 >conftest.err
5573
 
  rm -f conftest.er1
5574
 
  cat conftest.err >&5
5575
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576
 
  (exit $ac_status); } >/dev/null && {
5577
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5578
 
         test ! -s conftest.err
5579
 
       }; then
 
5377
if ac_fn_c_try_cpp "$LINENO"; then :
5580
5378
  # Broken: success on invalid input.
5581
5379
continue
5582
5380
else
5583
 
  $as_echo "$as_me: failed program was:" >&5
5584
 
sed 's/^/| /' conftest.$ac_ext >&5
5585
 
 
5586
5381
  # Passes both tests.
5587
5382
ac_preproc_ok=:
5588
5383
break
5589
5384
fi
5590
 
 
5591
5385
rm -f conftest.err conftest.$ac_ext
5592
5386
 
5593
5387
done
5594
5388
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5595
5389
rm -f conftest.err conftest.$ac_ext
5596
 
if $ac_preproc_ok; then
5597
 
  :
 
5390
if $ac_preproc_ok; then :
 
5391
 
5598
5392
else
5599
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5393
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5600
5394
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5601
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5602
 
See \`config.log' for more details." >&5
5603
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5604
 
See \`config.log' for more details." >&2;}
5605
 
   { (exit 1); exit 1; }; }; }
 
5395
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
5396
See \`config.log' for more details." "$LINENO" 5; }
5606
5397
fi
5607
5398
 
5608
5399
ac_ext=c
5612
5403
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5613
5404
 
5614
5405
 
5615
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
5406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5616
5407
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5617
 
if test "${ac_cv_path_GREP+set}" = set; then
 
5408
if test "${ac_cv_path_GREP+set}" = set; then :
5618
5409
  $as_echo_n "(cached) " >&6
5619
5410
else
5620
5411
  if test -z "$GREP"; then
5625
5416
do
5626
5417
  IFS=$as_save_IFS
5627
5418
  test -z "$as_dir" && as_dir=.
5628
 
  for ac_prog in grep ggrep; do
 
5419
    for ac_prog in grep ggrep; do
5629
5420
    for ac_exec_ext in '' $ac_executable_extensions; do
5630
5421
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5631
5422
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5645
5436
    $as_echo 'GREP' >> "conftest.nl"
5646
5437
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5647
5438
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5648
 
    ac_count=`expr $ac_count + 1`
 
5439
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5649
5440
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5650
5441
      # Best one so far, save it but keep looking for a better one
5651
5442
      ac_cv_path_GREP="$ac_path_GREP"
5660
5451
      $ac_path_GREP_found && break 3
5661
5452
    done
5662
5453
  done
5663
 
done
 
5454
  done
5664
5455
IFS=$as_save_IFS
5665
5456
  if test -z "$ac_cv_path_GREP"; then
5666
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5667
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5668
 
   { (exit 1); exit 1; }; }
 
5457
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5669
5458
  fi
5670
5459
else
5671
5460
  ac_cv_path_GREP=$GREP
5672
5461
fi
5673
5462
 
5674
5463
fi
5675
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
5464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5676
5465
$as_echo "$ac_cv_path_GREP" >&6; }
5677
5466
 GREP="$ac_cv_path_GREP"
5678
5467
 
5679
5468
 
5680
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5681
5470
$as_echo_n "checking for egrep... " >&6; }
5682
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
5471
if test "${ac_cv_path_EGREP+set}" = set; then :
5683
5472
  $as_echo_n "(cached) " >&6
5684
5473
else
5685
5474
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5693
5482
do
5694
5483
  IFS=$as_save_IFS
5695
5484
  test -z "$as_dir" && as_dir=.
5696
 
  for ac_prog in egrep; do
 
5485
    for ac_prog in egrep; do
5697
5486
    for ac_exec_ext in '' $ac_executable_extensions; do
5698
5487
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5699
5488
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5713
5502
    $as_echo 'EGREP' >> "conftest.nl"
5714
5503
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5715
5504
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5716
 
    ac_count=`expr $ac_count + 1`
 
5505
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5717
5506
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5718
5507
      # Best one so far, save it but keep looking for a better one
5719
5508
      ac_cv_path_EGREP="$ac_path_EGREP"
5728
5517
      $ac_path_EGREP_found && break 3
5729
5518
    done
5730
5519
  done
5731
 
done
 
5520
  done
5732
5521
IFS=$as_save_IFS
5733
5522
  if test -z "$ac_cv_path_EGREP"; then
5734
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5735
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5736
 
   { (exit 1); exit 1; }; }
 
5523
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5737
5524
  fi
5738
5525
else
5739
5526
  ac_cv_path_EGREP=$EGREP
5741
5528
 
5742
5529
   fi
5743
5530
fi
5744
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
5531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5745
5532
$as_echo "$ac_cv_path_EGREP" >&6; }
5746
5533
 EGREP="$ac_cv_path_EGREP"
5747
5534
 
5748
5535
 
5749
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5536
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5750
5537
$as_echo_n "checking for ANSI C header files... " >&6; }
5751
 
if test "${ac_cv_header_stdc+set}" = set; then
 
5538
if test "${ac_cv_header_stdc+set}" = set; then :
5752
5539
  $as_echo_n "(cached) " >&6
5753
5540
else
5754
 
  cat >conftest.$ac_ext <<_ACEOF
5755
 
/* confdefs.h.  */
5756
 
_ACEOF
5757
 
cat confdefs.h >>conftest.$ac_ext
5758
 
cat >>conftest.$ac_ext <<_ACEOF
 
5541
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5759
5542
/* end confdefs.h.  */
5760
5543
#include <stdlib.h>
5761
5544
#include <stdarg.h>
5770
5553
  return 0;
5771
5554
}
5772
5555
_ACEOF
5773
 
rm -f conftest.$ac_objext
5774
 
if { (ac_try="$ac_compile"
5775
 
case "(($ac_try" in
5776
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5777
 
  *) ac_try_echo=$ac_try;;
5778
 
esac
5779
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5780
 
$as_echo "$ac_try_echo") >&5
5781
 
  (eval "$ac_compile") 2>conftest.er1
5782
 
  ac_status=$?
5783
 
  grep -v '^ *+' conftest.er1 >conftest.err
5784
 
  rm -f conftest.er1
5785
 
  cat conftest.err >&5
5786
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787
 
  (exit $ac_status); } && {
5788
 
         test -z "$ac_c_werror_flag" ||
5789
 
         test ! -s conftest.err
5790
 
       } && test -s conftest.$ac_objext; then
 
5556
if ac_fn_c_try_compile "$LINENO"; then :
5791
5557
  ac_cv_header_stdc=yes
5792
5558
else
5793
 
  $as_echo "$as_me: failed program was:" >&5
5794
 
sed 's/^/| /' conftest.$ac_ext >&5
5795
 
 
5796
 
        ac_cv_header_stdc=no
 
5559
  ac_cv_header_stdc=no
5797
5560
fi
5798
 
 
5799
5561
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5800
5562
 
5801
5563
if test $ac_cv_header_stdc = yes; then
5802
5564
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5803
 
  cat >conftest.$ac_ext <<_ACEOF
5804
 
/* confdefs.h.  */
5805
 
_ACEOF
5806
 
cat confdefs.h >>conftest.$ac_ext
5807
 
cat >>conftest.$ac_ext <<_ACEOF
 
5565
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5808
5566
/* end confdefs.h.  */
5809
5567
#include <string.h>
5810
5568
 
5811
5569
_ACEOF
5812
5570
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5813
 
  $EGREP "memchr" >/dev/null 2>&1; then
5814
 
  :
 
5571
  $EGREP "memchr" >/dev/null 2>&1; then :
 
5572
 
5815
5573
else
5816
5574
  ac_cv_header_stdc=no
5817
5575
fi
5821
5579
 
5822
5580
if test $ac_cv_header_stdc = yes; then
5823
5581
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5824
 
  cat >conftest.$ac_ext <<_ACEOF
5825
 
/* confdefs.h.  */
5826
 
_ACEOF
5827
 
cat confdefs.h >>conftest.$ac_ext
5828
 
cat >>conftest.$ac_ext <<_ACEOF
 
5582
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5829
5583
/* end confdefs.h.  */
5830
5584
#include <stdlib.h>
5831
5585
 
5832
5586
_ACEOF
5833
5587
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5834
 
  $EGREP "free" >/dev/null 2>&1; then
5835
 
  :
 
5588
  $EGREP "free" >/dev/null 2>&1; then :
 
5589
 
5836
5590
else
5837
5591
  ac_cv_header_stdc=no
5838
5592
fi
5842
5596
 
5843
5597
if test $ac_cv_header_stdc = yes; then
5844
5598
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5845
 
  if test "$cross_compiling" = yes; then
 
5599
  if test "$cross_compiling" = yes; then :
5846
5600
  :
5847
5601
else
5848
 
  cat >conftest.$ac_ext <<_ACEOF
5849
 
/* confdefs.h.  */
5850
 
_ACEOF
5851
 
cat confdefs.h >>conftest.$ac_ext
5852
 
cat >>conftest.$ac_ext <<_ACEOF
 
5602
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5853
5603
/* end confdefs.h.  */
5854
5604
#include <ctype.h>
5855
5605
#include <stdlib.h>
5876
5626
  return 0;
5877
5627
}
5878
5628
_ACEOF
5879
 
rm -f conftest$ac_exeext
5880
 
if { (ac_try="$ac_link"
5881
 
case "(($ac_try" in
5882
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5883
 
  *) ac_try_echo=$ac_try;;
5884
 
esac
5885
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5886
 
$as_echo "$ac_try_echo") >&5
5887
 
  (eval "$ac_link") 2>&5
5888
 
  ac_status=$?
5889
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5891
 
  { (case "(($ac_try" in
5892
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5893
 
  *) ac_try_echo=$ac_try;;
5894
 
esac
5895
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5896
 
$as_echo "$ac_try_echo") >&5
5897
 
  (eval "$ac_try") 2>&5
5898
 
  ac_status=$?
5899
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900
 
  (exit $ac_status); }; }; then
5901
 
  :
 
5629
if ac_fn_c_try_run "$LINENO"; then :
 
5630
 
5902
5631
else
5903
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
5904
 
$as_echo "$as_me: failed program was:" >&5
5905
 
sed 's/^/| /' conftest.$ac_ext >&5
5906
 
 
5907
 
( exit $ac_status )
5908
 
ac_cv_header_stdc=no
5909
 
fi
5910
 
rm -rf conftest.dSYM
5911
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5912
 
fi
5913
 
 
5914
 
 
5915
 
fi
5916
 
fi
5917
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5632
  ac_cv_header_stdc=no
 
5633
fi
 
5634
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5635
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5636
fi
 
5637
 
 
5638
fi
 
5639
fi
 
5640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5918
5641
$as_echo "$ac_cv_header_stdc" >&6; }
5919
5642
if test $ac_cv_header_stdc = yes; then
5920
5643
 
5921
 
cat >>confdefs.h <<\_ACEOF
5922
 
#define STDC_HEADERS 1
5923
 
_ACEOF
 
5644
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5924
5645
 
5925
5646
fi
5926
5647
 
5927
5648
case `pwd` in
5928
5649
  *\ * | *\     *)
5929
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5650
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5930
5651
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5931
5652
esac
5932
5653
 
5951
5672
 
5952
5673
# Make sure we can run config.sub.
5953
5674
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5954
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5955
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5956
 
   { (exit 1); exit 1; }; }
 
5675
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5957
5676
 
5958
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
5677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5959
5678
$as_echo_n "checking build system type... " >&6; }
5960
 
if test "${ac_cv_build+set}" = set; then
 
5679
if test "${ac_cv_build+set}" = set; then :
5961
5680
  $as_echo_n "(cached) " >&6
5962
5681
else
5963
5682
  ac_build_alias=$build_alias
5964
5683
test "x$ac_build_alias" = x &&
5965
5684
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5966
5685
test "x$ac_build_alias" = x &&
5967
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5968
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5969
 
   { (exit 1); exit 1; }; }
 
5686
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
5970
5687
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5971
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5972
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5973
 
   { (exit 1); exit 1; }; }
 
5688
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5974
5689
 
5975
5690
fi
5976
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
5691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5977
5692
$as_echo "$ac_cv_build" >&6; }
5978
5693
case $ac_cv_build in
5979
5694
*-*-*) ;;
5980
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5981
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
5982
 
   { (exit 1); exit 1; }; };;
 
5695
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
5983
5696
esac
5984
5697
build=$ac_cv_build
5985
5698
ac_save_IFS=$IFS; IFS='-'
5995
5708
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5996
5709
 
5997
5710
 
5998
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
5711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5999
5712
$as_echo_n "checking host system type... " >&6; }
6000
 
if test "${ac_cv_host+set}" = set; then
 
5713
if test "${ac_cv_host+set}" = set; then :
6001
5714
  $as_echo_n "(cached) " >&6
6002
5715
else
6003
5716
  if test "x$host_alias" = x; then
6004
5717
  ac_cv_host=$ac_cv_build
6005
5718
else
6006
5719
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6007
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6008
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6009
 
   { (exit 1); exit 1; }; }
 
5720
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6010
5721
fi
6011
5722
 
6012
5723
fi
6013
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
5724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6014
5725
$as_echo "$ac_cv_host" >&6; }
6015
5726
case $ac_cv_host in
6016
5727
*-*-*) ;;
6017
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6018
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
6019
 
   { (exit 1); exit 1; }; };;
 
5728
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
6020
5729
esac
6021
5730
host=$ac_cv_host
6022
5731
ac_save_IFS=$IFS; IFS='-'
6032
5741
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6033
5742
 
6034
5743
 
6035
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
5744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6036
5745
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6037
 
if test "${ac_cv_path_SED+set}" = set; then
 
5746
if test "${ac_cv_path_SED+set}" = set; then :
6038
5747
  $as_echo_n "(cached) " >&6
6039
5748
else
6040
5749
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6042
5751
       ac_script="$ac_script$as_nl$ac_script"
6043
5752
     done
6044
5753
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6045
 
     $as_unset ac_script || ac_script=
 
5754
     { ac_script=; unset ac_script;}
6046
5755
     if test -z "$SED"; then
6047
5756
  ac_path_SED_found=false
6048
5757
  # Loop through the user's path and test for each of PROGNAME-LIST
6051
5760
do
6052
5761
  IFS=$as_save_IFS
6053
5762
  test -z "$as_dir" && as_dir=.
6054
 
  for ac_prog in sed gsed; do
 
5763
    for ac_prog in sed gsed; do
6055
5764
    for ac_exec_ext in '' $ac_executable_extensions; do
6056
5765
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6057
5766
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6071
5780
    $as_echo '' >> "conftest.nl"
6072
5781
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6073
5782
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6074
 
    ac_count=`expr $ac_count + 1`
 
5783
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6075
5784
    if test $ac_count -gt ${ac_path_SED_max-0}; then
6076
5785
      # Best one so far, save it but keep looking for a better one
6077
5786
      ac_cv_path_SED="$ac_path_SED"
6086
5795
      $ac_path_SED_found && break 3
6087
5796
    done
6088
5797
  done
6089
 
done
 
5798
  done
6090
5799
IFS=$as_save_IFS
6091
5800
  if test -z "$ac_cv_path_SED"; then
6092
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
6093
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
6094
 
   { (exit 1); exit 1; }; }
 
5801
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6095
5802
  fi
6096
5803
else
6097
5804
  ac_cv_path_SED=$SED
6098
5805
fi
6099
5806
 
6100
5807
fi
6101
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
5808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6102
5809
$as_echo "$ac_cv_path_SED" >&6; }
6103
5810
 SED="$ac_cv_path_SED"
6104
5811
  rm -f conftest.sed
6116
5823
 
6117
5824
 
6118
5825
 
6119
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
5826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6120
5827
$as_echo_n "checking for fgrep... " >&6; }
6121
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
5828
if test "${ac_cv_path_FGREP+set}" = set; then :
6122
5829
  $as_echo_n "(cached) " >&6
6123
5830
else
6124
5831
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6132
5839
do
6133
5840
  IFS=$as_save_IFS
6134
5841
  test -z "$as_dir" && as_dir=.
6135
 
  for ac_prog in fgrep; do
 
5842
    for ac_prog in fgrep; do
6136
5843
    for ac_exec_ext in '' $ac_executable_extensions; do
6137
5844
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6138
5845
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6152
5859
    $as_echo 'FGREP' >> "conftest.nl"
6153
5860
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6154
5861
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6155
 
    ac_count=`expr $ac_count + 1`
 
5862
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6156
5863
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6157
5864
      # Best one so far, save it but keep looking for a better one
6158
5865
      ac_cv_path_FGREP="$ac_path_FGREP"
6167
5874
      $ac_path_FGREP_found && break 3
6168
5875
    done
6169
5876
  done
6170
 
done
 
5877
  done
6171
5878
IFS=$as_save_IFS
6172
5879
  if test -z "$ac_cv_path_FGREP"; then
6173
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6174
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6175
 
   { (exit 1); exit 1; }; }
 
5880
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6176
5881
  fi
6177
5882
else
6178
5883
  ac_cv_path_FGREP=$FGREP
6180
5885
 
6181
5886
   fi
6182
5887
fi
6183
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
5888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6184
5889
$as_echo "$ac_cv_path_FGREP" >&6; }
6185
5890
 FGREP="$ac_cv_path_FGREP"
6186
5891
 
6206
5911
 
6207
5912
 
6208
5913
# Check whether --with-gnu-ld was given.
6209
 
if test "${with_gnu_ld+set}" = set; then
 
5914
if test "${with_gnu_ld+set}" = set; then :
6210
5915
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6211
5916
else
6212
5917
  with_gnu_ld=no
6215
5920
ac_prog=ld
6216
5921
if test "$GCC" = yes; then
6217
5922
  # Check if gcc -print-prog-name=ld gives a path.
6218
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5923
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6219
5924
$as_echo_n "checking for ld used by $CC... " >&6; }
6220
5925
  case $host in
6221
5926
  *-*-mingw*)
6245
5950
    ;;
6246
5951
  esac
6247
5952
elif test "$with_gnu_ld" = yes; then
6248
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5953
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6249
5954
$as_echo_n "checking for GNU ld... " >&6; }
6250
5955
else
6251
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5956
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6252
5957
$as_echo_n "checking for non-GNU ld... " >&6; }
6253
5958
fi
6254
 
if test "${lt_cv_path_LD+set}" = set; then
 
5959
if test "${lt_cv_path_LD+set}" = set; then :
6255
5960
  $as_echo_n "(cached) " >&6
6256
5961
else
6257
5962
  if test -z "$LD"; then
6282
5987
 
6283
5988
LD="$lt_cv_path_LD"
6284
5989
if test -n "$LD"; then
6285
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6286
5991
$as_echo "$LD" >&6; }
6287
5992
else
6288
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5993
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289
5994
$as_echo "no" >&6; }
6290
5995
fi
6291
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6292
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6293
 
   { (exit 1); exit 1; }; }
6294
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5996
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6295
5998
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6296
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
5999
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6297
6000
  $as_echo_n "(cached) " >&6
6298
6001
else
6299
6002
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6306
6009
  ;;
6307
6010
esac
6308
6011
fi
6309
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
6012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6310
6013
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6311
6014
with_gnu_ld=$lt_cv_prog_gnu_ld
6312
6015
 
6318
6021
 
6319
6022
 
6320
6023
 
6321
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6322
6025
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6323
 
if test "${lt_cv_path_NM+set}" = set; then
 
6026
if test "${lt_cv_path_NM+set}" = set; then :
6324
6027
  $as_echo_n "(cached) " >&6
6325
6028
else
6326
6029
  if test -n "$NM"; then
6367
6070
  : ${lt_cv_path_NM=no}
6368
6071
fi
6369
6072
fi
6370
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
6073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6371
6074
$as_echo "$lt_cv_path_NM" >&6; }
6372
6075
if test "$lt_cv_path_NM" != "no"; then
6373
6076
  NM="$lt_cv_path_NM"
6378
6081
  do
6379
6082
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6380
6083
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6381
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382
6085
$as_echo_n "checking for $ac_word... " >&6; }
6383
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
6086
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6384
6087
  $as_echo_n "(cached) " >&6
6385
6088
else
6386
6089
  if test -n "$DUMPBIN"; then
6391
6094
do
6392
6095
  IFS=$as_save_IFS
6393
6096
  test -z "$as_dir" && as_dir=.
6394
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6097
    for ac_exec_ext in '' $ac_executable_extensions; do
6395
6098
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6396
6099
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6397
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6100
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6398
6101
    break 2
6399
6102
  fi
6400
6103
done
6401
 
done
 
6104
  done
6402
6105
IFS=$as_save_IFS
6403
6106
 
6404
6107
fi
6405
6108
fi
6406
6109
DUMPBIN=$ac_cv_prog_DUMPBIN
6407
6110
if test -n "$DUMPBIN"; then
6408
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
6111
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6409
6112
$as_echo "$DUMPBIN" >&6; }
6410
6113
else
6411
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6114
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412
6115
$as_echo "no" >&6; }
6413
6116
fi
6414
6117
 
6422
6125
do
6423
6126
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6424
6127
set dummy $ac_prog; ac_word=$2
6425
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426
6129
$as_echo_n "checking for $ac_word... " >&6; }
6427
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
6130
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6428
6131
  $as_echo_n "(cached) " >&6
6429
6132
else
6430
6133
  if test -n "$ac_ct_DUMPBIN"; then
6435
6138
do
6436
6139
  IFS=$as_save_IFS
6437
6140
  test -z "$as_dir" && as_dir=.
6438
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6141
    for ac_exec_ext in '' $ac_executable_extensions; do
6439
6142
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440
6143
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6441
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6144
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442
6145
    break 2
6443
6146
  fi
6444
6147
done
6445
 
done
 
6148
  done
6446
6149
IFS=$as_save_IFS
6447
6150
 
6448
6151
fi
6449
6152
fi
6450
6153
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6451
6154
if test -n "$ac_ct_DUMPBIN"; then
6452
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
6155
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6453
6156
$as_echo "$ac_ct_DUMPBIN" >&6; }
6454
6157
else
6455
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6158
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456
6159
$as_echo "no" >&6; }
6457
6160
fi
6458
6161
 
6465
6168
  else
6466
6169
    case $cross_compiling:$ac_tool_warned in
6467
6170
yes:)
6468
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6171
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6469
6172
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6470
6173
ac_tool_warned=yes ;;
6471
6174
esac
6485
6188
 
6486
6189
 
6487
6190
 
6488
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
6191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6489
6192
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6490
 
if test "${lt_cv_nm_interface+set}" = set; then
 
6193
if test "${lt_cv_nm_interface+set}" = set; then :
6491
6194
  $as_echo_n "(cached) " >&6
6492
6195
else
6493
6196
  lt_cv_nm_interface="BSD nm"
6494
6197
  echo "int some_variable = 0;" > conftest.$ac_ext
6495
 
  (eval echo "\"\$as_me:6495: $ac_compile\"" >&5)
 
6198
  (eval echo "\"\$as_me:6198: $ac_compile\"" >&5)
6496
6199
  (eval "$ac_compile" 2>conftest.err)
6497
6200
  cat conftest.err >&5
6498
 
  (eval echo "\"\$as_me:6498: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6201
  (eval echo "\"\$as_me:6201: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6499
6202
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6500
6203
  cat conftest.err >&5
6501
 
  (eval echo "\"\$as_me:6501: output\"" >&5)
 
6204
  (eval echo "\"\$as_me:6204: output\"" >&5)
6502
6205
  cat conftest.out >&5
6503
6206
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6504
6207
    lt_cv_nm_interface="MS dumpbin"
6505
6208
  fi
6506
6209
  rm -f conftest*
6507
6210
fi
6508
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
6211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6509
6212
$as_echo "$lt_cv_nm_interface" >&6; }
6510
6213
 
6511
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
6214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6512
6215
$as_echo_n "checking whether ln -s works... " >&6; }
6513
6216
LN_S=$as_ln_s
6514
6217
if test "$LN_S" = "ln -s"; then
6515
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
6218
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6516
6219
$as_echo "yes" >&6; }
6517
6220
else
6518
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
6221
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6519
6222
$as_echo "no, using $LN_S" >&6; }
6520
6223
fi
6521
6224
 
6522
6225
# find the maximum length of command line arguments
6523
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6524
6227
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6525
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
6228
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6526
6229
  $as_echo_n "(cached) " >&6
6527
6230
else
6528
6231
    i=0
6640
6343
fi
6641
6344
 
6642
6345
if test -n $lt_cv_sys_max_cmd_len ; then
6643
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6346
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6644
6347
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6645
6348
else
6646
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6349
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6647
6350
$as_echo "none" >&6; }
6648
6351
fi
6649
6352
max_cmd_len=$lt_cv_sys_max_cmd_len
6657
6360
: ${MV="mv -f"}
6658
6361
: ${RM="rm -f"}
6659
6362
 
6660
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
6363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6661
6364
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6662
6365
# Try some XSI features
6663
6366
xsi_shell=no
6667
6370
    && eval 'test $(( 1 + 1 )) -eq 2 \
6668
6371
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6669
6372
  && xsi_shell=yes
6670
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
6373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6671
6374
$as_echo "$xsi_shell" >&6; }
6672
6375
 
6673
6376
 
6674
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
6377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6675
6378
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6676
6379
lt_shell_append=no
6677
6380
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6678
6381
    >/dev/null 2>&1 \
6679
6382
  && lt_shell_append=yes
6680
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
6383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6681
6384
$as_echo "$lt_shell_append" >&6; }
6682
6385
 
6683
6386
 
6712
6415
 
6713
6416
 
6714
6417
 
6715
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6716
6419
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6717
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6420
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6718
6421
  $as_echo_n "(cached) " >&6
6719
6422
else
6720
6423
  lt_cv_ld_reload_flag='-r'
6721
6424
fi
6722
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6723
6426
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6724
6427
reload_flag=$lt_cv_ld_reload_flag
6725
6428
case $reload_flag in
6748
6451
if test -n "$ac_tool_prefix"; then
6749
6452
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6750
6453
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6751
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752
6455
$as_echo_n "checking for $ac_word... " >&6; }
6753
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
6456
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6754
6457
  $as_echo_n "(cached) " >&6
6755
6458
else
6756
6459
  if test -n "$OBJDUMP"; then
6761
6464
do
6762
6465
  IFS=$as_save_IFS
6763
6466
  test -z "$as_dir" && as_dir=.
6764
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6467
    for ac_exec_ext in '' $ac_executable_extensions; do
6765
6468
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6766
6469
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6767
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6470
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6768
6471
    break 2
6769
6472
  fi
6770
6473
done
6771
 
done
 
6474
  done
6772
6475
IFS=$as_save_IFS
6773
6476
 
6774
6477
fi
6775
6478
fi
6776
6479
OBJDUMP=$ac_cv_prog_OBJDUMP
6777
6480
if test -n "$OBJDUMP"; then
6778
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6481
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6779
6482
$as_echo "$OBJDUMP" >&6; }
6780
6483
else
6781
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6484
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6782
6485
$as_echo "no" >&6; }
6783
6486
fi
6784
6487
 
6788
6491
  ac_ct_OBJDUMP=$OBJDUMP
6789
6492
  # Extract the first word of "objdump", so it can be a program name with args.
6790
6493
set dummy objdump; ac_word=$2
6791
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792
6495
$as_echo_n "checking for $ac_word... " >&6; }
6793
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6496
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6794
6497
  $as_echo_n "(cached) " >&6
6795
6498
else
6796
6499
  if test -n "$ac_ct_OBJDUMP"; then
6801
6504
do
6802
6505
  IFS=$as_save_IFS
6803
6506
  test -z "$as_dir" && as_dir=.
6804
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6507
    for ac_exec_ext in '' $ac_executable_extensions; do
6805
6508
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6806
6509
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6807
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6510
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6808
6511
    break 2
6809
6512
  fi
6810
6513
done
6811
 
done
 
6514
  done
6812
6515
IFS=$as_save_IFS
6813
6516
 
6814
6517
fi
6815
6518
fi
6816
6519
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6817
6520
if test -n "$ac_ct_OBJDUMP"; then
6818
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6819
6522
$as_echo "$ac_ct_OBJDUMP" >&6; }
6820
6523
else
6821
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822
6525
$as_echo "no" >&6; }
6823
6526
fi
6824
6527
 
6827
6530
  else
6828
6531
    case $cross_compiling:$ac_tool_warned in
6829
6532
yes:)
6830
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6533
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6831
6534
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6832
6535
ac_tool_warned=yes ;;
6833
6536
esac
6847
6550
 
6848
6551
 
6849
6552
 
6850
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6851
6554
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6852
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
6555
if test "${lt_cv_deplibs_check_method+set}" = set; then :
6853
6556
  $as_echo_n "(cached) " >&6
6854
6557
else
6855
6558
  lt_cv_file_magic_cmd='$MAGIC_CMD'
7043
6746
esac
7044
6747
 
7045
6748
fi
7046
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7047
6750
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7048
6751
file_magic_cmd=$lt_cv_file_magic_cmd
7049
6752
deplibs_check_method=$lt_cv_deplibs_check_method
7063
6766
if test -n "$ac_tool_prefix"; then
7064
6767
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7065
6768
set dummy ${ac_tool_prefix}ar; ac_word=$2
7066
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067
6770
$as_echo_n "checking for $ac_word... " >&6; }
7068
 
if test "${ac_cv_prog_AR+set}" = set; then
 
6771
if test "${ac_cv_prog_AR+set}" = set; then :
7069
6772
  $as_echo_n "(cached) " >&6
7070
6773
else
7071
6774
  if test -n "$AR"; then
7076
6779
do
7077
6780
  IFS=$as_save_IFS
7078
6781
  test -z "$as_dir" && as_dir=.
7079
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6782
    for ac_exec_ext in '' $ac_executable_extensions; do
7080
6783
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7081
6784
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7082
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6785
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7083
6786
    break 2
7084
6787
  fi
7085
6788
done
7086
 
done
 
6789
  done
7087
6790
IFS=$as_save_IFS
7088
6791
 
7089
6792
fi
7090
6793
fi
7091
6794
AR=$ac_cv_prog_AR
7092
6795
if test -n "$AR"; then
7093
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6796
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7094
6797
$as_echo "$AR" >&6; }
7095
6798
else
7096
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6799
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097
6800
$as_echo "no" >&6; }
7098
6801
fi
7099
6802
 
7103
6806
  ac_ct_AR=$AR
7104
6807
  # Extract the first word of "ar", so it can be a program name with args.
7105
6808
set dummy ar; ac_word=$2
7106
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107
6810
$as_echo_n "checking for $ac_word... " >&6; }
7108
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
6811
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7109
6812
  $as_echo_n "(cached) " >&6
7110
6813
else
7111
6814
  if test -n "$ac_ct_AR"; then
7116
6819
do
7117
6820
  IFS=$as_save_IFS
7118
6821
  test -z "$as_dir" && as_dir=.
7119
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6822
    for ac_exec_ext in '' $ac_executable_extensions; do
7120
6823
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7121
6824
    ac_cv_prog_ac_ct_AR="ar"
7122
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6825
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123
6826
    break 2
7124
6827
  fi
7125
6828
done
7126
 
done
 
6829
  done
7127
6830
IFS=$as_save_IFS
7128
6831
 
7129
6832
fi
7130
6833
fi
7131
6834
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7132
6835
if test -n "$ac_ct_AR"; then
7133
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6836
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7134
6837
$as_echo "$ac_ct_AR" >&6; }
7135
6838
else
7136
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6839
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137
6840
$as_echo "no" >&6; }
7138
6841
fi
7139
6842
 
7142
6845
  else
7143
6846
    case $cross_compiling:$ac_tool_warned in
7144
6847
yes:)
7145
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6848
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7146
6849
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7147
6850
ac_tool_warned=yes ;;
7148
6851
esac
7168
6871
if test -n "$ac_tool_prefix"; then
7169
6872
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7170
6873
set dummy ${ac_tool_prefix}strip; ac_word=$2
7171
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172
6875
$as_echo_n "checking for $ac_word... " >&6; }
7173
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6876
if test "${ac_cv_prog_STRIP+set}" = set; then :
7174
6877
  $as_echo_n "(cached) " >&6
7175
6878
else
7176
6879
  if test -n "$STRIP"; then
7181
6884
do
7182
6885
  IFS=$as_save_IFS
7183
6886
  test -z "$as_dir" && as_dir=.
7184
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6887
    for ac_exec_ext in '' $ac_executable_extensions; do
7185
6888
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7186
6889
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7187
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6890
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7188
6891
    break 2
7189
6892
  fi
7190
6893
done
7191
 
done
 
6894
  done
7192
6895
IFS=$as_save_IFS
7193
6896
 
7194
6897
fi
7195
6898
fi
7196
6899
STRIP=$ac_cv_prog_STRIP
7197
6900
if test -n "$STRIP"; then
7198
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7199
6902
$as_echo "$STRIP" >&6; }
7200
6903
else
7201
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6904
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202
6905
$as_echo "no" >&6; }
7203
6906
fi
7204
6907
 
7208
6911
  ac_ct_STRIP=$STRIP
7209
6912
  # Extract the first word of "strip", so it can be a program name with args.
7210
6913
set dummy strip; ac_word=$2
7211
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212
6915
$as_echo_n "checking for $ac_word... " >&6; }
7213
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6916
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7214
6917
  $as_echo_n "(cached) " >&6
7215
6918
else
7216
6919
  if test -n "$ac_ct_STRIP"; then
7221
6924
do
7222
6925
  IFS=$as_save_IFS
7223
6926
  test -z "$as_dir" && as_dir=.
7224
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6927
    for ac_exec_ext in '' $ac_executable_extensions; do
7225
6928
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7226
6929
    ac_cv_prog_ac_ct_STRIP="strip"
7227
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6930
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7228
6931
    break 2
7229
6932
  fi
7230
6933
done
7231
 
done
 
6934
  done
7232
6935
IFS=$as_save_IFS
7233
6936
 
7234
6937
fi
7235
6938
fi
7236
6939
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7237
6940
if test -n "$ac_ct_STRIP"; then
7238
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6941
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7239
6942
$as_echo "$ac_ct_STRIP" >&6; }
7240
6943
else
7241
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6944
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7242
6945
$as_echo "no" >&6; }
7243
6946
fi
7244
6947
 
7247
6950
  else
7248
6951
    case $cross_compiling:$ac_tool_warned in
7249
6952
yes:)
7250
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6953
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7251
6954
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7252
6955
ac_tool_warned=yes ;;
7253
6956
esac
7267
6970
if test -n "$ac_tool_prefix"; then
7268
6971
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7269
6972
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7270
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271
6974
$as_echo_n "checking for $ac_word... " >&6; }
7272
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6975
if test "${ac_cv_prog_RANLIB+set}" = set; then :
7273
6976
  $as_echo_n "(cached) " >&6
7274
6977
else
7275
6978
  if test -n "$RANLIB"; then
7280
6983
do
7281
6984
  IFS=$as_save_IFS
7282
6985
  test -z "$as_dir" && as_dir=.
7283
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6986
    for ac_exec_ext in '' $ac_executable_extensions; do
7284
6987
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285
6988
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7286
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6989
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287
6990
    break 2
7288
6991
  fi
7289
6992
done
7290
 
done
 
6993
  done
7291
6994
IFS=$as_save_IFS
7292
6995
 
7293
6996
fi
7294
6997
fi
7295
6998
RANLIB=$ac_cv_prog_RANLIB
7296
6999
if test -n "$RANLIB"; then
7297
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7000
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7298
7001
$as_echo "$RANLIB" >&6; }
7299
7002
else
7300
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7003
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301
7004
$as_echo "no" >&6; }
7302
7005
fi
7303
7006
 
7307
7010
  ac_ct_RANLIB=$RANLIB
7308
7011
  # Extract the first word of "ranlib", so it can be a program name with args.
7309
7012
set dummy ranlib; ac_word=$2
7310
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311
7014
$as_echo_n "checking for $ac_word... " >&6; }
7312
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
7015
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7313
7016
  $as_echo_n "(cached) " >&6
7314
7017
else
7315
7018
  if test -n "$ac_ct_RANLIB"; then
7320
7023
do
7321
7024
  IFS=$as_save_IFS
7322
7025
  test -z "$as_dir" && as_dir=.
7323
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7026
    for ac_exec_ext in '' $ac_executable_extensions; do
7324
7027
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325
7028
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7326
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7029
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327
7030
    break 2
7328
7031
  fi
7329
7032
done
7330
 
done
 
7033
  done
7331
7034
IFS=$as_save_IFS
7332
7035
 
7333
7036
fi
7334
7037
fi
7335
7038
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7336
7039
if test -n "$ac_ct_RANLIB"; then
7337
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7040
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7338
7041
$as_echo "$ac_ct_RANLIB" >&6; }
7339
7042
else
7340
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7043
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341
7044
$as_echo "no" >&6; }
7342
7045
fi
7343
7046
 
7346
7049
  else
7347
7050
    case $cross_compiling:$ac_tool_warned in
7348
7051
yes:)
7349
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7052
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350
7053
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351
7054
ac_tool_warned=yes ;;
7352
7055
esac
7424
7127
 
7425
7128
 
7426
7129
# Check for command to grab the raw symbol name followed by C symbol from nm.
7427
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
7130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7428
7131
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7429
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
7132
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7430
7133
  $as_echo_n "(cached) " >&6
7431
7134
else
7432
7135
 
7542
7245
int main(){nm_test_var='a';nm_test_func();return(0);}
7543
7246
_LT_EOF
7544
7247
 
7545
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7248
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7546
7249
  (eval $ac_compile) 2>&5
7547
7250
  ac_status=$?
7548
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7549
 
  (exit $ac_status); }; then
 
7251
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7252
  test $ac_status = 0; }; then
7550
7253
    # Now try to grab the symbols.
7551
7254
    nlist=conftest.nm
7552
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
7255
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7553
7256
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7554
7257
  ac_status=$?
7555
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556
 
  (exit $ac_status); } && test -s "$nlist"; then
 
7258
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7259
  test $ac_status = 0; } && test -s "$nlist"; then
7557
7260
      # Try sorting and uniquifying the output.
7558
7261
      if sort "$nlist" | uniq > "$nlist"T; then
7559
7262
        mv -f "$nlist"T "$nlist"
7606
7309
          lt_save_CFLAGS="$CFLAGS"
7607
7310
          LIBS="conftstm.$ac_objext"
7608
7311
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7609
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7312
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7610
7313
  (eval $ac_link) 2>&5
7611
7314
  ac_status=$?
7612
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
7315
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7316
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7614
7317
            pipe_works=yes
7615
7318
          fi
7616
7319
          LIBS="$lt_save_LIBS"
7644
7347
  lt_cv_sys_global_symbol_to_cdecl=
7645
7348
fi
7646
7349
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7647
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
7350
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7648
7351
$as_echo "failed" >&6; }
7649
7352
else
7650
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
7353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7651
7354
$as_echo "ok" >&6; }
7652
7355
fi
7653
7356
 
7673
7376
 
7674
7377
 
7675
7378
# Check whether --enable-libtool-lock was given.
7676
 
if test "${enable_libtool_lock+set}" = set; then
 
7379
if test "${enable_libtool_lock+set}" = set; then :
7677
7380
  enableval=$enable_libtool_lock;
7678
7381
fi
7679
7382
 
7685
7388
ia64-*-hpux*)
7686
7389
  # Find out which ABI we are using.
7687
7390
  echo 'int i;' > conftest.$ac_ext
7688
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7391
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7689
7392
  (eval $ac_compile) 2>&5
7690
7393
  ac_status=$?
7691
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692
 
  (exit $ac_status); }; then
 
7394
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7395
  test $ac_status = 0; }; then
7693
7396
    case `/usr/bin/file conftest.$ac_objext` in
7694
7397
      *ELF-32*)
7695
7398
        HPUX_IA64_MODE="32"
7703
7406
  ;;
7704
7407
*-*-irix6*)
7705
7408
  # Find out which ABI we are using.
7706
 
  echo '#line 7706 "configure"' > conftest.$ac_ext
7707
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7409
  echo '#line 7409 "configure"' > conftest.$ac_ext
 
7410
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7708
7411
  (eval $ac_compile) 2>&5
7709
7412
  ac_status=$?
7710
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711
 
  (exit $ac_status); }; then
 
7413
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7414
  test $ac_status = 0; }; then
7712
7415
    if test "$lt_cv_prog_gnu_ld" = yes; then
7713
7416
      case `/usr/bin/file conftest.$ac_objext` in
7714
7417
        *32-bit*)
7742
7445
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7743
7446
  # Find out which ABI we are using.
7744
7447
  echo 'int i;' > conftest.$ac_ext
7745
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7448
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7746
7449
  (eval $ac_compile) 2>&5
7747
7450
  ac_status=$?
7748
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749
 
  (exit $ac_status); }; then
 
7451
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7452
  test $ac_status = 0; }; then
7750
7453
    case `/usr/bin/file conftest.o` in
7751
7454
      *32-bit*)
7752
7455
        case $host in
7795
7498
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7796
7499
  SAVE_CFLAGS="$CFLAGS"
7797
7500
  CFLAGS="$CFLAGS -belf"
7798
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7501
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7799
7502
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7800
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7503
if test "${lt_cv_cc_needs_belf+set}" = set; then :
7801
7504
  $as_echo_n "(cached) " >&6
7802
7505
else
7803
7506
  ac_ext=c
7806
7509
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7807
7510
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7808
7511
 
7809
 
     cat >conftest.$ac_ext <<_ACEOF
7810
 
/* confdefs.h.  */
7811
 
_ACEOF
7812
 
cat confdefs.h >>conftest.$ac_ext
7813
 
cat >>conftest.$ac_ext <<_ACEOF
 
7512
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7814
7513
/* end confdefs.h.  */
7815
7514
 
7816
7515
int
7821
7520
  return 0;
7822
7521
}
7823
7522
_ACEOF
7824
 
rm -f conftest.$ac_objext conftest$ac_exeext
7825
 
if { (ac_try="$ac_link"
7826
 
case "(($ac_try" in
7827
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7828
 
  *) ac_try_echo=$ac_try;;
7829
 
esac
7830
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7831
 
$as_echo "$ac_try_echo") >&5
7832
 
  (eval "$ac_link") 2>conftest.er1
7833
 
  ac_status=$?
7834
 
  grep -v '^ *+' conftest.er1 >conftest.err
7835
 
  rm -f conftest.er1
7836
 
  cat conftest.err >&5
7837
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838
 
  (exit $ac_status); } && {
7839
 
         test -z "$ac_c_werror_flag" ||
7840
 
         test ! -s conftest.err
7841
 
       } && test -s conftest$ac_exeext && {
7842
 
         test "$cross_compiling" = yes ||
7843
 
         $as_test_x conftest$ac_exeext
7844
 
       }; then
 
7523
if ac_fn_c_try_link "$LINENO"; then :
7845
7524
  lt_cv_cc_needs_belf=yes
7846
7525
else
7847
 
  $as_echo "$as_me: failed program was:" >&5
7848
 
sed 's/^/| /' conftest.$ac_ext >&5
7849
 
 
7850
 
        lt_cv_cc_needs_belf=no
 
7526
  lt_cv_cc_needs_belf=no
7851
7527
fi
7852
 
 
7853
 
rm -rf conftest.dSYM
7854
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7855
 
      conftest$ac_exeext conftest.$ac_ext
 
7528
rm -f core conftest.err conftest.$ac_objext \
 
7529
    conftest$ac_exeext conftest.$ac_ext
7856
7530
     ac_ext=c
7857
7531
ac_cpp='$CPP $CPPFLAGS'
7858
7532
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7860
7534
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7861
7535
 
7862
7536
fi
7863
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7864
7538
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7865
7539
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7866
7540
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7870
7544
sparc*-*solaris*)
7871
7545
  # Find out which ABI we are using.
7872
7546
  echo 'int i;' > conftest.$ac_ext
7873
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7547
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7874
7548
  (eval $ac_compile) 2>&5
7875
7549
  ac_status=$?
7876
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877
 
  (exit $ac_status); }; then
 
7550
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7551
  test $ac_status = 0; }; then
7878
7552
    case `/usr/bin/file conftest.o` in
7879
7553
    *64-bit*)
7880
7554
      case $lt_cv_prog_gnu_ld in
7900
7574
    if test -n "$ac_tool_prefix"; then
7901
7575
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7902
7576
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7903
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7904
7578
$as_echo_n "checking for $ac_word... " >&6; }
7905
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7579
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7906
7580
  $as_echo_n "(cached) " >&6
7907
7581
else
7908
7582
  if test -n "$DSYMUTIL"; then
7913
7587
do
7914
7588
  IFS=$as_save_IFS
7915
7589
  test -z "$as_dir" && as_dir=.
7916
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7590
    for ac_exec_ext in '' $ac_executable_extensions; do
7917
7591
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7918
7592
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7919
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7593
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7920
7594
    break 2
7921
7595
  fi
7922
7596
done
7923
 
done
 
7597
  done
7924
7598
IFS=$as_save_IFS
7925
7599
 
7926
7600
fi
7927
7601
fi
7928
7602
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7929
7603
if test -n "$DSYMUTIL"; then
7930
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7604
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7931
7605
$as_echo "$DSYMUTIL" >&6; }
7932
7606
else
7933
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7607
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7934
7608
$as_echo "no" >&6; }
7935
7609
fi
7936
7610
 
7940
7614
  ac_ct_DSYMUTIL=$DSYMUTIL
7941
7615
  # Extract the first word of "dsymutil", so it can be a program name with args.
7942
7616
set dummy dsymutil; ac_word=$2
7943
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944
7618
$as_echo_n "checking for $ac_word... " >&6; }
7945
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7619
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7946
7620
  $as_echo_n "(cached) " >&6
7947
7621
else
7948
7622
  if test -n "$ac_ct_DSYMUTIL"; then
7953
7627
do
7954
7628
  IFS=$as_save_IFS
7955
7629
  test -z "$as_dir" && as_dir=.
7956
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7630
    for ac_exec_ext in '' $ac_executable_extensions; do
7957
7631
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7958
7632
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7959
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7633
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7960
7634
    break 2
7961
7635
  fi
7962
7636
done
7963
 
done
 
7637
  done
7964
7638
IFS=$as_save_IFS
7965
7639
 
7966
7640
fi
7967
7641
fi
7968
7642
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7969
7643
if test -n "$ac_ct_DSYMUTIL"; then
7970
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7971
7645
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7972
7646
else
7973
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7647
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974
7648
$as_echo "no" >&6; }
7975
7649
fi
7976
7650
 
7979
7653
  else
7980
7654
    case $cross_compiling:$ac_tool_warned in
7981
7655
yes:)
7982
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7656
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7983
7657
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7984
7658
ac_tool_warned=yes ;;
7985
7659
esac
7992
7666
    if test -n "$ac_tool_prefix"; then
7993
7667
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7994
7668
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7995
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7996
7670
$as_echo_n "checking for $ac_word... " >&6; }
7997
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7671
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7998
7672
  $as_echo_n "(cached) " >&6
7999
7673
else
8000
7674
  if test -n "$NMEDIT"; then
8005
7679
do
8006
7680
  IFS=$as_save_IFS
8007
7681
  test -z "$as_dir" && as_dir=.
8008
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7682
    for ac_exec_ext in '' $ac_executable_extensions; do
8009
7683
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8010
7684
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8011
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7685
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8012
7686
    break 2
8013
7687
  fi
8014
7688
done
8015
 
done
 
7689
  done
8016
7690
IFS=$as_save_IFS
8017
7691
 
8018
7692
fi
8019
7693
fi
8020
7694
NMEDIT=$ac_cv_prog_NMEDIT
8021
7695
if test -n "$NMEDIT"; then
8022
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8023
7697
$as_echo "$NMEDIT" >&6; }
8024
7698
else
8025
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8026
7700
$as_echo "no" >&6; }
8027
7701
fi
8028
7702
 
8032
7706
  ac_ct_NMEDIT=$NMEDIT
8033
7707
  # Extract the first word of "nmedit", so it can be a program name with args.
8034
7708
set dummy nmedit; ac_word=$2
8035
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8036
7710
$as_echo_n "checking for $ac_word... " >&6; }
8037
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7711
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8038
7712
  $as_echo_n "(cached) " >&6
8039
7713
else
8040
7714
  if test -n "$ac_ct_NMEDIT"; then
8045
7719
do
8046
7720
  IFS=$as_save_IFS
8047
7721
  test -z "$as_dir" && as_dir=.
8048
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7722
    for ac_exec_ext in '' $ac_executable_extensions; do
8049
7723
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8050
7724
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8051
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7725
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8052
7726
    break 2
8053
7727
  fi
8054
7728
done
8055
 
done
 
7729
  done
8056
7730
IFS=$as_save_IFS
8057
7731
 
8058
7732
fi
8059
7733
fi
8060
7734
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8061
7735
if test -n "$ac_ct_NMEDIT"; then
8062
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7736
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8063
7737
$as_echo "$ac_ct_NMEDIT" >&6; }
8064
7738
else
8065
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7739
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8066
7740
$as_echo "no" >&6; }
8067
7741
fi
8068
7742
 
8071
7745
  else
8072
7746
    case $cross_compiling:$ac_tool_warned in
8073
7747
yes:)
8074
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7748
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8075
7749
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8076
7750
ac_tool_warned=yes ;;
8077
7751
esac
8084
7758
    if test -n "$ac_tool_prefix"; then
8085
7759
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8086
7760
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8087
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8088
7762
$as_echo_n "checking for $ac_word... " >&6; }
8089
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7763
if test "${ac_cv_prog_LIPO+set}" = set; then :
8090
7764
  $as_echo_n "(cached) " >&6
8091
7765
else
8092
7766
  if test -n "$LIPO"; then
8097
7771
do
8098
7772
  IFS=$as_save_IFS
8099
7773
  test -z "$as_dir" && as_dir=.
8100
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7774
    for ac_exec_ext in '' $ac_executable_extensions; do
8101
7775
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8102
7776
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8103
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7777
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8104
7778
    break 2
8105
7779
  fi
8106
7780
done
8107
 
done
 
7781
  done
8108
7782
IFS=$as_save_IFS
8109
7783
 
8110
7784
fi
8111
7785
fi
8112
7786
LIPO=$ac_cv_prog_LIPO
8113
7787
if test -n "$LIPO"; then
8114
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8115
7789
$as_echo "$LIPO" >&6; }
8116
7790
else
8117
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118
7792
$as_echo "no" >&6; }
8119
7793
fi
8120
7794
 
8124
7798
  ac_ct_LIPO=$LIPO
8125
7799
  # Extract the first word of "lipo", so it can be a program name with args.
8126
7800
set dummy lipo; ac_word=$2
8127
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8128
7802
$as_echo_n "checking for $ac_word... " >&6; }
8129
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7803
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8130
7804
  $as_echo_n "(cached) " >&6
8131
7805
else
8132
7806
  if test -n "$ac_ct_LIPO"; then
8137
7811
do
8138
7812
  IFS=$as_save_IFS
8139
7813
  test -z "$as_dir" && as_dir=.
8140
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7814
    for ac_exec_ext in '' $ac_executable_extensions; do
8141
7815
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8142
7816
    ac_cv_prog_ac_ct_LIPO="lipo"
8143
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7817
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8144
7818
    break 2
8145
7819
  fi
8146
7820
done
8147
 
done
 
7821
  done
8148
7822
IFS=$as_save_IFS
8149
7823
 
8150
7824
fi
8151
7825
fi
8152
7826
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8153
7827
if test -n "$ac_ct_LIPO"; then
8154
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7828
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8155
7829
$as_echo "$ac_ct_LIPO" >&6; }
8156
7830
else
8157
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8158
7832
$as_echo "no" >&6; }
8159
7833
fi
8160
7834
 
8163
7837
  else
8164
7838
    case $cross_compiling:$ac_tool_warned in
8165
7839
yes:)
8166
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7840
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8167
7841
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8168
7842
ac_tool_warned=yes ;;
8169
7843
esac
8176
7850
    if test -n "$ac_tool_prefix"; then
8177
7851
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8178
7852
set dummy ${ac_tool_prefix}otool; ac_word=$2
8179
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8180
7854
$as_echo_n "checking for $ac_word... " >&6; }
8181
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7855
if test "${ac_cv_prog_OTOOL+set}" = set; then :
8182
7856
  $as_echo_n "(cached) " >&6
8183
7857
else
8184
7858
  if test -n "$OTOOL"; then
8189
7863
do
8190
7864
  IFS=$as_save_IFS
8191
7865
  test -z "$as_dir" && as_dir=.
8192
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7866
    for ac_exec_ext in '' $ac_executable_extensions; do
8193
7867
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8194
7868
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8195
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7869
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8196
7870
    break 2
8197
7871
  fi
8198
7872
done
8199
 
done
 
7873
  done
8200
7874
IFS=$as_save_IFS
8201
7875
 
8202
7876
fi
8203
7877
fi
8204
7878
OTOOL=$ac_cv_prog_OTOOL
8205
7879
if test -n "$OTOOL"; then
8206
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8207
7881
$as_echo "$OTOOL" >&6; }
8208
7882
else
8209
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8210
7884
$as_echo "no" >&6; }
8211
7885
fi
8212
7886
 
8216
7890
  ac_ct_OTOOL=$OTOOL
8217
7891
  # Extract the first word of "otool", so it can be a program name with args.
8218
7892
set dummy otool; ac_word=$2
8219
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8220
7894
$as_echo_n "checking for $ac_word... " >&6; }
8221
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7895
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8222
7896
  $as_echo_n "(cached) " >&6
8223
7897
else
8224
7898
  if test -n "$ac_ct_OTOOL"; then
8229
7903
do
8230
7904
  IFS=$as_save_IFS
8231
7905
  test -z "$as_dir" && as_dir=.
8232
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7906
    for ac_exec_ext in '' $ac_executable_extensions; do
8233
7907
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8234
7908
    ac_cv_prog_ac_ct_OTOOL="otool"
8235
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7909
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8236
7910
    break 2
8237
7911
  fi
8238
7912
done
8239
 
done
 
7913
  done
8240
7914
IFS=$as_save_IFS
8241
7915
 
8242
7916
fi
8243
7917
fi
8244
7918
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8245
7919
if test -n "$ac_ct_OTOOL"; then
8246
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8247
7921
$as_echo "$ac_ct_OTOOL" >&6; }
8248
7922
else
8249
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8250
7924
$as_echo "no" >&6; }
8251
7925
fi
8252
7926
 
8255
7929
  else
8256
7930
    case $cross_compiling:$ac_tool_warned in
8257
7931
yes:)
8258
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7932
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8259
7933
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8260
7934
ac_tool_warned=yes ;;
8261
7935
esac
8268
7942
    if test -n "$ac_tool_prefix"; then
8269
7943
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8270
7944
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8271
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8272
7946
$as_echo_n "checking for $ac_word... " >&6; }
8273
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7947
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8274
7948
  $as_echo_n "(cached) " >&6
8275
7949
else
8276
7950
  if test -n "$OTOOL64"; then
8281
7955
do
8282
7956
  IFS=$as_save_IFS
8283
7957
  test -z "$as_dir" && as_dir=.
8284
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7958
    for ac_exec_ext in '' $ac_executable_extensions; do
8285
7959
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286
7960
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8287
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7961
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8288
7962
    break 2
8289
7963
  fi
8290
7964
done
8291
 
done
 
7965
  done
8292
7966
IFS=$as_save_IFS
8293
7967
 
8294
7968
fi
8295
7969
fi
8296
7970
OTOOL64=$ac_cv_prog_OTOOL64
8297
7971
if test -n "$OTOOL64"; then
8298
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7972
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8299
7973
$as_echo "$OTOOL64" >&6; }
8300
7974
else
8301
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7975
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8302
7976
$as_echo "no" >&6; }
8303
7977
fi
8304
7978
 
8308
7982
  ac_ct_OTOOL64=$OTOOL64
8309
7983
  # Extract the first word of "otool64", so it can be a program name with args.
8310
7984
set dummy otool64; ac_word=$2
8311
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8312
7986
$as_echo_n "checking for $ac_word... " >&6; }
8313
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7987
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8314
7988
  $as_echo_n "(cached) " >&6
8315
7989
else
8316
7990
  if test -n "$ac_ct_OTOOL64"; then
8321
7995
do
8322
7996
  IFS=$as_save_IFS
8323
7997
  test -z "$as_dir" && as_dir=.
8324
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7998
    for ac_exec_ext in '' $ac_executable_extensions; do
8325
7999
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8326
8000
    ac_cv_prog_ac_ct_OTOOL64="otool64"
8327
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8001
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8328
8002
    break 2
8329
8003
  fi
8330
8004
done
8331
 
done
 
8005
  done
8332
8006
IFS=$as_save_IFS
8333
8007
 
8334
8008
fi
8335
8009
fi
8336
8010
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8337
8011
if test -n "$ac_ct_OTOOL64"; then
8338
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
8012
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8339
8013
$as_echo "$ac_ct_OTOOL64" >&6; }
8340
8014
else
8341
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8015
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8342
8016
$as_echo "no" >&6; }
8343
8017
fi
8344
8018
 
8347
8021
  else
8348
8022
    case $cross_compiling:$ac_tool_warned in
8349
8023
yes:)
8350
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8024
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8351
8025
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8352
8026
ac_tool_warned=yes ;;
8353
8027
esac
8383
8057
 
8384
8058
 
8385
8059
 
8386
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
8060
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8387
8061
$as_echo_n "checking for -single_module linker flag... " >&6; }
8388
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
8062
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8389
8063
  $as_echo_n "(cached) " >&6
8390
8064
else
8391
8065
  lt_cv_apple_cc_single_mod=no
8410
8084
        rm -f conftest.*
8411
8085
      fi
8412
8086
fi
8413
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
8087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8414
8088
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8415
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
8089
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8416
8090
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8417
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
8091
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8418
8092
  $as_echo_n "(cached) " >&6
8419
8093
else
8420
8094
  lt_cv_ld_exported_symbols_list=no
8421
8095
      save_LDFLAGS=$LDFLAGS
8422
8096
      echo "_main" > conftest.sym
8423
8097
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8424
 
      cat >conftest.$ac_ext <<_ACEOF
8425
 
/* confdefs.h.  */
8426
 
_ACEOF
8427
 
cat confdefs.h >>conftest.$ac_ext
8428
 
cat >>conftest.$ac_ext <<_ACEOF
 
8098
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429
8099
/* end confdefs.h.  */
8430
8100
 
8431
8101
int
8436
8106
  return 0;
8437
8107
}
8438
8108
_ACEOF
8439
 
rm -f conftest.$ac_objext conftest$ac_exeext
8440
 
if { (ac_try="$ac_link"
8441
 
case "(($ac_try" in
8442
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8443
 
  *) ac_try_echo=$ac_try;;
8444
 
esac
8445
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8446
 
$as_echo "$ac_try_echo") >&5
8447
 
  (eval "$ac_link") 2>conftest.er1
8448
 
  ac_status=$?
8449
 
  grep -v '^ *+' conftest.er1 >conftest.err
8450
 
  rm -f conftest.er1
8451
 
  cat conftest.err >&5
8452
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453
 
  (exit $ac_status); } && {
8454
 
         test -z "$ac_c_werror_flag" ||
8455
 
         test ! -s conftest.err
8456
 
       } && test -s conftest$ac_exeext && {
8457
 
         test "$cross_compiling" = yes ||
8458
 
         $as_test_x conftest$ac_exeext
8459
 
       }; then
 
8109
if ac_fn_c_try_link "$LINENO"; then :
8460
8110
  lt_cv_ld_exported_symbols_list=yes
8461
8111
else
8462
 
  $as_echo "$as_me: failed program was:" >&5
8463
 
sed 's/^/| /' conftest.$ac_ext >&5
8464
 
 
8465
 
        lt_cv_ld_exported_symbols_list=no
 
8112
  lt_cv_ld_exported_symbols_list=no
8466
8113
fi
8467
 
 
8468
 
rm -rf conftest.dSYM
8469
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8470
 
      conftest$ac_exeext conftest.$ac_ext
 
8114
rm -f core conftest.err conftest.$ac_objext \
 
8115
    conftest$ac_exeext conftest.$ac_ext
8471
8116
        LDFLAGS="$save_LDFLAGS"
8472
8117
 
8473
8118
fi
8474
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
8119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8475
8120
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8476
8121
    case $host_os in
8477
8122
    rhapsody* | darwin1.[012])
8509
8154
  esac
8510
8155
 
8511
8156
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8512
 
 
8513
 
 
8514
 
 
8515
 
 
8516
 
 
8517
 
 
8518
 
 
8519
 
 
8520
 
 
8521
8157
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8522
8158
                  inttypes.h stdint.h unistd.h
8523
 
do
8524
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8525
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8526
 
$as_echo_n "checking for $ac_header... " >&6; }
8527
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8528
 
  $as_echo_n "(cached) " >&6
8529
 
else
8530
 
  cat >conftest.$ac_ext <<_ACEOF
8531
 
/* confdefs.h.  */
8532
 
_ACEOF
8533
 
cat confdefs.h >>conftest.$ac_ext
8534
 
cat >>conftest.$ac_ext <<_ACEOF
8535
 
/* end confdefs.h.  */
8536
 
$ac_includes_default
8537
 
 
8538
 
#include <$ac_header>
8539
 
_ACEOF
8540
 
rm -f conftest.$ac_objext
8541
 
if { (ac_try="$ac_compile"
8542
 
case "(($ac_try" in
8543
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8544
 
  *) ac_try_echo=$ac_try;;
8545
 
esac
8546
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8547
 
$as_echo "$ac_try_echo") >&5
8548
 
  (eval "$ac_compile") 2>conftest.er1
8549
 
  ac_status=$?
8550
 
  grep -v '^ *+' conftest.er1 >conftest.err
8551
 
  rm -f conftest.er1
8552
 
  cat conftest.err >&5
8553
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554
 
  (exit $ac_status); } && {
8555
 
         test -z "$ac_c_werror_flag" ||
8556
 
         test ! -s conftest.err
8557
 
       } && test -s conftest.$ac_objext; then
8558
 
  eval "$as_ac_Header=yes"
8559
 
else
8560
 
  $as_echo "$as_me: failed program was:" >&5
8561
 
sed 's/^/| /' conftest.$ac_ext >&5
8562
 
 
8563
 
        eval "$as_ac_Header=no"
8564
 
fi
8565
 
 
8566
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8567
 
fi
8568
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
8569
 
                 $as_echo "$as_val"'`
8570
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8571
 
$as_echo "$ac_res" >&6; }
8572
 
as_val=`eval 'as_val=${'$as_ac_Header'}
8573
 
                 $as_echo "$as_val"'`
8574
 
   if test "x$as_val" = x""yes; then
 
8159
do :
 
8160
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8161
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
8162
"
 
8163
eval as_val=\$$as_ac_Header
 
8164
   if test "x$as_val" = x""yes; then :
8575
8165
  cat >>confdefs.h <<_ACEOF
8576
8166
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8577
8167
_ACEOF
8581
8171
done
8582
8172
 
8583
8173
 
8584
 
 
8585
8174
for ac_header in dlfcn.h
8586
 
do
8587
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8588
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8589
 
$as_echo_n "checking for $ac_header... " >&6; }
8590
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8591
 
  $as_echo_n "(cached) " >&6
8592
 
else
8593
 
  cat >conftest.$ac_ext <<_ACEOF
8594
 
/* confdefs.h.  */
8595
 
_ACEOF
8596
 
cat confdefs.h >>conftest.$ac_ext
8597
 
cat >>conftest.$ac_ext <<_ACEOF
8598
 
/* end confdefs.h.  */
8599
 
$ac_includes_default
8600
 
 
8601
 
#include <$ac_header>
8602
 
_ACEOF
8603
 
rm -f conftest.$ac_objext
8604
 
if { (ac_try="$ac_compile"
8605
 
case "(($ac_try" in
8606
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8607
 
  *) ac_try_echo=$ac_try;;
8608
 
esac
8609
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8610
 
$as_echo "$ac_try_echo") >&5
8611
 
  (eval "$ac_compile") 2>conftest.er1
8612
 
  ac_status=$?
8613
 
  grep -v '^ *+' conftest.er1 >conftest.err
8614
 
  rm -f conftest.er1
8615
 
  cat conftest.err >&5
8616
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617
 
  (exit $ac_status); } && {
8618
 
         test -z "$ac_c_werror_flag" ||
8619
 
         test ! -s conftest.err
8620
 
       } && test -s conftest.$ac_objext; then
8621
 
  eval "$as_ac_Header=yes"
8622
 
else
8623
 
  $as_echo "$as_me: failed program was:" >&5
8624
 
sed 's/^/| /' conftest.$ac_ext >&5
8625
 
 
8626
 
        eval "$as_ac_Header=no"
8627
 
fi
8628
 
 
8629
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8630
 
fi
8631
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
8632
 
                 $as_echo "$as_val"'`
8633
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8634
 
$as_echo "$ac_res" >&6; }
8635
 
as_val=`eval 'as_val=${'$as_ac_Header'}
8636
 
                 $as_echo "$as_val"'`
8637
 
   if test "x$as_val" = x""yes; then
 
8175
do :
 
8176
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
8177
"
 
8178
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8638
8179
  cat >>confdefs.h <<_ACEOF
8639
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8180
#define HAVE_DLFCN_H 1
8640
8181
_ACEOF
8641
8182
 
8642
8183
fi
8656
8197
 
8657
8198
 
8658
8199
            # Check whether --enable-shared was given.
8659
 
if test "${enable_shared+set}" = set; then
 
8200
if test "${enable_shared+set}" = set; then :
8660
8201
  enableval=$enable_shared; p=${PACKAGE-default}
8661
8202
    case $enableval in
8662
8203
    yes) enable_shared=yes ;;
8687
8228
 
8688
8229
 
8689
8230
  # Check whether --enable-static was given.
8690
 
if test "${enable_static+set}" = set; then
 
8231
if test "${enable_static+set}" = set; then :
8691
8232
  enableval=$enable_static; p=${PACKAGE-default}
8692
8233
    case $enableval in
8693
8234
    yes) enable_static=yes ;;
8719
8260
 
8720
8261
 
8721
8262
# Check whether --with-pic was given.
8722
 
if test "${with_pic+set}" = set; then
 
8263
if test "${with_pic+set}" = set; then :
8723
8264
  withval=$with_pic; pic_mode="$withval"
8724
8265
else
8725
8266
  pic_mode=default
8735
8276
 
8736
8277
 
8737
8278
  # Check whether --enable-fast-install was given.
8738
 
if test "${enable_fast_install+set}" = set; then
 
8279
if test "${enable_fast_install+set}" = set; then :
8739
8280
  enableval=$enable_fast_install; p=${PACKAGE-default}
8740
8281
    case $enableval in
8741
8282
    yes) enable_fast_install=yes ;;
8816
8357
   setopt NO_GLOB_SUBST
8817
8358
fi
8818
8359
 
8819
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8820
8361
$as_echo_n "checking for objdir... " >&6; }
8821
 
if test "${lt_cv_objdir+set}" = set; then
 
8362
if test "${lt_cv_objdir+set}" = set; then :
8822
8363
  $as_echo_n "(cached) " >&6
8823
8364
else
8824
8365
  rm -f .libs 2>/dev/null
8831
8372
fi
8832
8373
rmdir .libs 2>/dev/null
8833
8374
fi
8834
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8835
8376
$as_echo "$lt_cv_objdir" >&6; }
8836
8377
objdir=$lt_cv_objdir
8837
8378
 
8924
8465
case $deplibs_check_method in
8925
8466
file_magic*)
8926
8467
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8927
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8468
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8928
8469
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8929
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8470
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8930
8471
  $as_echo_n "(cached) " >&6
8931
8472
else
8932
8473
  case $MAGIC_CMD in
8977
8518
 
8978
8519
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8979
8520
if test -n "$MAGIC_CMD"; then
8980
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8981
8522
$as_echo "$MAGIC_CMD" >&6; }
8982
8523
else
8983
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8984
8525
$as_echo "no" >&6; }
8985
8526
fi
8986
8527
 
8990
8531
 
8991
8532
if test -z "$lt_cv_path_MAGIC_CMD"; then
8992
8533
  if test -n "$ac_tool_prefix"; then
8993
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8534
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8994
8535
$as_echo_n "checking for file... " >&6; }
8995
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8536
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8996
8537
  $as_echo_n "(cached) " >&6
8997
8538
else
8998
8539
  case $MAGIC_CMD in
9043
8584
 
9044
8585
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9045
8586
if test -n "$MAGIC_CMD"; then
9046
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8587
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9047
8588
$as_echo "$MAGIC_CMD" >&6; }
9048
8589
else
9049
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8590
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9050
8591
$as_echo "no" >&6; }
9051
8592
fi
9052
8593
 
9123
8664
if test "$GCC" = yes; then
9124
8665
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9125
8666
 
9126
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8667
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9127
8668
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9128
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
8669
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9129
8670
  $as_echo_n "(cached) " >&6
9130
8671
else
9131
8672
  lt_cv_prog_compiler_rtti_exceptions=no
9141
8682
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9142
8683
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9143
8684
   -e 's:$: $lt_compiler_flag:'`
9144
 
   (eval echo "\"\$as_me:9144: $lt_compile\"" >&5)
 
8685
   (eval echo "\"\$as_me:8685: $lt_compile\"" >&5)
9145
8686
   (eval "$lt_compile" 2>conftest.err)
9146
8687
   ac_status=$?
9147
8688
   cat conftest.err >&5
9148
 
   echo "$as_me:9148: \$? = $ac_status" >&5
 
8689
   echo "$as_me:8689: \$? = $ac_status" >&5
9149
8690
   if (exit $ac_status) && test -s "$ac_outfile"; then
9150
8691
     # The compiler can only warn and ignore the option if not recognized
9151
8692
     # So say no if there are warnings other than the usual output.
9158
8699
   $RM conftest*
9159
8700
 
9160
8701
fi
9161
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9162
8703
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9163
8704
 
9164
8705
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9178
8719
lt_prog_compiler_pic=
9179
8720
lt_prog_compiler_static=
9180
8721
 
9181
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9182
8723
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9183
8724
 
9184
8725
  if test "$GCC" = yes; then
9450
8991
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9451
8992
    ;;
9452
8993
esac
9453
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9454
8995
$as_echo "$lt_prog_compiler_pic" >&6; }
9455
8996
 
9456
8997
 
9462
9003
# Check to make sure the PIC flag actually works.
9463
9004
#
9464
9005
if test -n "$lt_prog_compiler_pic"; then
9465
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9006
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9466
9007
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9467
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
9008
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9468
9009
  $as_echo_n "(cached) " >&6
9469
9010
else
9470
9011
  lt_cv_prog_compiler_pic_works=no
9480
9021
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9481
9022
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9482
9023
   -e 's:$: $lt_compiler_flag:'`
9483
 
   (eval echo "\"\$as_me:9483: $lt_compile\"" >&5)
 
9024
   (eval echo "\"\$as_me:9024: $lt_compile\"" >&5)
9484
9025
   (eval "$lt_compile" 2>conftest.err)
9485
9026
   ac_status=$?
9486
9027
   cat conftest.err >&5
9487
 
   echo "$as_me:9487: \$? = $ac_status" >&5
 
9028
   echo "$as_me:9028: \$? = $ac_status" >&5
9488
9029
   if (exit $ac_status) && test -s "$ac_outfile"; then
9489
9030
     # The compiler can only warn and ignore the option if not recognized
9490
9031
     # So say no if there are warnings other than the usual output.
9497
9038
   $RM conftest*
9498
9039
 
9499
9040
fi
9500
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
9041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9501
9042
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9502
9043
 
9503
9044
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9521
9062
# Check to make sure the static flag actually works.
9522
9063
#
9523
9064
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9524
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9525
9066
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9526
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
9067
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9527
9068
  $as_echo_n "(cached) " >&6
9528
9069
else
9529
9070
  lt_cv_prog_compiler_static_works=no
9549
9090
   LDFLAGS="$save_LDFLAGS"
9550
9091
 
9551
9092
fi
9552
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9553
9094
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9554
9095
 
9555
9096
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9564
9105
 
9565
9106
 
9566
9107
 
9567
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9108
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9568
9109
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9569
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9110
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9570
9111
  $as_echo_n "(cached) " >&6
9571
9112
else
9572
9113
  lt_cv_prog_compiler_c_o=no
9585
9126
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9586
9127
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9587
9128
   -e 's:$: $lt_compiler_flag:'`
9588
 
   (eval echo "\"\$as_me:9588: $lt_compile\"" >&5)
 
9129
   (eval echo "\"\$as_me:9129: $lt_compile\"" >&5)
9589
9130
   (eval "$lt_compile" 2>out/conftest.err)
9590
9131
   ac_status=$?
9591
9132
   cat out/conftest.err >&5
9592
 
   echo "$as_me:9592: \$? = $ac_status" >&5
 
9133
   echo "$as_me:9133: \$? = $ac_status" >&5
9593
9134
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9594
9135
   then
9595
9136
     # The compiler can only warn and ignore the option if not recognized
9611
9152
   $RM conftest*
9612
9153
 
9613
9154
fi
9614
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9155
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9615
9156
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9616
9157
 
9617
9158
 
9619
9160
 
9620
9161
 
9621
9162
 
9622
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9163
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9623
9164
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9624
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9165
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9625
9166
  $as_echo_n "(cached) " >&6
9626
9167
else
9627
9168
  lt_cv_prog_compiler_c_o=no
9640
9181
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9641
9182
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9642
9183
   -e 's:$: $lt_compiler_flag:'`
9643
 
   (eval echo "\"\$as_me:9643: $lt_compile\"" >&5)
 
9184
   (eval echo "\"\$as_me:9184: $lt_compile\"" >&5)
9644
9185
   (eval "$lt_compile" 2>out/conftest.err)
9645
9186
   ac_status=$?
9646
9187
   cat out/conftest.err >&5
9647
 
   echo "$as_me:9647: \$? = $ac_status" >&5
 
9188
   echo "$as_me:9188: \$? = $ac_status" >&5
9648
9189
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9649
9190
   then
9650
9191
     # The compiler can only warn and ignore the option if not recognized
9666
9207
   $RM conftest*
9667
9208
 
9668
9209
fi
9669
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9670
9211
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9671
9212
 
9672
9213
 
9675
9216
hard_links="nottested"
9676
9217
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9677
9218
  # do not overwrite the value of need_locks provided by the user
9678
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9219
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9679
9220
$as_echo_n "checking if we can lock with hard links... " >&6; }
9680
9221
  hard_links=yes
9681
9222
  $RM conftest*
9683
9224
  touch conftest.a
9684
9225
  ln conftest.a conftest.b 2>&5 || hard_links=no
9685
9226
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9686
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9227
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9687
9228
$as_echo "$hard_links" >&6; }
9688
9229
  if test "$hard_links" = no; then
9689
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9230
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9690
9231
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9691
9232
    need_locks=warn
9692
9233
  fi
9699
9240
 
9700
9241
 
9701
9242
 
9702
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9243
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9703
9244
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9704
9245
 
9705
9246
  runpath_var=
9759
9300
  openbsd*)
9760
9301
    with_gnu_ld=no
9761
9302
    ;;
 
9303
  linux* | k*bsd*-gnu)
 
9304
    link_all_deplibs=no
 
9305
    ;;
9762
9306
  esac
9763
9307
 
9764
9308
  ld_shlibs=yes
10142
9686
        allow_undefined_flag='-berok'
10143
9687
        # Determine the default libpath from the value encoded in an
10144
9688
        # empty executable.
10145
 
        cat >conftest.$ac_ext <<_ACEOF
10146
 
/* confdefs.h.  */
10147
 
_ACEOF
10148
 
cat confdefs.h >>conftest.$ac_ext
10149
 
cat >>conftest.$ac_ext <<_ACEOF
 
9689
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10150
9690
/* end confdefs.h.  */
10151
9691
 
10152
9692
int
10157
9697
  return 0;
10158
9698
}
10159
9699
_ACEOF
10160
 
rm -f conftest.$ac_objext conftest$ac_exeext
10161
 
if { (ac_try="$ac_link"
10162
 
case "(($ac_try" in
10163
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10164
 
  *) ac_try_echo=$ac_try;;
10165
 
esac
10166
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10167
 
$as_echo "$ac_try_echo") >&5
10168
 
  (eval "$ac_link") 2>conftest.er1
10169
 
  ac_status=$?
10170
 
  grep -v '^ *+' conftest.er1 >conftest.err
10171
 
  rm -f conftest.er1
10172
 
  cat conftest.err >&5
10173
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10174
 
  (exit $ac_status); } && {
10175
 
         test -z "$ac_c_werror_flag" ||
10176
 
         test ! -s conftest.err
10177
 
       } && test -s conftest$ac_exeext && {
10178
 
         test "$cross_compiling" = yes ||
10179
 
         $as_test_x conftest$ac_exeext
10180
 
       }; then
 
9700
if ac_fn_c_try_link "$LINENO"; then :
10181
9701
 
10182
9702
lt_aix_libpath_sed='
10183
9703
    /Import File Strings/,/^$/ {
10191
9711
if test -z "$aix_libpath"; then
10192
9712
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10193
9713
fi
10194
 
else
10195
 
  $as_echo "$as_me: failed program was:" >&5
10196
 
sed 's/^/| /' conftest.$ac_ext >&5
10197
 
 
10198
 
 
10199
9714
fi
10200
 
 
10201
 
rm -rf conftest.dSYM
10202
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10203
 
      conftest$ac_exeext conftest.$ac_ext
 
9715
rm -f core conftest.err conftest.$ac_objext \
 
9716
    conftest$ac_exeext conftest.$ac_ext
10204
9717
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10205
9718
 
10206
9719
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10213
9726
        else
10214
9727
         # Determine the default libpath from the value encoded in an
10215
9728
         # empty executable.
10216
 
         cat >conftest.$ac_ext <<_ACEOF
10217
 
/* confdefs.h.  */
10218
 
_ACEOF
10219
 
cat confdefs.h >>conftest.$ac_ext
10220
 
cat >>conftest.$ac_ext <<_ACEOF
 
9729
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221
9730
/* end confdefs.h.  */
10222
9731
 
10223
9732
int
10228
9737
  return 0;
10229
9738
}
10230
9739
_ACEOF
10231
 
rm -f conftest.$ac_objext conftest$ac_exeext
10232
 
if { (ac_try="$ac_link"
10233
 
case "(($ac_try" in
10234
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10235
 
  *) ac_try_echo=$ac_try;;
10236
 
esac
10237
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10238
 
$as_echo "$ac_try_echo") >&5
10239
 
  (eval "$ac_link") 2>conftest.er1
10240
 
  ac_status=$?
10241
 
  grep -v '^ *+' conftest.er1 >conftest.err
10242
 
  rm -f conftest.er1
10243
 
  cat conftest.err >&5
10244
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245
 
  (exit $ac_status); } && {
10246
 
         test -z "$ac_c_werror_flag" ||
10247
 
         test ! -s conftest.err
10248
 
       } && test -s conftest$ac_exeext && {
10249
 
         test "$cross_compiling" = yes ||
10250
 
         $as_test_x conftest$ac_exeext
10251
 
       }; then
 
9740
if ac_fn_c_try_link "$LINENO"; then :
10252
9741
 
10253
9742
lt_aix_libpath_sed='
10254
9743
    /Import File Strings/,/^$/ {
10262
9751
if test -z "$aix_libpath"; then
10263
9752
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10264
9753
fi
10265
 
else
10266
 
  $as_echo "$as_me: failed program was:" >&5
10267
 
sed 's/^/| /' conftest.$ac_ext >&5
10268
 
 
10269
 
 
10270
9754
fi
10271
 
 
10272
 
rm -rf conftest.dSYM
10273
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10274
 
      conftest$ac_exeext conftest.$ac_ext
 
9755
rm -f core conftest.err conftest.$ac_objext \
 
9756
    conftest$ac_exeext conftest.$ac_ext
10275
9757
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10276
9758
 
10277
9759
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10483
9965
        # implicitly export all symbols.
10484
9966
        save_LDFLAGS="$LDFLAGS"
10485
9967
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10486
 
        cat >conftest.$ac_ext <<_ACEOF
 
9968
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9969
/* end confdefs.h.  */
10487
9970
int foo(void) {}
10488
9971
_ACEOF
10489
 
rm -f conftest.$ac_objext conftest$ac_exeext
10490
 
if { (ac_try="$ac_link"
10491
 
case "(($ac_try" in
10492
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10493
 
  *) ac_try_echo=$ac_try;;
10494
 
esac
10495
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10496
 
$as_echo "$ac_try_echo") >&5
10497
 
  (eval "$ac_link") 2>conftest.er1
10498
 
  ac_status=$?
10499
 
  grep -v '^ *+' conftest.er1 >conftest.err
10500
 
  rm -f conftest.er1
10501
 
  cat conftest.err >&5
10502
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503
 
  (exit $ac_status); } && {
10504
 
         test -z "$ac_c_werror_flag" ||
10505
 
         test ! -s conftest.err
10506
 
       } && test -s conftest$ac_exeext && {
10507
 
         test "$cross_compiling" = yes ||
10508
 
         $as_test_x conftest$ac_exeext
10509
 
       }; then
 
9972
if ac_fn_c_try_link "$LINENO"; then :
10510
9973
  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'
10511
9974
 
10512
 
else
10513
 
  $as_echo "$as_me: failed program was:" >&5
10514
 
sed 's/^/| /' conftest.$ac_ext >&5
10515
 
 
10516
 
 
10517
9975
fi
10518
 
 
10519
 
rm -rf conftest.dSYM
10520
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10521
 
      conftest$ac_exeext conftest.$ac_ext
 
9976
rm -f core conftest.err conftest.$ac_objext \
 
9977
    conftest$ac_exeext conftest.$ac_ext
10522
9978
        LDFLAGS="$save_LDFLAGS"
10523
9979
      else
10524
9980
        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'
10774
10230
    fi
10775
10231
  fi
10776
10232
 
10777
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10778
10234
$as_echo "$ld_shlibs" >&6; }
10779
10235
test "$ld_shlibs" = no && can_build_shared=no
10780
10236
 
10811
10267
      # Test whether the compiler implicitly links with -lc since on some
10812
10268
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10813
10269
      # to ld, don't add -lc before -lgcc.
10814
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10270
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10815
10271
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10816
10272
      $RM conftest*
10817
10273
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10818
10274
 
10819
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10275
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10820
10276
  (eval $ac_compile) 2>&5
10821
10277
  ac_status=$?
10822
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823
 
  (exit $ac_status); } 2>conftest.err; then
 
10278
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10279
  test $ac_status = 0; } 2>conftest.err; then
10824
10280
        soname=conftest
10825
10281
        lib=conftest
10826
10282
        libobjs=conftest.$ac_objext
10834
10290
        libname=conftest
10835
10291
        lt_save_allow_undefined_flag=$allow_undefined_flag
10836
10292
        allow_undefined_flag=
10837
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10293
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10838
10294
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10839
10295
  ac_status=$?
10840
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841
 
  (exit $ac_status); }
 
10296
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10297
  test $ac_status = 0; }
10842
10298
        then
10843
10299
          archive_cmds_need_lc=no
10844
10300
        else
10849
10305
        cat conftest.err 1>&5
10850
10306
      fi
10851
10307
      $RM conftest*
10852
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10308
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10853
10309
$as_echo "$archive_cmds_need_lc" >&6; }
10854
10310
      ;;
10855
10311
    esac
11013
10469
 
11014
10470
 
11015
10471
 
11016
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10472
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11017
10473
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11018
10474
 
11019
10475
if test "$GCC" = yes; then
11435
10891
  save_libdir=$libdir
11436
10892
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11437
10893
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11438
 
  cat >conftest.$ac_ext <<_ACEOF
11439
 
/* confdefs.h.  */
11440
 
_ACEOF
11441
 
cat confdefs.h >>conftest.$ac_ext
11442
 
cat >>conftest.$ac_ext <<_ACEOF
 
10894
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443
10895
/* end confdefs.h.  */
11444
10896
 
11445
10897
int
11450
10902
  return 0;
11451
10903
}
11452
10904
_ACEOF
11453
 
rm -f conftest.$ac_objext conftest$ac_exeext
11454
 
if { (ac_try="$ac_link"
11455
 
case "(($ac_try" in
11456
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11457
 
  *) ac_try_echo=$ac_try;;
11458
 
esac
11459
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11460
 
$as_echo "$ac_try_echo") >&5
11461
 
  (eval "$ac_link") 2>conftest.er1
11462
 
  ac_status=$?
11463
 
  grep -v '^ *+' conftest.er1 >conftest.err
11464
 
  rm -f conftest.er1
11465
 
  cat conftest.err >&5
11466
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467
 
  (exit $ac_status); } && {
11468
 
         test -z "$ac_c_werror_flag" ||
11469
 
         test ! -s conftest.err
11470
 
       } && test -s conftest$ac_exeext && {
11471
 
         test "$cross_compiling" = yes ||
11472
 
         $as_test_x conftest$ac_exeext
11473
 
       }; then
11474
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10905
if ac_fn_c_try_link "$LINENO"; then :
 
10906
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11475
10907
  shlibpath_overrides_runpath=yes
11476
10908
fi
11477
 
 
11478
 
else
11479
 
  $as_echo "$as_me: failed program was:" >&5
11480
 
sed 's/^/| /' conftest.$ac_ext >&5
11481
 
 
11482
 
 
11483
10909
fi
11484
 
 
11485
 
rm -rf conftest.dSYM
11486
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11487
 
      conftest$ac_exeext conftest.$ac_ext
 
10910
rm -f core conftest.err conftest.$ac_objext \
 
10911
    conftest$ac_exeext conftest.$ac_ext
11488
10912
  LDFLAGS=$save_LDFLAGS
11489
10913
  libdir=$save_libdir
11490
10914
 
11708
11132
  dynamic_linker=no
11709
11133
  ;;
11710
11134
esac
11711
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11135
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11712
11136
$as_echo "$dynamic_linker" >&6; }
11713
11137
test "$dynamic_linker" = no && can_build_shared=no
11714
11138
 
11810
11234
 
11811
11235
 
11812
11236
 
11813
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11237
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11814
11238
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11815
11239
hardcode_action=
11816
11240
if test -n "$hardcode_libdir_flag_spec" ||
11835
11259
  # directories.
11836
11260
  hardcode_action=unsupported
11837
11261
fi
11838
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11839
11263
$as_echo "$hardcode_action" >&6; }
11840
11264
 
11841
11265
if test "$hardcode_action" = relink ||
11880
11304
 
11881
11305
  darwin*)
11882
11306
  # if libdl is installed we need to link against it
11883
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11307
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11884
11308
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11885
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11309
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11886
11310
  $as_echo_n "(cached) " >&6
11887
11311
else
11888
11312
  ac_check_lib_save_LIBS=$LIBS
11889
11313
LIBS="-ldl  $LIBS"
11890
 
cat >conftest.$ac_ext <<_ACEOF
11891
 
/* confdefs.h.  */
11892
 
_ACEOF
11893
 
cat confdefs.h >>conftest.$ac_ext
11894
 
cat >>conftest.$ac_ext <<_ACEOF
 
11314
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895
11315
/* end confdefs.h.  */
11896
11316
 
11897
11317
/* Override any GCC internal prototype to avoid an error.
11909
11329
  return 0;
11910
11330
}
11911
11331
_ACEOF
11912
 
rm -f conftest.$ac_objext conftest$ac_exeext
11913
 
if { (ac_try="$ac_link"
11914
 
case "(($ac_try" in
11915
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11916
 
  *) ac_try_echo=$ac_try;;
11917
 
esac
11918
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11919
 
$as_echo "$ac_try_echo") >&5
11920
 
  (eval "$ac_link") 2>conftest.er1
11921
 
  ac_status=$?
11922
 
  grep -v '^ *+' conftest.er1 >conftest.err
11923
 
  rm -f conftest.er1
11924
 
  cat conftest.err >&5
11925
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926
 
  (exit $ac_status); } && {
11927
 
         test -z "$ac_c_werror_flag" ||
11928
 
         test ! -s conftest.err
11929
 
       } && test -s conftest$ac_exeext && {
11930
 
         test "$cross_compiling" = yes ||
11931
 
         $as_test_x conftest$ac_exeext
11932
 
       }; then
 
11332
if ac_fn_c_try_link "$LINENO"; then :
11933
11333
  ac_cv_lib_dl_dlopen=yes
11934
11334
else
11935
 
  $as_echo "$as_me: failed program was:" >&5
11936
 
sed 's/^/| /' conftest.$ac_ext >&5
11937
 
 
11938
 
        ac_cv_lib_dl_dlopen=no
 
11335
  ac_cv_lib_dl_dlopen=no
11939
11336
fi
11940
 
 
11941
 
rm -rf conftest.dSYM
11942
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11943
 
      conftest$ac_exeext conftest.$ac_ext
 
11337
rm -f core conftest.err conftest.$ac_objext \
 
11338
    conftest$ac_exeext conftest.$ac_ext
11944
11339
LIBS=$ac_check_lib_save_LIBS
11945
11340
fi
11946
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11947
11342
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11948
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11343
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11949
11344
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11950
11345
else
11951
11346
 
11958
11353
    ;;
11959
11354
 
11960
11355
  *)
11961
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11962
 
$as_echo_n "checking for shl_load... " >&6; }
11963
 
if test "${ac_cv_func_shl_load+set}" = set; then
11964
 
  $as_echo_n "(cached) " >&6
11965
 
else
11966
 
  cat >conftest.$ac_ext <<_ACEOF
11967
 
/* confdefs.h.  */
11968
 
_ACEOF
11969
 
cat confdefs.h >>conftest.$ac_ext
11970
 
cat >>conftest.$ac_ext <<_ACEOF
11971
 
/* end confdefs.h.  */
11972
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11973
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11974
 
#define shl_load innocuous_shl_load
11975
 
 
11976
 
/* System header to define __stub macros and hopefully few prototypes,
11977
 
    which can conflict with char shl_load (); below.
11978
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11979
 
    <limits.h> exists even on freestanding compilers.  */
11980
 
 
11981
 
#ifdef __STDC__
11982
 
# include <limits.h>
11983
 
#else
11984
 
# include <assert.h>
11985
 
#endif
11986
 
 
11987
 
#undef shl_load
11988
 
 
11989
 
/* Override any GCC internal prototype to avoid an error.
11990
 
   Use char because int might match the return type of a GCC
11991
 
   builtin and then its argument prototype would still apply.  */
11992
 
#ifdef __cplusplus
11993
 
extern "C"
11994
 
#endif
11995
 
char shl_load ();
11996
 
/* The GNU C library defines this for functions which it implements
11997
 
    to always fail with ENOSYS.  Some functions are actually named
11998
 
    something starting with __ and the normal name is an alias.  */
11999
 
#if defined __stub_shl_load || defined __stub___shl_load
12000
 
choke me
12001
 
#endif
12002
 
 
12003
 
int
12004
 
main ()
12005
 
{
12006
 
return shl_load ();
12007
 
  ;
12008
 
  return 0;
12009
 
}
12010
 
_ACEOF
12011
 
rm -f conftest.$ac_objext conftest$ac_exeext
12012
 
if { (ac_try="$ac_link"
12013
 
case "(($ac_try" in
12014
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12015
 
  *) ac_try_echo=$ac_try;;
12016
 
esac
12017
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12018
 
$as_echo "$ac_try_echo") >&5
12019
 
  (eval "$ac_link") 2>conftest.er1
12020
 
  ac_status=$?
12021
 
  grep -v '^ *+' conftest.er1 >conftest.err
12022
 
  rm -f conftest.er1
12023
 
  cat conftest.err >&5
12024
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025
 
  (exit $ac_status); } && {
12026
 
         test -z "$ac_c_werror_flag" ||
12027
 
         test ! -s conftest.err
12028
 
       } && test -s conftest$ac_exeext && {
12029
 
         test "$cross_compiling" = yes ||
12030
 
         $as_test_x conftest$ac_exeext
12031
 
       }; then
12032
 
  ac_cv_func_shl_load=yes
12033
 
else
12034
 
  $as_echo "$as_me: failed program was:" >&5
12035
 
sed 's/^/| /' conftest.$ac_ext >&5
12036
 
 
12037
 
        ac_cv_func_shl_load=no
12038
 
fi
12039
 
 
12040
 
rm -rf conftest.dSYM
12041
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12042
 
      conftest$ac_exeext conftest.$ac_ext
12043
 
fi
12044
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12045
 
$as_echo "$ac_cv_func_shl_load" >&6; }
12046
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
11356
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11357
if test "x$ac_cv_func_shl_load" = x""yes; then :
12047
11358
  lt_cv_dlopen="shl_load"
12048
11359
else
12049
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11360
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12050
11361
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12051
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
11362
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12052
11363
  $as_echo_n "(cached) " >&6
12053
11364
else
12054
11365
  ac_check_lib_save_LIBS=$LIBS
12055
11366
LIBS="-ldld  $LIBS"
12056
 
cat >conftest.$ac_ext <<_ACEOF
12057
 
/* confdefs.h.  */
12058
 
_ACEOF
12059
 
cat confdefs.h >>conftest.$ac_ext
12060
 
cat >>conftest.$ac_ext <<_ACEOF
 
11367
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12061
11368
/* end confdefs.h.  */
12062
11369
 
12063
11370
/* Override any GCC internal prototype to avoid an error.
12075
11382
  return 0;
12076
11383
}
12077
11384
_ACEOF
12078
 
rm -f conftest.$ac_objext conftest$ac_exeext
12079
 
if { (ac_try="$ac_link"
12080
 
case "(($ac_try" in
12081
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12082
 
  *) ac_try_echo=$ac_try;;
12083
 
esac
12084
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12085
 
$as_echo "$ac_try_echo") >&5
12086
 
  (eval "$ac_link") 2>conftest.er1
12087
 
  ac_status=$?
12088
 
  grep -v '^ *+' conftest.er1 >conftest.err
12089
 
  rm -f conftest.er1
12090
 
  cat conftest.err >&5
12091
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092
 
  (exit $ac_status); } && {
12093
 
         test -z "$ac_c_werror_flag" ||
12094
 
         test ! -s conftest.err
12095
 
       } && test -s conftest$ac_exeext && {
12096
 
         test "$cross_compiling" = yes ||
12097
 
         $as_test_x conftest$ac_exeext
12098
 
       }; then
 
11385
if ac_fn_c_try_link "$LINENO"; then :
12099
11386
  ac_cv_lib_dld_shl_load=yes
12100
11387
else
12101
 
  $as_echo "$as_me: failed program was:" >&5
12102
 
sed 's/^/| /' conftest.$ac_ext >&5
12103
 
 
12104
 
        ac_cv_lib_dld_shl_load=no
 
11388
  ac_cv_lib_dld_shl_load=no
12105
11389
fi
12106
 
 
12107
 
rm -rf conftest.dSYM
12108
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12109
 
      conftest$ac_exeext conftest.$ac_ext
 
11390
rm -f core conftest.err conftest.$ac_objext \
 
11391
    conftest$ac_exeext conftest.$ac_ext
12110
11392
LIBS=$ac_check_lib_save_LIBS
12111
11393
fi
12112
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12113
11395
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12114
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11396
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12115
11397
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12116
11398
else
12117
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12118
 
$as_echo_n "checking for dlopen... " >&6; }
12119
 
if test "${ac_cv_func_dlopen+set}" = set; then
12120
 
  $as_echo_n "(cached) " >&6
12121
 
else
12122
 
  cat >conftest.$ac_ext <<_ACEOF
12123
 
/* confdefs.h.  */
12124
 
_ACEOF
12125
 
cat confdefs.h >>conftest.$ac_ext
12126
 
cat >>conftest.$ac_ext <<_ACEOF
12127
 
/* end confdefs.h.  */
12128
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12129
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12130
 
#define dlopen innocuous_dlopen
12131
 
 
12132
 
/* System header to define __stub macros and hopefully few prototypes,
12133
 
    which can conflict with char dlopen (); below.
12134
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12135
 
    <limits.h> exists even on freestanding compilers.  */
12136
 
 
12137
 
#ifdef __STDC__
12138
 
# include <limits.h>
12139
 
#else
12140
 
# include <assert.h>
12141
 
#endif
12142
 
 
12143
 
#undef dlopen
12144
 
 
12145
 
/* Override any GCC internal prototype to avoid an error.
12146
 
   Use char because int might match the return type of a GCC
12147
 
   builtin and then its argument prototype would still apply.  */
12148
 
#ifdef __cplusplus
12149
 
extern "C"
12150
 
#endif
12151
 
char dlopen ();
12152
 
/* The GNU C library defines this for functions which it implements
12153
 
    to always fail with ENOSYS.  Some functions are actually named
12154
 
    something starting with __ and the normal name is an alias.  */
12155
 
#if defined __stub_dlopen || defined __stub___dlopen
12156
 
choke me
12157
 
#endif
12158
 
 
12159
 
int
12160
 
main ()
12161
 
{
12162
 
return dlopen ();
12163
 
  ;
12164
 
  return 0;
12165
 
}
12166
 
_ACEOF
12167
 
rm -f conftest.$ac_objext conftest$ac_exeext
12168
 
if { (ac_try="$ac_link"
12169
 
case "(($ac_try" in
12170
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12171
 
  *) ac_try_echo=$ac_try;;
12172
 
esac
12173
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12174
 
$as_echo "$ac_try_echo") >&5
12175
 
  (eval "$ac_link") 2>conftest.er1
12176
 
  ac_status=$?
12177
 
  grep -v '^ *+' conftest.er1 >conftest.err
12178
 
  rm -f conftest.er1
12179
 
  cat conftest.err >&5
12180
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181
 
  (exit $ac_status); } && {
12182
 
         test -z "$ac_c_werror_flag" ||
12183
 
         test ! -s conftest.err
12184
 
       } && test -s conftest$ac_exeext && {
12185
 
         test "$cross_compiling" = yes ||
12186
 
         $as_test_x conftest$ac_exeext
12187
 
       }; then
12188
 
  ac_cv_func_dlopen=yes
12189
 
else
12190
 
  $as_echo "$as_me: failed program was:" >&5
12191
 
sed 's/^/| /' conftest.$ac_ext >&5
12192
 
 
12193
 
        ac_cv_func_dlopen=no
12194
 
fi
12195
 
 
12196
 
rm -rf conftest.dSYM
12197
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12198
 
      conftest$ac_exeext conftest.$ac_ext
12199
 
fi
12200
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12201
 
$as_echo "$ac_cv_func_dlopen" >&6; }
12202
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
11399
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11400
if test "x$ac_cv_func_dlopen" = x""yes; then :
12203
11401
  lt_cv_dlopen="dlopen"
12204
11402
else
12205
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11403
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12206
11404
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12207
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11405
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12208
11406
  $as_echo_n "(cached) " >&6
12209
11407
else
12210
11408
  ac_check_lib_save_LIBS=$LIBS
12211
11409
LIBS="-ldl  $LIBS"
12212
 
cat >conftest.$ac_ext <<_ACEOF
12213
 
/* confdefs.h.  */
12214
 
_ACEOF
12215
 
cat confdefs.h >>conftest.$ac_ext
12216
 
cat >>conftest.$ac_ext <<_ACEOF
 
11410
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217
11411
/* end confdefs.h.  */
12218
11412
 
12219
11413
/* Override any GCC internal prototype to avoid an error.
12231
11425
  return 0;
12232
11426
}
12233
11427
_ACEOF
12234
 
rm -f conftest.$ac_objext conftest$ac_exeext
12235
 
if { (ac_try="$ac_link"
12236
 
case "(($ac_try" in
12237
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12238
 
  *) ac_try_echo=$ac_try;;
12239
 
esac
12240
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12241
 
$as_echo "$ac_try_echo") >&5
12242
 
  (eval "$ac_link") 2>conftest.er1
12243
 
  ac_status=$?
12244
 
  grep -v '^ *+' conftest.er1 >conftest.err
12245
 
  rm -f conftest.er1
12246
 
  cat conftest.err >&5
12247
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248
 
  (exit $ac_status); } && {
12249
 
         test -z "$ac_c_werror_flag" ||
12250
 
         test ! -s conftest.err
12251
 
       } && test -s conftest$ac_exeext && {
12252
 
         test "$cross_compiling" = yes ||
12253
 
         $as_test_x conftest$ac_exeext
12254
 
       }; then
 
11428
if ac_fn_c_try_link "$LINENO"; then :
12255
11429
  ac_cv_lib_dl_dlopen=yes
12256
11430
else
12257
 
  $as_echo "$as_me: failed program was:" >&5
12258
 
sed 's/^/| /' conftest.$ac_ext >&5
12259
 
 
12260
 
        ac_cv_lib_dl_dlopen=no
 
11431
  ac_cv_lib_dl_dlopen=no
12261
11432
fi
12262
 
 
12263
 
rm -rf conftest.dSYM
12264
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12265
 
      conftest$ac_exeext conftest.$ac_ext
 
11433
rm -f core conftest.err conftest.$ac_objext \
 
11434
    conftest$ac_exeext conftest.$ac_ext
12266
11435
LIBS=$ac_check_lib_save_LIBS
12267
11436
fi
12268
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12269
11438
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12270
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11439
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12271
11440
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12272
11441
else
12273
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11442
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12274
11443
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12275
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
11444
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12276
11445
  $as_echo_n "(cached) " >&6
12277
11446
else
12278
11447
  ac_check_lib_save_LIBS=$LIBS
12279
11448
LIBS="-lsvld  $LIBS"
12280
 
cat >conftest.$ac_ext <<_ACEOF
12281
 
/* confdefs.h.  */
12282
 
_ACEOF
12283
 
cat confdefs.h >>conftest.$ac_ext
12284
 
cat >>conftest.$ac_ext <<_ACEOF
 
11449
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285
11450
/* end confdefs.h.  */
12286
11451
 
12287
11452
/* Override any GCC internal prototype to avoid an error.
12299
11464
  return 0;
12300
11465
}
12301
11466
_ACEOF
12302
 
rm -f conftest.$ac_objext conftest$ac_exeext
12303
 
if { (ac_try="$ac_link"
12304
 
case "(($ac_try" in
12305
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12306
 
  *) ac_try_echo=$ac_try;;
12307
 
esac
12308
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12309
 
$as_echo "$ac_try_echo") >&5
12310
 
  (eval "$ac_link") 2>conftest.er1
12311
 
  ac_status=$?
12312
 
  grep -v '^ *+' conftest.er1 >conftest.err
12313
 
  rm -f conftest.er1
12314
 
  cat conftest.err >&5
12315
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316
 
  (exit $ac_status); } && {
12317
 
         test -z "$ac_c_werror_flag" ||
12318
 
         test ! -s conftest.err
12319
 
       } && test -s conftest$ac_exeext && {
12320
 
         test "$cross_compiling" = yes ||
12321
 
         $as_test_x conftest$ac_exeext
12322
 
       }; then
 
11467
if ac_fn_c_try_link "$LINENO"; then :
12323
11468
  ac_cv_lib_svld_dlopen=yes
12324
11469
else
12325
 
  $as_echo "$as_me: failed program was:" >&5
12326
 
sed 's/^/| /' conftest.$ac_ext >&5
12327
 
 
12328
 
        ac_cv_lib_svld_dlopen=no
 
11470
  ac_cv_lib_svld_dlopen=no
12329
11471
fi
12330
 
 
12331
 
rm -rf conftest.dSYM
12332
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12333
 
      conftest$ac_exeext conftest.$ac_ext
 
11472
rm -f core conftest.err conftest.$ac_objext \
 
11473
    conftest$ac_exeext conftest.$ac_ext
12334
11474
LIBS=$ac_check_lib_save_LIBS
12335
11475
fi
12336
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12337
11477
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12338
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
11478
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12339
11479
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12340
11480
else
12341
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11481
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12342
11482
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12343
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
11483
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12344
11484
  $as_echo_n "(cached) " >&6
12345
11485
else
12346
11486
  ac_check_lib_save_LIBS=$LIBS
12347
11487
LIBS="-ldld  $LIBS"
12348
 
cat >conftest.$ac_ext <<_ACEOF
12349
 
/* confdefs.h.  */
12350
 
_ACEOF
12351
 
cat confdefs.h >>conftest.$ac_ext
12352
 
cat >>conftest.$ac_ext <<_ACEOF
 
11488
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12353
11489
/* end confdefs.h.  */
12354
11490
 
12355
11491
/* Override any GCC internal prototype to avoid an error.
12367
11503
  return 0;
12368
11504
}
12369
11505
_ACEOF
12370
 
rm -f conftest.$ac_objext conftest$ac_exeext
12371
 
if { (ac_try="$ac_link"
12372
 
case "(($ac_try" in
12373
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12374
 
  *) ac_try_echo=$ac_try;;
12375
 
esac
12376
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12377
 
$as_echo "$ac_try_echo") >&5
12378
 
  (eval "$ac_link") 2>conftest.er1
12379
 
  ac_status=$?
12380
 
  grep -v '^ *+' conftest.er1 >conftest.err
12381
 
  rm -f conftest.er1
12382
 
  cat conftest.err >&5
12383
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384
 
  (exit $ac_status); } && {
12385
 
         test -z "$ac_c_werror_flag" ||
12386
 
         test ! -s conftest.err
12387
 
       } && test -s conftest$ac_exeext && {
12388
 
         test "$cross_compiling" = yes ||
12389
 
         $as_test_x conftest$ac_exeext
12390
 
       }; then
 
11506
if ac_fn_c_try_link "$LINENO"; then :
12391
11507
  ac_cv_lib_dld_dld_link=yes
12392
11508
else
12393
 
  $as_echo "$as_me: failed program was:" >&5
12394
 
sed 's/^/| /' conftest.$ac_ext >&5
12395
 
 
12396
 
        ac_cv_lib_dld_dld_link=no
 
11509
  ac_cv_lib_dld_dld_link=no
12397
11510
fi
12398
 
 
12399
 
rm -rf conftest.dSYM
12400
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12401
 
      conftest$ac_exeext conftest.$ac_ext
 
11511
rm -f core conftest.err conftest.$ac_objext \
 
11512
    conftest$ac_exeext conftest.$ac_ext
12402
11513
LIBS=$ac_check_lib_save_LIBS
12403
11514
fi
12404
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12405
11516
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12406
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11517
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12407
11518
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12408
11519
fi
12409
11520
 
12442
11553
    save_LIBS="$LIBS"
12443
11554
    LIBS="$lt_cv_dlopen_libs $LIBS"
12444
11555
 
12445
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11556
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12446
11557
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12447
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
11558
if test "${lt_cv_dlopen_self+set}" = set; then :
12448
11559
  $as_echo_n "(cached) " >&6
12449
11560
else
12450
11561
          if test "$cross_compiling" = yes; then :
12453
11564
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12454
11565
  lt_status=$lt_dlunknown
12455
11566
  cat > conftest.$ac_ext <<_LT_EOF
12456
 
#line 12456 "configure"
 
11567
#line 11567 "configure"
12457
11568
#include "confdefs.h"
12458
11569
 
12459
11570
#if HAVE_DLFCN_H
12512
11623
  return status;
12513
11624
}
12514
11625
_LT_EOF
12515
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11626
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12516
11627
  (eval $ac_link) 2>&5
12517
11628
  ac_status=$?
12518
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11629
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11630
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12520
11631
    (./conftest; exit; ) >&5 2>/dev/null
12521
11632
    lt_status=$?
12522
11633
    case x$lt_status in
12533
11644
 
12534
11645
 
12535
11646
fi
12536
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12537
11648
$as_echo "$lt_cv_dlopen_self" >&6; }
12538
11649
 
12539
11650
    if test "x$lt_cv_dlopen_self" = xyes; then
12540
11651
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12541
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11652
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12542
11653
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12543
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
11654
if test "${lt_cv_dlopen_self_static+set}" = set; then :
12544
11655
  $as_echo_n "(cached) " >&6
12545
11656
else
12546
11657
          if test "$cross_compiling" = yes; then :
12549
11660
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12550
11661
  lt_status=$lt_dlunknown
12551
11662
  cat > conftest.$ac_ext <<_LT_EOF
12552
 
#line 12552 "configure"
 
11663
#line 11663 "configure"
12553
11664
#include "confdefs.h"
12554
11665
 
12555
11666
#if HAVE_DLFCN_H
12608
11719
  return status;
12609
11720
}
12610
11721
_LT_EOF
12611
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11722
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12612
11723
  (eval $ac_link) 2>&5
12613
11724
  ac_status=$?
12614
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11725
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11726
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12616
11727
    (./conftest; exit; ) >&5 2>/dev/null
12617
11728
    lt_status=$?
12618
11729
    case x$lt_status in
12629
11740
 
12630
11741
 
12631
11742
fi
12632
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12633
11744
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12634
11745
    fi
12635
11746
 
12668
11779
 
12669
11780
striplib=
12670
11781
old_striplib=
12671
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12672
11783
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12673
11784
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12674
11785
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12675
11786
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12676
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11787
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12677
11788
$as_echo "yes" >&6; }
12678
11789
else
12679
11790
# FIXME - insert some real tests, host_os isn't really good enough
12682
11793
    if test -n "$STRIP" ; then
12683
11794
      striplib="$STRIP -x"
12684
11795
      old_striplib="$STRIP -S"
12685
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11796
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12686
11797
$as_echo "yes" >&6; }
12687
11798
    else
12688
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11799
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12689
11800
$as_echo "no" >&6; }
12690
11801
    fi
12691
11802
    ;;
12692
11803
  *)
12693
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11804
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12694
11805
$as_echo "no" >&6; }
12695
11806
    ;;
12696
11807
  esac
12708
11819
 
12709
11820
 
12710
11821
  # Report which library types will actually be built
12711
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11822
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12712
11823
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12713
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11824
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12714
11825
$as_echo "$can_build_shared" >&6; }
12715
11826
 
12716
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11827
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12717
11828
$as_echo_n "checking whether to build shared libraries... " >&6; }
12718
11829
  test "$can_build_shared" = "no" && enable_shared=no
12719
11830
 
12734
11845
    fi
12735
11846
    ;;
12736
11847
  esac
12737
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11848
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12738
11849
$as_echo "$enable_shared" >&6; }
12739
11850
 
12740
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11851
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12741
11852
$as_echo_n "checking whether to build static libraries... " >&6; }
12742
11853
  # Make sure either enable_shared or enable_static is yes.
12743
11854
  test "$enable_shared" = yes || enable_static=yes
12744
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11855
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12745
11856
$as_echo "$enable_static" >&6; }
12746
11857
 
12747
11858
 
12780
11891
 
12781
11892
 
12782
11893
    # Check whether --enable-compile-warnings was given.
12783
 
if test "${enable_compile_warnings+set}" = set; then
 
11894
if test "${enable_compile_warnings+set}" = set; then :
12784
11895
  enableval=$enable_compile_warnings;
12785
11896
else
12786
11897
  enable_compile_warnings="yes"
12811
11922
        for option in -Wno-sign-compare; do
12812
11923
                SAVE_CFLAGS="$CFLAGS"
12813
11924
                CFLAGS="$CFLAGS $option"
12814
 
                { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
 
11925
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
12815
11926
$as_echo_n "checking whether gcc understands $option... " >&6; }
12816
 
                cat >conftest.$ac_ext <<_ACEOF
12817
 
/* confdefs.h.  */
12818
 
_ACEOF
12819
 
cat confdefs.h >>conftest.$ac_ext
12820
 
cat >>conftest.$ac_ext <<_ACEOF
 
11927
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12821
11928
/* end confdefs.h.  */
12822
11929
 
12823
11930
int
12828
11935
  return 0;
12829
11936
}
12830
11937
_ACEOF
12831
 
rm -f conftest.$ac_objext
12832
 
if { (ac_try="$ac_compile"
12833
 
case "(($ac_try" in
12834
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12835
 
  *) ac_try_echo=$ac_try;;
12836
 
esac
12837
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12838
 
$as_echo "$ac_try_echo") >&5
12839
 
  (eval "$ac_compile") 2>conftest.er1
12840
 
  ac_status=$?
12841
 
  grep -v '^ *+' conftest.er1 >conftest.err
12842
 
  rm -f conftest.er1
12843
 
  cat conftest.err >&5
12844
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845
 
  (exit $ac_status); } && {
12846
 
         test -z "$ac_c_werror_flag" ||
12847
 
         test ! -s conftest.err
12848
 
       } && test -s conftest.$ac_objext; then
 
11938
if ac_fn_c_try_compile "$LINENO"; then :
12849
11939
  has_option=yes
12850
11940
else
12851
 
  $as_echo "$as_me: failed program was:" >&5
12852
 
sed 's/^/| /' conftest.$ac_ext >&5
12853
 
 
12854
 
        has_option=no
 
11941
  has_option=no
12855
11942
fi
12856
 
 
12857
11943
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12858
11944
                CFLAGS="$SAVE_CFLAGS"
12859
 
                { $as_echo "$as_me:$LINENO: result: $has_option" >&5
 
11945
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
12860
11946
$as_echo "$has_option" >&6; }
12861
11947
                if test $has_option = yes; then
12862
11948
                  warning_flags="$warning_flags $option"
12870
11956
        fi
12871
11957
        ;;
12872
11958
    *)
12873
 
        { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
12874
 
$as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
12875
 
   { (exit 1); exit 1; }; }
 
11959
        as_fn_error "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
12876
11960
        ;;
12877
11961
    esac
12878
11962
    CFLAGS="$realsave_CFLAGS"
12879
 
    { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
 
11963
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
12880
11964
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
12881
 
    { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
 
11965
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
12882
11966
$as_echo "$warning_flags" >&6; }
12883
11967
 
12884
11968
    # Check whether --enable-iso-c was given.
12885
 
if test "${enable_iso_c+set}" = set; then
 
11969
if test "${enable_iso_c+set}" = set; then :
12886
11970
  enableval=$enable_iso_c;
12887
11971
else
12888
11972
  enable_iso_c=no
12889
11973
fi
12890
11974
 
12891
11975
 
12892
 
    { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
 
11976
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
12893
11977
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
12894
11978
    complCFLAGS=
12895
11979
    if test "x$enable_iso_c" != "xno"; then
12904
11988
        esac
12905
11989
        fi
12906
11990
    fi
12907
 
    { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
 
11991
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
12908
11992
$as_echo "$complCFLAGS" >&6; }
12909
11993
 
12910
11994
    WARN_CFLAGS="$warning_flags $complCFLAGS"
12911
11995
 
12912
11996
 
12913
11997
# Check whether --enable-glibtest was given.
12914
 
if test "${enable_glibtest+set}" = set; then
 
11998
if test "${enable_glibtest+set}" = set; then :
12915
11999
  enableval=$enable_glibtest;
12916
12000
else
12917
12001
  enable_glibtest=yes
12946
12030
        if test -n "$ac_tool_prefix"; then
12947
12031
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12948
12032
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12949
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12950
12034
$as_echo_n "checking for $ac_word... " >&6; }
12951
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
12035
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12952
12036
  $as_echo_n "(cached) " >&6
12953
12037
else
12954
12038
  case $PKG_CONFIG in
12961
12045
do
12962
12046
  IFS=$as_save_IFS
12963
12047
  test -z "$as_dir" && as_dir=.
12964
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12048
    for ac_exec_ext in '' $ac_executable_extensions; do
12965
12049
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12966
12050
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12967
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12051
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12968
12052
    break 2
12969
12053
  fi
12970
12054
done
12971
 
done
 
12055
  done
12972
12056
IFS=$as_save_IFS
12973
12057
 
12974
12058
  ;;
12976
12060
fi
12977
12061
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12978
12062
if test -n "$PKG_CONFIG"; then
12979
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
12063
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12980
12064
$as_echo "$PKG_CONFIG" >&6; }
12981
12065
else
12982
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12066
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983
12067
$as_echo "no" >&6; }
12984
12068
fi
12985
12069
 
12989
12073
  ac_pt_PKG_CONFIG=$PKG_CONFIG
12990
12074
  # Extract the first word of "pkg-config", so it can be a program name with args.
12991
12075
set dummy pkg-config; ac_word=$2
12992
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12993
12077
$as_echo_n "checking for $ac_word... " >&6; }
12994
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
12078
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12995
12079
  $as_echo_n "(cached) " >&6
12996
12080
else
12997
12081
  case $ac_pt_PKG_CONFIG in
13004
12088
do
13005
12089
  IFS=$as_save_IFS
13006
12090
  test -z "$as_dir" && as_dir=.
13007
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12091
    for ac_exec_ext in '' $ac_executable_extensions; do
13008
12092
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13009
12093
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13010
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12094
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13011
12095
    break 2
13012
12096
  fi
13013
12097
done
13014
 
done
 
12098
  done
13015
12099
IFS=$as_save_IFS
13016
12100
 
13017
12101
  ;;
13019
12103
fi
13020
12104
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13021
12105
if test -n "$ac_pt_PKG_CONFIG"; then
13022
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
12106
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13023
12107
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13024
12108
else
13025
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12109
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13026
12110
$as_echo "no" >&6; }
13027
12111
fi
13028
12112
 
13031
12115
  else
13032
12116
    case $cross_compiling:$ac_tool_warned in
13033
12117
yes:)
13034
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
12118
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13035
12119
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13036
12120
ac_tool_warned=yes ;;
13037
12121
esac
13044
12128
fi
13045
12129
if test -n "$PKG_CONFIG"; then
13046
12130
        _pkg_min_version=0.16
13047
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
12131
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13048
12132
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13049
12133
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13050
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12134
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13051
12135
$as_echo "yes" >&6; }
13052
12136
        else
13053
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
12137
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13054
12138
$as_echo "no" >&6; }
13055
12139
                PKG_CONFIG=""
13056
12140
        fi
13065
12149
  fi
13066
12150
 
13067
12151
  min_glib_version=2.0.0
13068
 
  { $as_echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
 
12152
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
13069
12153
$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
13070
12154
 
13071
12155
  if test x$PKG_CONFIG != xno ; then
13101
12185
      CFLAGS="$CFLAGS $GLIB_CFLAGS"
13102
12186
      LIBS="$GLIB_LIBS $LIBS"
13103
12187
      rm -f conf.glibtest
13104
 
      if test "$cross_compiling" = yes; then
 
12188
      if test "$cross_compiling" = yes; then :
13105
12189
  echo $ac_n "cross compiling; assumed OK... $ac_c"
13106
12190
else
13107
 
  cat >conftest.$ac_ext <<_ACEOF
13108
 
/* confdefs.h.  */
13109
 
_ACEOF
13110
 
cat confdefs.h >>conftest.$ac_ext
13111
 
cat >>conftest.$ac_ext <<_ACEOF
 
12191
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112
12192
/* end confdefs.h.  */
13113
12193
 
13114
12194
#include <glib.h>
13184
12264
}
13185
12265
 
13186
12266
_ACEOF
13187
 
rm -f conftest$ac_exeext
13188
 
if { (ac_try="$ac_link"
13189
 
case "(($ac_try" in
13190
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13191
 
  *) ac_try_echo=$ac_try;;
13192
 
esac
13193
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13194
 
$as_echo "$ac_try_echo") >&5
13195
 
  (eval "$ac_link") 2>&5
13196
 
  ac_status=$?
13197
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13199
 
  { (case "(($ac_try" in
13200
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13201
 
  *) ac_try_echo=$ac_try;;
13202
 
esac
13203
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13204
 
$as_echo "$ac_try_echo") >&5
13205
 
  (eval "$ac_try") 2>&5
13206
 
  ac_status=$?
13207
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208
 
  (exit $ac_status); }; }; then
13209
 
  :
 
12267
if ac_fn_c_try_run "$LINENO"; then :
 
12268
 
13210
12269
else
13211
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
13212
 
$as_echo "$as_me: failed program was:" >&5
13213
 
sed 's/^/| /' conftest.$ac_ext >&5
13214
 
 
13215
 
( exit $ac_status )
13216
 
no_glib=yes
13217
 
fi
13218
 
rm -rf conftest.dSYM
13219
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13220
 
fi
13221
 
 
 
12270
  no_glib=yes
 
12271
fi
 
12272
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
12273
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
12274
fi
13222
12275
 
13223
12276
       CFLAGS="$ac_save_CFLAGS"
13224
12277
       LIBS="$ac_save_LIBS"
13225
12278
     fi
13226
12279
  fi
13227
12280
  if test "x$no_glib" = x ; then
13228
 
     { $as_echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
 
12281
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
13229
12282
$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
13230
12283
     :
13231
12284
  else
13232
 
     { $as_echo "$as_me:$LINENO: result: no" >&5
 
12285
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13233
12286
$as_echo "no" >&6; }
13234
12287
     if test "$PKG_CONFIG" = "no" ; then
13235
12288
       echo "*** A new enough version of pkg-config was not found."
13243
12296
          ac_save_LIBS="$LIBS"
13244
12297
          CFLAGS="$CFLAGS $GLIB_CFLAGS"
13245
12298
          LIBS="$LIBS $GLIB_LIBS"
13246
 
          cat >conftest.$ac_ext <<_ACEOF
13247
 
/* confdefs.h.  */
13248
 
_ACEOF
13249
 
cat confdefs.h >>conftest.$ac_ext
13250
 
cat >>conftest.$ac_ext <<_ACEOF
 
12299
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13251
12300
/* end confdefs.h.  */
13252
12301
 
13253
12302
#include <glib.h>
13261
12310
  return 0;
13262
12311
}
13263
12312
_ACEOF
13264
 
rm -f conftest.$ac_objext conftest$ac_exeext
13265
 
if { (ac_try="$ac_link"
13266
 
case "(($ac_try" in
13267
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13268
 
  *) ac_try_echo=$ac_try;;
13269
 
esac
13270
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13271
 
$as_echo "$ac_try_echo") >&5
13272
 
  (eval "$ac_link") 2>conftest.er1
13273
 
  ac_status=$?
13274
 
  grep -v '^ *+' conftest.er1 >conftest.err
13275
 
  rm -f conftest.er1
13276
 
  cat conftest.err >&5
13277
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278
 
  (exit $ac_status); } && {
13279
 
         test -z "$ac_c_werror_flag" ||
13280
 
         test ! -s conftest.err
13281
 
       } && test -s conftest$ac_exeext && {
13282
 
         test "$cross_compiling" = yes ||
13283
 
         $as_test_x conftest$ac_exeext
13284
 
       }; then
 
12313
if ac_fn_c_try_link "$LINENO"; then :
13285
12314
   echo "*** The test program compiled, but did not run. This usually means"
13286
12315
          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
13287
12316
          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
13292
12321
          echo "*** If you have an old version installed, it is best to remove it, although"
13293
12322
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13294
12323
else
13295
 
  $as_echo "$as_me: failed program was:" >&5
13296
 
sed 's/^/| /' conftest.$ac_ext >&5
13297
 
 
13298
 
         echo "*** The test program failed to compile or link. See the file config.log for the"
 
12324
   echo "*** The test program failed to compile or link. See the file config.log for the"
13299
12325
          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
13300
12326
fi
13301
 
 
13302
 
rm -rf conftest.dSYM
13303
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13304
 
      conftest$ac_exeext conftest.$ac_ext
 
12327
rm -f core conftest.err conftest.$ac_objext \
 
12328
    conftest$ac_exeext conftest.$ac_ext
13305
12329
          CFLAGS="$ac_save_CFLAGS"
13306
12330
          LIBS="$ac_save_LIBS"
13307
12331
       fi
13324
12348
 
13325
12349
# Extract the first word of "mono", so it can be a program name with args.
13326
12350
set dummy mono; ac_word=$2
13327
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13328
12352
$as_echo_n "checking for $ac_word... " >&6; }
13329
 
if test "${ac_cv_path_MONO+set}" = set; then
 
12353
if test "${ac_cv_path_MONO+set}" = set; then :
13330
12354
  $as_echo_n "(cached) " >&6
13331
12355
else
13332
12356
  case $MONO in
13339
12363
do
13340
12364
  IFS=$as_save_IFS
13341
12365
  test -z "$as_dir" && as_dir=.
13342
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12366
    for ac_exec_ext in '' $ac_executable_extensions; do
13343
12367
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13344
12368
    ac_cv_path_MONO="$as_dir/$ac_word$ac_exec_ext"
13345
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12369
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13346
12370
    break 2
13347
12371
  fi
13348
12372
done
13349
 
done
 
12373
  done
13350
12374
IFS=$as_save_IFS
13351
12375
 
13352
12376
  ;;
13354
12378
fi
13355
12379
MONO=$ac_cv_path_MONO
13356
12380
if test -n "$MONO"; then
13357
 
  { $as_echo "$as_me:$LINENO: result: $MONO" >&5
 
12381
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MONO" >&5
13358
12382
$as_echo "$MONO" >&6; }
13359
12383
else
13360
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12384
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13361
12385
$as_echo "no" >&6; }
13362
12386
fi
13363
12387
 
13364
12388
 
13365
12389
# Extract the first word of "gmcs", so it can be a program name with args.
13366
12390
set dummy gmcs; ac_word=$2
13367
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13368
12392
$as_echo_n "checking for $ac_word... " >&6; }
13369
 
if test "${ac_cv_path_MCS+set}" = set; then
 
12393
if test "${ac_cv_path_MCS+set}" = set; then :
13370
12394
  $as_echo_n "(cached) " >&6
13371
12395
else
13372
12396
  case $MCS in
13379
12403
do
13380
12404
  IFS=$as_save_IFS
13381
12405
  test -z "$as_dir" && as_dir=.
13382
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12406
    for ac_exec_ext in '' $ac_executable_extensions; do
13383
12407
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13384
12408
    ac_cv_path_MCS="$as_dir/$ac_word$ac_exec_ext"
13385
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12409
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13386
12410
    break 2
13387
12411
  fi
13388
12412
done
13389
 
done
 
12413
  done
13390
12414
IFS=$as_save_IFS
13391
12415
 
13392
12416
  ;;
13394
12418
fi
13395
12419
MCS=$ac_cv_path_MCS
13396
12420
if test -n "$MCS"; then
13397
 
  { $as_echo "$as_me:$LINENO: result: $MCS" >&5
 
12421
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCS" >&5
13398
12422
$as_echo "$MCS" >&6; }
13399
12423
else
13400
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12424
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13401
12425
$as_echo "no" >&6; }
13402
12426
fi
13403
12427
 
13406
12430
CSC_DEFINES=""
13407
12431
CS="C#"
13408
12432
if test ! -x "$MCS"; then
13409
 
        { { $as_echo "$as_me:$LINENO: error: No $CS compiler found" >&5
13410
 
$as_echo "$as_me: error: No $CS compiler found" >&2;}
13411
 
   { (exit 1); exit 1; }; }
13412
 
fi
13413
 
 
13414
 
 
13415
 
 
13416
 
{ $as_echo "$as_me:$LINENO: checking for mono.pc" >&5
 
12433
        as_fn_error "No $CS compiler found" "$LINENO" 5
 
12434
fi
 
12435
 
 
12436
 
 
12437
 
 
12438
gdu_cv_version_required=0.3.2
 
12439
 
 
12440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
 
12441
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
 
12442
if test -n "$PKG_CONFIG" && \
 
12443
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
 
12444
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
 
12445
  ac_status=$?
 
12446
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12447
  test $ac_status = 0; }; then
 
12448
  gdu_cv_have_gdu=yes
 
12449
else
 
12450
  gdu_cv_have_gdu=no
 
12451
fi
 
12452
 
 
12453
if test "$gdu_cv_have_gdu" = "yes"; then
 
12454
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12455
$as_echo "yes" >&6; }
 
12456
        :
 
12457
else
 
12458
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12459
$as_echo "no" >&6; }
 
12460
        as_fn_error "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
 
12461
fi
 
12462
 
 
12463
 
 
12464
 
 
12465
# Check whether --with-help-dir was given.
 
12466
if test "${with_help_dir+set}" = set; then :
 
12467
  withval=$with_help_dir;
 
12468
else
 
12469
  with_help_dir='${datadir}/gnome/help'
 
12470
fi
 
12471
 
 
12472
HELP_DIR="$with_help_dir"
 
12473
 
 
12474
 
 
12475
 
 
12476
# Check whether --with-omf-dir was given.
 
12477
if test "${with_omf_dir+set}" = set; then :
 
12478
  withval=$with_omf_dir;
 
12479
else
 
12480
  with_omf_dir='${datadir}/omf'
 
12481
fi
 
12482
 
 
12483
OMF_DIR="$with_omf_dir"
 
12484
 
 
12485
 
 
12486
 
 
12487
# Check whether --with-help-formats was given.
 
12488
if test "${with_help_formats+set}" = set; then :
 
12489
  withval=$with_help_formats;
 
12490
else
 
12491
  with_help_formats=''
 
12492
fi
 
12493
 
 
12494
DOC_USER_FORMATS="$with_help_formats"
 
12495
 
 
12496
 
 
12497
# Check whether --enable-scrollkeeper was given.
 
12498
if test "${enable_scrollkeeper+set}" = set; then :
 
12499
  enableval=$enable_scrollkeeper;
 
12500
else
 
12501
  enable_scrollkeeper=yes
 
12502
fi
 
12503
 
 
12504
 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
 
12505
  ENABLE_SK_TRUE=
 
12506
  ENABLE_SK_FALSE='#'
 
12507
else
 
12508
  ENABLE_SK_TRUE='#'
 
12509
  ENABLE_SK_FALSE=
 
12510
fi
 
12511
 
 
12512
 
 
12513
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
 
12514
 
 
12515
 
 
12516
 if test "$gdu_cv_have_gdu" = "yes"; then
 
12517
  HAVE_GNOME_DOC_UTILS_TRUE=
 
12518
  HAVE_GNOME_DOC_UTILS_FALSE='#'
 
12519
else
 
12520
  HAVE_GNOME_DOC_UTILS_TRUE='#'
 
12521
  HAVE_GNOME_DOC_UTILS_FALSE=
 
12522
fi
 
12523
 
 
12524
 
 
12525
 
 
12526
 
 
12527
 
 
12528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mono.pc" >&5
13417
12529
$as_echo_n "checking for mono.pc... " >&6; }
13418
12530
if test -z `$PKG_CONFIG --variable=prefix mono`; then
13419
 
  { { $as_echo "$as_me:$LINENO: error: missing the mono.pc file, usually found in the mono-devel package" >&5
13420
 
$as_echo "$as_me: error: missing the mono.pc file, usually found in the mono-devel package" >&2;}
13421
 
   { (exit 1); exit 1; }; }
 
12531
  as_fn_error "missing the mono.pc file, usually found in the mono-devel package" "$LINENO" 5
13422
12532
else
13423
 
  { $as_echo "$as_me:$LINENO: result: found" >&5
 
12533
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13424
12534
$as_echo "found" >&6; }
13425
12535
fi
13426
12536
 
13427
12537
 
13428
12538
needed_dlls="Mono.Posix Mono.Cairo"
13429
12539
for i in $needed_dlls; do
13430
 
  { $as_echo "$as_me:$LINENO: checking for $i.dll" >&5
 
12540
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i.dll" >&5
13431
12541
$as_echo_n "checking for $i.dll... " >&6; }
13432
12542
  if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/2.0/$i.dll -o -e `$PKG_CONFIG --variable=prefix mono`/lib64/mono/2.0//$i.dll \); then
13433
 
    { { $as_echo "$as_me:$LINENO: error: missing required mono 2.0 DLL: $i.dll" >&5
13434
 
$as_echo "$as_me: error: missing required mono 2.0 DLL: $i.dll" >&2;}
13435
 
   { (exit 1); exit 1; }; }
 
12543
    as_fn_error "missing required mono 2.0 DLL: $i.dll" "$LINENO" 5
13436
12544
  else
13437
 
    { $as_echo "$as_me:$LINENO: result: found" >&5
 
12545
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13438
12546
$as_echo "found" >&6; }
13439
12547
  fi
13440
12548
done
13454
12562
 
13455
12563
 
13456
12564
pkg_failed=no
13457
 
{ $as_echo "$as_me:$LINENO: checking for GBRAINY_CORE" >&5
 
12565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GBRAINY_CORE" >&5
13458
12566
$as_echo_n "checking for GBRAINY_CORE... " >&6; }
13459
12567
 
13460
12568
if test -n "$PKG_CONFIG"; then
13462
12570
        pkg_cv_GBRAINY_CORE_CFLAGS="$GBRAINY_CORE_CFLAGS"
13463
12571
    else
13464
12572
        if test -n "$PKG_CONFIG" && \
13465
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono >= \$MONO_REQUIRED\"") >&5
 
12573
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= \$MONO_REQUIRED\""; } >&5
13466
12574
  ($PKG_CONFIG --exists --print-errors "mono >= $MONO_REQUIRED") 2>&5
13467
12575
  ac_status=$?
13468
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469
 
  (exit $ac_status); }; then
 
12576
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12577
  test $ac_status = 0; }; then
13470
12578
  pkg_cv_GBRAINY_CORE_CFLAGS=`$PKG_CONFIG --cflags "mono >= $MONO_REQUIRED" 2>/dev/null`
13471
12579
else
13472
12580
  pkg_failed=yes
13480
12588
        pkg_cv_GBRAINY_CORE_LIBS="$GBRAINY_CORE_LIBS"
13481
12589
    else
13482
12590
        if test -n "$PKG_CONFIG" && \
13483
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono >= \$MONO_REQUIRED\"") >&5
 
12591
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= \$MONO_REQUIRED\""; } >&5
13484
12592
  ($PKG_CONFIG --exists --print-errors "mono >= $MONO_REQUIRED") 2>&5
13485
12593
  ac_status=$?
13486
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487
 
  (exit $ac_status); }; then
 
12594
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12595
  test $ac_status = 0; }; then
13488
12596
  pkg_cv_GBRAINY_CORE_LIBS=`$PKG_CONFIG --libs "mono >= $MONO_REQUIRED" 2>/dev/null`
13489
12597
else
13490
12598
  pkg_failed=yes
13511
12619
        # Put the nasty error message in config.log where it belongs
13512
12620
        echo "$GBRAINY_CORE_PKG_ERRORS" >&5
13513
12621
 
13514
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (mono >= $MONO_REQUIRED) were not met:
13515
 
 
13516
 
$GBRAINY_CORE_PKG_ERRORS
13517
 
 
13518
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13519
 
installed software in a non-standard prefix.
13520
 
 
13521
 
Alternatively, you may set the environment variables GBRAINY_CORE_CFLAGS
13522
 
and GBRAINY_CORE_LIBS to avoid the need to call pkg-config.
13523
 
See the pkg-config man page for more details.
13524
 
" >&5
13525
 
$as_echo "$as_me: error: Package requirements (mono >= $MONO_REQUIRED) were not met:
13526
 
 
13527
 
$GBRAINY_CORE_PKG_ERRORS
13528
 
 
13529
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13530
 
installed software in a non-standard prefix.
13531
 
 
13532
 
Alternatively, you may set the environment variables GBRAINY_CORE_CFLAGS
13533
 
and GBRAINY_CORE_LIBS to avoid the need to call pkg-config.
13534
 
See the pkg-config man page for more details.
13535
 
" >&2;}
13536
 
   { (exit 1); exit 1; }; }
 
12622
        as_fn_error "Package requirements (mono >= $MONO_REQUIRED) were not met:
 
12623
 
 
12624
$GBRAINY_CORE_PKG_ERRORS
 
12625
 
 
12626
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12627
installed software in a non-standard prefix.
 
12628
 
 
12629
Alternatively, you may set the environment variables GBRAINY_CORE_CFLAGS
 
12630
and GBRAINY_CORE_LIBS to avoid the need to call pkg-config.
 
12631
See the pkg-config man page for more details.
 
12632
" "$LINENO" 5
13537
12633
elif test $pkg_failed = untried; then
13538
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
12634
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13539
12635
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13540
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
13541
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13542
 
path to pkg-config.
13543
 
 
13544
 
Alternatively, you may set the environment variables GBRAINY_CORE_CFLAGS
13545
 
and GBRAINY_CORE_LIBS to avoid the need to call pkg-config.
13546
 
See the pkg-config man page for more details.
13547
 
 
13548
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13549
 
See \`config.log' for more details." >&5
13550
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
13551
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13552
 
path to pkg-config.
13553
 
 
13554
 
Alternatively, you may set the environment variables GBRAINY_CORE_CFLAGS
13555
 
and GBRAINY_CORE_LIBS to avoid the need to call pkg-config.
13556
 
See the pkg-config man page for more details.
13557
 
 
13558
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13559
 
See \`config.log' for more details." >&2;}
13560
 
   { (exit 1); exit 1; }; }; }
 
12636
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12637
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12638
path to pkg-config.
 
12639
 
 
12640
Alternatively, you may set the environment variables GBRAINY_CORE_CFLAGS
 
12641
and GBRAINY_CORE_LIBS to avoid the need to call pkg-config.
 
12642
See the pkg-config man page for more details.
 
12643
 
 
12644
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12645
See \`config.log' for more details." "$LINENO" 5; }
13561
12646
else
13562
12647
        GBRAINY_CORE_CFLAGS=$pkg_cv_GBRAINY_CORE_CFLAGS
13563
12648
        GBRAINY_CORE_LIBS=$pkg_cv_GBRAINY_CORE_LIBS
13564
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12649
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13565
12650
$as_echo "yes" >&6; }
13566
12651
        :
13567
12652
fi
13569
12654
 
13570
12655
 
13571
12656
pkg_failed=no
13572
 
{ $as_echo "$as_me:$LINENO: checking for GBRAINY" >&5
 
12657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GBRAINY" >&5
13573
12658
$as_echo_n "checking for GBRAINY... " >&6; }
13574
12659
 
13575
12660
if test -n "$PKG_CONFIG"; then
13577
12662
        pkg_cv_GBRAINY_CFLAGS="$GBRAINY_CFLAGS"
13578
12663
    else
13579
12664
        if test -n "$PKG_CONFIG" && \
13580
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0 >= \$GTKSHARP_REQUIRED
 
12665
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0 >= \$GTKSHARP_REQUIRED
13581
12666
        gnome-sharp-2.0 >= \$GTKSHARP_REQUIRED
13582
 
        glade-sharp-2.0 >= \$GTKSHARP_REQUIRED\"") >&5
 
12667
        glade-sharp-2.0 >= \$GTKSHARP_REQUIRED\""; } >&5
13583
12668
  ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0 >= $GTKSHARP_REQUIRED
13584
12669
        gnome-sharp-2.0 >= $GTKSHARP_REQUIRED
13585
12670
        glade-sharp-2.0 >= $GTKSHARP_REQUIRED") 2>&5
13586
12671
  ac_status=$?
13587
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588
 
  (exit $ac_status); }; then
 
12672
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12673
  test $ac_status = 0; }; then
13589
12674
  pkg_cv_GBRAINY_CFLAGS=`$PKG_CONFIG --cflags "gtk-sharp-2.0 >= $GTKSHARP_REQUIRED
13590
12675
        gnome-sharp-2.0 >= $GTKSHARP_REQUIRED
13591
12676
        glade-sharp-2.0 >= $GTKSHARP_REQUIRED" 2>/dev/null`
13601
12686
        pkg_cv_GBRAINY_LIBS="$GBRAINY_LIBS"
13602
12687
    else
13603
12688
        if test -n "$PKG_CONFIG" && \
13604
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0 >= \$GTKSHARP_REQUIRED
 
12689
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0 >= \$GTKSHARP_REQUIRED
13605
12690
        gnome-sharp-2.0 >= \$GTKSHARP_REQUIRED
13606
 
        glade-sharp-2.0 >= \$GTKSHARP_REQUIRED\"") >&5
 
12691
        glade-sharp-2.0 >= \$GTKSHARP_REQUIRED\""; } >&5
13607
12692
  ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0 >= $GTKSHARP_REQUIRED
13608
12693
        gnome-sharp-2.0 >= $GTKSHARP_REQUIRED
13609
12694
        glade-sharp-2.0 >= $GTKSHARP_REQUIRED") 2>&5
13610
12695
  ac_status=$?
13611
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612
 
  (exit $ac_status); }; then
 
12696
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12697
  test $ac_status = 0; }; then
13613
12698
  pkg_cv_GBRAINY_LIBS=`$PKG_CONFIG --libs "gtk-sharp-2.0 >= $GTKSHARP_REQUIRED
13614
12699
        gnome-sharp-2.0 >= $GTKSHARP_REQUIRED
13615
12700
        glade-sharp-2.0 >= $GTKSHARP_REQUIRED" 2>/dev/null`
13642
12727
        # Put the nasty error message in config.log where it belongs
13643
12728
        echo "$GBRAINY_PKG_ERRORS" >&5
13644
12729
 
13645
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk-sharp-2.0 >= $GTKSHARP_REQUIRED
13646
 
        gnome-sharp-2.0 >= $GTKSHARP_REQUIRED
13647
 
        glade-sharp-2.0 >= $GTKSHARP_REQUIRED) were not met:
13648
 
 
13649
 
$GBRAINY_PKG_ERRORS
13650
 
 
13651
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13652
 
installed software in a non-standard prefix.
13653
 
 
13654
 
Alternatively, you may set the environment variables GBRAINY_CFLAGS
13655
 
and GBRAINY_LIBS to avoid the need to call pkg-config.
13656
 
See the pkg-config man page for more details.
13657
 
" >&5
13658
 
$as_echo "$as_me: error: Package requirements (gtk-sharp-2.0 >= $GTKSHARP_REQUIRED
13659
 
        gnome-sharp-2.0 >= $GTKSHARP_REQUIRED
13660
 
        glade-sharp-2.0 >= $GTKSHARP_REQUIRED) were not met:
13661
 
 
13662
 
$GBRAINY_PKG_ERRORS
13663
 
 
13664
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13665
 
installed software in a non-standard prefix.
13666
 
 
13667
 
Alternatively, you may set the environment variables GBRAINY_CFLAGS
13668
 
and GBRAINY_LIBS to avoid the need to call pkg-config.
13669
 
See the pkg-config man page for more details.
13670
 
" >&2;}
13671
 
   { (exit 1); exit 1; }; }
 
12730
        as_fn_error "Package requirements (gtk-sharp-2.0 >= $GTKSHARP_REQUIRED
 
12731
        gnome-sharp-2.0 >= $GTKSHARP_REQUIRED
 
12732
        glade-sharp-2.0 >= $GTKSHARP_REQUIRED) were not met:
 
12733
 
 
12734
$GBRAINY_PKG_ERRORS
 
12735
 
 
12736
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12737
installed software in a non-standard prefix.
 
12738
 
 
12739
Alternatively, you may set the environment variables GBRAINY_CFLAGS
 
12740
and GBRAINY_LIBS to avoid the need to call pkg-config.
 
12741
See the pkg-config man page for more details.
 
12742
" "$LINENO" 5
13672
12743
elif test $pkg_failed = untried; then
13673
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
12744
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13674
12745
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13675
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
13676
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13677
 
path to pkg-config.
13678
 
 
13679
 
Alternatively, you may set the environment variables GBRAINY_CFLAGS
13680
 
and GBRAINY_LIBS to avoid the need to call pkg-config.
13681
 
See the pkg-config man page for more details.
13682
 
 
13683
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13684
 
See \`config.log' for more details." >&5
13685
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
13686
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13687
 
path to pkg-config.
13688
 
 
13689
 
Alternatively, you may set the environment variables GBRAINY_CFLAGS
13690
 
and GBRAINY_LIBS to avoid the need to call pkg-config.
13691
 
See the pkg-config man page for more details.
13692
 
 
13693
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13694
 
See \`config.log' for more details." >&2;}
13695
 
   { (exit 1); exit 1; }; }; }
 
12746
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12747
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12748
path to pkg-config.
 
12749
 
 
12750
Alternatively, you may set the environment variables GBRAINY_CFLAGS
 
12751
and GBRAINY_LIBS to avoid the need to call pkg-config.
 
12752
See the pkg-config man page for more details.
 
12753
 
 
12754
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12755
See \`config.log' for more details." "$LINENO" 5; }
13696
12756
else
13697
12757
        GBRAINY_CFLAGS=$pkg_cv_GBRAINY_CFLAGS
13698
12758
        GBRAINY_LIBS=$pkg_cv_GBRAINY_LIBS
13699
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12759
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13700
12760
$as_echo "yes" >&6; }
13701
12761
        :
13702
12762
fi
13703
12763
 
13704
12764
 
13705
12765
# Check whether --enable-addins was given.
13706
 
if test "${enable_addins+set}" = set; then
 
12766
if test "${enable_addins+set}" = set; then :
13707
12767
  enableval=$enable_addins;
13708
12768
else
13709
12769
  enable_addins="yes"
13714
12774
 
13715
12775
 
13716
12776
pkg_failed=no
13717
 
{ $as_echo "$as_me:$LINENO: checking for MONO_ADDINS" >&5
 
12777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_ADDINS" >&5
13718
12778
$as_echo_n "checking for MONO_ADDINS... " >&6; }
13719
12779
 
13720
12780
if test -n "$PKG_CONFIG"; then
13722
12782
        pkg_cv_MONO_ADDINS_CFLAGS="$MONO_ADDINS_CFLAGS"
13723
12783
    else
13724
12784
        if test -n "$PKG_CONFIG" && \
13725
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-addins >= \$MONO_ADDINS
 
12785
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-addins >= \$MONO_ADDINS
13726
12786
        mono-addins-setup >= \$MONO_ADDINS
13727
 
        mono-addins-gui >= \$MONO_ADDINS\"") >&5
 
12787
        mono-addins-gui >= \$MONO_ADDINS\""; } >&5
13728
12788
  ($PKG_CONFIG --exists --print-errors "mono-addins >= $MONO_ADDINS
13729
12789
        mono-addins-setup >= $MONO_ADDINS
13730
12790
        mono-addins-gui >= $MONO_ADDINS") 2>&5
13731
12791
  ac_status=$?
13732
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733
 
  (exit $ac_status); }; then
 
12792
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12793
  test $ac_status = 0; }; then
13734
12794
  pkg_cv_MONO_ADDINS_CFLAGS=`$PKG_CONFIG --cflags "mono-addins >= $MONO_ADDINS
13735
12795
        mono-addins-setup >= $MONO_ADDINS
13736
12796
        mono-addins-gui >= $MONO_ADDINS" 2>/dev/null`
13746
12806
        pkg_cv_MONO_ADDINS_LIBS="$MONO_ADDINS_LIBS"
13747
12807
    else
13748
12808
        if test -n "$PKG_CONFIG" && \
13749
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-addins >= \$MONO_ADDINS
 
12809
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-addins >= \$MONO_ADDINS
13750
12810
        mono-addins-setup >= \$MONO_ADDINS
13751
 
        mono-addins-gui >= \$MONO_ADDINS\"") >&5
 
12811
        mono-addins-gui >= \$MONO_ADDINS\""; } >&5
13752
12812
  ($PKG_CONFIG --exists --print-errors "mono-addins >= $MONO_ADDINS
13753
12813
        mono-addins-setup >= $MONO_ADDINS
13754
12814
        mono-addins-gui >= $MONO_ADDINS") 2>&5
13755
12815
  ac_status=$?
13756
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757
 
  (exit $ac_status); }; then
 
12816
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12817
  test $ac_status = 0; }; then
13758
12818
  pkg_cv_MONO_ADDINS_LIBS=`$PKG_CONFIG --libs "mono-addins >= $MONO_ADDINS
13759
12819
        mono-addins-setup >= $MONO_ADDINS
13760
12820
        mono-addins-gui >= $MONO_ADDINS" 2>/dev/null`
13787
12847
        # Put the nasty error message in config.log where it belongs
13788
12848
        echo "$MONO_ADDINS_PKG_ERRORS" >&5
13789
12849
 
13790
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
12850
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13791
12851
$as_echo "no" >&6; }
13792
12852
                enable_addins_sharp=no
13793
12853
elif test $pkg_failed = untried; then
13795
12855
else
13796
12856
        MONO_ADDINS_CFLAGS=$pkg_cv_MONO_ADDINS_CFLAGS
13797
12857
        MONO_ADDINS_LIBS=$pkg_cv_MONO_ADDINS_LIBS
13798
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12858
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13799
12859
$as_echo "yes" >&6; }
13800
12860
        enable_addins_sharp="$enable_addins_sharp"
13801
12861
fi
13802
12862
 
13803
12863
if test "x$enable_addins" = "xyes" -a "x$enable_addins_sharp" = "xno"; then
13804
 
        { { $as_echo "$as_me:$LINENO: error: mono-addins was not found or is not up to date. Please install mono-addins of at least version $MONO_ADDINS, or disable mono-addins support by --disable-addins" >&5
13805
 
$as_echo "$as_me: error: mono-addins was not found or is not up to date. Please install mono-addins of at least version $MONO_ADDINS, or disable mono-addins support by --disable-addins" >&2;}
13806
 
   { (exit 1); exit 1; }; }
 
12864
        as_fn_error "mono-addins was not found or is not up to date. Please install mono-addins of at least version $MONO_ADDINS, or disable mono-addins support by --disable-addins" "$LINENO" 5
13807
12865
fi
13808
12866
 
13809
12867
if test "x$enable_addins_sharp" = "xyes"; then
13811
12869
        CSC_DEFINES="$CSC_DEFINES -d:MONO_ADDINS"
13812
12870
fi
13813
12871
 
13814
 
 
13815
 
 
13816
 
if test "x$enable_addins_sharp" = "xyes"; then
 
12872
 if test "x$enable_addins_sharp" = "xyes"; then
13817
12873
  ENABLE_ADDINS_TRUE=
13818
12874
  ENABLE_ADDINS_FALSE='#'
13819
12875
else
13824
12880
 
13825
12881
 
13826
12882
pkg_failed=no
13827
 
{ $as_echo "$as_me:$LINENO: checking for GBRAINY_CHECK" >&5
 
12883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GBRAINY_CHECK" >&5
13828
12884
$as_echo_n "checking for GBRAINY_CHECK... " >&6; }
13829
12885
 
13830
12886
if test -n "$PKG_CONFIG"; then
13832
12888
        pkg_cv_GBRAINY_CHECK_CFLAGS="$GBRAINY_CHECK_CFLAGS"
13833
12889
    else
13834
12890
        if test -n "$PKG_CONFIG" && \
13835
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0\"") >&5
 
12891
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0\""; } >&5
13836
12892
  ($PKG_CONFIG --exists --print-errors "librsvg-2.0") 2>&5
13837
12893
  ac_status=$?
13838
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839
 
  (exit $ac_status); }; then
 
12894
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12895
  test $ac_status = 0; }; then
13840
12896
  pkg_cv_GBRAINY_CHECK_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0" 2>/dev/null`
13841
12897
else
13842
12898
  pkg_failed=yes
13850
12906
        pkg_cv_GBRAINY_CHECK_LIBS="$GBRAINY_CHECK_LIBS"
13851
12907
    else
13852
12908
        if test -n "$PKG_CONFIG" && \
13853
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0\"") >&5
 
12909
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0\""; } >&5
13854
12910
  ($PKG_CONFIG --exists --print-errors "librsvg-2.0") 2>&5
13855
12911
  ac_status=$?
13856
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857
 
  (exit $ac_status); }; then
 
12912
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12913
  test $ac_status = 0; }; then
13858
12914
  pkg_cv_GBRAINY_CHECK_LIBS=`$PKG_CONFIG --libs "librsvg-2.0" 2>/dev/null`
13859
12915
else
13860
12916
  pkg_failed=yes
13881
12937
        # Put the nasty error message in config.log where it belongs
13882
12938
        echo "$GBRAINY_CHECK_PKG_ERRORS" >&5
13883
12939
 
13884
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (librsvg-2.0) were not met:
13885
 
 
13886
 
$GBRAINY_CHECK_PKG_ERRORS
13887
 
 
13888
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13889
 
installed software in a non-standard prefix.
13890
 
 
13891
 
Alternatively, you may set the environment variables GBRAINY_CHECK_CFLAGS
13892
 
and GBRAINY_CHECK_LIBS to avoid the need to call pkg-config.
13893
 
See the pkg-config man page for more details.
13894
 
" >&5
13895
 
$as_echo "$as_me: error: Package requirements (librsvg-2.0) were not met:
13896
 
 
13897
 
$GBRAINY_CHECK_PKG_ERRORS
13898
 
 
13899
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13900
 
installed software in a non-standard prefix.
13901
 
 
13902
 
Alternatively, you may set the environment variables GBRAINY_CHECK_CFLAGS
13903
 
and GBRAINY_CHECK_LIBS to avoid the need to call pkg-config.
13904
 
See the pkg-config man page for more details.
13905
 
" >&2;}
13906
 
   { (exit 1); exit 1; }; }
 
12940
        as_fn_error "Package requirements (librsvg-2.0) were not met:
 
12941
 
 
12942
$GBRAINY_CHECK_PKG_ERRORS
 
12943
 
 
12944
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12945
installed software in a non-standard prefix.
 
12946
 
 
12947
Alternatively, you may set the environment variables GBRAINY_CHECK_CFLAGS
 
12948
and GBRAINY_CHECK_LIBS to avoid the need to call pkg-config.
 
12949
See the pkg-config man page for more details.
 
12950
" "$LINENO" 5
13907
12951
elif test $pkg_failed = untried; then
13908
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
12952
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13909
12953
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13910
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
13911
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13912
 
path to pkg-config.
13913
 
 
13914
 
Alternatively, you may set the environment variables GBRAINY_CHECK_CFLAGS
13915
 
and GBRAINY_CHECK_LIBS to avoid the need to call pkg-config.
13916
 
See the pkg-config man page for more details.
13917
 
 
13918
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13919
 
See \`config.log' for more details." >&5
13920
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
13921
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13922
 
path to pkg-config.
13923
 
 
13924
 
Alternatively, you may set the environment variables GBRAINY_CHECK_CFLAGS
13925
 
and GBRAINY_CHECK_LIBS to avoid the need to call pkg-config.
13926
 
See the pkg-config man page for more details.
13927
 
 
13928
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13929
 
See \`config.log' for more details." >&2;}
13930
 
   { (exit 1); exit 1; }; }; }
 
12954
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12955
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12956
path to pkg-config.
 
12957
 
 
12958
Alternatively, you may set the environment variables GBRAINY_CHECK_CFLAGS
 
12959
and GBRAINY_CHECK_LIBS to avoid the need to call pkg-config.
 
12960
See the pkg-config man page for more details.
 
12961
 
 
12962
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12963
See \`config.log' for more details." "$LINENO" 5; }
13931
12964
else
13932
12965
        GBRAINY_CHECK_CFLAGS=$pkg_cv_GBRAINY_CHECK_CFLAGS
13933
12966
        GBRAINY_CHECK_LIBS=$pkg_cv_GBRAINY_CHECK_LIBS
13934
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12967
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13935
12968
$as_echo "yes" >&6; }
13936
12969
        :
13937
12970
fi
13947
12980
_ACEOF
13948
12981
 
13949
12982
 
13950
 
 
13951
 
for ac_header in locale.h
13952
 
do
13953
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13954
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13955
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13956
 
$as_echo_n "checking for $ac_header... " >&6; }
13957
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13958
 
  $as_echo_n "(cached) " >&6
13959
 
fi
13960
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13961
 
                 $as_echo "$as_val"'`
13962
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13963
 
$as_echo "$ac_res" >&6; }
13964
 
else
13965
 
  # Is the header compilable?
13966
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13967
 
$as_echo_n "checking $ac_header usability... " >&6; }
13968
 
cat >conftest.$ac_ext <<_ACEOF
13969
 
/* confdefs.h.  */
13970
 
_ACEOF
13971
 
cat confdefs.h >>conftest.$ac_ext
13972
 
cat >>conftest.$ac_ext <<_ACEOF
13973
 
/* end confdefs.h.  */
13974
 
$ac_includes_default
13975
 
#include <$ac_header>
13976
 
_ACEOF
13977
 
rm -f conftest.$ac_objext
13978
 
if { (ac_try="$ac_compile"
13979
 
case "(($ac_try" in
13980
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13981
 
  *) ac_try_echo=$ac_try;;
13982
 
esac
13983
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13984
 
$as_echo "$ac_try_echo") >&5
13985
 
  (eval "$ac_compile") 2>conftest.er1
13986
 
  ac_status=$?
13987
 
  grep -v '^ *+' conftest.er1 >conftest.err
13988
 
  rm -f conftest.er1
13989
 
  cat conftest.err >&5
13990
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991
 
  (exit $ac_status); } && {
13992
 
         test -z "$ac_c_werror_flag" ||
13993
 
         test ! -s conftest.err
13994
 
       } && test -s conftest.$ac_objext; then
13995
 
  ac_header_compiler=yes
13996
 
else
13997
 
  $as_echo "$as_me: failed program was:" >&5
13998
 
sed 's/^/| /' conftest.$ac_ext >&5
13999
 
 
14000
 
        ac_header_compiler=no
14001
 
fi
14002
 
 
14003
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14004
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14005
 
$as_echo "$ac_header_compiler" >&6; }
14006
 
 
14007
 
# Is the header present?
14008
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14009
 
$as_echo_n "checking $ac_header presence... " >&6; }
14010
 
cat >conftest.$ac_ext <<_ACEOF
14011
 
/* confdefs.h.  */
14012
 
_ACEOF
14013
 
cat confdefs.h >>conftest.$ac_ext
14014
 
cat >>conftest.$ac_ext <<_ACEOF
14015
 
/* end confdefs.h.  */
14016
 
#include <$ac_header>
14017
 
_ACEOF
14018
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14019
 
case "(($ac_try" in
14020
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14021
 
  *) ac_try_echo=$ac_try;;
14022
 
esac
14023
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14024
 
$as_echo "$ac_try_echo") >&5
14025
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14026
 
  ac_status=$?
14027
 
  grep -v '^ *+' conftest.er1 >conftest.err
14028
 
  rm -f conftest.er1
14029
 
  cat conftest.err >&5
14030
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031
 
  (exit $ac_status); } >/dev/null && {
14032
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14033
 
         test ! -s conftest.err
14034
 
       }; then
14035
 
  ac_header_preproc=yes
14036
 
else
14037
 
  $as_echo "$as_me: failed program was:" >&5
14038
 
sed 's/^/| /' conftest.$ac_ext >&5
14039
 
 
14040
 
  ac_header_preproc=no
14041
 
fi
14042
 
 
14043
 
rm -f conftest.err conftest.$ac_ext
14044
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14045
 
$as_echo "$ac_header_preproc" >&6; }
14046
 
 
14047
 
# So?  What about this header?
14048
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14049
 
  yes:no: )
14050
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14051
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14052
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14053
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14054
 
    ac_header_preproc=yes
14055
 
    ;;
14056
 
  no:yes:* )
14057
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14058
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14059
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14060
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14061
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14062
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14063
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14064
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14065
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14066
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14067
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14068
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14069
 
 
14070
 
    ;;
14071
 
esac
14072
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14073
 
$as_echo_n "checking for $ac_header... " >&6; }
14074
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14075
 
  $as_echo_n "(cached) " >&6
14076
 
else
14077
 
  eval "$as_ac_Header=\$ac_header_preproc"
14078
 
fi
14079
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14080
 
                 $as_echo "$as_val"'`
14081
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14082
 
$as_echo "$ac_res" >&6; }
14083
 
 
14084
 
fi
14085
 
as_val=`eval 'as_val=${'$as_ac_Header'}
14086
 
                 $as_echo "$as_val"'`
14087
 
   if test "x$as_val" = x""yes; then
 
12983
   for ac_header in locale.h
 
12984
do :
 
12985
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
12986
if test "x$ac_cv_header_locale_h" = x""yes; then :
14088
12987
  cat >>confdefs.h <<_ACEOF
14089
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
12988
#define HAVE_LOCALE_H 1
14090
12989
_ACEOF
14091
12990
 
14092
12991
fi
14094
12993
done
14095
12994
 
14096
12995
    if test $ac_cv_header_locale_h = yes; then
14097
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
12996
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14098
12997
$as_echo_n "checking for LC_MESSAGES... " >&6; }
14099
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
12998
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
14100
12999
  $as_echo_n "(cached) " >&6
14101
13000
else
14102
 
  cat >conftest.$ac_ext <<_ACEOF
14103
 
/* confdefs.h.  */
14104
 
_ACEOF
14105
 
cat confdefs.h >>conftest.$ac_ext
14106
 
cat >>conftest.$ac_ext <<_ACEOF
 
13001
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107
13002
/* end confdefs.h.  */
14108
13003
#include <locale.h>
14109
13004
int
14114
13009
  return 0;
14115
13010
}
14116
13011
_ACEOF
14117
 
rm -f conftest.$ac_objext conftest$ac_exeext
14118
 
if { (ac_try="$ac_link"
14119
 
case "(($ac_try" in
14120
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14121
 
  *) ac_try_echo=$ac_try;;
14122
 
esac
14123
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14124
 
$as_echo "$ac_try_echo") >&5
14125
 
  (eval "$ac_link") 2>conftest.er1
14126
 
  ac_status=$?
14127
 
  grep -v '^ *+' conftest.er1 >conftest.err
14128
 
  rm -f conftest.er1
14129
 
  cat conftest.err >&5
14130
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131
 
  (exit $ac_status); } && {
14132
 
         test -z "$ac_c_werror_flag" ||
14133
 
         test ! -s conftest.err
14134
 
       } && test -s conftest$ac_exeext && {
14135
 
         test "$cross_compiling" = yes ||
14136
 
         $as_test_x conftest$ac_exeext
14137
 
       }; then
 
13012
if ac_fn_c_try_link "$LINENO"; then :
14138
13013
  am_cv_val_LC_MESSAGES=yes
14139
13014
else
14140
 
  $as_echo "$as_me: failed program was:" >&5
14141
 
sed 's/^/| /' conftest.$ac_ext >&5
14142
 
 
14143
 
        am_cv_val_LC_MESSAGES=no
14144
 
fi
14145
 
 
14146
 
rm -rf conftest.dSYM
14147
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14148
 
      conftest$ac_exeext conftest.$ac_ext
14149
 
fi
14150
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
13015
  am_cv_val_LC_MESSAGES=no
 
13016
fi
 
13017
rm -f core conftest.err conftest.$ac_objext \
 
13018
    conftest$ac_exeext conftest.$ac_ext
 
13019
fi
 
13020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14151
13021
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14152
13022
    if test $am_cv_val_LC_MESSAGES = yes; then
14153
13023
 
14154
 
cat >>confdefs.h <<\_ACEOF
14155
 
#define HAVE_LC_MESSAGES 1
14156
 
_ACEOF
 
13024
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14157
13025
 
14158
13026
    fi
14159
13027
  fi
14166
13034
    XGETTEXT=:
14167
13035
    INTLLIBS=
14168
13036
 
14169
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
14170
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
14171
 
$as_echo_n "checking for libintl.h... " >&6; }
14172
 
if test "${ac_cv_header_libintl_h+set}" = set; then
14173
 
  $as_echo_n "(cached) " >&6
14174
 
fi
14175
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
14176
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
14177
 
else
14178
 
  # Is the header compilable?
14179
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
14180
 
$as_echo_n "checking libintl.h usability... " >&6; }
14181
 
cat >conftest.$ac_ext <<_ACEOF
14182
 
/* confdefs.h.  */
14183
 
_ACEOF
14184
 
cat confdefs.h >>conftest.$ac_ext
14185
 
cat >>conftest.$ac_ext <<_ACEOF
14186
 
/* end confdefs.h.  */
14187
 
$ac_includes_default
14188
 
#include <libintl.h>
14189
 
_ACEOF
14190
 
rm -f conftest.$ac_objext
14191
 
if { (ac_try="$ac_compile"
14192
 
case "(($ac_try" in
14193
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14194
 
  *) ac_try_echo=$ac_try;;
14195
 
esac
14196
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14197
 
$as_echo "$ac_try_echo") >&5
14198
 
  (eval "$ac_compile") 2>conftest.er1
14199
 
  ac_status=$?
14200
 
  grep -v '^ *+' conftest.er1 >conftest.err
14201
 
  rm -f conftest.er1
14202
 
  cat conftest.err >&5
14203
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204
 
  (exit $ac_status); } && {
14205
 
         test -z "$ac_c_werror_flag" ||
14206
 
         test ! -s conftest.err
14207
 
       } && test -s conftest.$ac_objext; then
14208
 
  ac_header_compiler=yes
14209
 
else
14210
 
  $as_echo "$as_me: failed program was:" >&5
14211
 
sed 's/^/| /' conftest.$ac_ext >&5
14212
 
 
14213
 
        ac_header_compiler=no
14214
 
fi
14215
 
 
14216
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14217
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14218
 
$as_echo "$ac_header_compiler" >&6; }
14219
 
 
14220
 
# Is the header present?
14221
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
14222
 
$as_echo_n "checking libintl.h presence... " >&6; }
14223
 
cat >conftest.$ac_ext <<_ACEOF
14224
 
/* confdefs.h.  */
14225
 
_ACEOF
14226
 
cat confdefs.h >>conftest.$ac_ext
14227
 
cat >>conftest.$ac_ext <<_ACEOF
14228
 
/* end confdefs.h.  */
14229
 
#include <libintl.h>
14230
 
_ACEOF
14231
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14232
 
case "(($ac_try" in
14233
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14234
 
  *) ac_try_echo=$ac_try;;
14235
 
esac
14236
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14237
 
$as_echo "$ac_try_echo") >&5
14238
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14239
 
  ac_status=$?
14240
 
  grep -v '^ *+' conftest.er1 >conftest.err
14241
 
  rm -f conftest.er1
14242
 
  cat conftest.err >&5
14243
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244
 
  (exit $ac_status); } >/dev/null && {
14245
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14246
 
         test ! -s conftest.err
14247
 
       }; then
14248
 
  ac_header_preproc=yes
14249
 
else
14250
 
  $as_echo "$as_me: failed program was:" >&5
14251
 
sed 's/^/| /' conftest.$ac_ext >&5
14252
 
 
14253
 
  ac_header_preproc=no
14254
 
fi
14255
 
 
14256
 
rm -f conftest.err conftest.$ac_ext
14257
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14258
 
$as_echo "$ac_header_preproc" >&6; }
14259
 
 
14260
 
# So?  What about this header?
14261
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14262
 
  yes:no: )
14263
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
14264
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14265
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
14266
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
14267
 
    ac_header_preproc=yes
14268
 
    ;;
14269
 
  no:yes:* )
14270
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
14271
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
14272
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
14273
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
14274
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
14275
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
14276
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
14277
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
14278
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
14279
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
14280
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
14281
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
14282
 
 
14283
 
    ;;
14284
 
esac
14285
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
14286
 
$as_echo_n "checking for libintl.h... " >&6; }
14287
 
if test "${ac_cv_header_libintl_h+set}" = set; then
14288
 
  $as_echo_n "(cached) " >&6
14289
 
else
14290
 
  ac_cv_header_libintl_h=$ac_header_preproc
14291
 
fi
14292
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
14293
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
14294
 
 
14295
 
fi
14296
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
13037
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
13038
if test "x$ac_cv_header_libintl_h" = x""yes; then :
14297
13039
  gt_cv_func_dgettext_libintl="no"
14298
13040
      libintl_extra_libs=""
14299
13041
 
14300
13042
      #
14301
13043
      # First check in libc
14302
13044
      #
14303
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
13045
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14304
13046
$as_echo_n "checking for ngettext in libc... " >&6; }
14305
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
13047
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
14306
13048
  $as_echo_n "(cached) " >&6
14307
13049
else
14308
 
  cat >conftest.$ac_ext <<_ACEOF
14309
 
/* confdefs.h.  */
14310
 
_ACEOF
14311
 
cat confdefs.h >>conftest.$ac_ext
14312
 
cat >>conftest.$ac_ext <<_ACEOF
 
13050
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313
13051
/* end confdefs.h.  */
14314
13052
 
14315
13053
#include <libintl.h>
14322
13060
  return 0;
14323
13061
}
14324
13062
_ACEOF
14325
 
rm -f conftest.$ac_objext conftest$ac_exeext
14326
 
if { (ac_try="$ac_link"
14327
 
case "(($ac_try" in
14328
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14329
 
  *) ac_try_echo=$ac_try;;
14330
 
esac
14331
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14332
 
$as_echo "$ac_try_echo") >&5
14333
 
  (eval "$ac_link") 2>conftest.er1
14334
 
  ac_status=$?
14335
 
  grep -v '^ *+' conftest.er1 >conftest.err
14336
 
  rm -f conftest.er1
14337
 
  cat conftest.err >&5
14338
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339
 
  (exit $ac_status); } && {
14340
 
         test -z "$ac_c_werror_flag" ||
14341
 
         test ! -s conftest.err
14342
 
       } && test -s conftest$ac_exeext && {
14343
 
         test "$cross_compiling" = yes ||
14344
 
         $as_test_x conftest$ac_exeext
14345
 
       }; then
 
13063
if ac_fn_c_try_link "$LINENO"; then :
14346
13064
  gt_cv_func_ngettext_libc=yes
14347
13065
else
14348
 
  $as_echo "$as_me: failed program was:" >&5
14349
 
sed 's/^/| /' conftest.$ac_ext >&5
14350
 
 
14351
 
        gt_cv_func_ngettext_libc=no
14352
 
fi
14353
 
 
14354
 
rm -rf conftest.dSYM
14355
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14356
 
      conftest$ac_exeext conftest.$ac_ext
14357
 
 
14358
 
fi
14359
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
13066
  gt_cv_func_ngettext_libc=no
 
13067
fi
 
13068
rm -f core conftest.err conftest.$ac_objext \
 
13069
    conftest$ac_exeext conftest.$ac_ext
 
13070
 
 
13071
fi
 
13072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14360
13073
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
14361
13074
 
14362
13075
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14363
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
13076
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14364
13077
$as_echo_n "checking for dgettext in libc... " >&6; }
14365
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
13078
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
14366
13079
  $as_echo_n "(cached) " >&6
14367
13080
else
14368
 
  cat >conftest.$ac_ext <<_ACEOF
14369
 
/* confdefs.h.  */
14370
 
_ACEOF
14371
 
cat confdefs.h >>conftest.$ac_ext
14372
 
cat >>conftest.$ac_ext <<_ACEOF
 
13081
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14373
13082
/* end confdefs.h.  */
14374
13083
 
14375
13084
#include <libintl.h>
14382
13091
  return 0;
14383
13092
}
14384
13093
_ACEOF
14385
 
rm -f conftest.$ac_objext conftest$ac_exeext
14386
 
if { (ac_try="$ac_link"
14387
 
case "(($ac_try" in
14388
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389
 
  *) ac_try_echo=$ac_try;;
14390
 
esac
14391
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14392
 
$as_echo "$ac_try_echo") >&5
14393
 
  (eval "$ac_link") 2>conftest.er1
14394
 
  ac_status=$?
14395
 
  grep -v '^ *+' conftest.er1 >conftest.err
14396
 
  rm -f conftest.er1
14397
 
  cat conftest.err >&5
14398
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399
 
  (exit $ac_status); } && {
14400
 
         test -z "$ac_c_werror_flag" ||
14401
 
         test ! -s conftest.err
14402
 
       } && test -s conftest$ac_exeext && {
14403
 
         test "$cross_compiling" = yes ||
14404
 
         $as_test_x conftest$ac_exeext
14405
 
       }; then
 
13094
if ac_fn_c_try_link "$LINENO"; then :
14406
13095
  gt_cv_func_dgettext_libc=yes
14407
13096
else
14408
 
  $as_echo "$as_me: failed program was:" >&5
14409
 
sed 's/^/| /' conftest.$ac_ext >&5
14410
 
 
14411
 
        gt_cv_func_dgettext_libc=no
14412
 
fi
14413
 
 
14414
 
rm -rf conftest.dSYM
14415
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14416
 
      conftest$ac_exeext conftest.$ac_ext
14417
 
 
14418
 
fi
14419
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
13097
  gt_cv_func_dgettext_libc=no
 
13098
fi
 
13099
rm -f core conftest.err conftest.$ac_objext \
 
13100
    conftest$ac_exeext conftest.$ac_ext
 
13101
 
 
13102
fi
 
13103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14420
13104
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14421
13105
      fi
14422
13106
 
14423
13107
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14424
 
 
14425
 
for ac_func in bind_textdomain_codeset
14426
 
do
14427
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14428
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14429
 
$as_echo_n "checking for $ac_func... " >&6; }
14430
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14431
 
  $as_echo_n "(cached) " >&6
14432
 
else
14433
 
  cat >conftest.$ac_ext <<_ACEOF
14434
 
/* confdefs.h.  */
14435
 
_ACEOF
14436
 
cat confdefs.h >>conftest.$ac_ext
14437
 
cat >>conftest.$ac_ext <<_ACEOF
14438
 
/* end confdefs.h.  */
14439
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14440
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14441
 
#define $ac_func innocuous_$ac_func
14442
 
 
14443
 
/* System header to define __stub macros and hopefully few prototypes,
14444
 
    which can conflict with char $ac_func (); below.
14445
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14446
 
    <limits.h> exists even on freestanding compilers.  */
14447
 
 
14448
 
#ifdef __STDC__
14449
 
# include <limits.h>
14450
 
#else
14451
 
# include <assert.h>
14452
 
#endif
14453
 
 
14454
 
#undef $ac_func
14455
 
 
14456
 
/* Override any GCC internal prototype to avoid an error.
14457
 
   Use char because int might match the return type of a GCC
14458
 
   builtin and then its argument prototype would still apply.  */
14459
 
#ifdef __cplusplus
14460
 
extern "C"
14461
 
#endif
14462
 
char $ac_func ();
14463
 
/* The GNU C library defines this for functions which it implements
14464
 
    to always fail with ENOSYS.  Some functions are actually named
14465
 
    something starting with __ and the normal name is an alias.  */
14466
 
#if defined __stub_$ac_func || defined __stub___$ac_func
14467
 
choke me
14468
 
#endif
14469
 
 
14470
 
int
14471
 
main ()
14472
 
{
14473
 
return $ac_func ();
14474
 
  ;
14475
 
  return 0;
14476
 
}
14477
 
_ACEOF
14478
 
rm -f conftest.$ac_objext conftest$ac_exeext
14479
 
if { (ac_try="$ac_link"
14480
 
case "(($ac_try" in
14481
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14482
 
  *) ac_try_echo=$ac_try;;
14483
 
esac
14484
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14485
 
$as_echo "$ac_try_echo") >&5
14486
 
  (eval "$ac_link") 2>conftest.er1
14487
 
  ac_status=$?
14488
 
  grep -v '^ *+' conftest.er1 >conftest.err
14489
 
  rm -f conftest.er1
14490
 
  cat conftest.err >&5
14491
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492
 
  (exit $ac_status); } && {
14493
 
         test -z "$ac_c_werror_flag" ||
14494
 
         test ! -s conftest.err
14495
 
       } && test -s conftest$ac_exeext && {
14496
 
         test "$cross_compiling" = yes ||
14497
 
         $as_test_x conftest$ac_exeext
14498
 
       }; then
14499
 
  eval "$as_ac_var=yes"
14500
 
else
14501
 
  $as_echo "$as_me: failed program was:" >&5
14502
 
sed 's/^/| /' conftest.$ac_ext >&5
14503
 
 
14504
 
        eval "$as_ac_var=no"
14505
 
fi
14506
 
 
14507
 
rm -rf conftest.dSYM
14508
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14509
 
      conftest$ac_exeext conftest.$ac_ext
14510
 
fi
14511
 
ac_res=`eval 'as_val=${'$as_ac_var'}
14512
 
                 $as_echo "$as_val"'`
14513
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14514
 
$as_echo "$ac_res" >&6; }
14515
 
as_val=`eval 'as_val=${'$as_ac_var'}
14516
 
                 $as_echo "$as_val"'`
14517
 
   if test "x$as_val" = x""yes; then
 
13108
        for ac_func in bind_textdomain_codeset
 
13109
do :
 
13110
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13111
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14518
13112
  cat >>confdefs.h <<_ACEOF
14519
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13113
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14520
13114
_ACEOF
14521
13115
 
14522
13116
fi
14531
13125
         || test "$gt_cv_func_ngettext_libc" != "yes" \
14532
13126
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14533
13127
 
14534
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
13128
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14535
13129
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14536
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
13130
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
14537
13131
  $as_echo_n "(cached) " >&6
14538
13132
else
14539
13133
  ac_check_lib_save_LIBS=$LIBS
14540
13134
LIBS="-lintl  $LIBS"
14541
 
cat >conftest.$ac_ext <<_ACEOF
14542
 
/* confdefs.h.  */
14543
 
_ACEOF
14544
 
cat confdefs.h >>conftest.$ac_ext
14545
 
cat >>conftest.$ac_ext <<_ACEOF
 
13135
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14546
13136
/* end confdefs.h.  */
14547
13137
 
14548
13138
/* Override any GCC internal prototype to avoid an error.
14560
13150
  return 0;
14561
13151
}
14562
13152
_ACEOF
14563
 
rm -f conftest.$ac_objext conftest$ac_exeext
14564
 
if { (ac_try="$ac_link"
14565
 
case "(($ac_try" in
14566
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14567
 
  *) ac_try_echo=$ac_try;;
14568
 
esac
14569
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14570
 
$as_echo "$ac_try_echo") >&5
14571
 
  (eval "$ac_link") 2>conftest.er1
14572
 
  ac_status=$?
14573
 
  grep -v '^ *+' conftest.er1 >conftest.err
14574
 
  rm -f conftest.er1
14575
 
  cat conftest.err >&5
14576
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577
 
  (exit $ac_status); } && {
14578
 
         test -z "$ac_c_werror_flag" ||
14579
 
         test ! -s conftest.err
14580
 
       } && test -s conftest$ac_exeext && {
14581
 
         test "$cross_compiling" = yes ||
14582
 
         $as_test_x conftest$ac_exeext
14583
 
       }; then
 
13153
if ac_fn_c_try_link "$LINENO"; then :
14584
13154
  ac_cv_lib_intl_bindtextdomain=yes
14585
13155
else
14586
 
  $as_echo "$as_me: failed program was:" >&5
14587
 
sed 's/^/| /' conftest.$ac_ext >&5
14588
 
 
14589
 
        ac_cv_lib_intl_bindtextdomain=no
 
13156
  ac_cv_lib_intl_bindtextdomain=no
14590
13157
fi
14591
 
 
14592
 
rm -rf conftest.dSYM
14593
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14594
 
      conftest$ac_exeext conftest.$ac_ext
 
13158
rm -f core conftest.err conftest.$ac_objext \
 
13159
    conftest$ac_exeext conftest.$ac_ext
14595
13160
LIBS=$ac_check_lib_save_LIBS
14596
13161
fi
14597
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
13162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14598
13163
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14599
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
14600
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
13164
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
13165
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14601
13166
$as_echo_n "checking for ngettext in -lintl... " >&6; }
14602
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
13167
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
14603
13168
  $as_echo_n "(cached) " >&6
14604
13169
else
14605
13170
  ac_check_lib_save_LIBS=$LIBS
14606
13171
LIBS="-lintl  $LIBS"
14607
 
cat >conftest.$ac_ext <<_ACEOF
14608
 
/* confdefs.h.  */
14609
 
_ACEOF
14610
 
cat confdefs.h >>conftest.$ac_ext
14611
 
cat >>conftest.$ac_ext <<_ACEOF
 
13172
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14612
13173
/* end confdefs.h.  */
14613
13174
 
14614
13175
/* Override any GCC internal prototype to avoid an error.
14626
13187
  return 0;
14627
13188
}
14628
13189
_ACEOF
14629
 
rm -f conftest.$ac_objext conftest$ac_exeext
14630
 
if { (ac_try="$ac_link"
14631
 
case "(($ac_try" in
14632
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14633
 
  *) ac_try_echo=$ac_try;;
14634
 
esac
14635
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14636
 
$as_echo "$ac_try_echo") >&5
14637
 
  (eval "$ac_link") 2>conftest.er1
14638
 
  ac_status=$?
14639
 
  grep -v '^ *+' conftest.er1 >conftest.err
14640
 
  rm -f conftest.er1
14641
 
  cat conftest.err >&5
14642
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643
 
  (exit $ac_status); } && {
14644
 
         test -z "$ac_c_werror_flag" ||
14645
 
         test ! -s conftest.err
14646
 
       } && test -s conftest$ac_exeext && {
14647
 
         test "$cross_compiling" = yes ||
14648
 
         $as_test_x conftest$ac_exeext
14649
 
       }; then
 
13190
if ac_fn_c_try_link "$LINENO"; then :
14650
13191
  ac_cv_lib_intl_ngettext=yes
14651
13192
else
14652
 
  $as_echo "$as_me: failed program was:" >&5
14653
 
sed 's/^/| /' conftest.$ac_ext >&5
14654
 
 
14655
 
        ac_cv_lib_intl_ngettext=no
 
13193
  ac_cv_lib_intl_ngettext=no
14656
13194
fi
14657
 
 
14658
 
rm -rf conftest.dSYM
14659
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14660
 
      conftest$ac_exeext conftest.$ac_ext
 
13195
rm -f core conftest.err conftest.$ac_objext \
 
13196
    conftest$ac_exeext conftest.$ac_ext
14661
13197
LIBS=$ac_check_lib_save_LIBS
14662
13198
fi
14663
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
13199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14664
13200
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14665
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
14666
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
13201
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
13202
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14667
13203
$as_echo_n "checking for dgettext in -lintl... " >&6; }
14668
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
13204
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
14669
13205
  $as_echo_n "(cached) " >&6
14670
13206
else
14671
13207
  ac_check_lib_save_LIBS=$LIBS
14672
13208
LIBS="-lintl  $LIBS"
14673
 
cat >conftest.$ac_ext <<_ACEOF
14674
 
/* confdefs.h.  */
14675
 
_ACEOF
14676
 
cat confdefs.h >>conftest.$ac_ext
14677
 
cat >>conftest.$ac_ext <<_ACEOF
 
13209
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678
13210
/* end confdefs.h.  */
14679
13211
 
14680
13212
/* Override any GCC internal prototype to avoid an error.
14692
13224
  return 0;
14693
13225
}
14694
13226
_ACEOF
14695
 
rm -f conftest.$ac_objext conftest$ac_exeext
14696
 
if { (ac_try="$ac_link"
14697
 
case "(($ac_try" in
14698
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14699
 
  *) ac_try_echo=$ac_try;;
14700
 
esac
14701
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14702
 
$as_echo "$ac_try_echo") >&5
14703
 
  (eval "$ac_link") 2>conftest.er1
14704
 
  ac_status=$?
14705
 
  grep -v '^ *+' conftest.er1 >conftest.err
14706
 
  rm -f conftest.er1
14707
 
  cat conftest.err >&5
14708
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709
 
  (exit $ac_status); } && {
14710
 
         test -z "$ac_c_werror_flag" ||
14711
 
         test ! -s conftest.err
14712
 
       } && test -s conftest$ac_exeext && {
14713
 
         test "$cross_compiling" = yes ||
14714
 
         $as_test_x conftest$ac_exeext
14715
 
       }; then
 
13227
if ac_fn_c_try_link "$LINENO"; then :
14716
13228
  ac_cv_lib_intl_dgettext=yes
14717
13229
else
14718
 
  $as_echo "$as_me: failed program was:" >&5
14719
 
sed 's/^/| /' conftest.$ac_ext >&5
14720
 
 
14721
 
        ac_cv_lib_intl_dgettext=no
 
13230
  ac_cv_lib_intl_dgettext=no
14722
13231
fi
14723
 
 
14724
 
rm -rf conftest.dSYM
14725
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14726
 
      conftest$ac_exeext conftest.$ac_ext
 
13232
rm -f core conftest.err conftest.$ac_objext \
 
13233
    conftest$ac_exeext conftest.$ac_ext
14727
13234
LIBS=$ac_check_lib_save_LIBS
14728
13235
fi
14729
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
13236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14730
13237
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14731
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
13238
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
14732
13239
  gt_cv_func_dgettext_libintl=yes
14733
13240
fi
14734
13241
 
14738
13245
 
14739
13246
 
14740
13247
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
14741
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
13248
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14742
13249
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14743
 
          { $as_echo "$as_me:$LINENO: result: " >&5
 
13250
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14744
13251
$as_echo "" >&6; }
14745
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
13252
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14746
13253
$as_echo_n "checking for ngettext in -lintl... " >&6; }
14747
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
13254
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
14748
13255
  $as_echo_n "(cached) " >&6
14749
13256
else
14750
13257
  ac_check_lib_save_LIBS=$LIBS
14751
13258
LIBS="-lintl -liconv $LIBS"
14752
 
cat >conftest.$ac_ext <<_ACEOF
14753
 
/* confdefs.h.  */
14754
 
_ACEOF
14755
 
cat confdefs.h >>conftest.$ac_ext
14756
 
cat >>conftest.$ac_ext <<_ACEOF
 
13259
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757
13260
/* end confdefs.h.  */
14758
13261
 
14759
13262
/* Override any GCC internal prototype to avoid an error.
14771
13274
  return 0;
14772
13275
}
14773
13276
_ACEOF
14774
 
rm -f conftest.$ac_objext conftest$ac_exeext
14775
 
if { (ac_try="$ac_link"
14776
 
case "(($ac_try" in
14777
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14778
 
  *) ac_try_echo=$ac_try;;
14779
 
esac
14780
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14781
 
$as_echo "$ac_try_echo") >&5
14782
 
  (eval "$ac_link") 2>conftest.er1
14783
 
  ac_status=$?
14784
 
  grep -v '^ *+' conftest.er1 >conftest.err
14785
 
  rm -f conftest.er1
14786
 
  cat conftest.err >&5
14787
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788
 
  (exit $ac_status); } && {
14789
 
         test -z "$ac_c_werror_flag" ||
14790
 
         test ! -s conftest.err
14791
 
       } && test -s conftest$ac_exeext && {
14792
 
         test "$cross_compiling" = yes ||
14793
 
         $as_test_x conftest$ac_exeext
14794
 
       }; then
 
13277
if ac_fn_c_try_link "$LINENO"; then :
14795
13278
  ac_cv_lib_intl_ngettext=yes
14796
13279
else
14797
 
  $as_echo "$as_me: failed program was:" >&5
14798
 
sed 's/^/| /' conftest.$ac_ext >&5
14799
 
 
14800
 
        ac_cv_lib_intl_ngettext=no
 
13280
  ac_cv_lib_intl_ngettext=no
14801
13281
fi
14802
 
 
14803
 
rm -rf conftest.dSYM
14804
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14805
 
      conftest$ac_exeext conftest.$ac_ext
 
13282
rm -f core conftest.err conftest.$ac_objext \
 
13283
    conftest$ac_exeext conftest.$ac_ext
14806
13284
LIBS=$ac_check_lib_save_LIBS
14807
13285
fi
14808
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
13286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14809
13287
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14810
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
14811
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
13288
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
13289
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14812
13290
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
14813
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
13291
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
14814
13292
  $as_echo_n "(cached) " >&6
14815
13293
else
14816
13294
  ac_check_lib_save_LIBS=$LIBS
14817
13295
LIBS="-lintl -liconv $LIBS"
14818
 
cat >conftest.$ac_ext <<_ACEOF
14819
 
/* confdefs.h.  */
14820
 
_ACEOF
14821
 
cat confdefs.h >>conftest.$ac_ext
14822
 
cat >>conftest.$ac_ext <<_ACEOF
 
13296
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823
13297
/* end confdefs.h.  */
14824
13298
 
14825
13299
/* Override any GCC internal prototype to avoid an error.
14837
13311
  return 0;
14838
13312
}
14839
13313
_ACEOF
14840
 
rm -f conftest.$ac_objext conftest$ac_exeext
14841
 
if { (ac_try="$ac_link"
14842
 
case "(($ac_try" in
14843
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14844
 
  *) ac_try_echo=$ac_try;;
14845
 
esac
14846
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14847
 
$as_echo "$ac_try_echo") >&5
14848
 
  (eval "$ac_link") 2>conftest.er1
14849
 
  ac_status=$?
14850
 
  grep -v '^ *+' conftest.er1 >conftest.err
14851
 
  rm -f conftest.er1
14852
 
  cat conftest.err >&5
14853
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854
 
  (exit $ac_status); } && {
14855
 
         test -z "$ac_c_werror_flag" ||
14856
 
         test ! -s conftest.err
14857
 
       } && test -s conftest$ac_exeext && {
14858
 
         test "$cross_compiling" = yes ||
14859
 
         $as_test_x conftest$ac_exeext
14860
 
       }; then
 
13314
if ac_fn_c_try_link "$LINENO"; then :
14861
13315
  ac_cv_lib_intl_dcgettext=yes
14862
13316
else
14863
 
  $as_echo "$as_me: failed program was:" >&5
14864
 
sed 's/^/| /' conftest.$ac_ext >&5
14865
 
 
14866
 
        ac_cv_lib_intl_dcgettext=no
 
13317
  ac_cv_lib_intl_dcgettext=no
14867
13318
fi
14868
 
 
14869
 
rm -rf conftest.dSYM
14870
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14871
 
      conftest$ac_exeext conftest.$ac_ext
 
13319
rm -f core conftest.err conftest.$ac_objext \
 
13320
    conftest$ac_exeext conftest.$ac_ext
14872
13321
LIBS=$ac_check_lib_save_LIBS
14873
13322
fi
14874
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
13323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14875
13324
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14876
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
13325
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
14877
13326
  gt_cv_func_dgettext_libintl=yes
14878
13327
                        libintl_extra_libs=-liconv
14879
13328
else
14895
13344
          glib_save_LIBS="$LIBS"
14896
13345
          LIBS="$LIBS -lintl $libintl_extra_libs"
14897
13346
          unset ac_cv_func_bind_textdomain_codeset
14898
 
 
14899
 
for ac_func in bind_textdomain_codeset
14900
 
do
14901
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14902
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14903
 
$as_echo_n "checking for $ac_func... " >&6; }
14904
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14905
 
  $as_echo_n "(cached) " >&6
14906
 
else
14907
 
  cat >conftest.$ac_ext <<_ACEOF
14908
 
/* confdefs.h.  */
14909
 
_ACEOF
14910
 
cat confdefs.h >>conftest.$ac_ext
14911
 
cat >>conftest.$ac_ext <<_ACEOF
14912
 
/* end confdefs.h.  */
14913
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14914
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14915
 
#define $ac_func innocuous_$ac_func
14916
 
 
14917
 
/* System header to define __stub macros and hopefully few prototypes,
14918
 
    which can conflict with char $ac_func (); below.
14919
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14920
 
    <limits.h> exists even on freestanding compilers.  */
14921
 
 
14922
 
#ifdef __STDC__
14923
 
# include <limits.h>
14924
 
#else
14925
 
# include <assert.h>
14926
 
#endif
14927
 
 
14928
 
#undef $ac_func
14929
 
 
14930
 
/* Override any GCC internal prototype to avoid an error.
14931
 
   Use char because int might match the return type of a GCC
14932
 
   builtin and then its argument prototype would still apply.  */
14933
 
#ifdef __cplusplus
14934
 
extern "C"
14935
 
#endif
14936
 
char $ac_func ();
14937
 
/* The GNU C library defines this for functions which it implements
14938
 
    to always fail with ENOSYS.  Some functions are actually named
14939
 
    something starting with __ and the normal name is an alias.  */
14940
 
#if defined __stub_$ac_func || defined __stub___$ac_func
14941
 
choke me
14942
 
#endif
14943
 
 
14944
 
int
14945
 
main ()
14946
 
{
14947
 
return $ac_func ();
14948
 
  ;
14949
 
  return 0;
14950
 
}
14951
 
_ACEOF
14952
 
rm -f conftest.$ac_objext conftest$ac_exeext
14953
 
if { (ac_try="$ac_link"
14954
 
case "(($ac_try" in
14955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14956
 
  *) ac_try_echo=$ac_try;;
14957
 
esac
14958
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14959
 
$as_echo "$ac_try_echo") >&5
14960
 
  (eval "$ac_link") 2>conftest.er1
14961
 
  ac_status=$?
14962
 
  grep -v '^ *+' conftest.er1 >conftest.err
14963
 
  rm -f conftest.er1
14964
 
  cat conftest.err >&5
14965
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966
 
  (exit $ac_status); } && {
14967
 
         test -z "$ac_c_werror_flag" ||
14968
 
         test ! -s conftest.err
14969
 
       } && test -s conftest$ac_exeext && {
14970
 
         test "$cross_compiling" = yes ||
14971
 
         $as_test_x conftest$ac_exeext
14972
 
       }; then
14973
 
  eval "$as_ac_var=yes"
14974
 
else
14975
 
  $as_echo "$as_me: failed program was:" >&5
14976
 
sed 's/^/| /' conftest.$ac_ext >&5
14977
 
 
14978
 
        eval "$as_ac_var=no"
14979
 
fi
14980
 
 
14981
 
rm -rf conftest.dSYM
14982
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14983
 
      conftest$ac_exeext conftest.$ac_ext
14984
 
fi
14985
 
ac_res=`eval 'as_val=${'$as_ac_var'}
14986
 
                 $as_echo "$as_val"'`
14987
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14988
 
$as_echo "$ac_res" >&6; }
14989
 
as_val=`eval 'as_val=${'$as_ac_var'}
14990
 
                 $as_echo "$as_val"'`
14991
 
   if test "x$as_val" = x""yes; then
 
13347
          for ac_func in bind_textdomain_codeset
 
13348
do :
 
13349
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13350
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14992
13351
  cat >>confdefs.h <<_ACEOF
14993
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13352
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14994
13353
_ACEOF
14995
13354
 
14996
13355
fi
15020
13379
 
15021
13380
      if test "$gt_cv_have_gettext" = "yes"; then
15022
13381
 
15023
 
cat >>confdefs.h <<\_ACEOF
15024
 
#define HAVE_GETTEXT 1
15025
 
_ACEOF
 
13382
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15026
13383
 
15027
13384
        # Extract the first word of "msgfmt", so it can be a program name with args.
15028
13385
set dummy msgfmt; ac_word=$2
15029
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13386
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15030
13387
$as_echo_n "checking for $ac_word... " >&6; }
15031
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
13388
if test "${ac_cv_path_MSGFMT+set}" = set; then :
15032
13389
  $as_echo_n "(cached) " >&6
15033
13390
else
15034
13391
  case "$MSGFMT" in
15053
13410
fi
15054
13411
MSGFMT="$ac_cv_path_MSGFMT"
15055
13412
if test "$MSGFMT" != "no"; then
15056
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
13413
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15057
13414
$as_echo "$MSGFMT" >&6; }
15058
13415
else
15059
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13416
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15060
13417
$as_echo "no" >&6; }
15061
13418
fi
15062
13419
        if test "$MSGFMT" != "no"; then
15063
13420
          glib_save_LIBS="$LIBS"
15064
13421
          LIBS="$LIBS $INTLLIBS"
15065
 
 
15066
 
for ac_func in dcgettext
15067
 
do
15068
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15069
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15070
 
$as_echo_n "checking for $ac_func... " >&6; }
15071
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15072
 
  $as_echo_n "(cached) " >&6
15073
 
else
15074
 
  cat >conftest.$ac_ext <<_ACEOF
15075
 
/* confdefs.h.  */
15076
 
_ACEOF
15077
 
cat confdefs.h >>conftest.$ac_ext
15078
 
cat >>conftest.$ac_ext <<_ACEOF
15079
 
/* end confdefs.h.  */
15080
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15081
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15082
 
#define $ac_func innocuous_$ac_func
15083
 
 
15084
 
/* System header to define __stub macros and hopefully few prototypes,
15085
 
    which can conflict with char $ac_func (); below.
15086
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15087
 
    <limits.h> exists even on freestanding compilers.  */
15088
 
 
15089
 
#ifdef __STDC__
15090
 
# include <limits.h>
15091
 
#else
15092
 
# include <assert.h>
15093
 
#endif
15094
 
 
15095
 
#undef $ac_func
15096
 
 
15097
 
/* Override any GCC internal prototype to avoid an error.
15098
 
   Use char because int might match the return type of a GCC
15099
 
   builtin and then its argument prototype would still apply.  */
15100
 
#ifdef __cplusplus
15101
 
extern "C"
15102
 
#endif
15103
 
char $ac_func ();
15104
 
/* The GNU C library defines this for functions which it implements
15105
 
    to always fail with ENOSYS.  Some functions are actually named
15106
 
    something starting with __ and the normal name is an alias.  */
15107
 
#if defined __stub_$ac_func || defined __stub___$ac_func
15108
 
choke me
15109
 
#endif
15110
 
 
15111
 
int
15112
 
main ()
15113
 
{
15114
 
return $ac_func ();
15115
 
  ;
15116
 
  return 0;
15117
 
}
15118
 
_ACEOF
15119
 
rm -f conftest.$ac_objext conftest$ac_exeext
15120
 
if { (ac_try="$ac_link"
15121
 
case "(($ac_try" in
15122
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15123
 
  *) ac_try_echo=$ac_try;;
15124
 
esac
15125
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15126
 
$as_echo "$ac_try_echo") >&5
15127
 
  (eval "$ac_link") 2>conftest.er1
15128
 
  ac_status=$?
15129
 
  grep -v '^ *+' conftest.er1 >conftest.err
15130
 
  rm -f conftest.er1
15131
 
  cat conftest.err >&5
15132
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133
 
  (exit $ac_status); } && {
15134
 
         test -z "$ac_c_werror_flag" ||
15135
 
         test ! -s conftest.err
15136
 
       } && test -s conftest$ac_exeext && {
15137
 
         test "$cross_compiling" = yes ||
15138
 
         $as_test_x conftest$ac_exeext
15139
 
       }; then
15140
 
  eval "$as_ac_var=yes"
15141
 
else
15142
 
  $as_echo "$as_me: failed program was:" >&5
15143
 
sed 's/^/| /' conftest.$ac_ext >&5
15144
 
 
15145
 
        eval "$as_ac_var=no"
15146
 
fi
15147
 
 
15148
 
rm -rf conftest.dSYM
15149
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15150
 
      conftest$ac_exeext conftest.$ac_ext
15151
 
fi
15152
 
ac_res=`eval 'as_val=${'$as_ac_var'}
15153
 
                 $as_echo "$as_val"'`
15154
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15155
 
$as_echo "$ac_res" >&6; }
15156
 
as_val=`eval 'as_val=${'$as_ac_var'}
15157
 
                 $as_echo "$as_val"'`
15158
 
   if test "x$as_val" = x""yes; then
 
13422
          for ac_func in dcgettext
 
13423
do :
 
13424
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
13425
if test "x$ac_cv_func_dcgettext" = x""yes; then :
15159
13426
  cat >>confdefs.h <<_ACEOF
15160
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13427
#define HAVE_DCGETTEXT 1
15161
13428
_ACEOF
15162
13429
 
15163
13430
fi
15164
13431
done
15165
13432
 
15166
13433
          MSGFMT_OPTS=
15167
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
13434
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15168
13435
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
15169
13436
          cat >conftest.foo <<_ACEOF
15170
13437
 
15179
13446
"Content-Transfer-Encoding: 8bit\n"
15180
13447
 
15181
13448
_ACEOF
15182
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
13449
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15183
13450
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15184
13451
  ac_status=$?
15185
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186
 
  (exit $ac_status); }; then
15187
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13452
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13453
  test $ac_status = 0; }; then
 
13454
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15188
13455
$as_echo "yes" >&6; }
15189
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
13456
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15190
13457
$as_echo "no" >&6; }
15191
13458
echo "$as_me: failed input was:" >&5
15192
13459
sed 's/^/| /' conftest.foo >&5
15194
13461
 
15195
13462
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
15196
13463
set dummy gmsgfmt; ac_word=$2
15197
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15198
13465
$as_echo_n "checking for $ac_word... " >&6; }
15199
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
13466
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
15200
13467
  $as_echo_n "(cached) " >&6
15201
13468
else
15202
13469
  case $GMSGFMT in
15209
13476
do
15210
13477
  IFS=$as_save_IFS
15211
13478
  test -z "$as_dir" && as_dir=.
15212
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13479
    for ac_exec_ext in '' $ac_executable_extensions; do
15213
13480
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15214
13481
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15215
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13482
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15216
13483
    break 2
15217
13484
  fi
15218
13485
done
15219
 
done
 
13486
  done
15220
13487
IFS=$as_save_IFS
15221
13488
 
15222
13489
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15225
13492
fi
15226
13493
GMSGFMT=$ac_cv_path_GMSGFMT
15227
13494
if test -n "$GMSGFMT"; then
15228
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
13495
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15229
13496
$as_echo "$GMSGFMT" >&6; }
15230
13497
else
15231
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13498
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15232
13499
$as_echo "no" >&6; }
15233
13500
fi
15234
13501
 
15235
13502
 
15236
13503
          # Extract the first word of "xgettext", so it can be a program name with args.
15237
13504
set dummy xgettext; ac_word=$2
15238
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15239
13506
$as_echo_n "checking for $ac_word... " >&6; }
15240
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
13507
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
15241
13508
  $as_echo_n "(cached) " >&6
15242
13509
else
15243
13510
  case "$XGETTEXT" in
15262
13529
fi
15263
13530
XGETTEXT="$ac_cv_path_XGETTEXT"
15264
13531
if test "$XGETTEXT" != ":"; then
15265
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
13532
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15266
13533
$as_echo "$XGETTEXT" >&6; }
15267
13534
else
15268
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13535
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15269
13536
$as_echo "no" >&6; }
15270
13537
fi
15271
13538
 
15272
 
          cat >conftest.$ac_ext <<_ACEOF
15273
 
/* confdefs.h.  */
15274
 
_ACEOF
15275
 
cat confdefs.h >>conftest.$ac_ext
15276
 
cat >>conftest.$ac_ext <<_ACEOF
 
13539
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277
13540
/* end confdefs.h.  */
15278
13541
 
15279
13542
int
15285
13548
  return 0;
15286
13549
}
15287
13550
_ACEOF
15288
 
rm -f conftest.$ac_objext conftest$ac_exeext
15289
 
if { (ac_try="$ac_link"
15290
 
case "(($ac_try" in
15291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15292
 
  *) ac_try_echo=$ac_try;;
15293
 
esac
15294
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15295
 
$as_echo "$ac_try_echo") >&5
15296
 
  (eval "$ac_link") 2>conftest.er1
15297
 
  ac_status=$?
15298
 
  grep -v '^ *+' conftest.er1 >conftest.err
15299
 
  rm -f conftest.er1
15300
 
  cat conftest.err >&5
15301
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302
 
  (exit $ac_status); } && {
15303
 
         test -z "$ac_c_werror_flag" ||
15304
 
         test ! -s conftest.err
15305
 
       } && test -s conftest$ac_exeext && {
15306
 
         test "$cross_compiling" = yes ||
15307
 
         $as_test_x conftest$ac_exeext
15308
 
       }; then
 
13551
if ac_fn_c_try_link "$LINENO"; then :
15309
13552
  CATOBJEXT=.gmo
15310
13553
             DATADIRNAME=share
15311
13554
else
15312
 
  $as_echo "$as_me: failed program was:" >&5
15313
 
sed 's/^/| /' conftest.$ac_ext >&5
15314
 
 
15315
 
        case $host in
 
13555
  case $host in
15316
13556
            *-*-solaris*)
15317
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
15318
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
15319
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
15320
 
  $as_echo_n "(cached) " >&6
15321
 
else
15322
 
  cat >conftest.$ac_ext <<_ACEOF
15323
 
/* confdefs.h.  */
15324
 
_ACEOF
15325
 
cat confdefs.h >>conftest.$ac_ext
15326
 
cat >>conftest.$ac_ext <<_ACEOF
15327
 
/* end confdefs.h.  */
15328
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
15329
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15330
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
15331
 
 
15332
 
/* System header to define __stub macros and hopefully few prototypes,
15333
 
    which can conflict with char bind_textdomain_codeset (); below.
15334
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15335
 
    <limits.h> exists even on freestanding compilers.  */
15336
 
 
15337
 
#ifdef __STDC__
15338
 
# include <limits.h>
15339
 
#else
15340
 
# include <assert.h>
15341
 
#endif
15342
 
 
15343
 
#undef bind_textdomain_codeset
15344
 
 
15345
 
/* Override any GCC internal prototype to avoid an error.
15346
 
   Use char because int might match the return type of a GCC
15347
 
   builtin and then its argument prototype would still apply.  */
15348
 
#ifdef __cplusplus
15349
 
extern "C"
15350
 
#endif
15351
 
char bind_textdomain_codeset ();
15352
 
/* The GNU C library defines this for functions which it implements
15353
 
    to always fail with ENOSYS.  Some functions are actually named
15354
 
    something starting with __ and the normal name is an alias.  */
15355
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
15356
 
choke me
15357
 
#endif
15358
 
 
15359
 
int
15360
 
main ()
15361
 
{
15362
 
return bind_textdomain_codeset ();
15363
 
  ;
15364
 
  return 0;
15365
 
}
15366
 
_ACEOF
15367
 
rm -f conftest.$ac_objext conftest$ac_exeext
15368
 
if { (ac_try="$ac_link"
15369
 
case "(($ac_try" in
15370
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15371
 
  *) ac_try_echo=$ac_try;;
15372
 
esac
15373
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15374
 
$as_echo "$ac_try_echo") >&5
15375
 
  (eval "$ac_link") 2>conftest.er1
15376
 
  ac_status=$?
15377
 
  grep -v '^ *+' conftest.er1 >conftest.err
15378
 
  rm -f conftest.er1
15379
 
  cat conftest.err >&5
15380
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381
 
  (exit $ac_status); } && {
15382
 
         test -z "$ac_c_werror_flag" ||
15383
 
         test ! -s conftest.err
15384
 
       } && test -s conftest$ac_exeext && {
15385
 
         test "$cross_compiling" = yes ||
15386
 
         $as_test_x conftest$ac_exeext
15387
 
       }; then
15388
 
  ac_cv_func_bind_textdomain_codeset=yes
15389
 
else
15390
 
  $as_echo "$as_me: failed program was:" >&5
15391
 
sed 's/^/| /' conftest.$ac_ext >&5
15392
 
 
15393
 
        ac_cv_func_bind_textdomain_codeset=no
15394
 
fi
15395
 
 
15396
 
rm -rf conftest.dSYM
15397
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15398
 
      conftest$ac_exeext conftest.$ac_ext
15399
 
fi
15400
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
15401
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
15402
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
13557
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13558
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
15403
13559
  CATOBJEXT=.gmo
15404
13560
               DATADIRNAME=share
15405
13561
else
15414
13570
            ;;
15415
13571
            esac
15416
13572
fi
15417
 
 
15418
 
rm -rf conftest.dSYM
15419
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15420
 
      conftest$ac_exeext conftest.$ac_ext
 
13573
rm -f core conftest.err conftest.$ac_objext \
 
13574
    conftest$ac_exeext conftest.$ac_ext
15421
13575
          LIBS="$glib_save_LIBS"
15422
13576
          INSTOBJEXT=.mo
15423
13577
        else
15431
13585
 
15432
13586
    if test "$gt_cv_have_gettext" = "yes" ; then
15433
13587
 
15434
 
cat >>confdefs.h <<\_ACEOF
15435
 
#define ENABLE_NLS 1
15436
 
_ACEOF
 
13588
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15437
13589
 
15438
13590
    fi
15439
13591
 
15441
13593
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15442
13594
        : ;
15443
13595
      else
15444
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
13596
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15445
13597
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15446
13598
        XGETTEXT=":"
15447
13599
      fi
15474
13626
     if test "x$ALL_LINGUAS" = "x"; then
15475
13627
       LINGUAS=
15476
13628
     else
15477
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
13629
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15478
13630
$as_echo_n "checking for catalogs to be installed... " >&6; }
15479
13631
       NEW_LINGUAS=
15480
13632
       for presentlang in $ALL_LINGUAS; do
15499
13651
         fi
15500
13652
       done
15501
13653
       LINGUAS=$NEW_LINGUAS
15502
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
13654
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15503
13655
$as_echo "$LINGUAS" >&6; }
15504
13656
     fi
15505
13657
 
15539
13691
 
15540
13692
# Extract the first word of "gmcs", so it can be a program name with args.
15541
13693
set dummy gmcs; ac_word=$2
15542
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15543
13695
$as_echo_n "checking for $ac_word... " >&6; }
15544
 
if test "${ac_cv_path_CSC+set}" = set; then
 
13696
if test "${ac_cv_path_CSC+set}" = set; then :
15545
13697
  $as_echo_n "(cached) " >&6
15546
13698
else
15547
13699
  case $CSC in
15554
13706
do
15555
13707
  IFS=$as_save_IFS
15556
13708
  test -z "$as_dir" && as_dir=.
15557
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13709
    for ac_exec_ext in '' $ac_executable_extensions; do
15558
13710
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15559
13711
    ac_cv_path_CSC="$as_dir/$ac_word$ac_exec_ext"
15560
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13712
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15561
13713
    break 2
15562
13714
  fi
15563
13715
done
15564
 
done
 
13716
  done
15565
13717
IFS=$as_save_IFS
15566
13718
 
15567
13719
  ;;
15569
13721
fi
15570
13722
CSC=$ac_cv_path_CSC
15571
13723
if test -n "$CSC"; then
15572
 
  { $as_echo "$as_me:$LINENO: result: $CSC" >&5
 
13724
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CSC" >&5
15573
13725
$as_echo "$CSC" >&6; }
15574
13726
else
15575
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13727
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15576
13728
$as_echo "no" >&6; }
15577
13729
fi
15578
13730
 
15584
13736
                   eval echo $libdir )`
15585
13737
 
15586
13738
 
15587
 
ac_config_files="$ac_config_files src/gbrainy"
 
13739
ac_config_files="$ac_config_files src/Clients/Classical/gbrainy"
15588
13740
 
15589
13741
 
15590
13742
GNOME_ICON_THEME_PREFIX=`$PKG_CONFIG --variable=prefix gnome-icon-theme`
15591
13743
 
15592
13744
 
15593
 
 
15594
 
ac_config_files="$ac_config_files src/Defines.cs src/AssemblyInfo.cs Makefile po/Makefile.in src/Makefile data/Makefile"
 
13745
COPYRIGHT="(c) 2007-2010 Jordi Mas i Hernandez"
 
13746
 
 
13747
 
 
13748
ac_config_files="$ac_config_files src/Core/Main/Defines.cs src/Clients/Classical/Defines.cs src/Clients/Classical/AssemblyInfo.cs src/Core/AssemblyInfo.cs src/Games/AssemblyInfo.cs Makefile po/Makefile.in src/Makefile src/Core/Makefile src/Games/Makefile src/Clients/Classical/Makefile data/Makefile help/Makefile"
15595
13749
 
15596
13750
cat >confcache <<\_ACEOF
15597
13751
# This file is a shell script that caches the results of configure
15620
13774
    case $ac_val in #(
15621
13775
    *${as_nl}*)
15622
13776
      case $ac_var in #(
15623
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
13777
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15624
13778
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15625
13779
      esac
15626
13780
      case $ac_var in #(
15627
13781
      _ | IFS | as_nl) ;; #(
15628
13782
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15629
 
      *) $as_unset $ac_var ;;
 
13783
      *) { eval $ac_var=; unset $ac_var;} ;;
15630
13784
      esac ;;
15631
13785
    esac
15632
13786
  done
15634
13788
  (set) 2>&1 |
15635
13789
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15636
13790
    *${as_nl}ac_space=\ *)
15637
 
      # `set' does not quote correctly, so add quotes (double-quote
15638
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
13791
      # `set' does not quote correctly, so add quotes: double-quote
 
13792
      # substitution turns \\\\ into \\, and sed turns \\ into \.
15639
13793
      sed -n \
15640
13794
        "s/'/'\\\\''/g;
15641
13795
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15658
13812
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15659
13813
  if test -w "$cache_file"; then
15660
13814
    test "x$cache_file" != "x/dev/null" &&
15661
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
13815
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15662
13816
$as_echo "$as_me: updating cache $cache_file" >&6;}
15663
13817
    cat confcache >$cache_file
15664
13818
  else
15665
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
13819
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15666
13820
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15667
13821
  fi
15668
13822
fi
15682
13836
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15683
13837
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15684
13838
  #    will be set to the directory where LIBOBJS objects are built.
15685
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15686
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
13839
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
13840
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15687
13841
done
15688
13842
LIBOBJS=$ac_libobjs
15689
13843
 
15690
13844
LTLIBOBJS=$ac_ltlibobjs
15691
13845
 
15692
13846
 
 
13847
 if test -n "$EXEEXT"; then
 
13848
  am__EXEEXT_TRUE=
 
13849
  am__EXEEXT_FALSE='#'
 
13850
else
 
13851
  am__EXEEXT_TRUE='#'
 
13852
  am__EXEEXT_FALSE=
 
13853
fi
 
13854
 
15693
13855
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15694
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15695
 
Usually this means the macro was only invoked conditionally." >&5
15696
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15697
 
Usually this means the macro was only invoked conditionally." >&2;}
15698
 
   { (exit 1); exit 1; }; }
 
13856
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
13857
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15699
13858
fi
15700
13859
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15701
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15702
 
Usually this means the macro was only invoked conditionally." >&5
15703
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
15704
 
Usually this means the macro was only invoked conditionally." >&2;}
15705
 
   { (exit 1); exit 1; }; }
 
13860
  as_fn_error "conditional \"AMDEP\" was never defined.
 
13861
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15706
13862
fi
15707
13863
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15708
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15709
 
Usually this means the macro was only invoked conditionally." >&5
15710
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15711
 
Usually this means the macro was only invoked conditionally." >&2;}
15712
 
   { (exit 1); exit 1; }; }
 
13864
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
13865
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15713
13866
fi
15714
13867
 
15715
13868
  ac_config_commands="$ac_config_commands po/stamp-it"
15716
13869
 
15717
13870
 
15718
13871
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15719
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15720
 
Usually this means the macro was only invoked conditionally." >&5
15721
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15722
 
Usually this means the macro was only invoked conditionally." >&2;}
15723
 
   { (exit 1); exit 1; }; }
 
13872
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
13873
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13874
fi
 
13875
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
 
13876
  as_fn_error "conditional \"ENABLE_SK\" was never defined.
 
13877
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13878
fi
 
13879
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
 
13880
  as_fn_error "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
 
13881
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15724
13882
fi
15725
13883
if test -z "${ENABLE_ADDINS_TRUE}" && test -z "${ENABLE_ADDINS_FALSE}"; then
15726
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_ADDINS\" was never defined.
15727
 
Usually this means the macro was only invoked conditionally." >&5
15728
 
$as_echo "$as_me: error: conditional \"ENABLE_ADDINS\" was never defined.
15729
 
Usually this means the macro was only invoked conditionally." >&2;}
15730
 
   { (exit 1); exit 1; }; }
 
13884
  as_fn_error "conditional \"ENABLE_ADDINS\" was never defined.
 
13885
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15731
13886
fi
15732
13887
 
15733
13888
: ${CONFIG_STATUS=./config.status}
15734
13889
ac_write_fail=0
15735
13890
ac_clean_files_save=$ac_clean_files
15736
13891
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15737
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
13892
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15738
13893
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15739
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13894
as_write_fail=0
 
13895
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15740
13896
#! $SHELL
15741
13897
# Generated by $as_me.
15742
13898
# Run this file to recreate the current configuration.
15746
13902
debug=false
15747
13903
ac_cs_recheck=false
15748
13904
ac_cs_silent=false
 
13905
 
15749
13906
SHELL=\${CONFIG_SHELL-$SHELL}
15750
 
_ACEOF
15751
 
 
15752
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15753
 
## --------------------- ##
15754
 
## M4sh Initialization.  ##
15755
 
## --------------------- ##
 
13907
export SHELL
 
13908
_ASEOF
 
13909
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
13910
## -------------------- ##
 
13911
## M4sh Initialization. ##
 
13912
## -------------------- ##
15756
13913
 
15757
13914
# Be more Bourne compatible
15758
13915
DUALCASE=1; export DUALCASE # for MKS sh
15759
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
13916
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15760
13917
  emulate sh
15761
13918
  NULLCMD=:
15762
13919
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15764
13921
  alias -g '${1+"$@"}'='"$@"'
15765
13922
  setopt NO_GLOB_SUBST
15766
13923
else
15767
 
  case `(set -o) 2>/dev/null` in
15768
 
  *posix*) set -o posix ;;
 
13924
  case `(set -o) 2>/dev/null` in #(
 
13925
  *posix*) :
 
13926
    set -o posix ;; #(
 
13927
  *) :
 
13928
     ;;
15769
13929
esac
15770
 
 
15771
13930
fi
15772
13931
 
15773
13932
 
15774
 
 
15775
 
 
15776
 
# PATH needs CR
15777
 
# Avoid depending upon Character Ranges.
15778
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15779
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15780
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15781
 
as_cr_digits='0123456789'
15782
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
15783
 
 
15784
13933
as_nl='
15785
13934
'
15786
13935
export as_nl
15788
13937
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15789
13938
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15790
13939
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15791
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13940
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
13941
# but without wasting forks for bash or zsh.
 
13942
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
13943
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13944
  as_echo='print -r --'
 
13945
  as_echo_n='print -rn --'
 
13946
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15792
13947
  as_echo='printf %s\n'
15793
13948
  as_echo_n='printf %s'
15794
13949
else
15799
13954
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15800
13955
    as_echo_n_body='eval
15801
13956
      arg=$1;
15802
 
      case $arg in
 
13957
      case $arg in #(
15803
13958
      *"$as_nl"*)
15804
13959
        expr "X$arg" : "X\\(.*\\)$as_nl";
15805
13960
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15822
13977
  }
15823
13978
fi
15824
13979
 
15825
 
# Support unset when possible.
15826
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15827
 
  as_unset=unset
15828
 
else
15829
 
  as_unset=false
15830
 
fi
15831
 
 
15832
13980
 
15833
13981
# IFS
15834
13982
# We need space, tab and new line, in precisely that order.  Quoting is
15838
13986
IFS=" ""        $as_nl"
15839
13987
 
15840
13988
# Find who we are.  Look in the path if we contain no directory separator.
15841
 
case $0 in
 
13989
case $0 in #((
15842
13990
  *[\\/]* ) as_myself=$0 ;;
15843
13991
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15844
13992
for as_dir in $PATH
15845
13993
do
15846
13994
  IFS=$as_save_IFS
15847
13995
  test -z "$as_dir" && as_dir=.
15848
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15849
 
done
 
13996
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
13997
  done
15850
13998
IFS=$as_save_IFS
15851
13999
 
15852
14000
     ;;
15858
14006
fi
15859
14007
if test ! -f "$as_myself"; then
15860
14008
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15861
 
  { (exit 1); exit 1; }
 
14009
  exit 1
15862
14010
fi
15863
14011
 
15864
 
# Work around bugs in pre-3.0 UWIN ksh.
15865
 
for as_var in ENV MAIL MAILPATH
15866
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
14012
# Unset variables that we do not need and which cause bugs (e.g. in
 
14013
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
14014
# suppresses any "Segmentation fault" message there.  '((' could
 
14015
# trigger a bug in pdksh 5.2.14.
 
14016
for as_var in BASH_ENV ENV MAIL MAILPATH
 
14017
do eval test x\${$as_var+set} = xset \
 
14018
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15867
14019
done
15868
14020
PS1='$ '
15869
14021
PS2='> '
15875
14027
LANGUAGE=C
15876
14028
export LANGUAGE
15877
14029
 
15878
 
# Required to use basename.
 
14030
# CDPATH.
 
14031
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
14032
 
 
14033
 
 
14034
# as_fn_error ERROR [LINENO LOG_FD]
 
14035
# ---------------------------------
 
14036
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
14037
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
14038
# script with status $?, using 1 if that was 0.
 
14039
as_fn_error ()
 
14040
{
 
14041
  as_status=$?; test $as_status -eq 0 && as_status=1
 
14042
  if test "$3"; then
 
14043
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
14044
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
14045
  fi
 
14046
  $as_echo "$as_me: error: $1" >&2
 
14047
  as_fn_exit $as_status
 
14048
} # as_fn_error
 
14049
 
 
14050
 
 
14051
# as_fn_set_status STATUS
 
14052
# -----------------------
 
14053
# Set $? to STATUS, without forking.
 
14054
as_fn_set_status ()
 
14055
{
 
14056
  return $1
 
14057
} # as_fn_set_status
 
14058
 
 
14059
# as_fn_exit STATUS
 
14060
# -----------------
 
14061
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
14062
as_fn_exit ()
 
14063
{
 
14064
  set +e
 
14065
  as_fn_set_status $1
 
14066
  exit $1
 
14067
} # as_fn_exit
 
14068
 
 
14069
# as_fn_unset VAR
 
14070
# ---------------
 
14071
# Portably unset VAR.
 
14072
as_fn_unset ()
 
14073
{
 
14074
  { eval $1=; unset $1;}
 
14075
}
 
14076
as_unset=as_fn_unset
 
14077
# as_fn_append VAR VALUE
 
14078
# ----------------------
 
14079
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
14080
# advantage of any shell optimizations that allow amortized linear growth over
 
14081
# repeated appends, instead of the typical quadratic growth present in naive
 
14082
# implementations.
 
14083
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
14084
  eval 'as_fn_append ()
 
14085
  {
 
14086
    eval $1+=\$2
 
14087
  }'
 
14088
else
 
14089
  as_fn_append ()
 
14090
  {
 
14091
    eval $1=\$$1\$2
 
14092
  }
 
14093
fi # as_fn_append
 
14094
 
 
14095
# as_fn_arith ARG...
 
14096
# ------------------
 
14097
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
14098
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
14099
# must be portable across $(()) and expr.
 
14100
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
14101
  eval 'as_fn_arith ()
 
14102
  {
 
14103
    as_val=$(( $* ))
 
14104
  }'
 
14105
else
 
14106
  as_fn_arith ()
 
14107
  {
 
14108
    as_val=`expr "$@" || test $? -eq 1`
 
14109
  }
 
14110
fi # as_fn_arith
 
14111
 
 
14112
 
15879
14113
if expr a : '\(a\)' >/dev/null 2>&1 &&
15880
14114
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15881
14115
  as_expr=expr
15889
14123
  as_basename=false
15890
14124
fi
15891
14125
 
 
14126
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
14127
  as_dirname=dirname
 
14128
else
 
14129
  as_dirname=false
 
14130
fi
15892
14131
 
15893
 
# Name of the executable.
15894
14132
as_me=`$as_basename -- "$0" ||
15895
14133
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15896
14134
         X"$0" : 'X\(//\)$' \| \
15910
14148
          }
15911
14149
          s/.*/./; q'`
15912
14150
 
15913
 
# CDPATH.
15914
 
$as_unset CDPATH
15915
 
 
15916
 
 
15917
 
 
15918
 
  as_lineno_1=$LINENO
15919
 
  as_lineno_2=$LINENO
15920
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
15921
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15922
 
 
15923
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15924
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
15925
 
  # line-number line after each line using $LINENO; the second 'sed'
15926
 
  # does the real work.  The second script uses 'N' to pair each
15927
 
  # line-number line with the line containing $LINENO, and appends
15928
 
  # trailing '-' during substitution so that $LINENO is not a special
15929
 
  # case at line end.
15930
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15931
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
15932
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
15933
 
  sed -n '
15934
 
    p
15935
 
    /[$]LINENO/=
15936
 
  ' <$as_myself |
15937
 
    sed '
15938
 
      s/[$]LINENO.*/&-/
15939
 
      t lineno
15940
 
      b
15941
 
      :lineno
15942
 
      N
15943
 
      :loop
15944
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15945
 
      t loop
15946
 
      s/-\n.*//
15947
 
    ' >$as_me.lineno &&
15948
 
  chmod +x "$as_me.lineno" ||
15949
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15950
 
   { (exit 1); exit 1; }; }
15951
 
 
15952
 
  # Don't try to exec as it changes $[0], causing all sort of problems
15953
 
  # (the dirname of $[0] is not the place where we might find the
15954
 
  # original and so on.  Autoconf is especially sensitive to this).
15955
 
  . "./$as_me.lineno"
15956
 
  # Exit status is that of the last command.
15957
 
  exit
15958
 
}
15959
 
 
15960
 
 
15961
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15962
 
  as_dirname=dirname
15963
 
else
15964
 
  as_dirname=false
15965
 
fi
 
14151
# Avoid depending upon Character Ranges.
 
14152
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
14153
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
14154
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
14155
as_cr_digits='0123456789'
 
14156
as_cr_alnum=$as_cr_Letters$as_cr_digits
15966
14157
 
15967
14158
ECHO_C= ECHO_N= ECHO_T=
15968
 
case `echo -n x` in
 
14159
case `echo -n x` in #(((((
15969
14160
-n*)
15970
 
  case `echo 'x\c'` in
 
14161
  case `echo 'xy\c'` in
15971
14162
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15972
 
  *)   ECHO_C='\c';;
 
14163
  xy)  ECHO_C='\c';;
 
14164
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
14165
       ECHO_T=' ';;
15973
14166
  esac;;
15974
14167
*)
15975
14168
  ECHO_N='-n';;
15976
14169
esac
15977
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
15978
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15979
 
  as_expr=expr
15980
 
else
15981
 
  as_expr=false
15982
 
fi
15983
14170
 
15984
14171
rm -f conf$$ conf$$.exe conf$$.file
15985
14172
if test -d conf$$.dir; then
16008
14195
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16009
14196
rmdir conf$$.dir 2>/dev/null
16010
14197
 
 
14198
 
 
14199
# as_fn_mkdir_p
 
14200
# -------------
 
14201
# Create "$as_dir" as a directory, including parents if necessary.
 
14202
as_fn_mkdir_p ()
 
14203
{
 
14204
 
 
14205
  case $as_dir in #(
 
14206
  -*) as_dir=./$as_dir;;
 
14207
  esac
 
14208
  test -d "$as_dir" || eval $as_mkdir_p || {
 
14209
    as_dirs=
 
14210
    while :; do
 
14211
      case $as_dir in #(
 
14212
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
14213
      *) as_qdir=$as_dir;;
 
14214
      esac
 
14215
      as_dirs="'$as_qdir' $as_dirs"
 
14216
      as_dir=`$as_dirname -- "$as_dir" ||
 
14217
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14218
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
14219
         X"$as_dir" : 'X\(//\)$' \| \
 
14220
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
14221
$as_echo X"$as_dir" |
 
14222
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14223
            s//\1/
 
14224
            q
 
14225
          }
 
14226
          /^X\(\/\/\)[^/].*/{
 
14227
            s//\1/
 
14228
            q
 
14229
          }
 
14230
          /^X\(\/\/\)$/{
 
14231
            s//\1/
 
14232
            q
 
14233
          }
 
14234
          /^X\(\/\).*/{
 
14235
            s//\1/
 
14236
            q
 
14237
          }
 
14238
          s/.*/./; q'`
 
14239
      test -d "$as_dir" && break
 
14240
    done
 
14241
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
14242
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
14243
 
 
14244
 
 
14245
} # as_fn_mkdir_p
16011
14246
if mkdir -p . 2>/dev/null; then
16012
 
  as_mkdir_p=:
 
14247
  as_mkdir_p='mkdir -p "$as_dir"'
16013
14248
else
16014
14249
  test -d ./-p && rmdir ./-p
16015
14250
  as_mkdir_p=false
16028
14263
      if test -d "$1"; then
16029
14264
        test -d "$1/.";
16030
14265
      else
16031
 
        case $1 in
 
14266
        case $1 in #(
16032
14267
        -*)set "./$1";;
16033
14268
        esac;
16034
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
14269
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16035
14270
        ???[sx]*):;;*)false;;esac;fi
16036
14271
    '\'' sh
16037
14272
  '
16046
14281
 
16047
14282
 
16048
14283
exec 6>&1
 
14284
## ----------------------------------- ##
 
14285
## Main body of $CONFIG_STATUS script. ##
 
14286
## ----------------------------------- ##
 
14287
_ASEOF
 
14288
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16049
14289
 
16050
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
14290
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14291
# Save the log message, to keep $0 and so on meaningful, and to
16051
14292
# report actual input values of CONFIG_FILES etc. instead of their
16052
14293
# values after options handling.
16053
14294
ac_log="
16054
 
This file was extended by gbrainy $as_me 1.20, which was
16055
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
14295
This file was extended by gbrainy $as_me 1.30, which was
 
14296
generated by GNU Autoconf 2.64.  Invocation command line was
16056
14297
 
16057
14298
  CONFIG_FILES    = $CONFIG_FILES
16058
14299
  CONFIG_HEADERS  = $CONFIG_HEADERS
16084
14325
 
16085
14326
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16086
14327
ac_cs_usage="\
16087
 
\`$as_me' instantiates files from templates according to the
16088
 
current configuration.
 
14328
\`$as_me' instantiates files and other configuration actions
 
14329
from templates according to the current configuration.  Unless the files
 
14330
and actions are specified as TAGs, all are instantiated by default.
16089
14331
 
16090
 
Usage: $0 [OPTION]... [FILE]...
 
14332
Usage: $0 [OPTION]... [TAG]...
16091
14333
 
16092
14334
  -h, --help       print this help, then exit
16093
14335
  -V, --version    print version number and configuration settings, then exit
16109
14351
Configuration commands:
16110
14352
$config_commands
16111
14353
 
16112
 
Report bugs to <bug-autoconf@gnu.org>."
 
14354
Report bugs to the package provider."
16113
14355
 
16114
14356
_ACEOF
16115
14357
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16116
14358
ac_cs_version="\\
16117
 
gbrainy config.status 1.20
16118
 
configured by $0, generated by GNU Autoconf 2.63,
 
14359
gbrainy config.status 1.30
 
14360
configured by $0, generated by GNU Autoconf 2.64,
16119
14361
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16120
14362
 
16121
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
14363
Copyright (C) 2009 Free Software Foundation, Inc.
16122
14364
This config.status script is free software; the Free Software Foundation
16123
14365
gives unlimited permission to copy, distribute and modify it."
16124
14366
 
16125
14367
ac_pwd='$ac_pwd'
16126
14368
srcdir='$srcdir'
16127
14369
INSTALL='$INSTALL'
 
14370
MKDIR_P='$MKDIR_P'
16128
14371
AWK='$AWK'
16129
14372
test -n "\$AWK" || AWK=awk
16130
14373
_ACEOF
16160
14403
    case $ac_optarg in
16161
14404
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16162
14405
    esac
16163
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
14406
    as_fn_append CONFIG_FILES " '$ac_optarg'"
16164
14407
    ac_need_defaults=false;;
16165
14408
  --header | --heade | --head | --hea )
16166
14409
    $ac_shift
16167
14410
    case $ac_optarg in
16168
14411
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16169
14412
    esac
16170
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
14413
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16171
14414
    ac_need_defaults=false;;
16172
14415
  --he | --h)
16173
14416
    # Conflict between --help and --header
16174
 
    { $as_echo "$as_me: error: ambiguous option: $1
16175
 
Try \`$0 --help' for more information." >&2
16176
 
   { (exit 1); exit 1; }; };;
 
14417
    as_fn_error "ambiguous option: \`$1'
 
14418
Try \`$0 --help' for more information.";;
16177
14419
  --help | --hel | -h )
16178
14420
    $as_echo "$ac_cs_usage"; exit ;;
16179
14421
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16181
14423
    ac_cs_silent=: ;;
16182
14424
 
16183
14425
  # This is an error.
16184
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
16185
 
Try \`$0 --help' for more information." >&2
16186
 
   { (exit 1); exit 1; }; } ;;
 
14426
  -*) as_fn_error "unrecognized option: \`$1'
 
14427
Try \`$0 --help' for more information." ;;
16187
14428
 
16188
 
  *) ac_config_targets="$ac_config_targets $1"
 
14429
  *) as_fn_append ac_config_targets " $1"
16189
14430
     ac_need_defaults=false ;;
16190
14431
 
16191
14432
  esac
16496
14737
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16497
14738
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16498
14739
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16499
 
    "src/gbrainy") CONFIG_FILES="$CONFIG_FILES src/gbrainy" ;;
16500
 
    "src/Defines.cs") CONFIG_FILES="$CONFIG_FILES src/Defines.cs" ;;
16501
 
    "src/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES src/AssemblyInfo.cs" ;;
 
14740
    "src/Clients/Classical/gbrainy") CONFIG_FILES="$CONFIG_FILES src/Clients/Classical/gbrainy" ;;
 
14741
    "src/Core/Main/Defines.cs") CONFIG_FILES="$CONFIG_FILES src/Core/Main/Defines.cs" ;;
 
14742
    "src/Clients/Classical/Defines.cs") CONFIG_FILES="$CONFIG_FILES src/Clients/Classical/Defines.cs" ;;
 
14743
    "src/Clients/Classical/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES src/Clients/Classical/AssemblyInfo.cs" ;;
 
14744
    "src/Core/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES src/Core/AssemblyInfo.cs" ;;
 
14745
    "src/Games/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES src/Games/AssemblyInfo.cs" ;;
16502
14746
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16503
14747
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16504
14748
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
14749
    "src/Core/Makefile") CONFIG_FILES="$CONFIG_FILES src/Core/Makefile" ;;
 
14750
    "src/Games/Makefile") CONFIG_FILES="$CONFIG_FILES src/Games/Makefile" ;;
 
14751
    "src/Clients/Classical/Makefile") CONFIG_FILES="$CONFIG_FILES src/Clients/Classical/Makefile" ;;
16505
14752
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
14753
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16506
14754
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16507
14755
 
16508
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16509
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16510
 
   { (exit 1); exit 1; }; };;
 
14756
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16511
14757
  esac
16512
14758
done
16513
14759
 
16534
14780
  trap 'exit_status=$?
16535
14781
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16536
14782
' 0
16537
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
14783
  trap 'as_fn_exit 1' 1 2 13 15
16538
14784
}
16539
14785
# Create a (secure) tmp directory for tmp files.
16540
14786
 
16545
14791
{
16546
14792
  tmp=./conf$$-$RANDOM
16547
14793
  (umask 077 && mkdir "$tmp")
16548
 
} ||
16549
 
{
16550
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
16551
 
   { (exit 1); exit 1; }
16552
 
}
 
14794
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16553
14795
 
16554
14796
# Set up the scripts for CONFIG_FILES section.
16555
14797
# No need to generate them if there are no CONFIG_FILES.
16557
14799
if test -n "$CONFIG_FILES"; then
16558
14800
 
16559
14801
 
16560
 
ac_cr='
 
 
b"'"
 
14802
ac_cr=`echo X | tr X '\015'`
 
14803
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
14804
# But we know of no other shell where ac_cr would be empty at this
 
14805
# point, so we can use a bashism as a fallback.
 
14806
if test "x$ac_cr" = x; then
 
14807
  eval ac_cr=\$\'\\r\'
 
14808
fi
16561
14809
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16562
14810
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16563
 
  ac_cs_awk_cr='\\r'
 
14811
  ac_cs_awk_cr='\r'
16564
14812
else
16565
14813
  ac_cs_awk_cr=$ac_cr
16566
14814
fi
16574
14822
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16575
14823
  echo "_ACEOF"
16576
14824
} >conf$$subs.sh ||
16577
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16578
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16579
 
   { (exit 1); exit 1; }; }
 
14825
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16580
14826
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16581
14827
ac_delim='%!_!# '
16582
14828
for ac_last_try in false false false false false :; do
16583
14829
  . ./conf$$subs.sh ||
16584
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16585
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16586
 
   { (exit 1); exit 1; }; }
 
14830
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16587
14831
 
16588
14832
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16589
14833
  if test $ac_delim_n = $ac_delim_num; then
16590
14834
    break
16591
14835
  elif $ac_last_try; then
16592
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16593
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16594
 
   { (exit 1); exit 1; }; }
 
14836
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16595
14837
  else
16596
14838
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16597
14839
  fi
16680
14922
else
16681
14923
  cat
16682
14924
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16683
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
16684
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
16685
 
   { (exit 1); exit 1; }; }
 
14925
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16686
14926
_ACEOF
16687
14927
 
16688
14928
# VPATH may cause trouble with some makes, so we remove $(srcdir),
16723
14963
  if test -z "$ac_t"; then
16724
14964
    break
16725
14965
  elif $ac_last_try; then
16726
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
16727
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
16728
 
   { (exit 1); exit 1; }; }
 
14966
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16729
14967
  else
16730
14968
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16731
14969
  fi
16810
15048
_ACAWK
16811
15049
_ACEOF
16812
15050
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16813
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16814
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16815
 
   { (exit 1); exit 1; }; }
 
15051
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16816
15052
fi # test -n "$CONFIG_HEADERS"
16817
15053
 
16818
15054
 
16825
15061
  esac
16826
15062
  case $ac_mode$ac_tag in
16827
15063
  :[FHL]*:*);;
16828
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16829
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16830
 
   { (exit 1); exit 1; }; };;
 
15064
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16831
15065
  :[FH]-) ac_tag=-:-;;
16832
15066
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16833
15067
  esac
16855
15089
           [\\/$]*) false;;
16856
15090
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16857
15091
           esac ||
16858
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16859
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16860
 
   { (exit 1); exit 1; }; };;
 
15092
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16861
15093
      esac
16862
15094
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16863
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
15095
      as_fn_append ac_file_inputs " '$ac_f'"
16864
15096
    done
16865
15097
 
16866
15098
    # Let's still pretend it is `configure' which instantiates (i.e., don't
16871
15103
        `' by configure.'
16872
15104
    if test x"$ac_file" != x-; then
16873
15105
      configure_input="$ac_file.  $configure_input"
16874
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
15106
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16875
15107
$as_echo "$as_me: creating $ac_file" >&6;}
16876
15108
    fi
16877
15109
    # Neutralize special characters interpreted by sed in replacement strings.
16884
15116
 
16885
15117
    case $ac_tag in
16886
15118
    *:-:* | *:-) cat >"$tmp/stdin" \
16887
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16888
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
16889
 
   { (exit 1); exit 1; }; } ;;
 
15119
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16890
15120
    esac
16891
15121
    ;;
16892
15122
  esac
16914
15144
            q
16915
15145
          }
16916
15146
          s/.*/./; q'`
16917
 
  { as_dir="$ac_dir"
16918
 
  case $as_dir in #(
16919
 
  -*) as_dir=./$as_dir;;
16920
 
  esac
16921
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16922
 
    as_dirs=
16923
 
    while :; do
16924
 
      case $as_dir in #(
16925
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16926
 
      *) as_qdir=$as_dir;;
16927
 
      esac
16928
 
      as_dirs="'$as_qdir' $as_dirs"
16929
 
      as_dir=`$as_dirname -- "$as_dir" ||
16930
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16931
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
16932
 
         X"$as_dir" : 'X\(//\)$' \| \
16933
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16934
 
$as_echo X"$as_dir" |
16935
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16936
 
            s//\1/
16937
 
            q
16938
 
          }
16939
 
          /^X\(\/\/\)[^/].*/{
16940
 
            s//\1/
16941
 
            q
16942
 
          }
16943
 
          /^X\(\/\/\)$/{
16944
 
            s//\1/
16945
 
            q
16946
 
          }
16947
 
          /^X\(\/\).*/{
16948
 
            s//\1/
16949
 
            q
16950
 
          }
16951
 
          s/.*/./; q'`
16952
 
      test -d "$as_dir" && break
16953
 
    done
16954
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
16955
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16956
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16957
 
   { (exit 1); exit 1; }; }; }
 
15147
  as_dir="$ac_dir"; as_fn_mkdir_p
16958
15148
  ac_builddir=.
16959
15149
 
16960
15150
case "$ac_dir" in
17000
15190
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17001
15191
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17002
15192
  esac
 
15193
  ac_MKDIR_P=$MKDIR_P
 
15194
  case $MKDIR_P in
 
15195
  [\\/$]* | ?:[\\/]* ) ;;
 
15196
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
15197
  esac
17003
15198
_ACEOF
17004
15199
 
17005
15200
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17006
15201
# If the template does not know about datarootdir, expand it.
17007
15202
# FIXME: This hack should be removed a few years after 2.60.
17008
15203
ac_datarootdir_hack=; ac_datarootdir_seen=
17009
 
 
17010
15204
ac_sed_dataroot='
17011
15205
/datarootdir/ {
17012
15206
  p
17016
15210
/@docdir@/p
17017
15211
/@infodir@/p
17018
15212
/@localedir@/p
17019
 
/@mandir@/p
17020
 
'
 
15213
/@mandir@/p'
17021
15214
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17022
15215
*datarootdir*) ac_datarootdir_seen=yes;;
17023
15216
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17024
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
15217
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17025
15218
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17026
15219
_ACEOF
17027
15220
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17031
15224
  s&@infodir@&$infodir&g
17032
15225
  s&@localedir@&$localedir&g
17033
15226
  s&@mandir@&$mandir&g
17034
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
15227
  s&\\\${datarootdir}&$datarootdir&g' ;;
17035
15228
esac
17036
15229
_ACEOF
17037
15230
 
17056
15249
s&@abs_builddir@&$ac_abs_builddir&;t t
17057
15250
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17058
15251
s&@INSTALL@&$ac_INSTALL&;t t
 
15252
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17059
15253
$ac_datarootdir_hack
17060
15254
"
17061
15255
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17062
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17063
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17064
 
   { (exit 1); exit 1; }; }
 
15256
  || as_fn_error "could not create $ac_file" "$LINENO" 5
17065
15257
 
17066
15258
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17067
15259
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17068
15260
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17069
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
15261
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17070
15262
which seems to be undefined.  Please make sure it is defined." >&5
17071
15263
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17072
15264
which seems to be undefined.  Please make sure it is defined." >&2;}
17076
15268
  -) cat "$tmp/out" && rm -f "$tmp/out";;
17077
15269
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17078
15270
  esac \
17079
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17080
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17081
 
   { (exit 1); exit 1; }; }
 
15271
  || as_fn_error "could not create $ac_file" "$LINENO" 5
17082
15272
 ;;
17083
15273
  :H)
17084
15274
  #
17089
15279
      $as_echo "/* $configure_input  */" \
17090
15280
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17091
15281
    } >"$tmp/config.h" \
17092
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17093
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17094
 
   { (exit 1); exit 1; }; }
 
15282
      || as_fn_error "could not create $ac_file" "$LINENO" 5
17095
15283
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17096
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
15284
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17097
15285
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17098
15286
    else
17099
15287
      rm -f "$ac_file"
17100
15288
      mv "$tmp/config.h" "$ac_file" \
17101
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17102
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17103
 
   { (exit 1); exit 1; }; }
 
15289
        || as_fn_error "could not create $ac_file" "$LINENO" 5
17104
15290
    fi
17105
15291
  else
17106
15292
    $as_echo "/* $configure_input  */" \
17107
15293
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17108
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
17109
 
$as_echo "$as_me: error: could not create -" >&2;}
17110
 
   { (exit 1); exit 1; }; }
 
15294
      || as_fn_error "could not create -" "$LINENO" 5
17111
15295
  fi
17112
15296
# Compute "$ac_file"'s index in $config_headers.
 
15297
_am_arg="$ac_file"
17113
15298
_am_stamp_count=1
17114
15299
for _am_header in $config_headers :; do
17115
15300
  case $_am_header in
17116
 
    "$ac_file" | "$ac_file":* )
 
15301
    $_am_arg | $_am_arg:* )
17117
15302
      break ;;
17118
15303
    * )
17119
15304
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17120
15305
  esac
17121
15306
done
17122
 
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
17123
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17124
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
17125
 
         X"$ac_file" : 'X\(//\)$' \| \
17126
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17127
 
$as_echo X"$ac_file" |
 
15307
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
15308
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15309
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
15310
         X"$_am_arg" : 'X\(//\)$' \| \
 
15311
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
15312
$as_echo X"$_am_arg" |
17128
15313
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17129
15314
            s//\1/
17130
15315
            q
17144
15329
          s/.*/./; q'`/stamp-h$_am_stamp_count
17145
15330
 ;;
17146
15331
 
17147
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
15332
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17148
15333
$as_echo "$as_me: executing $ac_file commands" >&6;}
17149
15334
 ;;
17150
15335
  esac
17151
15336
 
17152
15337
 
17153
15338
  case $ac_file$ac_mode in
17154
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
17155
 
  # Strip MF so we end up with the name of the file.
17156
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
17157
 
  # Check whether this is an Automake generated Makefile or not.
17158
 
  # We used to match only the files named `Makefile.in', but
17159
 
  # some people rename them; so instead we look at the file content.
17160
 
  # Grep'ing the first line is not enough: some people post-process
17161
 
  # each Makefile.in and add a new line on top of each file to say so.
17162
 
  # So let's grep whole file.
17163
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
17164
 
    dirpart=`$as_dirname -- "$mf" ||
 
15339
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
15340
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
15341
  # are listed without --file.  Let's play safe and only enable the eval
 
15342
  # if we detect the quoting.
 
15343
  case $CONFIG_FILES in
 
15344
  *\'*) eval set x "$CONFIG_FILES" ;;
 
15345
  *)   set x $CONFIG_FILES ;;
 
15346
  esac
 
15347
  shift
 
15348
  for mf
 
15349
  do
 
15350
    # Strip MF so we end up with the name of the file.
 
15351
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
15352
    # Check whether this is an Automake generated Makefile or not.
 
15353
    # We used to match only the files named `Makefile.in', but
 
15354
    # some people rename them; so instead we look at the file content.
 
15355
    # Grep'ing the first line is not enough: some people post-process
 
15356
    # each Makefile.in and add a new line on top of each file to say so.
 
15357
    # Grep'ing the whole file is not good either: AIX grep has a line
 
15358
    # limit of 2048, but all sed's we know have understand at least 4000.
 
15359
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
15360
      dirpart=`$as_dirname -- "$mf" ||
17165
15361
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17166
15362
         X"$mf" : 'X\(//\)[^/]' \| \
17167
15363
         X"$mf" : 'X\(//\)$' \| \
17184
15380
            q
17185
15381
          }
17186
15382
          s/.*/./; q'`
17187
 
  else
17188
 
    continue
17189
 
  fi
17190
 
  # Extract the definition of DEPDIR, am__include, and am__quote
17191
 
  # from the Makefile without running `make'.
17192
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17193
 
  test -z "$DEPDIR" && continue
17194
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
17195
 
  test -z "am__include" && continue
17196
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17197
 
  # When using ansi2knr, U may be empty or an underscore; expand it
17198
 
  U=`sed -n 's/^U = //p' < "$mf"`
17199
 
  # Find all dependency output files, they are included files with
17200
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
17201
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
17202
 
  # expansion.
17203
 
  for file in `sed -n "
17204
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17205
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17206
 
    # Make sure the directory exists.
17207
 
    test -f "$dirpart/$file" && continue
17208
 
    fdir=`$as_dirname -- "$file" ||
 
15383
    else
 
15384
      continue
 
15385
    fi
 
15386
    # Extract the definition of DEPDIR, am__include, and am__quote
 
15387
    # from the Makefile without running `make'.
 
15388
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
15389
    test -z "$DEPDIR" && continue
 
15390
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
15391
    test -z "am__include" && continue
 
15392
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
15393
    # When using ansi2knr, U may be empty or an underscore; expand it
 
15394
    U=`sed -n 's/^U = //p' < "$mf"`
 
15395
    # Find all dependency output files, they are included files with
 
15396
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
15397
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
15398
    # expansion.
 
15399
    for file in `sed -n "
 
15400
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
15401
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
15402
      # Make sure the directory exists.
 
15403
      test -f "$dirpart/$file" && continue
 
15404
      fdir=`$as_dirname -- "$file" ||
17209
15405
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17210
15406
         X"$file" : 'X\(//\)[^/]' \| \
17211
15407
         X"$file" : 'X\(//\)$' \| \
17228
15424
            q
17229
15425
          }
17230
15426
          s/.*/./; q'`
17231
 
    { as_dir=$dirpart/$fdir
17232
 
  case $as_dir in #(
17233
 
  -*) as_dir=./$as_dir;;
17234
 
  esac
17235
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17236
 
    as_dirs=
17237
 
    while :; do
17238
 
      case $as_dir in #(
17239
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17240
 
      *) as_qdir=$as_dir;;
17241
 
      esac
17242
 
      as_dirs="'$as_qdir' $as_dirs"
17243
 
      as_dir=`$as_dirname -- "$as_dir" ||
17244
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17245
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
17246
 
         X"$as_dir" : 'X\(//\)$' \| \
17247
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17248
 
$as_echo X"$as_dir" |
17249
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17250
 
            s//\1/
17251
 
            q
17252
 
          }
17253
 
          /^X\(\/\/\)[^/].*/{
17254
 
            s//\1/
17255
 
            q
17256
 
          }
17257
 
          /^X\(\/\/\)$/{
17258
 
            s//\1/
17259
 
            q
17260
 
          }
17261
 
          /^X\(\/\).*/{
17262
 
            s//\1/
17263
 
            q
17264
 
          }
17265
 
          s/.*/./; q'`
17266
 
      test -d "$as_dir" && break
 
15427
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
15428
      # echo "creating $dirpart/$file"
 
15429
      echo '# dummy' > "$dirpart/$file"
17267
15430
    done
17268
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
17269
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17270
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
17271
 
   { (exit 1); exit 1; }; }; }
17272
 
    # echo "creating $dirpart/$file"
17273
 
    echo '# dummy' > "$dirpart/$file"
17274
15431
  done
17275
 
done
 
15432
}
17276
15433
 ;;
17277
15434
    "libtool":C)
17278
15435
 
17912
16069
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17913
16070
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17914
16071
      esac ;;
17915
 
    "src/gbrainy":F) chmod +x src/gbrainy ;;
 
16072
    "src/Clients/Classical/gbrainy":F) chmod +x src/Clients/Classical/gbrainy ;;
17916
16073
    "po/stamp-it":C)
17917
16074
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17918
 
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
17919
 
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
17920
 
   { (exit 1); exit 1; }; }
 
16075
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17921
16076
    fi
17922
16077
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17923
16078
    >"po/stamp-it.tmp"
17940
16095
done # for ac_tag
17941
16096
 
17942
16097
 
17943
 
{ (exit 0); exit 0; }
 
16098
as_fn_exit 0
17944
16099
_ACEOF
17945
 
chmod +x $CONFIG_STATUS
17946
16100
ac_clean_files=$ac_clean_files_save
17947
16101
 
17948
16102
test $ac_write_fail = 0 ||
17949
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
17950
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
17951
 
   { (exit 1); exit 1; }; }
 
16103
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17952
16104
 
17953
16105
 
17954
16106
# configure is writing to config.log, and then calls config.status.
17969
16121
  exec 5>>config.log
17970
16122
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17971
16123
  # would make configure fail if this is the last instruction.
17972
 
  $ac_cs_success || { (exit 1); exit 1; }
 
16124
  $ac_cs_success || as_fn_exit $?
17973
16125
fi
17974
16126
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17975
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
16127
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17976
16128
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17977
16129
fi
17978
16130
 
17979
16131
 
17980
16132
echo "Support for older GTK:  ${enable_gtk_28}"
17981
16133
echo "Mono-addins:            ${enable_addins_sharp}"
 
16134